Repository navigation
Add projects you've used with Claude Code, Codex and other CLIs from their history - #1863
Merged
currentbits merged 13 commits intoNov 8, 2026
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
discoverHistoryProjects and onboarding's collectSessionDirs are sync fs; on the main process a cold scan froze every window for ~1.3s. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 9d3e15cc58
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Claude flattens every non-alphanumeric to '-', so /code/my-app and /code/my/app share one projects/ dir. Grouping by dir dropped one project and offered the other's sessions for import. cwdField now reads 16KB chunks up to 256KB and stops at the first cwd. Co-Authored-By: Claude Opus 5.5 <[email protected]>
4 tasks
added 5 commits
November 8, 2026 13:40
currentbits
deleted the
coder/add-projects-from-cli-history-1858-b90d70
branch
November 8, 2026 16:32
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add project now has From CLI history…. It lists the folders you've already worked in with Claude Code, Codex, Grok, Cursor, OpenCode, Kimi or Muse that aren't in Solenta yet, so you can add them with one click.
discoverHistoryProjectsreads every CLI's session history:~/.claude/projects, Codex sessions, and the otherscli-sessions*already knew. It dedupes by real path and leaves out:Each entry carries which CLIs used it, when it was last used, and its session count. The list is sorted by recency and capped.
worker_threadsthread, the same pattern asthreadSearch.js, and results are cached for 60 s per set of existing projects. A test checks that the event loop keeps ticking during discovery.Also: onboarding's recent-repos list now includes Cursor and Muse folders too, and its OpenCode limit counts sessions (300) rather than distinct folders. Folders that aren't git repos are kept, since Solenta can add them.
Tests:
history-projects.test.jsuses a fake HOME with Claude and Codex trees to cover dedupe, the existing-project, missing-folder and worktree filters, ordering, and the non-blocking check.addProjectHistory.test.tsxcovers the picker and the import offer.tscandvite buildare clean.Closes #1858
🤖 Generated with Claude Code