This document records the migration from claudecode-telegram to kiro-telegram.
The original project claudecode-telegram was a Telegram bot bridge for Claude Code. This project has been migrated and adapted to work with Kiro CLI.
| Feature | Claude Code | Kiro CLI |
|---|---|---|
| Startup Command | claude --dangerously-skip-permissions |
kiro-cli chat --trust-all-tools |
| Session Resume | --resume {session_id} |
--resume / --resume-picker |
| Config Directory | ~/.claude/ |
~/.kiro/ |
| tmux Session Name | claude |
kiro |
| Hook Configuration | settings.json |
Agent config file |
| Response Capture | Read transcript.jsonl | tmux capture-pane |
| Ralph Loop | ✅ Supported | ❌ Not supported |
- Session name changed from
claudetokiro - State files moved from
~/.claude/to~/.kiro/
- Changed from
claude --dangerously-skip-permissionstokiro-cli chat --trust-all-tools - Added
--agent telegram-bridgeparameter for Agent configuration
- Claude Code:
--resume {session_id}for direct session ID specification - Kiro CLI:
--resumefor most recent,--resume-pickerfor interactive selection
- Claude Code: Configured in
~/.claude/settings.json - Kiro CLI: Configured in Agent JSON file (
~/.kiro/agents/telegram-bridge.json)
- Claude Code: Read from
transcript.jsonlfile - Kiro CLI: Use
tmux capture-paneto capture terminal output
- Ralph Loop functionality is not available in Kiro CLI
/continue_command replaced with/resume- No longer reads
~/.claude/history.jsonlfor session listing
When migrating from Claude Code version:
- Stop the original Claude Code Bridge
- Install Kiro Agent config to
~/.kiro/agents/ - Install Hook script to
~/.kiro/hooks/ - Update Bot Token in Hook script
- Create new tmux session
kiro - Start Kiro CLI with
--agent telegram-bridge - Update Telegram Webhook URL (if tunnel URL changed)
- Ralph Loop not supported: Kiro CLI doesn't have Ralph Loop feature like Claude Code
- Session ID direct resume:
--resume {session_id}not supported, use--resume-pickerfor interactive selection - Response capture method: Uses tmux capture-pane instead of reading transcript file
- Session history list: Doesn't read
~/.claude/history.jsonl, uses Kiro's built-in session management
This project is based on claudecode-telegram by Han Xiao.
MIT