Skip to content

Add projects from Claude Code / Codex / Cursor history #1858

Closed

Description

@currentbits

Idea taken from the Agent Hub demo (5 Nov), which has "Add from harness history…". Solenta already scans each CLI's session history: electron/cli-sessions.js, plus cli-sessions-claude.js reading ~/.claude/projects, and the Codex, Cursor, Grok, OpenCode, Kimi and Muse equivalents. It only uses that to import an old chat into a project you've already added (ImportCliSessionModal).

Build: a "From CLI history" option wherever you add a project. It lists the project folders found in each CLI's history that aren't already Solenta projects. Each row shows the folder, which CLIs touched it, the last-used time and the session count, sorted by most recent. Skip folders that no longer exist and temp or worktree folders, including Solenta's own worktrees. Picking one adds it as a project through the same path as "Add project folder". Optionally offer to import its recent sessions too.

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

    plan:done

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions