mirror of
https://github.com/wassname/pi-telegram.git
synced 2026-06-27 15:16:19 +08:00
preparation
This commit is contained in:
@@ -0,0 +1 @@
|
||||
node_modules/
|
||||
@@ -87,6 +87,7 @@ Send any message in the bot DM. It is forwarded into pi with a `[telegram]` pref
|
||||
Send images, albums, or files in the DM.
|
||||
|
||||
The extension:
|
||||
|
||||
- downloads them to `~/.pi/agent/tmp/telegram`
|
||||
- includes local file paths in the prompt
|
||||
- forwards inbound images as image inputs to pi
|
||||
@@ -96,6 +97,7 @@ The extension:
|
||||
If you ask pi for a file or generated artifact, pi should call the `telegram_attach` tool. The extension then sends those files with the next Telegram reply.
|
||||
|
||||
Examples:
|
||||
|
||||
- `summarize this image`
|
||||
- `read this README and summarize it`
|
||||
- `write me a markdown file with the plan and send it back`
|
||||
|
||||
Generated
+3791
File diff suppressed because it is too large
Load Diff
+10
-2
@@ -4,7 +4,13 @@
|
||||
"private": false,
|
||||
"description": "Telegram DM bridge extension for pi",
|
||||
"type": "module",
|
||||
"keywords": ["pi-package", "pi", "telegram", "bot", "extension"],
|
||||
"keywords": [
|
||||
"pi-package",
|
||||
"pi",
|
||||
"telegram",
|
||||
"bot",
|
||||
"extension"
|
||||
],
|
||||
"license": "MIT",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
@@ -15,7 +21,9 @@
|
||||
"url": "https://github.com/badlogic/pi-telegram/issues"
|
||||
},
|
||||
"pi": {
|
||||
"extensions": ["./index.ts"]
|
||||
"extensions": [
|
||||
"./index.ts"
|
||||
]
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@mariozechner/pi-ai": "*",
|
||||
|
||||
Reference in New Issue
Block a user