dsh-autotier 0.2.13 → 0.2.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/README-es.md +11 -11
- package/README-hi.md +11 -12
- package/README-pt.md +11 -11
- package/README-zh.md +11 -12
- package/README.md +375 -376
- package/package.json +17 -17
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,20 @@ All notable changes to this project are documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [0.2.15] - 2026-10-06
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
|
|
12
|
+
- **0.2.14 shipped READMEs that contradicted its own manifest.** That entry claimed "the five READMEs state the resulting band", but they were not touched: every language still printed `>=0.1.6-0 <0.2.0 || >=0.1.7-0 <0.2.0`, a two-clause band that neither matched `package.json` before the change (which already carried `>=0.2.0-0 <0.3.0`) nor after it. The published 0.2.14 tarball therefore advertised a host range narrower than the one it actually declares. All five READMEs now print the real band, `>=0.1.6-0 <0.2.0 || >=0.2.0-0 <0.3.0 || >=0.2.1-0 <0.3.0`, and the 0.2.14 entry above is annotated rather than rewritten.
|
|
13
|
+
|
|
14
|
+
## [0.2.14] - 2026-10-06
|
|
15
|
+
|
|
16
|
+
### Changed
|
|
17
|
+
|
|
18
|
+
- **The declared peer band did not admit the line the package runs on.** The dev/test pins moved to `0.2.1-alpha.1`, but the band was `>=0.1.6-0 <0.2.0 || >=0.2.0-0 <0.3.0`, and under semver's prerelease rule a `0.2.0` tuple cannot admit a `0.2.1` prerelease — so the line this build is measured on was excluded by its own range. A `|| >=0.2.1-0 <0.3.0` clause is appended, exactly as every earlier prerelease tuple gained its own clause. Nothing previously admitted is dropped: the `0.1.6` floor stays where the 0.2.13 entry put it, and the earlier clauses are deliberately not restored.
|
|
19
|
+
- The same clause is added to `engines.dsh`. **Correction (0.2.15): this entry originally also claimed the five READMEs were updated, which was not true — see 0.2.15.**
|
|
20
|
+
|
|
21
|
+
|
|
8
22
|
## [0.2.13] - 2026-10-05
|
|
9
23
|
|
|
10
24
|
### Changed
|
package/README-es.md
CHANGED
|
@@ -44,7 +44,7 @@ Este plugin forma parte de la [familia de plugins DSH](https://github.com/PerryL
|
|
|
44
44
|
| `@deepseek-ai/dsh` `0.1.7-rc.2` | **requerida**; verificada contra el checkout correspondiente (`typecheck`) y los paquetes publicados (`typecheck:ci`, 214 pruebas) |
|
|
45
45
|
| `@deepseek-ai/cordis` `^4.0.3`, `@deepseek-ai/cosmokit` `^1.8.4`, `@deepseek-ai/schemastery` `^3.18.3` | base de peers |
|
|
46
46
|
|
|
47
|
-
Los rangos de peers nombran las cuatro líneas publicadas (`>=0.1.6-0 <0.2.0 || >=0.
|
|
47
|
+
Los rangos de peers nombran las cuatro líneas publicadas (`>=0.1.6-0 <0.2.0 || >=0.2.0-0 <0.3.0 || >=0.2.1-0 <0.3.0`), porque un rango cuyo único comparador de prerelease
|
|
48
48
|
está en una tupla anterior no admite un alpha posterior. Se refrescan por ola.
|
|
49
49
|
El rango declarado es deliberadamente más amplio que el verificado: documenta lo
|
|
50
50
|
que acepta el manifiesto, no lo que se ha probado.
|
|
@@ -315,24 +315,24 @@ Evidencia estática: `dsh-plugin-doctor` K10–K13 dan `pass` en todas las compr
|
|
|
315
315
|
|
|
316
316
|
## PerryLink DSH Plugin Family
|
|
317
317
|
|
|
318
|
-
This project is one of the **
|
|
318
|
+
This project is one of the **44 DeepSeek Harness plugins** maintained by [PerryLink](https://github.com/PerryLink). If this one helps you, the others likely will too:
|
|
319
319
|
|
|
320
320
|
| Plugin | One-liner |
|
|
321
321
|
|---|---|
|
|
322
322
|
| **[dsh-auto-review](https://github.com/PerryLink/dsh-auto-review)** | Second-model auto-review on the approval chain, fail-closed by default | |
|
|
323
323
|
| **[dsh-autotier](https://github.com/PerryLink/dsh-autotier)** | Automatic strong/cheap model-tier routing with deterministic risk guards and a `/tier` command | |
|
|
324
|
-
| **[dsh-background-agents](https://github.com/PerryLink/dsh-background-agents)** | Durable background child agents with a Web UI sidebar, messaging and interrupt | |
|
|
325
|
-
| **[dsh-budget](https://github.com/PerryLink/dsh-budget)** | Cost governance for DeepSeek Harness: budgets, carbon, and latency in one panel. | |
|
|
324
|
+
| **[dsh-background-agents](https://github.com/PerryLink/dsh-background-agents)** | Durable background child agents with a Web UI sidebar, messaging and interrupt | 🚫 **RETIRADO** — ver la nota arriba |
|
|
325
|
+
| **[dsh-budget](https://github.com/PerryLink/dsh-budget)** | Cost governance for DeepSeek Harness: budgets, carbon, and latency in one panel. | | 🧊 FROZEN — see the repo README |
|
|
326
326
|
| **[dsh-catalog](https://github.com/PerryLink/dsh-catalog)** | DSH Desktop Market standard catalog source for the PerryLink family | |
|
|
327
327
|
| **[dsh-cert-mcp](https://github.com/PerryLink/dsh-cert-mcp)** | Read-only MCP server exposing the certification registry: grades, snapshots and five-dimension evidence | |
|
|
328
328
|
| **[dsh-checkpoint-rewind](https://github.com/PerryLink/dsh-checkpoint-rewind)** | Claude Code /rewind-equivalent: snapshots, session forks, one-shot restore | |
|
|
329
|
-
| **[dsh-claude-move](https://github.com/PerryLink/dsh-claude-move)** | Migrate Claude Code sessions, memory, skills and CLAUDE.md into DSH | |
|
|
329
|
+
| **[dsh-claude-move](https://github.com/PerryLink/dsh-claude-move)** | Migrate Claude Code sessions, memory, skills and CLAUDE.md into DSH | | 🧊 FROZEN — see the repo README |
|
|
330
330
|
| **[dsh-click](https://github.com/PerryLink/dsh-click)** | Cross-platform native desktop control for DeepSeek Harness — Windows first. | |
|
|
331
331
|
| **[dsh-composer-history](https://github.com/PerryLink/dsh-composer-history)** | Terminal-style input history for the web composer: arrows, Ctrl+R search | |
|
|
332
332
|
| **[dsh-data-quality](https://github.com/PerryLink/dsh-data-quality)** | Dataset quality checks and citation cross-checks (the optional numeric bridge consumed here) | |
|
|
333
|
-
| **[dsh-defend](https://github.com/PerryLink/dsh-defend)** | Prompt-injection, jailbreak, and secret-leak defense for DeepSeek Harness. | |
|
|
333
|
+
| **[dsh-defend](https://github.com/PerryLink/dsh-defend)** | Prompt-injection, jailbreak, and secret-leak defense for DeepSeek Harness. | | 🧊 FROZEN — see the repo README |
|
|
334
334
|
| **[dsh-doublecheck](https://github.com/PerryLink/dsh-doublecheck)** | Engineering-discipline guard: requirements grill, test gates, adversary review | |
|
|
335
|
-
| **[dsh-draw](https://github.com/PerryLink/dsh-draw)** | Unified static-image generation routing for DeepSeek Harness. | |
|
|
335
|
+
| **[dsh-draw](https://github.com/PerryLink/dsh-draw)** | Unified static-image generation routing for DeepSeek Harness. | | 🧊 FROZEN — see the repo README |
|
|
336
336
|
| **[dsh-fast](https://github.com/PerryLink/dsh-fast)** | Read-only performance diagnostics for DeepSeek Harness. | |
|
|
337
337
|
| **[dsh-fund-research](https://github.com/PerryLink/dsh-fund-research)** | Deterministic research reports for Chinese public mutual funds | |
|
|
338
338
|
| **[dsh-github](https://github.com/PerryLink/dsh-github)** | GitHub PR/issues integration for DSH, every write gated by approval | |
|
|
@@ -343,7 +343,7 @@ This project is one of the **45 DeepSeek Harness plugins** maintained by [PerryL
|
|
|
343
343
|
| **[dsh-lsp-actions](https://github.com/PerryLink/dsh-lsp-actions)** | LSP diagnostics, formatting, completion, code actions and rename over language servers | |
|
|
344
344
|
| **[dsh-mask](https://github.com/PerryLink/dsh-mask)** | PII masking middleware: anonymize at the model boundary, restore at the display layer | |
|
|
345
345
|
| **[dsh-mcp-panel](https://github.com/PerryLink/dsh-mcp-panel)** | Read-only MCP runtime panel: /mcp command + Settings tab with status, tools and errors | |
|
|
346
|
-
| **[dsh-memento](https://github.com/PerryLink/dsh-memento)** | Approval-gated cross-session memory: ctx.memory seam + SQLite + memory tool | |
|
|
346
|
+
| **[dsh-memento](https://github.com/PerryLink/dsh-memento)** | Approval-gated cross-session memory: ctx.memory seam + SQLite + memory tool | | 🧊 FROZEN — see the repo README |
|
|
347
347
|
| **[dsh-observe](https://github.com/PerryLink/dsh-observe)** | OpenTelemetry and Langfuse observability exporter for DeepSeek Harness. | |
|
|
348
348
|
| **[dsh-output-styles](https://github.com/PerryLink/dsh-output-styles)** | Claude Code outputStyles-equivalent runtime style switching | |
|
|
349
349
|
| **[dsh-permission-rules](https://github.com/PerryLink/dsh-permission-rules)** | Claude Code-style declarative allow/deny/ask permission rules with audit | |
|
|
@@ -352,14 +352,14 @@ This project is one of the **45 DeepSeek Harness plugins** maintained by [PerryL
|
|
|
352
352
|
| **[dsh-plugin-guide](https://github.com/PerryLink/dsh-plugin-guide)** | Plugin-development knowledge base as an on-demand agent skill | |
|
|
353
353
|
| **[dsh-plugin-kit](https://github.com/PerryLink/dsh-plugin-kit)** | Shared zero-runtime-dependency toolkit for the PerryLink DSH plugins | |
|
|
354
354
|
| **[dsh-plugin-upgrade](https://github.com/PerryLink/dsh-plugin-upgrade)** | One-package, one-corridor-index plugin upgrade skill: routes a repository to the matching closed corridor card | |
|
|
355
|
-
| **[dsh-reach](https://github.com/PerryLink/dsh-reach)** | Multi-channel approval/question bridge: WeChat/Telegram/Feishu, session console | |
|
|
355
|
+
| **[dsh-reach](https://github.com/PerryLink/dsh-reach)** | Multi-channel approval/question bridge: WeChat/Telegram/Feishu, session console | | 🧊 FROZEN — see the repo README |
|
|
356
356
|
| **[dsh-research-report](https://github.com/PerryLink/dsh-research-report)** | Verifiable research-report engine: content-addressed evidence ledger and sealed versions | |
|
|
357
357
|
| **[dsh-score](https://github.com/PerryLink/dsh-score)** | Multi-dimensional quality scoring for DeepSeek Harness plugins. | |
|
|
358
|
-
| **[dsh-session-pin](https://github.com/PerryLink/dsh-session-pin)** | Pin sessions in the Web sidebar with durable ordering | |
|
|
358
|
+
| **[dsh-session-pin](https://github.com/PerryLink/dsh-session-pin)** | Pin sessions in the Web sidebar with durable ordering | 🚫 **RETIRADO** — ver la nota arriba |
|
|
359
359
|
| **[dsh-session-sync](https://github.com/PerryLink/dsh-session-sync)** | Cross-device session sync for DeepSeek Harness — a dedicated git mirror of your session store. | |
|
|
360
360
|
| **[dsh-skill-pack-security](https://github.com/PerryLink/dsh-skill-pack-security)** | Security-audit skill pack: secret scan, dependency and supply-chain review | |
|
|
361
361
|
| **[dsh-talk](https://github.com/PerryLink/dsh-talk)** | Voice-first session loop for DeepSeek Harness: talk to it, hear it answer. | |
|
|
362
|
-
| **[dsh-team-rooms](https://github.com/PerryLink/dsh-team-rooms)** | Cross-session team rooms: shared message bus, task board and timeline | |
|
|
362
|
+
| **[dsh-team-rooms](https://github.com/PerryLink/dsh-team-rooms)** | Cross-session team rooms: shared message bus, task board and timeline | 🚫 **RETIRADO** — ver la nota arriba |
|
|
363
363
|
| **[dsh-test-drive](https://github.com/PerryLink/dsh-test-drive)** | Isolated install-and-smoke test drives for DeepSeek Harness plugins. | |
|
|
364
364
|
| **[dsh-ticktick](https://github.com/PerryLink/dsh-ticktick)** | TickTick/Dida365 task bridge: session-header panel + 11 tools | |
|
|
365
365
|
| **[dsh-translate](https://github.com/PerryLink/dsh-translate)** | Vendor parameter translation and deterministic JSON repair for DeepSeek Harness. | |
|
package/README-hi.md
CHANGED
|
@@ -42,7 +42,7 @@ DeepSeek Harness के लिए स्वचालित मॉडल-स्
|
|
|
42
42
|
| `@deepseek-ai/dsh` `0.1.7-rc.2` | **आवश्यक**; मेल खाते checkout (`typecheck`) और प्रकाशित पैकेजों (`typecheck:ci`, 214 टेस्ट) दोनों पर सत्यापित |
|
|
43
43
|
| `@deepseek-ai/cordis` `^4.0.3`, `@deepseek-ai/cosmokit` `^1.8.4`, `@deepseek-ai/schemastery` `^3.18.3` | peer आधार |
|
|
44
44
|
|
|
45
|
-
peer ranges चारों प्रकाशित लाइनें स्पष्ट रूप से लिखती हैं (`>=0.1.6-0 <0.2.0 || >=0.
|
|
45
|
+
peer ranges चारों प्रकाशित लाइनें स्पष्ट रूप से लिखती हैं (`>=0.1.6-0 <0.2.0 || >=0.2.0-0 <0.3.0 || >=0.2.1-0 <0.3.0`), क्योंकि जिस range का एकमात्र prerelease comparator
|
|
46
46
|
पुराने tuple पर हो वह बाद के alpha को स्वीकार नहीं करता। हर प्रकाशन-लहर पर
|
|
47
47
|
रिफ़्रेश होता है। घोषित range जानबूझकर सत्यापित range से व्यापक है: यह दर्ज करती
|
|
48
48
|
है कि manifest क्या स्वीकार करता है, यह नहीं कि क्या परखा गया।
|
|
@@ -308,24 +308,24 @@ Apache-2.0. देखें [LICENSE](./LICENSE) और
|
|
|
308
308
|
|
|
309
309
|
## PerryLink DSH Plugin Family
|
|
310
310
|
|
|
311
|
-
This project is one of the **
|
|
311
|
+
This project is one of the **44 DeepSeek Harness plugins** maintained by [PerryLink](https://github.com/PerryLink). If this one helps you, the others likely will too:
|
|
312
312
|
|
|
313
313
|
| Plugin | One-liner |
|
|
314
314
|
|---|---|
|
|
315
315
|
| **[dsh-auto-review](https://github.com/PerryLink/dsh-auto-review)** | Second-model auto-review on the approval chain, fail-closed by default | |
|
|
316
316
|
| **[dsh-autotier](https://github.com/PerryLink/dsh-autotier)** | Automatic strong/cheap model-tier routing with deterministic risk guards and a `/tier` command | |
|
|
317
|
-
| **[dsh-background-agents](https://github.com/PerryLink/dsh-background-agents)** | Durable background child agents with a Web UI sidebar, messaging and interrupt | |
|
|
318
|
-
| **[dsh-budget](https://github.com/PerryLink/dsh-budget)** | Cost governance for DeepSeek Harness: budgets, carbon, and latency in one panel. | |
|
|
317
|
+
| **[dsh-background-agents](https://github.com/PerryLink/dsh-background-agents)** | Durable background child agents with a Web UI sidebar, messaging and interrupt | 🚫 **सेवानिवृत्त** — ऊपर देखें |
|
|
318
|
+
| **[dsh-budget](https://github.com/PerryLink/dsh-budget)** | Cost governance for DeepSeek Harness: budgets, carbon, and latency in one panel. | | 🧊 FROZEN — see the repo README |
|
|
319
319
|
| **[dsh-catalog](https://github.com/PerryLink/dsh-catalog)** | DSH Desktop Market standard catalog source for the PerryLink family | |
|
|
320
320
|
| **[dsh-cert-mcp](https://github.com/PerryLink/dsh-cert-mcp)** | Read-only MCP server exposing the certification registry: grades, snapshots and five-dimension evidence | |
|
|
321
321
|
| **[dsh-checkpoint-rewind](https://github.com/PerryLink/dsh-checkpoint-rewind)** | Claude Code /rewind-equivalent: snapshots, session forks, one-shot restore | |
|
|
322
|
-
| **[dsh-claude-move](https://github.com/PerryLink/dsh-claude-move)** | Migrate Claude Code sessions, memory, skills and CLAUDE.md into DSH | |
|
|
322
|
+
| **[dsh-claude-move](https://github.com/PerryLink/dsh-claude-move)** | Migrate Claude Code sessions, memory, skills and CLAUDE.md into DSH | | 🧊 FROZEN — see the repo README |
|
|
323
323
|
| **[dsh-click](https://github.com/PerryLink/dsh-click)** | Cross-platform native desktop control for DeepSeek Harness — Windows first. | |
|
|
324
324
|
| **[dsh-composer-history](https://github.com/PerryLink/dsh-composer-history)** | Terminal-style input history for the web composer: arrows, Ctrl+R search | |
|
|
325
325
|
| **[dsh-data-quality](https://github.com/PerryLink/dsh-data-quality)** | Dataset quality checks and citation cross-checks (the optional numeric bridge consumed here) | |
|
|
326
|
-
| **[dsh-defend](https://github.com/PerryLink/dsh-defend)** | Prompt-injection, jailbreak, and secret-leak defense for DeepSeek Harness. | |
|
|
326
|
+
| **[dsh-defend](https://github.com/PerryLink/dsh-defend)** | Prompt-injection, jailbreak, and secret-leak defense for DeepSeek Harness. | | 🧊 FROZEN — see the repo README |
|
|
327
327
|
| **[dsh-doublecheck](https://github.com/PerryLink/dsh-doublecheck)** | Engineering-discipline guard: requirements grill, test gates, adversary review | |
|
|
328
|
-
| **[dsh-draw](https://github.com/PerryLink/dsh-draw)** | Unified static-image generation routing for DeepSeek Harness. | |
|
|
328
|
+
| **[dsh-draw](https://github.com/PerryLink/dsh-draw)** | Unified static-image generation routing for DeepSeek Harness. | | 🧊 FROZEN — see the repo README |
|
|
329
329
|
| **[dsh-fast](https://github.com/PerryLink/dsh-fast)** | Read-only performance diagnostics for DeepSeek Harness. | |
|
|
330
330
|
| **[dsh-fund-research](https://github.com/PerryLink/dsh-fund-research)** | Deterministic research reports for Chinese public mutual funds | |
|
|
331
331
|
| **[dsh-github](https://github.com/PerryLink/dsh-github)** | GitHub PR/issues integration for DSH, every write gated by approval | |
|
|
@@ -336,7 +336,7 @@ This project is one of the **45 DeepSeek Harness plugins** maintained by [PerryL
|
|
|
336
336
|
| **[dsh-lsp-actions](https://github.com/PerryLink/dsh-lsp-actions)** | LSP diagnostics, formatting, completion, code actions and rename over language servers | |
|
|
337
337
|
| **[dsh-mask](https://github.com/PerryLink/dsh-mask)** | PII masking middleware: anonymize at the model boundary, restore at the display layer | |
|
|
338
338
|
| **[dsh-mcp-panel](https://github.com/PerryLink/dsh-mcp-panel)** | Read-only MCP runtime panel: /mcp command + Settings tab with status, tools and errors | |
|
|
339
|
-
| **[dsh-memento](https://github.com/PerryLink/dsh-memento)** | Approval-gated cross-session memory: ctx.memory seam + SQLite + memory tool | |
|
|
339
|
+
| **[dsh-memento](https://github.com/PerryLink/dsh-memento)** | Approval-gated cross-session memory: ctx.memory seam + SQLite + memory tool | | 🧊 FROZEN — see the repo README |
|
|
340
340
|
| **[dsh-observe](https://github.com/PerryLink/dsh-observe)** | OpenTelemetry and Langfuse observability exporter for DeepSeek Harness. | |
|
|
341
341
|
| **[dsh-output-styles](https://github.com/PerryLink/dsh-output-styles)** | Claude Code outputStyles-equivalent runtime style switching | |
|
|
342
342
|
| **[dsh-permission-rules](https://github.com/PerryLink/dsh-permission-rules)** | Claude Code-style declarative allow/deny/ask permission rules with audit | |
|
|
@@ -345,15 +345,14 @@ This project is one of the **45 DeepSeek Harness plugins** maintained by [PerryL
|
|
|
345
345
|
| **[dsh-plugin-guide](https://github.com/PerryLink/dsh-plugin-guide)** | Plugin-development knowledge base as an on-demand agent skill | |
|
|
346
346
|
| **[dsh-plugin-kit](https://github.com/PerryLink/dsh-plugin-kit)** | Shared zero-runtime-dependency toolkit for the PerryLink DSH plugins | |
|
|
347
347
|
| **[dsh-plugin-upgrade](https://github.com/PerryLink/dsh-plugin-upgrade)** | One-package, one-corridor-index plugin upgrade skill: routes a repository to the matching closed corridor card | |
|
|
348
|
-
| **[dsh-reach](https://github.com/PerryLink/dsh-reach)** | Multi-channel approval/question bridge: WeChat/Telegram/Feishu, session console | |
|
|
348
|
+
| **[dsh-reach](https://github.com/PerryLink/dsh-reach)** | Multi-channel approval/question bridge: WeChat/Telegram/Feishu, session console | | 🧊 FROZEN — see the repo README |
|
|
349
349
|
| **[dsh-research-report](https://github.com/PerryLink/dsh-research-report)** | Verifiable research-report engine: content-addressed evidence ledger and sealed versions | |
|
|
350
350
|
| **[dsh-score](https://github.com/PerryLink/dsh-score)** | Multi-dimensional quality scoring for DeepSeek Harness plugins. | |
|
|
351
|
-
| **[dsh-session-pin](https://github.com/PerryLink/dsh-session-pin)** | Pin sessions in the Web sidebar with durable ordering | |
|
|
351
|
+
| **[dsh-session-pin](https://github.com/PerryLink/dsh-session-pin)** | Pin sessions in the Web sidebar with durable ordering | 🚫 **सेवानिवृत्त** — ऊपर देखें |
|
|
352
352
|
| **[dsh-session-sync](https://github.com/PerryLink/dsh-session-sync)** | Cross-device session sync for DeepSeek Harness — a dedicated git mirror of your session store. | |
|
|
353
353
|
| **[dsh-skill-pack-security](https://github.com/PerryLink/dsh-skill-pack-security)** | Security-audit skill pack: secret scan, dependency and supply-chain review | |
|
|
354
354
|
| **[dsh-talk](https://github.com/PerryLink/dsh-talk)** | Voice-first session loop for DeepSeek Harness: talk to it, hear it answer. | |
|
|
355
|
-
| **[dsh-team-rooms](https://github.com/PerryLink/dsh-team-rooms)** | Cross-session team rooms: shared message bus, task board and timeline | |
|
|
355
|
+
| **[dsh-team-rooms](https://github.com/PerryLink/dsh-team-rooms)** | Cross-session team rooms: shared message bus, task board and timeline | 🚫 **सेवानिवृत्त** — ऊपर देखें |
|
|
356
356
|
| **[dsh-test-drive](https://github.com/PerryLink/dsh-test-drive)** | Isolated install-and-smoke test drives for DeepSeek Harness plugins. | |
|
|
357
357
|
| **[dsh-ticktick](https://github.com/PerryLink/dsh-ticktick)** | TickTick/Dida365 task bridge: session-header panel + 11 tools | |
|
|
358
358
|
| **[dsh-translate](https://github.com/PerryLink/dsh-translate)** | Vendor parameter translation and deterministic JSON repair for DeepSeek Harness. | |
|
|
359
|
-
|
package/README-pt.md
CHANGED
|
@@ -43,7 +43,7 @@ Este plugin faz parte da [família de plugins DSH](https://github.com/PerryLink)
|
|
|
43
43
|
| `@deepseek-ai/dsh` `0.1.7-rc.2` | **obrigatória**; verificada contra o checkout correspondente (`typecheck`) e os pacotes publicados (`typecheck:ci`, 214 testes) |
|
|
44
44
|
| `@deepseek-ai/cordis` `^4.0.3`, `@deepseek-ai/cosmokit` `^1.8.4`, `@deepseek-ai/schemastery` `^3.18.3` | base de peers |
|
|
45
45
|
|
|
46
|
-
Os ranges de peers nomeiam as quatro linhas publicadas (`>=0.1.6-0 <0.2.0 || >=0.
|
|
46
|
+
Os ranges de peers nomeiam as quatro linhas publicadas (`>=0.1.6-0 <0.2.0 || >=0.2.0-0 <0.3.0 || >=0.2.1-0 <0.3.0`), porque um range cujo único comparador de prerelease
|
|
47
47
|
está numa tupla anterior não admite um alpha posterior. São atualizados por onda.
|
|
48
48
|
O range declarado é deliberadamente mais amplo que o verificado: documenta o que o
|
|
49
49
|
manifesto aceita, não o que foi testado.
|
|
@@ -313,24 +313,24 @@ Evidência estática: `dsh-plugin-doctor` K10–K13 retornam `pass` em todas as
|
|
|
313
313
|
|
|
314
314
|
## PerryLink DSH Plugin Family
|
|
315
315
|
|
|
316
|
-
This project is one of the **
|
|
316
|
+
This project is one of the **44 DeepSeek Harness plugins** maintained by [PerryLink](https://github.com/PerryLink). If this one helps you, the others likely will too:
|
|
317
317
|
|
|
318
318
|
| Plugin | One-liner |
|
|
319
319
|
|---|---|
|
|
320
320
|
| **[dsh-auto-review](https://github.com/PerryLink/dsh-auto-review)** | Second-model auto-review on the approval chain, fail-closed by default | |
|
|
321
321
|
| **[dsh-autotier](https://github.com/PerryLink/dsh-autotier)** | Automatic strong/cheap model-tier routing with deterministic risk guards and a `/tier` command | |
|
|
322
|
-
| **[dsh-background-agents](https://github.com/PerryLink/dsh-background-agents)** | Durable background child agents with a Web UI sidebar, messaging and interrupt | |
|
|
323
|
-
| **[dsh-budget](https://github.com/PerryLink/dsh-budget)** | Cost governance for DeepSeek Harness: budgets, carbon, and latency in one panel. | |
|
|
322
|
+
| **[dsh-background-agents](https://github.com/PerryLink/dsh-background-agents)** | Durable background child agents with a Web UI sidebar, messaging and interrupt | 🚫 **APOSENTADO** — ver a nota acima |
|
|
323
|
+
| **[dsh-budget](https://github.com/PerryLink/dsh-budget)** | Cost governance for DeepSeek Harness: budgets, carbon, and latency in one panel. | | 🧊 FROZEN — see the repo README |
|
|
324
324
|
| **[dsh-catalog](https://github.com/PerryLink/dsh-catalog)** | DSH Desktop Market standard catalog source for the PerryLink family | |
|
|
325
325
|
| **[dsh-cert-mcp](https://github.com/PerryLink/dsh-cert-mcp)** | Read-only MCP server exposing the certification registry: grades, snapshots and five-dimension evidence | |
|
|
326
326
|
| **[dsh-checkpoint-rewind](https://github.com/PerryLink/dsh-checkpoint-rewind)** | Claude Code /rewind-equivalent: snapshots, session forks, one-shot restore | |
|
|
327
|
-
| **[dsh-claude-move](https://github.com/PerryLink/dsh-claude-move)** | Migrate Claude Code sessions, memory, skills and CLAUDE.md into DSH | |
|
|
327
|
+
| **[dsh-claude-move](https://github.com/PerryLink/dsh-claude-move)** | Migrate Claude Code sessions, memory, skills and CLAUDE.md into DSH | | 🧊 FROZEN — see the repo README |
|
|
328
328
|
| **[dsh-click](https://github.com/PerryLink/dsh-click)** | Cross-platform native desktop control for DeepSeek Harness — Windows first. | |
|
|
329
329
|
| **[dsh-composer-history](https://github.com/PerryLink/dsh-composer-history)** | Terminal-style input history for the web composer: arrows, Ctrl+R search | |
|
|
330
330
|
| **[dsh-data-quality](https://github.com/PerryLink/dsh-data-quality)** | Dataset quality checks and citation cross-checks (the optional numeric bridge consumed here) | |
|
|
331
|
-
| **[dsh-defend](https://github.com/PerryLink/dsh-defend)** | Prompt-injection, jailbreak, and secret-leak defense for DeepSeek Harness. | |
|
|
331
|
+
| **[dsh-defend](https://github.com/PerryLink/dsh-defend)** | Prompt-injection, jailbreak, and secret-leak defense for DeepSeek Harness. | | 🧊 FROZEN — see the repo README |
|
|
332
332
|
| **[dsh-doublecheck](https://github.com/PerryLink/dsh-doublecheck)** | Engineering-discipline guard: requirements grill, test gates, adversary review | |
|
|
333
|
-
| **[dsh-draw](https://github.com/PerryLink/dsh-draw)** | Unified static-image generation routing for DeepSeek Harness. | |
|
|
333
|
+
| **[dsh-draw](https://github.com/PerryLink/dsh-draw)** | Unified static-image generation routing for DeepSeek Harness. | | 🧊 FROZEN — see the repo README |
|
|
334
334
|
| **[dsh-fast](https://github.com/PerryLink/dsh-fast)** | Read-only performance diagnostics for DeepSeek Harness. | |
|
|
335
335
|
| **[dsh-fund-research](https://github.com/PerryLink/dsh-fund-research)** | Deterministic research reports for Chinese public mutual funds | |
|
|
336
336
|
| **[dsh-github](https://github.com/PerryLink/dsh-github)** | GitHub PR/issues integration for DSH, every write gated by approval | |
|
|
@@ -341,7 +341,7 @@ This project is one of the **45 DeepSeek Harness plugins** maintained by [PerryL
|
|
|
341
341
|
| **[dsh-lsp-actions](https://github.com/PerryLink/dsh-lsp-actions)** | LSP diagnostics, formatting, completion, code actions and rename over language servers | |
|
|
342
342
|
| **[dsh-mask](https://github.com/PerryLink/dsh-mask)** | PII masking middleware: anonymize at the model boundary, restore at the display layer | |
|
|
343
343
|
| **[dsh-mcp-panel](https://github.com/PerryLink/dsh-mcp-panel)** | Read-only MCP runtime panel: /mcp command + Settings tab with status, tools and errors | |
|
|
344
|
-
| **[dsh-memento](https://github.com/PerryLink/dsh-memento)** | Approval-gated cross-session memory: ctx.memory seam + SQLite + memory tool | |
|
|
344
|
+
| **[dsh-memento](https://github.com/PerryLink/dsh-memento)** | Approval-gated cross-session memory: ctx.memory seam + SQLite + memory tool | | 🧊 FROZEN — see the repo README |
|
|
345
345
|
| **[dsh-observe](https://github.com/PerryLink/dsh-observe)** | OpenTelemetry and Langfuse observability exporter for DeepSeek Harness. | |
|
|
346
346
|
| **[dsh-output-styles](https://github.com/PerryLink/dsh-output-styles)** | Claude Code outputStyles-equivalent runtime style switching | |
|
|
347
347
|
| **[dsh-permission-rules](https://github.com/PerryLink/dsh-permission-rules)** | Claude Code-style declarative allow/deny/ask permission rules with audit | |
|
|
@@ -350,14 +350,14 @@ This project is one of the **45 DeepSeek Harness plugins** maintained by [PerryL
|
|
|
350
350
|
| **[dsh-plugin-guide](https://github.com/PerryLink/dsh-plugin-guide)** | Plugin-development knowledge base as an on-demand agent skill | |
|
|
351
351
|
| **[dsh-plugin-kit](https://github.com/PerryLink/dsh-plugin-kit)** | Shared zero-runtime-dependency toolkit for the PerryLink DSH plugins | |
|
|
352
352
|
| **[dsh-plugin-upgrade](https://github.com/PerryLink/dsh-plugin-upgrade)** | One-package, one-corridor-index plugin upgrade skill: routes a repository to the matching closed corridor card | |
|
|
353
|
-
| **[dsh-reach](https://github.com/PerryLink/dsh-reach)** | Multi-channel approval/question bridge: WeChat/Telegram/Feishu, session console | |
|
|
353
|
+
| **[dsh-reach](https://github.com/PerryLink/dsh-reach)** | Multi-channel approval/question bridge: WeChat/Telegram/Feishu, session console | | 🧊 FROZEN — see the repo README |
|
|
354
354
|
| **[dsh-research-report](https://github.com/PerryLink/dsh-research-report)** | Verifiable research-report engine: content-addressed evidence ledger and sealed versions | |
|
|
355
355
|
| **[dsh-score](https://github.com/PerryLink/dsh-score)** | Multi-dimensional quality scoring for DeepSeek Harness plugins. | |
|
|
356
|
-
| **[dsh-session-pin](https://github.com/PerryLink/dsh-session-pin)** | Pin sessions in the Web sidebar with durable ordering | |
|
|
356
|
+
| **[dsh-session-pin](https://github.com/PerryLink/dsh-session-pin)** | Pin sessions in the Web sidebar with durable ordering | 🚫 **APOSENTADO** — ver a nota acima |
|
|
357
357
|
| **[dsh-session-sync](https://github.com/PerryLink/dsh-session-sync)** | Cross-device session sync for DeepSeek Harness — a dedicated git mirror of your session store. | |
|
|
358
358
|
| **[dsh-skill-pack-security](https://github.com/PerryLink/dsh-skill-pack-security)** | Security-audit skill pack: secret scan, dependency and supply-chain review | |
|
|
359
359
|
| **[dsh-talk](https://github.com/PerryLink/dsh-talk)** | Voice-first session loop for DeepSeek Harness: talk to it, hear it answer. | |
|
|
360
|
-
| **[dsh-team-rooms](https://github.com/PerryLink/dsh-team-rooms)** | Cross-session team rooms: shared message bus, task board and timeline | |
|
|
360
|
+
| **[dsh-team-rooms](https://github.com/PerryLink/dsh-team-rooms)** | Cross-session team rooms: shared message bus, task board and timeline | 🚫 **APOSENTADO** — ver a nota acima |
|
|
361
361
|
| **[dsh-test-drive](https://github.com/PerryLink/dsh-test-drive)** | Isolated install-and-smoke test drives for DeepSeek Harness plugins. | |
|
|
362
362
|
| **[dsh-ticktick](https://github.com/PerryLink/dsh-ticktick)** | TickTick/Dida365 task bridge: session-header panel + 11 tools | |
|
|
363
363
|
| **[dsh-translate](https://github.com/PerryLink/dsh-translate)** | Vendor parameter translation and deterministic JSON repair for DeepSeek Harness. | |
|
package/README-zh.md
CHANGED
|
@@ -39,7 +39,7 @@ DeepSeek Harness 的自动模型分档路由:一条用户指令进来,一个
|
|
|
39
39
|
| `@deepseek-ai/dsh` `0.1.7-rc.2` | **必需**;已对同版 checkout(`typecheck`)与已发布包(`typecheck:ci`、214 项测试)双向验证 |
|
|
40
40
|
| `@deepseek-ai/cordis` `^4.0.3`、`@deepseek-ai/cosmokit` `^1.8.4`、`@deepseek-ai/schemastery` `^3.18.3` | peer 基线 |
|
|
41
41
|
|
|
42
|
-
peer 范围显式列出四条已发布线(`>=0.1.6-0 <0.2.0 || >=0.
|
|
42
|
+
peer 范围显式列出四条已发布线(`>=0.1.6-0 <0.2.0 || >=0.2.0-0 <0.3.0 || >=0.2.1-0 <0.3.0`)——因为仅含较早版本元组预发布比较符的 semver 范围无法接纳更晚的 alpha;
|
|
43
43
|
每次发布波同步刷新。声明的范围刻意宽于已验证范围:它记录清单接受什么,而不是测过什么。
|
|
44
44
|
|
|
45
45
|
**本次发布是破坏性适配。** `0.1.6` 代宿主移除了本插件赖以构建的 settings **provider** 缝:
|
|
@@ -279,24 +279,24 @@ Apache-2.0。见 [LICENSE](./LICENSE) 与
|
|
|
279
279
|
|
|
280
280
|
## PerryLink DSH Plugin Family
|
|
281
281
|
|
|
282
|
-
This project is one of the **
|
|
282
|
+
This project is one of the **44 DeepSeek Harness plugins** maintained by [PerryLink](https://github.com/PerryLink). If this one helps you, the others likely will too:
|
|
283
283
|
|
|
284
284
|
| Plugin | One-liner |
|
|
285
285
|
|---|---|
|
|
286
286
|
| **[dsh-auto-review](https://github.com/PerryLink/dsh-auto-review)** | Second-model auto-review on the approval chain, fail-closed by default | |
|
|
287
287
|
| **[dsh-autotier](https://github.com/PerryLink/dsh-autotier)** | Automatic strong/cheap model-tier routing with deterministic risk guards and a `/tier` command | |
|
|
288
|
-
| **[dsh-background-agents](https://github.com/PerryLink/dsh-background-agents)** | Durable background child agents with a Web UI sidebar, messaging and interrupt | |
|
|
289
|
-
| **[dsh-budget](https://github.com/PerryLink/dsh-budget)** | Cost governance for DeepSeek Harness: budgets, carbon, and latency in one panel. | |
|
|
288
|
+
| **[dsh-background-agents](https://github.com/PerryLink/dsh-background-agents)** | Durable background child agents with a Web UI sidebar, messaging and interrupt | 🚫 **已退役** — 见上方说明 |
|
|
289
|
+
| **[dsh-budget](https://github.com/PerryLink/dsh-budget)** | Cost governance for DeepSeek Harness: budgets, carbon, and latency in one panel. | | 🧊 FROZEN — see the repo README |
|
|
290
290
|
| **[dsh-catalog](https://github.com/PerryLink/dsh-catalog)** | DSH Desktop Market standard catalog source for the PerryLink family | |
|
|
291
291
|
| **[dsh-cert-mcp](https://github.com/PerryLink/dsh-cert-mcp)** | Read-only MCP server exposing the certification registry: grades, snapshots and five-dimension evidence | |
|
|
292
292
|
| **[dsh-checkpoint-rewind](https://github.com/PerryLink/dsh-checkpoint-rewind)** | Claude Code /rewind-equivalent: snapshots, session forks, one-shot restore | |
|
|
293
|
-
| **[dsh-claude-move](https://github.com/PerryLink/dsh-claude-move)** | Migrate Claude Code sessions, memory, skills and CLAUDE.md into DSH | |
|
|
293
|
+
| **[dsh-claude-move](https://github.com/PerryLink/dsh-claude-move)** | Migrate Claude Code sessions, memory, skills and CLAUDE.md into DSH | | 🧊 FROZEN — see the repo README |
|
|
294
294
|
| **[dsh-click](https://github.com/PerryLink/dsh-click)** | Cross-platform native desktop control for DeepSeek Harness — Windows first. | |
|
|
295
295
|
| **[dsh-composer-history](https://github.com/PerryLink/dsh-composer-history)** | Terminal-style input history for the web composer: arrows, Ctrl+R search | |
|
|
296
296
|
| **[dsh-data-quality](https://github.com/PerryLink/dsh-data-quality)** | Dataset quality checks and citation cross-checks (the optional numeric bridge consumed here) | |
|
|
297
|
-
| **[dsh-defend](https://github.com/PerryLink/dsh-defend)** | Prompt-injection, jailbreak, and secret-leak defense for DeepSeek Harness. | |
|
|
297
|
+
| **[dsh-defend](https://github.com/PerryLink/dsh-defend)** | Prompt-injection, jailbreak, and secret-leak defense for DeepSeek Harness. | | 🧊 FROZEN — see the repo README |
|
|
298
298
|
| **[dsh-doublecheck](https://github.com/PerryLink/dsh-doublecheck)** | Engineering-discipline guard: requirements grill, test gates, adversary review | |
|
|
299
|
-
| **[dsh-draw](https://github.com/PerryLink/dsh-draw)** | Unified static-image generation routing for DeepSeek Harness. | |
|
|
299
|
+
| **[dsh-draw](https://github.com/PerryLink/dsh-draw)** | Unified static-image generation routing for DeepSeek Harness. | | 🧊 FROZEN — see the repo README |
|
|
300
300
|
| **[dsh-fast](https://github.com/PerryLink/dsh-fast)** | Read-only performance diagnostics for DeepSeek Harness. | |
|
|
301
301
|
| **[dsh-fund-research](https://github.com/PerryLink/dsh-fund-research)** | Deterministic research reports for Chinese public mutual funds | |
|
|
302
302
|
| **[dsh-github](https://github.com/PerryLink/dsh-github)** | GitHub PR/issues integration for DSH, every write gated by approval | |
|
|
@@ -307,7 +307,7 @@ This project is one of the **45 DeepSeek Harness plugins** maintained by [PerryL
|
|
|
307
307
|
| **[dsh-lsp-actions](https://github.com/PerryLink/dsh-lsp-actions)** | LSP diagnostics, formatting, completion, code actions and rename over language servers | |
|
|
308
308
|
| **[dsh-mask](https://github.com/PerryLink/dsh-mask)** | PII masking middleware: anonymize at the model boundary, restore at the display layer | |
|
|
309
309
|
| **[dsh-mcp-panel](https://github.com/PerryLink/dsh-mcp-panel)** | Read-only MCP runtime panel: /mcp command + Settings tab with status, tools and errors | |
|
|
310
|
-
| **[dsh-memento](https://github.com/PerryLink/dsh-memento)** | Approval-gated cross-session memory: ctx.memory seam + SQLite + memory tool | |
|
|
310
|
+
| **[dsh-memento](https://github.com/PerryLink/dsh-memento)** | Approval-gated cross-session memory: ctx.memory seam + SQLite + memory tool | | 🧊 FROZEN — see the repo README |
|
|
311
311
|
| **[dsh-observe](https://github.com/PerryLink/dsh-observe)** | OpenTelemetry and Langfuse observability exporter for DeepSeek Harness. | |
|
|
312
312
|
| **[dsh-output-styles](https://github.com/PerryLink/dsh-output-styles)** | Claude Code outputStyles-equivalent runtime style switching | |
|
|
313
313
|
| **[dsh-permission-rules](https://github.com/PerryLink/dsh-permission-rules)** | Claude Code-style declarative allow/deny/ask permission rules with audit | |
|
|
@@ -316,15 +316,14 @@ This project is one of the **45 DeepSeek Harness plugins** maintained by [PerryL
|
|
|
316
316
|
| **[dsh-plugin-guide](https://github.com/PerryLink/dsh-plugin-guide)** | Plugin-development knowledge base as an on-demand agent skill | |
|
|
317
317
|
| **[dsh-plugin-kit](https://github.com/PerryLink/dsh-plugin-kit)** | Shared zero-runtime-dependency toolkit for the PerryLink DSH plugins | |
|
|
318
318
|
| **[dsh-plugin-upgrade](https://github.com/PerryLink/dsh-plugin-upgrade)** | One-package, one-corridor-index plugin upgrade skill: routes a repository to the matching closed corridor card | |
|
|
319
|
-
| **[dsh-reach](https://github.com/PerryLink/dsh-reach)** | Multi-channel approval/question bridge: WeChat/Telegram/Feishu, session console | |
|
|
319
|
+
| **[dsh-reach](https://github.com/PerryLink/dsh-reach)** | Multi-channel approval/question bridge: WeChat/Telegram/Feishu, session console | | 🧊 FROZEN — see the repo README |
|
|
320
320
|
| **[dsh-research-report](https://github.com/PerryLink/dsh-research-report)** | Verifiable research-report engine: content-addressed evidence ledger and sealed versions | |
|
|
321
321
|
| **[dsh-score](https://github.com/PerryLink/dsh-score)** | Multi-dimensional quality scoring for DeepSeek Harness plugins. | |
|
|
322
|
-
| **[dsh-session-pin](https://github.com/PerryLink/dsh-session-pin)** | Pin sessions in the Web sidebar with durable ordering | |
|
|
322
|
+
| **[dsh-session-pin](https://github.com/PerryLink/dsh-session-pin)** | Pin sessions in the Web sidebar with durable ordering | 🚫 **已退役** — 见上方说明 |
|
|
323
323
|
| **[dsh-session-sync](https://github.com/PerryLink/dsh-session-sync)** | Cross-device session sync for DeepSeek Harness — a dedicated git mirror of your session store. | |
|
|
324
324
|
| **[dsh-skill-pack-security](https://github.com/PerryLink/dsh-skill-pack-security)** | Security-audit skill pack: secret scan, dependency and supply-chain review | |
|
|
325
325
|
| **[dsh-talk](https://github.com/PerryLink/dsh-talk)** | Voice-first session loop for DeepSeek Harness: talk to it, hear it answer. | |
|
|
326
|
-
| **[dsh-team-rooms](https://github.com/PerryLink/dsh-team-rooms)** | Cross-session team rooms: shared message bus, task board and timeline | |
|
|
326
|
+
| **[dsh-team-rooms](https://github.com/PerryLink/dsh-team-rooms)** | Cross-session team rooms: shared message bus, task board and timeline | 🚫 **已退役** — 见上方说明 |
|
|
327
327
|
| **[dsh-test-drive](https://github.com/PerryLink/dsh-test-drive)** | Isolated install-and-smoke test drives for DeepSeek Harness plugins. | |
|
|
328
328
|
| **[dsh-ticktick](https://github.com/PerryLink/dsh-ticktick)** | TickTick/Dida365 task bridge: session-header panel + 11 tools | |
|
|
329
329
|
| **[dsh-translate](https://github.com/PerryLink/dsh-translate)** | Vendor parameter translation and deterministic JSON repair for DeepSeek Harness. | |
|
|
330
|
-
|
package/README.md
CHANGED
|
@@ -1,376 +1,375 @@
|
|
|
1
|
-
# dsh-autotier
|
|
2
|
-
|
|
3
|
-
[](https://gitee.com/perrylink/dsh-autotier)
|
|
4
|
-
[](https://api.securityscorecards.dev/projects/github.com/PerryLink/dsh-autotier)
|
|
5
|
-
[](LICENSE)
|
|
6
|
-
[](https://github.com/topics/dsh-plugin)
|
|
7
|
-
[](https://github.com/PerryLink/dsh-plugin-doctor#verified-徽章)
|
|
8
|
-
[](https://dsh.market/)
|
|
9
|
-
[](#)
|
|
10
|
-
[](https://github.com/PerryLink/dsh-autotier/actions)
|
|
11
|
-
[](https://github.com/PerryLink/dsh-autotier/releases)
|
|
12
|
-
[](https://dshfind.com/plugins/PerryLink/dsh-autotier?ref=badge)
|
|
13
|
-
|
|
14
|
-
**English** | [简体中文](README-zh.md) | [Español](README-es.md) | [Português](README-pt.md) | [हिन्दी](README-hi.md)
|
|
15
|
-
|
|
16
|
-
Automatic model-tier routing for DeepSeek Harness: one user instruction enters,
|
|
17
|
-
one tier decision comes out — no manual model switching.
|
|
18
|
-
|
|
19
|
-
Complex intent (architecture, planning, debugging, multi-step engineering) is
|
|
20
|
-
planned on the **strong** tier and then implemented on the **cheap** tier.
|
|
21
|
-
Simple intent (questions, retrieval, batch chores, daily work) is designed and
|
|
22
|
-
implemented on the **cheap** tier directly. While the cheap tier executes,
|
|
23
|
-
high-risk tool calls are denied by a deterministic guard, and repeated failures
|
|
24
|
-
escalate to the strong tier with a TTL fallback.
|
|
25
|
-
|
|
26
|
-
- **Official repository**: <https://github.com/PerryLink/dsh-autotier>
|
|
27
|
-
- **npm**: `dsh-autotier` (bare, unscoped)
|
|
28
|
-
|
|
29
|
-
<!-- star-cta -->
|
|
30
|
-
## ⭐ 如果它帮到了你
|
|
31
|
-
|
|
32
|
-
这个插件是 [DSH 插件家族](https://github.com/PerryLink)的一员(40+ 个,全部 Apache-2.0)。如果你在用,**给个 star** —— 它不会解锁任何功能,但会让下一个人在搜索里更容易找到它。
|
|
33
|
-
|
|
34
|
-
*English:* part of a 40+ plugin family for DeepSeek Harness. If it is useful, **a star helps the next person find it** — nothing is gated behind it.
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
## Compatibility
|
|
38
|
-
|
|
39
|
-
| Harness | Status |
|
|
40
|
-
|---|---|
|
|
41
|
-
| `@deepseek-ai/dsh` `0.1.2-rc.1` | no longer supported; that line predates the `SettingsForms` contract this plugin now targets |
|
|
42
|
-
| `@deepseek-ai/dsh` `0.1.5-rc.2` | no longer supported; the `settings.register` / `settings/updated` contract it exposes was removed upstream |
|
|
43
|
-
| `@deepseek-ai/dsh` `0.1.6-alpha.2` | no longer supported; same removal, first line to ship `SettingsForms` |
|
|
44
|
-
| `@deepseek-ai/dsh` `0.1.7-rc.2` | **required**; verified against the matching checkout (`typecheck`) and the published packages (`typecheck:ci`, 214 tests) |
|
|
45
|
-
| `@deepseek-ai/cordis` `^4.0.3`, `@deepseek-ai/cosmokit` `^1.8.4`, `@deepseek-ai/schemastery` `^3.18.3` | peer baseline |
|
|
46
|
-
|
|
47
|
-
Peer ranges name all published lines explicitly (`>=0.1.6-0 <0.2.0 || >=0.
|
|
48
|
-
comparator sits on an earlier version tuple does not admit a later alpha.
|
|
49
|
-
They are refreshed per published wave. The declared range is deliberately wider
|
|
50
|
-
than the verified one: it documents what the manifest accepts, not what has been
|
|
51
|
-
tested.
|
|
52
|
-
|
|
53
|
-
**This release is a breaking adaptation.** The `0.1.6`-generation harness
|
|
54
|
-
removed the settings *provider* seam this plugin was built on: the
|
|
55
|
-
`@deepseek-ai/dsh-settings-file` package is gone, `ctx.settings` is now
|
|
56
|
-
`SettingsForms` (a schema→form projector, with no `register`), and
|
|
57
|
-
`settings/updated` no longer exists. There is no shared surface that lets one
|
|
58
|
-
plugin observe another plugin's settings document, so no version of this plugin
|
|
59
|
-
can support both contracts at once. Configuration now flows through the host's
|
|
60
|
-
volatile-config mechanism, and the per-session routing mode — the setting that
|
|
61
|
-
actually changes behaviour at runtime — is unchanged.
|
|
62
|
-
|
|
63
|
-
The plugin is host-plane only. It needs no agent preset of its own: the host
|
|
64
|
-
row applies to every session. A one-line prompt section in *your* preset is
|
|
65
|
-
optional and only makes the router's decisions visible to the model (see
|
|
66
|
-
[Install & uninstall](#install--uninstall)).
|
|
67
|
-
|
|
68
|
-
## What you get
|
|
69
|
-
|
|
70
|
-
- **Intent gate** — every turn is classified from deterministic signals
|
|
71
|
-
(message text, tool names, image presence, conversation length). The
|
|
72
|
-
zero-token rule layer decides when it is confident; only a low-confidence turn
|
|
73
|
-
calls the cheap judge model, and never on a cooldown.
|
|
74
|
-
- **Tier landing on the official seam** — the decision is applied on the
|
|
75
|
-
`agent/request` waterfall by returning a replacement provider/model/effort
|
|
76
|
-
triple. Sampling scalars the session already chose (`temperature`, `maxTokens`,
|
|
77
|
-
`stop`) are preserved.
|
|
78
|
-
- **Plan-mode handoff** — a complex instruction enters plan mode on the strong
|
|
79
|
-
tier; leaving plan mode drops back to the cheap tier for implementation.
|
|
80
|
-
- **High-risk guard** — while the cheap tier executes, destructive commands
|
|
81
|
-
(`rm -rf`, `sudo`, `mkfs`, `git push --force`, credential-file writes, …) are
|
|
82
|
-
denied with a corrective message telling the model to escalate instead.
|
|
83
|
-
- **Failure escalation** — repeated failures (optionally same-signature) raise
|
|
84
|
-
the tier for a TTL; a model/route failure walks the configured fallback chain.
|
|
85
|
-
- **Manual escape hatches** — `/tier auto|strong|cheap|off` and the
|
|
86
|
-
`tier_status` / `tier_route` tools. Setting `routingMode: delegated` (or
|
|
87
|
-
`/tier off`) stops routing for a session that must keep its own model.
|
|
88
|
-
- **`ctx.autotier` service** — a small read surface (`status`) plus the
|
|
89
|
-
`autotier/route` veto waterfall and `autotier/tier-changed` event, so other
|
|
90
|
-
plugins can observe or override a decision.
|
|
91
|
-
|
|
92
|
-
## Quick start
|
|
93
|
-
|
|
94
|
-
```bash
|
|
95
|
-
dsh plugin --profile web add dsh-autotier
|
|
96
|
-
npm i -g dsh1024
|
|
97
|
-
dsh1024 plugin --profile web add dsh-autotier
|
|
98
|
-
```
|
|
99
|
-
|
|
100
|
-
Then start (or restart) the harness. The row is appended to your profile's
|
|
101
|
-
`cordis.patch.yml`; routing starts on the next turn with no further setup.
|
|
102
|
-
|
|
103
|
-
## Install & uninstall
|
|
104
|
-
|
|
105
|
-
**npm channel**
|
|
106
|
-
|
|
107
|
-
```bash
|
|
108
|
-
dsh plugin --profile web add dsh-autotier
|
|
109
|
-
npm i -g dsh1024
|
|
110
|
-
dsh1024 plugin --profile web add dsh-autotier
|
|
111
|
-
```
|
|
112
|
-
|
|
113
|
-
**git channel**
|
|
114
|
-
|
|
115
|
-
```bash
|
|
116
|
-
dsh plugin --profile web add "github:PerryLink/dsh-autotier#main"
|
|
117
|
-
git clone https://github.com/PerryLink/dsh-autotier.git
|
|
118
|
-
cd dsh-autotier && pnpm install && pnpm run build
|
|
119
|
-
dsh plugin --profile web add .
|
|
120
|
-
```
|
|
121
|
-
|
|
122
|
-
**Optional preset prompt section.** The router works without it. To let the
|
|
123
|
-
model know which tier it is running on, add one row to *your* agent preset
|
|
124
|
-
(`docs/preset-row.md` has the exact block):
|
|
125
|
-
|
|
126
|
-
```yaml
|
|
127
|
-
- insert:
|
|
128
|
-
- id: autotier-prompt
|
|
129
|
-
name: '@deepseek-ai/dsh-system-prompt'
|
|
130
|
-
# sections: [...] — see docs/preset-row.md
|
|
131
|
-
```
|
|
132
|
-
|
|
133
|
-
**Uninstall**
|
|
134
|
-
|
|
135
|
-
```bash
|
|
136
|
-
dsh plugin --profile web remove dsh-autotier
|
|
137
|
-
```
|
|
138
|
-
|
|
139
|
-
The row, its command, its tools and its listeners are all removed with the
|
|
140
|
-
plugin. Configuration a user saved through the Plugins page lives in the active
|
|
141
|
-
profile patch and belongs to that profile, not to this plugin; removing the row
|
|
142
|
-
leaves it there untouched.
|
|
143
|
-
|
|
144
|
-
## Configuration
|
|
145
|
-
|
|
146
|
-
Every key is validated at load time; an invalid value fails loudly instead of
|
|
147
|
-
silently disabling routing. `cordis.patch.yml` in this repository documents the
|
|
148
|
-
same keys inline.
|
|
149
|
-
|
|
150
|
-
| Key | Default | Meaning |
|
|
151
|
-
|---|---|---|
|
|
152
|
-
| `tiers.strong.provider` | `deepseek-official` | Provider for the planning/review tier. |
|
|
153
|
-
| `tiers.strong.model` | `deepseek-v4-pro` | Catalog id of the strong model. |
|
|
154
|
-
| `tiers.strong.effort` | `high` | Adapter vocabulary `off` \| `low` \| `high` \| `max`. |
|
|
155
|
-
| `tiers.strong.followSession` | `false` | `false` = this tier's effort overrides the session's. |
|
|
156
|
-
| `tiers.strong.fallback` | `[]` | Ordered provider/model landings when the tier is unavailable. |
|
|
157
|
-
| `tiers.cheap.provider` | `deepseek-official` | Provider for the implementation tier. |
|
|
158
|
-
| `tiers.cheap.model` | `deepseek-flash` | Catalog id of the cheap model. |
|
|
159
|
-
| `tiers.cheap.effort` | `low` | Adapter vocabulary `off` \| `low` \| `high` \| `max`. |
|
|
160
|
-
| `tiers.cheap.followSession` | `true` | `true` = inherit the session's effort so an explicit choice wins. |
|
|
161
|
-
| `tiers.cheap.fallback` | `[]` | Ordered provider/model landings when the tier is unavailable. |
|
|
162
|
-
| `tiers.vision.provider` | `deepseek-official` | Provider for image-carrying turns. |
|
|
163
|
-
| `tiers.vision.model` | `deepseek-flash` | The catalog's image-capable model. |
|
|
164
|
-
| `intent.ruleThreshold` | `0.7` | Confidence at or above which the rule layer decides alone. |
|
|
165
|
-
| `intent.attemptBand.enabled` | `false` | Start the middle band on the cheap tier and escalate on a signal. |
|
|
166
|
-
| `intent.attemptBand.tauLow` | `0.45` | Lower bound of the attempt-first band. |
|
|
167
|
-
| `intent.hysteresis.toStrong` | `0.8` | Score that switches a cheap turn to strong. |
|
|
168
|
-
| `intent.hysteresis.toCheap` | `0.6` | Score below which a strong turn returns to cheap. |
|
|
169
|
-
| `intent.rules` | `[]` | Declarative rule table (`when.patterns` / `when.tools` / `when.cwd`, `tier`, `priority`). |
|
|
170
|
-
| `intent.judge.enabled` | `true` | Allow the low-confidence judge. |
|
|
171
|
-
| `intent.judge.model` | `''` | Judge model id; empty = first catalog model containing `flash`. |
|
|
172
|
-
| `intent.judge.temperature` | `0` | Judge sampling temperature. |
|
|
173
|
-
| `intent.judge.maxTokens` | `16` | Judge output cap (it answers with one word). |
|
|
174
|
-
| `intent.judge.cooldownMs` | `30000` | Minimum gap between two judge calls. |
|
|
175
|
-
| `intent.judge.timeoutMs` | `2000` | Judge call timeout. |
|
|
176
|
-
| `intent.judge.unavailableSkip` | `2` | Consecutive judge failures after which the turn skips it. |
|
|
177
|
-
| `intent.scenarios` | all `true` | Per-scenario switches: `coding`, `review`, `planning`, `retrieval`, `batch`, `daily`, `longText`, `multimodal`. |
|
|
178
|
-
| `intent.costMode` | `balanced` | Ambiguity arbitration: `cost-first` \| `quality-first` \| `balanced`. |
|
|
179
|
-
| `guard.enabled` | `true` | Enable the deterministic high-risk guard. |
|
|
180
|
-
| `guard.tiers` | `[cheap]` | Tiers the guard protects. |
|
|
181
|
-
| `guard.whitelist` | `[]` | Commands, tools or path prefixes that never trip the guard. |
|
|
182
|
-
| `guard.protectedPaths` | `['.dsh','AGENTS.md','package.json','.github/workflows']` | Self-modification surfaces that force strong-tier review. |
|
|
183
|
-
| `guard.interopDefend` | `auto` | Relationship with `dsh-defend`: `auto` audits coexistence, `none` stays silent. |
|
|
184
|
-
| `escalation.threshold` | `2` | Failures within the window that raise the tier. |
|
|
185
|
-
| `escalation.windowMs` | `60000` | Failure-counting window. |
|
|
186
|
-
| `escalation.ttlMs` | `180000` | How long an escalation stays in effect. |
|
|
187
|
-
| `escalation.fallbackTtlMs` | `300000` | TTL used after a fallback landing was taken. |
|
|
188
|
-
| `escalation.signature` | `true` | Count same-signature recurrences instead of every failure. |
|
|
189
|
-
| `routingMode` | `auto` | `auto` \| `strong` \| `cheap` \| `delegated` \| `off`. |
|
|
190
|
-
|
|
191
|
-
All keys can also be edited live from the plugin's card on the Plugins page; the
|
|
192
|
-
Host validates the new value against the schema and commits it with
|
|
193
|
-
`loader/volatile-update`, and this plugin then re-judges the whole configuration
|
|
194
|
-
through the same cross-field judge the mount path uses. A value that violates a
|
|
195
|
-
cross-field requirement (two tiers landing on the same route, a hysteresis pair
|
|
196
|
-
that cannot stop flapping, a rule with neither a pattern nor a tool) leaves the
|
|
197
|
-
last good policy routing instead of swapping in something unroutable.
|
|
198
|
-
|
|
199
|
-
`routingMode` is the one key that is **not** live: it is the composition
|
|
200
|
-
default, and the runtime switch is the session-scoped override written by
|
|
201
|
-
`/tier`, the composer pill and the card's selector. Making it live as well would
|
|
202
|
-
give the same behaviour two owners.
|
|
203
|
-
|
|
204
|
-
## Tools & surfaces
|
|
205
|
-
|
|
206
|
-
| Surface | Kind | Purpose |
|
|
207
|
-
|---|---|---|
|
|
208
|
-
| `/tier` | command | `auto` \| `strong` \| `cheap` \| `off` \| `status`; session-scoped override. |
|
|
209
|
-
| `tier_status` | tool | Current tier, mode, escalation TTL and guard state. |
|
|
210
|
-
| `tier_route` | tool | Route one intent string without sending a request (dry run). |
|
|
211
|
-
| `ctx.autotier` | service | `status()` read surface for other plugins. |
|
|
212
|
-
| `autotier/route` | serial event | Third parties may veto a proposed tier. |
|
|
213
|
-
| `autotier/tier-changed` | emit event | Observability when the effective tier changes. |
|
|
214
|
-
|
|
215
|
-
## Permissions & data
|
|
216
|
-
|
|
217
|
-
- **Files** — the plugin reads no file and writes none. Configuration is the
|
|
218
|
-
host's: a value saved on the Plugins page is persisted by the Host into the
|
|
219
|
-
active profile patch, and this plugin only reads the live snapshot it is
|
|
220
|
-
handed.
|
|
221
|
-
- **Network** — the only outbound traffic is the judge call, which goes through
|
|
222
|
-
the normal `ctx.llm` path and the configured provider.
|
|
223
|
-
- **Session log** — the plugin appends no custom session events. The routing
|
|
224
|
-
trail is the plugin logger plus the live `autotier/tier-changed` bus event;
|
|
225
|
-
the only append it makes is the `plan/mode` fallback when the plan-mode
|
|
226
|
-
service is absent. Custom event types are fail-closed on `0.1.2-alpha.1` and
|
|
227
|
-
later, so no durable plugin-owned record is written.
|
|
228
|
-
- **Secrets** — no credential is read, logged or stored by this plugin.
|
|
229
|
-
|
|
230
|
-
## Security boundaries
|
|
231
|
-
|
|
232
|
-
- The guard is a **defence in depth**, not a sandbox. It denies the patterns it
|
|
233
|
-
knows on the cheap tier and never weakens `dsh-defend`, the approval service,
|
|
234
|
-
or the sandbox policy. Keep those enabled.
|
|
235
|
-
- The guard protects only the tiers listed in `guard.tiers` (cheap by default).
|
|
236
|
-
A strong-tier turn is not blocked by design: the strong model is the reviewer.
|
|
237
|
-
- If the guard itself throws, the call is escalated to the strong tier rather
|
|
238
|
-
than allowed — a broken guard must not become an open door.
|
|
239
|
-
- `/tier off` disables routing entirely; the harness then behaves exactly as it
|
|
240
|
-
did before the plugin was installed.
|
|
241
|
-
|
|
242
|
-
## Known limitations
|
|
243
|
-
|
|
244
|
-
- The rule layer is deterministic and therefore finite: a novel phrasing of a
|
|
245
|
-
complex request may start on the cheap tier and escalate only after a failure
|
|
246
|
-
or a guard denial. The judge call covers the low-confidence middle.
|
|
247
|
-
- Escalation is per-agent and in-memory; a harness restart starts from `auto`.
|
|
248
|
-
- Tier switching resets the provider prompt cache for the changed request, so
|
|
249
|
-
very chatty sessions may see a small cache-miss cost on the switch turn. The
|
|
250
|
-
hysteresis thresholds exist to keep that rare.
|
|
251
|
-
- The plugin routes conversation requests. Compaction and title generation are
|
|
252
|
-
separate host seams; align their own model settings with the cheap tier if you
|
|
253
|
-
want the same cost profile (`docs/supporting-lanes.md`).
|
|
254
|
-
- `followSession: true` on the cheap tier means an explicit session model choice
|
|
255
|
-
wins; in that case the cheap tier cannot force its own model.
|
|
256
|
-
- **The Settings card and composer tier pill shipped in 0.2.0.** The card
|
|
257
|
-
(routing mode, live tier landings, model catalog) lives in the Plugins settings
|
|
258
|
-
section and the pill cycles the session mode from the composer.
|
|
259
|
-
- **A model picked in the GUI is not detected automatically.** The router does
|
|
260
|
-
not watch the `agent-default-model` document, so switching models there does
|
|
261
|
-
not by itself stop routing — use `routingMode: delegated` or `/tier off`.
|
|
262
|
-
- **Fingerprint posteriors are in-memory.** They reset on restart and re-learn
|
|
263
|
-
from the judge's cold-start fallback; persisting them through the settings
|
|
264
|
-
document is planned for v0.2.
|
|
265
|
-
- **The attempt-first middle band ships disabled.** `intent.attemptBand.enabled`
|
|
266
|
-
stays `false` until the calibration corpus and its metric gate land (v0.2).
|
|
267
|
-
|
|
268
|
-
## Development
|
|
269
|
-
|
|
270
|
-
```bash
|
|
271
|
-
pnpm install
|
|
272
|
-
pnpm run typecheck # against the local harness checkout type faces
|
|
273
|
-
pnpm run typecheck:ci # against the published 0.1.7-rc.2 faces (what CI runs)
|
|
274
|
-
pnpm test
|
|
275
|
-
pnpm run build
|
|
276
|
-
pnpm run verify:self-contained
|
|
277
|
-
pnpm run verify:artifacts
|
|
278
|
-
pnpm pack
|
|
279
|
-
```
|
|
280
|
-
|
|
281
|
-
`pnpm run build` emits `lib/types` (tsc declarations) and `lib/index.js`
|
|
282
|
-
(tsdown bundle). Tests use the published host packages directly — real
|
|
283
|
-
`Context`, real session/tools/commands services — plus one real Loader
|
|
284
|
-
composition over a temporary `cordis.yml`. The `settings` service is the one
|
|
285
|
-
stand-in: the host's real `SettingsForms` binds to `configEditor`,
|
|
286
|
-
`profileContext` and the Loader's fiber graph, none of which this plugin
|
|
287
|
-
consumes, while the plugin's whole contract with it is `configure({ auto })`
|
|
288
|
-
plus the Loader's `loader/volatile-update` event.
|
|
289
|
-
|
|
290
|
-
## Interoperability with other DSH plugins
|
|
291
|
-
|
|
292
|
-
Verified against **DSH `0.2.0-rc.2`** (the runtime this README ships for) and the high-star plugin set surveyed on 2026-10-05.
|
|
293
|
-
|
|
294
|
-
This plugin **does not interfere** with other plugins, including the widely installed high-star ones:
|
|
295
|
-
|
|
296
|
-
- **No tool-name collision.** Every tool is namespaced; no bare name owned by a shipped tool or another plugin is registered.
|
|
297
|
-
- **No service-key collision.** It provides `autotier`; that key is not a built-in seam and is not provided by any surveyed high-star plugin.
|
|
298
|
-
- **No slot collision.** It registers no client slot key, so it cannot contend for a `shadows-shipped-ui` seat.
|
|
299
|
-
- **No HTTP route collision.** It registers no `webServer` prefix.
|
|
300
|
-
- **No patch-layer collision.** The bundle patch only `insert`s its own row; it never overrides a built-in row's `config`.
|
|
301
|
-
- **No global mutation.** It does not patch prototypes, rewrite `process.env`, or replace the global fetch dispatcher.
|
|
302
|
-
|
|
303
|
-
**Shared event listeners are non-interfering by construction.** It observes the ordering-sensitive events `agent/created`, `agent/request`, `agent/request-error`, `tools/pre-execute` with `ctx.on()` — Cordis's broadcast registration, where every listener runs and none can starve another. **Every listener here delegates through `next()`**, so the chain is never short-circuited, and a mutation is applied to the value `next()` produced rather than returned in its place:
|
|
304
|
-
- `agent/request` — also used by `dsh-agent-teams` (1923★), which short-circuits by throwing without calling `next()`.
|
|
305
|
-
- `tools/pre-execute` — also used by `cc-safety-net` (1576★).
|
|
306
|
-
|
|
307
|
-
Static evidence: `dsh-plugin-doctor` K10–K13 report `pass` for every check on this repository.
|
|
308
|
-
|
|
309
|
-
## Topics
|
|
310
|
-
|
|
311
|
-
`dsh`, `dsh-plugin`, `deepseek-harness`, `deepseek`, `cordis`, `router`,
|
|
312
|
-
`model-tier`, `cost`, `auto`.
|
|
313
|
-
|
|
314
|
-
## Contributors
|
|
315
|
-
|
|
316
|
-
PerryLink. Issues and pull requests are welcome at
|
|
317
|
-
<https://github.com/PerryLink/dsh-autotier/issues>.
|
|
318
|
-
|
|
319
|
-
**Applicable DSH version:** verified against `dsh-v0.2.1-alpha.1` (the host release this build targets); requires `>=0.1.7-alpha.1 <0.2.0`.
|
|
320
|
-
|
|
321
|
-
## PerryLink DSH Plugin Family
|
|
322
|
-
|
|
323
|
-
This project is one of the **
|
|
324
|
-
|
|
325
|
-
| Plugin | One-liner |
|
|
326
|
-
|---|---|
|
|
327
|
-
| **[dsh-auto-review](https://github.com/PerryLink/dsh-auto-review)** | Second-model auto-review on the approval chain, fail-closed by default | |
|
|
328
|
-
| **[dsh-autotier](https://github.com/PerryLink/dsh-autotier)** | Automatic strong/cheap model-tier routing with deterministic risk guards and a `/tier` command | |
|
|
329
|
-
| **[dsh-background-agents](https://github.com/PerryLink/dsh-background-agents)** | Durable background child agents with a Web UI sidebar, messaging and interrupt | |
|
|
330
|
-
| **[dsh-budget](https://github.com/PerryLink/dsh-budget)** | Cost governance for DeepSeek Harness: budgets, carbon, and latency in one panel. | |
|
|
331
|
-
| **[dsh-catalog](https://github.com/PerryLink/dsh-catalog)** | DSH Desktop Market standard catalog source for the PerryLink family | |
|
|
332
|
-
| **[dsh-cert-mcp](https://github.com/PerryLink/dsh-cert-mcp)** | Read-only MCP server exposing the certification registry: grades, snapshots and five-dimension evidence | |
|
|
333
|
-
| **[dsh-checkpoint-rewind](https://github.com/PerryLink/dsh-checkpoint-rewind)** | Claude Code /rewind-equivalent: snapshots, session forks, one-shot restore | |
|
|
334
|
-
| **[dsh-claude-move](https://github.com/PerryLink/dsh-claude-move)** | Migrate Claude Code sessions, memory, skills and CLAUDE.md into DSH | |
|
|
335
|
-
| **[dsh-click](https://github.com/PerryLink/dsh-click)** | Cross-platform native desktop control for DeepSeek Harness — Windows first. | |
|
|
336
|
-
| **[dsh-composer-history](https://github.com/PerryLink/dsh-composer-history)** | Terminal-style input history for the web composer: arrows, Ctrl+R search | |
|
|
337
|
-
| **[dsh-data-quality](https://github.com/PerryLink/dsh-data-quality)** | Dataset quality checks and citation cross-checks (the optional numeric bridge consumed here) | |
|
|
338
|
-
| **[dsh-defend](https://github.com/PerryLink/dsh-defend)** | Prompt-injection, jailbreak, and secret-leak defense for DeepSeek Harness. | |
|
|
339
|
-
| **[dsh-doublecheck](https://github.com/PerryLink/dsh-doublecheck)** | Engineering-discipline guard: requirements grill, test gates, adversary review | |
|
|
340
|
-
| **[dsh-draw](https://github.com/PerryLink/dsh-draw)** | Unified static-image generation routing for DeepSeek Harness. | |
|
|
341
|
-
| **[dsh-fast](https://github.com/PerryLink/dsh-fast)** | Read-only performance diagnostics for DeepSeek Harness. | |
|
|
342
|
-
| **[dsh-fund-research](https://github.com/PerryLink/dsh-fund-research)** | Deterministic research reports for Chinese public mutual funds | |
|
|
343
|
-
| **[dsh-github](https://github.com/PerryLink/dsh-github)** | GitHub PR/issues integration for DSH, every write gated by approval | |
|
|
344
|
-
| **[dsh-industry-research](https://github.com/PerryLink/dsh-industry-research)** | Industry research orchestration that seals its deliverables through this plugin's `ctx.researchReport.assemble` | |
|
|
345
|
-
| **[dsh-laya](https://github.com/PerryLink/dsh-laya)** | Laya typed decisions (`noul`/`choice`/`score`) as a first-class Cordis service and model-visible tools | |
|
|
346
|
-
| **[dsh-library](https://github.com/PerryLink/dsh-library)** | Local document knowledge base for DeepSeek Harness. | |
|
|
347
|
-
| **[dsh-local-ai](https://github.com/PerryLink/dsh-local-ai)** | Local-model (Ollama) integration for DeepSeek Harness. | |
|
|
348
|
-
| **[dsh-lsp-actions](https://github.com/PerryLink/dsh-lsp-actions)** | LSP diagnostics, formatting, completion, code actions and rename over language servers | |
|
|
349
|
-
| **[dsh-mask](https://github.com/PerryLink/dsh-mask)** | PII masking middleware: anonymize at the model boundary, restore at the display layer | |
|
|
350
|
-
| **[dsh-mcp-panel](https://github.com/PerryLink/dsh-mcp-panel)** | Read-only MCP runtime panel: /mcp command + Settings tab with status, tools and errors | |
|
|
351
|
-
| **[dsh-memento](https://github.com/PerryLink/dsh-memento)** | Approval-gated cross-session memory: ctx.memory seam + SQLite + memory tool | |
|
|
352
|
-
| **[dsh-observe](https://github.com/PerryLink/dsh-observe)** | OpenTelemetry and Langfuse observability exporter for DeepSeek Harness. | |
|
|
353
|
-
| **[dsh-output-styles](https://github.com/PerryLink/dsh-output-styles)** | Claude Code outputStyles-equivalent runtime style switching | |
|
|
354
|
-
| **[dsh-permission-rules](https://github.com/PerryLink/dsh-permission-rules)** | Claude Code-style declarative allow/deny/ask permission rules with audit | |
|
|
355
|
-
| **[dsh-plugin-certification](https://github.com/PerryLink/dsh-plugin-certification)** | Community certification registry with repro-checkable grades and badges | |
|
|
356
|
-
| **[dsh-plugin-doctor](https://github.com/PerryLink/dsh-plugin-doctor)** | Zero-dependency static + sandbox smoke detector for DSH plugins | |
|
|
357
|
-
| **[dsh-plugin-guide](https://github.com/PerryLink/dsh-plugin-guide)** | Plugin-development knowledge base as an on-demand agent skill | |
|
|
358
|
-
| **[dsh-plugin-kit](https://github.com/PerryLink/dsh-plugin-kit)** | Shared zero-runtime-dependency toolkit for the PerryLink DSH plugins | |
|
|
359
|
-
| **[dsh-plugin-upgrade](https://github.com/PerryLink/dsh-plugin-upgrade)** | One-package, one-corridor-index plugin upgrade skill: routes a repository to the matching closed corridor card | |
|
|
360
|
-
| **[dsh-reach](https://github.com/PerryLink/dsh-reach)** | Multi-channel approval/question bridge: WeChat/Telegram/Feishu, session console | |
|
|
361
|
-
| **[dsh-research-report](https://github.com/PerryLink/dsh-research-report)** | Verifiable research-report engine: content-addressed evidence ledger and sealed versions | |
|
|
362
|
-
| **[dsh-score](https://github.com/PerryLink/dsh-score)** | Multi-dimensional quality scoring for DeepSeek Harness plugins. | |
|
|
363
|
-
| **[dsh-session-pin](https://github.com/PerryLink/dsh-session-pin)** | Pin sessions in the Web sidebar with durable ordering | |
|
|
364
|
-
| **[dsh-session-sync](https://github.com/PerryLink/dsh-session-sync)** | Cross-device session sync for DeepSeek Harness — a dedicated git mirror of your session store. | |
|
|
365
|
-
| **[dsh-skill-pack-security](https://github.com/PerryLink/dsh-skill-pack-security)** | Security-audit skill pack: secret scan, dependency and supply-chain review | |
|
|
366
|
-
| **[dsh-talk](https://github.com/PerryLink/dsh-talk)** | Voice-first session loop for DeepSeek Harness: talk to it, hear it answer. | |
|
|
367
|
-
| **[dsh-team-rooms](https://github.com/PerryLink/dsh-team-rooms)** | Cross-session team rooms: shared message bus, task board and timeline | |
|
|
368
|
-
| **[dsh-test-drive](https://github.com/PerryLink/dsh-test-drive)** | Isolated install-and-smoke test drives for DeepSeek Harness plugins. | |
|
|
369
|
-
| **[dsh-ticktick](https://github.com/PerryLink/dsh-ticktick)** | TickTick/Dida365 task bridge: session-header panel + 11 tools | |
|
|
370
|
-
| **[dsh-translate](https://github.com/PerryLink/dsh-translate)** | Vendor parameter translation and deterministic JSON repair for DeepSeek Harness. | |
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
[THIRD_PARTY_NOTICES.md](./THIRD_PARTY_NOTICES.md).
|
|
1
|
+
# dsh-autotier
|
|
2
|
+
|
|
3
|
+
[](https://gitee.com/perrylink/dsh-autotier)
|
|
4
|
+
[](https://api.securityscorecards.dev/projects/github.com/PerryLink/dsh-autotier)
|
|
5
|
+
[](LICENSE)
|
|
6
|
+
[](https://github.com/topics/dsh-plugin)
|
|
7
|
+
[](https://github.com/PerryLink/dsh-plugin-doctor#verified-徽章)
|
|
8
|
+
[](https://dsh.market/)
|
|
9
|
+
[](#)
|
|
10
|
+
[](https://github.com/PerryLink/dsh-autotier/actions)
|
|
11
|
+
[](https://github.com/PerryLink/dsh-autotier/releases)
|
|
12
|
+
[](https://dshfind.com/plugins/PerryLink/dsh-autotier?ref=badge)
|
|
13
|
+
|
|
14
|
+
**English** | [简体中文](README-zh.md) | [Español](README-es.md) | [Português](README-pt.md) | [हिन्दी](README-hi.md)
|
|
15
|
+
|
|
16
|
+
Automatic model-tier routing for DeepSeek Harness: one user instruction enters,
|
|
17
|
+
one tier decision comes out — no manual model switching.
|
|
18
|
+
|
|
19
|
+
Complex intent (architecture, planning, debugging, multi-step engineering) is
|
|
20
|
+
planned on the **strong** tier and then implemented on the **cheap** tier.
|
|
21
|
+
Simple intent (questions, retrieval, batch chores, daily work) is designed and
|
|
22
|
+
implemented on the **cheap** tier directly. While the cheap tier executes,
|
|
23
|
+
high-risk tool calls are denied by a deterministic guard, and repeated failures
|
|
24
|
+
escalate to the strong tier with a TTL fallback.
|
|
25
|
+
|
|
26
|
+
- **Official repository**: <https://github.com/PerryLink/dsh-autotier>
|
|
27
|
+
- **npm**: `dsh-autotier` (bare, unscoped)
|
|
28
|
+
|
|
29
|
+
<!-- star-cta -->
|
|
30
|
+
## ⭐ 如果它帮到了你
|
|
31
|
+
|
|
32
|
+
这个插件是 [DSH 插件家族](https://github.com/PerryLink)的一员(40+ 个,全部 Apache-2.0)。如果你在用,**给个 star** —— 它不会解锁任何功能,但会让下一个人在搜索里更容易找到它。
|
|
33
|
+
|
|
34
|
+
*English:* part of a 40+ plugin family for DeepSeek Harness. If it is useful, **a star helps the next person find it** — nothing is gated behind it.
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
## Compatibility
|
|
38
|
+
|
|
39
|
+
| Harness | Status |
|
|
40
|
+
|---|---|
|
|
41
|
+
| `@deepseek-ai/dsh` `0.1.2-rc.1` | no longer supported; that line predates the `SettingsForms` contract this plugin now targets |
|
|
42
|
+
| `@deepseek-ai/dsh` `0.1.5-rc.2` | no longer supported; the `settings.register` / `settings/updated` contract it exposes was removed upstream |
|
|
43
|
+
| `@deepseek-ai/dsh` `0.1.6-alpha.2` | no longer supported; same removal, first line to ship `SettingsForms` |
|
|
44
|
+
| `@deepseek-ai/dsh` `0.1.7-rc.2` | **required**; verified against the matching checkout (`typecheck`) and the published packages (`typecheck:ci`, 214 tests) |
|
|
45
|
+
| `@deepseek-ai/cordis` `^4.0.3`, `@deepseek-ai/cosmokit` `^1.8.4`, `@deepseek-ai/schemastery` `^3.18.3` | peer baseline |
|
|
46
|
+
|
|
47
|
+
Peer ranges name all published lines explicitly (`>=0.1.6-0 <0.2.0 || >=0.2.0-0 <0.3.0 || >=0.2.1-0 <0.3.0`), because a semver range whose only prerelease
|
|
48
|
+
comparator sits on an earlier version tuple does not admit a later alpha.
|
|
49
|
+
They are refreshed per published wave. The declared range is deliberately wider
|
|
50
|
+
than the verified one: it documents what the manifest accepts, not what has been
|
|
51
|
+
tested.
|
|
52
|
+
|
|
53
|
+
**This release is a breaking adaptation.** The `0.1.6`-generation harness
|
|
54
|
+
removed the settings *provider* seam this plugin was built on: the
|
|
55
|
+
`@deepseek-ai/dsh-settings-file` package is gone, `ctx.settings` is now
|
|
56
|
+
`SettingsForms` (a schema→form projector, with no `register`), and
|
|
57
|
+
`settings/updated` no longer exists. There is no shared surface that lets one
|
|
58
|
+
plugin observe another plugin's settings document, so no version of this plugin
|
|
59
|
+
can support both contracts at once. Configuration now flows through the host's
|
|
60
|
+
volatile-config mechanism, and the per-session routing mode — the setting that
|
|
61
|
+
actually changes behaviour at runtime — is unchanged.
|
|
62
|
+
|
|
63
|
+
The plugin is host-plane only. It needs no agent preset of its own: the host
|
|
64
|
+
row applies to every session. A one-line prompt section in *your* preset is
|
|
65
|
+
optional and only makes the router's decisions visible to the model (see
|
|
66
|
+
[Install & uninstall](#install--uninstall)).
|
|
67
|
+
|
|
68
|
+
## What you get
|
|
69
|
+
|
|
70
|
+
- **Intent gate** — every turn is classified from deterministic signals
|
|
71
|
+
(message text, tool names, image presence, conversation length). The
|
|
72
|
+
zero-token rule layer decides when it is confident; only a low-confidence turn
|
|
73
|
+
calls the cheap judge model, and never on a cooldown.
|
|
74
|
+
- **Tier landing on the official seam** — the decision is applied on the
|
|
75
|
+
`agent/request` waterfall by returning a replacement provider/model/effort
|
|
76
|
+
triple. Sampling scalars the session already chose (`temperature`, `maxTokens`,
|
|
77
|
+
`stop`) are preserved.
|
|
78
|
+
- **Plan-mode handoff** — a complex instruction enters plan mode on the strong
|
|
79
|
+
tier; leaving plan mode drops back to the cheap tier for implementation.
|
|
80
|
+
- **High-risk guard** — while the cheap tier executes, destructive commands
|
|
81
|
+
(`rm -rf`, `sudo`, `mkfs`, `git push --force`, credential-file writes, …) are
|
|
82
|
+
denied with a corrective message telling the model to escalate instead.
|
|
83
|
+
- **Failure escalation** — repeated failures (optionally same-signature) raise
|
|
84
|
+
the tier for a TTL; a model/route failure walks the configured fallback chain.
|
|
85
|
+
- **Manual escape hatches** — `/tier auto|strong|cheap|off` and the
|
|
86
|
+
`tier_status` / `tier_route` tools. Setting `routingMode: delegated` (or
|
|
87
|
+
`/tier off`) stops routing for a session that must keep its own model.
|
|
88
|
+
- **`ctx.autotier` service** — a small read surface (`status`) plus the
|
|
89
|
+
`autotier/route` veto waterfall and `autotier/tier-changed` event, so other
|
|
90
|
+
plugins can observe or override a decision.
|
|
91
|
+
|
|
92
|
+
## Quick start
|
|
93
|
+
|
|
94
|
+
```bash
|
|
95
|
+
dsh plugin --profile web add dsh-autotier
|
|
96
|
+
npm i -g dsh1024
|
|
97
|
+
dsh1024 plugin --profile web add dsh-autotier
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
Then start (or restart) the harness. The row is appended to your profile's
|
|
101
|
+
`cordis.patch.yml`; routing starts on the next turn with no further setup.
|
|
102
|
+
|
|
103
|
+
## Install & uninstall
|
|
104
|
+
|
|
105
|
+
**npm channel**
|
|
106
|
+
|
|
107
|
+
```bash
|
|
108
|
+
dsh plugin --profile web add dsh-autotier
|
|
109
|
+
npm i -g dsh1024
|
|
110
|
+
dsh1024 plugin --profile web add dsh-autotier
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
**git channel**
|
|
114
|
+
|
|
115
|
+
```bash
|
|
116
|
+
dsh plugin --profile web add "github:PerryLink/dsh-autotier#main"
|
|
117
|
+
git clone https://github.com/PerryLink/dsh-autotier.git
|
|
118
|
+
cd dsh-autotier && pnpm install && pnpm run build
|
|
119
|
+
dsh plugin --profile web add .
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
**Optional preset prompt section.** The router works without it. To let the
|
|
123
|
+
model know which tier it is running on, add one row to *your* agent preset
|
|
124
|
+
(`docs/preset-row.md` has the exact block):
|
|
125
|
+
|
|
126
|
+
```yaml
|
|
127
|
+
- insert:
|
|
128
|
+
- id: autotier-prompt
|
|
129
|
+
name: '@deepseek-ai/dsh-system-prompt'
|
|
130
|
+
# sections: [...] — see docs/preset-row.md
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
**Uninstall**
|
|
134
|
+
|
|
135
|
+
```bash
|
|
136
|
+
dsh plugin --profile web remove dsh-autotier
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
The row, its command, its tools and its listeners are all removed with the
|
|
140
|
+
plugin. Configuration a user saved through the Plugins page lives in the active
|
|
141
|
+
profile patch and belongs to that profile, not to this plugin; removing the row
|
|
142
|
+
leaves it there untouched.
|
|
143
|
+
|
|
144
|
+
## Configuration
|
|
145
|
+
|
|
146
|
+
Every key is validated at load time; an invalid value fails loudly instead of
|
|
147
|
+
silently disabling routing. `cordis.patch.yml` in this repository documents the
|
|
148
|
+
same keys inline.
|
|
149
|
+
|
|
150
|
+
| Key | Default | Meaning |
|
|
151
|
+
|---|---|---|
|
|
152
|
+
| `tiers.strong.provider` | `deepseek-official` | Provider for the planning/review tier. |
|
|
153
|
+
| `tiers.strong.model` | `deepseek-v4-pro` | Catalog id of the strong model. |
|
|
154
|
+
| `tiers.strong.effort` | `high` | Adapter vocabulary `off` \| `low` \| `high` \| `max`. |
|
|
155
|
+
| `tiers.strong.followSession` | `false` | `false` = this tier's effort overrides the session's. |
|
|
156
|
+
| `tiers.strong.fallback` | `[]` | Ordered provider/model landings when the tier is unavailable. |
|
|
157
|
+
| `tiers.cheap.provider` | `deepseek-official` | Provider for the implementation tier. |
|
|
158
|
+
| `tiers.cheap.model` | `deepseek-flash` | Catalog id of the cheap model. |
|
|
159
|
+
| `tiers.cheap.effort` | `low` | Adapter vocabulary `off` \| `low` \| `high` \| `max`. |
|
|
160
|
+
| `tiers.cheap.followSession` | `true` | `true` = inherit the session's effort so an explicit choice wins. |
|
|
161
|
+
| `tiers.cheap.fallback` | `[]` | Ordered provider/model landings when the tier is unavailable. |
|
|
162
|
+
| `tiers.vision.provider` | `deepseek-official` | Provider for image-carrying turns. |
|
|
163
|
+
| `tiers.vision.model` | `deepseek-flash` | The catalog's image-capable model. |
|
|
164
|
+
| `intent.ruleThreshold` | `0.7` | Confidence at or above which the rule layer decides alone. |
|
|
165
|
+
| `intent.attemptBand.enabled` | `false` | Start the middle band on the cheap tier and escalate on a signal. |
|
|
166
|
+
| `intent.attemptBand.tauLow` | `0.45` | Lower bound of the attempt-first band. |
|
|
167
|
+
| `intent.hysteresis.toStrong` | `0.8` | Score that switches a cheap turn to strong. |
|
|
168
|
+
| `intent.hysteresis.toCheap` | `0.6` | Score below which a strong turn returns to cheap. |
|
|
169
|
+
| `intent.rules` | `[]` | Declarative rule table (`when.patterns` / `when.tools` / `when.cwd`, `tier`, `priority`). |
|
|
170
|
+
| `intent.judge.enabled` | `true` | Allow the low-confidence judge. |
|
|
171
|
+
| `intent.judge.model` | `''` | Judge model id; empty = first catalog model containing `flash`. |
|
|
172
|
+
| `intent.judge.temperature` | `0` | Judge sampling temperature. |
|
|
173
|
+
| `intent.judge.maxTokens` | `16` | Judge output cap (it answers with one word). |
|
|
174
|
+
| `intent.judge.cooldownMs` | `30000` | Minimum gap between two judge calls. |
|
|
175
|
+
| `intent.judge.timeoutMs` | `2000` | Judge call timeout. |
|
|
176
|
+
| `intent.judge.unavailableSkip` | `2` | Consecutive judge failures after which the turn skips it. |
|
|
177
|
+
| `intent.scenarios` | all `true` | Per-scenario switches: `coding`, `review`, `planning`, `retrieval`, `batch`, `daily`, `longText`, `multimodal`. |
|
|
178
|
+
| `intent.costMode` | `balanced` | Ambiguity arbitration: `cost-first` \| `quality-first` \| `balanced`. |
|
|
179
|
+
| `guard.enabled` | `true` | Enable the deterministic high-risk guard. |
|
|
180
|
+
| `guard.tiers` | `[cheap]` | Tiers the guard protects. |
|
|
181
|
+
| `guard.whitelist` | `[]` | Commands, tools or path prefixes that never trip the guard. |
|
|
182
|
+
| `guard.protectedPaths` | `['.dsh','AGENTS.md','package.json','.github/workflows']` | Self-modification surfaces that force strong-tier review. |
|
|
183
|
+
| `guard.interopDefend` | `auto` | Relationship with `dsh-defend`: `auto` audits coexistence, `none` stays silent. |
|
|
184
|
+
| `escalation.threshold` | `2` | Failures within the window that raise the tier. |
|
|
185
|
+
| `escalation.windowMs` | `60000` | Failure-counting window. |
|
|
186
|
+
| `escalation.ttlMs` | `180000` | How long an escalation stays in effect. |
|
|
187
|
+
| `escalation.fallbackTtlMs` | `300000` | TTL used after a fallback landing was taken. |
|
|
188
|
+
| `escalation.signature` | `true` | Count same-signature recurrences instead of every failure. |
|
|
189
|
+
| `routingMode` | `auto` | `auto` \| `strong` \| `cheap` \| `delegated` \| `off`. |
|
|
190
|
+
|
|
191
|
+
All keys can also be edited live from the plugin's card on the Plugins page; the
|
|
192
|
+
Host validates the new value against the schema and commits it with
|
|
193
|
+
`loader/volatile-update`, and this plugin then re-judges the whole configuration
|
|
194
|
+
through the same cross-field judge the mount path uses. A value that violates a
|
|
195
|
+
cross-field requirement (two tiers landing on the same route, a hysteresis pair
|
|
196
|
+
that cannot stop flapping, a rule with neither a pattern nor a tool) leaves the
|
|
197
|
+
last good policy routing instead of swapping in something unroutable.
|
|
198
|
+
|
|
199
|
+
`routingMode` is the one key that is **not** live: it is the composition
|
|
200
|
+
default, and the runtime switch is the session-scoped override written by
|
|
201
|
+
`/tier`, the composer pill and the card's selector. Making it live as well would
|
|
202
|
+
give the same behaviour two owners.
|
|
203
|
+
|
|
204
|
+
## Tools & surfaces
|
|
205
|
+
|
|
206
|
+
| Surface | Kind | Purpose |
|
|
207
|
+
|---|---|---|
|
|
208
|
+
| `/tier` | command | `auto` \| `strong` \| `cheap` \| `off` \| `status`; session-scoped override. |
|
|
209
|
+
| `tier_status` | tool | Current tier, mode, escalation TTL and guard state. |
|
|
210
|
+
| `tier_route` | tool | Route one intent string without sending a request (dry run). |
|
|
211
|
+
| `ctx.autotier` | service | `status()` read surface for other plugins. |
|
|
212
|
+
| `autotier/route` | serial event | Third parties may veto a proposed tier. |
|
|
213
|
+
| `autotier/tier-changed` | emit event | Observability when the effective tier changes. |
|
|
214
|
+
|
|
215
|
+
## Permissions & data
|
|
216
|
+
|
|
217
|
+
- **Files** — the plugin reads no file and writes none. Configuration is the
|
|
218
|
+
host's: a value saved on the Plugins page is persisted by the Host into the
|
|
219
|
+
active profile patch, and this plugin only reads the live snapshot it is
|
|
220
|
+
handed.
|
|
221
|
+
- **Network** — the only outbound traffic is the judge call, which goes through
|
|
222
|
+
the normal `ctx.llm` path and the configured provider.
|
|
223
|
+
- **Session log** — the plugin appends no custom session events. The routing
|
|
224
|
+
trail is the plugin logger plus the live `autotier/tier-changed` bus event;
|
|
225
|
+
the only append it makes is the `plan/mode` fallback when the plan-mode
|
|
226
|
+
service is absent. Custom event types are fail-closed on `0.1.2-alpha.1` and
|
|
227
|
+
later, so no durable plugin-owned record is written.
|
|
228
|
+
- **Secrets** — no credential is read, logged or stored by this plugin.
|
|
229
|
+
|
|
230
|
+
## Security boundaries
|
|
231
|
+
|
|
232
|
+
- The guard is a **defence in depth**, not a sandbox. It denies the patterns it
|
|
233
|
+
knows on the cheap tier and never weakens `dsh-defend`, the approval service,
|
|
234
|
+
or the sandbox policy. Keep those enabled.
|
|
235
|
+
- The guard protects only the tiers listed in `guard.tiers` (cheap by default).
|
|
236
|
+
A strong-tier turn is not blocked by design: the strong model is the reviewer.
|
|
237
|
+
- If the guard itself throws, the call is escalated to the strong tier rather
|
|
238
|
+
than allowed — a broken guard must not become an open door.
|
|
239
|
+
- `/tier off` disables routing entirely; the harness then behaves exactly as it
|
|
240
|
+
did before the plugin was installed.
|
|
241
|
+
|
|
242
|
+
## Known limitations
|
|
243
|
+
|
|
244
|
+
- The rule layer is deterministic and therefore finite: a novel phrasing of a
|
|
245
|
+
complex request may start on the cheap tier and escalate only after a failure
|
|
246
|
+
or a guard denial. The judge call covers the low-confidence middle.
|
|
247
|
+
- Escalation is per-agent and in-memory; a harness restart starts from `auto`.
|
|
248
|
+
- Tier switching resets the provider prompt cache for the changed request, so
|
|
249
|
+
very chatty sessions may see a small cache-miss cost on the switch turn. The
|
|
250
|
+
hysteresis thresholds exist to keep that rare.
|
|
251
|
+
- The plugin routes conversation requests. Compaction and title generation are
|
|
252
|
+
separate host seams; align their own model settings with the cheap tier if you
|
|
253
|
+
want the same cost profile (`docs/supporting-lanes.md`).
|
|
254
|
+
- `followSession: true` on the cheap tier means an explicit session model choice
|
|
255
|
+
wins; in that case the cheap tier cannot force its own model.
|
|
256
|
+
- **The Settings card and composer tier pill shipped in 0.2.0.** The card
|
|
257
|
+
(routing mode, live tier landings, model catalog) lives in the Plugins settings
|
|
258
|
+
section and the pill cycles the session mode from the composer.
|
|
259
|
+
- **A model picked in the GUI is not detected automatically.** The router does
|
|
260
|
+
not watch the `agent-default-model` document, so switching models there does
|
|
261
|
+
not by itself stop routing — use `routingMode: delegated` or `/tier off`.
|
|
262
|
+
- **Fingerprint posteriors are in-memory.** They reset on restart and re-learn
|
|
263
|
+
from the judge's cold-start fallback; persisting them through the settings
|
|
264
|
+
document is planned for v0.2.
|
|
265
|
+
- **The attempt-first middle band ships disabled.** `intent.attemptBand.enabled`
|
|
266
|
+
stays `false` until the calibration corpus and its metric gate land (v0.2).
|
|
267
|
+
|
|
268
|
+
## Development
|
|
269
|
+
|
|
270
|
+
```bash
|
|
271
|
+
pnpm install
|
|
272
|
+
pnpm run typecheck # against the local harness checkout type faces
|
|
273
|
+
pnpm run typecheck:ci # against the published 0.1.7-rc.2 faces (what CI runs)
|
|
274
|
+
pnpm test
|
|
275
|
+
pnpm run build
|
|
276
|
+
pnpm run verify:self-contained
|
|
277
|
+
pnpm run verify:artifacts
|
|
278
|
+
pnpm pack
|
|
279
|
+
```
|
|
280
|
+
|
|
281
|
+
`pnpm run build` emits `lib/types` (tsc declarations) and `lib/index.js`
|
|
282
|
+
(tsdown bundle). Tests use the published host packages directly — real
|
|
283
|
+
`Context`, real session/tools/commands services — plus one real Loader
|
|
284
|
+
composition over a temporary `cordis.yml`. The `settings` service is the one
|
|
285
|
+
stand-in: the host's real `SettingsForms` binds to `configEditor`,
|
|
286
|
+
`profileContext` and the Loader's fiber graph, none of which this plugin
|
|
287
|
+
consumes, while the plugin's whole contract with it is `configure({ auto })`
|
|
288
|
+
plus the Loader's `loader/volatile-update` event.
|
|
289
|
+
|
|
290
|
+
## Interoperability with other DSH plugins
|
|
291
|
+
|
|
292
|
+
Verified against **DSH `0.2.0-rc.2`** (the runtime this README ships for) and the high-star plugin set surveyed on 2026-10-05.
|
|
293
|
+
|
|
294
|
+
This plugin **does not interfere** with other plugins, including the widely installed high-star ones:
|
|
295
|
+
|
|
296
|
+
- **No tool-name collision.** Every tool is namespaced; no bare name owned by a shipped tool or another plugin is registered.
|
|
297
|
+
- **No service-key collision.** It provides `autotier`; that key is not a built-in seam and is not provided by any surveyed high-star plugin.
|
|
298
|
+
- **No slot collision.** It registers no client slot key, so it cannot contend for a `shadows-shipped-ui` seat.
|
|
299
|
+
- **No HTTP route collision.** It registers no `webServer` prefix.
|
|
300
|
+
- **No patch-layer collision.** The bundle patch only `insert`s its own row; it never overrides a built-in row's `config`.
|
|
301
|
+
- **No global mutation.** It does not patch prototypes, rewrite `process.env`, or replace the global fetch dispatcher.
|
|
302
|
+
|
|
303
|
+
**Shared event listeners are non-interfering by construction.** It observes the ordering-sensitive events `agent/created`, `agent/request`, `agent/request-error`, `tools/pre-execute` with `ctx.on()` — Cordis's broadcast registration, where every listener runs and none can starve another. **Every listener here delegates through `next()`**, so the chain is never short-circuited, and a mutation is applied to the value `next()` produced rather than returned in its place:
|
|
304
|
+
- `agent/request` — also used by `dsh-agent-teams` (1923★), which short-circuits by throwing without calling `next()`.
|
|
305
|
+
- `tools/pre-execute` — also used by `cc-safety-net` (1576★).
|
|
306
|
+
|
|
307
|
+
Static evidence: `dsh-plugin-doctor` K10–K13 report `pass` for every check on this repository.
|
|
308
|
+
|
|
309
|
+
## Topics
|
|
310
|
+
|
|
311
|
+
`dsh`, `dsh-plugin`, `deepseek-harness`, `deepseek`, `cordis`, `router`,
|
|
312
|
+
`model-tier`, `cost`, `auto`.
|
|
313
|
+
|
|
314
|
+
## Contributors
|
|
315
|
+
|
|
316
|
+
PerryLink. Issues and pull requests are welcome at
|
|
317
|
+
<https://github.com/PerryLink/dsh-autotier/issues>.
|
|
318
|
+
|
|
319
|
+
**Applicable DSH version:** verified against `dsh-v0.2.1-alpha.1` (the host release this build targets); requires `>=0.1.7-alpha.1 <0.2.0`.
|
|
320
|
+
|
|
321
|
+
## PerryLink DSH Plugin Family
|
|
322
|
+
|
|
323
|
+
This project is one of the **44 DeepSeek Harness plugins** maintained by [PerryLink](https://github.com/PerryLink). If this one helps you, the others likely will too:
|
|
324
|
+
|
|
325
|
+
| Plugin | One-liner |
|
|
326
|
+
|---|---|
|
|
327
|
+
| **[dsh-auto-review](https://github.com/PerryLink/dsh-auto-review)** | Second-model auto-review on the approval chain, fail-closed by default | |
|
|
328
|
+
| **[dsh-autotier](https://github.com/PerryLink/dsh-autotier)** | Automatic strong/cheap model-tier routing with deterministic risk guards and a `/tier` command | |
|
|
329
|
+
| **[dsh-background-agents](https://github.com/PerryLink/dsh-background-agents)** | Durable background child agents with a Web UI sidebar, messaging and interrupt | 🚫 **RETIRED** — see the note above |
|
|
330
|
+
| **[dsh-budget](https://github.com/PerryLink/dsh-budget)** | Cost governance for DeepSeek Harness: budgets, carbon, and latency in one panel. | | 🧊 FROZEN — see the repo README |
|
|
331
|
+
| **[dsh-catalog](https://github.com/PerryLink/dsh-catalog)** | DSH Desktop Market standard catalog source for the PerryLink family | |
|
|
332
|
+
| **[dsh-cert-mcp](https://github.com/PerryLink/dsh-cert-mcp)** | Read-only MCP server exposing the certification registry: grades, snapshots and five-dimension evidence | |
|
|
333
|
+
| **[dsh-checkpoint-rewind](https://github.com/PerryLink/dsh-checkpoint-rewind)** | Claude Code /rewind-equivalent: snapshots, session forks, one-shot restore | |
|
|
334
|
+
| **[dsh-claude-move](https://github.com/PerryLink/dsh-claude-move)** | Migrate Claude Code sessions, memory, skills and CLAUDE.md into DSH | | 🧊 FROZEN — see the repo README |
|
|
335
|
+
| **[dsh-click](https://github.com/PerryLink/dsh-click)** | Cross-platform native desktop control for DeepSeek Harness — Windows first. | |
|
|
336
|
+
| **[dsh-composer-history](https://github.com/PerryLink/dsh-composer-history)** | Terminal-style input history for the web composer: arrows, Ctrl+R search | |
|
|
337
|
+
| **[dsh-data-quality](https://github.com/PerryLink/dsh-data-quality)** | Dataset quality checks and citation cross-checks (the optional numeric bridge consumed here) | |
|
|
338
|
+
| **[dsh-defend](https://github.com/PerryLink/dsh-defend)** | Prompt-injection, jailbreak, and secret-leak defense for DeepSeek Harness. | | 🧊 FROZEN — see the repo README |
|
|
339
|
+
| **[dsh-doublecheck](https://github.com/PerryLink/dsh-doublecheck)** | Engineering-discipline guard: requirements grill, test gates, adversary review | |
|
|
340
|
+
| **[dsh-draw](https://github.com/PerryLink/dsh-draw)** | Unified static-image generation routing for DeepSeek Harness. | | 🧊 FROZEN — see the repo README |
|
|
341
|
+
| **[dsh-fast](https://github.com/PerryLink/dsh-fast)** | Read-only performance diagnostics for DeepSeek Harness. | |
|
|
342
|
+
| **[dsh-fund-research](https://github.com/PerryLink/dsh-fund-research)** | Deterministic research reports for Chinese public mutual funds | |
|
|
343
|
+
| **[dsh-github](https://github.com/PerryLink/dsh-github)** | GitHub PR/issues integration for DSH, every write gated by approval | |
|
|
344
|
+
| **[dsh-industry-research](https://github.com/PerryLink/dsh-industry-research)** | Industry research orchestration that seals its deliverables through this plugin's `ctx.researchReport.assemble` | |
|
|
345
|
+
| **[dsh-laya](https://github.com/PerryLink/dsh-laya)** | Laya typed decisions (`noul`/`choice`/`score`) as a first-class Cordis service and model-visible tools | |
|
|
346
|
+
| **[dsh-library](https://github.com/PerryLink/dsh-library)** | Local document knowledge base for DeepSeek Harness. | |
|
|
347
|
+
| **[dsh-local-ai](https://github.com/PerryLink/dsh-local-ai)** | Local-model (Ollama) integration for DeepSeek Harness. | |
|
|
348
|
+
| **[dsh-lsp-actions](https://github.com/PerryLink/dsh-lsp-actions)** | LSP diagnostics, formatting, completion, code actions and rename over language servers | |
|
|
349
|
+
| **[dsh-mask](https://github.com/PerryLink/dsh-mask)** | PII masking middleware: anonymize at the model boundary, restore at the display layer | |
|
|
350
|
+
| **[dsh-mcp-panel](https://github.com/PerryLink/dsh-mcp-panel)** | Read-only MCP runtime panel: /mcp command + Settings tab with status, tools and errors | |
|
|
351
|
+
| **[dsh-memento](https://github.com/PerryLink/dsh-memento)** | Approval-gated cross-session memory: ctx.memory seam + SQLite + memory tool | | 🧊 FROZEN — see the repo README |
|
|
352
|
+
| **[dsh-observe](https://github.com/PerryLink/dsh-observe)** | OpenTelemetry and Langfuse observability exporter for DeepSeek Harness. | |
|
|
353
|
+
| **[dsh-output-styles](https://github.com/PerryLink/dsh-output-styles)** | Claude Code outputStyles-equivalent runtime style switching | |
|
|
354
|
+
| **[dsh-permission-rules](https://github.com/PerryLink/dsh-permission-rules)** | Claude Code-style declarative allow/deny/ask permission rules with audit | |
|
|
355
|
+
| **[dsh-plugin-certification](https://github.com/PerryLink/dsh-plugin-certification)** | Community certification registry with repro-checkable grades and badges | |
|
|
356
|
+
| **[dsh-plugin-doctor](https://github.com/PerryLink/dsh-plugin-doctor)** | Zero-dependency static + sandbox smoke detector for DSH plugins | |
|
|
357
|
+
| **[dsh-plugin-guide](https://github.com/PerryLink/dsh-plugin-guide)** | Plugin-development knowledge base as an on-demand agent skill | |
|
|
358
|
+
| **[dsh-plugin-kit](https://github.com/PerryLink/dsh-plugin-kit)** | Shared zero-runtime-dependency toolkit for the PerryLink DSH plugins | |
|
|
359
|
+
| **[dsh-plugin-upgrade](https://github.com/PerryLink/dsh-plugin-upgrade)** | One-package, one-corridor-index plugin upgrade skill: routes a repository to the matching closed corridor card | |
|
|
360
|
+
| **[dsh-reach](https://github.com/PerryLink/dsh-reach)** | Multi-channel approval/question bridge: WeChat/Telegram/Feishu, session console | | 🧊 FROZEN — see the repo README |
|
|
361
|
+
| **[dsh-research-report](https://github.com/PerryLink/dsh-research-report)** | Verifiable research-report engine: content-addressed evidence ledger and sealed versions | |
|
|
362
|
+
| **[dsh-score](https://github.com/PerryLink/dsh-score)** | Multi-dimensional quality scoring for DeepSeek Harness plugins. | |
|
|
363
|
+
| **[dsh-session-pin](https://github.com/PerryLink/dsh-session-pin)** | Pin sessions in the Web sidebar with durable ordering | 🚫 **RETIRED** — see the note above |
|
|
364
|
+
| **[dsh-session-sync](https://github.com/PerryLink/dsh-session-sync)** | Cross-device session sync for DeepSeek Harness — a dedicated git mirror of your session store. | |
|
|
365
|
+
| **[dsh-skill-pack-security](https://github.com/PerryLink/dsh-skill-pack-security)** | Security-audit skill pack: secret scan, dependency and supply-chain review | |
|
|
366
|
+
| **[dsh-talk](https://github.com/PerryLink/dsh-talk)** | Voice-first session loop for DeepSeek Harness: talk to it, hear it answer. | |
|
|
367
|
+
| **[dsh-team-rooms](https://github.com/PerryLink/dsh-team-rooms)** | Cross-session team rooms: shared message bus, task board and timeline | 🚫 **RETIRED** — see the note above |
|
|
368
|
+
| **[dsh-test-drive](https://github.com/PerryLink/dsh-test-drive)** | Isolated install-and-smoke test drives for DeepSeek Harness plugins. | |
|
|
369
|
+
| **[dsh-ticktick](https://github.com/PerryLink/dsh-ticktick)** | TickTick/Dida365 task bridge: session-header panel + 11 tools | |
|
|
370
|
+
| **[dsh-translate](https://github.com/PerryLink/dsh-translate)** | Vendor parameter translation and deterministic JSON repair for DeepSeek Harness. | |
|
|
371
|
+
|
|
372
|
+
## License
|
|
373
|
+
|
|
374
|
+
Apache-2.0. See [LICENSE](./LICENSE) and
|
|
375
|
+
[THIRD_PARTY_NOTICES.md](./THIRD_PARTY_NOTICES.md).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-autotier",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.15",
|
|
4
4
|
"description": "Automatic strong/cheap model-tier routing for DeepSeek Harness: intent-gated tier landing on the agent/request waterfall, plan-mode handoff (strong plans, cheap implements), deterministic high-risk guards on tools/pre-execute, failure escalation with TTL fallback, a /tier command, and tier status tools",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -125,27 +125,27 @@
|
|
|
125
125
|
],
|
|
126
126
|
"engines": {
|
|
127
127
|
"node": "^22.19.0 || >=24.0.0",
|
|
128
|
-
"dsh": ">=0.1.6-0 <0.2.0 || >=0.2.0-0 <0.3.0"
|
|
128
|
+
"dsh": ">=0.1.6-0 <0.2.0 || >=0.2.0-0 <0.3.0 || >=0.2.1-0 <0.3.0"
|
|
129
129
|
},
|
|
130
130
|
"packageManager": "pnpm@11.7.0",
|
|
131
131
|
"peerDependencies": {
|
|
132
132
|
"@deepseek-ai/cordis": "^4.0.5-alpha.1",
|
|
133
133
|
"@deepseek-ai/cosmokit": "^1.8.4",
|
|
134
|
-
"@deepseek-ai/dsh-agent": ">=0.1.6-0 <0.2.0 || >=0.2.0-0 <0.3.0",
|
|
135
|
-
"@deepseek-ai/dsh-api-remotes": ">=0.1.6-0 <0.2.0 || >=0.2.0-0 <0.3.0",
|
|
136
|
-
"@deepseek-ai/dsh-client-connection": ">=0.1.6-0 <0.2.0 || >=0.2.0-0 <0.3.0",
|
|
137
|
-
"@deepseek-ai/dsh-client-locale": ">=0.1.6-0 <0.2.0 || >=0.2.0-0 <0.3.0",
|
|
138
|
-
"@deepseek-ai/dsh-client-ui-conversation": ">=0.1.6-0 <0.2.0 || >=0.2.0-0 <0.3.0",
|
|
139
|
-
"@deepseek-ai/dsh-client-ui-settings": ">=0.1.6-0 <0.2.0 || >=0.2.0-0 <0.3.0",
|
|
140
|
-
"@deepseek-ai/dsh-client-ui-slots": ">=0.1.6-0 <0.2.0 || >=0.2.0-0 <0.3.0",
|
|
141
|
-
"@deepseek-ai/dsh-commands": ">=0.1.6-0 <0.2.0 || >=0.2.0-0 <0.3.0",
|
|
142
|
-
"@deepseek-ai/dsh-llm": ">=0.1.6-0 <0.2.0 || >=0.2.0-0 <0.3.0",
|
|
143
|
-
"@deepseek-ai/dsh-plan-mode": ">=0.1.6-0 <0.2.0 || >=0.2.0-0 <0.3.0",
|
|
144
|
-
"@deepseek-ai/dsh-session": ">=0.1.6-0 <0.2.0 || >=0.2.0-0 <0.3.0",
|
|
145
|
-
"@deepseek-ai/dsh-session-projection": ">=0.1.6-0 <0.2.0 || >=0.2.0-0 <0.3.0",
|
|
146
|
-
"@deepseek-ai/dsh-settings": ">=0.1.6-0 <0.2.0 || >=0.2.0-0 <0.3.0",
|
|
147
|
-
"@deepseek-ai/dsh-tools": ">=0.1.6-0 <0.2.0 || >=0.2.0-0 <0.3.0",
|
|
148
|
-
"@deepseek-ai/dsh-typert-protocol": ">=0.1.6-0 <0.2.0 || >=0.2.0-0 <0.3.0",
|
|
134
|
+
"@deepseek-ai/dsh-agent": ">=0.1.6-0 <0.2.0 || >=0.2.0-0 <0.3.0 || >=0.2.1-0 <0.3.0",
|
|
135
|
+
"@deepseek-ai/dsh-api-remotes": ">=0.1.6-0 <0.2.0 || >=0.2.0-0 <0.3.0 || >=0.2.1-0 <0.3.0",
|
|
136
|
+
"@deepseek-ai/dsh-client-connection": ">=0.1.6-0 <0.2.0 || >=0.2.0-0 <0.3.0 || >=0.2.1-0 <0.3.0",
|
|
137
|
+
"@deepseek-ai/dsh-client-locale": ">=0.1.6-0 <0.2.0 || >=0.2.0-0 <0.3.0 || >=0.2.1-0 <0.3.0",
|
|
138
|
+
"@deepseek-ai/dsh-client-ui-conversation": ">=0.1.6-0 <0.2.0 || >=0.2.0-0 <0.3.0 || >=0.2.1-0 <0.3.0",
|
|
139
|
+
"@deepseek-ai/dsh-client-ui-settings": ">=0.1.6-0 <0.2.0 || >=0.2.0-0 <0.3.0 || >=0.2.1-0 <0.3.0",
|
|
140
|
+
"@deepseek-ai/dsh-client-ui-slots": ">=0.1.6-0 <0.2.0 || >=0.2.0-0 <0.3.0 || >=0.2.1-0 <0.3.0",
|
|
141
|
+
"@deepseek-ai/dsh-commands": ">=0.1.6-0 <0.2.0 || >=0.2.0-0 <0.3.0 || >=0.2.1-0 <0.3.0",
|
|
142
|
+
"@deepseek-ai/dsh-llm": ">=0.1.6-0 <0.2.0 || >=0.2.0-0 <0.3.0 || >=0.2.1-0 <0.3.0",
|
|
143
|
+
"@deepseek-ai/dsh-plan-mode": ">=0.1.6-0 <0.2.0 || >=0.2.0-0 <0.3.0 || >=0.2.1-0 <0.3.0",
|
|
144
|
+
"@deepseek-ai/dsh-session": ">=0.1.6-0 <0.2.0 || >=0.2.0-0 <0.3.0 || >=0.2.1-0 <0.3.0",
|
|
145
|
+
"@deepseek-ai/dsh-session-projection": ">=0.1.6-0 <0.2.0 || >=0.2.0-0 <0.3.0 || >=0.2.1-0 <0.3.0",
|
|
146
|
+
"@deepseek-ai/dsh-settings": ">=0.1.6-0 <0.2.0 || >=0.2.0-0 <0.3.0 || >=0.2.1-0 <0.3.0",
|
|
147
|
+
"@deepseek-ai/dsh-tools": ">=0.1.6-0 <0.2.0 || >=0.2.0-0 <0.3.0 || >=0.2.1-0 <0.3.0",
|
|
148
|
+
"@deepseek-ai/dsh-typert-protocol": ">=0.1.6-0 <0.2.0 || >=0.2.0-0 <0.3.0 || >=0.2.1-0 <0.3.0",
|
|
149
149
|
"@deepseek-ai/schemastery": "^3.18.5-alpha.1"
|
|
150
150
|
},
|
|
151
151
|
"peerDependenciesMeta": {
|