mirror of
https://github.com/harivansh-afk/pi-telegram-webhook.git
synced 2026-04-15 01:00:31 +00:00
- webhook server with secret validation, rate limiting, body guards - streaming replies via sendMessage + editMessageText throttled loop - RPC session management for persistent conversations - 15/15 tests passing
38 lines
813 B
JSON
38 lines
813 B
JSON
{
|
|
"name": "pi-telegram-webhook",
|
|
"version": "0.1.0",
|
|
"description": "Webhook-based Telegram adapter for pi with streaming replies and RPC sessions",
|
|
"type": "module",
|
|
"main": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"pi": {
|
|
"extensions": ["./src/index.ts"]
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"README.md"
|
|
],
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"test": "vitest run",
|
|
"dev": "tsc --watch",
|
|
"prepublishOnly": "npm run build"
|
|
},
|
|
"keywords": [
|
|
"pi",
|
|
"telegram",
|
|
"webhook",
|
|
"extension"
|
|
],
|
|
"author": "",
|
|
"license": "MIT",
|
|
"peerDependencies": {
|
|
"@mariozechner/pi-coding-agent": ">=0.60.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^20.0.0",
|
|
"typescript": "^5.0.0",
|
|
"vitest": "^2.0.0",
|
|
"@mariozechner/pi-coding-agent": "^0.64.0"
|
|
}
|
|
}
|