feat(cli): add ACP session creation and listing - #3744
Draft
Sun-GLiang wants to merge 11 commits into
Draft
Conversation
Generated-by: Codex
Generated-by: Codex
Generated-by: Codex
Generated-by: Codex
Generated-by: Codex
Generated-by: Codex
Generated-by: Codex
Generated-by: Codex
Generated-by: Codex
Generated-by: Codex
Generated-by: Codex
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
session/newand cursor-paginatedsession/listthrough the official SDK, including canonicalcwdfiltering, legacy-record omission, stable Runtime Host error mapping, and explicit rejection of unsupported MCP server and additional-directory inputs.session/closeunadvertised and returning-32601; durable Runtime Host Sessions are never deleted or archived by adapter cleanup. Its active-turn cancellation and adapter-state removal remain follow-up work.Refs #3132
Depends on #3658
Stacking
This Draft is based on the current head of #3658. Because that branch lives in a fork and cannot be selected as an upstream base branch, GitHub currently shows the combined PR1 + PR2 diff against
main.Verification
npm --workspace maka-agent test— 462 passed, 0 failednpm --workspace @maka/runtime-host test— 1124 passed, 0 failednpm run format:checknpm run lintnpm run typechecknpm run check:asf-headersnpm run check:release— 109 passed, 0 failednpm run release:cli:packwith the repository-pinned npm 11.19.0npm run release:cli:smoke— installed and exercised the immutable tarball offlineRepository-wide
npm teststill reproduces an unchanged macOS Runtime executable-root assertion. Under the parallel root runner, one long Runtime Host startup-recovery test also exceeded its timing budget; the complete Runtime Host suite passes when run standalone as shown above.AI use
Select exactly one:
Tool(s) and scope: Codex assisted with implementation, tests, rebase/conflict resolution, verification, and review. Every PR2 commit includes a
Generated-by: Codextrailer.Checklist
Does this PR entail a change in behavior?