You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Story] AF15: Import the chats I already have with my agent #298
As a developer who already uses Claude Code or Codex in a terminal, I want to bring the chats I have for this project into the IDE's chat list, so that I can continue them here instead of starting again.
Approach
The agent lists and reopens its own chats through the Agent Client Protocol (session/list, session/load). The IDE never opens the vendor's files (~/.claude/projects, ~/.codex/sessions): the agent reads them, as it does when you resume a chat in its CLI.
Acceptance criteria
A ready agent shows Import chats. It lists the chats the agent has for the open folder, newest first, with title and date, without the ones already in the IDE and without other folders' chats.
Chosen chats are added to the list at once; each one reads its messages from the agent (session/load replay) the first time it is opened, then continues the same agent session.
Importing twice adds nothing twice; at most 200 chats are offered.
An agent that cannot list or reopen its chats says so.
Tests with an in-process agent (pages, filter, replay of the person's and the agent's messages, continuation); checked against the real Claude Code adapter's session/list.
Activity
IDE: visible agent sign-in, real signed-in status and import of an ag…
Merge pull request #299 from Code-XR-Project/claude/project-thread-9m…