Skip to content

Import existing CLI agent sessions as Solenta threads, with dedup sync #433

Closed

Description

@currentbits

Inspired by Codex 0.145-0.147's cross-harness import (Claude Code/Cursor sessions, settings, memories imported and KEPT IN SYNC without duplicates).

Users arrive with months of Claude Code/Codex sessions on disk. An import flow that turns existing CLI sessions into Solenta threads (history linked, provider session preserved where possible, dedup on re-import) is the strongest onboarding wedge available — the user's history becomes Solenta's value on day one instead of starting cold.

Activity

  1. added
    enhancement
    plan:todo
    on Aug 18, 2026
  2. currentbits commented on Aug 18, 2026

    @currentbits
    OwnerAuthor

    Deep-dive validation (Zed thread import): their import is idempotent over ACP — connects to each configured agent, pulls sessions not already in history as ARCHIVED entries, skips sessions without a working directory. Cursor and Gemini CLI don't support it; expect uneven provider support.

  3. currentbits commented on Aug 18, 2026

    @currentbits
    OwnerAuthor

    Round 21: Grok Build 0.2.100 (12 Jul, still current in 1.0.x) already does the inbound half of this ticket.

    • Session picker resumes recent Claude Code, Codex, and Cursor sessions.
    • Welcome screen offers a one-click resume nudge for those foreign sessions.
    • `grok inspect` shows effective compatibility settings for Cursor, Claude, and Codex sessions.

    When #433 is built, treat Grok as both a source of sessions to import and as the reference UX: one picker, one-click resume, no separate "import wizard" on day one. Dedup still matters — Grok's picker can double a session we already ingested.

  4. currentbits commented on Aug 18, 2026

    @currentbits
    OwnerAuthor

    Round 20 intel: Codex desktop + CLI shipped the full version of this play (2026-08-11): import instructions, settings, skills, plugins, projects, and recent work from Claude Code (and Claude Cowork) and Cursor, with /import in the CLI, plus an "automatic updates" toggle in Settings > Import that keeps imported conversations in sync without creating duplicates (session records parsed per-provider, imported timestamps preserved). The sync-without-duplicates piece is the hard part they solved and this issue already names: dedup keys should be provider session IDs, and re-import must be idempotent. Also note their framing: import is a switching-cost reducer marketed at onboarding, exactly the growth motion Solenta wants from #399 too.

  5. currentbits commented on Aug 18, 2026

    @currentbits
    OwnerAuthor

    Round 27 intel: Orca's AI Vault ships the read side of this at fleet scale: browse and resume past agent sessions across Claude, Codex, OpenCode, and more, in one place, without importing them into a new system first. That is a lighter-weight answer than full import: index in place, resume through the provider's own session mechanism, upgrade to a Solenta thread only when the user wants orchestration. Worth considering as the v1 of this issue (browse/resume) with full import + dedup sync as v2.

  6. added
    plan:doing
    plan:todo
    plan:done
    and removed
    plan:todo
    plan:doing
    on Sep 6, 2026
  7. currentbits commented on Sep 6, 2026

    @currentbits
    OwnerAuthor

    Dedup sync is in: re-import of a Codex/Grok/Claude/Cursor/OpenCode session returns the existing thread and absorbs new CLI turns (role+text occurrence count) instead of minting a duplicate or leaving a stale snapshot. Import-path readers (sessionId scan) are used, not reclaim's cwd lookup. The picker marks already-imported rows and can Import remaining/all into the current project. Per-provider one-shot import was already shipped via #971-#977.

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

    enhancementplan:done

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions