Skip to content

Open in Claude Desktop / Codex Desktop with per-agent memory (v0.3.5) - #22

Merged
iAmCorey merged 2 commits into
mainfrom
worktree-desktop-open-in
Sep 1, 2026
Merged

Open in Claude Desktop / Codex Desktop with per-agent memory (v0.3.5)#22
iAmCorey merged 2 commits into
mainfrom
worktree-desktop-open-in

Conversation

@iAmCorey

@iAmCorey iAmCorey commented Sep 1, 2026

Copy link
Copy Markdown
Owner

Adds Claude Desktop and Codex Desktop as Open In deep-link targets, with duplicate-session protection on the Claude side and per-agent, persisted target memory.

Highlights

  • Open in Claude Desktop / Codex Desktop: Claude Code sessions deep-link via claude://resume?session=, Codex sessions via codex://threads/ (ChatGPT.app verified by bundle id com.openai.codex)
  • No duplicate imports: before deep-linking, Wake scans Claude Desktop's session index (including priorCliSessionIds; newest-mtime record wins across accounts) and sends the owning session's own uuid so Desktop focuses the existing session instead of importing a copy
  • Per-agent Open In memory: each agent remembers its own target, with a global fallback for shell terminals; persisted in a new prefs KV table
  • Icon polish: Codex Desktop shows the embedded Codex brand icon; split-button icon is 16px to match toolbar buttons

Reviewed via /simplify (4 angles, 9 fixes) and Codex review (3 P2s all fixed: priorCliSessionIds coverage, multi-account ambiguity, empty-id panic guard).

Release commit bumps the workspace to 0.3.5.

🤖 Generated with Claude Code

iAmCorey and others added 2 commits September 2, 2026 00:07
- Deep-link targets: claude://resume?session= imports/focuses the CLI
  transcript in Claude Desktop; codex://threads/ opens the shared-DB
  thread in Codex Desktop (ChatGPT.app, verified by bundle id)
- Dedupe: before deep-linking Claude Desktop, scan its session index
  (scalar chain fields + priorCliSessionIds, newest-mtime wins across
  accounts) and send the owning session's stem uuid so the existing
  session is focused instead of re-imported
- Open In memory is now per-agent with a global fallback, persisted in
  a new prefs KV table
- Codex Desktop uses the embedded Codex brand icon (its .app icon is
  ChatGPT's and renders smaller); split-button icon bumped to 16px

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@iAmCorey
iAmCorey merged commit 415d85c into main Sep 1, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant