Session history #60
Replies: 4 comments 1 reply
-
|
It isn't implemented in clients yet, but we already have Adding something like |
Beta Was this translation helpful? Give feedback.
-
|
Something to keep in mind when implementing this: currently Claude code chat history is different for every working directory, there should be a way to pass the current working directory to show all chats created inside that folder and its children. Passing / would show all chats ever created, which is useful for clients that need to see the full chat history |
Beta Was this translation helpful? Give feedback.
-
|
How can we prioritize I'd love to help move |
Beta Was this translation helpful? Give feedback.
-
|
I wasn't quite sure where to place this thought, but as the session/list proposal has a title, I was thinking if it should be made explicit somewhere the rationale of who owns that title. If I were to guess, it is the agent who is owning it at the moment. Not knowing exactly where to go with this I made a comment on a change by @alexhancock on Goose, which is starting to integrate the session ID (which I like for many reasons including telemetry coherence). The session title/name is still opaque in ACP IIUC. Let's use Zed as a case study. IIUC Zed uses its llm logic to title the session exclusively if ACP is not in use. In ACP, this If we think the Agent should own making the title, should the inputs also be owned by the agent (opaque to ACP)? For example, not all editors use LLMs to make a title right now, and there are impacts (e.g. junk titles, latency, tokens, etc). Meanwhile, there's a strong argument to have the editor own the title, as then there would be coherence for sure in the naming of things. Editors could own the session title even if they don't control generation parameters. For example, a I ack this is more than the basics of session/list, but I think the session title is a key concern of the session/list and wondered if this nuance should be left as field docs? Or should the session title itself be a top-level spec? lemme know. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Add session history endpoints to ACP, enabling clients to access conversations from any ACP agent (Claude Code, Gemini CLI, etc).
Problem
Users work with AI agents across multiple tools, creating isolated conversation histories. Current ACP only handles active sessions, not historical data.
Proposed API
1. List Sessions
2. Get Session Content
3. Capability Discovery
Benefits
Implementation
Agents store sessions locally (SQLite, JSON files) and expose via new endpoints. No changes to existing ACP flows.
Beta Was this translation helpful? Give feedback.
All reactions