Skip to content

Implement continuation support for Claude CLI commands#1446

Merged
trheyi merged 2 commits intoYaoApp:mainfrom
trheyi:main
Feb 1, 2026
Merged

Implement continuation support for Claude CLI commands#1446
trheyi merged 2 commits intoYaoApp:mainfrom
trheyi:main

Conversation

@trheyi
Copy link
Contributor

@trheyi trheyi commented Feb 1, 2026

No description provided.

trheyi and others added 2 commits February 1, 2026 11:24
- 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]>
@trheyi trheyi merged commit 5a37230 into YaoApp:main Feb 1, 2026
3 of 4 checks passed
@github-actions
Copy link

github-actions bot commented Feb 1, 2026

🤖 Sandbox Tests running with Docker...

@github-actions
Copy link

github-actions bot commented Feb 1, 2026

🤖 Robot E2E Tests running with SQLite...

@github-actions
Copy link

github-actions bot commented Feb 1, 2026

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.

@github-actions
Copy link

github-actions bot commented Feb 1, 2026

🤖 KB Tests (kb) running with SQLite...

@github-actions
Copy link

github-actions bot commented Feb 1, 2026

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.

@github-actions
Copy link

github-actions bot commented Feb 1, 2026

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.

@github-actions
Copy link

github-actions bot commented Feb 1, 2026

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.

@github-actions
Copy link

github-actions bot commented Feb 1, 2026

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.

@github-actions
Copy link

github-actions bot commented Feb 1, 2026

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.

@github-actions
Copy link

github-actions bot commented Feb 1, 2026

🤖 AI Tests (agent, aigc) running with SQLite...

@github-actions
Copy link

github-actions bot commented Feb 1, 2026

✅ Sandbox Tests passed!

@github-actions
Copy link

github-actions bot commented Feb 1, 2026

✅ KB Tests (kb) passed!

@github-actions
Copy link

github-actions bot commented Feb 1, 2026

✨DONE✨ db: SQLite3 redis: 4 mongo: 6.0 passed.

@github-actions
Copy link

github-actions bot commented Feb 1, 2026

✨DONE✨ db: SQLite3 redis: 5 mongo: 6.0 passed.

@github-actions
Copy link

github-actions bot commented Feb 1, 2026

✨DONE✨ db: SQLite3 redis: 6 mongo: 6.0 passed.

@github-actions
Copy link

github-actions bot commented Feb 1, 2026

✅ Robot E2E Tests passed!

@github-actions
Copy link

github-actions bot commented Feb 1, 2026

✨DONE✨ db: MySQL8.0 redis: 5 mongo: 6.0 passed.

@github-actions
Copy link

github-actions bot commented Feb 1, 2026

✨DONE✨ db: MySQL8.0 redis: 4 mongo: 6.0 passed.

@github-actions
Copy link

github-actions bot commented Feb 1, 2026

✨DONE✨ db: MySQL8.0 redis: 6 mongo: 6.0 passed.

@github-actions
Copy link

github-actions bot commented Feb 1, 2026

✅ AI Tests (agent, aigc) passed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant