Implement continuation support for Claude CLI commands#1446
Implement continuation support for Claude CLI commands#1446trheyi merged 2 commits intoYaoApp:mainfrom
Conversation
- Update ReadFile method to read directly from the host's bind-mounted workspace instead of using Docker's CopyFromContainer, enhancing performance. - Introduce containerPathToHost method to convert container paths to host paths, ensuring proper access to bind-mounted directories. - Simplify idle container cleanup logic by storing the idle time in a variable for better readability. Co-authored-by: Cursor <[email protected]>
- Refactor BuildCommand to support session continuation using --continue flag. - Introduce BuildCommandWithContinuation to handle both initial and continuation requests. - Add BuildLastUserMessageJSONL for generating JSONL from the last user message in continuation scenarios. - Enhance Executor to check for existing sessions and adjust command building accordingly. - Update environment setup to ensure session data is stored correctly for persistence. Co-authored-by: Cursor <[email protected]>
|
🤖 Sandbox Tests running with Docker... |
|
🤖 Robot E2E Tests running with SQLite... |
|
Thank you for the PR! The db: SQLite3 redis: 5 mongo: 6.0 test workflow is running, the results of the run will be commented later. |
|
🤖 KB Tests (kb) running with SQLite... |
|
Thank you for the PR! The db: SQLite3 redis: 4 mongo: 6.0 test workflow is running, the results of the run will be commented later. |
|
Thank you for the PR! The db: MySQL8.0 redis: 4 mongo: 6.0 test workflow is running, the results of the run will be commented later. |
|
Thank you for the PR! The db: MySQL8.0 redis: 6 mongo: 6.0 test workflow is running, the results of the run will be commented later. |
|
Thank you for the PR! The db: SQLite3 redis: 6 mongo: 6.0 test workflow is running, the results of the run will be commented later. |
|
Thank you for the PR! The db: MySQL8.0 redis: 5 mongo: 6.0 test workflow is running, the results of the run will be commented later. |
|
🤖 AI Tests (agent, aigc) running with SQLite... |
|
✅ Sandbox Tests passed! |
|
✅ KB Tests (kb) passed! |
|
✨DONE✨ db: SQLite3 redis: 4 mongo: 6.0 passed. |
|
✨DONE✨ db: SQLite3 redis: 5 mongo: 6.0 passed. |
|
✨DONE✨ db: SQLite3 redis: 6 mongo: 6.0 passed. |
|
✅ Robot E2E Tests passed! |
|
✨DONE✨ db: MySQL8.0 redis: 5 mongo: 6.0 passed. |
|
✨DONE✨ db: MySQL8.0 redis: 4 mongo: 6.0 passed. |
|
✨DONE✨ db: MySQL8.0 redis: 6 mongo: 6.0 passed. |
|
✅ AI Tests (agent, aigc) passed! |
No description provided.