Skip to content

[Story] AF15: Import the chats I already have with my agent #298

Backlog

Description

@aMonteSl

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

  1. added
    tfm
    user-story
    area: ide
    on Nov 27, 2026
  2. added 2 commits that reference this issue on Nov 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: ai-agentsarea: idestream: ide-agent-firsttfmuser-story

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions