dsh-output-styles 0.6.25 → 0.8.1

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 CHANGED
@@ -1,9 +1,46 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.8.1] - 2026-10-18
4
+
5
+ ### Changed
6
+
7
+ - Add a 1280×720 hero and a 960×540, 4-second terminal GIF rendered from the test run; `screenshots.json` is an object array and `capture.json` records the command.
8
+
9
+ ## [Unreleased]
10
+
11
+ ### Changed
12
+
13
+ - Compatibility docs: five READMEs now name `dsh-v0.2.1-rc.2` and the current 156-test count; `dshVersions` records `0.2.1-rc.2`.
14
+
15
+ ## [0.8.0] - 2026-10-18
16
+
17
+ ### Added
18
+
19
+ - **The `/style` picker states when prompt injection is disabled.** When the core `outputStyles` service is active, the projection reports `promptInjection: "disabled"`; the off row now carries the localized reason instead of leaving the user to wonder why a chosen style does nothing (C2).
20
+
21
+ ## [0.7.1] - 2026-10-17
22
+
23
+ ### Fixed
24
+
25
+ - **The client is a `window.__ModuleLoader__.load` factory, not bare ESM.** `tsdown.client.config.ts` emitted `export { apply, inject, name }`; the host executes `lib/client.js` as a classic script, so the `/style` picker never loaded. A post-build `scripts/bundle-client.mjs` wraps the bundle, and `verify-artifacts` now asserts the loader shape instead of dynamic-importing it.
26
+ - Compatibility: `engines.dsh` -> `>=0.2.1-0 <0.3.0`; the existing 0.2.x peer band is unchanged.
27
+
3
28
  All notable changes to this project are documented in this file. The format
4
29
  follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and the
5
30
  project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
31
 
32
+ ## [0.6.26] - 2026-10-10
33
+
34
+ ### Changed
35
+
36
+ - The README now carries the terminal demo and an animated version of it: the same
37
+ real run, shown assembling line by line. The static image stays as the primary
38
+ one, because a crawler or an assistant can read a PNG and cannot read a GIF.
39
+
40
+ Both frames are that plugin's own output — the card is generated by running its
41
+ code over its own fixture, not drawn by hand.
42
+
43
+
7
44
  ## [0.6.25] - 2026-10-05
8
45
 
9
46
  ### Changed
@@ -13,6 +50,31 @@ project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
13
50
 
14
51
  ## [Unreleased]
15
52
 
53
+ ### Fixed
54
+
55
+ - **Coexistence degradation was invisible to the user.** When a core
56
+ `outputStyles` service is composed, this plugin skips prompt injection and
57
+ keeps only hot-switch / rules / export. That state was announced by a single
58
+ `ctx.logger.info` line — and a logger line never reaches the session
59
+ transcript, so on a degraded composition `/style concise` answered exactly
60
+ `switched to concise`, in the same words as a working standalone run, while
61
+ nothing was injected. Reported by *someone looking at the phone*: the log is
62
+ invisible there, so the honest reading of that reply was "the style is broken".
63
+
64
+ Two user-visible traces now exist, neither of which existed before:
65
+
66
+ - every mutating `/style` reply (`/style <name>` and `/style off`) appends a
67
+ `degraded coexistence mode` note naming the setting that overrides it
68
+ (`respectCoreOutputStyles: false`);
69
+ - the `style` session projection exposes `promptInjection: 'enabled' |
70
+ 'disabled'`, so a client (Web picker, any projection reader) can state the
71
+ fact instead of implying the style is in force.
72
+
73
+ No behaviour changes in standalone mode: the reply text is byte-identical and
74
+ the projection's new field is `'enabled'`. The projection wire value is
75
+ additive — the field is required in the sealed view schema, so hosts and
76
+ clients built against this version agree on it.
77
+
16
78
  ## [0.6.24] - 2026-10-05
17
79
 
18
80
  undefined
package/README-es.md CHANGED
@@ -26,17 +26,30 @@
26
26
  ---
27
27
 
28
28
 
29
+ **📖 Base de conocimiento del ecosistema** — datos medidos, no marketing: [guía de desarrollo · datos de selección · criterios de mantenimiento](https://perrylink.github.io/dsh-plugin-guide/).
30
+
29
31
  <!-- star-cta -->
30
32
  ## ⭐ 如果它帮到了你
31
33
 
32
34
  Este plugin forma parte de la [familia de plugins DSH](https://github.com/PerryLink) (más de 40, todos Apache-2.0). Si te resulta útil, **dale una estrella**: no desbloquea nada, pero ayuda a que la siguiente persona lo encuentre antes.
33
35
 
34
36
  *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.
37
+
38
+ ## What is dsh-output-styles?
39
+
40
+ `/style concise` — y a partir de ahora toda respuesta es concisa. `/style off` — de vuelta al valor por defecto del proyecto.
41
+
42
+ ![Demostración de terminal de dsh-output-styles: dsh-output-styles — /style lists, then switches at runtime](https://raw.githubusercontent.com/PerryLink/dsh-output-styles/main/docs/assets/dsh-output-styles-hero.png)
43
+
44
+ ![Animated terminal demo of dsh-output-styles](https://raw.githubusercontent.com/PerryLink/dsh-output-styles/main/docs/assets/dsh-output-styles-demo.gif)
45
+
46
+ *La misma ejecución, animada.*
47
+
35
48
  ## Compatibility
36
49
 
37
50
  | Surface | Status |
38
51
  |---|---|
39
- | Harness | DeepSeek Harness `dsh-v0.2.1-alpha.1` (adaptado el 2026-09-09): el sobre de sesión conserva su campo ignorable solo para compatibilidad de lectura de logs almacenados - Session.append aún no puede estamparlo, por lo que el comportamiento de la puerta no cambia. Verificado el 2026-09-11 contra el checkout master dsh-v0.1.7-alpha.1 (cadena de puertas completa + smoke de instalación del perfil). |
52
+ | Harness | DeepSeek Harness `dsh-v0.2.1-rc.2` (adaptado el 2026-09-09): el sobre de sesión conserva su campo ignorable solo para compatibilidad de lectura de logs almacenados - Session.append aún no puede estamparlo, por lo que el comportamiento de la puerta no cambia. Verificado el 2026-09-11 contra el checkout master dsh-v0.1.7-alpha.1 (cadena de puertas completa + smoke de instalación del perfil). |
40
53
  | Node | `^22.19.0 || >=24.0.0` |
41
54
  | Platforms | Todas (host + cliente web) |
42
55
  | Model | Cualquiera (inyección en el prompt del sistema) |
@@ -56,9 +69,13 @@ Este plugin forma parte de la [familia de plugins DSH](https://github.com/PerryL
56
69
 
57
70
  ## Quick start
58
71
 
72
+ ```sh
73
+ dsh plugin --profile web add github:PerryLink/dsh-output-styles
74
+ ```
75
+
59
76
  ```sh
60
77
  # 1. install the bundle into your profile
61
- dsh plugin --profile web add "github:PerryLink/dsh-output-styles#main"
78
+ dsh plugin --profile web add github:PerryLink/dsh-output-styles
62
79
 
63
80
  # or from npm (published releases)
64
81
  dsh plugin --profile web add dsh-output-styles
@@ -103,7 +120,7 @@ Todo lo que el modelo ve es reconstruible desde el registro de sesión — sin u
103
120
 
104
121
  ## Install & uninstall
105
122
 
106
- - **canal git** (último `main`): `dsh plugin --profile web add "github:PerryLink/dsh-output-styles#main"` — el script `prepare` compila solo con dependencias de producción.
123
+ - **canal git** (último `main`): `dsh plugin --profile web add github:PerryLink/dsh-output-styles` — el script `prepare` compila solo con dependencias de producción.
107
124
  - **canal npm** (versiones publicadas): `dsh plugin --profile web add dsh-output-styles`.
108
125
  - **canal tarball**: `pnpm pack` en este repo, luego `dsh plugin --profile web add ./dsh-output-styles-<version>.tgz`.
109
126
  - **desinstalar**: `dsh plugin --profile web remove dsh-output-styles`.
@@ -214,6 +231,7 @@ Filtrado contra el ecosistema DSH antes del desarrollo (instantánea 2026-08): n
214
231
 
215
232
  ## Known limitations
216
233
 
234
+ - **Coexistencia con el core.** Si aparece una capacidad `outputStyles` de primera parte, este plugin detecta su servicio `outputStyles` y degrada a la superficie incremental (hot-switch, rules, `/transcript`) dejando la inyección del prompt al core — ver [`docs/COEXISTENCE.md`](docs/COEXISTENCE.md) y las funciones exportadas `detectCoreOutputStyles` / `coexistenceReport`. **El modo degradado se declara donde se ve**: cada respuesta de `/style <estilo>` y `/style off` lleva una nota `degraded coexistence mode`, y la proyección de sesión `style` expone `promptInjection: 'enabled' | 'disabled'`, así que ninguna superficie insinúa que el estilo está en vigor cuando no lo está. (Antes de 0.7.0 el único rastro era una línea `ctx.logger.info`, que nunca llega a la transcripción.)
217
235
  - **Solo conversación principal.** Los estilos se aplican a la conversación principal; las sesiones de subagente conservan sus propios prompts (igual que Claude Code).
218
236
  - **Truncado.** Los cuerpos de estilo más largos que `maxStyleChars` se truncan con un marcador.
219
237
  - **Archivos omitidos.** Un archivo de estilo defectuoso se omite con una advertencia y nunca rompe el profile.
@@ -223,7 +241,7 @@ Filtrado contra el ecosistema DSH antes del desarrollo (instantánea 2026-08): n
223
241
  ```sh
224
242
  pnpm install
225
243
  pnpm run typecheck # ambos proyectos tsc
226
- pnpm test # vitest — 148 tests
244
+ pnpm test # vitest — 156 tests
227
245
  pnpm run verify # typecheck + tests + self-contained (la puerta de prepublishOnly)
228
246
  pnpm run build # artefactos lib/ (bundles host + client)
229
247
  pnpm pack # tarball para dsh plugin add
@@ -259,24 +277,24 @@ Evidencia estática: `dsh-plugin-doctor` K10–K13 dan `pass` en todas las compr
259
277
 
260
278
  ## PerryLink DSH Plugin Family
261
279
 
262
- This project is one of the **45 DeepSeek Harness plugins** maintained by [PerryLink](https://github.com/PerryLink). If this one helps you, the others likely will too:
280
+ Este proyecto es uno de los **34 plugins activamente mantenidos** de DeepSeek Harness de [PerryLink](https://github.com/PerryLink): el registro tiene **42**, de los cuales **5** están congelados y **3** retirados; cada uno conserva su fila abajo, con el motivo en la columna Estado. Si este te ayuda, probablemente los demás también:
263
281
 
264
- | Plugin | One-liner |
265
- |---|---|
282
+ | Plugin | En una línea | Estado |
283
+ |---|---|---|
266
284
  | **[dsh-auto-review](https://github.com/PerryLink/dsh-auto-review)** | Second-model auto-review on the approval chain, fail-closed by default | |
267
285
  | **[dsh-autotier](https://github.com/PerryLink/dsh-autotier)** | Automatic strong/cheap model-tier routing with deterministic risk guards and a `/tier` command | |
268
- | **[dsh-background-agents](https://github.com/PerryLink/dsh-background-agents)** | Durable background child agents with a Web UI sidebar, messaging and interrupt | |
269
- | **[dsh-budget](https://github.com/PerryLink/dsh-budget)** | Cost governance for DeepSeek Harness: budgets, carbon, and latency in one panel. | |
286
+ | **[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 |
287
+ | **[dsh-budget](https://github.com/PerryLink/dsh-budget)** | Cost governance for DeepSeek Harness: budgets, carbon, and latency in one panel. | 🧊 CONGELADO — ver el README del repositorio |
270
288
  | **[dsh-catalog](https://github.com/PerryLink/dsh-catalog)** | DSH Desktop Market standard catalog source for the PerryLink family | |
271
289
  | **[dsh-cert-mcp](https://github.com/PerryLink/dsh-cert-mcp)** | Read-only MCP server exposing the certification registry: grades, snapshots and five-dimension evidence | |
272
290
  | **[dsh-checkpoint-rewind](https://github.com/PerryLink/dsh-checkpoint-rewind)** | Claude Code /rewind-equivalent: snapshots, session forks, one-shot restore | |
273
- | **[dsh-claude-move](https://github.com/PerryLink/dsh-claude-move)** | Migrate Claude Code sessions, memory, skills and CLAUDE.md into DSH | |
291
+ | **[dsh-claude-move](https://github.com/PerryLink/dsh-claude-move)** | Migrate Claude Code sessions, memory, skills and CLAUDE.md into DSH | 🧊 CONGELADO — ver el README del repositorio |
274
292
  | **[dsh-click](https://github.com/PerryLink/dsh-click)** | Cross-platform native desktop control for DeepSeek Harness — Windows first. | |
275
293
  | **[dsh-composer-history](https://github.com/PerryLink/dsh-composer-history)** | Terminal-style input history for the web composer: arrows, Ctrl+R search | |
276
294
  | **[dsh-data-quality](https://github.com/PerryLink/dsh-data-quality)** | Dataset quality checks and citation cross-checks (the optional numeric bridge consumed here) | |
277
- | **[dsh-defend](https://github.com/PerryLink/dsh-defend)** | Prompt-injection, jailbreak, and secret-leak defense for DeepSeek Harness. | |
295
+ | **[dsh-defend](https://github.com/PerryLink/dsh-defend)** | Prompt-injection, jailbreak, and secret-leak defense for DeepSeek Harness. | 🧊 CONGELADO — ver el README del repositorio |
278
296
  | **[dsh-doublecheck](https://github.com/PerryLink/dsh-doublecheck)** | Engineering-discipline guard: requirements grill, test gates, adversary review | |
279
- | **[dsh-draw](https://github.com/PerryLink/dsh-draw)** | Unified static-image generation routing for DeepSeek Harness. | |
297
+ | **[dsh-draw](https://github.com/PerryLink/dsh-draw)** | Unified static-image generation routing for DeepSeek Harness. | 🧊 CONGELADO — ver el README del repositorio |
280
298
  | **[dsh-fast](https://github.com/PerryLink/dsh-fast)** | Read-only performance diagnostics for DeepSeek Harness. | |
281
299
  | **[dsh-fund-research](https://github.com/PerryLink/dsh-fund-research)** | Deterministic research reports for Chinese public mutual funds | |
282
300
  | **[dsh-github](https://github.com/PerryLink/dsh-github)** | GitHub PR/issues integration for DSH, every write gated by approval | |
@@ -296,19 +314,19 @@ This project is one of the **45 DeepSeek Harness plugins** maintained by [PerryL
296
314
  | **[dsh-plugin-guide](https://github.com/PerryLink/dsh-plugin-guide)** | Plugin-development knowledge base as an on-demand agent skill | |
297
315
  | **[dsh-plugin-kit](https://github.com/PerryLink/dsh-plugin-kit)** | Shared zero-runtime-dependency toolkit for the PerryLink DSH plugins | |
298
316
  | **[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 | |
299
- | **[dsh-reach](https://github.com/PerryLink/dsh-reach)** | Multi-channel approval/question bridge: WeChat/Telegram/Feishu, session console | |
317
+ | **[dsh-plugin-upgrade-015](https://github.com/PerryLink/dsh-plugin-upgrade-015)** | Merged `0.1.3-alpha.1` → `0.1.5-rc.1` upgrade corridor card plus a zero-dependency seam scanner | 🚫 RETIRADO — corredores asumidos por `dsh-plugin-upgrade` |
318
+ | **[dsh-reach](https://github.com/PerryLink/dsh-reach)** | Multi-channel approval/question bridge: WeChat/Telegram/Feishu, session console | 🧊 CONGELADO — ver el README del repositorio |
300
319
  | **[dsh-research-report](https://github.com/PerryLink/dsh-research-report)** | Verifiable research-report engine: content-addressed evidence ledger and sealed versions | |
301
320
  | **[dsh-score](https://github.com/PerryLink/dsh-score)** | Multi-dimensional quality scoring for DeepSeek Harness plugins. | |
302
- | **[dsh-session-pin](https://github.com/PerryLink/dsh-session-pin)** | Pin sessions in the Web sidebar with durable ordering | |
321
+ | **[dsh-session-pin](https://github.com/PerryLink/dsh-session-pin)** | Pin sessions in the Web sidebar with durable ordering | 🚫 **RETIRADO** — ver la nota arriba |
303
322
  | **[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. | |
304
323
  | **[dsh-skill-pack-security](https://github.com/PerryLink/dsh-skill-pack-security)** | Security-audit skill pack: secret scan, dependency and supply-chain review | |
305
324
  | **[dsh-talk](https://github.com/PerryLink/dsh-talk)** | Voice-first session loop for DeepSeek Harness: talk to it, hear it answer. | |
306
- | **[dsh-team-rooms](https://github.com/PerryLink/dsh-team-rooms)** | Cross-session team rooms: shared message bus, task board and timeline | |
325
+ | **[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 |
307
326
  | **[dsh-test-drive](https://github.com/PerryLink/dsh-test-drive)** | Isolated install-and-smoke test drives for DeepSeek Harness plugins. | |
308
327
  | **[dsh-ticktick](https://github.com/PerryLink/dsh-ticktick)** | TickTick/Dida365 task bridge: session-header panel + 11 tools | |
309
328
  | **[dsh-translate](https://github.com/PerryLink/dsh-translate)** | Vendor parameter translation and deterministic JSON repair for DeepSeek Harness. | |
310
329
 
311
-
312
330
  ## License
313
331
 
314
332
  [Apache License 2.0](LICENSE) © 2026 dsh-output-styles contributors
package/README-hi.md CHANGED
@@ -26,17 +26,30 @@
26
26
  ---
27
27
 
28
28
 
29
+ **📖 इकोसिस्टम नॉलेज बेस** — मापे गए आँकड़े, मार्केटिंग नहीं: [डेवलपमेंट गाइड · चयन डेटा · रखरखाव मानदंड](https://perrylink.github.io/dsh-plugin-guide/)।
30
+
29
31
  <!-- star-cta -->
30
32
  ## ⭐ 如果它帮到了你
31
33
 
32
34
  यह प्लगइन [DSH प्लगइन परिवार](https://github.com/PerryLink) का हिस्सा है (40+ प्लगइन, सभी Apache-2.0)। अगर यह उपयोगी लगे, तो **एक स्टार दें** — इससे कोई सुविधा अनलॉक नहीं होती, पर अगला व्यक्ति इसे खोज में आसानी से पा लेता है।
33
35
 
34
36
  *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.
37
+
38
+ ## What is dsh-output-styles?
39
+
40
+ `/style concise` — और अब से हर उत्तर संक्षिप्त। `/style off` — वापस परियोजना के डिफ़ॉल्ट पर।
41
+
42
+ ![dsh-output-styles का टर्मिनल डेमो: dsh-output-styles — /style lists, then switches at runtime](https://raw.githubusercontent.com/PerryLink/dsh-output-styles/main/docs/assets/dsh-output-styles-hero.png)
43
+
44
+ ![Animated terminal demo of dsh-output-styles](https://raw.githubusercontent.com/PerryLink/dsh-output-styles/main/docs/assets/dsh-output-styles-demo.gif)
45
+
46
+ *वही रन, एनिमेटेड।*
47
+
35
48
  ## Compatibility
36
49
 
37
50
  | Surface | Status |
38
51
  |---|---|
39
- | Harness | DeepSeek Harness `dsh-v0.2.1-alpha.1` (2026-09-09 को अनुकूलित): सत्र लिफ़ाफ़ा अपना ignorable फ़ील्ड केवल संग्रहीत-लॉग पठन संगतता के लिए रखता है - Session.append अभी भी इसे स्टैम्प नहीं कर सकता, इसलिए गेट व्यवहार अपरिवर्तित है। 2026-09-11 को dsh-v0.1.7-alpha.1 master checkout के विरुद्ध सत्यापित (पूर्ण गेट श्रृंखला + प्रोफ़ाइल इंस्टॉल स्मोक)। |
52
+ | Harness | DeepSeek Harness `dsh-v0.2.1-rc.2` (2026-09-09 को अनुकूलित): सत्र लिफ़ाफ़ा अपना ignorable फ़ील्ड केवल संग्रहीत-लॉग पठन संगतता के लिए रखता है - Session.append अभी भी इसे स्टैम्प नहीं कर सकता, इसलिए गेट व्यवहार अपरिवर्तित है। 2026-09-11 को dsh-v0.2.1-rc.2 checkout के विरुद्ध सत्यापित (पूर्ण गेट श्रृंखला + प्रोफ़ाइल इंस्टॉल स्मोक)। |
40
53
  | Node | `^22.19.0 || >=24.0.0` |
41
54
  | Platforms | सभी (host + वेब क्लाइंट) |
42
55
  | Model | कोई भी (सिस्टम-प्रॉम्प्ट इंजेक्शन) |
@@ -56,9 +69,13 @@
56
69
 
57
70
  ## Quick start
58
71
 
72
+ ```sh
73
+ dsh plugin --profile web add github:PerryLink/dsh-output-styles
74
+ ```
75
+
59
76
  ```sh
60
77
  # 1. install the bundle into your profile
61
- dsh plugin --profile web add "github:PerryLink/dsh-output-styles#main"
78
+ dsh plugin --profile web add github:PerryLink/dsh-output-styles
62
79
 
63
80
  # or from npm (published releases)
64
81
  dsh plugin --profile web add dsh-output-styles
@@ -103,7 +120,7 @@ flowchart LR
103
120
 
104
121
  ## Install & uninstall
105
122
 
106
- - **git चैनल** (नवीनतम `main`): `dsh plugin --profile web add "github:PerryLink/dsh-output-styles#main"` — `prepare` स्क्रिप्ट केवल उत्पादन निर्भरताओं से बनाती है।
123
+ - **git चैनल** (नवीनतम `main`): `dsh plugin --profile web add github:PerryLink/dsh-output-styles` — `prepare` स्क्रिप्ट केवल उत्पादन निर्भरताओं से बनाती है।
107
124
  - **npm चैनल** (प्रकाशित रिलीज़): `dsh plugin --profile web add dsh-output-styles`.
108
125
  - **tarball चैनल**: इस रेपो में `pnpm pack`, फिर `dsh plugin --profile web add ./dsh-output-styles-<version>.tgz`.
109
126
  - **uninstall**: `dsh plugin --profile web remove dsh-output-styles`.
@@ -214,6 +231,7 @@ flowchart LR
214
231
 
215
232
  ## Known limitations
216
233
 
234
+ - **कोर के साथ सहअस्तित्व।** यदि कोई फ़र्स्ट-पार्टी `outputStyles` क्षमता आती है, तो यह प्लगइन उसकी `outputStyles` सेवा पहचानकर इंक्रीमेंटल सतह (hot-switch, rules, `/transcript`) पर डिग्रेड हो जाता है और prompt इंजेक्शन कोर को छोड़ देता है — देखें [`docs/COEXISTENCE.md`](docs/COEXISTENCE.md) तथा निर्यातित `detectCoreOutputStyles` / `coexistenceReport`. **डिग्रेडेड मोड वहाँ लिखा जाता है जहाँ आप उसे देख सकें**: हर `/style <शैली>` और `/style off` के उत्तर में `degraded coexistence mode` नोट आता है, और `style` सेशन projection `promptInjection: 'enabled' | 'disabled'` देता है, इसलिए कोई सतह शैली को लागू बताकर भ्रम नहीं फैलाती। (0.7.0 से पहले इसका एकमात्र निशान एक `ctx.logger.info` पंक्ति थी, जो सेशन ट्रांसक्रिप्ट तक कभी नहीं पहुँचती।)
217
235
  - **केवल मुख्य वार्तालाप।** शैलियाँ मुख्य वार्तालाप पर लागू होती हैं; उप-एजेंट सत्र अपने प्रॉम्प्ट रखते हैं (Claude Code की तरह)।
218
236
  - **कटाव।** `maxStyleChars` से लंबे शैली मुख्य भाग एक मार्कर से काटे जाते हैं।
219
237
  - **छोड़ी गई फ़ाइलें।** एक ख़राब शैली फ़ाइल चेतावनी से छोड़ दी जाती है और profile को कभी नहीं तोड़ती।
@@ -223,7 +241,7 @@ flowchart LR
223
241
  ```sh
224
242
  pnpm install
225
243
  pnpm run typecheck # दोनों tsc परियोजनाएँ
226
- pnpm test # vitest — 148 tests
244
+ pnpm test # vitest — 156 tests
227
245
  pnpm run verify # typecheck + tests + self-contained (prepublishOnly द्वार)
228
246
  pnpm run build # lib/ कलाकृतियाँ (host + client बंडल)
229
247
  pnpm pack # dsh plugin add के लिए tarball
@@ -259,24 +277,24 @@ pnpm pack # dsh plugin add के लिए tarball
259
277
 
260
278
  ## PerryLink DSH Plugin Family
261
279
 
262
- This project is one of the **45 DeepSeek Harness plugins** maintained by [PerryLink](https://github.com/PerryLink). If this one helps you, the others likely will too:
280
+ यह प्रोजेक्ट [PerryLink](https://github.com/PerryLink) के DeepSeek Harness प्लगइन परिवार का हिस्सा है — **34 सक्रिय रूप से अनुरक्षित**, कुल सूची **42** है जिसमें **5 फ़्रोज़न** और **3 सेवानिवृत्त** हैं; हर एक की पंक्ति नीचे बनी रहती है, कारण “स्थिति” कॉलम में है। अगर यह उपयोगी लगे, तो अन्य भी मददगार होंगे:
263
281
 
264
- | Plugin | One-liner |
265
- |---|---|
282
+ | Plugin | एक पंक्ति में | स्थिति |
283
+ |---|---|---|
266
284
  | **[dsh-auto-review](https://github.com/PerryLink/dsh-auto-review)** | Second-model auto-review on the approval chain, fail-closed by default | |
267
285
  | **[dsh-autotier](https://github.com/PerryLink/dsh-autotier)** | Automatic strong/cheap model-tier routing with deterministic risk guards and a `/tier` command | |
268
- | **[dsh-background-agents](https://github.com/PerryLink/dsh-background-agents)** | Durable background child agents with a Web UI sidebar, messaging and interrupt | |
269
- | **[dsh-budget](https://github.com/PerryLink/dsh-budget)** | Cost governance for DeepSeek Harness: budgets, carbon, and latency in one panel. | |
286
+ | **[dsh-background-agents](https://github.com/PerryLink/dsh-background-agents)** | Durable background child agents with a Web UI sidebar, messaging and interrupt | 🚫 **सेवानिवृत्त** — ऊपर देखें |
287
+ | **[dsh-budget](https://github.com/PerryLink/dsh-budget)** | Cost governance for DeepSeek Harness: budgets, carbon, and latency in one panel. | 🧊 फ़्रोज़न — रिपॉज़िटरी README देखें |
270
288
  | **[dsh-catalog](https://github.com/PerryLink/dsh-catalog)** | DSH Desktop Market standard catalog source for the PerryLink family | |
271
289
  | **[dsh-cert-mcp](https://github.com/PerryLink/dsh-cert-mcp)** | Read-only MCP server exposing the certification registry: grades, snapshots and five-dimension evidence | |
272
290
  | **[dsh-checkpoint-rewind](https://github.com/PerryLink/dsh-checkpoint-rewind)** | Claude Code /rewind-equivalent: snapshots, session forks, one-shot restore | |
273
- | **[dsh-claude-move](https://github.com/PerryLink/dsh-claude-move)** | Migrate Claude Code sessions, memory, skills and CLAUDE.md into DSH | |
291
+ | **[dsh-claude-move](https://github.com/PerryLink/dsh-claude-move)** | Migrate Claude Code sessions, memory, skills and CLAUDE.md into DSH | 🧊 फ़्रोज़न — रिपॉज़िटरी README देखें |
274
292
  | **[dsh-click](https://github.com/PerryLink/dsh-click)** | Cross-platform native desktop control for DeepSeek Harness — Windows first. | |
275
293
  | **[dsh-composer-history](https://github.com/PerryLink/dsh-composer-history)** | Terminal-style input history for the web composer: arrows, Ctrl+R search | |
276
294
  | **[dsh-data-quality](https://github.com/PerryLink/dsh-data-quality)** | Dataset quality checks and citation cross-checks (the optional numeric bridge consumed here) | |
277
- | **[dsh-defend](https://github.com/PerryLink/dsh-defend)** | Prompt-injection, jailbreak, and secret-leak defense for DeepSeek Harness. | |
295
+ | **[dsh-defend](https://github.com/PerryLink/dsh-defend)** | Prompt-injection, jailbreak, and secret-leak defense for DeepSeek Harness. | 🧊 फ़्रोज़न — रिपॉज़िटरी README देखें |
278
296
  | **[dsh-doublecheck](https://github.com/PerryLink/dsh-doublecheck)** | Engineering-discipline guard: requirements grill, test gates, adversary review | |
279
- | **[dsh-draw](https://github.com/PerryLink/dsh-draw)** | Unified static-image generation routing for DeepSeek Harness. | |
297
+ | **[dsh-draw](https://github.com/PerryLink/dsh-draw)** | Unified static-image generation routing for DeepSeek Harness. | 🧊 फ़्रोज़न — रिपॉज़िटरी README देखें |
280
298
  | **[dsh-fast](https://github.com/PerryLink/dsh-fast)** | Read-only performance diagnostics for DeepSeek Harness. | |
281
299
  | **[dsh-fund-research](https://github.com/PerryLink/dsh-fund-research)** | Deterministic research reports for Chinese public mutual funds | |
282
300
  | **[dsh-github](https://github.com/PerryLink/dsh-github)** | GitHub PR/issues integration for DSH, every write gated by approval | |
@@ -296,19 +314,19 @@ This project is one of the **45 DeepSeek Harness plugins** maintained by [PerryL
296
314
  | **[dsh-plugin-guide](https://github.com/PerryLink/dsh-plugin-guide)** | Plugin-development knowledge base as an on-demand agent skill | |
297
315
  | **[dsh-plugin-kit](https://github.com/PerryLink/dsh-plugin-kit)** | Shared zero-runtime-dependency toolkit for the PerryLink DSH plugins | |
298
316
  | **[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 | |
299
- | **[dsh-reach](https://github.com/PerryLink/dsh-reach)** | Multi-channel approval/question bridge: WeChat/Telegram/Feishu, session console | |
317
+ | **[dsh-plugin-upgrade-015](https://github.com/PerryLink/dsh-plugin-upgrade-015)** | Merged `0.1.3-alpha.1` → `0.1.5-rc.1` upgrade corridor card plus a zero-dependency seam scanner | 🚫 सेवानिवृत्त — कॉरिडोर अब `dsh-plugin-upgrade` द्वारा |
318
+ | **[dsh-reach](https://github.com/PerryLink/dsh-reach)** | Multi-channel approval/question bridge: WeChat/Telegram/Feishu, session console | 🧊 फ़्रोज़न — रिपॉज़िटरी README देखें |
300
319
  | **[dsh-research-report](https://github.com/PerryLink/dsh-research-report)** | Verifiable research-report engine: content-addressed evidence ledger and sealed versions | |
301
320
  | **[dsh-score](https://github.com/PerryLink/dsh-score)** | Multi-dimensional quality scoring for DeepSeek Harness plugins. | |
302
- | **[dsh-session-pin](https://github.com/PerryLink/dsh-session-pin)** | Pin sessions in the Web sidebar with durable ordering | |
321
+ | **[dsh-session-pin](https://github.com/PerryLink/dsh-session-pin)** | Pin sessions in the Web sidebar with durable ordering | 🚫 **सेवानिवृत्त** — ऊपर देखें |
303
322
  | **[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. | |
304
323
  | **[dsh-skill-pack-security](https://github.com/PerryLink/dsh-skill-pack-security)** | Security-audit skill pack: secret scan, dependency and supply-chain review | |
305
324
  | **[dsh-talk](https://github.com/PerryLink/dsh-talk)** | Voice-first session loop for DeepSeek Harness: talk to it, hear it answer. | |
306
- | **[dsh-team-rooms](https://github.com/PerryLink/dsh-team-rooms)** | Cross-session team rooms: shared message bus, task board and timeline | |
325
+ | **[dsh-team-rooms](https://github.com/PerryLink/dsh-team-rooms)** | Cross-session team rooms: shared message bus, task board and timeline | 🚫 **सेवानिवृत्त** — ऊपर देखें |
307
326
  | **[dsh-test-drive](https://github.com/PerryLink/dsh-test-drive)** | Isolated install-and-smoke test drives for DeepSeek Harness plugins. | |
308
327
  | **[dsh-ticktick](https://github.com/PerryLink/dsh-ticktick)** | TickTick/Dida365 task bridge: session-header panel + 11 tools | |
309
328
  | **[dsh-translate](https://github.com/PerryLink/dsh-translate)** | Vendor parameter translation and deterministic JSON repair for DeepSeek Harness. | |
310
329
 
311
-
312
330
  ## License
313
331
 
314
332
  [Apache License 2.0](LICENSE) © 2026 dsh-output-styles contributors
package/README-pt.md CHANGED
@@ -26,17 +26,30 @@
26
26
  ---
27
27
 
28
28
 
29
+ **📖 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/).
30
+
29
31
  <!-- star-cta -->
30
32
  ## ⭐ 如果它帮到了你
31
33
 
32
34
  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.
33
35
 
34
36
  *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.
37
+
38
+ ## What is dsh-output-styles?
39
+
40
+ `/style concise` — e a partir de agora toda resposta é concisa. `/style off` — de volta ao padrão do projeto.
41
+
42
+ ![Demonstração de terminal do dsh-output-styles: dsh-output-styles — /style lists, then switches at runtime](https://raw.githubusercontent.com/PerryLink/dsh-output-styles/main/docs/assets/dsh-output-styles-hero.png)
43
+
44
+ ![Animated terminal demo of dsh-output-styles](https://raw.githubusercontent.com/PerryLink/dsh-output-styles/main/docs/assets/dsh-output-styles-demo.gif)
45
+
46
+ *A mesma execução, animada.*
47
+
35
48
  ## Compatibility
36
49
 
37
50
  | Surface | Status |
38
51
  |---|---|
39
- | Harness | DeepSeek Harness `dsh-v0.2.1-alpha.1` (adaptado em 2026-09-09): o envelope de sessão mantém seu campo ignorable apenas para compatibilidade de leitura de logs armazenados - o Session.append ainda não consegue estampá-lo, então o comportamento da porta não muda. Verificado em 2026-09-11 contra o checkout master dsh-v0.1.7-alpha.1 (cadeia de portas completa + smoke de instalação do perfil). |
52
+ | Harness | DeepSeek Harness `dsh-v0.2.1-rc.2` (adaptado em 2026-09-09): o envelope de sessão mantém seu campo ignorable apenas para compatibilidade de leitura de logs armazenados - o Session.append ainda não consegue estampá-lo, então o comportamento da porta não muda. Verificado em 2026-09-11 contra o checkout master dsh-v0.1.7-alpha.1 (cadeia de portas completa + smoke de instalação do perfil). |
40
53
  | Node | `^22.19.0 || >=24.0.0` |
41
54
  | Platforms | Todas (host + cliente web) |
42
55
  | Model | Qualquer (injeção no prompt do sistema) |
@@ -56,9 +69,13 @@ O `dsh-output-styles` é o equivalente do `outputStyles` do Claude Code para o D
56
69
 
57
70
  ## Quick start
58
71
 
72
+ ```sh
73
+ dsh plugin --profile web add github:PerryLink/dsh-output-styles
74
+ ```
75
+
59
76
  ```sh
60
77
  # 1. install the bundle into your profile
61
- dsh plugin --profile web add "github:PerryLink/dsh-output-styles#main"
78
+ dsh plugin --profile web add github:PerryLink/dsh-output-styles
62
79
 
63
80
  # or from npm (published releases)
64
81
  dsh plugin --profile web add dsh-output-styles
@@ -103,7 +120,7 @@ Tudo o que o modelo vê é reconstruível a partir do log de sessão — sem nov
103
120
 
104
121
  ## Install & uninstall
105
122
 
106
- - **canal git** (último `main`): `dsh plugin --profile web add "github:PerryLink/dsh-output-styles#main"` — o script `prepare` compila apenas com dependências de produção.
123
+ - **canal git** (último `main`): `dsh plugin --profile web add github:PerryLink/dsh-output-styles` — o script `prepare` compila apenas com dependências de produção.
107
124
  - **canal npm** (versões publicadas): `dsh plugin --profile web add dsh-output-styles`.
108
125
  - **canal tarball**: `pnpm pack` neste repo, depois `dsh plugin --profile web add ./dsh-output-styles-<version>.tgz`.
109
126
  - **desinstalar**: `dsh plugin --profile web remove dsh-output-styles`.
@@ -214,6 +231,7 @@ Filtrado contra o ecossistema DSH antes do desenvolvimento (instantânea 2026-08
214
231
 
215
232
  ## Known limitations
216
233
 
234
+ - **Coexistência com o core.** Se surgir um recurso `outputStyles` de primeira parte, este plugin detecta o serviço `outputStyles` e degrada para a superfície incremental (hot-switch, rules, `/transcript`), deixando a injeção do prompt para o core — ver [`docs/COEXISTENCE.md`](docs/COEXISTENCE.md) e as funções exportadas `detectCoreOutputStyles` / `coexistenceReport`. **O modo degradado é declarado onde dá para ver**: toda resposta de `/style <estilo>` e `/style off` traz uma nota `degraded coexistence mode`, e a projeção de sessão `style` expõe `promptInjection: 'enabled' | 'disabled'`, então nenhuma superfície insinua que o estilo está em vigor quando não está. (Antes de 0.7.0 o único rastro era uma linha `ctx.logger.info`, que nunca chega à transcrição.)
217
235
  - **Somente conversa principal.** Os estilos se aplicam à conversa principal; sessões de subagente mantêm seus próprios prompts (como no Claude Code).
218
236
  - **Truncamento.** Corpos de estilo mais longos que `maxStyleChars` são truncados com um marcador.
219
237
  - **Arquivos omitidos.** Um arquivo de estilo defeituoso é omitido com um aviso e nunca quebra o profile.
@@ -223,7 +241,7 @@ Filtrado contra o ecossistema DSH antes do desenvolvimento (instantânea 2026-08
223
241
  ```sh
224
242
  pnpm install
225
243
  pnpm run typecheck # ambos os projetos tsc
226
- pnpm test # vitest — 148 tests
244
+ pnpm test # vitest — 156 tests
227
245
  pnpm run verify # typecheck + tests + self-contained (a porta de prepublishOnly)
228
246
  pnpm run build # artefatos lib/ (bundles host + client)
229
247
  pnpm pack # tarball para dsh plugin add
@@ -259,24 +277,24 @@ Evidência estática: `dsh-plugin-doctor` K10–K13 retornam `pass` em todas as
259
277
 
260
278
  ## PerryLink DSH Plugin Family
261
279
 
262
- This project is one of the **45 DeepSeek Harness plugins** maintained by [PerryLink](https://github.com/PerryLink). If this one helps you, the others likely will too:
280
+ Este projeto é um dos **34 plugins ativamente mantidos** do DeepSeek Harness da [PerryLink](https://github.com/PerryLink): o registro tem **42**, dos quais **5** estão congelados e **3** aposentados; cada um mantém sua linha abaixo, com o motivo na coluna Status. Se este ajudou você, provavelmente os outros também ajudarão:
263
281
 
264
- | Plugin | One-liner |
265
- |---|---|
282
+ | Plugin | Em uma linha | Status |
283
+ |---|---|---|
266
284
  | **[dsh-auto-review](https://github.com/PerryLink/dsh-auto-review)** | Second-model auto-review on the approval chain, fail-closed by default | |
267
285
  | **[dsh-autotier](https://github.com/PerryLink/dsh-autotier)** | Automatic strong/cheap model-tier routing with deterministic risk guards and a `/tier` command | |
268
- | **[dsh-background-agents](https://github.com/PerryLink/dsh-background-agents)** | Durable background child agents with a Web UI sidebar, messaging and interrupt | |
269
- | **[dsh-budget](https://github.com/PerryLink/dsh-budget)** | Cost governance for DeepSeek Harness: budgets, carbon, and latency in one panel. | |
286
+ | **[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 |
287
+ | **[dsh-budget](https://github.com/PerryLink/dsh-budget)** | Cost governance for DeepSeek Harness: budgets, carbon, and latency in one panel. | 🧊 CONGELADO — ver o README do repositório |
270
288
  | **[dsh-catalog](https://github.com/PerryLink/dsh-catalog)** | DSH Desktop Market standard catalog source for the PerryLink family | |
271
289
  | **[dsh-cert-mcp](https://github.com/PerryLink/dsh-cert-mcp)** | Read-only MCP server exposing the certification registry: grades, snapshots and five-dimension evidence | |
272
290
  | **[dsh-checkpoint-rewind](https://github.com/PerryLink/dsh-checkpoint-rewind)** | Claude Code /rewind-equivalent: snapshots, session forks, one-shot restore | |
273
- | **[dsh-claude-move](https://github.com/PerryLink/dsh-claude-move)** | Migrate Claude Code sessions, memory, skills and CLAUDE.md into DSH | |
291
+ | **[dsh-claude-move](https://github.com/PerryLink/dsh-claude-move)** | Migrate Claude Code sessions, memory, skills and CLAUDE.md into DSH | 🧊 CONGELADO — ver o README do repositório |
274
292
  | **[dsh-click](https://github.com/PerryLink/dsh-click)** | Cross-platform native desktop control for DeepSeek Harness — Windows first. | |
275
293
  | **[dsh-composer-history](https://github.com/PerryLink/dsh-composer-history)** | Terminal-style input history for the web composer: arrows, Ctrl+R search | |
276
294
  | **[dsh-data-quality](https://github.com/PerryLink/dsh-data-quality)** | Dataset quality checks and citation cross-checks (the optional numeric bridge consumed here) | |
277
- | **[dsh-defend](https://github.com/PerryLink/dsh-defend)** | Prompt-injection, jailbreak, and secret-leak defense for DeepSeek Harness. | |
295
+ | **[dsh-defend](https://github.com/PerryLink/dsh-defend)** | Prompt-injection, jailbreak, and secret-leak defense for DeepSeek Harness. | 🧊 CONGELADO — ver o README do repositório |
278
296
  | **[dsh-doublecheck](https://github.com/PerryLink/dsh-doublecheck)** | Engineering-discipline guard: requirements grill, test gates, adversary review | |
279
- | **[dsh-draw](https://github.com/PerryLink/dsh-draw)** | Unified static-image generation routing for DeepSeek Harness. | |
297
+ | **[dsh-draw](https://github.com/PerryLink/dsh-draw)** | Unified static-image generation routing for DeepSeek Harness. | 🧊 CONGELADO — ver o README do repositório |
280
298
  | **[dsh-fast](https://github.com/PerryLink/dsh-fast)** | Read-only performance diagnostics for DeepSeek Harness. | |
281
299
  | **[dsh-fund-research](https://github.com/PerryLink/dsh-fund-research)** | Deterministic research reports for Chinese public mutual funds | |
282
300
  | **[dsh-github](https://github.com/PerryLink/dsh-github)** | GitHub PR/issues integration for DSH, every write gated by approval | |
@@ -296,19 +314,19 @@ This project is one of the **45 DeepSeek Harness plugins** maintained by [PerryL
296
314
  | **[dsh-plugin-guide](https://github.com/PerryLink/dsh-plugin-guide)** | Plugin-development knowledge base as an on-demand agent skill | |
297
315
  | **[dsh-plugin-kit](https://github.com/PerryLink/dsh-plugin-kit)** | Shared zero-runtime-dependency toolkit for the PerryLink DSH plugins | |
298
316
  | **[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 | |
299
- | **[dsh-reach](https://github.com/PerryLink/dsh-reach)** | Multi-channel approval/question bridge: WeChat/Telegram/Feishu, session console | |
317
+ | **[dsh-plugin-upgrade-015](https://github.com/PerryLink/dsh-plugin-upgrade-015)** | Merged `0.1.3-alpha.1` → `0.1.5-rc.1` upgrade corridor card plus a zero-dependency seam scanner | 🚫 APOSENTADO — corredores assumidos por `dsh-plugin-upgrade` |
318
+ | **[dsh-reach](https://github.com/PerryLink/dsh-reach)** | Multi-channel approval/question bridge: WeChat/Telegram/Feishu, session console | 🧊 CONGELADO — ver o README do repositório |
300
319
  | **[dsh-research-report](https://github.com/PerryLink/dsh-research-report)** | Verifiable research-report engine: content-addressed evidence ledger and sealed versions | |
301
320
  | **[dsh-score](https://github.com/PerryLink/dsh-score)** | Multi-dimensional quality scoring for DeepSeek Harness plugins. | |
302
- | **[dsh-session-pin](https://github.com/PerryLink/dsh-session-pin)** | Pin sessions in the Web sidebar with durable ordering | |
321
+ | **[dsh-session-pin](https://github.com/PerryLink/dsh-session-pin)** | Pin sessions in the Web sidebar with durable ordering | 🚫 **APOSENTADO** — ver a nota acima |
303
322
  | **[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. | |
304
323
  | **[dsh-skill-pack-security](https://github.com/PerryLink/dsh-skill-pack-security)** | Security-audit skill pack: secret scan, dependency and supply-chain review | |
305
324
  | **[dsh-talk](https://github.com/PerryLink/dsh-talk)** | Voice-first session loop for DeepSeek Harness: talk to it, hear it answer. | |
306
- | **[dsh-team-rooms](https://github.com/PerryLink/dsh-team-rooms)** | Cross-session team rooms: shared message bus, task board and timeline | |
325
+ | **[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 |
307
326
  | **[dsh-test-drive](https://github.com/PerryLink/dsh-test-drive)** | Isolated install-and-smoke test drives for DeepSeek Harness plugins. | |
308
327
  | **[dsh-ticktick](https://github.com/PerryLink/dsh-ticktick)** | TickTick/Dida365 task bridge: session-header panel + 11 tools | |
309
328
  | **[dsh-translate](https://github.com/PerryLink/dsh-translate)** | Vendor parameter translation and deterministic JSON repair for DeepSeek Harness. | |
310
329
 
311
-
312
330
  ## License
313
331
 
314
332
  [Apache License 2.0](LICENSE) © 2026 dsh-output-styles contributors
package/README-zh.md CHANGED
@@ -28,17 +28,30 @@
28
28
  ---
29
29
 
30
30
 
31
+ **📖 生态实测知识库**(实测数据,不是营销):[插件开发指南 · 选型实测数据 · 维护取舍判据](https://perrylink.github.io/dsh-plugin-guide/)。
32
+
31
33
  <!-- star-cta -->
32
34
  ## ⭐ 如果它帮到了你
33
35
 
34
36
  这个插件是 [DSH 插件家族](https://github.com/PerryLink)的一员(40+ 个,全部 Apache-2.0)。如果你在用,**给个 star** —— 它不会解锁任何功能,但会让下一个人在搜索里更容易找到它。
35
37
 
36
38
  *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.
39
+
40
+ ## What is dsh-output-styles?
41
+
42
+ `/style concise` —— 从此每条回复都简洁。`/style off` —— 回到项目默认。
43
+
44
+ ![dsh-output-styles 终端演示:dsh-output-styles — /style lists, then switches at runtime](https://raw.githubusercontent.com/PerryLink/dsh-output-styles/main/docs/assets/dsh-output-styles-hero.png)
45
+
46
+ ![Animated terminal demo of dsh-output-styles](https://raw.githubusercontent.com/PerryLink/dsh-output-styles/main/docs/assets/dsh-output-styles-demo.gif)
47
+
48
+ *同一次运行,动图版。*
49
+
37
50
  ## Compatibility
38
51
 
39
52
  | Surface | Status |
40
53
  |---|---|
41
- | Harness | DeepSeek Harness `dsh-v0.2.1-alpha.1`(2026-09-09 已适配):会话信封保留 ignorable 字段但仅用于存量日志读取兼容——Session.append 仍无法盖章,门控行为不变。2026-09-11 对照 dsh-v0.1.7-alpha.1 master checkout 已核验(完整门禁链 + profile 安装冒烟)。 |
54
+ | Harness | DeepSeek Harness `dsh-v0.2.1-rc.2`(2026-09-09 已适配):会话信封保留 ignorable 字段但仅用于存量日志读取兼容——Session.append 仍无法盖章,门控行为不变。2026-09-11 对照 dsh-v0.2.1-rc.2 checkout 已核验(完整门禁链 + profile 安装冒烟)。 |
42
55
  | Node | `^22.19.0 || >=24.0.0` |
43
56
  | Platforms | 全部(host + Web 客户端) |
44
57
  | Model | 任意(系统提示注入) |
@@ -58,9 +71,13 @@
58
71
 
59
72
  ## Quick start
60
73
 
74
+ ```sh
75
+ dsh plugin --profile web add github:PerryLink/dsh-output-styles
76
+ ```
77
+
61
78
  ```sh
62
79
  # 1. install the bundle into your profile
63
- dsh plugin --profile web add "github:PerryLink/dsh-output-styles#main"
80
+ dsh plugin --profile web add github:PerryLink/dsh-output-styles
64
81
 
65
82
  # or from npm (published releases)
66
83
  dsh plugin --profile web add dsh-output-styles
@@ -105,7 +122,7 @@ flowchart LR
105
122
 
106
123
  ## Install & uninstall
107
124
 
108
- - **git channel**(最新 `main`):`dsh plugin --profile web add "github:PerryLink/dsh-output-styles#main"` —— `prepare` 脚本仅用生产依赖构建。
125
+ - **git channel**(最新 `main`):`dsh plugin --profile web add github:PerryLink/dsh-output-styles` —— `prepare` 脚本仅用生产依赖构建。
109
126
  - **npm channel**(发布版本):`dsh plugin --profile web add dsh-output-styles`。
110
127
  - **tarball channel**:在本仓库执行 `pnpm pack`,然后 `dsh plugin --profile web add ./dsh-output-styles-<version>.tgz`。
111
128
  - **uninstall**:`dsh plugin --profile web remove dsh-output-styles`。
@@ -216,6 +233,7 @@ flowchart LR
216
233
 
217
234
  ## Known limitations
218
235
 
236
+ - **核心共存。** 若官方推出第一方 `outputStyles` 能力,本插件检测到其 `outputStyles` 服务后降级到增量面(热切换 / rules / `/transcript`),提示词注入交给核心 —— 见 [`docs/COEXISTENCE.md`](docs/COEXISTENCE.md) 与导出的 `detectCoreOutputStyles` / `coexistenceReport`。**降级状态会写在你看得到的地方**:每次 `/style <风格>` 与 `/style off` 的回复都带一条 `degraded coexistence mode` 说明,`style` 会话 projection 也暴露 `promptInjection: 'enabled' | 'disabled'`,任何界面都不会在风格未生效时暗示它已生效。(0.7.0 之前唯一的痕迹是一行 `ctx.logger.info`,它进不了会话转录。)
219
237
  - **仅主会话。** 风格只作用于主会话;子代理会话保留各自提示(与 Claude Code 一致)。
220
238
  - **截断。** 超过 `maxStyleChars` 的风格正文带标记截断。
221
239
  - **跳过坏文件。** 损坏的风格文件带警告跳过,绝不破坏 profile。
@@ -261,24 +279,24 @@ pnpm pack # 供 dsh plugin add 的 tarball
261
279
 
262
280
  ## PerryLink DSH Plugin Family
263
281
 
264
- This project is one of the **45 DeepSeek Harness plugins** maintained by [PerryLink](https://github.com/PerryLink). If this one helps you, the others likely will too:
282
+ 本项目是 [PerryLink](https://github.com/PerryLink) 维护的 DeepSeek Harness 插件家族成员:**34 个活跃维护**,名册共 **42** 个,其中 **5 个已冻结**、**3 个已退役**——每一个都在下表保留自己的行,原因见「状态」列。如果它能帮到你,其他的也会:
265
283
 
266
- | Plugin | One-liner |
267
- |---|---|
284
+ | Plugin | 一句话 | 状态 |
285
+ |---|---|---|
268
286
  | **[dsh-auto-review](https://github.com/PerryLink/dsh-auto-review)** | Second-model auto-review on the approval chain, fail-closed by default | |
269
287
  | **[dsh-autotier](https://github.com/PerryLink/dsh-autotier)** | Automatic strong/cheap model-tier routing with deterministic risk guards and a `/tier` command | |
270
- | **[dsh-background-agents](https://github.com/PerryLink/dsh-background-agents)** | Durable background child agents with a Web UI sidebar, messaging and interrupt | |
271
- | **[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. | 🧊 已冻结 — 见仓库 README |
272
290
  | **[dsh-catalog](https://github.com/PerryLink/dsh-catalog)** | DSH Desktop Market standard catalog source for the PerryLink family | |
273
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 | |
274
292
  | **[dsh-checkpoint-rewind](https://github.com/PerryLink/dsh-checkpoint-rewind)** | Claude Code /rewind-equivalent: snapshots, session forks, one-shot restore | |
275
- | **[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 | 🧊 已冻结 — 见仓库 README |
276
294
  | **[dsh-click](https://github.com/PerryLink/dsh-click)** | Cross-platform native desktop control for DeepSeek Harness — Windows first. | |
277
295
  | **[dsh-composer-history](https://github.com/PerryLink/dsh-composer-history)** | Terminal-style input history for the web composer: arrows, Ctrl+R search | |
278
296
  | **[dsh-data-quality](https://github.com/PerryLink/dsh-data-quality)** | Dataset quality checks and citation cross-checks (the optional numeric bridge consumed here) | |
279
- | **[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. | 🧊 已冻结 — 见仓库 README |
280
298
  | **[dsh-doublecheck](https://github.com/PerryLink/dsh-doublecheck)** | Engineering-discipline guard: requirements grill, test gates, adversary review | |
281
- | **[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. | 🧊 已冻结 — 见仓库 README |
282
300
  | **[dsh-fast](https://github.com/PerryLink/dsh-fast)** | Read-only performance diagnostics for DeepSeek Harness. | |
283
301
  | **[dsh-fund-research](https://github.com/PerryLink/dsh-fund-research)** | Deterministic research reports for Chinese public mutual funds | |
284
302
  | **[dsh-github](https://github.com/PerryLink/dsh-github)** | GitHub PR/issues integration for DSH, every write gated by approval | |
@@ -298,19 +316,19 @@ This project is one of the **45 DeepSeek Harness plugins** maintained by [PerryL
298
316
  | **[dsh-plugin-guide](https://github.com/PerryLink/dsh-plugin-guide)** | Plugin-development knowledge base as an on-demand agent skill | |
299
317
  | **[dsh-plugin-kit](https://github.com/PerryLink/dsh-plugin-kit)** | Shared zero-runtime-dependency toolkit for the PerryLink DSH plugins | |
300
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 | |
301
- | **[dsh-reach](https://github.com/PerryLink/dsh-reach)** | Multi-channel approval/question bridge: WeChat/Telegram/Feishu, session console | |
319
+ | **[dsh-plugin-upgrade-015](https://github.com/PerryLink/dsh-plugin-upgrade-015)** | Merged `0.1.3-alpha.1` → `0.1.5-rc.1` upgrade corridor card plus a zero-dependency seam scanner | 🚫 已退役 —— 走廊由 `dsh-plugin-upgrade` 承担 |
320
+ | **[dsh-reach](https://github.com/PerryLink/dsh-reach)** | Multi-channel approval/question bridge: WeChat/Telegram/Feishu, session console | 🧊 已冻结 — 见仓库 README |
302
321
  | **[dsh-research-report](https://github.com/PerryLink/dsh-research-report)** | Verifiable research-report engine: content-addressed evidence ledger and sealed versions | |
303
322
  | **[dsh-score](https://github.com/PerryLink/dsh-score)** | Multi-dimensional quality scoring for DeepSeek Harness plugins. | |
304
- | **[dsh-session-pin](https://github.com/PerryLink/dsh-session-pin)** | Pin sessions in the Web sidebar with durable ordering | |
323
+ | **[dsh-session-pin](https://github.com/PerryLink/dsh-session-pin)** | Pin sessions in the Web sidebar with durable ordering | 🚫 **已退役** — 见上方说明 |
305
324
  | **[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. | |
306
325
  | **[dsh-skill-pack-security](https://github.com/PerryLink/dsh-skill-pack-security)** | Security-audit skill pack: secret scan, dependency and supply-chain review | |
307
326
  | **[dsh-talk](https://github.com/PerryLink/dsh-talk)** | Voice-first session loop for DeepSeek Harness: talk to it, hear it answer. | |
308
- | **[dsh-team-rooms](https://github.com/PerryLink/dsh-team-rooms)** | Cross-session team rooms: shared message bus, task board and timeline | |
327
+ | **[dsh-team-rooms](https://github.com/PerryLink/dsh-team-rooms)** | Cross-session team rooms: shared message bus, task board and timeline | 🚫 **已退役** — 见上方说明 |
309
328
  | **[dsh-test-drive](https://github.com/PerryLink/dsh-test-drive)** | Isolated install-and-smoke test drives for DeepSeek Harness plugins. | |
310
329
  | **[dsh-ticktick](https://github.com/PerryLink/dsh-ticktick)** | TickTick/Dida365 task bridge: session-header panel + 11 tools | |
311
330
  | **[dsh-translate](https://github.com/PerryLink/dsh-translate)** | Vendor parameter translation and deterministic JSON repair for DeepSeek Harness. | |
312
331
 
313
-
314
332
  ## License
315
333
 
316
334
  [Apache License 2.0](LICENSE) © 2026 dsh-output-styles contributors