dsh-observe 0.2.8 → 0.2.10
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 +24 -0
- package/README.es.md +44 -40
- package/README.hi.md +44 -40
- package/README.md +44 -40
- package/README.pt.md +44 -40
- package/README.zh.md +44 -40
- package/lib/index.js +45 -25
- package/lib/types/collector.d.ts +16 -2
- package/lib/types/collector.d.ts.map +1 -1
- package/lib/types/collector.js +56 -30
- package/lib/types/collector.js.map +1 -1
- package/lib/types/index.d.ts +1 -0
- package/lib/types/index.d.ts.map +1 -1
- package/lib/types/index.js +2 -0
- package/lib/types/index.js.map +1 -1
- package/lib/types/version.d.ts +1 -1
- package/lib/types/version.d.ts.map +1 -1
- package/lib/types/version.js +1 -1
- package/lib/types/version.js.map +1 -1
- package/package.json +15 -17
- package/src/collector.ts +57 -32
- package/src/index.ts +3 -0
- package/src/version.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,30 @@ All notable changes to this project are documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [Unreleased]
|
|
9
|
+
|
|
10
|
+
## [0.2.10] - 2026-09-09
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- Adapt the collector to the host 0.1.5 session event vocabulary: `assistant/chunk` was removed from `SessionEventMap` (host commit `f99b06eaed`) and `EpochHeader.system` was removed (host commit `ee956c720d`). Finish reason and first-token timing now come from the required `assistant/message.stream` and the new `assistant/attempt.stream`; the system prompt is read from surface node 0 (`system/message`) instead of the header. The published `0.1.2-rc.1` runtime line keeps working through structural reads of the legacy `assistant/chunk` events and the legacy `header.system` field.
|
|
15
|
+
- Read `assistant/attempt.stream`, so a failed, cancelled, or stream-errored attempt that commits no message still contributes the dangling LLM span's finish reason instead of leaving it empty.
|
|
16
|
+
|
|
17
|
+
### Changed
|
|
18
|
+
|
|
19
|
+
- Pin the devDependencies and the CI/compat probes to `@deepseek-ai/dsh@0.1.5-alpha.1`; the peer range stays the composite `>=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0`, and `dshWorkshop.compatibility.dshVersions` lists both baselines.
|
|
20
|
+
- Rewrite the collector fixtures to the V3 event shapes (embedded streams, `system/message` as surface node 0) and add coverage for the legacy rc.1 chunk fallback and the failed-attempt stream: 124 tests across 18 suites.
|
|
21
|
+
|
|
22
|
+
### Docs
|
|
23
|
+
|
|
24
|
+
- Refresh the five-language README compatibility sections: harness `dsh-v0.1.5-alpha.1` verified 2026-09-09, devDeps `0.1.5-alpha.1`, the composite peer range, and the corrected typecheck/test-count lines; align AGENTS.md with the 0.1.5 seams.
|
|
25
|
+
|
|
26
|
+
## [0.2.9] - 2026-09-07
|
|
27
|
+
|
|
28
|
+
### Docs
|
|
29
|
+
|
|
30
|
+
- Fix the DSH plugin badge URL: shields.io rejects the four-segment static badge form with "404 badge not found"; the label now uses the documented double-dash form (`dsh--plugin`), rendering identically; no behavior change.
|
|
31
|
+
|
|
8
32
|
## [0.2.8] - 2026-09-07
|
|
9
33
|
|
|
10
34
|
### Fixed
|
package/README.es.md
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
*Convierte los eventos de sesión en trazas OTLP y observaciones de Langfuse — saneado, con buffer y apagado por defecto.*
|
|
9
9
|
|
|
10
10
|
[](LICENSE)
|
|
11
|
-
[](https://github.com/topics/dsh-plugin)
|
|
12
12
|
[](#)
|
|
13
13
|
[](https://github.com/PerryLink/dsh-observe/actions)
|
|
14
14
|
[](https://github.com/PerryLink/dsh-observe/releases)
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
|
|
26
26
|
| Superficie | Estado |
|
|
27
27
|
|---|---|
|
|
28
|
-
| Harness | DeepSeek Harness `dsh-v0.1.
|
|
28
|
+
| Harness | DeepSeek Harness `dsh-v0.1.5-alpha.1` (adaptado el 2026-09-09): el formato de sesión V3 incorpora el flujo del asistente en `assistant/message` / `assistant/attempt` y representa el prompt de sistema como nodo 0 de la superficie (`system/message`); el plugin consume solo el flujo de eventos en vivo y nunca lee archivos de log de sesión. Verificado el 2026-09-09 contra el tag dsh-v0.1.5-alpha.1 (cadena completa de puertas local; el workflow compat mensual cubre el smoke de instalación de perfil). |
|
|
29
29
|
| Node | `^22.19.0 \|\| >=24.0.0` |
|
|
30
30
|
| Backends | OpenTelemetry OTLP/HTTP (traces + metrics, codificación JSON) y Langfuse (observabilidad de LLM) — uno o ambos |
|
|
31
31
|
| Modelo | Independiente del modelo: exporta el flujo `session/event`; no realiza llamadas a modelos |
|
|
@@ -165,11 +165,11 @@ Este plugin **no registra herramientas de modelo** — es un exportador en segun
|
|
|
165
165
|
- **Sanear antes de enviar** — redacción estructural de claves, patrones de secretos integrados (claves de API, tokens de GitHub, claves de AWS, credenciales bearer, claves privadas), tus patrones y presupuestos de caracteres se aplican antes de que un registro salga de memoria.
|
|
166
166
|
- **Re-validación en el límite duradero** — los registros leídos del almacenamiento se comprueban de nuevo antes de que un sink pueda verlos.
|
|
167
167
|
- **Fallo ruidoso, fallo contenido** — los fallos de exportación avisan, cuentan, reintentan y finalmente se guardan en el spool; un manejador de sesión que falla se captura y registra, de modo que la observabilidad nunca puede romper la ruta caliente del harness.
|
|
168
|
-
- **Model-visible ⟺ logged** — las exportaciones de prompt/completion proyectan solo la
|
|
168
|
+
- **Model-visible ⟺ logged** — las exportaciones de prompt/completion proyectan solo la superficie de sesión (cuyo nodo 0 es el prompt de sistema) y la cabecera registrada (configuración de llamada y herramientas); el exportador no inventa contenido.
|
|
169
169
|
|
|
170
170
|
## Known limitations
|
|
171
171
|
|
|
172
|
-
- **npm 0.1.
|
|
172
|
+
- **npm 0.1.5-alpha.1** — el plugin se desarrolla y prueba contra `@deepseek-ai/dsh@0.1.5-alpha.1` (devDeps y CI fijados); el rango de peers `>=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0` mantiene instalable la línea rc.1 publicada, y el workflow compat mensual cubre baselines más nuevos.
|
|
173
173
|
- **Las métricas evitan la ruta de reintento/spool** — las métricas OTLP se agregan de forma acumulativa, así que un flush perdido se autocura en el siguiente (por diseño, no es un fallo).
|
|
174
174
|
- **Sin muestreo** — toda familia de spans habilitada se exporta; ajusta los interruptores `capture.*` y `batch.maxBufferRecords` para sesiones de alto volumen.
|
|
175
175
|
|
|
@@ -177,9 +177,9 @@ Este plugin **no registra herramientas de modelo** — es un exportador en segun
|
|
|
177
177
|
|
|
178
178
|
```sh
|
|
179
179
|
pnpm install # node ^22.19 || >=24
|
|
180
|
-
pnpm run typecheck # tsc: src + tests contra
|
|
181
|
-
pnpm run typecheck:ci # tsc contra los tipos publicados 0.1.
|
|
182
|
-
pnpm test # vitest:
|
|
180
|
+
pnpm run typecheck # tsc: src + tests contra los devDeps fijados 0.1.5-alpha.1 (sin tsconfig paths)
|
|
181
|
+
pnpm run typecheck:ci # tsc contra los tipos publicados 0.1.5-alpha.1 (sin paths)
|
|
182
|
+
pnpm test # vitest: 124 tests, 18 suites (Context/Session/storage seam reales)
|
|
183
183
|
pnpm run test:coverage # puerta de cobertura (90/80/90/90)
|
|
184
184
|
pnpm run build # bundle tsdown + declaraciones tsc (lib/)
|
|
185
185
|
pnpm run verify:self-contained # las especificaciones de dependencias resuelven desde el registry
|
|
@@ -198,42 +198,46 @@ pnpm pack # el tarball publicado
|
|
|
198
198
|
|
|
199
199
|
## PerryLink DSH Plugin Family
|
|
200
200
|
|
|
201
|
-
Este proyecto es uno de los [
|
|
201
|
+
Este proyecto es uno de los [37 complementos de DeepSeek Harness](https://github.com/PerryLink) mantenidos por [PerryLink](https://github.com/PerryLink). Si este te ayuda, probablemente los demás también:
|
|
202
202
|
|
|
203
203
|
| Plugin | One-liner |
|
|
204
204
|
|---|---|
|
|
205
|
-
| **[dsh-
|
|
206
|
-
| **[dsh-
|
|
207
|
-
| **[dsh-
|
|
208
|
-
| **[dsh-
|
|
209
|
-
| **[dsh-
|
|
210
|
-
| **[dsh-
|
|
211
|
-
| **[dsh-
|
|
212
|
-
| **[dsh-
|
|
213
|
-
| **[dsh-
|
|
214
|
-
| **[dsh-
|
|
215
|
-
| **[dsh-
|
|
216
|
-
| **[dsh-
|
|
217
|
-
| **[dsh-
|
|
218
|
-
| **[dsh-
|
|
219
|
-
| **[dsh-
|
|
220
|
-
| **[dsh-
|
|
221
|
-
| **[dsh-
|
|
222
|
-
| **[dsh-
|
|
223
|
-
| **[dsh-
|
|
224
|
-
| **[dsh-
|
|
225
|
-
| **[dsh-
|
|
226
|
-
| **[dsh-
|
|
227
|
-
| **[dsh-
|
|
228
|
-
| **[dsh-
|
|
229
|
-
| **[dsh-
|
|
230
|
-
| **[dsh-
|
|
231
|
-
| **[dsh-
|
|
232
|
-
| **[dsh-
|
|
233
|
-
| **[dsh-
|
|
234
|
-
| **[dsh-
|
|
235
|
-
| **[dsh-
|
|
236
|
-
| **[dsh-
|
|
205
|
+
| **[dsh-auto-review](https://github.com/PerryLink/dsh-auto-review)** | Auto-revisión de segundo modelo en la cadena de aprobación, con cierre en fallo por defecto | |
|
|
206
|
+
| **[dsh-background-agents](https://github.com/PerryLink/dsh-background-agents)** | Agentes hijos en segundo plano durables con barra lateral de UI web, mensajería e interrupción | |
|
|
207
|
+
| **[dsh-budget](https://github.com/PerryLink/dsh-budget)** | Gobernanza de costes para DeepSeek Harness: presupuestos, carbono y latencia en un panel. | |
|
|
208
|
+
| **[dsh-checkpoint-rewind](https://github.com/PerryLink/dsh-checkpoint-rewind)** | Equivalente a /rewind de Claude Code: instantáneas, bifurcaciones de sesión, restauración de un solo uso | |
|
|
209
|
+
| **[dsh-claude-move](https://github.com/PerryLink/dsh-claude-move)** | Migra sesiones, memoria, habilidades y CLAUDE.md de Claude Code a DSH | |
|
|
210
|
+
| **[dsh-click](https://github.com/PerryLink/dsh-click)** | Control de escritorio nativo multiplataforma para DeepSeek Harness — Windows primero. | |
|
|
211
|
+
| **[dsh-composer-history](https://github.com/PerryLink/dsh-composer-history)** | Historial de entrada estilo terminal para el compositor web: flechas, búsqueda Ctrl+R | |
|
|
212
|
+
| **[dsh-data-quality](https://github.com/PerryLink/dsh-data-quality)** | Comprobaciones de calidad de datasets y verificación de citas (el puente numérico opcional consumido aquí) | |
|
|
213
|
+
| **[dsh-defend](https://github.com/PerryLink/dsh-defend)** | Defensa contra inyección de prompts, jailbreak y fuga de secretos para DeepSeek Harness. | |
|
|
214
|
+
| **[dsh-doublecheck](https://github.com/PerryLink/dsh-doublecheck)** | Guardián de disciplina de ingeniería: interrogatorio de requisitos, puertas de pruebas, revisión adversaria | |
|
|
215
|
+
| **[dsh-draw](https://github.com/PerryLink/dsh-draw)** | Enrutamiento unificado de generación de imágenes estáticas para DeepSeek Harness. | |
|
|
216
|
+
| **[dsh-fast](https://github.com/PerryLink/dsh-fast)** | Diagnóstico de rendimiento de solo lectura para DeepSeek Harness. | |
|
|
217
|
+
| **[dsh-fund-research](https://github.com/PerryLink/dsh-fund-research)** | Informes de investigación deterministas para fondos mutuos públicos chinos | |
|
|
218
|
+
| **[dsh-github](https://github.com/PerryLink/dsh-github)** | Integración de PR/issues de GitHub para DSH, cada escritura controlada por aprobación | |
|
|
219
|
+
| **[dsh-industry-research](https://github.com/PerryLink/dsh-industry-research)** | Orquestación de investigación sectorial que sella sus entregables mediante el `ctx.researchReport.assemble` de este plugin | |
|
|
220
|
+
| **[dsh-library](https://github.com/PerryLink/dsh-library)** | Base de conocimiento documental local para DeepSeek Harness. | |
|
|
221
|
+
| **[dsh-local-ai](https://github.com/PerryLink/dsh-local-ai)** | Integración de modelos locales (Ollama) para DeepSeek Harness. | |
|
|
222
|
+
| **[dsh-lsp-actions](https://github.com/PerryLink/dsh-lsp-actions)** | Diagnósticos, formato, autocompletado, acciones de código y renombrado LSP sobre servidores de lenguaje | |
|
|
223
|
+
| **[dsh-mask](https://github.com/PerryLink/dsh-mask)** | Middleware de enmascaramiento de PII: anonimiza en el límite del modelo, restaura en la capa de visualización | |
|
|
224
|
+
| **[dsh-mcp-panel](https://github.com/PerryLink/dsh-mcp-panel)** | Panel de tiempo de ejecución MCP de solo lectura: comando /mcp + pestaña Settings con estado, herramientas y errores | |
|
|
225
|
+
| **[dsh-memento](https://github.com/PerryLink/dsh-memento)** | Memoria entre sesiones controlada por aprobación: costura ctx.memory + SQLite + herramienta de memoria | |
|
|
226
|
+
| **[dsh-output-styles](https://github.com/PerryLink/dsh-output-styles)** | Cambio de estilo en tiempo de ejecución equivalente a outputStyles de Claude Code | |
|
|
227
|
+
| **[dsh-permission-rules](https://github.com/PerryLink/dsh-permission-rules)** | Reglas de permisos declarativas allow/deny/ask estilo Claude Code con auditoría | |
|
|
228
|
+
| **[dsh-personal-directive](https://github.com/PerryLink/dsh-personal-directive)** | Inyector de directivas personales con interruptor en la barra superior (edición framework) |
|
|
229
|
+
| **[dsh-plugin-guide](https://github.com/PerryLink/dsh-plugin-guide)** | Base de conocimiento de desarrollo de plugins como habilidad de agente bajo demanda | |
|
|
230
|
+
| **[dsh-reach](https://github.com/PerryLink/dsh-reach)** | Puente multicanal de aprobación/preguntas: WeChat/Telegram/Feishu, consola de sesión |
|
|
231
|
+
| **[dsh-research-report](https://github.com/PerryLink/dsh-research-report)** | Motor de informes de investigación verificables con evidencia direccionada por contenido | |
|
|
232
|
+
| **[dsh-score](https://github.com/PerryLink/dsh-score)** | Puntuación de calidad multidimensional para plugins de DeepSeek Harness. | |
|
|
233
|
+
| **[dsh-session-pin](https://github.com/PerryLink/dsh-session-pin)** | Fija sesiones en la barra lateral web con orden durable | |
|
|
234
|
+
| **[dsh-session-sync](https://github.com/PerryLink/dsh-session-sync)** | Sincronización de sesiones entre dispositivos para DeepSeek Harness — un espejo git dedicado de tu almacén de sesiones. | |
|
|
235
|
+
| **[dsh-skill-pack-security](https://github.com/PerryLink/dsh-skill-pack-security)** | Paquete de habilidades de auditoría de seguridad: escaneo de secretos, revisión de dependencias y cadena de suministro | |
|
|
236
|
+
| **[dsh-talk](https://github.com/PerryLink/dsh-talk)** | Bucle de sesión con voz para DeepSeek Harness: háblale y escucha su respuesta. | |
|
|
237
|
+
| **[dsh-test-drive](https://github.com/PerryLink/dsh-test-drive)** | Pruebas de instalación y humo aisladas para plugins de DeepSeek Harness. | |
|
|
238
|
+
| **[dsh-ticktick](https://github.com/PerryLink/dsh-ticktick)** | Puente de tareas TickTick/Dida365: panel de cabecera de sesión + 11 herramientas |
|
|
239
|
+
| **[dsh-translate](https://github.com/PerryLink/dsh-translate)** | Traducción de parámetros entre proveedores y reparación determinista de JSON para DeepSeek Harness. | |
|
|
240
|
+
| **[dsh-wechat](https://github.com/PerryLink/dsh-wechat)** | Puente WeChat ↔ DSH (bot Tencent iLink): texto/imagen/archivo/voz, aprobaciones en el chat |
|
|
237
241
|
|
|
238
242
|
## License
|
|
239
243
|
|
package/README.hi.md
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
*सेशन इवेंट्स को OTLP traces और Langfuse observations में बदलें — सैनिटाइज़्ड, बफ़र्ड, डिफ़ॉल्ट रूप से बंद।*
|
|
9
9
|
|
|
10
10
|
[](LICENSE)
|
|
11
|
-
[](https://github.com/topics/dsh-plugin)
|
|
12
12
|
[](#)
|
|
13
13
|
[](https://github.com/PerryLink/dsh-observe/actions)
|
|
14
14
|
[](https://github.com/PerryLink/dsh-observe/releases)
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
|
|
26
26
|
| सतह | स्थिति |
|
|
27
27
|
|---|---|
|
|
28
|
-
| Harness | DeepSeek Harness `dsh-v0.1.
|
|
28
|
+
| Harness | DeepSeek Harness `dsh-v0.1.5-alpha.1` (2026-09-09 को अनुकूलित): सत्र प्रारूप V3 सहायक स्ट्रीम को `assistant/message` / `assistant/attempt` में एम्बेड करता है और सिस्टम प्रॉम्प्ट को सरफ़ेस नोड 0 (`system/message`) के रूप में रखता है; प्लगइन केवल लाइव इवेंट स्ट्रीम पढ़ता है और कभी सत्र लॉग फ़ाइलें नहीं पढ़ता। 2026-09-09 को dsh-v0.1.5-alpha.1 tag के विरुद्ध सत्यापित (स्थानीय पूर्ण गेट श्रृंखला; प्रोफ़ाइल इंस्टॉल स्मोक मासिक compat वर्कफ़्लो कवर करता है)। |
|
|
29
29
|
| Node | `^22.19.0 \|\| >=24.0.0` |
|
|
30
30
|
| बैकएंड | OpenTelemetry OTLP/HTTP (traces + metrics, JSON एन्कोडिंग) और Langfuse (LLM ऑब्ज़र्वेबिलिटी) — एक या दोनों |
|
|
31
31
|
| मॉडल | मॉडल-स्वतंत्र: यह `session/event` स्ट्रीम निर्यात करता है; कोई मॉडल कॉल नहीं करता |
|
|
@@ -165,11 +165,11 @@ dsh --profile web --dump-config | grep -A2 'id: dsh-observe'
|
|
|
165
165
|
- **भेजने से पहले सैनिटाइज़** — संरचनात्मक कुंजी रिडैक्शन, अंतर्निहित गुप्त पैटर्न (API कुंजियाँ, GitHub टोकन, AWS कुंजियाँ, bearer क्रेडेंशियल, निजी कुंजियाँ), आपके पैटर्न और वर्ण बजट सभी किसी भी रिकॉर्ड के मेमोरी छोड़ने से पहले लागू होते हैं।
|
|
166
166
|
- **टिकाऊ सीमा पर पुनः सत्यापन** — स्टोरेज से पढ़े रिकॉर्ड किसी sink के देखने से पहले फिर जाँचे जाते हैं।
|
|
167
167
|
- **विफलता ज़ोर से, विफलता सीमित** — निर्यात विफलताएँ चेतावनी देती हैं, गिनती करती हैं, पुनर्प्रयास करती हैं और अंत में spool में जाती हैं; विफल सत्र हैंडलर पकड़ा और लॉग होता है, इसलिए ऑब्ज़र्वेबिलिटी कभी हार्नेस का हॉट पाथ नहीं तोड़ सकती।
|
|
168
|
-
- **Model-visible ⟺ logged** — prompt/completion निर्यात केवल लॉग किए हेडर और
|
|
168
|
+
- **Model-visible ⟺ logged** — prompt/completion निर्यात केवल सत्र सरफ़ेस (जिसका नोड 0 सिस्टम प्रॉम्प्ट है) और लॉग किए हेडर (कॉल कॉन्फ़िग और टूल्स) को प्रोजेक्ट करते हैं; निर्यातक कोई सामग्री नहीं गढ़ता।
|
|
169
169
|
|
|
170
170
|
## Known limitations
|
|
171
171
|
|
|
172
|
-
- **npm 0.1.
|
|
172
|
+
- **npm 0.1.5-alpha.1** — प्लगइन `@deepseek-ai/dsh@0.1.5-alpha.1` के विरुद्ध विकसित और परीक्षित है (devDeps और CI इसी पर पिन); peer रेंज `>=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0` प्रकाशित rc.1 लाइन को इंस्टॉल-योग्य रखती है, और मासिक compat वर्कफ़्लो नए बेसलाइन कवर करता है।
|
|
173
173
|
- **मेट्रिक्स पुनर्प्रयास/spool पथ से बचती हैं** — OTLP मेट्रिक्स संचयी रूप से एकत्र होती हैं, इसलिए खोया flush अगले में स्वयं-सुधर जाता है (डिज़ाइन से, बग नहीं)।
|
|
174
174
|
- **कोई सैंपलिंग नहीं** — हर सक्षम span परिवार निर्यात होता है; उच्च-मात्रा सत्रों के लिए `capture.*` स्विच और `batch.maxBufferRecords` समायोजित करें।
|
|
175
175
|
|
|
@@ -177,9 +177,9 @@ dsh --profile web --dump-config | grep -A2 'id: dsh-observe'
|
|
|
177
177
|
|
|
178
178
|
```sh
|
|
179
179
|
pnpm install # node ^22.19 || >=24
|
|
180
|
-
pnpm run typecheck # tsc: src + tests
|
|
181
|
-
pnpm run typecheck:ci # tsc प्रकाशित 0.1.
|
|
182
|
-
pnpm test # vitest:
|
|
180
|
+
pnpm run typecheck # tsc: src + tests पिन किए 0.1.5-alpha.1 devDeps के विरुद्ध (कोई tsconfig paths नहीं)
|
|
181
|
+
pnpm run typecheck:ci # tsc प्रकाशित 0.1.5-alpha.1 प्रकारों के विरुद्ध (बिना paths)
|
|
182
|
+
pnpm test # vitest: 124 टेस्ट, 18 सुइट (वास्तविक Context/Session/storage seam)
|
|
183
183
|
pnpm run test:coverage # कवरेज द्वार (90/80/90/90)
|
|
184
184
|
pnpm run build # tsdown बंडल + tsc घोषणाएँ (lib/)
|
|
185
185
|
pnpm run verify:self-contained # निर्भरता स्पेक registry से हल होती हैं
|
|
@@ -198,42 +198,46 @@ pnpm pack # प्रकाशित tarball
|
|
|
198
198
|
|
|
199
199
|
## PerryLink DSH Plugin Family
|
|
200
200
|
|
|
201
|
-
यह प्रोजेक्ट [PerryLink](https://github.com/PerryLink) द्वारा अनुरक्षित [
|
|
201
|
+
यह प्रोजेक्ट [PerryLink](https://github.com/PerryLink) द्वारा अनुरक्षित [37 DeepSeek Harness प्लगइनों](https://github.com/PerryLink) में से एक है। अगर यह आपकी मदद करता है, तो बाकी भी करेंगे:
|
|
202
202
|
|
|
203
203
|
| Plugin | One-liner |
|
|
204
204
|
|---|---|
|
|
205
|
-
| **[dsh-
|
|
206
|
-
| **[dsh-
|
|
207
|
-
| **[dsh-
|
|
208
|
-
| **[dsh-
|
|
209
|
-
| **[dsh-
|
|
210
|
-
| **[dsh-
|
|
211
|
-
| **[dsh-
|
|
212
|
-
| **[dsh-
|
|
213
|
-
| **[dsh-
|
|
214
|
-
| **[dsh-
|
|
215
|
-
| **[dsh-
|
|
216
|
-
| **[dsh-
|
|
217
|
-
| **[dsh-
|
|
218
|
-
| **[dsh-
|
|
219
|
-
| **[dsh-
|
|
220
|
-
| **[dsh-
|
|
221
|
-
| **[dsh-
|
|
222
|
-
| **[dsh-
|
|
223
|
-
| **[dsh-
|
|
224
|
-
| **[dsh-
|
|
225
|
-
| **[dsh-
|
|
226
|
-
| **[dsh-
|
|
227
|
-
| **[dsh-
|
|
228
|
-
| **[dsh-
|
|
229
|
-
| **[dsh-
|
|
230
|
-
| **[dsh-
|
|
231
|
-
| **[dsh-
|
|
232
|
-
| **[dsh-
|
|
233
|
-
| **[dsh-
|
|
234
|
-
| **[dsh-
|
|
235
|
-
| **[dsh-
|
|
236
|
-
| **[dsh-
|
|
205
|
+
| **[dsh-auto-review](https://github.com/PerryLink/dsh-auto-review)** | अनुमोदन श्रृंखला पर द्वितीय-मॉडल स्वतः-समीक्षा, डिफ़ॉल्ट रूप से विफल-बंद | |
|
|
206
|
+
| **[dsh-background-agents](https://github.com/PerryLink/dsh-background-agents)** | वेब UI साइडबार, संदेश और अवरोधन के साथ टिकाऊ पृष्ठभूमि चाइल्ड एजेंट | |
|
|
207
|
+
| **[dsh-budget](https://github.com/PerryLink/dsh-budget)** | DeepSeek Harness के लिए लागत प्रशासन: बजट, कार्बन और विलंबता एक पैनल में। | |
|
|
208
|
+
| **[dsh-checkpoint-rewind](https://github.com/PerryLink/dsh-checkpoint-rewind)** | Claude Code /rewind-समतुल्य: स्नैपशॉट, सत्र फ़ॉर्क, एक-बार पुनर्स्थापना | |
|
|
209
|
+
| **[dsh-claude-move](https://github.com/PerryLink/dsh-claude-move)** | Claude Code सत्र, मेमोरी, कौशल और CLAUDE.md को DSH में स्थानांतरित करें | |
|
|
210
|
+
| **[dsh-click](https://github.com/PerryLink/dsh-click)** | DeepSeek Harness के लिए क्रॉस-प्लेटफ़ॉर्म नेटिव डेस्कटॉप नियंत्रण — Windows पहले। | |
|
|
211
|
+
| **[dsh-composer-history](https://github.com/PerryLink/dsh-composer-history)** | वेब कंपोज़र के लिए टर्मिनल-शैली इनपुट इतिहास: तीर, Ctrl+R खोज | |
|
|
212
|
+
| **[dsh-data-quality](https://github.com/PerryLink/dsh-data-quality)** | डेटासेट गुणवत्ता जाँच व उद्धरण सत्यापन (यहाँ उपभोग किया गया वैकल्पिक संख्या-सेतु) | |
|
|
213
|
+
| **[dsh-defend](https://github.com/PerryLink/dsh-defend)** | DeepSeek Harness के लिए प्रॉम्प्ट-इंजेक्शन, जेलब्रेक और सीक्रेट-लीक रक्षा। | |
|
|
214
|
+
| **[dsh-doublecheck](https://github.com/PerryLink/dsh-doublecheck)** | इंजीनियरिंग-अनुशासन रक्षक: आवश्यकताओं की पूछताछ, परीक्षण द्वार, प्रतिद्वंद्वी समीक्षा | |
|
|
215
|
+
| **[dsh-draw](https://github.com/PerryLink/dsh-draw)** | DeepSeek Harness के लिए एकीकृत स्थैतिक-छवि निर्माण रूटिंग। | |
|
|
216
|
+
| **[dsh-fast](https://github.com/PerryLink/dsh-fast)** | DeepSeek Harness के लिए रीड-ओनली प्रदर्शन डायग्नोस्टिक्स। | |
|
|
217
|
+
| **[dsh-fund-research](https://github.com/PerryLink/dsh-fund-research)** | चीनी सार्वजनिक म्यूचुअल फंड के लिए नियतात्मक अनुसंधान रिपोर्ट | |
|
|
218
|
+
| **[dsh-github](https://github.com/PerryLink/dsh-github)** | DSH के लिए GitHub PR/issues एकीकरण, हर लेखन अनुमोदन-द्वारित | |
|
|
219
|
+
| **[dsh-industry-research](https://github.com/PerryLink/dsh-industry-research)** | उद्योग-अनुसंधान ऑर्केस्ट्रेशन जो इस प्लगिन के `ctx.researchReport.assemble` से डिलीवरेबल सील करता है | |
|
|
220
|
+
| **[dsh-library](https://github.com/PerryLink/dsh-library)** | DeepSeek Harness के लिए स्थानीय दस्तावेज़ ज्ञानकोश। | |
|
|
221
|
+
| **[dsh-local-ai](https://github.com/PerryLink/dsh-local-ai)** | DeepSeek Harness के लिए स्थानीय-मॉडल (Ollama) एकीकरण। | |
|
|
222
|
+
| **[dsh-lsp-actions](https://github.com/PerryLink/dsh-lsp-actions)** | भाषा सर्वरों पर LSP निदान, फ़ॉर्मेटिंग, पूर्णता, कोड क्रियाएँ और नाम बदलना | |
|
|
223
|
+
| **[dsh-mask](https://github.com/PerryLink/dsh-mask)** | PII मास्किंग मिडलवेयर: मॉडल सीमा पर अनाम करें, डिस्प्ले लेयर पर पुनर्स्थापित करें | |
|
|
224
|
+
| **[dsh-mcp-panel](https://github.com/PerryLink/dsh-mcp-panel)** | केवल-पढ़ने वाला MCP रनटाइम पैनल: /mcp कमांड + स्थिति, टूल और त्रुटियों वाला Settings टैब | |
|
|
225
|
+
| **[dsh-memento](https://github.com/PerryLink/dsh-memento)** | अनुमोदन-द्वारित क्रॉस-सत्र मेमोरी: ctx.memory सीम + SQLite + मेमोरी टूल | |
|
|
226
|
+
| **[dsh-output-styles](https://github.com/PerryLink/dsh-output-styles)** | Claude Code outputStyles-समतुल्य रनटाइम शैली बदलाव | |
|
|
227
|
+
| **[dsh-permission-rules](https://github.com/PerryLink/dsh-permission-rules)** | ऑडिट के साथ Claude Code-शैली घोषणात्मक allow/deny/ask अनुमति नियम | |
|
|
228
|
+
| **[dsh-personal-directive](https://github.com/PerryLink/dsh-personal-directive)** | शीर्ष-बार टॉगल के साथ व्यक्तिगत निर्देश इंजेक्टर (फ्रेमवर्क संस्करण) |
|
|
229
|
+
| **[dsh-plugin-guide](https://github.com/PerryLink/dsh-plugin-guide)** | माँग पर एजेंट कौशल के रूप में प्लगइन-विकास ज्ञान आधार | |
|
|
230
|
+
| **[dsh-reach](https://github.com/PerryLink/dsh-reach)** | मल्टी-चैनल अनुमोदन/प्रश्न ब्रिज: WeChat/Telegram/Feishu, सत्र कंसोल |
|
|
231
|
+
| **[dsh-research-report](https://github.com/PerryLink/dsh-research-report)** | सामग्री-पता साक्ष्य और सीलबंद संस्करणों वाला सत्यापन-योग्य अनुसंधान-रिपोर्ट इंजन | |
|
|
232
|
+
| **[dsh-score](https://github.com/PerryLink/dsh-score)** | DeepSeek Harness प्लगिनों की बहु-आयामी गुणवत्ता स्कोरिंग। | |
|
|
233
|
+
| **[dsh-session-pin](https://github.com/PerryLink/dsh-session-pin)** | टिकाऊ क्रम के साथ वेब साइडबार में सत्र पिन करें | |
|
|
234
|
+
| **[dsh-session-sync](https://github.com/PerryLink/dsh-session-sync)** | DeepSeek Harness के लिए क्रॉस-डिवाइस सत्र सिंक — आपके सत्र स्टोर का एक समर्पित git मिरर। | |
|
|
235
|
+
| **[dsh-skill-pack-security](https://github.com/PerryLink/dsh-skill-pack-security)** | सुरक्षा-ऑडिट कौशल पैक: गुप्त स्कैन, निर्भरता और आपूर्ति-श्रृंखला समीक्षा | |
|
|
236
|
+
| **[dsh-talk](https://github.com/PerryLink/dsh-talk)** | DeepSeek Harness के लिए आवाज़-प्रथम सत्र लूप: बोलें और उत्तर सुनें। | |
|
|
237
|
+
| **[dsh-test-drive](https://github.com/PerryLink/dsh-test-drive)** | DeepSeek Harness प्लगिनों के लिए पृथक इंस्टॉल-एंड-स्मोक टेस्ट ड्राइव। | |
|
|
238
|
+
| **[dsh-ticktick](https://github.com/PerryLink/dsh-ticktick)** | TickTick/Dida365 कार्य ब्रिज: सत्र-हेडर पैनल + 11 टूल |
|
|
239
|
+
| **[dsh-translate](https://github.com/PerryLink/dsh-translate)** | DeepSeek Harness के लिए वेंडर पैरामीटर अनुवाद और नियतात्मक JSON मरम्मत। | |
|
|
240
|
+
| **[dsh-wechat](https://github.com/PerryLink/dsh-wechat)** | WeChat ↔ DSH ब्रिज (Tencent iLink bot): टेक्स्ट/इमेज/फ़ाइल/आवाज़, चैट में अनुमोदन |
|
|
237
241
|
|
|
238
242
|
## License
|
|
239
243
|
|
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
*Turn session events into OTLP traces and Langfuse observations — sanitized, buffered, off by default.*
|
|
10
10
|
|
|
11
11
|
[](LICENSE)
|
|
12
|
-
[](https://github.com/topics/dsh-plugin)
|
|
13
13
|
[](#)
|
|
14
14
|
[](https://github.com/PerryLink/dsh-observe/actions)
|
|
15
15
|
[](https://github.com/PerryLink/dsh-observe/releases)
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
|
|
27
27
|
| Surface | Status |
|
|
28
28
|
|---|---|
|
|
29
|
-
| Harness | DeepSeek Harness `dsh-v0.1.
|
|
29
|
+
| Harness | DeepSeek Harness `dsh-v0.1.5-alpha.1` (adapted 2026-09-09): session format V3 embeds the assistant stream in `assistant/message` / `assistant/attempt` and represents the system prompt as surface node 0 (`system/message`); the plugin consumes only the live event stream and never reads session log files. Verified 2026-09-09 against the dsh-v0.1.5-alpha.1 tag (full local gate chain; the monthly compat workflow covers the profile install smoke). |
|
|
30
30
|
| Node | `^22.19.0 \|\| >=24.0.0` |
|
|
31
31
|
| Backends | OpenTelemetry OTLP/HTTP (traces + metrics, JSON encoding) and Langfuse (LLM observability) — either or both |
|
|
32
32
|
| Model | Model-agnostic: it exports the session/event stream; no model calls are made |
|
|
@@ -166,11 +166,11 @@ This plugin registers **no model tools** — it is a background exporter. Its su
|
|
|
166
166
|
- **Sanitize before send** — structural key redaction, built-in secret patterns (API keys, GitHub tokens, AWS keys, bearer credentials, private keys), your patterns, and character budgets all apply before any record leaves memory.
|
|
167
167
|
- **Durable boundary re-validation** — records read back from storage are checked again before a sink can see them.
|
|
168
168
|
- **Failure loud, failure contained** — export failures warn, count, retry, and finally spool; a failing session handler is caught and logged so observability can never break the harness hot path.
|
|
169
|
-
- **Model-visible ⟺ logged** — prompt/completion exports project only the
|
|
169
|
+
- **Model-visible ⟺ logged** — prompt/completion exports project only the session surface (whose node 0 is the system prompt) and the logged header (call config and tools); the exporter invents no content.
|
|
170
170
|
|
|
171
171
|
## Known limitations
|
|
172
172
|
|
|
173
|
-
- **npm 0.1.
|
|
173
|
+
- **npm 0.1.5-alpha.1** — the plugin is developed and tested against `@deepseek-ai/dsh@0.1.5-alpha.1` (devDeps and CI pinned); the peer range `>=0.1.2-rc.1 <0.2.0 || >=0.1.5-alpha.1 <0.2.0` keeps the published rc.1 line installable, and the monthly compat workflow covers newer baselines.
|
|
174
174
|
- **Metrics bypass the retry/spool path** — OTLP metrics are aggregated cumulatively, so a lost flush self-heals on the next one (by design, not a bug).
|
|
175
175
|
- **No sampling** — every enabled span family is exported; set `capture.*` switches and `batch.maxBufferRecords` for high-volume sessions.
|
|
176
176
|
|
|
@@ -178,9 +178,9 @@ This plugin registers **no model tools** — it is a background exporter. Its su
|
|
|
178
178
|
|
|
179
179
|
```sh
|
|
180
180
|
pnpm install # node ^22.19 || >=24
|
|
181
|
-
pnpm run typecheck # tsc: src + tests against the
|
|
182
|
-
pnpm run typecheck:ci # tsc against the published 0.1.
|
|
183
|
-
pnpm test # vitest:
|
|
181
|
+
pnpm run typecheck # tsc: src + tests against the pinned 0.1.5-alpha.1 devDeps (no tsconfig paths)
|
|
182
|
+
pnpm run typecheck:ci # tsc against the published 0.1.5-alpha.1 types (no paths)
|
|
183
|
+
pnpm test # vitest: 124 tests, 18 suites (real Context/Session/storage seam)
|
|
184
184
|
pnpm run test:coverage # coverage gate (90/80/90/90)
|
|
185
185
|
pnpm run build # tsdown bundle + tsc declarations (lib/)
|
|
186
186
|
pnpm run verify:self-contained # dependency specs resolve from the registry
|
|
@@ -199,42 +199,46 @@ pnpm pack # the published tarball
|
|
|
199
199
|
|
|
200
200
|
## PerryLink DSH Plugin Family
|
|
201
201
|
|
|
202
|
-
This project is one of the [
|
|
202
|
+
This project is one of the [37 DeepSeek Harness plugins](https://github.com/PerryLink) maintained by [PerryLink](https://github.com/PerryLink). If this one helps you, the others likely will too:
|
|
203
203
|
|
|
204
204
|
| Plugin | One-liner |
|
|
205
205
|
|---|---|
|
|
206
|
-
| **[dsh-
|
|
207
|
-
| **[dsh-
|
|
208
|
-
| **[dsh-
|
|
209
|
-
| **[dsh-
|
|
210
|
-
| **[dsh-
|
|
211
|
-
| **[dsh-
|
|
212
|
-
| **[dsh-
|
|
213
|
-
| **[dsh-
|
|
214
|
-
| **[dsh-
|
|
215
|
-
| **[dsh-
|
|
216
|
-
| **[dsh-
|
|
217
|
-
| **[dsh-
|
|
218
|
-
| **[dsh-
|
|
219
|
-
| **[dsh-
|
|
220
|
-
| **[dsh-
|
|
221
|
-
| **[dsh-
|
|
222
|
-
| **[dsh-
|
|
223
|
-
| **[dsh-
|
|
224
|
-
| **[dsh-
|
|
225
|
-
| **[dsh-
|
|
226
|
-
| **[dsh-
|
|
227
|
-
| **[dsh-
|
|
228
|
-
| **[dsh-
|
|
229
|
-
| **[dsh-
|
|
230
|
-
| **[dsh-
|
|
231
|
-
| **[dsh-
|
|
232
|
-
| **[dsh-
|
|
233
|
-
| **[dsh-
|
|
234
|
-
| **[dsh-
|
|
235
|
-
| **[dsh-
|
|
236
|
-
| **[dsh-
|
|
237
|
-
| **[dsh-
|
|
206
|
+
| **[dsh-auto-review](https://github.com/PerryLink/dsh-auto-review)** | Second-model auto-review on the approval chain, fail-closed by default | |
|
|
207
|
+
| **[dsh-background-agents](https://github.com/PerryLink/dsh-background-agents)** | Durable background child agents with a Web UI sidebar, messaging and interrupt | |
|
|
208
|
+
| **[dsh-budget](https://github.com/PerryLink/dsh-budget)** | Cost governance for DeepSeek Harness: budgets, carbon, and latency in one panel. | |
|
|
209
|
+
| **[dsh-checkpoint-rewind](https://github.com/PerryLink/dsh-checkpoint-rewind)** | Claude Code /rewind-equivalent: snapshots, session forks, one-shot restore | |
|
|
210
|
+
| **[dsh-claude-move](https://github.com/PerryLink/dsh-claude-move)** | Migrate Claude Code sessions, memory, skills and CLAUDE.md into DSH | |
|
|
211
|
+
| **[dsh-click](https://github.com/PerryLink/dsh-click)** | Cross-platform native desktop control for DeepSeek Harness — Windows first. | |
|
|
212
|
+
| **[dsh-composer-history](https://github.com/PerryLink/dsh-composer-history)** | Terminal-style input history for the web composer: arrows, Ctrl+R search | |
|
|
213
|
+
| **[dsh-data-quality](https://github.com/PerryLink/dsh-data-quality)** | Dataset quality checks and citation cross-checks (the optional numeric bridge consumed here) | |
|
|
214
|
+
| **[dsh-defend](https://github.com/PerryLink/dsh-defend)** | Prompt-injection, jailbreak, and secret-leak defense for DeepSeek Harness. | |
|
|
215
|
+
| **[dsh-doublecheck](https://github.com/PerryLink/dsh-doublecheck)** | Engineering-discipline guard: requirements grill, test gates, adversary review | |
|
|
216
|
+
| **[dsh-draw](https://github.com/PerryLink/dsh-draw)** | Unified static-image generation routing for DeepSeek Harness. | |
|
|
217
|
+
| **[dsh-fast](https://github.com/PerryLink/dsh-fast)** | Read-only performance diagnostics for DeepSeek Harness. | |
|
|
218
|
+
| **[dsh-fund-research](https://github.com/PerryLink/dsh-fund-research)** | Deterministic research reports for Chinese public mutual funds | |
|
|
219
|
+
| **[dsh-github](https://github.com/PerryLink/dsh-github)** | GitHub PR/issues integration for DSH, every write gated by approval | |
|
|
220
|
+
| **[dsh-industry-research](https://github.com/PerryLink/dsh-industry-research)** | Industry research orchestration that seals its deliverables through this plugin's `ctx.researchReport.assemble` | |
|
|
221
|
+
| **[dsh-library](https://github.com/PerryLink/dsh-library)** | Local document knowledge base for DeepSeek Harness. | |
|
|
222
|
+
| **[dsh-local-ai](https://github.com/PerryLink/dsh-local-ai)** | Local-model (Ollama) integration for DeepSeek Harness. | |
|
|
223
|
+
| **[dsh-lsp-actions](https://github.com/PerryLink/dsh-lsp-actions)** | LSP diagnostics, formatting, completion, code actions and rename over language servers | |
|
|
224
|
+
| **[dsh-mask](https://github.com/PerryLink/dsh-mask)** | PII masking middleware: anonymize at the model boundary, restore at the display layer | |
|
|
225
|
+
| **[dsh-mcp-panel](https://github.com/PerryLink/dsh-mcp-panel)** | Read-only MCP runtime panel: /mcp command + Settings tab with status, tools and errors | |
|
|
226
|
+
| **[dsh-memento](https://github.com/PerryLink/dsh-memento)** | Approval-gated cross-session memory: ctx.memory seam + SQLite + memory tool | |
|
|
227
|
+
| **[dsh-output-styles](https://github.com/PerryLink/dsh-output-styles)** | Claude Code outputStyles-equivalent runtime style switching | |
|
|
228
|
+
| **[dsh-permission-rules](https://github.com/PerryLink/dsh-permission-rules)** | Claude Code-style declarative allow/deny/ask permission rules with audit | |
|
|
229
|
+
| **[dsh-personal-directive](https://github.com/PerryLink/dsh-personal-directive)** | Personal directive injector with top-bar toggle (framework edition) |
|
|
230
|
+
| **[dsh-plugin-guide](https://github.com/PerryLink/dsh-plugin-guide)** | Plugin-development knowledge base as an on-demand agent skill | |
|
|
231
|
+
| **[dsh-reach](https://github.com/PerryLink/dsh-reach)** | Multi-channel approval/question bridge: WeChat/Telegram/Feishu, session console |
|
|
232
|
+
| **[dsh-research-report](https://github.com/PerryLink/dsh-research-report)** | Verifiable research-report engine: content-addressed evidence ledger and sealed versions | |
|
|
233
|
+
| **[dsh-score](https://github.com/PerryLink/dsh-score)** | Multi-dimensional quality scoring for DeepSeek Harness plugins. | |
|
|
234
|
+
| **[dsh-session-pin](https://github.com/PerryLink/dsh-session-pin)** | Pin sessions in the Web sidebar with durable ordering | |
|
|
235
|
+
| **[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. | |
|
|
236
|
+
| **[dsh-skill-pack-security](https://github.com/PerryLink/dsh-skill-pack-security)** | Security-audit skill pack: secret scan, dependency and supply-chain review | |
|
|
237
|
+
| **[dsh-talk](https://github.com/PerryLink/dsh-talk)** | Voice-first session loop for DeepSeek Harness: talk to it, hear it answer. | |
|
|
238
|
+
| **[dsh-test-drive](https://github.com/PerryLink/dsh-test-drive)** | Isolated install-and-smoke test drives for DeepSeek Harness plugins. | |
|
|
239
|
+
| **[dsh-ticktick](https://github.com/PerryLink/dsh-ticktick)** | TickTick/Dida365 task bridge: session-header panel + 11 tools |
|
|
240
|
+
| **[dsh-translate](https://github.com/PerryLink/dsh-translate)** | Vendor parameter translation and deterministic JSON repair for DeepSeek Harness. | |
|
|
241
|
+
| **[dsh-wechat](https://github.com/PerryLink/dsh-wechat)** | WeChat ↔ DSH bridge (Tencent iLink bot): text/image/file/voice, approvals in chat |
|
|
238
242
|
|
|
239
243
|
### Install from the DSH Desktop Market
|
|
240
244
|
|