dsh-primer 0.4.5 → 0.4.7
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/README.en.md +6 -6
- package/README.es.md +6 -6
- package/README.hi.md +6 -6
- package/README.md +7 -7
- package/README.pt.md +6 -6
- package/SKILL.md +11 -9
- package/data/facts.json +35 -15
- package/data/seams/index.json +1526 -98
- package/data/standards.json +17 -11
- package/dist/dsh-plugin-dev.js +7 -7
- package/guide/links.md +2 -2
- package/guide/migration-0.2.md +105 -14
- package/guide/plugin-dev-guide.md +6 -6
- package/guide/quick-reference.es.md +4 -4
- package/guide/quick-reference.hi.md +4 -4
- package/guide/quick-reference.md +4 -4
- package/guide/quick-reference.pt.md +4 -4
- package/guide/quick-reference.zh-CN.md +4 -4
- package/guide/standards.md +1 -1
- package/guide/standards.zh-CN.md +1 -1
- package/guide/unfixed-issues.md +2 -2
- package/guide/version-matrix.md +65 -42
- package/package.json +13 -7
- package/references/official-docs/CLAUDE.md +1 -1
- package/references/official-docs/README.md +9 -4
- package/references/official-docs/SNAPSHOT.md +7 -5
- package/references/official-docs/docs/capability-seams.i18n.yaml +2 -2
- package/references/official-docs/docs/capability-seams.md +4 -0
- package/references/official-docs/docs/capability-seams.zh.md +4 -0
- package/references/official-docs/docs/config-catalog.md +26 -28
- package/references/official-docs/docs/config-catalog.zh.md +26 -28
- package/references/official-docs/docs/defensive-patterns/package-surface.i18n.yaml +2 -2
- package/references/official-docs/docs/defensive-patterns/package-surface.md +0 -1
- package/references/official-docs/docs/defensive-patterns/package-surface.zh.md +0 -1
- package/references/official-docs/docs/event-producer-consumer.md +1 -1
- package/references/official-docs/docs/event-producer-consumer.zh.md +1 -1
- package/references/official-docs/docs/module-graph.md +12 -17
- package/references/official-docs/docs/module-graph.zh.md +12 -17
- package/references/official-docs/docs/subsystems/computer-use.i18n.yaml +2 -2
- package/references/official-docs/docs/subsystems/computer-use.md +1 -1
- package/references/official-docs/docs/subsystems/computer-use.zh.md +1 -1
- package/references/official-docs/docs/subsystems/persistence.md +19 -0
- package/references/official-docs/docs/subsystems/persistence.zh.md +19 -0
- package/references/official-docs/docs/subsystems/ptc-runtime.i18n.yaml +4 -4
- package/references/official-docs/docs/subsystems/ptc-runtime.md +8 -48
- package/references/official-docs/docs/subsystems/ptc-runtime.zh.md +8 -48
- package/references/official-docs/docs/tool-catalog.i18n.yaml +2 -2
- package/references/official-docs/docs/tool-catalog.md +1 -1
- package/references/official-docs/docs/tool-catalog.zh.md +1 -1
- package/references/official-docs/docs/upgrade-guide/v0.2.2-rc.1/cua-native-platform/guide.i18n.yaml +4 -4
- package/references/official-docs/docs/upgrade-guide/v0.2.2-rc.1/cua-native-platform/guide.md +7 -7
- package/references/official-docs/docs/upgrade-guide/v0.2.2-rc.1/cua-native-platform/guide.zh.md +7 -7
- package/references/official-plugin-dev-skill.md +16 -12
- package/references/sources.md +2 -2
- package/scripts/check-docs-drift.mjs +121 -0
- package/scripts/check-docs-drift.ps1 +4 -1
- package/scripts/check-facts.mjs +81 -3
- package/scripts/sync-official-docs.ps1 +16 -5
- package/templates/js/README-es.md +1 -1
- package/templates/js/README-hi.md +1 -1
- package/templates/js/README-pt.md +1 -1
- package/templates/js/README-zh.md +1 -1
- package/templates/js/README.md +1 -1
- package/templates/ts/README-es.md +1 -1
- package/templates/ts/README-hi.md +1 -1
- package/templates/ts/README-pt.md +1 -1
- package/templates/ts/README-zh.md +1 -1
- package/templates/ts/README.md +1 -1
- package/references/official-docs/docs/upgrade-guide/v0.2.2-rc.1/package-export-cleanup/guide.i18n.yaml +0 -16
- package/references/official-docs/docs/upgrade-guide/v0.2.2-rc.1/package-export-cleanup/guide.md +0 -26
- package/references/official-docs/docs/upgrade-guide/v0.2.2-rc.1/package-export-cleanup/guide.zh.md +0 -26
- package/references/official-docs/docs/upgrade-guide/v0.2.2-rc.1/ptc-bootstrap-protocol/guide.i18n.yaml +0 -16
- package/references/official-docs/docs/upgrade-guide/v0.2.2-rc.1/ptc-bootstrap-protocol/guide.md +0 -25
- package/references/official-docs/docs/upgrade-guide/v0.2.2-rc.1/ptc-bootstrap-protocol/guide.zh.md +0 -25
- package/references/official-docs/docs/upgrade-guide/v0.2.2-rc.1/ptc-inspect-output/guide.i18n.yaml +0 -16
- package/references/official-docs/docs/upgrade-guide/v0.2.2-rc.1/ptc-inspect-output/guide.md +0 -48
- package/references/official-docs/docs/upgrade-guide/v0.2.2-rc.1/ptc-inspect-output/guide.zh.md +0 -48
- package/references/official-docs/docs/upgrade-guide/v0.2.2-rc.1/ptc-scoped-repl-default/guide.i18n.yaml +0 -16
- package/references/official-docs/docs/upgrade-guide/v0.2.2-rc.1/ptc-scoped-repl-default/guide.md +0 -45
- package/references/official-docs/docs/upgrade-guide/v0.2.2-rc.1/ptc-scoped-repl-default/guide.zh.md +0 -45
package/README.en.md
CHANGED
|
@@ -44,7 +44,7 @@ Why not just read the official docs? Because they are written for someone who al
|
|
|
44
44
|
| Gap | What this plugin adds |
|
|
45
45
|
|---|---|
|
|
46
46
|
| **"Which DSH am I even targeting?"** | A [version matrix](guide/version-matrix.md): the five different values that all call themselves "latest", the frozen sub-package `latest` tags, the breaking-change seams, and how to pick a `peerDependencies` range. **There is no stable line.** |
|
|
47
|
-
| **"What does this break?"** | A [migration guide](guide/migration-0.2.md) covering `0.1.6-alpha.2` → `0.2.
|
|
47
|
+
| **"What does this break?"** | A [migration guide](guide/migration-0.2.md) covering `0.1.6-alpha.2` → `0.2.2-rc.3` as citable seams (§0–§13 cover the 0.1.6→0.2.1 line; §14 is the 46 `K1`–`K46` seams of the 0.2.2 line released in rc.3) with symptom *and* fix, each with its official source — including a data-loss hazard and a change that makes prompts fail before a model request is built. |
|
|
48
48
|
| **"Is my plugin actually correct?"** | A [zero-dependency CLI](SKILL.md) (`dsh-plugin-dev new / check / verify`) plus an [offline verbatim mirror](references/official-docs/) of the official docs, so your agent can cite the exact page instead of guessing. |
|
|
49
49
|
|
|
50
50
|
<picture>
|
|
@@ -103,7 +103,7 @@ All PerryLink plugins are browsable in the built-in DSH Desktop Market: **Market
|
|
|
103
103
|
|
|
104
104
|
- **Plugin contract and hard rules** — effects/disposers, waterfall listeners that must call `next()`, host-owned session events, model-visible ⟺ logged, Schemastery config, UI and performance rules.
|
|
105
105
|
- **Official docs mirror** — `references/official-docs/`: a verbatim copy of the official repo docs (EN + ZH), byte-identical to upstream at the last verified snapshot, including the pages that never reach the documentation site.
|
|
106
|
-
- **Version-adaptivity matrix** — [guide/version-matrix.md](guide/version-matrix.md): the five different "latest" values, the frozen sub-package `latest` tags, the four breaking-change seams, how to pick a peer range, the session-format lineage V0→V4,
|
|
106
|
+
- **Version-adaptivity matrix** — [guide/version-matrix.md](guide/version-matrix.md): the five different "latest" values, the frozen sub-package `latest` tags, the four breaking-change seams, how to pick a peer range, the session-format lineage V0→V4, the 19 breaking changes that landed in `0.2.1-alpha.2`, and the 46 seams of the 0.2.2 line released in rc.3 (`K1`–`K46`, see migration §14).
|
|
107
107
|
- **Migration guide** — [guide/migration-0.2.md](guide/migration-0.2.md): every breaking change from `0.1.6-alpha.2` to `0.2.1-alpha.1` (session format V4, the settings rebuild, invariant removal, `readBytes`, new slots, the retired `plugin` message source), each with its official source and a 12-item checklist.
|
|
108
108
|
- **Cordis primer and the official skill, distilled** — the five Cordis concepts and the mechanism timeline; [references/official-plugin-dev-skill.md](references/official-plugin-dev-skill.md) distils the harness's own `cordis-plugin-development` prohibitions, display-metadata checklist, and UI/performance rules.
|
|
109
109
|
- **Verified issue index** — [guide/unfixed-issues.md](guide/unfixed-issues.md): 22 unfixed + 11 newly verified items with `path:line`, workarounds and fixing commits, plus a design-vs-bug table and an explicit "unreproducible" section.
|
|
@@ -127,8 +127,8 @@ All PerryLink plugins are browsable in the built-in DSH Desktop Market: **Market
|
|
|
127
127
|
| `SKILL.md` | The `dsh-primer` agent skill: hard rules + task-based development paths |
|
|
128
128
|
| `package.json` · `cordis.patch.yml` · `index.js` · `locale/` · `icon.svg` | The installable DSH bundle: `dsh.bundle.patch` manifest, entry point that registers the skill, and the display metadata Plugin Manager reads |
|
|
129
129
|
| `guide/plugin-dev-guide.md` | The complete development guide (10 chapters) |
|
|
130
|
-
| `guide/version-matrix.md` | Version-adaptivity matrix: the five "latest" values, frozen sub-package `latest` tags, breaking-change seams, peer-range selection, session-format lineage, the 19 changes in `0.2.1-alpha.2` |
|
|
131
|
-
| `guide/migration-0.2.md` | Breaking-change migration guide for the 0.2 generation (§0–§12 up to `0.2.1-alpha.1`, §13 covering the 19 seams of `0.2.1-alpha.2`) |
|
|
130
|
+
| `guide/version-matrix.md` | Version-adaptivity matrix: the five "latest" values, frozen sub-package `latest` tags, breaking-change seams, peer-range selection, session-format lineage, the 19 changes in `0.2.1-alpha.2` plus the 46 in the 0.2.2 line |
|
|
131
|
+
| `guide/migration-0.2.md` | Breaking-change migration guide for the 0.2 generation (§0–§12 up to `0.2.1-alpha.1`, §13 covering the 19 seams of `0.2.1-alpha.2`, §14 covering the 46 seams (`K1`–`K46`) released in rc.3 and listing the 13 next-version guides separately) |
|
|
132
132
|
| `guide/unfixed-issues.md` | Source-verified bug index + fixed-on-master list + design-vs-bug table |
|
|
133
133
|
| `guide/quick-reference.md` | One-page cheat sheet (5 languages) |
|
|
134
134
|
| `guide/links.md` | Curated URL index: official dev docs (site ↔ local copies) + community doc links + repo-only pages |
|
|
@@ -194,7 +194,7 @@ L3 webRuntime service replaced by webStartup
|
|
|
194
194
|
detectable yes — inspect: src/**/*.ts, cordis.patch.yml
|
|
195
195
|
```
|
|
196
196
|
|
|
197
|
-
*Observed from `src/cli/commands/seams.ts:54; data/seams/index.json:
|
|
197
|
+
*Observed from `src/cli/commands/seams.ts:54; data/seams/index.json:66`*
|
|
198
198
|
|
|
199
199
|
### Failure branch
|
|
200
200
|
|
|
@@ -309,7 +309,7 @@ This plugin does **not** interfere with other plugins:
|
|
|
309
309
|
|
|
310
310
|
| Surface | Status |
|
|
311
311
|
|---|---|
|
|
312
|
-
| Harness | `engines.dsh` = `>=0.2.1-0 <0.3.0`. Current host line: npm `latest` = `next` = `0.2.
|
|
312
|
+
| Harness | `engines.dsh` = `>=0.2.1-0 <0.3.0 \|\| >=0.2.2-0 <0.3.0`. Current host line: npm `latest` = `0.2.2-rc.1`, `next` = `0.2.2-rc.3`, `alpha` = `0.2.2-alpha.3`, newest tag = `dsh-v0.2.2-rc.3`; **there is no stable line** — all 44 npm versions and all 39 GitHub Releases are prereleases. The official-docs mirror is pinned to the release tag `dsh-v0.2.2-rc.3` (`38a6a5c9…`, synced 2026-11-14, 709 md pages / 352 EN-ZH pairs). |
|
|
313
313
|
| Node | `>=24.9.0` |
|
|
314
314
|
| Platforms | Anywhere DSH runs (plain ESM bundle; no native code, no network) |
|
|
315
315
|
| Model | Any (no model interaction: the host injects the skill body into context) |
|
package/README.es.md
CHANGED
|
@@ -44,7 +44,7 @@ Mantenido por la comunidad, **no** es un producto oficial de DeepSeek. DeepSeek
|
|
|
44
44
|
| Brecha | Qué añade este plugin |
|
|
45
45
|
|---|---|
|
|
46
46
|
| **"¿Contra qué versión de DSH estoy desarrollando?"** | Una [matriz de versiones](guide/version-matrix.md): los cinco valores que se llaman "latest", las etiquetas `latest` congeladas de los subpaquetes, los seams de cambio incompatible y cómo elegir un rango de `peerDependencies`. **No existe línea estable.** |
|
|
47
|
-
| **"¿Qué rompe esta versión?"** | Una [guía de migración](guide/migration-0.2.md) que ordena `0.1.6-alpha.2` → `0.2.
|
|
47
|
+
| **"¿Qué rompe esta versión?"** | Una [guía de migración](guide/migration-0.2.md) que ordena `0.1.6-alpha.2` → `0.2.2-rc.3` como seams citables (§0–§13 cubren la línea 0.1.6→0.2.1; §14 son los 46 seams `K1`–`K46` de la línea 0.2.2 publicados en rc.3), cada uno con síntoma *y* arreglo y su fuente oficial, incluido un riesgo de pérdida de datos y un cambio que hace fallar los prompts antes de construir la petición al modelo. |
|
|
48
48
|
| **"¿Mi plugin es realmente correcto?"** | Un [CLI sin dependencias](SKILL.md) (`dsh-plugin-dev new / check / verify`) más un [espejo literal sin conexión](references/official-docs/) de la documentación oficial, para que el agente cite la página exacta en vez de adivinar. |
|
|
49
49
|
|
|
50
50
|
<picture>
|
|
@@ -103,7 +103,7 @@ Todos los plugins de PerryLink se pueden explorar en el mercado integrado de DSH
|
|
|
103
103
|
|
|
104
104
|
- **Contrato de plugin y reglas duras** — effects/disposers, listeners waterfall que deben llamar a `next()`, eventos de sesión propiedad del host, visible-para-el-modelo ⟺ registrado, configuración Schemastery, reglas de UI y rendimiento.
|
|
105
105
|
- **Espejo literal de la documentación oficial** — `references/official-docs/`: copia byte a byte de los documentos del repositorio oficial (EN + ZH), idéntica a upstream en la última instantánea verificada, incluidas las páginas que nunca llegan al sitio de documentación.
|
|
106
|
-
- **Matriz de adaptación de versiones** — [guide/version-matrix.md](guide/version-matrix.md): los cinco valores "latest", las etiquetas `latest` congeladas de los subpaquetes, los cuatro seams de cambio incompatible, cómo elegir el rango peer, el linaje del formato de sesión V0→V4
|
|
106
|
+
- **Matriz de adaptación de versiones** — [guide/version-matrix.md](guide/version-matrix.md): los cinco valores "latest", las etiquetas `latest` congeladas de los subpaquetes, los cuatro seams de cambio incompatible, cómo elegir el rango peer, el linaje del formato de sesión V0→V4 los 19 cambios incompatibles de `0.2.1-alpha.2` y los 46 seams de la línea 0.2.2 publicados en rc.3 (`K1`–`K46`, ver migración §14).
|
|
107
107
|
- **Guía de migración** — [guide/migration-0.2.md](guide/migration-0.2.md): cada cambio incompatible de `0.1.6-alpha.2` a `0.2.1-alpha.1` (formato de sesión V4, reconstrucción de settings, retirada de invariantes, `readBytes`, slots nuevos, la fuente de mensaje `plugin` retirada), cada uno con su fuente oficial y una lista de 12 comprobaciones.
|
|
108
108
|
- **Primer de Cordis y la skill oficial, destilada** — los cinco conceptos de Cordis y la línea temporal de mecanismos; [references/official-plugin-dev-skill.md](references/official-plugin-dev-skill.md) destila las prohibiciones de `cordis-plugin-development`, la lista de metadatos de presentación y las reglas de UI/rendimiento.
|
|
109
109
|
- **Índice de bugs verificados** — [guide/unfixed-issues.md](guide/unfixed-issues.md): 22 sin arreglar + 11 recién verificados, cada uno con `path:line`, workaround y commit de arreglo, más una tabla diseño-vs-bug y una sección explícita de "no reproducible".
|
|
@@ -127,8 +127,8 @@ Todos los plugins de PerryLink se pueden explorar en el mercado integrado de DSH
|
|
|
127
127
|
| `SKILL.md` | La skill de agente `dsh-primer`: reglas duras + rutas de desarrollo por tipo de tarea |
|
|
128
128
|
| `package.json` · `cordis.patch.yml` · `index.js` · `locale/` · `icon.svg` | El bundle DSH instalable: manifiesto `dsh.bundle.patch`, entrada que registra la skill y metadatos de presentación que lee el Plugin Manager |
|
|
129
129
|
| `guide/plugin-dev-guide.md` | La guía de desarrollo completa (10 capítulos) |
|
|
130
|
-
| `guide/version-matrix.md` | Matriz de adaptación de versiones: los cinco "latest", etiquetas `latest` congeladas, seams de cambio incompatible, elección de rango peer, linaje del formato de sesión, los 19 cambios de `0.2.1-alpha.2` |
|
|
131
|
-
| `guide/migration-0.2.md` | Guía de migración de cambios incompatibles de la generación 0.2 (§0–§12 hasta `0.2.1-alpha.1`, §13 con los 19 seams de `0.2.1-alpha.2`) |
|
|
130
|
+
| `guide/version-matrix.md` | Matriz de adaptación de versiones: los cinco "latest", etiquetas `latest` congeladas, seams de cambio incompatible, elección de rango peer, linaje del formato de sesión, los 19 cambios de `0.2.1-alpha.2` más los 46 de la línea 0.2.2 |
|
|
131
|
+
| `guide/migration-0.2.md` | Guía de migración de cambios incompatibles de la generación 0.2 (§0–§12 hasta `0.2.1-alpha.1`, §13 con los 19 seams de `0.2.1-alpha.2`, §14 con los 46 seams (`K1`–`K46`) publicados en rc.3 y los 13 de la próxima versión aparte) |
|
|
132
132
|
| `guide/unfixed-issues.md` | Índice de bugs verificado en fuentes + lista arreglada en master + tabla diseño-vs-bug |
|
|
133
133
|
| `guide/quick-reference.md` | Chuleta de una página (5 idiomas) |
|
|
134
134
|
| `guide/links.md` | Índice de URL curado: documentación oficial de desarrollo (sitio ↔ copias locales) + enlaces de la comunidad + páginas solo del repositorio |
|
|
@@ -194,7 +194,7 @@ L3 webRuntime service replaced by webStartup
|
|
|
194
194
|
detectable yes — inspect: src/**/*.ts, cordis.patch.yml
|
|
195
195
|
```
|
|
196
196
|
|
|
197
|
-
*Observed from `src/cli/commands/seams.ts:54; data/seams/index.json:
|
|
197
|
+
*Observed from `src/cli/commands/seams.ts:54; data/seams/index.json:66`*
|
|
198
198
|
|
|
199
199
|
### Rama de fallo
|
|
200
200
|
|
|
@@ -309,7 +309,7 @@ Este plugin **no** interfiere con otros plugins:
|
|
|
309
309
|
|
|
310
310
|
| Superficie | Estado |
|
|
311
311
|
|---|---|
|
|
312
|
-
| Harness | `engines.dsh` = `>=0.2.1-0 <0.3.0`. Línea actual del host: npm `latest` = `next` = `0.2.
|
|
312
|
+
| Harness | `engines.dsh` = `>=0.2.1-0 <0.3.0 \|\| >=0.2.2-0 <0.3.0`. Línea actual del host: npm `latest` = `0.2.2-rc.1`, `next` = `0.2.2-rc.3`, `alpha` = `0.2.2-alpha.3`, etiqueta más reciente = `dsh-v0.2.2-rc.3`; **no existe línea estable** — las 44 versiones de npm y las 39 releases de GitHub son prereleases. El espejo de la documentación oficial está fijado en la etiqueta `dsh-v0.2.2-rc.3` (`38a6a5c9…`, sincronizado el 2026-11-14, 709 páginas md / 352 pares EN-ZH). |
|
|
313
313
|
| Node | `>=24.9.0` |
|
|
314
314
|
| Plataformas | Donde corra DSH (bundle ESM puro; sin código nativo, sin red) |
|
|
315
315
|
| Modelo | Cualquiera (sin interacción con modelos: el host inyecta el cuerpo de la skill en el contexto) |
|
package/README.hi.md
CHANGED
|
@@ -44,7 +44,7 @@ dsh plugin --profile <name> add dsh-primer
|
|
|
44
44
|
| अंतराल | यह प्लगइन क्या जोड़ता है |
|
|
45
45
|
|---|---|
|
|
46
46
|
| **"मैं किस DSH के लिए बना रहा हूँ?"** | एक [संस्करण मैट्रिक्स](guide/version-matrix.md): वे पाँच मान जो स्वयं को "latest" कहते हैं, उप-पैकेजों के जमे हुए `latest` टैग, असंगत-बदलाव seam, और `peerDependencies` रेंज कैसे चुनें। **कोई स्थिर लाइन नहीं है।** |
|
|
47
|
-
| **"यह संस्करण क्या तोड़ता है?"** | एक [माइग्रेशन गाइड](guide/migration-0.2.md) जो `0.1.6-alpha.2` → `0.2.
|
|
47
|
+
| **"यह संस्करण क्या तोड़ता है?"** | एक [माइग्रेशन गाइड](guide/migration-0.2.md) जो `0.1.6-alpha.2` → `0.2.2-rc.3` को उद्धरण-योग्य seam के रूप में व्यवस्थित करता है (§0–§13 0.1.6→0.2.1 लाइन, §14 rc.3 में जारी 0.2.2 लाइन के 46 `K1`–`K46` seam), हर एक में लक्षण *और* समाधान तथा आधिकारिक स्रोत — जिसमें डेटा-हानि का एक जोखिम और एक ऐसा बदलाव शामिल है जो मॉडल अनुरोध बनने से पहले ही prompt विफल कर देता है। |
|
|
48
48
|
| **"मेरा प्लगइन सचमुच सही है?"** | एक [शून्य-निर्भरता CLI](SKILL.md) (`dsh-plugin-dev new / check / verify`) और आधिकारिक दस्तावेज़ों का [शब्दशः ऑफ़लाइन मिरर](references/official-docs/), ताकि एजेंट अनुमान न लगाए बल्कि सटीक पृष्ठ उद्धृत करे। |
|
|
49
49
|
|
|
50
50
|
<picture>
|
|
@@ -103,7 +103,7 @@ dsh plugin --profile <name> add dsh-primer
|
|
|
103
103
|
|
|
104
104
|
- **प्लगइन अनुबंध और कठोर नियम** — effect/disposer, `next()` कॉल करने वाले waterfall listener, होस्ट के स्वामित्व वाले सत्र इवेंट, मॉडल-दृश्य ⟺ लॉग में दर्ज, Schemastery कॉन्फ़िग, UI और प्रदर्शन नियम।
|
|
105
105
|
- **आधिकारिक दस्तावेज़ों का शब्दशः मिरर** — `references/official-docs/`: आधिकारिक रेपो दस्तावेज़ों की बाइट-दर-बाइट प्रति (EN + ZH), अंतिम सत्यापित स्नैपशॉट पर upstream के समान, उन पृष्ठों सहित जो दस्तावेज़ साइट तक कभी नहीं पहुँचते।
|
|
106
|
-
- **संस्करण-अनुकूलन मैट्रिक्स** — [guide/version-matrix.md](guide/version-matrix.md): पाँच "latest" मान, उप-पैकेजों के जमे हुए `latest` टैग, चार असंगत-बदलाव seam, peer रेंज का चयन, सत्र-प्रारूप वंशावली V0→V4,
|
|
106
|
+
- **संस्करण-अनुकूलन मैट्रिक्स** — [guide/version-matrix.md](guide/version-matrix.md): पाँच "latest" मान, उप-पैकेजों के जमे हुए `latest` टैग, चार असंगत-बदलाव seam, peer रेंज का चयन, सत्र-प्रारूप वंशावली V0→V4, `0.2.1-alpha.2` के 19 असंगत बदलाव और rc.3 में जारी 0.2.2 लाइन के 46 seam (`K1`–`K46`, माइग्रेशन §14 देखें)।
|
|
107
107
|
- **माइग्रेशन गाइड** — [guide/migration-0.2.md](guide/migration-0.2.md): `0.1.6-alpha.2` से `0.2.1-alpha.1` तक हर असंगत बदलाव (सत्र प्रारूप V4, settings का पुनर्निर्माण, invariant हटाना, `readBytes`, नए slot, सेवानिवृत्त `plugin` संदेश स्रोत), हर एक के आधिकारिक स्रोत और 12-मद चेकलिस्ट के साथ।
|
|
108
108
|
- **Cordis प्राइमर और आधिकारिक स्किल का सार** — Cordis की पाँच अवधारणाएँ और तंत्र की समयरेखा; [references/official-plugin-dev-skill.md](references/official-plugin-dev-skill.md) आधिकारिक `cordis-plugin-development` के निषेध, प्रदर्शन-मेटाडेटा सूची और UI/प्रदर्शन नियमों का सार देता है।
|
|
109
109
|
- **सत्यापित bug सूची** — [guide/unfixed-issues.md](guide/unfixed-issues.md): 22 अनसुलझे + 11 नए सत्यापित, हर एक में `path:line`, बचने का उपाय और सुधार कमिट, साथ में डिज़ाइन-बनाम-bug तालिका और स्पष्ट "पुनरुत्पादन नहीं हो सका" अनुभाग।
|
|
@@ -127,8 +127,8 @@ dsh plugin --profile <name> add dsh-primer
|
|
|
127
127
|
| `SKILL.md` | `dsh-primer` एजेंट स्किल: कठोर नियम + कार्य-प्रकार के अनुसार विकास पथ |
|
|
128
128
|
| `package.json` · `cordis.patch.yml` · `index.js` · `locale/` · `icon.svg` | इंस्टॉल-योग्य DSH bundle: `dsh.bundle.patch` manifest, स्किल रजिस्टर करने वाला प्रवेश-बिंदु, और Plugin Manager द्वारा पढ़ा जाने वाला प्रदर्शन मेटाडेटा |
|
|
129
129
|
| `guide/plugin-dev-guide.md` | पूर्ण विकास गाइड (10 अध्याय) |
|
|
130
|
-
| `guide/version-matrix.md` | संस्करण-अनुकूलन मैट्रिक्स: पाँच "latest", जमे हुए उप-पैकेज टैग, असंगत-बदलाव seam, peer रेंज चयन, सत्र-प्रारूप वंशावली, `0.2.1-alpha.2` के 19 बदलाव |
|
|
131
|
-
| `guide/migration-0.2.md` | 0.2 पीढ़ी के असंगत बदलावों की माइग्रेशन गाइड (§0–§12 `0.2.1-alpha.1` तक, §13 में `0.2.1-alpha.2` के 19 seam) |
|
|
130
|
+
| `guide/version-matrix.md` | संस्करण-अनुकूलन मैट्रिक्स: पाँच "latest", जमे हुए उप-पैकेज टैग, असंगत-बदलाव seam, peer रेंज चयन, सत्र-प्रारूप वंशावली, `0.2.1-alpha.2` के 19 बदलाव तथा 0.2.2 लाइन के 46 बदलाव |
|
|
131
|
+
| `guide/migration-0.2.md` | 0.2 पीढ़ी के असंगत बदलावों की माइग्रेशन गाइड (§0–§12 `0.2.1-alpha.1` तक, §13 में `0.2.1-alpha.2` के 19 seam, §14 में rc.3 में जारी 0.2.2 लाइन के 46 seam (`K1`–`K46`) और अगली पीढ़ी के 13 अलग से) |
|
|
132
132
|
| `guide/unfixed-issues.md` | स्रोत-सत्यापित bug सूची + master पर सुधर चुकी सूची + डिज़ाइन-बनाम-bug तालिका |
|
|
133
133
|
| `guide/quick-reference.md` | एक पृष्ठ की चीटशीट (5 भाषाएँ) |
|
|
134
134
|
| `guide/links.md` | चयनित URL सूची: आधिकारिक विकास दस्तावेज़ (साइट ↔ स्थानीय प्रतियाँ) + सामुदायिक दस्तावेज़ लिंक + केवल-रेपो पृष्ठ |
|
|
@@ -194,7 +194,7 @@ L3 webRuntime service replaced by webStartup
|
|
|
194
194
|
detectable yes — inspect: src/**/*.ts, cordis.patch.yml
|
|
195
195
|
```
|
|
196
196
|
|
|
197
|
-
*Observed from `src/cli/commands/seams.ts:54; data/seams/index.json:
|
|
197
|
+
*Observed from `src/cli/commands/seams.ts:54; data/seams/index.json:66`*
|
|
198
198
|
|
|
199
199
|
### विफलता शाखा
|
|
200
200
|
|
|
@@ -309,7 +309,7 @@ CI में चार द्वार चलते हैं: `check:readmes`
|
|
|
309
309
|
|
|
310
310
|
| सतह | स्थिति |
|
|
311
311
|
|---|---|
|
|
312
|
-
| Harness | `engines.dsh` = `>=0.2.1-0 <0.3.0`। वर्तमान होस्ट लाइन: npm `latest` = `next` = `0.2.
|
|
312
|
+
| Harness | `engines.dsh` = `>=0.2.1-0 <0.3.0 \|\| >=0.2.2-0 <0.3.0`। वर्तमान होस्ट लाइन: npm `latest` = `0.2.2-rc.1`, `next` = `0.2.2-rc.3`, `alpha` = `0.2.2-alpha.3`, नवीनतम टैग = `dsh-v0.2.2-rc.3`; **कोई स्थिर लाइन नहीं** — सभी 44 npm संस्करण और सभी 39 GitHub Release prerelease हैं। आधिकारिक-दस्तावेज़ मिरर जारी टैग `dsh-v0.2.2-rc.3` पर पिन है (`38a6a5c9…`, 2026-11-14 को सिंक, 709 md पृष्ठ / 352 EN-ZH जोड़े)। |
|
|
313
313
|
| Node | `>=24.9.0` |
|
|
314
314
|
| प्लेटफ़ॉर्म | जहाँ DSH चले (शुद्ध ESM bundle; कोई नेटिव कोड नहीं, कोई नेटवर्क नहीं) |
|
|
315
315
|
| मॉडल | कोई भी (मॉडल के साथ कोई अंतःक्रिया नहीं: होस्ट स्किल-भाग को संदर्भ में डालता है) |
|
package/README.md
CHANGED
|
@@ -44,7 +44,7 @@ dsh plugin --profile <name> add dsh-primer
|
|
|
44
44
|
| 缺口 | 本插件补什么 |
|
|
45
45
|
|---|---|
|
|
46
46
|
| **"我到底在对着哪一版开发?"** | [版本矩阵](guide/version-matrix.md):五个都自称"最新"的值、子包 `latest` 冻结陷阱、破坏性变更断层,以及 `peerDependencies` 区间怎么选。**不存在稳定版**。 |
|
|
47
|
-
| **"这一版破坏了什么?"** | [迁移指南](guide/migration-0.2.md):把 `0.1.6-alpha.2` → `0.2.
|
|
47
|
+
| **"这一版破坏了什么?"** | [迁移指南](guide/migration-0.2.md):把 `0.1.6-alpha.2` → `0.2.2-rc.3` 整理成可引用的 seam(§0–§13 覆盖 0.1.6→0.2.1 线,§14 是 rc.3 包内 0.2.2 线的 46 个 `K1`–`K46`),每条含症状*与*修法并附官方出处——包括一处数据丢失风险和一处"模型请求还没发出就失败"的变更。 |
|
|
48
48
|
| **"我的插件真的对吗?"** | [零依赖 CLI](SKILL.md)(`dsh-plugin-dev new / check / verify`)+ [官方文档逐字离线镜像](references/official-docs/),让 agent 能引确切页面而不是靠猜。 |
|
|
49
49
|
|
|
50
50
|
<picture>
|
|
@@ -103,7 +103,7 @@ dsh plugin --profile <name> add dsh-primer
|
|
|
103
103
|
|
|
104
104
|
- **插件契约与红线** —— effect/disposer、waterfall 必调 `next()`、宿主自有会话事件、模型可见 ⟺ 已记录、Schemastery 配置、UI 与性能规则。
|
|
105
105
|
- **官方文档逐字镜像** —— `references/official-docs/`:官方仓库文档(英 + 中)逐字副本,在最近核验快照处与上游逐字节一致,含从不进文档站的页面。
|
|
106
|
-
- **版本适配矩阵** —— [guide/version-matrix.md](guide/version-matrix.md):五个"最新"的区别、子包 `latest` 冻结陷阱、四条破坏性变更断层、peer 区间怎么选、会话格式 V0→V4 谱系,以及 `0.2.1-alpha.2`
|
|
106
|
+
- **版本适配矩阵** —— [guide/version-matrix.md](guide/version-matrix.md):五个"最新"的区别、子包 `latest` 冻结陷阱、四条破坏性变更断层、peer 区间怎么选、会话格式 V0→V4 谱系,以及 `0.2.1-alpha.2` 的 19 条与 rc.3 包内 0.2.2 线的 46 条破坏性变更(`K1`–`K46`,见 migration §14)。
|
|
107
107
|
- **迁移指南** —— [guide/migration-0.2.md](guide/migration-0.2.md):`0.1.6-alpha.2` → `0.2.1-alpha.1` 的每条破坏性变更(会话格式 V4、settings 重建、不变量移除、`readBytes`、新 slot、退役的 `plugin` 消息源),每条附官方出处与 12 项检查清单。
|
|
108
108
|
- **Cordis 入门与官方技能要点** —— Cordis 的五个概念与机制时间线;[references/official-plugin-dev-skill.md](references/official-plugin-dev-skill.md) 提炼官方 `cordis-plugin-development` 的禁则、展示元数据清单与 UI/性能规则。
|
|
109
109
|
- **来源可核验的 bug 索引** —— [guide/unfixed-issues.md](guide/unfixed-issues.md):22 条未修 + 11 条新验证条目,每条带 `path:line`、规避法与修复提交,另有"设计取舍 vs 真 bug"对照表与明确的"无法复现"小节。
|
|
@@ -127,8 +127,8 @@ dsh plugin --profile <name> add dsh-primer
|
|
|
127
127
|
| `SKILL.md` | `dsh-primer` agent 技能:红线 + 按任务类型的开发路径 |
|
|
128
128
|
| `package.json` · `cordis.patch.yml` · `index.js` · `locale/` · `icon.svg` | 可安装 DSH bundle:`dsh.bundle.patch` 清单、注册技能的入口,以及 Plugin Manager 读取的展示元数据 |
|
|
129
129
|
| `guide/plugin-dev-guide.md` | 完整开发指南(10 章) |
|
|
130
|
-
| `guide/version-matrix.md` | 版本适配矩阵:五个"最新"的区别、子包 `latest` 冻结、破坏性变更断层、peer 区间选择、会话格式谱系、`0.2.1-alpha.2` 的 19 条变更 |
|
|
131
|
-
| `guide/migration-0.2.md` | 0.2 世代破坏性变更迁移指南(§0–§12 覆盖到 `0.2.1-alpha.1`,§13 覆盖 `0.2.1-alpha.2` 的 19 个 seam
|
|
130
|
+
| `guide/version-matrix.md` | 版本适配矩阵:五个"最新"的区别、子包 `latest` 冻结、破坏性变更断层、peer 区间选择、会话格式谱系、`0.2.1-alpha.2` 的 19 条与 0.2.2 线的 46 条变更 |
|
|
131
|
+
| `guide/migration-0.2.md` | 0.2 世代破坏性变更迁移指南(§0–§12 覆盖到 `0.2.1-alpha.1`,§13 覆盖 `0.2.1-alpha.2` 的 19 个 seam,§14 覆盖 rc.3 包内 0.2.2 线的 46 个 seam(`K1`–`K46`),并单列下一版 13 条) |
|
|
132
132
|
| `guide/unfixed-issues.md` | 来源可核验的 bug 索引 + 已修清单 + 设计 vs bug 对照表 |
|
|
133
133
|
| `guide/quick-reference.md` | 一页速查表(5 语言) |
|
|
134
134
|
| `guide/links.md` | 精选 URL 索引:官方开发文档(站点 ↔ 本地副本)+ 社区文档链接 + 仅仓库内页面 |
|
|
@@ -194,7 +194,7 @@ L3 webRuntime service replaced by webStartup
|
|
|
194
194
|
detectable yes — inspect: src/**/*.ts, cordis.patch.yml
|
|
195
195
|
```
|
|
196
196
|
|
|
197
|
-
*Observed from `src/cli/commands/seams.ts:54; data/seams/index.json:
|
|
197
|
+
*Observed from `src/cli/commands/seams.ts:54; data/seams/index.json:66`*
|
|
198
198
|
|
|
199
199
|
### 失败分支
|
|
200
200
|
|
|
@@ -290,7 +290,7 @@ no seam or capability matches "no-such-seam-xyz". This is an absence of evidence
|
|
|
290
290
|
|
|
291
291
|
## 已知限制
|
|
292
292
|
|
|
293
|
-
- **官方文档是快照。**
|
|
293
|
+
- **官方文档是快照。** 镜像钉发布 tag(当前 `dsh-v0.2.2-rc.3` / `38a6a5c9`),上游发新版时用 `scripts/sync-official-docs.ps1 -Ref <tag>` 重新同步;`node scripts/check-docs-drift.mjs` 判断是否有更新的 release tag。新鲜度戳与提交号引用 `references/official-docs/SNAPSHOT.md`。
|
|
294
294
|
- **`downloads/` 由脚本生成、不入库。** 原始快照(社区仓库归档、Discussions、文章)使用前需用 `scripts/download-*.ps1` 生成。
|
|
295
295
|
- **`awesome-dsh-plugins` 内容仅本地。** 其上游声明内部使用约束,故不随仓库再分发。
|
|
296
296
|
|
|
@@ -309,7 +309,7 @@ no seam or capability matches "no-such-seam-xyz". This is an absence of evidence
|
|
|
309
309
|
|
|
310
310
|
| 维度 | 状态 |
|
|
311
311
|
|---|---|
|
|
312
|
-
| Harness | `engines.dsh` = `>=0.2.1-0 <0.3.0`。当前宿主线:npm `latest` = `next` = `0.2.
|
|
312
|
+
| Harness | `engines.dsh` = `>=0.2.1-0 <0.3.0 \|\| >=0.2.2-0 <0.3.0`。当前宿主线:npm `latest` = `0.2.2-rc.1`、`next` = `0.2.2-rc.3`、`alpha` = `0.2.2-alpha.3`,最新 tag = `dsh-v0.2.2-rc.3`;**不存在稳定版**——44 个 npm 版本与 39 个 GitHub Release 全是 prerelease。官方文档镜像钉在发布 tag `dsh-v0.2.2-rc.3`(`38a6a5c9…`,2026-11-14 同步,709 篇 md / 352 对中英双语)。 |
|
|
313
313
|
| Node | `>=24.9.0` |
|
|
314
314
|
| 平台 | 任何 DSH 可运行处(纯 ESM bundle;无原生代码、无网络) |
|
|
315
315
|
| 模型 | 任意(不调用模型:技能正文由宿主注入上下文) |
|
package/README.pt.md
CHANGED
|
@@ -44,7 +44,7 @@ Por que não basta ler a documentação oficial? Porque ela é escrita para quem
|
|
|
44
44
|
| Lacuna | O que este plugin acrescenta |
|
|
45
45
|
|---|---|
|
|
46
46
|
| **"Contra qual DSH eu estou desenvolvendo?"** | Uma [matriz de versões](guide/version-matrix.md): os cinco valores que se chamam "latest", as tags `latest` congeladas dos subpacotes, os seams de mudança incompatível e como escolher um intervalo de `peerDependencies`. **Não existe linha estável.** |
|
|
47
|
-
| **"O que esta versão quebra?"** | Um [guia de migração](guide/migration-0.2.md) que organiza `0.1.6-alpha.2` → `0.2.
|
|
47
|
+
| **"O que esta versão quebra?"** | Um [guia de migração](guide/migration-0.2.md) que organiza `0.1.6-alpha.2` → `0.2.2-rc.3` como seams citáveis (§0–§13 cobrem a linha 0.1.6→0.2.1; §14 são os 46 seams `K1`–`K46` da linha 0.2.2 publicados no rc.3), cada um com sintoma *e* correção e sua fonte oficial, incluindo um risco de perda de dados e uma mudança que faz os prompts falharem antes de a requisição ao modelo ser montada. |
|
|
48
48
|
| **"Meu plugin está realmente correto?"** | Um [CLI sem dependências](SKILL.md) (`dsh-plugin-dev new / check / verify`) mais um [espelho literal offline](references/official-docs/) da documentação oficial, para que o agente cite a página exata em vez de adivinhar. |
|
|
49
49
|
|
|
50
50
|
<picture>
|
|
@@ -103,7 +103,7 @@ O `dsh-primer` é a base de conhecimento de desenvolvimento de plugins do DSH ma
|
|
|
103
103
|
|
|
104
104
|
- **Contrato de plugin e regras duras** — effects/disposers, listeners waterfall que precisam chamar `next()`, eventos de sessão de propriedade do host, visível-para-o-modelo ⟺ registrado, configuração Schemastery, regras de UI e desempenho.
|
|
105
105
|
- **Espelho literal da documentação oficial** — `references/official-docs/`: cópia byte a byte dos documentos do repositório oficial (EN + ZH), idêntica ao upstream no último snapshot verificado, incluindo as páginas que nunca chegam ao site de documentação.
|
|
106
|
-
- **Matriz de adaptação de versões** — [guide/version-matrix.md](guide/version-matrix.md): os cinco valores "latest", as tags `latest` congeladas dos subpacotes, os quatro seams de mudança incompatível, como escolher o intervalo peer, a linhagem do formato de sessão V0→V4
|
|
106
|
+
- **Matriz de adaptação de versões** — [guide/version-matrix.md](guide/version-matrix.md): os cinco valores "latest", as tags `latest` congeladas dos subpacotes, os quatro seams de mudança incompatível, como escolher o intervalo peer, a linhagem do formato de sessão V0→V4 as 19 mudanças incompatíveis de `0.2.1-alpha.2` e os 46 seams da linha 0.2.2 publicados no rc.3 (`K1`–`K46`, ver migração §14).
|
|
107
107
|
- **Guia de migração** — [guide/migration-0.2.md](guide/migration-0.2.md): cada mudança incompatível de `0.1.6-alpha.2` a `0.2.1-alpha.1` (formato de sessão V4, reconstrução de settings, remoção de invariantes, `readBytes`, slots novos, a fonte de mensagem `plugin` aposentada), cada uma com sua fonte oficial e uma lista de 12 verificações.
|
|
108
108
|
- **Primer do Cordis e a skill oficial, destilada** — os cinco conceitos do Cordis e a linha do tempo de mecanismos; [references/official-plugin-dev-skill.md](references/official-plugin-dev-skill.md) destila as proibições de `cordis-plugin-development`, a lista de metadados de apresentação e as regras de UI/desempenho.
|
|
109
109
|
- **Índice de bugs verificados** — [guide/unfixed-issues.md](guide/unfixed-issues.md): 22 não corrigidos + 11 recém-verificados, cada um com `path:line`, contorno e commit de correção, mais uma tabela projeto-vs-bug e uma seção explícita de "não reproduzível".
|
|
@@ -127,8 +127,8 @@ O `dsh-primer` é a base de conhecimento de desenvolvimento de plugins do DSH ma
|
|
|
127
127
|
| `SKILL.md` | A skill de agente `dsh-primer`: regras duras + caminhos de desenvolvimento por tipo de tarefa |
|
|
128
128
|
| `package.json` · `cordis.patch.yml` · `index.js` · `locale/` · `icon.svg` | O bundle DSH instalável: manifesto `dsh.bundle.patch`, entrada que registra a skill e metadados de apresentação lidos pelo Plugin Manager |
|
|
129
129
|
| `guide/plugin-dev-guide.md` | O guia de desenvolvimento completo (10 capítulos) |
|
|
130
|
-
| `guide/version-matrix.md` | Matriz de adaptação de versões: os cinco "latest", tags `latest` congeladas, seams de mudança incompatível, escolha de intervalo peer, linhagem do formato de sessão, as 19 mudanças de `0.2.1-alpha.2` |
|
|
131
|
-
| `guide/migration-0.2.md` | Guia de migração de mudanças incompatíveis da geração 0.2 (§0–§12 até `0.2.1-alpha.1`, §13 com os 19 seams de `0.2.1-alpha.2`) |
|
|
130
|
+
| `guide/version-matrix.md` | Matriz de adaptação de versões: os cinco "latest", tags `latest` congeladas, seams de mudança incompatível, escolha de intervalo peer, linhagem do formato de sessão, as 19 mudanças de `0.2.1-alpha.2` mais as 46 da linha 0.2.2 |
|
|
131
|
+
| `guide/migration-0.2.md` | Guia de migração de mudanças incompatíveis da geração 0.2 (§0–§12 até `0.2.1-alpha.1`, §13 com os 19 seams de `0.2.1-alpha.2`, §14 com os 46 seams (`K1`–`K46`) publicados no rc.3 e os 13 da próxima versão em separado) |
|
|
132
132
|
| `guide/unfixed-issues.md` | Índice de bugs verificado em fontes + lista corrigida no master + tabela projeto-vs-bug |
|
|
133
133
|
| `guide/quick-reference.md` | Folha de consulta de uma página (5 idiomas) |
|
|
134
134
|
| `guide/links.md` | Índice de URLs curado: documentação oficial de desenvolvimento (site ↔ cópias locais) + links da comunidade + páginas só do repositório |
|
|
@@ -194,7 +194,7 @@ L3 webRuntime service replaced by webStartup
|
|
|
194
194
|
detectable yes — inspect: src/**/*.ts, cordis.patch.yml
|
|
195
195
|
```
|
|
196
196
|
|
|
197
|
-
*Observed from `src/cli/commands/seams.ts:54; data/seams/index.json:
|
|
197
|
+
*Observed from `src/cli/commands/seams.ts:54; data/seams/index.json:66`*
|
|
198
198
|
|
|
199
199
|
### Ramo de falha
|
|
200
200
|
|
|
@@ -309,7 +309,7 @@ Este plugin **não** interfere em outros plugins:
|
|
|
309
309
|
|
|
310
310
|
| Superfície | Estado |
|
|
311
311
|
|---|---|
|
|
312
|
-
| Harness | `engines.dsh` = `>=0.2.1-0 <0.3.0`. Linha atual do host: npm `latest` = `next` = `0.2.
|
|
312
|
+
| Harness | `engines.dsh` = `>=0.2.1-0 <0.3.0 \|\| >=0.2.2-0 <0.3.0`. Linha atual do host: npm `latest` = `0.2.2-rc.1`, `next` = `0.2.2-rc.3`, `alpha` = `0.2.2-alpha.3`, tag mais recente = `dsh-v0.2.2-rc.3`; **não existe linha estável** — as 44 versões do npm e as 39 releases do GitHub são prereleases. O espelho da documentação oficial está fixado na tag `dsh-v0.2.2-rc.3` (`38a6a5c9…`, sincronizado em 2026-11-14, 709 páginas md / 352 pares EN-ZH). |
|
|
313
313
|
| Node | `>=24.9.0` |
|
|
314
314
|
| Plataformas | Onde o DSH rodar (bundle ESM puro; sem código nativo, sem rede) |
|
|
315
315
|
| Modelo | Qualquer (sem interação com modelos: o host injeta o corpo da skill no contexto) |
|
package/SKILL.md
CHANGED
|
@@ -24,9 +24,11 @@ description: Use when developing, reviewing, packaging, debugging, or answering
|
|
|
24
24
|
|---|---|---|
|
|
25
25
|
| `< 0.1.7-alpha.1` | 旧基线 | 本世代破坏性变更**全部适用** → `guide/migration-0.2.md` §0–§12 逐条改 |
|
|
26
26
|
| `0.1.7-alpha.1` – `0.2.1-alpha.1` | 中间线 | 会话格式 V4 已生效;§13 的 19 条**不适用** |
|
|
27
|
-
| `0.2.1-alpha.2`
|
|
28
|
-
|
|
|
29
|
-
|
|
27
|
+
| `0.2.1-alpha.2` – `0.2.2-alpha.2` | 0.2.1 尾线 | §13 的 19 条**适用**;`§14` 的 0.2.2 线(`K1`–`K46`)尚未落地 |
|
|
28
|
+
| `0.2.2-alpha.3` – `0.2.2-rc.1` | 0.2.2 线中段 | `K1`–`K22` 已落地(alpha.3)、`K23`–`K27` 已落地(rc.1);`K28`–`K46` 尚未 |
|
|
29
|
+
| `0.2.2-rc.2` 或更新(当前 `0.2.2-rc.3`) | **当前线** | §13 + §14 全部 **46 条**(`K1`–`K46`)适用;`v0.2.2-rc.2` 的 13 条指南是**下一版**内容,**不适用** |
|
|
30
|
+
| **npm `latest`(= `0.2.2-rc.1`)** | **默认安装拿到的就是这一版** | 它**早于**最新 tag 两个发布:`K28`–`K46` 尚未落地,其余同 0.2.2 线 |
|
|
31
|
+
**几个"最新"不是同一个东西**:npm `latest`=`0.2.2-rc.1`、`next`=`0.2.2-rc.3`、`alpha`=`0.2.2-alpha.3`,最新 tag = `dsh-v0.2.2-rc.3`(2026-11-13)。**不存在稳定版**(全部 44 个 npm 版本与 39 个 GitHub Release 都是 prerelease)。完整谱系、子包 `latest` 冻结陷阱与 peer/engines 区间选择见 `guide/version-matrix.md`。
|
|
30
32
|
1. 若未读过 Cordis 概念:读 `references/official-docs/docs/cordis-primer.md`(5 个概念,5 分钟);需要动手跟练时跑 `references/official-docs/docs/cordis-tutorial/` 01-07(无 API key 可跑)。
|
|
31
33
|
2. 打开 `guide/quick-reference.md`(契约速查)+ `guide/plugin-dev-guide.md`(完整路径)。官方/社区文档 URL 对照见 `guide/links.md`。排查官方运行时行为/未修复 bug 时查 `guide/unfixed-issues.md`(master 基线源码核实的问题清单 + 已修复提交号 + 设计行为对照 + 本世代新核实的 T1–T11)。决定一个插件**该不该继续维护**(官方已进内核 / 第三方采用度显著更高)时查 `guide/when-to-retire-a-plugin.md`(判据 + 实测倍数表);判断某个能力面谁领先时查 `guide/choosing-a-plugin.md`。
|
|
32
34
|
2b. **要判断"该改哪一行 / 该找哪个工具"时**,读 `guide/family-toolchain.md`(家族工具链路由:问题→所有者→可引用产物;`dsh-plugin-doctor` 33 项检查全表与裁定语义;本库 16 项检查与 doctor 的交叉对照)。发布流水线(多插件组合的持续可安装/可发布/可升级)见 `guide/release-engineering.md`。
|
|
@@ -50,7 +52,7 @@ description: Use when developing, reviewing, packaging, debugging, or answering
|
|
|
50
52
|
- 可替换能力按三层接缝设计:Service Definition / Provider / Consumer;不提前拆。
|
|
51
53
|
- 打包:bundle 清单 `"dsh":{"bundle":{"patch":"..."}}`(`patch` **可为有序数组**,每个文件的相对路径按各自目录解析);覆盖按 `id` 整行替换 config(上游删行后 override **静默失效**,升级后跑 `--dump-config` 查 `patch: entry not found`);`!!js`(双感叹号);git 安装需要 `prepare` 脚本与用户侧 `allowBuilds`,发布 npm/tarball 免构建许可。
|
|
52
54
|
- **交付必须补展示元数据**:`locale/*.json` 的 `meta.title`/`meta.description` + 导出的 `./icon`(≤256 KiB、realpath 后必须在包内);子路径插件**不读** `package.json`。
|
|
53
|
-
- **共享实例的 dsh 包只放 peerDependencies + devDependencies**,绝不放 dependencies(profile 内副本会静默遮蔽运行时版本,核心服务注册失败)。⚠️
|
|
55
|
+
- **共享实例的 dsh 包只放 peerDependencies + devDependencies**,绝不放 dependencies(profile 内副本会静默遮蔽运行时版本,核心服务注册失败)。⚠️ **兼容性门禁在安装/启动时强制**(早期版本写成"DSH 不校验 peer",**已更正**):**清单里有 `engines.dsh` 时,它单独决定结果并忽略 `@deepseek-ai/dsh*` peers**;只有**没有** `engines.dsh` 时才回退到 peer 范围。判定用 `includePrerelease: true`,所以下界要带预发布(`>=0.2.2-0 <0.3.0`);`workspace:` 在 `engines.dsh` 里不合法;声明了 `engines.dsh` 就必须让它覆盖全部支持版本。范围只能表达"能不能装",**表达不了某个 API 在不在**——仍要配运行时探测。区间选择见 `guide/version-matrix.md` §4,官方语义见 `references/official-docs/docs/upgrade-guide/v0.2.1-alpha.3/plugin-engines-dsh/guide.md`。
|
|
54
56
|
- **UI 插件**:只渲染 slot 里的 React 组件(禁止 iframe 托管页面);样式只用 `--dsw-alias-*` 主题 token;不 `require` 任何 Harness Client 包(抛错组件会把整个 slot 搞白);`dsh.client.inject` **必须是静态数组**;不在组件外写 DOM、不往 `document.body` 追加。
|
|
55
57
|
- **性能**:per-session 状态放 `ctx.sessionProjections`(纯同步 apply、忽略即同引用、纯 JSON + `stateVersion`);等持久事件(`turn/end`/`assistant/message`/`tool/result`),实时 token 读 `agent/assistant-stream`;**不轮询 `agent/status`**。
|
|
56
58
|
- **禁止**:在会话运行期间改 profile 的 `cordis.patch.yml`(HMR 会重载,实测丢光 preset 工具、杀掉在途 turn、最坏永久废掉 `sessionController`);手写 profile 的 `package.json`;在 profile 目录里跑 pnpm。
|
|
@@ -69,7 +71,7 @@ description: Use when developing, reviewing, packaging, debugging, or answering
|
|
|
69
71
|
- **权限 / 审批 / 沙箱**:`docs/subsystems/approval.md`(审批流与 `ask` 决策)+ `docs/subsystems/permission-presets.md`(预设档位)+ `docs/subsystems/sandbox.md`(进程约束及其已知边界:Windows ACL 部分强制)。需要拦截工具调用时读 `docs/cookbook/extension-cookbook.md` 的 permission-gate 范例。
|
|
70
72
|
- **上下文 / 压缩 / 性能**:`docs/subsystems/compaction.md`(压缩缝与阈值语义)+ `docs/subsystems/spill.md`(溢出存储:只负责存储,无保留策略、无检索 API);`ctx` 自身的 API 面见 `docs/cordis-api/context.md`(**没有** subsystems 版的 context 页)。per-session 派生状态用 `ctx.sessionProjections`(见 §4.8 第 5 条)。
|
|
71
73
|
- **打包/发布**:`docs/user/develop/basic/publish.md`(bundle/profile、层顺序、多 patch 数组、peer 解析、git 安装坑)。
|
|
72
|
-
- **升级/迁移**:`guide/version-matrix.md
|
|
74
|
+
- **升级/迁移**:`guide/version-matrix.md`(**版本适配矩阵:先读这个**——几个"最新"、子包 `latest` 冻结、破坏性变更断层、peer/engines 区间选择、会话格式 V0→V4)→ `guide/migration-0.2.md`(本库综述,0.1.6→0.2.1 线 + §14 的 0.2.2 线)→ `docs/upgrade-guide/**`(官方逐版本迁移指南)+ `docs/persistence-changes/**`(持久化类型变更记录)+ `docs/session-format-status.md`(会话格式版本权威)。⚠️ **目标宿主落在 `0.2.2-rc.2` 或更新(当前 rc.3)时**:`version-matrix.md` §3 的 19 条(0.2.1-alpha.2 线)**与** `migration-0.2.md` §14 的 46 条(0.2.2 线,`K1`–`K46`)都适用——后者含 `engines.dsh` 门禁语义、`dsh-doc-skill`、`plugin-update-method`(`BundleInfo.updatable`→`update`)、`Session.append` 双 overload、`window-drag-regions`、`attachment-error-codes` 等。镜像里**没有** `v0.2.2-rc.2` 目录:那 13 条属下一版,别当 rc.3 变更。
|
|
73
75
|
- **查服务/事件精确签名**:**优先用会话内 inspection**(`cordis_inspect_list` / `cordis_inspect_query`:Service / Event / Config / Tool / Slots / Theme),其次 `docs/subsystems/*.md` 生成式 Cordis API 区 + `docs/cordis-api/*`;**不要自造第二份静态清单**。站点 URL ↔ 本地副本对照见 `guide/links.md`,社区链接完整清单见 `references/community-ecosystem.md`。
|
|
74
76
|
- **官方自带插件开发技能(0.2 世代新增,先读)**:`references/official-plugin-dev-skill.md`(主流程 + 六份分面参考要点 + 模板定位);上游在 `packages/preset/agent-preset/skills/cordis-plugin-development/**`。它规定的官方路径是:工作区写 bundle → `plugin_manager` `install_bundle`(绝对目录)→ `cordis_inspect_query` 核对,**禁止**手写 profile 的 `package.json`/`cordis.patch.yml`、禁止在 profile 目录跑 pnpm。
|
|
75
77
|
- **参考社区实现与实测坑**:`references/community-ecosystem.md`、`references/community-repo-deep-dive.md`(首批 15 个开发仓库深读)、`downloads/community-repos/`(**114 个仓库完整源码副本**,需先跑 `scripts/download-community-repos.ps1` 生成)。社区已确认的机制变化(repository-plugin 0811 移除、bundle vs 纯 cordis 双通道)与实测坑清单在 `guide/plugin-dev-guide.md` §7,源码级问题索引在 `guide/unfixed-issues.md`(含本世代新核实的 T1–T11)。官方 Discussions 全量归档(**2026-10-06 刷新**,含 #1629 官方插件脚手架 RFC)与 npm 全家桶元数据分别在 `downloads/github/harness/discussions/` 与 `downloads/npm/`;中英文社区文章 HTML 快照在 `downloads/web/community-articles/`。
|
|
@@ -85,9 +87,9 @@ description: Use when developing, reviewing, packaging, debugging, or answering
|
|
|
85
87
|
|
|
86
88
|
## 知识库维护(需要时)
|
|
87
89
|
|
|
88
|
-
- 同步官方文档副本:`pwsh -File ./scripts/sync-official-docs.ps1 [-Checkout <deepseek-harness checkout>]
|
|
90
|
+
- 同步官方文档副本:`pwsh -File ./scripts/sync-official-docs.ps1 [-Checkout <deepseek-harness checkout>] [-Ref <tag|sha>]`——用 `-Ref` 钉**发布 tag**(当前 = `dsh-v0.2.2-rc.3` / `38a6a5c9…`,709 篇 md / 352 对中英),不钉 master HEAD;只同步 git 已跟踪文件(未跟踪草稿与未推送提交不会进来),并刷新 `references/official-docs/SNAPSHOT.md`;README 的"最后核验"日期与提交号引用 SNAPSHOT.md,不要手改。新鲜度校验(无 checkout):`node ./scripts/check-docs-drift.mjs`(比较最新 release tag 与 SNAPSHOT 的 Source ref;**不要**用旧的 branch-tip 探针,tag 钉住时它必然报 drift)。有 checkout 时用 `pwsh -File ./scripts/verify-kit.ps1 -Checkout <checkout>` 做逐文件哈希对比。
|
|
89
91
|
- 刷新线上资料:`pwsh -File ./scripts/download-sources.ps1`;刷新社区仓库:`pwsh -File ./scripts/download-community-repos.ps1`;刷新社区文章快照:`pwsh -File ./scripts/download-community-articles.ps1`(三个脚本幂等,产出进 `./downloads/`)。刷新官方 Discussions 归档:`$env:GH_TOKEN=<token>; pwsh -File ./scripts/archive-discussions.ps1`(list.json + 精选线程评论,防缩水保护;**2026-10-06 期:list=5000、精选 1648**)。**注意 REST 分页天花板**:`/discussions` 列表最多翻到 5000 条,而仓库实际 total_count≈8850(GraphQL 口径)——需要更全的历史时按 GraphQL `UPDATED_AT DESC` 补抓。话题清单计数重核:`pwsh -File ./scripts/gen-topic-snapshot.ps1 -OutDir <dir> -MaxPages 10`。
|
|
90
|
-
-
|
|
92
|
+
- **维护节奏建议**:0.2.2 线在 17 天内发了 5 个 prerelease(2026-10-27 `alpha.2` → 11-13 `rc.3`),所以"最后核验"日期要跟 tag 走;每次官方发版后按 `references/official-docs/docs/upgrade-guide/**`(**无 index、无入链**,必须主动看)+ `docs/persistence-changes/**` + GitHub Releases 说明三处增量更新 `guide/migration-0.2.md` 与 `guide/unfixed-issues.md`。
|
|
91
93
|
- 安装/刷新 agent 技能副本:`pwsh -File ./scripts/install-skill.ps1 -Target <skill目录>`(跳过 downloads/ 与 .github/,逐字节校验)。
|
|
92
94
|
- 冲突裁决:与官方文档冲突时以 `references/official-docs/`(官方仓库原文)为准;官方文档与**代码**冲突时以代码/产物为准并**明确标注分歧**(本轮已发现一例:`session-format-status.md` 的发布记录落后于代码与 npm)。
|
|
93
95
|
|
|
@@ -103,9 +105,9 @@ description: Use when developing, reviewing, packaging, debugging, or answering
|
|
|
103
105
|
- `new <name>`:参数化脚手架,生成 TS 或 JS 插件仓库骨架(`src/index.ts` 契约模板、Schemastery Config、tests、tsdown/vitest、注释齐全的 `cordis.patch.yml`、五语 README),模板与 `references/official-docs` 同步更新。标志:`--lang <ts|js>`、`--dir <path>`、`--force`、`--git`。
|
|
104
106
|
- `check [--json] [--strict] [--cwd <dir>]`:静态检查(`cordis.patch.yml` 合法性、`package.json` 元数据(`dsh.bundle.patch` 指向/peer 依赖/engines/files 白名单)、五语 README 一致性、工程红线模式),输出 CI 可消费的结构化 JSON;每个检查项在输出里引用本知识库对应章节(skill 联动),agent 可继续人工审计。**这 16 项是同族 `dsh-plugin-doctor` 33 项的子集**(逐项对照见 `guide/family-toolchain.md` §3);发布前建议两个都跑。
|
|
105
107
|
- `verify [--cwd <dir>] [--base <spec>] [--headless <spec>] [--profile <name>]`:`pnpm pack` 后装入干净临时 `DSH_HOME` profile 做安装+启动+卸载冒烟(对齐官方 verify:self-contained);失败给出日志尾部与建议。
|
|
106
|
-
- `seams <query>` / `seams --since <version>`:**回答"这个 API 在我目标宿主里存不存在"**,而不是让你去翻
|
|
108
|
+
- `seams <query>` / `seams --since <version>`:**回答"这个 API 在我目标宿主里存不存在"**,而不是让你去翻 709 页镜像。`query` 可以是 seam id(`L3` / `K12`)、能力 id(`A20`)、版本号或任意词。`--since 0.2.0-rc.2` 列出**在该版本之后落地**的所有破坏性变更,并标出哪些**静态检查看不到**。
|
|
107
109
|
- **第三态是强制的**:知识库没有依据时**退出码 3 并明确说"这是知识库没有依据,不等于该 API 不存在"**——绝不把"不知道"渲染成"没有"。
|
|
108
|
-
- 数据源 `data/seams/index.json`:19 条 `L` 走廊 seam
|
|
110
|
+
- 数据源 `data/seams/index.json`:19 条 `L` 走廊 seam(0.2.1 线)+ 7 条机制 seam + **46 条 `K` seam(0.2.2 线,rc.3 包内)** + 22 个能力区;另用 `unreleased` 单列 `v0.2.2-rc.2` 的 13 条下一版指南。每条带 `confidence`(`documented`/`inferred`/`unknown`)与官方出处;**其中 23 条标 `detectable: false` 并写明原因**(数据丢失、运行时状态、部署相关行为),任何消费者都不得把它们算作通过。
|
|
109
111
|
|
|
110
112
|
四个子命令均可逆/幂等;网络/子进程尊重超时与 AbortSignal;只清理自己 mkdtemp 的目录。CLI 零运行时依赖,构建产物经 tsdown 打包为单文件 `dist/dsh-plugin-dev.js`。
|
|
111
113
|
|
package/data/facts.json
CHANGED
|
@@ -1,18 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schema": "dsh-plugin-guide/facts/v1",
|
|
3
|
-
"measuredAt": "2026-11-
|
|
3
|
+
"measuredAt": "2026-11-14",
|
|
4
4
|
"notes": [
|
|
5
5
|
"One home per fact. Prose, tables and badges must agree with these numbers; `scripts/check-facts.mjs` enforces the ones a machine can check.",
|
|
6
6
|
"These are the counts that caused real defects when they drifted: the family roster was stated four different ways, the pitfall list was '30+' in one language and '20+' in another, and the mirror page count was '215' long after it reached 429.",
|
|
7
7
|
"Recounted 2026-11-01 after adding guide/standards.md and guide/standards.zh-CN.md: guideDocuments 19, whatYouGetEntries 11 (the standards bullet was added to all five READMEs).",
|
|
8
|
-
"Mirror recounted 2026-11-13 after re-syncing references/official-docs to deepseek-harness e8f7b93 (dsh-v0.2.2-rc.2): 717 md pages, 356 .zh.md pairs."
|
|
8
|
+
"Mirror recounted 2026-11-13 after re-syncing references/official-docs to deepseek-harness e8f7b93 (dsh-v0.2.2-rc.2): 717 md pages, 356 .zh.md pairs.",
|
|
9
|
+
"Recounted 2026-11-14: the official-docs mirror is re-synced from the release tag `dsh-v0.2.2-rc.3` (`38a6a5c9…`), not from master HEAD. The previous pin `e8f7b93` was a master sync commit 17 minutes after the rc.2 tag, never the rc.2 tag itself (tag commit `ddac9676…`), and it carried 4 master-only `v0.2.2-rc.1` guides: 717 md / 356 .zh.md pairs. The tag snapshot is 709 md / 352 .zh.md pairs.",
|
|
10
|
+
"Host facts recounted 2026-11-14 against the npm registry and the GitHub API: 44 npm versions, 39 GitHub Releases (all prereleases), dist-tags latest=0.2.2-rc.1 / next=0.2.2-rc.3 / alpha=0.2.2-alpha.3, newest tag dsh-v0.2.2-rc.3. The rc.3 tag ships 46 upgrade guides for the 0.2.2 line (22 authored at v0.2.2-alpha.2, 5 at v0.2.2-alpha.3, 19 at v0.2.2-rc.1); the 13 guides authored at v0.2.2-rc.2 are master-only next-version content and are NOT counted."
|
|
9
11
|
],
|
|
10
12
|
"mirror": {
|
|
11
|
-
"mdPages":
|
|
12
|
-
"zhPairs":
|
|
13
|
-
"pinnedCommit": "
|
|
14
|
-
"pinnedTag": "dsh-v0.2.2-rc.
|
|
15
|
-
"syncedAt": "2026-11-
|
|
13
|
+
"mdPages": 709,
|
|
14
|
+
"zhPairs": 352,
|
|
15
|
+
"pinnedCommit": "38a6a5c965aa99ab525161efb7cc5cf1fe62fced",
|
|
16
|
+
"pinnedTag": "dsh-v0.2.2-rc.3",
|
|
17
|
+
"syncedAt": "2026-11-14"
|
|
16
18
|
},
|
|
17
19
|
"readme": {
|
|
18
20
|
"sections": 24,
|
|
@@ -30,6 +32,10 @@
|
|
|
30
32
|
},
|
|
31
33
|
"seams": {
|
|
32
34
|
"corridorL": 19,
|
|
35
|
+
"corridorK": 46,
|
|
36
|
+
"corridorKDetectable": 32,
|
|
37
|
+
"corridorKAdvisory": 14,
|
|
38
|
+
"unreleased": 13,
|
|
33
39
|
"capabilityAreas": 22,
|
|
34
40
|
"staticallyDetectable": 10,
|
|
35
41
|
"advisoryOnly": 9,
|
|
@@ -45,16 +51,30 @@
|
|
|
45
51
|
"L14",
|
|
46
52
|
"L15"
|
|
47
53
|
],
|
|
48
|
-
"note": "
|
|
54
|
+
"note": "L1–L19 are the 0.2.1-alpha.2 corridor (10 statically detectable / 9 advisory). K1–K46 are the 0.2.2 line covered by the rc.3 release tag (32 detectable / 14 advisory; each advisory record says why). `unreleased` holds the 13 guides authored at v0.2.2-rc.2 that are master-only next-version content. The audit figure 14/5 for L was never verified; these are the counted values, and scripts/check-facts.mjs asserts all of them against the index."
|
|
49
55
|
},
|
|
50
56
|
"host": {
|
|
51
|
-
"npmLatest": "0.2.
|
|
52
|
-
"npmNext": "0.2.
|
|
53
|
-
"npmAlpha": "0.2.
|
|
54
|
-
"newestTag": "dsh-v0.2.
|
|
55
|
-
"npmVersionCount":
|
|
56
|
-
"githubReleaseCount":
|
|
57
|
-
"stableLines": 0
|
|
57
|
+
"npmLatest": "0.2.2-rc.1",
|
|
58
|
+
"npmNext": "0.2.2-rc.3",
|
|
59
|
+
"npmAlpha": "0.2.2-alpha.3",
|
|
60
|
+
"newestTag": "dsh-v0.2.2-rc.3",
|
|
61
|
+
"npmVersionCount": 44,
|
|
62
|
+
"githubReleaseCount": 39,
|
|
63
|
+
"stableLines": 0,
|
|
64
|
+
"node": ">=24.9.0",
|
|
65
|
+
"cordisWrapper": "4.1.0",
|
|
66
|
+
"cordisUpstream": "4.0.0-rc.11",
|
|
67
|
+
"rc3GuideCounts": {
|
|
68
|
+
"0.2.2-alpha.2": 22,
|
|
69
|
+
"0.2.2-alpha.3": 5,
|
|
70
|
+
"0.2.2-rc.1": 19,
|
|
71
|
+
"total": 46
|
|
72
|
+
},
|
|
73
|
+
"nextVersion": {
|
|
74
|
+
"authoredAt": "0.2.2-rc.2",
|
|
75
|
+
"count": 13,
|
|
76
|
+
"note": "Only on master after the rc.3 tag; not part of the rc.3 release."
|
|
77
|
+
}
|
|
58
78
|
},
|
|
59
79
|
"family": {
|
|
60
80
|
"rosterRows": 45,
|