Commit Graph

16 Commits

Author SHA1 Message Date
Azreen Jamal 28465884fc telegram-bot: fix streaming JSON, session bloat, prevent local command execution
- Fix progress messages showing [object Object] - parse tool_execution_start/end events
- Auto-clear sessions >200KB to prevent context bloat timeouts
- Restrict bash tool to SSH and curl only - prevent recursive Pi spawning
- Proper error messages for timeouts
2026-03-06 04:20:02 +08:00
Azreen Jamal b5d8665ac0 telegram-bot: rewrite to use Pi CLI with streaming JSON output
- Replaced direct Anthropic API with Pi CLI (uses platform auth, no API key needed)
- Model: claude-sonnet-4-6
- Streaming JSON mode with live progress updates in Telegram
- Per-user session files via Pi's --session/--continue
- Auto-recovery from corrupted sessions
- 5 min timeout, not-lazy system prompt
2026-03-06 02:58:58 +08:00
Azreen Jamal bcce1d4549 update extensions, telegram bot, and add giveaway module 2026-03-05 18:11:32 +08:00
Azreen Jamal a7413075c3 telegram bot: fix env loading, remove markdown, clear stale updates 2026-03-03 04:19:37 +08:00
Azreen Jamal dd2ce7e81f telegram bot: launchd install/uninstall scripts for macOS 2026-03-03 04:16:27 +08:00
Azreen Jamal 5f8f7a1591 telegram bot: hardened auth, rate limiting, dangerous cmd blocking, private-only 2026-03-03 04:14:16 +08:00
Azreen Jamal c6c1e06048 telegram bot: two-way Claude chat + SSH command runner 2026-03-03 04:10:57 +08:00
Azreen Jamal 1389c848b2 infra.md: full topology map, .env: all server credentials 2026-03-03 03:11:11 +08:00
Azreen Jamal dfd64112dd infra.md references .env vars only, no hardcoded values 2026-03-03 03:09:13 +08:00
Azreen Jamal 201aa94056 move infra.md to .pi/ 2026-03-03 03:07:09 +08:00
Azreen Jamal a3c6d09350 remove infra.md.example, infra.md is the source of truth 2026-03-03 03:06:13 +08:00
Azreen Jamal 1ad3033cc1 infra.md: reference only, secrets stay in .env 2026-03-03 03:05:06 +08:00
Azreen Jamal 5e0d80daf9 add infra credentials setup (gitignored secrets, shared template) 2026-03-03 03:01:54 +08:00
Azreen Jamal f832b913d5 feat: add improved pi agent with observatory, dashboard, and pledge-now-pay-later 2026-03-01 23:41:24 +08:00
IndyDevDan ae242436c9 pi vs open code 2026-02-26 15:55:17 -06:00
IndyDevDan 32dfe122cb 🚀 2026-02-22 20:19:33 -06:00