eloyhere/deepseek-coordination ↗★ 1

deepseek-coordination

A dual-face Cordis plugin for DeepSeek Harness: the host half owns a coordination SQLite database, seven model-facing tools and an HTTP surface; the web half mounts five composer dropdowns, a settings catalog and the service-level takeover dialog. 适合需要精细化控制Harness底层参数、会话租约及多场景配置的进阶用户。

パッケージ
deepseek-coordination
互換性
未検証
Harness ピア範囲
^0.1.0-rc.7 || >=0.2.1-rc.2
Cordis ピア範囲
^4.0.1
バージョン
0.14.10
ライセンス
Apache-2.0
最終更新
2026/10/18

インストール

$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.

GroupDefaults / scopeWrite path
sessionmaxTurnPerSession=1000, defaultLease=30000 ms, clarifyTimeout=30000 msHost rows through /config
professionenabled/lock/rebuild/abandon forced true; default mirrors defaults.profession; audit/errorHint trueForced flags read-only; audit/errorHint host rows (audit has no consumer)
planthreshold 0.5, maxRebuild 3, 8 weights summing to 1, 8 dimension thresholdsHost rows; weights re-normalise on save
orchestrationmaxReject 2, maxSubTask 32, groundTruth true, timeout 5000 ms, shell ground truth false, modelRouting trueHost rows; groundTruthTimeout has no consumer
cacheenabled true, ttl 60000 ms, fingerprintWindow 50, effortWarning trueHost rows; enabled/effortWarning gate the cache proxy decorator, ttl caches the model catalog, fingerprintWindow has no consumer
bayesianprior 0.5, stopEntropy 0.05, infoGain 0.01, maxRoutes 12, calibrationFloor 0.1Host rows; calibrationFloor has no consumer
comprehensionstageTimeout 30000 ms, searchEnabled true, maxEvidence 8, highHistoryWindow 50Host rows
compactionauto true, soft 0.70, hard 0.88, reserve 2048, recentTurns 6, cooldown 30000 ms, maxPerSession 20auto/soft/hard host rows; structural fields read-only
uitoolbar true (deprecated alias), showTooltip true, takeover false, refreshInterval 5000 ms, compact true, locale autoHost rows plus the two local switches; toolbar/locale read-only
scenessix scene profiles, 9 exposed rows each (thinking/effort remain schema-only) and a writing threshold of 0.6Host rows; only the writing score threshold is read by plan.ts
parserenabled true, 1 MiB, 200k tokens, depth 256, 2 s, cache 256, graph 20k/100kenabled + four limits host rows; depth and graph caps planned
chaindepth 8, links 50, tokenBudget 1500Host rows
toolsmaxResultBytes 0Planned/read-only; not consumed
defaultsprofession execution, interaction think, scene dialogue, validation medium, command noneHost 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.