eloyhere/deepseek-coordination ↗★ 1
deepseek-coordination
提供多维度配置管理、模型工具与下拉菜单 适合需要精细化控制Harness底层参数、会话租约及多场景配置的进阶用户。
安装
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:eloyhere/deepseek-coordination说明文档
阅读完整 README ↗Settings and configuration
The settings page is driven by SETTINGS_CONTROLS in src/shared/selection.ts: 139 controls in 13 groups, 122 writable host rows, covering 155 config leaves. Twelve scene leaves (scenes.*.thinking, scenes.*.reasoningEffort) stay in the schema but have no row: DSH's model page owns reasoning, and duplicating it here would create two sources of truth. The 18 top-level config keys include database and databasePath, which are deliberately not projected or writable.
| Group | Defaults / scope | Write path |
|---|---|---|
session | maxTurnPerSession=1000, defaultLease=30000 ms, clarifyTimeout=30000 ms | Host rows through /config |
profession | enabled/lock/rebuild/abandon forced true; default mirrors defaults.profession; audit/errorHint true | Forced flags read-only; audit/errorHint host rows (audit has no consumer) |
plan | threshold 0.5, maxRebuild 3, 8 weights summing to 1, 8 dimension thresholds | Host rows; weights re-normalise on save |
orchestration | maxReject 2, maxSubTask 32, groundTruth true, timeout 5000 ms, shell ground truth false, modelRouting true | Host rows; groundTruthTimeout has no consumer |
cache | enabled true, ttl 60000 ms, fingerprintWindow 50, effortWarning true | Host rows; enabled/effortWarning gate the cache proxy decorator, ttl caches the model catalog, fingerprintWindow has no consumer |
bayesian | prior 0.5, stopEntropy 0.05, infoGain 0.01, maxRoutes 12, calibrationFloor 0.1 | Host rows; calibrationFloor has no consumer |
comprehension | stageTimeout 30000 ms, searchEnabled true, maxEvidence 8, highHistoryWindow 50 | Host rows |
compaction | auto true, soft 0.70, hard 0.88, reserve 2048, recentTurns 6, cooldown 30000 ms, maxPerSession 20 | auto/soft/hard host rows; structural fields read-only |
ui | toolbar true (deprecated alias), showTooltip true, takeover false, refreshInterval 5000 ms, compact true, locale auto | Host rows plus the two local switches; toolbar/locale read-only |
scenes | six scene profiles, 9 exposed rows each (thinking/effort remain schema-only) and a writing threshold of 0.6 | Host rows; only the writing score threshold is read by plan.ts |
parser | enabled true, 1 MiB, 200k tokens, depth 256, 2 s, cache 256, graph 20k/100k | enabled + four limits host rows; depth and graph caps planned |
chain | depth 8, links 50, tokenBudget 1500 | Host rows |
tools | maxResultBytes 0 | Planned/read-only; not consumed |
defaults | profession execution, interaction think, scene dialogue, validation medium, command none | Host rows |
GET /deepseek-coordination/config returns { values, defaults }; defaults is resolveConfig(undefined), so the page never duplicates a default literal. POST /config accepts a flat dotted patch such as { "plan.threshold": 0.7 }, validates it against the catalog and the real Schemastery schema, applies it to the live config, re-resolves invariants (weight normalisation, alias mirror, forced flags, compaction clamps), rebuilds TokenGovernor when compaction changes, and persists the applied paths.
Persistence is the host's own override document at /config.overrides.json: a flat { "plan.threshold": 0.7 } map written atomically beside the coordination database and merged over the profile config on the next start. It is not DSH's ctx.settings.update, which only accepts .volatile() schemas — and a volatile node turns every parsed value into a reference wrapper this host cannot adopt without rewriting every config reader. persisted: true therefore means "stored in the coordination host's own document"; a write that only touched ignored rows reports false. Unknown keys, databasePath and database are rejected with INVALID_ARGUMENT. Known but non-editable keys are reported in ignored and never written. POST /config/compaction remains as a small compatibility route for the old auto/soft/hard patch.
The page is Material UI end to end: one default-expanded Accordion per group, a List of rows, six scene tables (no scene dropdown), Checkbox for booleans, RadioGroup for enums, TextField type="number" for every number (weights and ratios included, rounded to the row's step for display only), and Chip only for the 主机 / 本机 / 强制 / 只读 / 计划中 status plus connection state. The full-access confirmation is a modal MUI Dialog above the tooltip layer, never an inline banner. There is no save button; controls apply on change/blur. A forced row draws a disabled control, a read-only row shows a value, and a planned row says the runtime does not read it yet. The settings nav icon is a host-shell workaround: the shell accepts only { id, order, label } for a section, so the plugin decorates its nav button with a CSS mask of the Material sync glyph.