mirror of
https://github.com/wassname/pi-telegram.git
synced 2026-06-27 17:01:39 +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.
|
Send images, albums, or files in the DM.
|
||||||
|
|
||||||
The extension:
|
The extension:
|
||||||
|
|
||||||
- downloads them to `~/.pi/agent/tmp/telegram`
|
- downloads them to `~/.pi/agent/tmp/telegram`
|
||||||
- includes local file paths in the prompt
|
- includes local file paths in the prompt
|
||||||
- forwards inbound images as image inputs to pi
|
- 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.
|
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:
|
Examples:
|
||||||
|
|
||||||
- `summarize this image`
|
- `summarize this image`
|
||||||
- `read this README and summarize it`
|
- `read this README and summarize it`
|
||||||
- `write me a markdown file with the plan and send it back`
|
- `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,
|
"private": false,
|
||||||
"description": "Telegram DM bridge extension for pi",
|
"description": "Telegram DM bridge extension for pi",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"keywords": ["pi-package", "pi", "telegram", "bot", "extension"],
|
"keywords": [
|
||||||
|
"pi-package",
|
||||||
|
"pi",
|
||||||
|
"telegram",
|
||||||
|
"bot",
|
||||||
|
"extension"
|
||||||
|
],
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
@@ -15,7 +21,9 @@
|
|||||||
"url": "https://github.com/badlogic/pi-telegram/issues"
|
"url": "https://github.com/badlogic/pi-telegram/issues"
|
||||||
},
|
},
|
||||||
"pi": {
|
"pi": {
|
||||||
"extensions": ["./index.ts"]
|
"extensions": [
|
||||||
|
"./index.ts"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@mariozechner/pi-ai": "*",
|
"@mariozechner/pi-ai": "*",
|
||||||
|
|||||||
Reference in New Issue
Block a user