dsh-autotier 0.2.18 → 0.2.20
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 +12 -0
- package/README-es.md +199 -78
- package/README-hi.md +203 -80
- package/README-pt.md +201 -80
- package/README-zh.md +172 -52
- package/README.md +204 -84
- package/docs/assets/dsh-autotier-flow.svg +19 -0
- package/lib/client.js +583 -357
- package/lib/client.js.map +1 -1
- package/lib/index.js +1 -1
- package/lib/typert.host.js +1 -1
- package/lib/{wire-BxsY8BiN.js → wire-DHFKQqYR.js} +583 -357
- package/package.json +11 -11
package/README-pt.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# dsh-autotier
|
|
2
2
|
|
|
3
|
+
> 🧊 **CONGELADO — 2026-10-31. Modo manutenção.** Sem novos recursos; apenas correções de segurança e dependências.
|
|
4
|
+
|
|
5
|
+
## Estado de manutenção: 🧊 CONGELADO
|
|
6
|
+
|
|
7
|
+
Congelado em 2026-10-31 em modo manutenção. O pacote continua instalável; apenas correções de segurança e dependências estão previstas.
|
|
8
|
+
|
|
9
|
+
|
|
3
10
|
[](https://gitee.com/perrylink/dsh-autotier)
|
|
4
11
|
[](LICENSE)
|
|
5
12
|
[](https://github.com/topics/dsh-plugin)
|
|
@@ -12,6 +19,11 @@
|
|
|
12
19
|
|
|
13
20
|
[English](README.md) | [简体中文](README-zh.md) | [Español](README-es.md) | **Português** | [हिन्दी](README-hi.md)
|
|
14
21
|
|
|
22
|
+
```sh
|
|
23
|
+
dsh plugin --profile <name> add dsh-autotier
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
|
|
15
27
|
Roteamento automático por níveis de modelo para o DeepSeek Harness: entra uma
|
|
16
28
|
instrução do usuário, sai uma decisão de nível — sem trocar de modelo à mão.
|
|
17
29
|
|
|
@@ -30,11 +42,50 @@ retorno.
|
|
|
30
42
|
**📖 Base de conhecimento do ecossistema** — dados medidos, não marketing: [guia de desenvolvimento · dados de seleção · critérios de manutenção](https://perrylink.github.io/dsh-plugin-guide/).
|
|
31
43
|
|
|
32
44
|
<!-- star-cta -->
|
|
45
|
+
## Instalação e desinstalação
|
|
46
|
+
|
|
47
|
+
**Canal npm**
|
|
48
|
+
|
|
49
|
+
```bash
|
|
50
|
+
npm i -g dsh1024
|
|
51
|
+
dsh1024 plugin --profile web add dsh-autotier
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
**Canal git**
|
|
55
|
+
|
|
56
|
+
```bash
|
|
57
|
+
git clone https://github.com/PerryLink/dsh-autotier.git
|
|
58
|
+
cd dsh-autotier && pnpm install && pnpm run build
|
|
59
|
+
dsh plugin --profile web add .
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
**Seção de prompt opcional no preset.** O router funciona sem ela. Para que o
|
|
63
|
+
modelo saiba em qual nível está, acrescente uma linha ao *seu* preset
|
|
64
|
+
(`docs/preset-row.md` tem o bloco exato):
|
|
65
|
+
|
|
66
|
+
```yaml
|
|
67
|
+
- insert:
|
|
68
|
+
- id: autotier-prompt
|
|
69
|
+
name: '@deepseek-ai/dsh-system-prompt'
|
|
70
|
+
# sections: [...] — veja docs/preset-row.md
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
**Desinstalação**
|
|
74
|
+
|
|
75
|
+
```bash
|
|
76
|
+
dsh plugin --profile web remove dsh-autotier
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
A linha, seu comando, suas ferramentas e seus listeners são removidos com o
|
|
80
|
+
plugin. A configuração que um usuário salvou pela página Plugins vive no patch do
|
|
81
|
+
perfil ativo e pertence àquele perfil, não a este plugin; remover a linha a deixa
|
|
82
|
+
ali intacta.
|
|
83
|
+
|
|
33
84
|
## ⭐ 如果它帮到了你
|
|
34
85
|
|
|
35
86
|
Este plugin faz parte da [família de plugins DSH](https://github.com/PerryLink) (mais de 40, todos Apache-2.0). Se for útil, **deixe uma estrela**: não desbloqueia nada, mas ajuda a próxima pessoa a encontrá-lo.
|
|
36
87
|
|
|
37
|
-
*English:* part of a
|
|
88
|
+
*English:* part of a 95 plugin family for DeepSeek Harness. If it is useful, **a star helps the next person find it** — nothing is gated behind it.
|
|
38
89
|
|
|
39
90
|
## What is dsh-autotier?
|
|
40
91
|
|
|
@@ -42,9 +93,10 @@ Canal npm
|
|
|
42
93
|
|
|
43
94
|
Canal git
|
|
44
95
|
|
|
45
|
-

|
|
97
|
+
|
|
98
|
+
*Visão geral do fluxo: chamada → plugin → resultado. Os exemplos abaixo usam a superfície real de comandos.*
|
|
46
99
|
|
|
47
|
-

|
|
48
100
|
|
|
49
101
|
*A mesma execução, animada.*
|
|
50
102
|
|
|
@@ -118,44 +170,58 @@ dsh1024 plugin --profile web add dsh-autotier
|
|
|
118
170
|
Depois inicie (ou reinicie) o harness. A linha é acrescentada ao seu
|
|
119
171
|
`cordis.patch.yml`; o roteamento começa no próximo turno.
|
|
120
172
|
|
|
121
|
-
|
|
173
|
+
### Exemplos
|
|
122
174
|
|
|
123
|
-
|
|
175
|
+
São os pontos de entrada reais; instale e chame um.
|
|
124
176
|
|
|
125
|
-
|
|
126
|
-
npm i -g dsh1024
|
|
127
|
-
dsh1024 plugin --profile web add dsh-autotier
|
|
128
|
-
```
|
|
177
|
+
#### Exemplo detalhado
|
|
129
178
|
|
|
130
|
-
**
|
|
179
|
+
**Comando**
|
|
131
180
|
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
dsh plugin --profile web add .
|
|
136
|
-
```
|
|
181
|
+
~~~sh
|
|
182
|
+
tier_route
|
|
183
|
+
~~~
|
|
137
184
|
|
|
138
|
-
**
|
|
139
|
-
modelo saiba em qual nível está, acrescente uma linha ao *seu* preset
|
|
140
|
-
(`docs/preset-row.md` tem o bloco exato):
|
|
185
|
+
**Entrada**
|
|
141
186
|
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
name: '@deepseek-ai/dsh-system-prompt'
|
|
146
|
-
# sections: [...] — veja docs/preset-row.md
|
|
147
|
-
```
|
|
187
|
+
~~~json
|
|
188
|
+
{ "text": "Plan the migration of the storage layer end to end" }
|
|
189
|
+
~~~
|
|
148
190
|
|
|
149
|
-
**
|
|
191
|
+
**Saída**
|
|
150
192
|
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
193
|
+
~~~text
|
|
194
|
+
{
|
|
195
|
+
"tier": "strong",
|
|
196
|
+
"scenario": "planning",
|
|
197
|
+
"confidence": 0.97,
|
|
198
|
+
"fingerprint": "planning|0|0",
|
|
199
|
+
"reason": "explicit planning intent"
|
|
200
|
+
}
|
|
201
|
+
~~~
|
|
154
202
|
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
203
|
+
*Observado em `README.md:248 (Tools & surfaces); tests/tools.spec.ts:96-109; src/tools.ts:80`*
|
|
204
|
+
|
|
205
|
+
#### Ramo de falha
|
|
206
|
+
|
|
207
|
+
**Entrada**
|
|
208
|
+
|
|
209
|
+
~~~text
|
|
210
|
+
resolveConfig({ tiers: { cheap: { provider: 'deepseek-official', model: 'deepseek-v4-pro', effort: 'high', followSession: false } } })
|
|
211
|
+
~~~
|
|
212
|
+
|
|
213
|
+
**Saída**
|
|
214
|
+
|
|
215
|
+
~~~text
|
|
216
|
+
Error: dsh-autotier: config.tiers strong and cheap resolve to the same landing (deepseek-official/deepseek-v4-pro@high); tiering would be a no-op
|
|
217
|
+
~~~
|
|
218
|
+
|
|
219
|
+
*Observado em `plugins/dsh-autotier/src/config.ts:377-386; plugins/dsh-autotier/tests/config.spec.ts:87-92; plugins/dsh-autotier/README.md:208-209`*
|
|
220
|
+
|
|
221
|
+
#### Exemplos breves
|
|
222
|
+
|
|
223
|
+
- `tier_status`
|
|
224
|
+
- `tier_route`
|
|
159
225
|
|
|
160
226
|
## Configuração
|
|
161
227
|
|
|
@@ -332,52 +398,107 @@ Evidência estática: `dsh-plugin-doctor` K10–K13 retornam `pass` em todas as
|
|
|
332
398
|
|
|
333
399
|
## PerryLink DSH Plugin Family
|
|
334
400
|
|
|
335
|
-
Este projeto
|
|
401
|
+
Este projeto faz parte da família de plugins do DeepSeek Harness da [PerryLink](https://github.com/PerryLink). O registro fica recolhido abaixo para que cada README mantenha uma primeira tela curta; expanda para ver cada linha e seu status.
|
|
336
402
|
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
|
341
|
-
|
|
342
|
-
| **[dsh-
|
|
343
|
-
| **[dsh-
|
|
344
|
-
| **[dsh-
|
|
345
|
-
| **[dsh-
|
|
346
|
-
| **[dsh-
|
|
347
|
-
| **[dsh-
|
|
348
|
-
| **[dsh-
|
|
349
|
-
| **[dsh-
|
|
350
|
-
| **[dsh-
|
|
351
|
-
| **[dsh-
|
|
352
|
-
| **[dsh-
|
|
353
|
-
| **[dsh-
|
|
354
|
-
| **[dsh-
|
|
355
|
-
| **[dsh-
|
|
356
|
-
| **[dsh-
|
|
357
|
-
| **[dsh-
|
|
358
|
-
| **[dsh-
|
|
359
|
-
| **[dsh-
|
|
360
|
-
| **[dsh-
|
|
361
|
-
| **[dsh-
|
|
362
|
-
| **[dsh-
|
|
363
|
-
| **[dsh-
|
|
364
|
-
| **[dsh-
|
|
365
|
-
| **[dsh-
|
|
366
|
-
| **[dsh-
|
|
367
|
-
| **[dsh-
|
|
368
|
-
| **[dsh-
|
|
369
|
-
| **[dsh-
|
|
370
|
-
| **[dsh-
|
|
371
|
-
| **[dsh-
|
|
372
|
-
| **[dsh-
|
|
373
|
-
| **[dsh-
|
|
374
|
-
| **[dsh-
|
|
375
|
-
| **[dsh-
|
|
376
|
-
| **[dsh-
|
|
377
|
-
| **[dsh-
|
|
378
|
-
| **[dsh-
|
|
379
|
-
| **[dsh-
|
|
380
|
-
| **[dsh-
|
|
381
|
-
| **[dsh-
|
|
382
|
-
| **[dsh-
|
|
383
|
-
| **[dsh-
|
|
403
|
+
<details>
|
|
404
|
+
<summary>Expandir todos os plugins</summary>
|
|
405
|
+
|
|
406
|
+
| Plugin | Status |
|
|
407
|
+
|---|---|
|
|
408
|
+
| **[dsh-aqua-input-check](https://github.com/PerryLink/dsh-aqua-input-check)** | |
|
|
409
|
+
| **[dsh-archive-check](https://github.com/PerryLink/dsh-archive-check)** | |
|
|
410
|
+
| **[dsh-auto-review](https://github.com/PerryLink/dsh-auto-review)** | |
|
|
411
|
+
| **[dsh-autotier](https://github.com/PerryLink/dsh-autotier)** | |
|
|
412
|
+
| **[dsh-bid-ca-precheck](https://github.com/PerryLink/dsh-bid-ca-precheck)** | |
|
|
413
|
+
| **[dsh-bid-qual-check](https://github.com/PerryLink/dsh-bid-qual-check)** | |
|
|
414
|
+
| **[dsh-cert-mcp](https://github.com/PerryLink/dsh-cert-mcp)** | |
|
|
415
|
+
| **[dsh-checkpoint-rewind](https://github.com/PerryLink/dsh-checkpoint-rewind)** | |
|
|
416
|
+
| **[dsh-click](https://github.com/PerryLink/dsh-click)** | |
|
|
417
|
+
| **[dsh-composer-history](https://github.com/PerryLink/dsh-composer-history)** | |
|
|
418
|
+
| **[dsh-contract-stance](https://github.com/PerryLink/dsh-contract-stance)** | |
|
|
419
|
+
| **[dsh-customs-doc-check](https://github.com/PerryLink/dsh-customs-doc-check)** | |
|
|
420
|
+
| **[dsh-data-quality](https://github.com/PerryLink/dsh-data-quality)** | |
|
|
421
|
+
| **[dsh-demurrage-ledger](https://github.com/PerryLink/dsh-demurrage-ledger)** | |
|
|
422
|
+
| **[dsh-doublecheck](https://github.com/PerryLink/dsh-doublecheck)** | |
|
|
423
|
+
| **[dsh-drill-script-check](https://github.com/PerryLink/dsh-drill-script-check)** | |
|
|
424
|
+
| **[dsh-eia-guide-check](https://github.com/PerryLink/dsh-eia-guide-check)** | |
|
|
425
|
+
| **[dsh-emergency-plan](https://github.com/PerryLink/dsh-emergency-plan)** | |
|
|
426
|
+
| **[dsh-essay-rubric-check](https://github.com/PerryLink/dsh-essay-rubric-check)** | |
|
|
427
|
+
| **[dsh-evidence-check](https://github.com/PerryLink/dsh-evidence-check)** | |
|
|
428
|
+
| **[dsh-export-ctl-check](https://github.com/PerryLink/dsh-export-ctl-check)** | |
|
|
429
|
+
| **[dsh-fast](https://github.com/PerryLink/dsh-fast)** | |
|
|
430
|
+
| **[dsh-fmea-table-check](https://github.com/PerryLink/dsh-fmea-table-check)** | |
|
|
431
|
+
| **[dsh-forecast-penalty](https://github.com/PerryLink/dsh-forecast-penalty)** | |
|
|
432
|
+
| **[dsh-fund-research](https://github.com/PerryLink/dsh-fund-research)** | |
|
|
433
|
+
| **[dsh-github](https://github.com/PerryLink/dsh-github)** | |
|
|
434
|
+
| **[dsh-gongwen-flow-check](https://github.com/PerryLink/dsh-gongwen-flow-check)** | |
|
|
435
|
+
| **[dsh-gongwen-word-check](https://github.com/PerryLink/dsh-gongwen-word-check)** | |
|
|
436
|
+
| **[dsh-guard-plan-qc](https://github.com/PerryLink/dsh-guard-plan-qc)** | |
|
|
437
|
+
| **[dsh-hazchem-check](https://github.com/PerryLink/dsh-hazchem-check)** | |
|
|
438
|
+
| **[dsh-hazplan-check](https://github.com/PerryLink/dsh-hazplan-check)** | |
|
|
439
|
+
| **[dsh-hidden-risk-map](https://github.com/PerryLink/dsh-hidden-risk-map)** | |
|
|
440
|
+
| **[dsh-hs-classify](https://github.com/PerryLink/dsh-hs-classify)** | |
|
|
441
|
+
| **[dsh-icd-rule-check](https://github.com/PerryLink/dsh-icd-rule-check)** | |
|
|
442
|
+
| **[dsh-industry-research](https://github.com/PerryLink/dsh-industry-research)** | |
|
|
443
|
+
| **[dsh-lawcite-adapter](https://github.com/PerryLink/dsh-lawcite-adapter)** | |
|
|
444
|
+
| **[dsh-laya](https://github.com/PerryLink/dsh-laya)** | |
|
|
445
|
+
| **[dsh-lc-doc-check](https://github.com/PerryLink/dsh-lc-doc-check)** | |
|
|
446
|
+
| **[dsh-learning-gap-check](https://github.com/PerryLink/dsh-learning-gap-check)** | |
|
|
447
|
+
| **[dsh-library](https://github.com/PerryLink/dsh-library)** | |
|
|
448
|
+
| **[dsh-local-ai](https://github.com/PerryLink/dsh-local-ai)** | |
|
|
449
|
+
| **[dsh-lsp-actions](https://github.com/PerryLink/dsh-lsp-actions)** | |
|
|
450
|
+
| **[dsh-mask](https://github.com/PerryLink/dsh-mask)** | |
|
|
451
|
+
| **[dsh-mcp-panel](https://github.com/PerryLink/dsh-mcp-panel)** | |
|
|
452
|
+
| **[dsh-medrec-qc](https://github.com/PerryLink/dsh-medrec-qc)** | |
|
|
453
|
+
| **[dsh-memento](https://github.com/PerryLink/dsh-memento)** | |
|
|
454
|
+
| **[dsh-nsfc-form-check](https://github.com/PerryLink/dsh-nsfc-form-check)** | |
|
|
455
|
+
| **[dsh-nurse-record-check](https://github.com/PerryLink/dsh-nurse-record-check)** | |
|
|
456
|
+
| **[dsh-observe](https://github.com/PerryLink/dsh-observe)** | |
|
|
457
|
+
| **[dsh-origin-rvc-check](https://github.com/PerryLink/dsh-origin-rvc-check)** | |
|
|
458
|
+
| **[dsh-ota-review-check](https://github.com/PerryLink/dsh-ota-review-check)** | |
|
|
459
|
+
| **[dsh-output-styles](https://github.com/PerryLink/dsh-output-styles)** | |
|
|
460
|
+
| **[dsh-paper-doc-adapter](https://github.com/PerryLink/dsh-paper-doc-adapter)** | |
|
|
461
|
+
| **[dsh-permission-rules](https://github.com/PerryLink/dsh-permission-rules)** | |
|
|
462
|
+
| **[dsh-permit-report-check](https://github.com/PerryLink/dsh-permit-report-check)** | |
|
|
463
|
+
| **[dsh-pipeline-check](https://github.com/PerryLink/dsh-pipeline-check)** | |
|
|
464
|
+
| **[dsh-pleading-draft](https://github.com/PerryLink/dsh-pleading-draft)** | |
|
|
465
|
+
| **[dsh-plugin-doctor](https://github.com/PerryLink/dsh-plugin-doctor)** | |
|
|
466
|
+
| **[dsh-plugin-guide](https://github.com/PerryLink/dsh-plugin-guide)** | |
|
|
467
|
+
| **[dsh-plugin-kit](https://github.com/PerryLink/dsh-plugin-kit)** | |
|
|
468
|
+
| **[dsh-plugin-upgrade](https://github.com/PerryLink/dsh-plugin-upgrade)** | |
|
|
469
|
+
| **[dsh-policy-brief-draft](https://github.com/PerryLink/dsh-policy-brief-draft)** | |
|
|
470
|
+
| **[dsh-power-loss-split](https://github.com/PerryLink/dsh-power-loss-split)** | |
|
|
471
|
+
| **[dsh-power-ticket-check](https://github.com/PerryLink/dsh-power-ticket-check)** | |
|
|
472
|
+
| **[dsh-ppap-check](https://github.com/PerryLink/dsh-ppap-check)** | |
|
|
473
|
+
| **[dsh-protest-deadline](https://github.com/PerryLink/dsh-protest-deadline)** | |
|
|
474
|
+
| **[dsh-railway-window](https://github.com/PerryLink/dsh-railway-window)** | |
|
|
475
|
+
| **[dsh-repair-order-qc](https://github.com/PerryLink/dsh-repair-order-qc)** | |
|
|
476
|
+
| **[dsh-research-report](https://github.com/PerryLink/dsh-research-report)** | |
|
|
477
|
+
| **[dsh-review-reply-check](https://github.com/PerryLink/dsh-review-reply-check)** | |
|
|
478
|
+
| **[dsh-rulefile-check](https://github.com/PerryLink/dsh-rulefile-check)** | |
|
|
479
|
+
| **[dsh-safety-brief-check](https://github.com/PerryLink/dsh-safety-brief-check)** | |
|
|
480
|
+
| **[dsh-score](https://github.com/PerryLink/dsh-score)** | |
|
|
481
|
+
| **[dsh-session-sync](https://github.com/PerryLink/dsh-session-sync)** | |
|
|
482
|
+
| **[dsh-site-log-check](https://github.com/PerryLink/dsh-site-log-check)** | |
|
|
483
|
+
| **[dsh-skill-pack-security](https://github.com/PerryLink/dsh-skill-pack-security)** | |
|
|
484
|
+
| **[dsh-soe-decision-check](https://github.com/PerryLink/dsh-soe-decision-check)** | |
|
|
485
|
+
| **[dsh-soilwater-check](https://github.com/PerryLink/dsh-soilwater-check)** | |
|
|
486
|
+
| **[dsh-sop-sync-check](https://github.com/PerryLink/dsh-sop-sync-check)** | |
|
|
487
|
+
| **[dsh-spc-gbt-adapter](https://github.com/PerryLink/dsh-spc-gbt-adapter)** | |
|
|
488
|
+
| **[dsh-talk](https://github.com/PerryLink/dsh-talk)** | |
|
|
489
|
+
| **[dsh-tender-extract](https://github.com/PerryLink/dsh-tender-extract)** | |
|
|
490
|
+
| **[dsh-tender-matrix](https://github.com/PerryLink/dsh-tender-matrix)** | |
|
|
491
|
+
| **[dsh-test-drive](https://github.com/PerryLink/dsh-test-drive)** | |
|
|
492
|
+
| **[dsh-ticktick](https://github.com/PerryLink/dsh-ticktick)** | |
|
|
493
|
+
| **[dsh-translate](https://github.com/PerryLink/dsh-translate)** | |
|
|
494
|
+
| **[dsh-warranty-calc](https://github.com/PerryLink/dsh-warranty-calc)** | |
|
|
495
|
+
| **[dsh-budget](https://github.com/PerryLink/dsh-budget)** | 🧊 CONGELADO — ver o README do repositório |
|
|
496
|
+
| **[dsh-claude-move](https://github.com/PerryLink/dsh-claude-move)** | 🧊 CONGELADO — ver o README do repositório |
|
|
497
|
+
| **[dsh-defend](https://github.com/PerryLink/dsh-defend)** | 🧊 CONGELADO — ver o README do repositório |
|
|
498
|
+
| **[dsh-draw](https://github.com/PerryLink/dsh-draw)** | 🧊 CONGELADO — ver o README do repositório |
|
|
499
|
+
| **[dsh-reach](https://github.com/PerryLink/dsh-reach)** | 🧊 CONGELADO — ver o README do repositório |
|
|
500
|
+
| **[dsh-background-agents](https://github.com/PerryLink/dsh-background-agents)** | 🚫 RETIRADO — ver o README do repositório |
|
|
501
|
+
| **[dsh-session-pin](https://github.com/PerryLink/dsh-session-pin)** | 🚫 RETIRADO — ver o README do repositório |
|
|
502
|
+
| **[dsh-team-rooms](https://github.com/PerryLink/dsh-team-rooms)** | 🚫 RETIRADO — ver o README do repositório |
|
|
503
|
+
|
|
504
|
+
</details>
|
package/README-zh.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# dsh-autotier
|
|
2
2
|
|
|
3
|
+
> 🧊 **2026-10-31 起冻结,维护模式。** 不再新增功能;只做安全与依赖修复。
|
|
4
|
+
|
|
5
|
+
## 维护状态:🧊 已冻结
|
|
6
|
+
|
|
7
|
+
2026-10-31 起进入维护模式。包仍可安装;只计划安全与依赖修复。
|
|
8
|
+
|
|
3
9
|
[](https://gitee.com/perrylink/dsh-autotier)
|
|
4
10
|
[](LICENSE)
|
|
5
11
|
[](https://github.com/topics/dsh-plugin)
|
|
@@ -12,6 +18,11 @@
|
|
|
12
18
|
|
|
13
19
|
[English](README.md) | **简体中文** | [Español](README-es.md) | [Português](README-pt.md) | [हिन्दी](README-hi.md)
|
|
14
20
|
|
|
21
|
+
```sh
|
|
22
|
+
dsh plugin --profile <name> add dsh-autotier
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
|
|
15
26
|
DeepSeek Harness 的自动模型分档路由:一条用户指令进来,一个档位决策出去 ——
|
|
16
27
|
无需手动切换模型。
|
|
17
28
|
|
|
@@ -28,9 +39,9 @@ DeepSeek Harness 的自动模型分档路由:一条用户指令进来,一个
|
|
|
28
39
|
<!-- star-cta -->
|
|
29
40
|
## ⭐ 如果它帮到了你
|
|
30
41
|
|
|
31
|
-
这个插件是 [DSH 插件家族](https://github.com/PerryLink)的一员(
|
|
42
|
+
这个插件是 [DSH 插件家族](https://github.com/PerryLink)的一员(95 个,全部 Apache-2.0)。如果你在用,**给个 star** —— 它不会解锁任何功能,但会让下一个人在搜索里更容易找到它。
|
|
32
43
|
|
|
33
|
-
*English:* part of a
|
|
44
|
+
*English:* part of a 95 plugin family for DeepSeek Harness. If it is useful, **a star helps the next person find it** — nothing is gated behind it.
|
|
34
45
|
|
|
35
46
|
## What is dsh-autotier?
|
|
36
47
|
|
|
@@ -38,9 +49,10 @@ npm 通道
|
|
|
38
49
|
|
|
39
50
|
git 通道
|
|
40
51
|
|
|
41
|
-

|
|
53
|
+
|
|
54
|
+
*工作流概览:调用 → 插件 → 结果。下面的示例使用实际命令面。*
|
|
42
55
|
|
|
43
|
-

|
|
44
56
|
|
|
45
57
|
*同一次运行,动图版。*
|
|
46
58
|
|
|
@@ -137,6 +149,59 @@ dsh plugin --profile web remove dsh-autotier
|
|
|
137
149
|
该行、settings 命名空间、命令、工具与全部监听器都随插件移除;除设置文档外
|
|
138
150
|
不会在别处留下任何写入。
|
|
139
151
|
|
|
152
|
+
### 示例
|
|
153
|
+
|
|
154
|
+
以下为插件真实入口;安装后调用一个即可。
|
|
155
|
+
|
|
156
|
+
#### 详细示例
|
|
157
|
+
|
|
158
|
+
**命令**
|
|
159
|
+
|
|
160
|
+
~~~sh
|
|
161
|
+
tier_route
|
|
162
|
+
~~~
|
|
163
|
+
|
|
164
|
+
**输入**
|
|
165
|
+
|
|
166
|
+
~~~json
|
|
167
|
+
{ "text": "Plan the migration of the storage layer end to end" }
|
|
168
|
+
~~~
|
|
169
|
+
|
|
170
|
+
**输出**
|
|
171
|
+
|
|
172
|
+
~~~text
|
|
173
|
+
{
|
|
174
|
+
"tier": "strong",
|
|
175
|
+
"scenario": "planning",
|
|
176
|
+
"confidence": 0.97,
|
|
177
|
+
"fingerprint": "planning|0|0",
|
|
178
|
+
"reason": "explicit planning intent"
|
|
179
|
+
}
|
|
180
|
+
~~~
|
|
181
|
+
|
|
182
|
+
*来源 `README.md:248 (Tools & surfaces); tests/tools.spec.ts:96-109; src/tools.ts:80`*
|
|
183
|
+
|
|
184
|
+
#### 失败分支
|
|
185
|
+
|
|
186
|
+
**输入**
|
|
187
|
+
|
|
188
|
+
~~~text
|
|
189
|
+
resolveConfig({ tiers: { cheap: { provider: 'deepseek-official', model: 'deepseek-v4-pro', effort: 'high', followSession: false } } })
|
|
190
|
+
~~~
|
|
191
|
+
|
|
192
|
+
**输出**
|
|
193
|
+
|
|
194
|
+
~~~text
|
|
195
|
+
Error: dsh-autotier: config.tiers strong and cheap resolve to the same landing (deepseek-official/deepseek-v4-pro@high); tiering would be a no-op
|
|
196
|
+
~~~
|
|
197
|
+
|
|
198
|
+
*来源 `plugins/dsh-autotier/src/config.ts:377-386; plugins/dsh-autotier/tests/config.spec.ts:87-92; plugins/dsh-autotier/README.md:208-209`*
|
|
199
|
+
|
|
200
|
+
#### 简短示例
|
|
201
|
+
|
|
202
|
+
- `tier_status`
|
|
203
|
+
- `tier_route`
|
|
204
|
+
|
|
140
205
|
## 配置
|
|
141
206
|
|
|
142
207
|
每个键都在加载期校验;非法值会响亮失败,而不是静默关闭路由。本仓
|
|
@@ -298,52 +363,107 @@ Apache-2.0。见 [LICENSE](./LICENSE) 与
|
|
|
298
363
|
|
|
299
364
|
## PerryLink DSH Plugin Family
|
|
300
365
|
|
|
301
|
-
本项目是 [PerryLink](https://github.com/PerryLink) 维护的 DeepSeek Harness
|
|
366
|
+
本项目是 [PerryLink](https://github.com/PerryLink) 维护的 DeepSeek Harness 插件家族成员。完整名单默认折叠,避免每个 README 的首屏被长表淹没;点击展开可查看每一行及其状态。
|
|
302
367
|
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
|
307
|
-
|
|
308
|
-
| **[dsh-
|
|
309
|
-
| **[dsh-
|
|
310
|
-
| **[dsh-
|
|
311
|
-
| **[dsh-
|
|
312
|
-
| **[dsh-
|
|
313
|
-
| **[dsh-
|
|
314
|
-
| **[dsh-
|
|
315
|
-
| **[dsh-
|
|
316
|
-
| **[dsh-
|
|
317
|
-
| **[dsh-
|
|
318
|
-
| **[dsh-
|
|
319
|
-
| **[dsh-
|
|
320
|
-
| **[dsh-
|
|
321
|
-
| **[dsh-
|
|
322
|
-
| **[dsh-
|
|
323
|
-
| **[dsh-
|
|
324
|
-
| **[dsh-
|
|
325
|
-
| **[dsh-
|
|
326
|
-
| **[dsh-
|
|
327
|
-
| **[dsh-
|
|
328
|
-
| **[dsh-
|
|
329
|
-
| **[dsh-
|
|
330
|
-
| **[dsh-
|
|
331
|
-
| **[dsh-
|
|
332
|
-
| **[dsh-
|
|
333
|
-
| **[dsh-
|
|
334
|
-
| **[dsh-
|
|
335
|
-
| **[dsh-
|
|
336
|
-
| **[dsh-
|
|
337
|
-
| **[dsh-
|
|
338
|
-
| **[dsh-
|
|
339
|
-
| **[dsh-
|
|
340
|
-
| **[dsh-
|
|
341
|
-
| **[dsh-
|
|
342
|
-
| **[dsh-
|
|
343
|
-
| **[dsh-
|
|
344
|
-
| **[dsh-
|
|
345
|
-
| **[dsh-
|
|
346
|
-
| **[dsh-
|
|
347
|
-
| **[dsh-
|
|
348
|
-
| **[dsh-
|
|
349
|
-
| **[dsh-
|
|
368
|
+
<details>
|
|
369
|
+
<summary>展开全部插件</summary>
|
|
370
|
+
|
|
371
|
+
| 插件 | 状态 |
|
|
372
|
+
|---|---|
|
|
373
|
+
| **[dsh-aqua-input-check](https://github.com/PerryLink/dsh-aqua-input-check)** | |
|
|
374
|
+
| **[dsh-archive-check](https://github.com/PerryLink/dsh-archive-check)** | |
|
|
375
|
+
| **[dsh-auto-review](https://github.com/PerryLink/dsh-auto-review)** | |
|
|
376
|
+
| **[dsh-autotier](https://github.com/PerryLink/dsh-autotier)** | |
|
|
377
|
+
| **[dsh-bid-ca-precheck](https://github.com/PerryLink/dsh-bid-ca-precheck)** | |
|
|
378
|
+
| **[dsh-bid-qual-check](https://github.com/PerryLink/dsh-bid-qual-check)** | |
|
|
379
|
+
| **[dsh-cert-mcp](https://github.com/PerryLink/dsh-cert-mcp)** | |
|
|
380
|
+
| **[dsh-checkpoint-rewind](https://github.com/PerryLink/dsh-checkpoint-rewind)** | |
|
|
381
|
+
| **[dsh-click](https://github.com/PerryLink/dsh-click)** | |
|
|
382
|
+
| **[dsh-composer-history](https://github.com/PerryLink/dsh-composer-history)** | |
|
|
383
|
+
| **[dsh-contract-stance](https://github.com/PerryLink/dsh-contract-stance)** | |
|
|
384
|
+
| **[dsh-customs-doc-check](https://github.com/PerryLink/dsh-customs-doc-check)** | |
|
|
385
|
+
| **[dsh-data-quality](https://github.com/PerryLink/dsh-data-quality)** | |
|
|
386
|
+
| **[dsh-demurrage-ledger](https://github.com/PerryLink/dsh-demurrage-ledger)** | |
|
|
387
|
+
| **[dsh-doublecheck](https://github.com/PerryLink/dsh-doublecheck)** | |
|
|
388
|
+
| **[dsh-drill-script-check](https://github.com/PerryLink/dsh-drill-script-check)** | |
|
|
389
|
+
| **[dsh-eia-guide-check](https://github.com/PerryLink/dsh-eia-guide-check)** | |
|
|
390
|
+
| **[dsh-emergency-plan](https://github.com/PerryLink/dsh-emergency-plan)** | |
|
|
391
|
+
| **[dsh-essay-rubric-check](https://github.com/PerryLink/dsh-essay-rubric-check)** | |
|
|
392
|
+
| **[dsh-evidence-check](https://github.com/PerryLink/dsh-evidence-check)** | |
|
|
393
|
+
| **[dsh-export-ctl-check](https://github.com/PerryLink/dsh-export-ctl-check)** | |
|
|
394
|
+
| **[dsh-fast](https://github.com/PerryLink/dsh-fast)** | |
|
|
395
|
+
| **[dsh-fmea-table-check](https://github.com/PerryLink/dsh-fmea-table-check)** | |
|
|
396
|
+
| **[dsh-forecast-penalty](https://github.com/PerryLink/dsh-forecast-penalty)** | |
|
|
397
|
+
| **[dsh-fund-research](https://github.com/PerryLink/dsh-fund-research)** | |
|
|
398
|
+
| **[dsh-github](https://github.com/PerryLink/dsh-github)** | |
|
|
399
|
+
| **[dsh-gongwen-flow-check](https://github.com/PerryLink/dsh-gongwen-flow-check)** | |
|
|
400
|
+
| **[dsh-gongwen-word-check](https://github.com/PerryLink/dsh-gongwen-word-check)** | |
|
|
401
|
+
| **[dsh-guard-plan-qc](https://github.com/PerryLink/dsh-guard-plan-qc)** | |
|
|
402
|
+
| **[dsh-hazchem-check](https://github.com/PerryLink/dsh-hazchem-check)** | |
|
|
403
|
+
| **[dsh-hazplan-check](https://github.com/PerryLink/dsh-hazplan-check)** | |
|
|
404
|
+
| **[dsh-hidden-risk-map](https://github.com/PerryLink/dsh-hidden-risk-map)** | |
|
|
405
|
+
| **[dsh-hs-classify](https://github.com/PerryLink/dsh-hs-classify)** | |
|
|
406
|
+
| **[dsh-icd-rule-check](https://github.com/PerryLink/dsh-icd-rule-check)** | |
|
|
407
|
+
| **[dsh-industry-research](https://github.com/PerryLink/dsh-industry-research)** | |
|
|
408
|
+
| **[dsh-lawcite-adapter](https://github.com/PerryLink/dsh-lawcite-adapter)** | |
|
|
409
|
+
| **[dsh-laya](https://github.com/PerryLink/dsh-laya)** | |
|
|
410
|
+
| **[dsh-lc-doc-check](https://github.com/PerryLink/dsh-lc-doc-check)** | |
|
|
411
|
+
| **[dsh-learning-gap-check](https://github.com/PerryLink/dsh-learning-gap-check)** | |
|
|
412
|
+
| **[dsh-library](https://github.com/PerryLink/dsh-library)** | |
|
|
413
|
+
| **[dsh-local-ai](https://github.com/PerryLink/dsh-local-ai)** | |
|
|
414
|
+
| **[dsh-lsp-actions](https://github.com/PerryLink/dsh-lsp-actions)** | |
|
|
415
|
+
| **[dsh-mask](https://github.com/PerryLink/dsh-mask)** | |
|
|
416
|
+
| **[dsh-mcp-panel](https://github.com/PerryLink/dsh-mcp-panel)** | |
|
|
417
|
+
| **[dsh-medrec-qc](https://github.com/PerryLink/dsh-medrec-qc)** | |
|
|
418
|
+
| **[dsh-memento](https://github.com/PerryLink/dsh-memento)** | |
|
|
419
|
+
| **[dsh-nsfc-form-check](https://github.com/PerryLink/dsh-nsfc-form-check)** | |
|
|
420
|
+
| **[dsh-nurse-record-check](https://github.com/PerryLink/dsh-nurse-record-check)** | |
|
|
421
|
+
| **[dsh-observe](https://github.com/PerryLink/dsh-observe)** | |
|
|
422
|
+
| **[dsh-origin-rvc-check](https://github.com/PerryLink/dsh-origin-rvc-check)** | |
|
|
423
|
+
| **[dsh-ota-review-check](https://github.com/PerryLink/dsh-ota-review-check)** | |
|
|
424
|
+
| **[dsh-output-styles](https://github.com/PerryLink/dsh-output-styles)** | |
|
|
425
|
+
| **[dsh-paper-doc-adapter](https://github.com/PerryLink/dsh-paper-doc-adapter)** | |
|
|
426
|
+
| **[dsh-permission-rules](https://github.com/PerryLink/dsh-permission-rules)** | |
|
|
427
|
+
| **[dsh-permit-report-check](https://github.com/PerryLink/dsh-permit-report-check)** | |
|
|
428
|
+
| **[dsh-pipeline-check](https://github.com/PerryLink/dsh-pipeline-check)** | |
|
|
429
|
+
| **[dsh-pleading-draft](https://github.com/PerryLink/dsh-pleading-draft)** | |
|
|
430
|
+
| **[dsh-plugin-doctor](https://github.com/PerryLink/dsh-plugin-doctor)** | |
|
|
431
|
+
| **[dsh-plugin-guide](https://github.com/PerryLink/dsh-plugin-guide)** | |
|
|
432
|
+
| **[dsh-plugin-kit](https://github.com/PerryLink/dsh-plugin-kit)** | |
|
|
433
|
+
| **[dsh-plugin-upgrade](https://github.com/PerryLink/dsh-plugin-upgrade)** | |
|
|
434
|
+
| **[dsh-policy-brief-draft](https://github.com/PerryLink/dsh-policy-brief-draft)** | |
|
|
435
|
+
| **[dsh-power-loss-split](https://github.com/PerryLink/dsh-power-loss-split)** | |
|
|
436
|
+
| **[dsh-power-ticket-check](https://github.com/PerryLink/dsh-power-ticket-check)** | |
|
|
437
|
+
| **[dsh-ppap-check](https://github.com/PerryLink/dsh-ppap-check)** | |
|
|
438
|
+
| **[dsh-protest-deadline](https://github.com/PerryLink/dsh-protest-deadline)** | |
|
|
439
|
+
| **[dsh-railway-window](https://github.com/PerryLink/dsh-railway-window)** | |
|
|
440
|
+
| **[dsh-repair-order-qc](https://github.com/PerryLink/dsh-repair-order-qc)** | |
|
|
441
|
+
| **[dsh-research-report](https://github.com/PerryLink/dsh-research-report)** | |
|
|
442
|
+
| **[dsh-review-reply-check](https://github.com/PerryLink/dsh-review-reply-check)** | |
|
|
443
|
+
| **[dsh-rulefile-check](https://github.com/PerryLink/dsh-rulefile-check)** | |
|
|
444
|
+
| **[dsh-safety-brief-check](https://github.com/PerryLink/dsh-safety-brief-check)** | |
|
|
445
|
+
| **[dsh-score](https://github.com/PerryLink/dsh-score)** | |
|
|
446
|
+
| **[dsh-session-sync](https://github.com/PerryLink/dsh-session-sync)** | |
|
|
447
|
+
| **[dsh-site-log-check](https://github.com/PerryLink/dsh-site-log-check)** | |
|
|
448
|
+
| **[dsh-skill-pack-security](https://github.com/PerryLink/dsh-skill-pack-security)** | |
|
|
449
|
+
| **[dsh-soe-decision-check](https://github.com/PerryLink/dsh-soe-decision-check)** | |
|
|
450
|
+
| **[dsh-soilwater-check](https://github.com/PerryLink/dsh-soilwater-check)** | |
|
|
451
|
+
| **[dsh-sop-sync-check](https://github.com/PerryLink/dsh-sop-sync-check)** | |
|
|
452
|
+
| **[dsh-spc-gbt-adapter](https://github.com/PerryLink/dsh-spc-gbt-adapter)** | |
|
|
453
|
+
| **[dsh-talk](https://github.com/PerryLink/dsh-talk)** | |
|
|
454
|
+
| **[dsh-tender-extract](https://github.com/PerryLink/dsh-tender-extract)** | |
|
|
455
|
+
| **[dsh-tender-matrix](https://github.com/PerryLink/dsh-tender-matrix)** | |
|
|
456
|
+
| **[dsh-test-drive](https://github.com/PerryLink/dsh-test-drive)** | |
|
|
457
|
+
| **[dsh-ticktick](https://github.com/PerryLink/dsh-ticktick)** | |
|
|
458
|
+
| **[dsh-translate](https://github.com/PerryLink/dsh-translate)** | |
|
|
459
|
+
| **[dsh-warranty-calc](https://github.com/PerryLink/dsh-warranty-calc)** | |
|
|
460
|
+
| **[dsh-budget](https://github.com/PerryLink/dsh-budget)** | 🧊 已冻结 — 见仓库 README |
|
|
461
|
+
| **[dsh-claude-move](https://github.com/PerryLink/dsh-claude-move)** | 🧊 已冻结 — 见仓库 README |
|
|
462
|
+
| **[dsh-defend](https://github.com/PerryLink/dsh-defend)** | 🧊 已冻结 — 见仓库 README |
|
|
463
|
+
| **[dsh-draw](https://github.com/PerryLink/dsh-draw)** | 🧊 已冻结 — 见仓库 README |
|
|
464
|
+
| **[dsh-reach](https://github.com/PerryLink/dsh-reach)** | 🧊 已冻结 — 见仓库 README |
|
|
465
|
+
| **[dsh-background-agents](https://github.com/PerryLink/dsh-background-agents)** | 🚫 已退役 — 见仓库 README |
|
|
466
|
+
| **[dsh-session-pin](https://github.com/PerryLink/dsh-session-pin)** | 🚫 已退役 — 见仓库 README |
|
|
467
|
+
| **[dsh-team-rooms](https://github.com/PerryLink/dsh-team-rooms)** | 🚫 已退役 — 见仓库 README |
|
|
468
|
+
|
|
469
|
+
</details>
|