Replies: 2 comments 8 replies
-
|
There's a history button, but it doesn't work as far as I can tell. CTRL + SHIFT + H |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
I don't think the history button is part of the ACP protocol. I was looking in the protocol for a place that describes how to access the history that is kept by most agents themselves. |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Claude Code / Codex provide some sort of
--resumeparameter that allows to continue an existing "agent session".It doesn't seem that the session id provided by the ACP layer when initializing the "ACP session" matches the id of the "agent session"
When an app is restarted, there is no memory persistence (and I don't think the implementation of the Claude Code / Codex ACP maintain their own persisted storage). How then can the app allow the user to resume a session with the agent?
sequenceDiagram autonumber participant App participant ACP participant Agent as Agent (Claude Code / Codex) App->>ACP: initialize_session() ACP-->>App: { session_id: "S-1234" } App->>ACP: prompt("Hello", session_id="S-1234") ACP->>Agent: prompt("Hello") Agent-->>ACP: { session_id: "A-9876", output: "Hi!" } ACP-->>App: { output: "Hi!" } Note over ACP: agent's session_id is not returned to the App Note over App,Agent: App restarts — memory lost App->>ACP: prompt("--resume", session_id="S-1234") ACP->>Agent: prompt("--resume") <!-- no agent's session_id --> Agent-->>ACP: { session_id: "A-5555", output: "(new session)" } ACP-->>App: { output: "(new session)" }I've seen the load session part of the protocol, but I don't think this is it, and I don't know how well supported it is.
Beta Was this translation helpful? Give feedback.
All reactions