feat: list and read Muse app sessions (release 0.11.0) - #25
Merged
Merged
Conversation
Meta's desktop agent app, Muse.app (muse.ai's Mac client), caches each
conversation at ~/Library/Caches/ConversationCache/ as one JSON array of
messages. The directory is shared with the consumer Meta AI.app, which is
built from the same code, so MuseAgentSessionAdapter lists only the
hatch-<id>.json files, flat and without following links, and never the
UUID-named Meta AI chats beside them. The session id is the file stem.
Messages are ordered by sortSeq when every entry has one, roles come from
isUser, and text is content or, when that is empty, the markdown blocks.
Timestamps are seconds since the Apple reference date and are converted
as such. The title is the first prompt; model, token counts and project
directory stay nil because the agent runs in a VM on Meta's servers.
SessionProvider.museAgent / Harness.museAgent ("Muse") are read-only and
have no resume command. Muse Code (the muse CLI) is unchanged. The Rust
lane mirrors the provider, and its index reader filters on "Muse" and
museAgent.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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. |
4 of 5 tasks
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 1d25299f5c
ℹ️ 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".
…11.0 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Summary
SessionProvider.museAgent/Harness.museAgent("Muse") andMuseAgentSessionAdapterfor Meta's Muse Mac app (muse.ai's desktop client, bundlecom.meta.endo). Not Muse Code — that stays.muse/.museCode.~/Library/Caches/ConversationCache/, shared with Meta AI.app (com.meta.endo.vanilla). Onlyhatch-*.jsonfiles are Muse's (todayhatch-main.json, the main chat); UUID-named files are Meta AI's consumer chats and are never listed.SessionProvider::MuseAgent(serdemuseAgent), resume/index harness mapping kept in parity.Test plan
swift test— 387 XCTest + 618 swift-testing, 0 failurescargo test --workspace --locked— 96 passed;cargo fmt --checkandcargo clippy -D warningsclean/Users/example), no real transcript content🤖 Generated with Claude Code