Files
magpie/internal/desktopdir
yetone fccf86d62e agents: Claude Code found only inside Claude Desktop says so
cybercaius (Discord, Windows): with Claude Code uninstalled and only
Claude Desktop installed again, the Agents page still listed Claude Code
by its ~\.claude, with nothing saying why. Desktop 2.7032 fetches its own
Claude Code for its Code tab (<userData>\claude-code\<version>\claude.exe,
Claude-3p's folder in its gateway mode), which reads the same
~/.claude/settings.json, so the card is right to stay. desktopdir finds
that copy and its newest version; with no Claude Code of its own, the CLI
reports InDesktop (and DesktopVersion once Desktop fetched one), and the
card carries an "In Claude Desktop" tag (en, zh, zh-TW, ja, de) whose
tooltip names the version and settings path and says Desktop's Code
sessions in WSL use the WSL card. A Claude Code of its own still wins.

Run:
- TestClaudeCodeInDesktop and the desktopdir tests: ok. Broken by hand:
  red with the change taken out.
- node --test internal/gui/tests/claude-in-desktop.test.cjs (en, zh,
  zh-TW, ja, de; 980 and 560 wide): mote Chromium 10 of 10 ok; WSL box
  (magpie-desktop) Chromium 18 of 18 and WebKit 28 of 28 ok with
  i18n-keys and agent-app-version beside it. On the old app.js the 10
  Chromium cases are red (that run ended without its summary line).
- i18n-keys: ok.
Not run on macOS WebKit: a bare WebKit launch on mote hangs at 60s with
no test involved. agent-app-version's Chromium closed mid-run on mote
(display link error under load ~60); it passes on Linux.
2026-10-29 12:42:52 +08:00
..