feat(acp): implement unstable session features (list, fork, resume)#949
Merged
feat(acp): implement unstable session features (list, fork, resume)#949
Conversation
Add G12/G13/G14 from Epic 6 of the ACP gap analysis: - `list_sessions`: enumerate in-memory sessions with optional cwd filter - `fork_session`: clone session history into a new session and spawn agent loop - `resume_session`: restore session from SQLite without replaying event history Feature-gate all three methods and capability advertisement behind `unstable-session-list`, `unstable-session-fork`, `unstable-session-resume` crate features, which forward to the corresponding SDK flags. A composite `acp-unstable` feature is added to the root crate and to `full`. Resolves #931
Update zeph-acp README with Feature Flags section covering the three unstable session feature flags. Extend docs/src/advanced/acp.md with an Unstable session features section and docs/src/reference/feature-flags.md with crate-level entries for unstable-session-list/fork/resume and the composite acp-unstable root flag.
Resolve merge conflicts with origin/main: preserve set_session_mode, current_mode_update, and PromptCapabilities from main alongside the unstable session list/fork/resume features from this branch.
Rewrite zeph-acp README with detailed subsections for each unstable feature flag, document acp-http flag, add [!WARNING] callout. Rewrite docs/src/advanced/acp.md unstable section: fix method names (list_sessions/fork_session/resume_session, not ext_method paths), add request/response parameter tables, JSON examples, and behavioral notes for each method. Update docs/src/reference/feature-flags.md: correct method names, add cross-reference links to acp.md subsections, expand acp-unstable composite flag description.
This was
linked to
issues
Feb 26, 2026
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
list_sessions: enumerate in-memory sessions with optionalcwdfilter, returnsSessionInfolistfork_session: clone session history from SQLite into a new session ID and spawn a fresh agent loopresume_session: restore a persisted session without replaying event history (contrast withload_session)unstable-session-list,unstable-session-fork,unstable-session-resumecrate features forwarding to SDK feature flagsacp-unstableroot feature added, included infullinitialize()advertisesSessionCapabilitieswhen relevant features are enabledTest plan
cargo nextest run -p zeph-acp --features unstable-session-list,unstable-session-fork,unstable-session-resume— 115 tests passcargo nextest run --workspace --lib --bins— 2854 tests passcargo clippy --workspace -- -D warnings— no warningscargo +nightly fmt --check— clean--features acp-unstableand verify ACP client seessessionCapabilitiesininitializeresponseResolves #931