Skip to content

Every agent's model. One place. Codex on DeepSeek, Claude Code on Kimi, from the menu bar.

agent: dsh's desktop app is DeepSeek's own DeepSeek Harness; the community DeepSeek Hermes is not it

yetone34f9686bd238
diff --git a/docs/subsystems/agent-wiring.md b/docs/subsystems/agent-wiring.md
index 83c3b2c1c..06654089a 100644
--- a/docs/subsystems/agent-wiring.md
+++ b/docs/subsystems/agent-wiring.md
@@ -61,7 +61,7 @@ something else shows up as drift.
- dsh (DeepSeek Harness) sets one API per llm-pi-ai route, so magpie writes a route per protocol (`dshKinds` in [`dsh.go`](../../internal/agent/dsh.go); 01huadalang on Discord): `magpie` (Chat Completions) for most models, `magpie-responses` (`openai-responses`) for a model served on Responses, `magpie-anthropic` (`anthropic-messages`, the gateway root, `forceAdaptiveThinking` where `AdaptiveThinking`) for one served on Messages, by the model's `APIs` (`dshRouteOf`). A model's `APIs` is the one its provider serves it on best (`Provider.Native`, in `magpieModels`, [`route.go`](../../internal/agent/route.go)), and Pi, omp and droid read it the same way. A routing group has `responses` when every member is best on Responses (`allResponses`, #1594), so its tool-call arguments are relayed as they stream; any other group has none and stays on Chat, a Messages-only group too, as a Claude member's thinking is known by its own model. A route with no models is taken out. An api the user picked for a route in dsh's Models page is kept, and so are keys they added there. The start (`agent-default-model`) names its model's route, and Sync moves a start on one of magpie's routes to the route its model is now on (`dshStartOnItsRoute`), its effort and marks kept. Check asks the route the start names to list its model. A dsh session resumed on a model that has since moved routes asks for the model to be picked again, since dsh finds a model by route and id.
- dsh takes a model's listed `maxTokens` as every request's output and reserves it, with 65536 of headroom, out of `contextWindow` before deciding when to compact (compaction-basic's `resolveCompactSpec`: the smaller of 80% of the window and window − maxTokens − 65536). A vendor's reply limit near its window had dsh compact at 41248 of a 500000 group (#2823) or fail with no budget (524288/524288, LoKi on Discord; 131072/65536), so magpie lists it held to what leaves dsh half the window to compact in (window/2 − 65536), or to a quarter of the window where that is more (every window under 262144, as VS Code and Copilot in JetBrains hold it), on every route and in the older `llm-deepseek` entry (`dshMaxTokens`). A quarter alone cut DeepSeek's 393216 on its 1000000 window to 250000 (#3298); now it keeps all of it and dsh compacts at 541248, while 500000/393216 is held to 184464 and compacts at 250000. A Max output the user set stays as they set it (`outputOr`), even one that leaves dsh no budget. `TestDshOutputLeavesCompactionRoom`.
- While magpie serves, `KeepDshWired` writes the routes again every 30 seconds, since dsh writes over its patch list. A round that writes nothing is kept (`dshRounds`), and the next round does nothing when nothing it reads has changed since. It checks the bytes of dsh's files (every profile's `cordis.patch.yml`, the home layer, `settings.yaml`, `.env`, `.credentials.yaml`, `config.yaml`) and the gateway's address. It also checks `provider.StampNow`: no Changed, plugin change or `filememo.Forget`, the same environment, and the providers', settings' and catalog's files unchanged. The models are built again when that stamp moves, and at least every `dshModelsFor` (5 minutes) for what no stamp sees, such as another app's account file or a date-retired model. Building the whole catalog and every route each round allocated 12 GB of a user's 35.7 GB in 48 minutes (`TestDshRoundWithNothingChangedBuildsNothing`, `TestDshRoundAfterAChangeWritesAgain`).
-- DeepSeek Harness Desktop (macOS arm64 and Windows x64; no Linux build) reads the same `$DSH_HOME` or `~/.dsh` as the CLI, as its own profile `profiles/desktop` (`resolveDshHome` and `resolveDesktopPaths` in the app's `lib/main.js`), so it takes magpie's routes with no wiring of its own (#2279, liangjinyuan-sihan). It is found by `/Applications/DeepSeek Harness.app`, by `%LOCALAPPDATA%\Programs\DeepSeek Harness`, or by the folder its current-user installer records under `HKCU\Software\1bf39983-50d0-5fe0-9ef4-cece76f67c5e` (`InstallLocation`), whose Uninstall key gives the version (`registered` in [`desktopapp.go`](../../internal/agent/desktopapp.go)), so a user who picked another folder is found. With the app installed but never opened there is no `~/.dsh`: the row is still listed, and connecting writes `profiles/desktop/cordis.patch.yml` from dsh's own template (`dshProfileTemplate`) with magpie's routes, which the app keeps on its first start, since it writes only the files that are missing. The notice says the app starts on it the first time it opens (`noticeDsh5`). Disconnect before that first start removes the profile magpie made when nothing else is in it (`dshTidyUnopened`); once the app has opened it, the profile stays and only magpie's entries go (`TestDshDesktopNeverOpened`, `TestDshDesktopRegisteredFolder`).
+- DeepSeek Harness Desktop (macOS arm64 and Windows x64; no Linux build) reads the same `$DSH_HOME` or `~/.dsh` as the CLI, as its own profile `profiles/desktop` (`resolveDshHome` and `resolveDesktopPaths` in the app's `lib/main.js`; `defaultDshHome` in github.com/deepseek-ai/deepseek-harness's `packages/util/home-paths/src/index.ts` and `apps/desktop/src/paths.ts`), so it takes magpie's routes with no wiring of its own (#2279, liangjinyuan-sihan). Only that app, from deepseek-ai/deepseek-harness (bundle id `com.deepseek.dsh`, productName DeepSeek Harness in `apps/desktop/scripts/electron-builder-config.mjs`), is dsh's: the community "DeepSeek Hermes" (motongv/deepseek-hermes-desktop) v0.1.1337 took for it is not listed or written for (WuSix on Discord, `TestDshOnlyTheOfficialApp`). It is found by `/Applications/DeepSeek Harness.app`, by `%LOCALAPPDATA%\Programs\DeepSeek Harness`, or by the folder its current-user installer records under `HKCU\Software\1bf39983-50d0-5fe0-9ef4-cece76f67c5e` (`InstallLocation`), whose Uninstall key gives the version (`registered` in [`desktopapp.go`](../../internal/agent/desktopapp.go)), so a user who picked another folder is found. With the app installed but never opened there is no `~/.dsh`: the row is still listed, and connecting writes `profiles/desktop/cordis.patch.yml` from dsh's own template (`dshProfileTemplate`) with magpie's routes, which the app keeps on its first start, since it writes only the files that are missing. The notice says the app starts on it the first time it opens (`noticeDsh5`). Disconnect before that first start removes the profile magpie made when nothing else is in it (`dshTidyUnopened`); once the app has opened it, the profile stays and only magpie's entries go (`TestDshDesktopNeverOpened`, `TestDshDesktopRegisteredFolder`; the registry as 0.2.1-rc.2's installer writes it, `TestDshWindowsAsTheInstallerRegistersIt`).
- Ante's `catalog.json` keeps user-added fields in `providers.magpie` the same way (`ante` in [`ante.go`](../../internal/agent/ante.go)); its `auth`, `http_headers`, `extra_body` and `stream_idle_timeout_secs` are what a gateway shared on the local network or reached from WSL needs to send a key. Ante starts a session on the `provider` and `model` of `settings.json`, not on what its catalog holds (#1210), so magpie sets that pair and puts back what it found there; a pick the user makes in Ante while magpie is wired is theirs and stands.
- AstrBot keeps its providers in `data/cmd_config.json` under its root (`$ASTRBOT_ROOT`, else `~/.astrbot`, the desktop app's, else `~/astrbot`), written with a UTF-8 BOM, which magpie keeps (`astrbot` in [`astrbot.go`](../../internal/agent/astrbot.go)). magpie adds a `magpie` entry to `provider_sources` and one `magpie/<model>` entry per model to `provider`, keeps the user's own entries byte for byte and keeps what the user changes in magpie's (timeout, proxy, enable), and sets the default chat model (`agent_runner.config.model.provider_id`, or `provider_settings.default_provider_id` before the agent runner), putting back what it found there. A pick the user makes while magpie is wired is theirs and stands. The first connect copies the file to `cmd_config.json.before-magpie`. AstrBot reads the file only at start-up and its WebUI writes it back whole on save, so the agent's notice says to restart AstrBot before saving in the WebUI. A Docker install's root is inside its container, which magpie doesn't reach.
- jcode keeps its settings in `config.toml` in `$JCODE_HOME`, else `~/.jcode` (`jcode` in [`jcode.go`](../../internal/agent/jcode.go)). magpie adds a named profile, `[providers.magpie]`, as `jcode provider add` writes one: `type = "openai-compatible"`, the gateway's `/v1`, an inline `api_key` naming jcode (jcode sends nothing else that tells it apart) and `requires_api_key = true`, since jcode sends no key to a loopback URL without it. Its `models` list has one entry per model, with `context_window`, `input` and `reasoning` for a model with effort levels. A `reasoning_effort` the user set on one stays while the model has that level. The model jcode starts on is `[provider] default_provider = "magpie"` and `default_model`. What was there is stashed and put back on Disconnect. A model of jcode's own picked while it is on magpie takes magpie out. Each key is set alone, so the user's other keys and tables stay, and the `[[providers.magpie.models]]` tables jcode writes when it saves the file itself are replaced by the one list. A sync with nothing to change doesn't write. Disconnect drops the profile whole, its sub-tables included. jcode reads the file when it starts, so the notice says to restart open sessions.
diff --git a/internal/agent/dsh.go b/internal/agent/dsh.go
index 20739dabe..d1907bb82 100644
--- a/internal/agent/dsh.go
+++ b/internal/agent/dsh.go
@@ -92,26 +92,13 @@ func dshAt(at place) *Agent {
if dir == "" {
dir = filepath.Join(at.home, ".dsh")
}
- // DeepSeek Harness Desktop and DeepSeek Hermes, on this machine (a
- // distro has neither)
- harness := func() bool { return at.spell == nil && (&Agent{ID: "dsh"}).HasApp() }
- hermes := func() bool { return at.spell == nil && dshHermes.installed() }
- desktop := func() bool { return harness() || hermes() }
- // the profile an app installed and never opened starts on
- appFile := func() string {
- if harness() {
- return dshDesktopFile(dir)
- }
- return dshWebFile(dir)
- }
- // dsh's own key store is written unless DeepSeek Hermes is the app
- // here: its dsh can't start on the store's layout (dshHermes)
- store := func() bool { return !hermes() || harness() }
+ // DeepSeek Harness Desktop, on this machine (a distro has none)
+ desktop := func() bool { return at.spell == nil && (&Agent{ID: "dsh"}).HasApp() }
path := filepath.Join(dir, "config.yaml")
if files := dshProfiles(dir); len(files) > 0 {
path = files[0]
} else if desktop() {
- path = appFile()
+ path = dshDesktopFile(dir)
}
return &Agent{
ID: "dsh", Name: "DeepSeek Harness", Icon: "deepseek-color", Aliases: []string{"deepseek-harness"}, Spelled: prefixed,
@@ -119,22 +106,18 @@ func dshAt(at place) *Agent {
Bin: "dsh", Dir: dir, Path: path,
// the desktop app installed and not opened yet has no ~/.dsh (#2279)
sign: desktop,
- Sync: func() error { return dshSync(dir, gw(), store()) },
+ Sync: func() error { return dshSync(dir, gw()) },
Notice: func() string {
var notes []string
- if desktop() && dshUnopened(appFile()) {
+ if desktop() && dshUnopened(dir) {
// nothing of dsh's runs on it yet to be restarted
- if harness() {
- notes = append(notes, noticeDsh5.String())
- } else {
- notes = append(notes, noticeDsh6.String())
- }
+ notes = append(notes, noticeDsh5.String())
} else if len(dshProfiles(dir)) > 0 {
// a session dsh already has keeps the model it was on,
// running or not: agent-default-model is read for new
// ones only (#2359)
notes = append(notes, noticeDsh1.String())
- } else if Running(`DeepSeek Harness\.app/`, `DeepSeek Hermes\.app/`, `(^|/)dsh( |$)`) {
+ } else if Running(`DeepSeek Harness\.app/`, `(^|/)dsh( |$)`) {
notes = append(notes, noticeDsh2.String())
}
if dshSearchesHere(dir) && !gateway.CanSearch() {
@@ -146,7 +129,7 @@ func dshAt(at place) *Agent {
}
return strings.Join(notes, " ")
},
- Check: func() string { return dshCheck(dir, gw(), store()) },
+ Check: func() string { return dshCheck(dir, gw()) },
// a model of DeepSeek's own picked in dsh (saved in its settings)
// leaves magpie's route in its list: dsh is still connected, its
// /model has magpie's models beside DeepSeek's (Fate on Discord:
@@ -178,7 +161,7 @@ func dshAt(at place) *Agent {
if err := dshMirrorHome(dir, nil, gw(), true); err != nil {
return err
}
- return dshEnv(dir, gw(), false, false, store())
+ return dshEnv(dir, gw(), false, false)
},
// what magpie made for a desktop app never opened goes (#2279)
Restore: func() error { return dshTidyUnopened(dir) },
@@ -189,11 +172,11 @@ func dshAt(at place) *Agent {
// the desktop app not opened yet: its profile is made as
// it makes it, and it keeps the patch list it finds (#2279)
if v != "" && len(dshProfiles(dir)) == 0 && desktop() {
- if err := dshMakeProfile(appFile()); err != nil {
+ if err := dshMakeDesktop(dir); err != nil {
return err
}
}
- return dshSet(dir, v, gw(), store())
+ return dshSet(dir, v, gw())
},
Options: func(map[string]string) []Option {
own := append([]Option{}, dshModels...)
@@ -256,65 +239,16 @@ func dshDesktopFile(dir string) string {
return filepath.Join(dir, "profiles", "desktop", "cordis.patch.yml")
}
-// dshWebFile is the web profile's patch list, the one `dsh web` boots and
-// so DeepSeek Hermes (dshHermes).
-func dshWebFile(dir string) string {
- return filepath.Join(dir, "profiles", "web", "cordis.patch.yml")
-}
-
-// dshHermes is DeepSeek Hermes (github.com/motongv/deepseek-hermes-desktop,
-// 1.0.0), a community desktop app that is DeepSeek Harness's web UI in a
-// window, not Nous Research's Hermes Agent (WuSix on Discord: magpie's
-// Agents page didn't find it). It starts `dsh web` from the dsh 0.1.0-rc.6
-// it bundles (resources/runtime/dsh; `npx @deepseek-ai/dsh web` without
-// it), on $DSH_HOME or ~/.dsh, so it reads the web profile's patch list as
-// the CLI does and loads ~/.dsh/.env, where magpie's key is. That dsh reads
-// only the pre-release flat layout of its key store: on the version 1
-// store magpie makes for DeepSeek Harness Desktop (#969) it fails to start
-// ("the value for "version" … must be a string"), so with this app the
-// key goes in .env alone. electron-builder makes it a per-user NSIS
-// install whose folder can be changed, under HKCU\Software\<guid>, the
-// guid a UUID v5 of its appId as dsh's is (1bf39983-… for com.deepseek.dsh
-// checks out the same way). It has no Linux build.
-var dshHermes = desktopApp{id: "com.deepseek.hermes.desktop", names: []string{"DeepSeek Hermes.app"}, win: filepath.Join("DeepSeek Hermes", "DeepSeek Hermes.exe"), guid: "df9f5892-ad1c-5623-a260-30fb0acc7e55"}
-
-// dshDropOwnStore takes out dsh's key store where it holds nothing but
-// magpie's key, as magpie made it: the dsh DeepSeek Hermes runs can't start
-// on it, and .env has the key. A store holding anything of the user's
-// stays.
-func dshDropOwnStore(dir string) error {
- creds := filepath.Join(dir, ".credentials.yaml")
- raw, err := os.ReadFile(creds)
- if err != nil {
- return nil
- }
- var doc map[string]any
- if yaml.Unmarshal(raw, &doc) != nil || len(doc) != 2 || doc["version"] != 1 {
- return nil
- }
- refs, ok := doc["refs"].(map[string]any)
- if !ok || len(refs) == 0 {
- return nil
- }
- for k, v := range refs {
- s, ok := v.(string)
- if !ok || (k != dshKeyRef && k != dshOldKeyRef) || !ourKey(s) {
- return nil
- }
- }
- return os.Remove(creds)
-}
-
-// dshMakeProfile makes the patch list f of an app's profile, as dsh's
-// template, for an app installed and never opened (#2279,
-// liangjinyuan-sihan): with no profile at all magpie had nowhere to write,
-// and DeepSeek Harness Desktop has no ~/.dsh until its first start, nor
-// has DeepSeek Hermes. dsh's initProfile writes each of a profile's files
-// only where it is missing ("Existing files are never touched"), so on its
-// first start the app adds its package.json and pnpm-workspace.yaml beside
-// this one and keeps magpie's entries. The folder is owner-only, as the
-// app makes it.
-func dshMakeProfile(f string) error {
+// dshMakeDesktop makes the desktop app's patch list, as dsh's template,
+// for an app installed and never opened (#2279, liangjinyuan-sihan): with
+// no profile at all magpie had nowhere to write, and DeepSeek Harness
+// Desktop has no ~/.dsh until its first start. The app's initProfile
+// writes each of a profile's files only where it is missing ("Existing
+// files are never touched"), so on its first start it adds its
+// package.json and pnpm-workspace.yaml beside this one and keeps
+// magpie's entries. The folder is owner-only, as the app makes it.
+func dshMakeDesktop(dir string) error {
+ f := dshDesktopFile(dir)
if err := os.MkdirAll(filepath.Dir(f), 0o700); err != nil {
return err
}
@@ -324,10 +258,11 @@ func dshMakeProfile(f string) error {
return os.WriteFile(f, []byte(dshProfileTemplate), 0o644)
}
-// dshUnopened says the app's profile with patch list f is one magpie made
-// and the app hasn't started on yet: it has no package.json, which the
-// app's first start writes.
-func dshUnopened(f string) bool {
+// dshUnopened says the desktop app's profile is one magpie made and the
+// app hasn't started on yet: it has no package.json, which the app's first
+// start writes.
+func dshUnopened(dir string) bool {
+ f := dshDesktopFile(dir)
if !isFile(f) {
return false
}
@@ -335,22 +270,13 @@ func dshUnopened(f string) bool {
return errors.Is(err, os.ErrNotExist)
}
-// dshTidyUnopened takes out, on Disconnect, what magpie made for an app
-// never opened since (DeepSeek Harness Desktop's profile or DeepSeek
-// Hermes'): the profile's patch list back to dsh's template
+// dshTidyUnopened takes out, on Disconnect, what magpie made for a desktop
+// app never opened since: the profile's patch list back to dsh's template
// with nothing beside it, and the folders that leaves empty. A patch list
// holding anything else, or a profile the app has started on, stays.
func dshTidyUnopened(dir string) error {
- for _, f := range []string{dshDesktopFile(dir), dshWebFile(dir)} {
- if err := dshTidyProfile(dir, f); err != nil {
- return err
- }
- }
- return nil
-}
-
-func dshTidyProfile(dir, f string) error {
- if !dshUnopened(f) {
+ f := dshDesktopFile(dir)
+ if !dshUnopened(dir) {
return nil
}
b, err := os.ReadFile(f)
@@ -831,9 +757,8 @@ func dshGetLegacy(path string) string {
// the gateway: magpie's route (its llm-deepseek entry before 0.1.5) pointed
// elsewhere, the model it starts on one the route doesn't list, or — since
// 0.1.5 — the key it names gone from .env, or another key under that name in
-// dsh's own store, which it reads first; with store false (dshHermes) only
-// a key there that isn't magpie's is said.
-func dshCheck(dir, gw string, store bool) string {
+// dsh's own store, which it reads first.
+func dshCheck(dir, gw string) string {
if !usesMagpie(dshGet(dir)) {
return ""
}
@@ -963,7 +888,7 @@ func dshCheck(dir, gw string, store bool) string {
return "DeepSeek Harness's own key store (" + creds + ") holds another " + dshKeyRef + ", which it uses over magpie's; remove it there (dsh's Models page, Magpie's key) to go through magpie"
}
return "DeepSeek Harness's own key store (" + creds + ") holds another " + dshKeyRef + ", which it uses over magpie's and this magpie refuses; Apply again puts magpie's key there (Disconnect puts this one back)"
- } else if !ok && store && dshCredsOurs(creds) {
+ } else if !ok && dshCredsOurs(creds) {
// the desktop app doesn't read .env (#969)
return "DeepSeek Harness's own key store (" + creds + ") doesn't hold " + dshKeyRef + ": the desktop app reads the key from there, not from .env, and its sessions fail with no credential for provider route " + dshRoute + " until it is written (Apply again)"
}
@@ -1011,8 +936,7 @@ var dshWrites sync.Mutex
// dshSet writes v as the model new sessions start on: a catalog model
// through the gateway, one of dsh's own models directly, or "" for dsh's own
// default. Every profile gets it; config.yaml only where there are none.
-// store says dsh's own key store is written too (dshEnv).
-func dshSet(dir, v, gw string, store bool) error {
+func dshSet(dir, v, gw string) error {
dshWrites.Lock()
defer dshWrites.Unlock()
ref, viaGateway := strings.CutPrefix(v, magpieID+"/")
@@ -1039,7 +963,7 @@ func dshSet(dir, v, gw string, store bool) error {
return err
}
}
- if err := dshEnv(dir, gw, viaGateway, true, store); err != nil {
+ if err := dshEnv(dir, gw, viaGateway, true); err != nil {
return err
}
// a model picked in dsh 0.1.x is saved in its settings and goes over
@@ -1082,14 +1006,9 @@ func dshKeepPick(f string) error {
// dshEnv puts the key for the gateway in $DSH_HOME/.env and dsh's own key
// store, or with on false takes it out; the name magpie's llm-deepseek entry
-// used goes either way. With store false the key goes in .env alone, and a
-// key store holding nothing but magpie's key goes (dshHermes).
-func dshEnv(dir, gw string, on, take, store bool) error {
- if on && !store {
- if err := dshDropOwnStore(dir); err != nil {
- return err
- }
- } else if err := dshCreds(dir, gw, on, take); err != nil {
+// used goes either way.
+func dshEnv(dir, gw string, on, take bool) error {
+ if err := dshCreds(dir, gw, on, take); err != nil {
return err
}
env := filepath.Join(dir, ".env")
@@ -1765,8 +1684,8 @@ func dshRouteLines(model string) []string {
// dshSync puts the catalog as it is now into magpie's route (its
// llm-deepseek entry before 0.1.5), in every patch list that has it; a
// profile still on dsh's DeepSeek row taken over moves to the route.
-// Nothing else in the patch lists changes. store is as dshSet's.
-func dshSync(dir, gw string, store bool) error {
+// Nothing else in the patch lists changes.
+func dshSync(dir, gw string) error {
dshWrites.Lock()
defer dshWrites.Unlock()
models := magpieModels("dsh")
@@ -1777,7 +1696,7 @@ func dshSync(dir, gw string, store bool) error {
defer func() {
// the key under the name the route gives it, moved from the old one
if _, items, err := dshRead(files[0]); err == nil && dshWired(items) {
- dshEnv(dir, gw, true, false, store)
+ dshEnv(dir, gw, true, false)
}
}()
for _, f := range files {
@@ -2396,7 +2315,6 @@ var (
noticeDsh3 = newNotice("dsh's web search goes through magpie, which has nothing to search with yet: set up a provider that searches by itself (DeepSeek, Claude, Codex, …) or a search API under Settings › Web search.")
noticeDsh4 = newNotice("~/.dsh/settings.yaml sets its own DeepSeek endpoint or key, which dsh puts over magpie's; clear it in dsh's Models page to go through magpie.")
noticeDsh5 = newNotice("DeepSeek Harness Desktop hasn't been opened yet: it starts on this the first time it opens.")
- noticeDsh6 = newNotice("DeepSeek Hermes hasn't been opened yet: it starts on this the first time it opens.")
)
// dshDocStart says whether l is YAML's document start marker, "---" at the
diff --git a/internal/agent/dsh_hermes_test.go b/internal/agent/dsh_hermes_test.go
deleted file mode 100644
index 2d6132264..000000000
--- a/internal/agent/dsh_hermes_test.go
+++ /dev/null
@@ -1,203 +0,0 @@
-package agent
-
-import (
- "os"
- "path/filepath"
- "strings"
- "testing"
-
- "github.com/yetone/magpie/internal/edit"
- "github.com/yetone/magpie/internal/gateway"
-)
-
-// dshHermesPlist is DeepSeek Hermes' Info.plist as its 1.0.0 macOS build
-// ships it (DeepSeek.Hermes-1.0.0-arm64-mac.zip on
-// github.com/motongv/deepseek-hermes-desktop's releases), cut to the keys
-// around the ones read, in their order and indentation.
-const dshHermesPlist = `<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
- <dict>
- <key>CFBundleDisplayName</key>
- <string>DeepSeek Hermes</string>
- <key>CFBundleExecutable</key>
- <string>DeepSeek Hermes</string>
- <key>CFBundleIconFile</key>
- <string>icon.icns</string>
- <key>CFBundleIdentifier</key>
- <string>com.deepseek.hermes.desktop</string>
- <key>CFBundleInfoDictionaryVersion</key>
- <string>6.0</string>
- <key>CFBundleName</key>
- <string>DeepSeek Hermes</string>
- <key>CFBundlePackageType</key>
- <string>APPL</string>
- <key>CFBundleShortVersionString</key>
- <string>1.0.0</string>
- <key>CFBundleVersion</key>
- <string>1.0.0</string>
- </dict>
-</plist>`
-
-// dshHermesHome is a home with no dsh CLI and no app, apps the folder an
-// app is installed into.
-func dshHermesHome(t *testing.T) (home, dir, apps string) {
- t.Helper()
- home, dir, _ = dshRouteHome(t)
- if err := os.RemoveAll(dir); err != nil {
- t.Fatal(err)
- }
- t.Setenv("PATH", t.TempDir()) // no dsh CLI
- apps = t.TempDir()
- was, wasReg := appFolders, windowsRegisteredApp
- appFolders = func() []string { return []string{apps} }
- windowsRegisteredApp = func(string) (string, string) { return "", "" }
- t.Cleanup(func() { appFolders, windowsRegisteredApp = was, wasReg })
- return home, dir, apps
-}
-
-// WuSix on Discord: magpie's Agents page didn't find DeepSeek Hermes, so
-// its models were added in the app by hand. DeepSeek Hermes is DeepSeek
-// Harness's web UI in a window (dsh 0.1.0-rc.6 bundled, ~/.dsh), so it is
-// the dsh row: found installed and never opened, and opened with no dsh
-// CLI it is no leftover ~/.dsh (it was 未找到 CLI, its settings hidden).
-func TestDshHermesFound(t *testing.T) {
- judgeFor(t, "darwin")
- home, dir, apps := dshHermesHome(t)
- if dsh(home).Detected() {
- t.Fatal("neither app nor CLI, yet detected")
- }
- installApp(t, apps, "DeepSeek Hermes.app", dshHermesPlist)
- a := dsh(home)
- a.Bin = "magpie-test-gone-dsh"
- if !a.Detected() || a.CLIMissing() {
- t.Fatalf("DeepSeek Hermes never opened: detected %v, CLI missing %v", a.Detected(), a.CLIMissing())
- }
- // its profile is web's: it runs `dsh web`
- if web := filepath.Join(dir, "profiles", "web", "cordis.patch.yml"); a.Path != web {
- t.Fatalf("names %s, not the web profile", a.Path)
- }
-
- // opened: dsh's initProfile made the web profile
- web := filepath.Join(dir, "profiles", "web")
- writeT(t, filepath.Join(web, "cordis.patch.yml"), dshDesktopPatch)
- writeT(t, filepath.Join(web, "package.json"), "{}\n")
- a = dsh(home)
- a.Bin = "magpie-test-gone-dsh"
- if !a.Detected() || a.CLIMissing() {
- t.Fatalf("DeepSeek Hermes opened: detected %v, CLI missing %v", a.Detected(), a.CLIMissing())
- }
-
- // another app under that name is not it
- os.RemoveAll(filepath.Join(apps, "DeepSeek Hermes.app"))
- installApp(t, apps, "DeepSeek Hermes.app", strings.Replace(dshHermesPlist, "com.deepseek.hermes.desktop", "com.example.other", 1))
- if !a.CLIMissing() {
- t.Fatal("another bundle id taken for DeepSeek Hermes")
- }
-}
-
-// On Windows DeepSeek Hermes' installer (electron-builder's NSIS, read from
-// DeepSeek.Hermes.Setup.1.0.0.exe) puts DeepSeek Hermes.exe under
-// %LOCALAPPDATA%\Programs\DeepSeek Hermes, or a folder the user picks,
-// registered under HKCU\Software\df9f5892-…'s InstallLocation.
-func TestDshHermesWindows(t *testing.T) {
- home, _, apps := dshHermesHome(t)
- picked := t.TempDir()
- reg := map[string][2]string{}
- windowsRegisteredApp = func(guid string) (string, string) { r := reg[guid]; return r[0], r[1] }
- if dsh(home).Detected() {
- t.Fatal("nothing installed, yet detected")
- }
- writeT(t, filepath.Join(apps, "DeepSeek Hermes", "DeepSeek Hermes.exe"), "MZ")
- if !dsh(home).Detected() {
- t.Fatal("DeepSeek Hermes under Programs not found")
- }
- os.RemoveAll(filepath.Join(apps, "DeepSeek Hermes"))
- reg["df9f5892-ad1c-5623-a260-30fb0acc7e55"] = [2]string{picked, "1.0.0"}
- if dsh(home).Detected() {
- t.Fatal("a registered folder without the app taken for it")
- }
- writeT(t, filepath.Join(picked, "DeepSeek Hermes.exe"), "MZ")
- if !dsh(home).Detected() {
- t.Fatal("DeepSeek Hermes in its registered folder not found")
- }
-}
-
-// Picking a model of magpie's with DeepSeek Hermes installed and never
-// opened writes the web profile it will start on, and the key in .env
-// alone: the dsh it bundles (0.1.0-rc.6) refuses to start on the version 1
-// key store magpie makes for DeepSeek Harness Desktop ("the value for
-// "version" … must be a string"), and reads .env. A store magpie made
-// before goes; one with the user's keys stays.
-func TestDshHermesWired(t *testing.T) {
- home, dir, apps := dshHermesHome(t)
- installApp(t, apps, "DeepSeek Hermes.app", dshHermesPlist)
- web := filepath.Join(dir, "profiles", "web", "cordis.patch.yml")
- creds := filepath.Join(dir, ".credentials.yaml")
- read := func(p string) string { b, _ := os.ReadFile(p); return string(b) }
-
- a := dsh(home)
- if err := a.Pick("model", "magpie/deepseek/flash"); err != nil {
- t.Fatal(err)
- }
- s := read(web)
- if !strings.HasPrefix(s, strings.TrimSuffix(dshDesktopPatch, "[]\n")) || !strings.Contains(s, "apiKeyEnv: "+dshKeyRef) || !strings.Contains(s, "provider: "+dshRoute) {
- t.Fatalf("the web profile magpie made:\n%s", s)
- }
- if isFile(dshDesktopFile(dir)) {
- t.Fatal("made DeepSeek Harness Desktop's profile, which DeepSeek Hermes doesn't read")
- }
- if isFile(creds) {
- t.Fatalf("wrote dsh's key store, which DeepSeek Hermes' dsh can't start on:\n%s", read(creds))
- }
- if v, _ := edit.GetEnvFile(filepath.Join(dir, ".env"), dshKeyRef); v != keyAt(gateway.URL()) {
- t.Fatal("no key in .env")
- }
- a = dsh(home)
- if !a.Wired() || a.Check() != "" {
- t.Fatalf("not wired: wired %v, check %q", a.Wired(), a.Check())
- }
- if n := a.Notice(); !strings.Contains(n, noticeDsh6.String()) || strings.Contains(n, "Harness Desktop") {
- t.Fatalf("notice: %q", n)
- }
-
- // a store magpie made before, with nothing but its key: it goes
- writeT(t, creds, "version: 1\nrefs:\n "+dshKeyRef+": "+keyAt(gateway.URL())+"\n")
- if err := a.Pick("model", "magpie/deepseek/pro"); err != nil {
- t.Fatal(err)
- }
- if isFile(creds) {
- t.Fatalf("magpie's own key store outlived a pick:\n%s", read(creds))
- }
- // the user's own keys there stay
- own := "version: 1\nrefs:\n MINE_API_KEY: sk-mine\n " + dshKeyRef + ": " + keyAt(gateway.URL()) + "\n"
- writeT(t, creds, own)
- if err := a.Pick("model", "magpie/deepseek/flash"); err != nil {
- t.Fatal(err)
- }
- if read(creds) != own {
- t.Fatalf("the user's key store changed:\n%s", read(creds))
- }
- os.Remove(creds)
-
- // Disconnect before the app ever opened: what magpie made goes
- if err := a.Disconnect(); err != nil {
- t.Fatal(err)
- }
- if _, err := os.Stat(filepath.Join(dir, "profiles")); !os.IsNotExist(err) {
- t.Fatalf("the profile magpie made outlived Disconnect: %v\n%s", err, read(web))
- }
-
- // with DeepSeek Harness Desktop here too, its profile and store as before
- installApp(t, apps, "DeepSeek Harness.app", dshAppPlist)
- a = dsh(home)
- if err := a.Pick("model", "magpie/deepseek/flash"); err != nil {
- t.Fatal(err)
- }
- if !isFile(dshDesktopFile(dir)) || !strings.Contains(read(creds), dshKeyRef+": ") {
- t.Fatalf("DeepSeek Harness Desktop's profile %v, store:\n%s", isFile(dshDesktopFile(dir)), read(creds))
- }
- if n := a.Notice(); !strings.Contains(n, noticeDsh5.String()) {
- t.Fatalf("notice with both apps: %q", n)
- }
-}
diff --git a/internal/agent/dsh_official_test.go b/internal/agent/dsh_official_test.go
new file mode 100644
index 000000000..98357ebd3
--- /dev/null
+++ b/internal/agent/dsh_official_test.go
@@ -0,0 +1,146 @@
+package agent
+
+import (
+ "os"
+ "path/filepath"
+ "strings"
+ "testing"
+
+ "github.com/google/uuid"
+)
+
+// dshOfficialPlist is the Info.plist of DeepSeek Harness 0.2.1-rc.2's macOS
+// build (deepseek-harness-0.2.1-rc.2-mac-arm64.zip, from
+// download.deepseek.com/dsh-desk/feeds/mac-arm64/nightly-mac.yml, sha512 as
+// the feed says, signed by team NAN929V4UM), cut to the keys around the
+// ones read. Its appId and productName are github.com/deepseek-ai/
+// deepseek-harness's apps/desktop/scripts/electron-builder-config.mjs.
+const dshOfficialPlist = `<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+ <dict>
+ <key>CFBundleDisplayName</key>
+ <string>DeepSeek Harness</string>
+ <key>CFBundleExecutable</key>
+ <string>DeepSeek Harness</string>
+ <key>CFBundleIdentifier</key>
+ <string>com.deepseek.dsh</string>
+ <key>CFBundleName</key>
+ <string>DeepSeek Harness</string>
+ <key>CFBundleShortVersionString</key>
+ <string>0.2.1-rc.2</string>
+ </dict>
+</plist>
+`
+
+// dshOfficialHome is a home with no dsh CLI, no ~/.dsh and no app, apps the
+// folder apps are installed into and reg what the Windows registry holds.
+func dshOfficialHome(t *testing.T) (home, dir, apps string, reg map[string][2]string) {
+ t.Helper()
+ home, dir, _ = dshRouteHome(t)
+ if err := os.RemoveAll(dir); err != nil {
+ t.Fatal(err)
+ }
+ t.Setenv("PATH", t.TempDir()) // no dsh CLI
+ apps = t.TempDir()
+ reg = map[string][2]string{}
+ was, wasReg := appFolders, windowsRegisteredApp
+ appFolders = func() []string { return []string{apps} }
+ windowsRegisteredApp = func(guid string) (string, string) { r := reg[guid]; return r[0], r[1] }
+ t.Cleanup(func() { appFolders, windowsRegisteredApp = was, wasReg })
+ return home, dir, apps, reg
+}
+
+// WuSix on Discord (Windows 11): DeepSeek's desktop app is
+// github.com/deepseek-ai/deepseek-harness's DeepSeek Harness, not the
+// community "DeepSeek Hermes" (motongv/deepseek-hermes-desktop) v0.1.1337
+// took it for. That one is not dsh's app: magpie doesn't list dsh for it,
+// nor write a profile or key for it. The official app still is.
+func TestDshOnlyTheOfficialApp(t *testing.T) {
+ judgeFor(t, "darwin")
+ home, dir, apps, reg := dshOfficialHome(t)
+ installApp(t, apps, "DeepSeek Hermes.app", strings.NewReplacer(
+ "com.deepseek.dsh", "com.deepseek.hermes.desktop",
+ "DeepSeek Harness", "DeepSeek Hermes",
+ "0.2.1-rc.2", "1.0.0").Replace(dshOfficialPlist))
+ writeT(t, filepath.Join(apps, "DeepSeek Hermes", "DeepSeek Hermes.exe"), "MZ")
+ picked := t.TempDir()
+ writeT(t, filepath.Join(picked, "DeepSeek Hermes.exe"), "MZ")
+ reg["df9f5892-ad1c-5623-a260-30fb0acc7e55"] = [2]string{picked, "1.0.0"}
+ if a := dsh(home); a.Detected() || a.HasApp() {
+ t.Fatalf("DeepSeek Hermes taken for DeepSeek Harness: detected %v, app %v", a.Detected(), a.HasApp())
+ }
+ if _, err := os.Stat(dir); !os.IsNotExist(err) {
+ t.Fatalf("~/.dsh made for DeepSeek Hermes: %v", err)
+ }
+
+ installApp(t, apps, "DeepSeek Harness.app", dshOfficialPlist)
+ a := dsh(home)
+ a.Bin = "magpie-test-gone-dsh"
+ if !a.Detected() || a.CLIMissing() || !a.HasApp() {
+ t.Fatalf("DeepSeek Harness 0.2.1-rc.2: detected %v, CLI missing %v, app %v", a.Detected(), a.CLIMissing(), a.HasApp())
+ }
+ if v := a.AppVersion(); v != "0.2.1-rc.2" {
+ t.Fatalf("app version %q", v)
+ }
+ if a.Name != "DeepSeek Harness" {
+ t.Fatalf("listed as %q", a.Name)
+ }
+ if want := filepath.Join(dir, "profiles", "desktop", "cordis.patch.yml"); a.Path != want {
+ t.Fatalf("names %s, not the desktop profile", a.Path)
+ }
+}
+
+// The registry as DeepSeek Harness 0.2.1-rc.2's Windows installer
+// (deepseek-harness-0.2.1-rc.2-win-x64.exe, run with /S on Windows 11
+// 26200) writes it, read back with Get-ItemProperty: HKCU only, the exe
+// straight in the folder. The key is electron-builder's GUID for the
+// appId, a UUID v5 of com.deepseek.dsh in its namespace.
+func TestDshWindowsAsTheInstallerRegistersIt(t *testing.T) {
+ const appID = "com.deepseek.dsh"
+ ns := uuid.MustParse("50e065bc-3134-11e6-9bab-38c9862bdaf3") // electron-builder's
+ guid := desktopApps["dsh"].guid
+ if got := uuid.NewSHA1(ns, []byte(appID)).String(); got != guid || guid != "1bf39983-50d0-5fe0-9ef4-cece76f67c5e" {
+ t.Fatalf("guid %s, the installer's %s", guid, got)
+ }
+ if desktopApps["dsh"].id != appID {
+ t.Fatalf("bundle id %s", desktopApps["dsh"].id)
+ }
+
+ at := `C:\Users\yeton\AppData\Local\Programs\DeepSeek Harness`
+ values := map[string]string{
+ `HKCU|Software\` + guid + `|InstallLocation`: at,
+ `HKCU|Software\` + guid + `|ShortcutName`: "DeepSeek Harness",
+ `HKCU|Software\Microsoft\Windows\CurrentVersion\Uninstall\` + guid + `|DisplayName`: "DeepSeek Harness 0.2.1-rc.2",
+ `HKCU|Software\Microsoft\Windows\CurrentVersion\Uninstall\` + guid + `|DisplayVersion`: "0.2.1-rc.2",
+ `HKCU|Software\Microsoft\Windows\CurrentVersion\Uninstall\` + guid + `|DisplayIcon`: at + `\DeepSeek Harness.exe,0`,
+ `HKCU|Software\Microsoft\Windows\CurrentVersion\Uninstall\` + guid + `|UninstallString`: `"` + at + `\Uninstall DeepSeek Harness.exe" /currentuser`,
+ `HKCU|Software\Microsoft\Windows\CurrentVersion\Uninstall\` + guid + `|InstallLocation`: at,
+ }
+ read := func(hive, key, name string) string { return values[hive+"|"+key+"|"+name] }
+ if dir, v := registeredIn(guid, read); dir != at || v != "0.2.1-rc.2" {
+ t.Fatalf("read %q %q", dir, v)
+ }
+ // with only the Uninstall entry's DisplayIcon left
+ for k := range values {
+ if !strings.HasSuffix(k, "|DisplayIcon") && !strings.HasSuffix(k, "|DisplayVersion") {
+ delete(values, k)
+ }
+ }
+ if dir, _ := registeredIn(guid, read); dir != at {
+ t.Fatalf("from DisplayIcon: %q", dir)
+ }
+
+ // a folder the user picked, as the installer lays it out
+ home, _, _, reg := dshOfficialHome(t)
+ picked := t.TempDir()
+ reg[guid] = [2]string{picked, "0.2.1-rc.2"}
+ if dsh(home).Detected() {
+ t.Fatal("a registered folder without the app taken for it")
+ }
+ writeT(t, filepath.Join(picked, "DeepSeek Harness.exe"), "MZ")
+ writeT(t, filepath.Join(picked, "Uninstall DeepSeek Harness.exe"), "MZ")
+ if a := dsh(home); !a.Detected() || !a.HasApp() {
+ t.Fatal("DeepSeek Harness in the registered folder not found")
+ }
+}
diff --git a/internal/agent/dsh_route_test.go b/internal/agent/dsh_route_test.go
index 280930182..538e5a342 100644
--- a/internal/agent/dsh_route_test.go
+++ b/internal/agent/dsh_route_test.go
@@ -387,7 +387,7 @@ func TestDshRouteAgainLeavesTheRouteWithNoCatalog(t *testing.T) {
if b, _ := os.ReadFile(web); string(b) != stale {
t.Fatalf("a route written with no catalog:\n%s", b)
}
- if err := dshSync(filepath.Join(home, ".dsh"), gateway.URL(), true); err != nil {
+ if err := dshSync(filepath.Join(home, ".dsh"), gateway.URL()); err != nil {
t.Fatal(err)
}
if b, _ := os.ReadFile(web); string(b) != stale {
@@ -450,7 +450,7 @@ func TestDshFillNewProfilesLeavesABareProfileWithNoCatalog(t *testing.T) {
"- id: agent-default-model\n config:\n provider: magpie\n model: deepseek/pro\n"), 0o644)
bare := "# A new profile.\n[]\n"
os.WriteFile(desktop, []byte(bare), 0o644)
- if err := dshSync(dir, gateway.URL(), true); err != nil {
+ if err := dshSync(dir, gateway.URL()); err != nil {
t.Fatal(err)
}
if b, _ := os.ReadFile(desktop); string(b) != bare {
@@ -467,7 +467,7 @@ func TestDshFillNewProfilesFillsABareProfile(t *testing.T) {
dshRouteFixture("deepseek/pro", "deepseek/flash")+
"- id: agent-default-model\n config:\n provider: magpie\n model: deepseek/flash\n"), 0o644)
os.WriteFile(desktop, []byte("# A new profile.\n[]\n"), 0o644)
- if err := dshSync(dir, gateway.URL(), true); err != nil {
+ if err := dshSync(dir, gateway.URL()); err != nil {
t.Fatal(err)
}
b, _ := os.ReadFile(desktop)
diff --git a/internal/gui/assets/i18n.js b/internal/gui/assets/i18n.js
index ad99d74a3..7fbcbbcc8 100644
--- a/internal/gui/assets/i18n.js
+++ b/internal/gui/assets/i18n.js
@@ -3721,7 +3721,6 @@ const I18N = {
"Muse Code reads its settings at start-up — restart open muse sessions to use this.": "Muse Code 启动时读取设置,需重启已打开的 muse 会话才会生效。",
"New dsh sessions start on this. A session made before keeps its model, open now or reopened later, until you pick another in it with /model or the model button by its message box. A dsh started with -p or in a terminal reads it at start-up.": "新的 dsh 会话会使用这项设置。之前建的会话,无论现在开着还是以后再打开,都保留原来的模型,直到你在其中用 /model 或输入框旁的模型按钮另选一个。用 -p 或在终端里启动的 dsh 在启动时读取它。",
"DeepSeek Harness Desktop hasn't been opened yet: it starts on this the first time it opens.": "DeepSeek Harness 桌面版还没打开过:第一次打开时就会使用这项设置。",
- "DeepSeek Hermes hasn't been opened yet: it starts on this the first time it opens.": "DeepSeek Hermes 还没打开过:第一次打开时就会使用这项设置。",
"OpenChamber takes the new model for new sessions; sessions already open keep theirs.": "OpenChamber 的新会话会使用新模型;已打开的会话保留原来的模型。",
"OpenChamber's project {project} has a default model of its own ({model}), which it uses there instead.": "OpenChamber 的项目 {project} 有自己的默认模型({model}),在该项目里会改用它。",
"OpenPencil reads its settings when it starts and writes them all back when it quits — quit OpenPencil before changing this, then open it and pick a magpie model in its chat's model picker.": "OpenPencil 启动时读取设置、退出时把设置全部写回 —— 请先退出 OpenPencil 再更改这里,然后打开它,在聊天的模型选择器中选一个 magpie 的模型。",
@@ -7600,7 +7599,6 @@ const I18N = {
"Muse Code reads its settings at start-up — restart open muse sessions to use this.": "Muse Code 啟動時讀取設定,需重啟已打開的 muse 會話才會生效。",
"New dsh sessions start on this. A session made before keeps its model, open now or reopened later, until you pick another in it with /model or the model button by its message box. A dsh started with -p or in a terminal reads it at start-up.": "新的 dsh 會話會使用這項設定。之前建立的會話,無論現在開著還是以後再打開,都保留原來的模型,直到你在其中用 /model 或輸入框旁的模型按鈕另選一個。用 -p 或在終端裡啟動的 dsh 在啟動時讀取它。",
"DeepSeek Harness Desktop hasn't been opened yet: it starts on this the first time it opens.": "DeepSeek Harness 桌面版還沒開啟過:第一次開啟時就會使用這項設定。",
- "DeepSeek Hermes hasn't been opened yet: it starts on this the first time it opens.": "DeepSeek Hermes 還沒開啟過:第一次開啟時就會使用這項設定。",
"OpenChamber takes the new model for new sessions; sessions already open keep theirs.": "OpenChamber 的新會話會使用新模型;已打開的會話保留原來的模型。",
"OpenChamber's project {project} has a default model of its own ({model}), which it uses there instead.": "OpenChamber 的專案 {project} 有自己的預設模型({model}),在該專案裡會改用它。",
"OpenPencil reads its settings when it starts and writes them all back when it quits — quit OpenPencil before changing this, then open it and pick a magpie model in its chat's model picker.": "OpenPencil 啟動時讀取設定、結束時把設定全部寫回 —— 請先結束 OpenPencil 再變更這裡,然後開啟它,在聊天的模型選擇器中選一個 magpie 的模型。",
@@ -11481,7 +11479,6 @@ const I18N = {
"Muse Code reads its settings at start-up — restart open muse sessions to use this.": "Muse Code は起動時に設定を読み込みます。反映するには開いている muse セッションを再起動してください。",
"New dsh sessions start on this. A session made before keeps its model, open now or reopened later, until you pick another in it with /model or the model button by its message box. A dsh started with -p or in a terminal reads it at start-up.": "新しい dsh セッションはこれで始まります。以前に作ったセッションは、今開いていても後で開き直しても、その中で /model か入力欄の横のモデルボタンで別のモデルを選ぶまで今のモデルのままです。-p 付きやターミナルで起動した dsh は起動時に読み込みます。",
"DeepSeek Harness Desktop hasn't been opened yet: it starts on this the first time it opens.": "DeepSeek Harness デスクトップ版はまだ一度も開かれていません。初めて開いたときからこの設定で始まります。",
- "DeepSeek Hermes hasn't been opened yet: it starts on this the first time it opens.": "DeepSeek Hermes はまだ一度も開かれていません。初めて開いたときからこの設定で始まります。",
"OpenChamber takes the new model for new sessions; sessions already open keep theirs.": "OpenChamber は新しいセッションで新しいモデルを使います。開いているセッションは今のモデルのままです。",
"OpenChamber's project {project} has a default model of its own ({model}), which it uses there instead.": "OpenChamber のプロジェクト {project} には独自のデフォルトモデル({model})があり、そこではそちらが使われます。",
"OpenPencil reads its settings when it starts and writes them all back when it quits — quit OpenPencil before changing this, then open it and pick a magpie model in its chat's model picker.": "OpenPencil は起動時に設定を読み込み、終了時に設定をすべて書き戻します。ここを変更する前に OpenPencil を終了し、その後開いてチャットのモデル選択で magpie のモデルを選んでください。",
@@ -15362,7 +15359,6 @@ const I18N = {
"Muse Code reads its settings at start-up — restart open muse sessions to use this.": "Muse Code liest seine Einstellungen beim Start – offene muse-Sitzungen neu starten, damit es gilt.",
"New dsh sessions start on this. A session made before keeps its model, open now or reopened later, until you pick another in it with /model or the model button by its message box. A dsh started with -p or in a terminal reads it at start-up.": "Neue dsh-Sitzungen starten damit. Eine vorher angelegte Sitzung behält ihr Modell, ob jetzt offen oder später wieder geöffnet, bis Sie darin mit /model oder der Modell-Schaltfläche neben dem Eingabefeld ein anderes wählen. Ein mit -p oder im Terminal gestartetes dsh liest es beim Start.",
"DeepSeek Harness Desktop hasn't been opened yet: it starts on this the first time it opens.": "DeepSeek Harness Desktop wurde noch nie geöffnet: Beim ersten Öffnen startet es mit dieser Einstellung.",
- "DeepSeek Hermes hasn't been opened yet: it starts on this the first time it opens.": "DeepSeek Hermes wurde noch nie geöffnet: Beim ersten Öffnen startet es mit dieser Einstellung.",
"OpenChamber takes the new model for new sessions; sessions already open keep theirs.": "OpenChamber nimmt das neue Modell für neue Sitzungen; bereits offene behalten ihres.",
"OpenChamber's project {project} has a default model of its own ({model}), which it uses there instead.": "Das OpenChamber-Projekt {project} hat ein eigenes Standardmodell ({model}), das dort stattdessen genutzt wird.",
"OpenPencil reads its settings when it starts and writes them all back when it quits — quit OpenPencil before changing this, then open it and pick a magpie model in its chat's model picker.": "OpenPencil liest seine Einstellungen beim Start und schreibt sie beim Beenden alle zurück – OpenPencil vor dieser Änderung beenden, dann öffnen und in der Modellauswahl seines Chats ein magpie-Modell wählen.",
@@ -15579,7 +15575,6 @@ const NOTICES = [
"Muse Code reads its settings at start-up — restart open muse sessions to use this.",
"New dsh sessions start on this. A session made before keeps its model, open now or reopened later, until you pick another in it with /model or the model button by its message box. A dsh started with -p or in a terminal reads it at start-up.",
"DeepSeek Harness Desktop hasn't been opened yet: it starts on this the first time it opens.",
- "DeepSeek Hermes hasn't been opened yet: it starts on this the first time it opens.",
"OpenChamber takes the new model for new sessions; sessions already open keep theirs.",
"OpenChamber's project {project} has a default model of its own ({model}), which it uses there instead.",
"OpenPencil reads its settings when it starts and writes them all back when it quits — quit OpenPencil before changing this, then open it and pick a magpie model in its chat's model picker.",