feat(claude-code): mine Windows Cowork sessions - #639
Open
xnne-bot wants to merge 3 commits into
Open
Conversation
Add a dedicated Cowork audit reader to the existing Claude Code bridge so one scheduled task can mine both surfaces without duplicating Claude Code Desktop history. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
MrXnneHang
force-pushed
the
feat/cowork-windows-reader
branch
from
August 14, 2026 08:01
b589f21 to
316309f
Compare
MrXnneHang
suggested changes
Aug 14, 2026
Keep README support semantics focused on install completeness while the Claude Code bridge gains read-only Cowork ingestion. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Apply the repository formatter to the Cowork transcript source. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Contributor
Author
|
The Code/Cowork relationship is simpler when shown as two sibling readers: memu-claude-code
|
v
ClaudeDesktopTranscriptSource
(combines two readers)
/ \
v v
Claude Code reader Cowork reader
~/.claude/projects Desktop audit.jsonl
\ /
v v
one session queue
(sorted by file mtime)
|
v
same cursor -> prepare -> commit
|
v
same memory backendThey do not parse each other's files. They only meet at the composite source, then share the existing bridge pipeline, schedule, and memory store. For Cowork paths, the policy is: platform == Windows
└── scan every existing known root
├── %APPDATA%\Claude
├── %LOCALAPPDATA%\Claude-3p
└── MSIX Claude_* roots
macOS / Linux
└── disabled until their real layouts are verifiedSo Windows does not choose one path: it scans all existing candidates. Each Code/Cowork root has its own scan region, so reaching an unchanged session in one root does not stop the others. One useful test to add: prove that an unchanged Cowork root A cannot hide pending sessions in Cowork root B. |
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.
📝 Pull Request Summary
Adds Windows-first Claude Cowork transcript mining through the existing
memu-claude-codebridge.✅ What does this PR do?
CoworkTranscriptSourcethat discovers known Claude Desktop data roots and reads onelocal_<id>/audit.jsonlas one user-visible Cowork session.🤔 Why is this change needed?
Closes #637. Claude Code Desktop transcripts are already covered by
~/.claude/projects, while Cowork persists distinct, locally readable audits. Keeping Cowork as its own reader avoids duplicate Code ingestion while making Cowork-derived memories available to the existing shared store.