You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: improve polling behavior with infinite loop by default
- `tg updates poll` without --timeout now loops indefinitely with 50s
internal timeout until updates arrive
- `tg updates poll --timeout N` performs a single poll (for hooks/scripts)
- Updated skill documentation and hook scripts
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: plugin/hooks/scripts/check-updates.sh
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -40,7 +40,7 @@ if echo "$result" | grep -qF '"update_id"'; then
40
40
{
41
41
"decision": "block",
42
42
"reason": "New Telegram messages received",
43
-
"systemMessage": "New Telegram updates received. Process these messages:\n\n\`\`\`json\n$updates\n\`\`\`\n\nRespond to any messages that need a response, then continue polling with: tg updates poll --timeout 30 --offset $new_offset"
43
+
"systemMessage": "New Telegram updates received. Process these messages:\n\n\`\`\`json\n$updates\n\`\`\`\n\nRespond to any messages that need a response, then continue polling with: tg updates poll --offset $new_offset"
0 commit comments