add thread content search command - #84
Conversation
🦋 Changeset detectedLatest commit: 0175291 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 017529111a
ℹ️ 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".
| const snapshot = yield* orchestration.getShellSnapshot(); | ||
| const threadsById = new Map(snapshot.threads.map((thread) => [thread.id, thread])); |
There was a problem hiding this comment.
Include archived threads when enriching search results
When a search match belongs to an archived thread, getShellSnapshot() cannot supply its shell metadata because this repository explicitly loads archived threads through getArchivedShellSnapshot() (see loadThreadsSnapshot). Consequently, valid matches are returned with threadTitle, branch, and worktreePath set to null, and human output displays - for those fields. Enrich search matches from a merged active-and-archived snapshot instead.
Useful? React with 👍 / 👎.
No description provided.