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
* Initial plan for Issue #184: 支持通过交互式来使用Claude docker姿势
* feat: add interactive Docker mode support for Claude
Implement interactive Docker mode to enable full context management
capabilities when using Claude Docker, similar to native CLI usage.
Key changes:
- Add ClaudeInteractive implementation with persistent container connections
- Support streaming communication and session management
- Add Interactive config option with environment variable support
- Enhance factory pattern with interactive mode selection logic
- Extract shared Docker utilities to avoid code duplication
- Update start script with -i/--interactive flag support
Technical features:
- Persistent container connections to avoid restart overhead
- Session management with context preservation
- Stream response processing with automatic container reuse
- Complete error handling and timeout controls
Usage:
./scripts/start.sh -p claude -d -i
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
Closes#184
* feat: implement interactive PTY mode for Claude Docker
Replace pipe-based Docker communication with PTY (pseudo-terminal) to enable
full Claude Code interactive features. This allows proper context management
and terminal-based tool usage within Docker containers.
Key changes:
- Added PTY master/slave device creation with proper system calls
- Updated Docker command to use -it flag for TTY allocation
- Enhanced response handling with timeout and completion detection
- Improved session lifecycle management with context cancellation
- Added terminal environment setup (TERM=xterm-256color)
This enables the same interactive experience as native Claude Code CLI
while running in Docker containers, supporting all terminal-based features
and context management capabilities.
Closes#184
* fix(codeagent): support relative dir as work dir (#190)
* fix(codeagent): support relative dir as work dir
* fix(codeagent): support interactive mode
* fix(codeagent): claude support bash url and api key env
* fix(codeagent): adjust interactive way
* fix(codeagent): adjust interactive way
---------
Co-authored-by: qiniu-ci <qiniu-ci@qiniu.com>
Co-authored-by: Changjun Ji <jinsdu@outlook.com>
0 commit comments