agent: Claude Desktop says how to go on with the signed-in chats on magpie (Jacky_yyyyyyyy on X)
Jacky_yyyyyyyy on X asked that connecting Claude Desktop keep the earlier chats and let them be continued. They are kept already: in 3p mode Desktop runs in Claude-3p (its own userData), the signed-in profile's Code and Cowork sessions stay untouched in Claude/, claude.ai chats stay on Anthropic's servers, and Off brings them all back (57e58595b). What was missing was how to go on with them while on magpie. Desktop does that itself. magpie's profile already turns on its 3p import policy (claudeAiImport.enabled,5be7d05d2). Read from the app bundles (2.7032 on this Mac, 4.16336's asar from an earlier scratch, read only): with it on, Settings → Import offers Claude.ai's chats and projects (arm "direct": a Claude.ai sign-in inside the importer, remotePull in getImportCapabilities; or a Claude.ai data export zip, localZip) and this computer's earlier Code and Cowork sessions (localSessions), copied in under new ids that run on the gateway, originals left alone. allowedOrganizationUuids unset (as magpie leaves it) allows any org. So the notice after On and the opened row's "Once connected" line add: "To go on with them on magpie, open Settings → Import in Desktop: it can copy in your Claude.ai chats and projects and this computer's earlier sessions, and leaves the originals as they are." (noticeClaudedesktop5), in en, zh, zh-TW, ja, de. CONNECT_COST takes a list of sentences, each translated. agent-wiring.md says the importer covers Claude.ai chats too. No mimicry, nothing new written to Desktop's files. The isolated Claude Magpie app is unchanged (the user's own Claude stays signed in). app.js paid for the sentence with comments cut, no budget raise. Run (worktree on origin/main a1ba92ad8; mote refused SSH all session, so Linux runs went to wsl-run magpie-desktop, Windows to win-run): - gofmt -l internal/agent internal/gui: nothing. - wsl-run: go test -run 'ClaudeDesktop|Notice|Desktop' ./internal/agent ok; TestEveryNoticeIsTranslated ok; go vet -tags nogui ./internal/agent ok; go test -tags nogui -run Budget ./internal/gui ok (it was 140 bytes over before the comment cuts). - win-run: go vet ./internal/agent ok. - GUI, Chromium and WebKit (wsl-run): desktop-history 10+10, i18n-keys 4+4, agent-connect 2+2, desktop-isolated 11+11, all pass. Broken by hand: - Notice without noticeClaudedesktop5: TestClaudeDesktopKeepsTheSignedInHistory red ("doesn't say how to go on with the history on magpie"). - The opened row rendering only the first sentence: desktop-history 0 of 10 in Chromium. Not tried: a real Desktop importing a Claude.ai account's chats in 3p (would need a Claude.ai sign-in inside a sandbox Desktop); a darwin go vet and the macOS run (mote unreachable); the full suite.
This commit is contained in:
@@ -170,7 +170,7 @@ something else shows up as drift.
|
||||
- Claude Desktop's "subagent effort" (`desktopSubagentEffortField`, `settings.DesktopSubagentEffort`) is also Quiet and Live. Default keeps the effort the request asks for, including disabled thinking; it never selects a new default. A picked level works independently of the subagent model: no model pick, the same model and an unavailable model pick all still take the effort. While wired, the field offers the selected model's levels, or the standard levels when its model is inherited or unavailable; a model marked reasonless offers none. The stored pick survives model changes. A disconnected preference can be saved or cleared without connecting Desktop or showing restart advice, so profile restoration and Disconnect can restore a value saved before connecting; reconnect returns to the last live pick. `subEffortTitle` gives Desktop the Claude Code default explanation; Codex's default meaning is unchanged. The gateway fits each attempt to its actual model and preserves fixed group-member efforts (see [gateway routing](gateway-routing.md)).
|
||||
- Claude Desktop picks its userData in its main process before any window opens: while a 3p configuration is applied and `deploymentMode` isn't `"1p"`, it is `Claude-3p` (Desktop 2.7032's `index.pre.js`, `app.setPath("userData", …-3p)`). So turning Desktop onto magpie shows none of the chats, projects and Code sessions of the Anthropic sign-in, which stay in `Claude` (xgddm88 on X: 之前的工程和会话记录全没了). magpie writes nothing in `Claude` but `deploymentMode` in its `claude_desktop_config.json`, and reads its `config.json` for the language; Off brings that history back. A row not yet connected says so before it is turned on (`CONNECT_BEFORE` in `app.js`), the opened row once it is on (`CONNECT_COST`), and the notice after each change (`noticeClaudedesktop3`, `noticeClaudedesktop4`; `TestClaudeDesktopKeepsTheSignedInHistory`, `desktop-history.test.cjs`). Opus beside the gateway's other models in that mode comes from a Claude subscription added in magpie. With `disableDeploymentModeChooser` unset Desktop's login screen would offer Claude.ai sign-in too; magpie still seeds it (as CC Switch does), so the way back is Off. The drift check asks Desktop's own question (`desktop3p`, `m4` in 4.4212's and 2.7032's `index.pre.js`): Desktop is off magpie only when Claude-3p's `deploymentMode` is `"1p"` and the applied profile leaves the chooser on. The `Claude` folder's `deploymentMode` isn't read, and Desktop 4.4212 deletes Claude-3p's itself (a stored `"1p"` with no claude.ai sign-in is dropped at start, `deploymentMode written { mode: undefined }`), so a missing one is still magpie (dev_quj on X; `TestClaudeDesktopModeAsDesktopReadsIt`).
|
||||
- Claude Desktop's 3p mode runs in a userData of its own (`Claude-3p`), whose `config.json` (Desktop's own settings, not `claude_desktop_config.json`) starts with no `locale`, so Desktop on magpie came up in the system's language rather than the one picked signed in with Anthropic (memory and Osal on Discord). Turning Desktop onto magpie copies that one key, `locale`, from the signed-in userData's `config.json` (`Claude`, `%APPDATA%\Claude` on Windows, the first set's before the others) into `Claude-3p/config.json` when that file is missing or a JSON object without one (`desktopCarryLocale` in [`claudedesktop.go`](../../internal/agent/claudedesktop.go)); only a name Desktop takes for a catalog is carried. A `locale` already in `Claude-3p`, Desktop's or set by hand, is never written over, and no other key of that file is ever written. Off removes the file only when magpie made it and it still holds nothing but the language carried (`TestClaudeDesktopCarriesTheLanguage`, `TestClaudeDesktopKeepsThe3pLanguage`, `TestClaudeDesktopUserEditsThenReapply`). Desktop shows the language only where its 3p window has that catalog: the window is Desktop's bundled UI (`Resources/ion-dist`, 11 catalogs and no Chinese in 2.7032, 2.9939, 3.6556.2, 4.4212.0 and 4.23118.0 (11-05; packed as `Resources/ion-dist.asar` from 4.4212.0; 4.23118.0's `frame-shell` catalogs in `app.asar` are the same 11), while 3.6556.2's main process has `zh-Hans` and `zh-Hant` for the signed-in window). On every start that window asks the main process for its own pick (`requestLocaleChange`: its localStorage, else `navigator.languages` mapped onto its 11, else `en-US`), and the main process writes it into `Claude-3p/config.json`. So a Chinese `locale` there, carried or set by hand, is `en-US` again after each start, written by Desktop and not by magpie (Dx25 on Discord, Windows); nothing magpie writes can keep it. So the GUI says it to a Chinese reader: Claude Desktop's opened row on Agents has a line that Desktop on magpie is Anthropic's gateway window, with no Chinese, and that its Chinese comes back once disconnected, and the switch-on notice says the same in Chinese (GZXYMH on X, `desktop-lang.test.cjs`).
|
||||
- Claude Desktop's sessions (Code and Cowork, `claude-code-sessions` and `local-agent-mode-sessions`) are kept in the userData Desktop runs in, keyed by account and organization (the claude.ai login signed in; in 3p the install id in `ant-did` and the profile's organization, both stable). So on magpie, in `Claude-3p`, the sessions made signed in with Anthropic are out of sight but untouched in `Claude`, and they show again when Desktop is switched back (lambdua on X: "切换账号,对话都不见"); claude.ai chats live on Anthropic's servers and 3p never shows them. magpie never writes or removes a session. Desktop imports them itself (Settings → Import: the signed-in userData, `~/.claude/projects`, other `Claude*` folders), copying under new ids and leaving the originals, but in 3p only when the profile's policy `claudeAiImport.enabled` is true (off by default, 3p only, from 1.28929.0). magpie's profile gets `"claudeAiImport":{"enabled":true,"bannerBehavior":"detect"}` once per folder set (`desktopSeedImport`, marked in the stash as `claude-desktop.import`): on the switch on and, for a Desktop already on magpie, from `Sync` at magpie's start. A `claudeAiImport` already there is kept, and one the user removes is not written again (`TestClaudeDesktopOffersItsSessionImport`).
|
||||
- Claude Desktop's sessions (Code and Cowork, `claude-code-sessions` and `local-agent-mode-sessions`) are kept in the userData Desktop runs in, keyed by account and organization (the claude.ai login signed in; in 3p the install id in `ant-did` and the profile's organization, both stable). So on magpie, in `Claude-3p`, the sessions made signed in with Anthropic are out of sight but untouched in `Claude`, and they show again when Desktop is switched back (lambdua on X: "切换账号,对话都不见"); claude.ai chats live on Anthropic's servers and 3p never shows them as they are. magpie never writes or removes a session. Desktop imports them itself (Settings → Import: the signed-in userData, `~/.claude/projects`, other `Claude*` folders, and Claude.ai's own chats and projects, through a Claude.ai sign-in in the importer (`arm: "direct"`, `remotePull` in 4.16336's `getImportCapabilities`) or its data export zip), copying under new ids that go on on the gateway and leaving the originals, but in 3p only when the profile's policy `claudeAiImport.enabled` is true (off by default, 3p only, from 1.28929.0). magpie's profile gets `"claudeAiImport":{"enabled":true,"bannerBehavior":"detect"}` once per folder set (`desktopSeedImport`, marked in the stash as `claude-desktop.import`): on the switch on and, for a Desktop already on magpie, from `Sync` at magpie's start. A `claudeAiImport` already there is kept, and one the user removes is not written again (`TestClaudeDesktopOffersItsSessionImport`). The opened row and the notice after On point there (`noticeClaudedesktop5`; Jacky_yyyyyyyy on X asked to go on with the earlier chats on magpie).
|
||||
- Claude Desktop's 3p mode reads its MCP servers (Settings → Developer, its connector list) from `Claude-3p/claude_desktop_config.json`, a file of its own, so on magpie the servers the user added signed in with Anthropic, in `Claude/claude_desktop_config.json`, were gone from the list (aa86222 on Discord: connectors didn't sync). Turning Desktop onto magpie copies each of those `mcpServers` entries that `Claude-3p` has none of the same name for (`desktopCarryMCP` in [`claudedesktop.go`](../../internal/agent/claudedesktop.go)); one of that name already there, the user's or the Library's (which writes both files), stays. `Sync` does it once for a Desktop already on magpie (`claude-desktop.mcp-seen`), so a server the user takes out in 3p isn't brought back. What was copied is stashed (`claude-desktop.mcp`), and off takes back each one still as copied; one the user changed since stays (`TestClaudeDesktopCarriesTheMCPServers`, `TestClaudeDesktopMCPKeepsThe3pServers`, `TestClaudeDesktopSyncCarriesTheMCPServersOnce`). Claude's file is never written. A claude.ai account's connectors can't come along: Desktop calls them through claude.ai with that account (`/api/organizations/<org>/mcp/servers/<id>/tools/call`, refused with `no_active_org` without one, Desktop 2.7032), and 3p mode has no account; Anthropic's docs say "Made by Anthropic" connectors are only in standard Desktop, and others reach 3p through `managedMcpServers` or plugins (claude.com/docs/third-party/claude-desktop/extensions).
|
||||
- On a Mac, Claude Desktop on magpie can run beside the user's own Claude Desktop signed in with Anthropic (#5671, baranwang on X): off by default (`settings.DesktopIsolated`); turned on by the "Separate app" switch in Claude Desktop's opened row (`POST /api/settings/desktop-isolated`) or `magpie claude-desktop launcher add`, both `SetDesktopIsolated` in [`claudedesktop_isolated.go`](../../internal/agent/claudedesktop_isolated.go). It makes `~/Applications/Claude Magpie.app` ([`desktopiso`](../../internal/desktopiso/desktopiso.go): Claude's own icon with a magpie badge, an `sh` executable that runs Claude.app's executable with `--user-data-dir=~/Library/Application Support/Claude-Magpie-3p` and opens no second one while it runs) and moves a Desktop on magpie there: the usual sets are put back as before magpie (`desktopOff`) and the isolated set (`desktopIsolatedSet`, stash key `.isolated`, MCP servers and language read from the user's own Desktop) gets the 3p mode. While on, `desktopSets` is that set alone; the row's file stays the user's own. The folder ends in `-3p` because Desktop (`GY()` in 4.4212's app.asar) adds `-3p` to a userData that doesn't, and `CLAUDE_USER_DATA_DIR` is dropped by the packaged app, so only the flag works. Windows hardcodes `%LOCALAPPDATA%\Claude-3p`, so it is macOS only (`desktopdir.Isolated` is "" elsewhere). Two Claude.app processes then run: `desktopInstance` (`restartable.macCmd`) keeps Restart and "running on the old settings" on the wired one, and Restart quits the isolated one by `pkill -TERM` on its command line (`desktopIsoQuit`) and opens the app again. The gateway's model selector reads Claude-Magpie-3p first (`desktopSelectorRoots`). Not done: the Dock shows Claude's own icon for the running isolated Desktop, and Desktop turns its Chrome pairing off in a moved userData.
|
||||
- Claude Desktop names a Claude model with reasoning levels after its own catalog ("Opus 5.5"), not by the `display_name` magpie lists, because magpie lists it as `magpie-<number>.anthropic.<model>` to keep its effort picker (`claudeLooking` in [`desktop.go`](../../internal/gateway/desktop.go)). Desktop 4.4212 labels a picker row by its catalog's name before `display_name` (only an admin's `inferenceModels` list carries the `labelOverride` that beats it; magpie writes one, with each row's `display_name`, only while a tier is picked), so two providers' rows of one model read alike and Desktop adds the tail of the id, "Opus 5.5 (…7922287072.anthropic.claude-opus-5-5)". Desktop shows the gateway's `description` under the name, before the catalog's, so such a row's description names its provider when the Provider in model names setting puts it after the name (`desktopSaidBy`: on, every one; off, only two of one name), and a 1M row listed by its `[1m]` id says "1M context window · <provider>" (4 v5 on Discord, `TestClaudeDesktopCatalogNamedSaysProvider`). The id stays as it was. The provider editor shows the number too on the model's chip (`gateway.DesktopNumber`, `desktopNumbers` in [`providers.go`](../../internal/gui/providers.go), #2578). The chip shows it only while Claude Desktop is installed and is shown that model. Every other model Desktop is shown carries no number on the chip: Desktop names it by `display_name`, which already says the provider, or by its own id.
|
||||
|
||||
@@ -169,7 +169,7 @@ func claudeDesktop(home string) *Agent {
|
||||
return noticeClaudedesktopIsolatedOff.String()
|
||||
}
|
||||
if desktopWiredAny(ps) {
|
||||
return noticeClaudedesktop1.String() + " " + noticeClaudedesktop3.String()
|
||||
return noticeClaudedesktop1.String() + " " + noticeClaudedesktop3.String() + " " + noticeClaudedesktop5.String()
|
||||
}
|
||||
return noticeClaudedesktop2.String() + " " + noticeClaudedesktop4.String()
|
||||
},
|
||||
@@ -1127,6 +1127,14 @@ var (
|
||||
// (xgddm88 on X: 之前的工程和会话记录全没了).
|
||||
noticeClaudedesktop3 = newNotice("Chats and projects from your Anthropic sign-in stay in Desktop's own profile, not shown on magpie; nothing is deleted, and turning this off brings them back.")
|
||||
noticeClaudedesktop4 = newNotice("Your chats and projects from before are back there.")
|
||||
// and how to go on with them on magpie (Jacky_yyyyyyyy on X): Desktop's
|
||||
// own importer, which magpie's profile turns on (desktopSeedImport).
|
||||
// With claudeAiImport.enabled, 2.7032 and 4.16336 offer it in 3p mode
|
||||
// under Settings → Import: Claude.ai's chats and projects (a sign-in
|
||||
// to Claude.ai there, or its data export zip) and the Code and Cowork
|
||||
// sessions of the signed-in profile, copied in under new ids, the
|
||||
// originals left alone.
|
||||
noticeClaudedesktop5 = newNotice("To go on with them on magpie, open Settings → Import in Desktop: it can copy in your Claude.ai chats and projects and this computer's earlier sessions, and leaves the originals as they are.")
|
||||
// the isolated Desktop (#5671): magpie's is its own app, and the
|
||||
// user's Claude.app stays signed in with Anthropic
|
||||
noticeClaudedesktopIsolated = newNotice("Open Claude Magpie from Applications to use Claude Desktop on magpie. Your own Claude Desktop stays signed in with Anthropic.")
|
||||
|
||||
@@ -1270,6 +1270,14 @@ func TestClaudeDesktopKeepsTheSignedInHistory(t *testing.T) {
|
||||
if n := a.Notice(); !strings.Contains(n, noticeClaudedesktop3.String()) {
|
||||
t.Errorf("on, the notice doesn't say the signed-in history stays: %q", n)
|
||||
}
|
||||
// and how to go on with it on magpie: Desktop's own importer, which
|
||||
// the profile turns on (Jacky_yyyyyyyy on X)
|
||||
if n := a.Notice(); !strings.Contains(n, noticeClaudedesktop5.String()) {
|
||||
t.Errorf("on, the notice doesn't say how to go on with the history on magpie: %q", n)
|
||||
}
|
||||
if got := desktopJSON(t, p.prof)["claudeAiImport"]; !reflect.DeepEqual(got, desktopImportOn) {
|
||||
t.Errorf("on, Desktop's import isn't turned on for the notice to point at: %v", got)
|
||||
}
|
||||
if err := f.Set(""); err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
@@ -1286,15 +1286,14 @@ function fillMenuButton(b, a) {
|
||||
// what turning one on costs, said in its opened row
|
||||
const CONNECT_COST = {
|
||||
gemini: "Gemini CLI's requests all go through magpie; its Google sign-in is turned off first and comes back when you disconnect",
|
||||
// its third-party mode has a userData of its own (xgddm88 on X)
|
||||
"claude-desktop": "Chats and projects from your Anthropic sign-in stay in Desktop's own profile, not shown on magpie; nothing is deleted, and turning this off brings them back.",
|
||||
// xgddm88, Jacky_yyyyyyyy on X
|
||||
"claude-desktop": ["Chats and projects from your Anthropic sign-in stay in Desktop's own profile, not shown on magpie; nothing is deleted, and turning this off brings them back.", "To go on with them on magpie, open Settings → Import in Desktop: it can copy in your Claude.ai chats and projects and this computer's earlier sessions, and leaves the originals as they are."],
|
||||
};
|
||||
// what turning it on changes in it, said before
|
||||
const CONNECT_BEFORE = {
|
||||
"claude-desktop": "Not connected · on magpie, Claude Desktop opens a separate profile: chats and projects from your Anthropic sign-in stay, and are back when you turn it off",
|
||||
};
|
||||
// agents that read magpie's list only as they start: copies already
|
||||
// running keep the list they started with (agent.Stale)
|
||||
// read the list only at start (agent.Stale)
|
||||
const STARTS_WITH = new Set(["codex", "claude"]);
|
||||
|
||||
let agentExpanded = null; // the connected agent opened in the window
|
||||
@@ -2279,7 +2278,7 @@ function connectPanel(a, { fields, fieldBtn }) {
|
||||
if (a.native) for (const [key, detail] of Object.entries(a.native.fields || {})) {
|
||||
if (detail.detail) { const f = a.fields.find((x) => x.key === key); kv(t(f?.label || key), line(t(detail.detail))); }
|
||||
}
|
||||
if (CONNECT_COST[kindOf(a)]) kv(t("Once connected"), line(t(CONNECT_COST[kindOf(a)])));
|
||||
if (CONNECT_COST[kindOf(a)]) kv(t("Once connected"), line([].concat(CONNECT_COST[kindOf(a)]).map((s) => t(s)).join(" ")));
|
||||
// its own settings (agentPrefRows), shown once read
|
||||
const own = agentPrefsOf(a);
|
||||
if (own) {
|
||||
|
||||
@@ -4659,6 +4659,7 @@ const I18N = {
|
||||
"Not connected · on magpie, Claude Desktop opens a separate profile: chats and projects from your Anthropic sign-in stay, and are back when you turn it off": "未接入 · 接入后 Claude Desktop 会换用一套单独的资料:用 Anthropic 登录时的对话和项目都还在,只是不显示,关掉接入即恢复",
|
||||
"Chats and projects from your Anthropic sign-in stay in Desktop's own profile, not shown on magpie; nothing is deleted, and turning this off brings them back.": "用 Anthropic 登录时的对话和项目留在 Desktop 自己的资料里,走 magpie 时不显示;不会删除任何内容,关掉接入即恢复。",
|
||||
"Your chats and projects from before are back there.": "之前的对话和项目会回来。",
|
||||
"To go on with them on magpie, open Settings → Import in Desktop: it can copy in your Claude.ai chats and projects and this computer's earlier sessions, and leaves the originals as they are.": "想在 magpie 上接着用,在 Desktop 的 Settings → Import 里导入:可复制 Claude.ai 的对话和项目,以及本机之前的会话,原记录不动。",
|
||||
"Separate app": "独立应用",
|
||||
"Your own Claude Desktop stays signed in with Anthropic. macOS only.": "你自己的 Claude Desktop 保持 Anthropic 登录。仅限 macOS。",
|
||||
"Claude Magpie removed": "已移除 Claude Magpie",
|
||||
@@ -9583,6 +9584,7 @@ const I18N = {
|
||||
"Not connected · on magpie, Claude Desktop opens a separate profile: chats and projects from your Anthropic sign-in stay, and are back when you turn it off": "未接入 · 接入後 Claude Desktop 會改用一套獨立的資料:用 Anthropic 登入時的對話和專案都還在,只是不顯示,關閉接入即恢復",
|
||||
"Chats and projects from your Anthropic sign-in stay in Desktop's own profile, not shown on magpie; nothing is deleted, and turning this off brings them back.": "用 Anthropic 登入時的對話和專案留在 Desktop 自己的資料裡,走 magpie 時不顯示;不會刪除任何內容,關閉接入即恢復。",
|
||||
"Your chats and projects from before are back there.": "之前的對話和專案會回來。",
|
||||
"To go on with them on magpie, open Settings → Import in Desktop: it can copy in your Claude.ai chats and projects and this computer's earlier sessions, and leaves the originals as they are.": "想在 magpie 上接著用,在 Desktop 的 Settings → Import 裡匯入:可複製 Claude.ai 的對話和專案,以及本機之前的工作階段,原記錄不動。",
|
||||
"Separate app": "獨立應用程式",
|
||||
"Your own Claude Desktop stays signed in with Anthropic. macOS only.": "你自己的 Claude Desktop 維持 Anthropic 登入。僅限 macOS。",
|
||||
"Claude Magpie removed": "已移除 Claude Magpie",
|
||||
@@ -14509,6 +14511,7 @@ const I18N = {
|
||||
"Not connected · on magpie, Claude Desktop opens a separate profile: chats and projects from your Anthropic sign-in stay, and are back when you turn it off": "未接続 · 接続すると Claude Desktop は別のプロファイルで起動します。Anthropic でサインインしていたときのチャットとプロジェクトは消えず、接続を切ると戻ります",
|
||||
"Chats and projects from your Anthropic sign-in stay in Desktop's own profile, not shown on magpie; nothing is deleted, and turning this off brings them back.": "Anthropic でサインインしていたときのチャットとプロジェクトは Desktop 自身のプロファイルに残り、magpie 経由では表示されません。何も削除されず、接続を切ると戻ります。",
|
||||
"Your chats and projects from before are back there.": "以前のチャットとプロジェクトが戻ります。",
|
||||
"To go on with them on magpie, open Settings → Import in Desktop: it can copy in your Claude.ai chats and projects and this computer's earlier sessions, and leaves the originals as they are.": "magpie で続けるには、Desktop の Settings → Import から取り込んでください。Claude.ai のチャットとプロジェクト、このコンピュータの以前のセッションをコピーでき、元の記録はそのまま残ります。",
|
||||
"Separate app": "独立アプリ",
|
||||
"Your own Claude Desktop stays signed in with Anthropic. macOS only.": "ご自身の Claude Desktop は Anthropic にサインインしたままです。macOS のみ。",
|
||||
"Claude Magpie removed": "Claude Magpie を削除しました",
|
||||
@@ -19435,6 +19438,7 @@ const I18N = {
|
||||
"Not connected · on magpie, Claude Desktop opens a separate profile: chats and projects from your Anthropic sign-in stay, and are back when you turn it off": "Nicht verbunden · über magpie öffnet Claude Desktop ein eigenes Profil: Chats und Projekte deiner Anthropic-Anmeldung bleiben erhalten und sind nach dem Trennen wieder da",
|
||||
"Chats and projects from your Anthropic sign-in stay in Desktop's own profile, not shown on magpie; nothing is deleted, and turning this off brings them back.": "Chats und Projekte deiner Anthropic-Anmeldung bleiben in Desktops eigenem Profil und werden über magpie nicht angezeigt; nichts wird gelöscht, und nach dem Trennen sind sie wieder da.",
|
||||
"Your chats and projects from before are back there.": "Deine früheren Chats und Projekte sind dann wieder da.",
|
||||
"To go on with them on magpie, open Settings → Import in Desktop: it can copy in your Claude.ai chats and projects and this computer's earlier sessions, and leaves the originals as they are.": "Um sie über magpie weiterzuführen, öffne in Desktop Settings → Import: Es kann deine Claude.ai-Chats und -Projekte und frühere Sitzungen dieses Computers als Kopie übernehmen; die Originale bleiben, wie sie sind.",
|
||||
"Separate app": "Eigene App",
|
||||
"Your own Claude Desktop stays signed in with Anthropic. macOS only.": "Dein eigenes Claude Desktop bleibt bei Anthropic angemeldet. Nur macOS.",
|
||||
"Claude Magpie removed": "Claude Magpie entfernt",
|
||||
@@ -19733,6 +19737,7 @@ const NOTICES = [
|
||||
"Claude Desktop reads this at start-up — quit and reopen it to sign in with Anthropic again.",
|
||||
"Chats and projects from your Anthropic sign-in stay in Desktop's own profile, not shown on magpie; nothing is deleted, and turning this off brings them back.",
|
||||
"Your chats and projects from before are back there.",
|
||||
"To go on with them on magpie, open Settings → Import in Desktop: it can copy in your Claude.ai chats and projects and this computer's earlier sessions, and leaves the originals as they are.",
|
||||
"Open Claude Magpie from Applications to use Claude Desktop on magpie. Your own Claude Desktop stays signed in with Anthropic.",
|
||||
"Quit Claude Magpie if it is open: it no longer runs on magpie.",
|
||||
"Cline reads its provider as a session starts — open sessions keep the model they have; new ones use this. Reload VS Code's window for its extension.",
|
||||
|
||||
@@ -16,6 +16,9 @@ const assets = path.resolve(__dirname, "../assets");
|
||||
|
||||
const before = "Not connected · on magpie, Claude Desktop opens a separate profile: chats and projects from your Anthropic sign-in stay, and are back when you turn it off";
|
||||
const once = "Chats and projects from your Anthropic sign-in stay in Desktop's own profile, not shown on magpie; nothing is deleted, and turning this off brings them back.";
|
||||
// and how to go on with them on magpie, in Desktop's own importer
|
||||
// (Jacky_yyyyyyyy on X)
|
||||
const resume = "To go on with them on magpie, open Settings → Import in Desktop: it can copy in your Claude.ai chats and projects and this computer's earlier sessions, and leaves the originals as they are.";
|
||||
const plain = "Not connected · {agent} uses its own settings";
|
||||
|
||||
function fixture(lang, wired) {
|
||||
@@ -69,7 +72,7 @@ for (const engine of (process.env.BROWSER ? [process.env.BROWSER] : ["chromium",
|
||||
await page.route("**/*", fixture(lang, false));
|
||||
await page.goto("http://magpie.test/?view=agents");
|
||||
await page.locator(`${row("claude-desktop")} .ag-st`).waitFor();
|
||||
for (const k of [before, once]) assert.ok(await tr(k), `${lang} has ${k.slice(0, 40)}`);
|
||||
for (const k of [before, once, resume]) assert.ok(await tr(k), `${lang} has ${k.slice(0, 40)}`);
|
||||
assert.equal(await page.locator(`${row("claude-desktop")} .ag-st`).textContent(), await tr(before));
|
||||
assert.equal(await page.locator(`${row("codex")} .ag-st`).textContent(), (await tr(plain)).replace("{agent}", "Codex"));
|
||||
const wide = await page.evaluate(() => document.scrollingElement.scrollWidth - document.scrollingElement.clientWidth);
|
||||
@@ -82,7 +85,7 @@ for (const engine of (process.env.BROWSER ? [process.env.BROWSER] : ["chromium",
|
||||
await page.locator(`${row("claude-desktop")} .ag-link`, { hasText: details[lang] }).click();
|
||||
const exp = page.locator(`${row("claude-desktop")} .ag-exp`);
|
||||
await exp.waitFor();
|
||||
assert.ok((await exp.textContent()).includes(await tr(once)), await exp.textContent());
|
||||
assert.ok((await exp.textContent()).includes((await tr(once)) + " " + (await tr(resume))), await exp.textContent());
|
||||
assert.deepEqual(errors, []);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user