dsh-observe 0.2.0 → 0.2.2
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 +17 -0
- package/README.es.md +35 -31
- package/README.hi.md +35 -31
- package/README.md +37 -33
- package/README.pt.md +35 -31
- package/README.zh.md +35 -31
- package/lib/index.js +21 -2
- package/lib/types/collector.d.ts.map +1 -1
- package/lib/types/collector.js +23 -1
- package/lib/types/collector.js.map +1 -1
- package/lib/types/version.d.ts +1 -1
- package/lib/types/version.js +1 -1
- package/package.json +18 -13
- package/src/collector.ts +25 -1
- package/src/version.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,23 @@ All notable changes to this project are documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [0.2.2] - 2026-09-01
|
|
9
|
+
|
|
10
|
+
### Changed
|
|
11
|
+
|
|
12
|
+
- Align the devDependency pins to the published dsh `0.1.2-alpha.3` line (7 `@deepseek-ai/dsh-*` packages) and align `cordis`/`schemastery` to `^4.0.2`/`^3.18.2`. No behavior change; the five-language READMEs record the alpha.3 fact.
|
|
13
|
+
|
|
14
|
+
## [0.2.1] - 2026-08-30
|
|
15
|
+
|
|
16
|
+
### Fixed
|
|
17
|
+
|
|
18
|
+
- First-token detection on `assistant/chunk` no longer imports the removed `isTokenDelta` from `@deepseek-ai/dsh-llm/message`: host 0.1.2-alpha.1 deleted that export, so the plugin now carries a local replication of the rc.2 semantics (non-empty text/reasoning/tool deltas count; empty deltas and non-delta chunks do not). The host chunk grammar is unchanged, so both rulers behave identically.
|
|
19
|
+
|
|
20
|
+
### Changed
|
|
21
|
+
|
|
22
|
+
- Test call-id fixtures derive the brand from the `dsh-session` `tool/call` event payload instead of importing the dsh-llm `CallId` brand (renamed `ToolCallId` on the host checkout).
|
|
23
|
+
- `AGENTS.md` records the measured tsconfig setup: no checkout `paths`; `typecheck` and `typecheck:ci` both resolve the published 0.1.1-rc.2 peers.
|
|
24
|
+
|
|
8
25
|
## [0.2.0] - 2026-08-26
|
|
9
26
|
|
|
10
27
|
### Changed
|
package/README.es.md
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<div align="center">
|
|
2
2
|
|
|
3
3
|
# 📊 dsh-observe
|
|
4
|
+
- **Canal 1024 store**: `npm i -g dsh1024` una vez, luego `dsh1024 plugin --profile web add dsh-observe` (cuenta para el ranking de instalaciones de [deepseek1024.com](https://deepseek1024.com)).
|
|
4
5
|
|
|
5
6
|
**Exportador de observabilidad OpenTelemetry y Langfuse para DeepSeek Harness.**
|
|
6
7
|
|
|
@@ -24,7 +25,7 @@
|
|
|
24
25
|
|
|
25
26
|
| Superficie | Estado |
|
|
26
27
|
|---|---|
|
|
27
|
-
| Harness | DeepSeek Harness `0.1.1-rc.2` |
|
|
28
|
+
| Harness | DeepSeek Harness `0.1.1-rc.2` 0.1.2-alpha.3 (adaptado el 2026-09-01): 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. |
|
|
28
29
|
| Node | `^22.19.0 \|\| >=24.0.0` |
|
|
29
30
|
| Backends | OpenTelemetry OTLP/HTTP (traces + metrics, codificación JSON) y Langfuse (observabilidad de LLM) — uno o ambos |
|
|
30
31
|
| Modelo | Independiente del modelo: exporta el flujo `session/event`; no realiza llamadas a modelos |
|
|
@@ -197,39 +198,42 @@ pnpm pack # el tarball publicado
|
|
|
197
198
|
|
|
198
199
|
## PerryLink DSH Plugin Family
|
|
199
200
|
|
|
200
|
-
Este proyecto es uno de los [
|
|
201
|
+
Este proyecto es uno de los [33 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:
|
|
201
202
|
|
|
202
203
|
| Plugin | One-liner |
|
|
203
204
|
|---|---|
|
|
204
|
-
| [dsh-auto-review](https://github.com/PerryLink/dsh-auto-review) | Auto-revisión
|
|
205
|
-
| [dsh-background-agents](https://github.com/PerryLink/dsh-background-agents) | Agentes
|
|
206
|
-
| [dsh-budget](https://github.com/PerryLink/dsh-budget) | Gobernanza de costes para DeepSeek Harness: presupuestos, carbono y latencia en un panel. |
|
|
207
|
-
| [dsh-checkpoint-rewind](https://github.com/PerryLink/dsh-checkpoint-rewind) | Equivalente a /rewind de Claude Code: instantáneas, bifurcaciones
|
|
208
|
-
| [dsh-claude-move](https://github.com/PerryLink/dsh-claude-move) | Migra sesiones, memoria,
|
|
209
|
-
| [dsh-click](https://github.com/PerryLink/dsh-click) | Control de escritorio nativo multiplataforma para DeepSeek Harness — Windows primero. |
|
|
210
|
-
| [dsh-composer-history](https://github.com/PerryLink/dsh-composer-history) | Historial de entrada estilo terminal para el compositor web: flechas, búsqueda Ctrl+R |
|
|
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-
|
|
205
|
+
| **[dsh-dsh-auto-review](https://github.com/PerryLink/dsh-dsh-auto-review)** | Auto-revisión de segundo modelo en la cadena de aprobación, con cierre en fallo por defecto | |
|
|
206
|
+
| **[dsh-dsh-background-agents](https://github.com/PerryLink/dsh-dsh-background-agents)** | Agentes hijos en segundo plano durables con barra lateral de UI web, mensajería e interrupción | |
|
|
207
|
+
| **[dsh-dsh-budget](https://github.com/PerryLink/dsh-dsh-budget)** | Gobernanza de costes para DeepSeek Harness: presupuestos, carbono y latencia en un panel. | |
|
|
208
|
+
| **[dsh-dsh-checkpoint-rewind](https://github.com/PerryLink/dsh-dsh-checkpoint-rewind)** | Equivalente a /rewind de Claude Code: instantáneas, bifurcaciones de sesión, restauración de un solo uso | |
|
|
209
|
+
| **[dsh-dsh-claude-move](https://github.com/PerryLink/dsh-dsh-claude-move)** | Migra sesiones, memoria, habilidades y CLAUDE.md de Claude Code a DSH | |
|
|
210
|
+
| **[dsh-dsh-click](https://github.com/PerryLink/dsh-dsh-click)** | Control de escritorio nativo multiplataforma para DeepSeek Harness — Windows primero. | |
|
|
211
|
+
| **[dsh-dsh-composer-history](https://github.com/PerryLink/dsh-dsh-composer-history)** | Historial de entrada estilo terminal para el compositor web: flechas, búsqueda Ctrl+R | |
|
|
212
|
+
| **[dsh-dsh-data-quality](https://github.com/PerryLink/dsh-dsh-data-quality)** | Comprobaciones de calidad de datasets y verificación de citas (el puente numérico opcional consumido aquí) | |
|
|
213
|
+
| **[dsh-dsh-defend](https://github.com/PerryLink/dsh-dsh-defend)** | Defensa contra inyección de prompts, jailbreak y fuga de secretos para DeepSeek Harness. | |
|
|
214
|
+
| **[dsh-dsh-doublecheck](https://github.com/PerryLink/dsh-dsh-doublecheck)** | Guardián de disciplina de ingeniería: interrogatorio de requisitos, puertas de pruebas, revisión adversaria | |
|
|
215
|
+
| **[dsh-dsh-draw](https://github.com/PerryLink/dsh-dsh-draw)** | Enrutamiento unificado de generación de imágenes estáticas para DeepSeek Harness. | |
|
|
216
|
+
| **[dsh-dsh-fast](https://github.com/PerryLink/dsh-dsh-fast)** | Diagnóstico de rendimiento de solo lectura para DeepSeek Harness. | |
|
|
217
|
+
| **[dsh-dsh-fund-research](https://github.com/PerryLink/dsh-dsh-fund-research)** | Informes de investigación deterministas para fondos mutuos públicos chinos | |
|
|
218
|
+
| **[dsh-dsh-github](https://github.com/PerryLink/dsh-dsh-github)** | Integración de PR/issues de GitHub para DSH, cada escritura controlada por aprobación | |
|
|
219
|
+
| **[dsh-dsh-industry-research](https://github.com/PerryLink/dsh-dsh-industry-research)** | Orquestación de investigación sectorial que sella sus entregables mediante el `ctx.researchReport.assemble` de este plugin | |
|
|
220
|
+
| **[dsh-dsh-library](https://github.com/PerryLink/dsh-dsh-library)** | Base de conocimiento documental local para DeepSeek Harness. | |
|
|
221
|
+
| **[dsh-dsh-local-ai](https://github.com/PerryLink/dsh-dsh-local-ai)** | Integración de modelos locales (Ollama) para DeepSeek Harness. | |
|
|
222
|
+
| **[dsh-dsh-lsp-actions](https://github.com/PerryLink/dsh-dsh-lsp-actions)** | Diagnósticos, formato, autocompletado, acciones de código y renombrado LSP sobre servidores de lenguaje | |
|
|
223
|
+
| **[dsh-dsh-mask](https://github.com/PerryLink/dsh-dsh-mask)** | Middleware de enmascaramiento de PII: anonimiza en el límite del modelo, restaura en la capa de visualización | |
|
|
224
|
+
| **[dsh-dsh-mcp-panel](https://github.com/PerryLink/dsh-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-dsh-memento](https://github.com/PerryLink/dsh-dsh-memento)** | Memoria entre sesiones controlada por aprobación: costura ctx.memory + SQLite + herramienta de memoria | |
|
|
226
|
+
| **[dsh-dsh-output-styles](https://github.com/PerryLink/dsh-dsh-output-styles)** | Cambio de estilo en tiempo de ejecución equivalente a outputStyles de Claude Code | |
|
|
227
|
+
| **[dsh-dsh-permission-rules](https://github.com/PerryLink/dsh-dsh-permission-rules)** | Reglas de permisos declarativas allow/deny/ask estilo Claude Code con auditoría | |
|
|
228
|
+
| **[dsh-dsh-plugin-guide](https://github.com/PerryLink/dsh-dsh-plugin-guide)** | Base de conocimiento de desarrollo de plugins como habilidad de agente bajo demanda | |
|
|
229
|
+
| **[dsh-dsh-research-report](https://github.com/PerryLink/dsh-dsh-research-report)** | Motor de informes de investigación verificables con evidencia direccionada por contenido | |
|
|
230
|
+
| **[dsh-dsh-score](https://github.com/PerryLink/dsh-dsh-score)** | Puntuación de calidad multidimensional para plugins de DeepSeek Harness. | |
|
|
231
|
+
| **[dsh-dsh-session-pin](https://github.com/PerryLink/dsh-dsh-session-pin)** | Fija sesiones en la barra lateral web con orden durable | |
|
|
232
|
+
| **[dsh-dsh-session-sync](https://github.com/PerryLink/dsh-dsh-session-sync)** | Sincronización de sesiones entre dispositivos para DeepSeek Harness — un espejo git dedicado de tu almacén de sesiones. | |
|
|
233
|
+
| **[dsh-dsh-skill-pack-security](https://github.com/PerryLink/dsh-dsh-skill-pack-security)** | Paquete de habilidades de auditoría de seguridad: escaneo de secretos, revisión de dependencias y cadena de suministro | |
|
|
234
|
+
| **[dsh-dsh-talk](https://github.com/PerryLink/dsh-dsh-talk)** | Bucle de sesión con voz para DeepSeek Harness: háblale y escucha su respuesta. | |
|
|
235
|
+
| **[dsh-dsh-test-drive](https://github.com/PerryLink/dsh-dsh-test-drive)** | Pruebas de instalación y humo aisladas para plugins de DeepSeek Harness. | |
|
|
236
|
+
| **[dsh-dsh-translate](https://github.com/PerryLink/dsh-dsh-translate)** | Traducción de parámetros entre proveedores y reparación determinista de JSON para DeepSeek Harness. | |
|
|
233
237
|
|
|
234
238
|
## License
|
|
235
239
|
|
package/README.hi.md
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<div align="center">
|
|
2
2
|
|
|
3
3
|
# 📊 dsh-observe
|
|
4
|
+
- **1024 स्टोर चैनल**: एक बार `npm i -g dsh1024`, फिर `dsh1024 plugin --profile web add dsh-observe` ([deepseek1024.com](https://deepseek1024.com) इंस्टॉल रैंकिंग में गिना जाता है)।
|
|
4
5
|
|
|
5
6
|
**DeepSeek Harness के लिए OpenTelemetry और Langfuse ऑब्ज़र्वेबिलिटी एक्सपोर्टर।**
|
|
6
7
|
|
|
@@ -24,7 +25,7 @@
|
|
|
24
25
|
|
|
25
26
|
| सतह | स्थिति |
|
|
26
27
|
|---|---|
|
|
27
|
-
| Harness | DeepSeek Harness `0.1.1-rc.2` |
|
|
28
|
+
| Harness | DeepSeek Harness `0.1.1-rc.2` 0.1.2-alpha.3 (2026-09-01 को अनुकूलित): सत्र लिफ़ाफ़ा अपना ignorable फ़ील्ड केवल संग्रहीत-लॉग पठन संगतता के लिए रखता है - Session.append अभी भी इसे स्टैम्प नहीं कर सकता, इसलिए गेट व्यवहार अपरिवर्तित है। |
|
|
28
29
|
| Node | `^22.19.0 \|\| >=24.0.0` |
|
|
29
30
|
| बैकएंड | OpenTelemetry OTLP/HTTP (traces + metrics, JSON एन्कोडिंग) और Langfuse (LLM ऑब्ज़र्वेबिलिटी) — एक या दोनों |
|
|
30
31
|
| मॉडल | मॉडल-स्वतंत्र: यह `session/event` स्ट्रीम निर्यात करता है; कोई मॉडल कॉल नहीं करता |
|
|
@@ -197,39 +198,42 @@ pnpm pack # प्रकाशित tarball
|
|
|
197
198
|
|
|
198
199
|
## PerryLink DSH Plugin Family
|
|
199
200
|
|
|
200
|
-
यह प्रोजेक्ट [PerryLink](https://github.com/PerryLink) द्वारा अनुरक्षित [
|
|
201
|
+
यह प्रोजेक्ट [PerryLink](https://github.com/PerryLink) द्वारा अनुरक्षित [33 DeepSeek Harness प्लगइनों](https://github.com/PerryLink) में से एक है। अगर यह आपकी मदद करता है, तो बाकी भी करेंगे:
|
|
201
202
|
|
|
202
203
|
| Plugin | One-liner |
|
|
203
204
|
|---|---|
|
|
204
|
-
| [dsh-auto-review](https://github.com/PerryLink/dsh-auto-review) | अनुमोदन श्रृंखला पर
|
|
205
|
-
| [dsh-background-agents](https://github.com/PerryLink/dsh-background-agents) |
|
|
206
|
-
| [dsh-budget](https://github.com/PerryLink/dsh-budget) | DeepSeek Harness के लिए लागत प्रशासन: बजट, कार्बन और विलंबता एक पैनल में। |
|
|
207
|
-
| [dsh-checkpoint-rewind](https://github.com/PerryLink/dsh-checkpoint-rewind) | Claude Code /rewind-समतुल्य: स्नैपशॉट, सत्र
|
|
208
|
-
| [dsh-claude-move](https://github.com/PerryLink/dsh-claude-move) | Claude Code सत्र,
|
|
209
|
-
| [dsh-click](https://github.com/PerryLink/dsh-click) | DeepSeek Harness के लिए क्रॉस-प्लेटफ़ॉर्म नेटिव डेस्कटॉप नियंत्रण — Windows पहले। |
|
|
210
|
-
| [dsh-composer-history](https://github.com/PerryLink/dsh-composer-history) |
|
|
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-
|
|
205
|
+
| **[dsh-dsh-auto-review](https://github.com/PerryLink/dsh-dsh-auto-review)** | अनुमोदन श्रृंखला पर द्वितीय-मॉडल स्वतः-समीक्षा, डिफ़ॉल्ट रूप से विफल-बंद | |
|
|
206
|
+
| **[dsh-dsh-background-agents](https://github.com/PerryLink/dsh-dsh-background-agents)** | वेब UI साइडबार, संदेश और अवरोधन के साथ टिकाऊ पृष्ठभूमि चाइल्ड एजेंट | |
|
|
207
|
+
| **[dsh-dsh-budget](https://github.com/PerryLink/dsh-dsh-budget)** | DeepSeek Harness के लिए लागत प्रशासन: बजट, कार्बन और विलंबता एक पैनल में। | |
|
|
208
|
+
| **[dsh-dsh-checkpoint-rewind](https://github.com/PerryLink/dsh-dsh-checkpoint-rewind)** | Claude Code /rewind-समतुल्य: स्नैपशॉट, सत्र फ़ॉर्क, एक-बार पुनर्स्थापना | |
|
|
209
|
+
| **[dsh-dsh-claude-move](https://github.com/PerryLink/dsh-dsh-claude-move)** | Claude Code सत्र, मेमोरी, कौशल और CLAUDE.md को DSH में स्थानांतरित करें | |
|
|
210
|
+
| **[dsh-dsh-click](https://github.com/PerryLink/dsh-dsh-click)** | DeepSeek Harness के लिए क्रॉस-प्लेटफ़ॉर्म नेटिव डेस्कटॉप नियंत्रण — Windows पहले। | |
|
|
211
|
+
| **[dsh-dsh-composer-history](https://github.com/PerryLink/dsh-dsh-composer-history)** | वेब कंपोज़र के लिए टर्मिनल-शैली इनपुट इतिहास: तीर, Ctrl+R खोज | |
|
|
212
|
+
| **[dsh-dsh-data-quality](https://github.com/PerryLink/dsh-dsh-data-quality)** | डेटासेट गुणवत्ता जाँच व उद्धरण सत्यापन (यहाँ उपभोग किया गया वैकल्पिक संख्या-सेतु) | |
|
|
213
|
+
| **[dsh-dsh-defend](https://github.com/PerryLink/dsh-dsh-defend)** | DeepSeek Harness के लिए प्रॉम्प्ट-इंजेक्शन, जेलब्रेक और सीक्रेट-लीक रक्षा। | |
|
|
214
|
+
| **[dsh-dsh-doublecheck](https://github.com/PerryLink/dsh-dsh-doublecheck)** | इंजीनियरिंग-अनुशासन रक्षक: आवश्यकताओं की पूछताछ, परीक्षण द्वार, प्रतिद्वंद्वी समीक्षा | |
|
|
215
|
+
| **[dsh-dsh-draw](https://github.com/PerryLink/dsh-dsh-draw)** | DeepSeek Harness के लिए एकीकृत स्थैतिक-छवि निर्माण रूटिंग। | |
|
|
216
|
+
| **[dsh-dsh-fast](https://github.com/PerryLink/dsh-dsh-fast)** | DeepSeek Harness के लिए रीड-ओनली प्रदर्शन डायग्नोस्टिक्स। | |
|
|
217
|
+
| **[dsh-dsh-fund-research](https://github.com/PerryLink/dsh-dsh-fund-research)** | चीनी सार्वजनिक म्यूचुअल फंड के लिए नियतात्मक अनुसंधान रिपोर्ट | |
|
|
218
|
+
| **[dsh-dsh-github](https://github.com/PerryLink/dsh-dsh-github)** | DSH के लिए GitHub PR/issues एकीकरण, हर लेखन अनुमोदन-द्वारित | |
|
|
219
|
+
| **[dsh-dsh-industry-research](https://github.com/PerryLink/dsh-dsh-industry-research)** | उद्योग-अनुसंधान ऑर्केस्ट्रेशन जो इस प्लगिन के `ctx.researchReport.assemble` से डिलीवरेबल सील करता है | |
|
|
220
|
+
| **[dsh-dsh-library](https://github.com/PerryLink/dsh-dsh-library)** | DeepSeek Harness के लिए स्थानीय दस्तावेज़ ज्ञानकोश। | |
|
|
221
|
+
| **[dsh-dsh-local-ai](https://github.com/PerryLink/dsh-dsh-local-ai)** | DeepSeek Harness के लिए स्थानीय-मॉडल (Ollama) एकीकरण। | |
|
|
222
|
+
| **[dsh-dsh-lsp-actions](https://github.com/PerryLink/dsh-dsh-lsp-actions)** | भाषा सर्वरों पर LSP निदान, फ़ॉर्मेटिंग, पूर्णता, कोड क्रियाएँ और नाम बदलना | |
|
|
223
|
+
| **[dsh-dsh-mask](https://github.com/PerryLink/dsh-dsh-mask)** | PII मास्किंग मिडलवेयर: मॉडल सीमा पर अनाम करें, डिस्प्ले लेयर पर पुनर्स्थापित करें | |
|
|
224
|
+
| **[dsh-dsh-mcp-panel](https://github.com/PerryLink/dsh-dsh-mcp-panel)** | केवल-पढ़ने वाला MCP रनटाइम पैनल: /mcp कमांड + स्थिति, टूल और त्रुटियों वाला Settings टैब | |
|
|
225
|
+
| **[dsh-dsh-memento](https://github.com/PerryLink/dsh-dsh-memento)** | अनुमोदन-द्वारित क्रॉस-सत्र मेमोरी: ctx.memory सीम + SQLite + मेमोरी टूल | |
|
|
226
|
+
| **[dsh-dsh-output-styles](https://github.com/PerryLink/dsh-dsh-output-styles)** | Claude Code outputStyles-समतुल्य रनटाइम शैली बदलाव | |
|
|
227
|
+
| **[dsh-dsh-permission-rules](https://github.com/PerryLink/dsh-dsh-permission-rules)** | ऑडिट के साथ Claude Code-शैली घोषणात्मक allow/deny/ask अनुमति नियम | |
|
|
228
|
+
| **[dsh-dsh-plugin-guide](https://github.com/PerryLink/dsh-dsh-plugin-guide)** | माँग पर एजेंट कौशल के रूप में प्लगइन-विकास ज्ञान आधार | |
|
|
229
|
+
| **[dsh-dsh-research-report](https://github.com/PerryLink/dsh-dsh-research-report)** | सामग्री-पता साक्ष्य और सीलबंद संस्करणों वाला सत्यापन-योग्य अनुसंधान-रिपोर्ट इंजन | |
|
|
230
|
+
| **[dsh-dsh-score](https://github.com/PerryLink/dsh-dsh-score)** | DeepSeek Harness प्लगिनों की बहु-आयामी गुणवत्ता स्कोरिंग। | |
|
|
231
|
+
| **[dsh-dsh-session-pin](https://github.com/PerryLink/dsh-dsh-session-pin)** | टिकाऊ क्रम के साथ वेब साइडबार में सत्र पिन करें | |
|
|
232
|
+
| **[dsh-dsh-session-sync](https://github.com/PerryLink/dsh-dsh-session-sync)** | DeepSeek Harness के लिए क्रॉस-डिवाइस सत्र सिंक — आपके सत्र स्टोर का एक समर्पित git मिरर। | |
|
|
233
|
+
| **[dsh-dsh-skill-pack-security](https://github.com/PerryLink/dsh-dsh-skill-pack-security)** | सुरक्षा-ऑडिट कौशल पैक: गुप्त स्कैन, निर्भरता और आपूर्ति-श्रृंखला समीक्षा | |
|
|
234
|
+
| **[dsh-dsh-talk](https://github.com/PerryLink/dsh-dsh-talk)** | DeepSeek Harness के लिए आवाज़-प्रथम सत्र लूप: बोलें और उत्तर सुनें। | |
|
|
235
|
+
| **[dsh-dsh-test-drive](https://github.com/PerryLink/dsh-dsh-test-drive)** | DeepSeek Harness प्लगिनों के लिए पृथक इंस्टॉल-एंड-स्मोक टेस्ट ड्राइव। | |
|
|
236
|
+
| **[dsh-dsh-translate](https://github.com/PerryLink/dsh-dsh-translate)** | DeepSeek Harness के लिए वेंडर पैरामीटर अनुवाद और नियतात्मक JSON मरम्मत। | |
|
|
233
237
|
|
|
234
238
|
## License
|
|
235
239
|
|
package/README.md
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<div align="center">
|
|
2
2
|
|
|
3
3
|
# 📊 dsh-observe
|
|
4
|
+
- **1024 store channel**: `npm i -g dsh1024` once, then `dsh1024 plugin --profile web add dsh-observe` (counts toward the [deepseek1024.com](https://deepseek1024.com) install ranking).
|
|
4
5
|
[](https://gitee.com/perrylink/dsh-observe)
|
|
5
6
|
|
|
6
7
|
**OpenTelemetry and Langfuse observability exporter for DeepSeek Harness.**
|
|
@@ -25,7 +26,7 @@
|
|
|
25
26
|
|
|
26
27
|
| Surface | Status |
|
|
27
28
|
|---|---|
|
|
28
|
-
| Harness | DeepSeek Harness `0.1.1-rc.2` |
|
|
29
|
+
| Harness | DeepSeek Harness `0.1.1-rc.2` 0.1.2-alpha.3 (adapted 2026-09-01): the session envelope keeps its ignorable field for stored-log read compatibility only - Session.append still cannot stamp it, so audit-gate behavior is unchanged. |
|
|
29
30
|
| Node | `^22.19.0 \|\| >=24.0.0` |
|
|
30
31
|
| Backends | OpenTelemetry OTLP/HTTP (traces + metrics, JSON encoding) and Langfuse (LLM observability) — either or both |
|
|
31
32
|
| Model | Model-agnostic: it exports the session/event stream; no model calls are made |
|
|
@@ -169,7 +170,7 @@ This plugin registers **no model tools** — it is a background exporter. Its su
|
|
|
169
170
|
|
|
170
171
|
## Known limitations
|
|
171
172
|
|
|
172
|
-
- **
|
|
173
|
+
- **alpha.3 line** — the plugin is developed and tested against `@deepseek-ai/dsh@0.1.2-alpha.3`; the rc.2 line stays covered by the monthly compat workflow.
|
|
173
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).
|
|
174
175
|
- **No sampling** — every enabled span family is exported; set `capture.*` switches and `batch.maxBufferRecords` for high-volume sessions.
|
|
175
176
|
|
|
@@ -178,7 +179,7 @@ This plugin registers **no model tools** — it is a background exporter. Its su
|
|
|
178
179
|
```sh
|
|
179
180
|
pnpm install # node ^22.19 || >=24
|
|
180
181
|
pnpm run typecheck # tsc: src + tests against the local harness checkout
|
|
181
|
-
pnpm run typecheck:ci # tsc against the published 0.1.
|
|
182
|
+
pnpm run typecheck:ci # tsc against the published 0.1.2-alpha.3 types (no paths)
|
|
182
183
|
pnpm test # vitest: 114 tests, 18 suites (real Context/Session/storage seam)
|
|
183
184
|
pnpm run test:coverage # coverage gate (90/80/90/90)
|
|
184
185
|
pnpm run build # tsdown bundle + tsc declarations (lib/)
|
|
@@ -198,39 +199,42 @@ pnpm pack # the published tarball
|
|
|
198
199
|
|
|
199
200
|
## PerryLink DSH Plugin Family
|
|
200
201
|
|
|
201
|
-
This project is one of the [
|
|
202
|
+
This project is one of the [33 DeepSeek Harness plugins](https://github.com/PerryLink) maintained by [PerryLink](https://github.com/PerryLink). If this one helps you, the others likely will too:
|
|
202
203
|
|
|
203
204
|
| Plugin | One-liner |
|
|
204
205
|
|---|---|
|
|
205
|
-
| [dsh-auto-review](https://github.com/PerryLink/dsh-auto-review) | Second-model auto-review on the approval chain, fail-closed by default |
|
|
206
|
-
| [dsh-background-agents](https://github.com/PerryLink/dsh-background-agents) | Durable background child agents with a Web UI sidebar, messaging and interrupt |
|
|
207
|
-
| [dsh-budget](https://github.com/PerryLink/dsh-budget) | Cost governance for DeepSeek Harness: budgets, carbon, and latency in one panel. |
|
|
208
|
-
| [dsh-checkpoint-rewind](https://github.com/PerryLink/dsh-checkpoint-rewind) | Claude Code /rewind-equivalent: snapshots, session forks, one-shot restore |
|
|
209
|
-
| [dsh-claude-move](https://github.com/PerryLink/dsh-claude-move) | Migrate Claude Code sessions, memory, skills and CLAUDE.md into DSH |
|
|
210
|
-
| [dsh-click](https://github.com/PerryLink/dsh-click) | Cross-platform native desktop control for DeepSeek Harness — Windows first. |
|
|
211
|
-
| [dsh-composer-history](https://github.com/PerryLink/dsh-composer-history) | Terminal-style input history for the web composer: arrows, Ctrl+R search |
|
|
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-
|
|
206
|
+
| **[dsh-dsh-auto-review](https://github.com/PerryLink/dsh-dsh-auto-review)** | Second-model auto-review on the approval chain, fail-closed by default | |
|
|
207
|
+
| **[dsh-dsh-background-agents](https://github.com/PerryLink/dsh-dsh-background-agents)** | Durable background child agents with a Web UI sidebar, messaging and interrupt | |
|
|
208
|
+
| **[dsh-dsh-budget](https://github.com/PerryLink/dsh-dsh-budget)** | Cost governance for DeepSeek Harness: budgets, carbon, and latency in one panel. | |
|
|
209
|
+
| **[dsh-dsh-checkpoint-rewind](https://github.com/PerryLink/dsh-dsh-checkpoint-rewind)** | Claude Code /rewind-equivalent: snapshots, session forks, one-shot restore | |
|
|
210
|
+
| **[dsh-dsh-claude-move](https://github.com/PerryLink/dsh-dsh-claude-move)** | Migrate Claude Code sessions, memory, skills and CLAUDE.md into DSH | |
|
|
211
|
+
| **[dsh-dsh-click](https://github.com/PerryLink/dsh-dsh-click)** | Cross-platform native desktop control for DeepSeek Harness — Windows first. | |
|
|
212
|
+
| **[dsh-dsh-composer-history](https://github.com/PerryLink/dsh-dsh-composer-history)** | Terminal-style input history for the web composer: arrows, Ctrl+R search | |
|
|
213
|
+
| **[dsh-dsh-data-quality](https://github.com/PerryLink/dsh-dsh-data-quality)** | Dataset quality checks and citation cross-checks (the optional numeric bridge consumed here) | |
|
|
214
|
+
| **[dsh-dsh-defend](https://github.com/PerryLink/dsh-dsh-defend)** | Prompt-injection, jailbreak, and secret-leak defense for DeepSeek Harness. | |
|
|
215
|
+
| **[dsh-dsh-doublecheck](https://github.com/PerryLink/dsh-dsh-doublecheck)** | Engineering-discipline guard: requirements grill, test gates, adversary review | |
|
|
216
|
+
| **[dsh-dsh-draw](https://github.com/PerryLink/dsh-dsh-draw)** | Unified static-image generation routing for DeepSeek Harness. | |
|
|
217
|
+
| **[dsh-dsh-fast](https://github.com/PerryLink/dsh-dsh-fast)** | Read-only performance diagnostics for DeepSeek Harness. | |
|
|
218
|
+
| **[dsh-dsh-fund-research](https://github.com/PerryLink/dsh-dsh-fund-research)** | Deterministic research reports for Chinese public mutual funds | |
|
|
219
|
+
| **[dsh-dsh-github](https://github.com/PerryLink/dsh-dsh-github)** | GitHub PR/issues integration for DSH, every write gated by approval | |
|
|
220
|
+
| **[dsh-dsh-industry-research](https://github.com/PerryLink/dsh-dsh-industry-research)** | Industry research orchestration that seals its deliverables through this plugin's `ctx.researchReport.assemble` | |
|
|
221
|
+
| **[dsh-dsh-library](https://github.com/PerryLink/dsh-dsh-library)** | Local document knowledge base for DeepSeek Harness. | |
|
|
222
|
+
| **[dsh-dsh-local-ai](https://github.com/PerryLink/dsh-dsh-local-ai)** | Local-model (Ollama) integration for DeepSeek Harness. | |
|
|
223
|
+
| **[dsh-dsh-lsp-actions](https://github.com/PerryLink/dsh-dsh-lsp-actions)** | LSP diagnostics, formatting, completion, code actions and rename over language servers | |
|
|
224
|
+
| **[dsh-dsh-mask](https://github.com/PerryLink/dsh-dsh-mask)** | PII masking middleware: anonymize at the model boundary, restore at the display layer | |
|
|
225
|
+
| **[dsh-dsh-mcp-panel](https://github.com/PerryLink/dsh-dsh-mcp-panel)** | Read-only MCP runtime panel: /mcp command + Settings tab with status, tools and errors | |
|
|
226
|
+
| **[dsh-dsh-memento](https://github.com/PerryLink/dsh-dsh-memento)** | Approval-gated cross-session memory: ctx.memory seam + SQLite + memory tool | |
|
|
227
|
+
| **[dsh-dsh-output-styles](https://github.com/PerryLink/dsh-dsh-output-styles)** | Claude Code outputStyles-equivalent runtime style switching | |
|
|
228
|
+
| **[dsh-dsh-permission-rules](https://github.com/PerryLink/dsh-dsh-permission-rules)** | Claude Code-style declarative allow/deny/ask permission rules with audit | |
|
|
229
|
+
| **[dsh-dsh-plugin-guide](https://github.com/PerryLink/dsh-dsh-plugin-guide)** | Plugin-development knowledge base as an on-demand agent skill | |
|
|
230
|
+
| **[dsh-dsh-research-report](https://github.com/PerryLink/dsh-dsh-research-report)** | Verifiable research-report engine: content-addressed evidence ledger and sealed versions | |
|
|
231
|
+
| **[dsh-dsh-score](https://github.com/PerryLink/dsh-dsh-score)** | Multi-dimensional quality scoring for DeepSeek Harness plugins. | |
|
|
232
|
+
| **[dsh-dsh-session-pin](https://github.com/PerryLink/dsh-dsh-session-pin)** | Pin sessions in the Web sidebar with durable ordering | |
|
|
233
|
+
| **[dsh-dsh-session-sync](https://github.com/PerryLink/dsh-dsh-session-sync)** | Cross-device session sync for DeepSeek Harness — a dedicated git mirror of your session store. | |
|
|
234
|
+
| **[dsh-dsh-skill-pack-security](https://github.com/PerryLink/dsh-dsh-skill-pack-security)** | Security-audit skill pack: secret scan, dependency and supply-chain review | |
|
|
235
|
+
| **[dsh-dsh-talk](https://github.com/PerryLink/dsh-dsh-talk)** | Voice-first session loop for DeepSeek Harness: talk to it, hear it answer. | |
|
|
236
|
+
| **[dsh-dsh-test-drive](https://github.com/PerryLink/dsh-dsh-test-drive)** | Isolated install-and-smoke test drives for DeepSeek Harness plugins. | |
|
|
237
|
+
| **[dsh-dsh-translate](https://github.com/PerryLink/dsh-dsh-translate)** | Vendor parameter translation and deterministic JSON repair for DeepSeek Harness. | |
|
|
234
238
|
|
|
235
239
|
## License
|
|
236
240
|
|
package/README.pt.md
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<div align="center">
|
|
2
2
|
|
|
3
3
|
# 📊 dsh-observe
|
|
4
|
+
- **Canal 1024 store**: `npm i -g dsh1024` uma vez, depois `dsh1024 plugin --profile web add dsh-observe` (conta para o ranking de instalações do [deepseek1024.com](https://deepseek1024.com)).
|
|
4
5
|
|
|
5
6
|
**Exportador de observabilidade OpenTelemetry e Langfuse para o DeepSeek Harness.**
|
|
6
7
|
|
|
@@ -24,7 +25,7 @@
|
|
|
24
25
|
|
|
25
26
|
| Superfície | Status |
|
|
26
27
|
|---|---|
|
|
27
|
-
| Harness | DeepSeek Harness `0.1.1-rc.2` |
|
|
28
|
+
| Harness | DeepSeek Harness `0.1.1-rc.2` 0.1.2-alpha.3 (adaptado em 2026-09-01): 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. |
|
|
28
29
|
| Node | `^22.19.0 \|\| >=24.0.0` |
|
|
29
30
|
| Backends | OpenTelemetry OTLP/HTTP (traces + metrics, codificação JSON) e Langfuse (observabilidade de LLM) — um ou ambos |
|
|
30
31
|
| Modelo | Independente de modelo: exporta o fluxo `session/event`; não faz chamadas a modelos |
|
|
@@ -197,39 +198,42 @@ pnpm pack # o tarball publicado
|
|
|
197
198
|
|
|
198
199
|
## PerryLink DSH Plugin Family
|
|
199
200
|
|
|
200
|
-
Este projeto é um dos [
|
|
201
|
+
Este projeto é um dos [33 plugins de DeepSeek Harness](https://github.com/PerryLink) mantidos por [PerryLink](https://github.com/PerryLink). Se este ajuda você, os outros provavelmente também:
|
|
201
202
|
|
|
202
203
|
| Plugin | One-liner |
|
|
203
204
|
|---|---|
|
|
204
|
-
| [dsh-auto-review](https://github.com/PerryLink/dsh-auto-review) | Auto-revisão
|
|
205
|
-
| [dsh-background-agents](https://github.com/PerryLink/dsh-background-agents) | Agentes filhos em segundo plano
|
|
206
|
-
| [dsh-budget](https://github.com/PerryLink/dsh-budget) | Governança de custos para DeepSeek Harness: orçamentos, carbono e latência em um painel. |
|
|
207
|
-
| [dsh-checkpoint-rewind](https://github.com/PerryLink/dsh-checkpoint-rewind) | Equivalente ao /rewind do Claude Code: instantâneos, bifurcações
|
|
208
|
-
| [dsh-claude-move](https://github.com/PerryLink/dsh-claude-move) |
|
|
209
|
-
| [dsh-click](https://github.com/PerryLink/dsh-click) | Controle de desktop nativo multiplataforma para DeepSeek Harness — Windows primeiro. |
|
|
210
|
-
| [dsh-composer-history](https://github.com/PerryLink/dsh-composer-history) | Histórico de entrada estilo terminal para o compositor web: setas, busca Ctrl+R |
|
|
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-
|
|
205
|
+
| **[dsh-dsh-auto-review](https://github.com/PerryLink/dsh-dsh-auto-review)** | Auto-revisão de segundo modelo na cadeia de aprovação, com falha fechada por padrão | |
|
|
206
|
+
| **[dsh-dsh-background-agents](https://github.com/PerryLink/dsh-dsh-background-agents)** | Agentes filhos em segundo plano duráveis com barra lateral de UI web, mensagens e interrupção | |
|
|
207
|
+
| **[dsh-dsh-budget](https://github.com/PerryLink/dsh-dsh-budget)** | Governança de custos para DeepSeek Harness: orçamentos, carbono e latência em um painel. | |
|
|
208
|
+
| **[dsh-dsh-checkpoint-rewind](https://github.com/PerryLink/dsh-dsh-checkpoint-rewind)** | Equivalente ao /rewind do Claude Code: instantâneos, bifurcações de sessão, restauração de uso único | |
|
|
209
|
+
| **[dsh-dsh-claude-move](https://github.com/PerryLink/dsh-dsh-claude-move)** | Migre sessões, memória, habilidades e CLAUDE.md do Claude Code para o DSH | |
|
|
210
|
+
| **[dsh-dsh-click](https://github.com/PerryLink/dsh-dsh-click)** | Controle de desktop nativo multiplataforma para DeepSeek Harness — Windows primeiro. | |
|
|
211
|
+
| **[dsh-dsh-composer-history](https://github.com/PerryLink/dsh-dsh-composer-history)** | Histórico de entrada estilo terminal para o compositor web: setas, busca Ctrl+R | |
|
|
212
|
+
| **[dsh-dsh-data-quality](https://github.com/PerryLink/dsh-dsh-data-quality)** | Verificações de qualidade de datasets e verificação de citações (a ponte numérica opcional consumida aqui) | |
|
|
213
|
+
| **[dsh-dsh-defend](https://github.com/PerryLink/dsh-dsh-defend)** | Defesa contra injeção de prompt, jailbreak e vazamento de segredos para DeepSeek Harness. | |
|
|
214
|
+
| **[dsh-dsh-doublecheck](https://github.com/PerryLink/dsh-dsh-doublecheck)** | Guardião de disciplina de engenharia: sabatina de requisitos, portões de teste, revisão adversária | |
|
|
215
|
+
| **[dsh-dsh-draw](https://github.com/PerryLink/dsh-dsh-draw)** | Roteamento unificado de geração de imagens estáticas para DeepSeek Harness. | |
|
|
216
|
+
| **[dsh-dsh-fast](https://github.com/PerryLink/dsh-dsh-fast)** | Diagnóstico de desempenho só de leitura para DeepSeek Harness. | |
|
|
217
|
+
| **[dsh-dsh-fund-research](https://github.com/PerryLink/dsh-dsh-fund-research)** | Relatórios de pesquisa deterministas para fundos mútuos públicos chineses | |
|
|
218
|
+
| **[dsh-dsh-github](https://github.com/PerryLink/dsh-dsh-github)** | Integração de PR/issues do GitHub para o DSH, cada escrita controlada por aprovação | |
|
|
219
|
+
| **[dsh-dsh-industry-research](https://github.com/PerryLink/dsh-dsh-industry-research)** | Orquestração de pesquisa setorial que sela as suas entregas através do `ctx.researchReport.assemble` deste plugin | |
|
|
220
|
+
| **[dsh-dsh-library](https://github.com/PerryLink/dsh-dsh-library)** | Base de conhecimento documental local para DeepSeek Harness. | |
|
|
221
|
+
| **[dsh-dsh-local-ai](https://github.com/PerryLink/dsh-dsh-local-ai)** | Integração de modelos locais (Ollama) para DeepSeek Harness. | |
|
|
222
|
+
| **[dsh-dsh-lsp-actions](https://github.com/PerryLink/dsh-dsh-lsp-actions)** | Diagnósticos, formatação, autocompletar, ações de código e renomeação LSP sobre servidores de linguagem | |
|
|
223
|
+
| **[dsh-dsh-mask](https://github.com/PerryLink/dsh-dsh-mask)** | Middleware de mascaramento de PII: anonimiza no limite do modelo, restaura na camada de exibição | |
|
|
224
|
+
| **[dsh-dsh-mcp-panel](https://github.com/PerryLink/dsh-dsh-mcp-panel)** | Painel de tempo de execução MCP somente leitura: comando /mcp + aba Settings com status, ferramentas e erros | |
|
|
225
|
+
| **[dsh-dsh-memento](https://github.com/PerryLink/dsh-dsh-memento)** | Memória entre sessões controlada por aprovação: costura ctx.memory + SQLite + ferramenta de memória | |
|
|
226
|
+
| **[dsh-dsh-output-styles](https://github.com/PerryLink/dsh-dsh-output-styles)** | Troca de estilo em tempo de execução equivalente ao outputStyles do Claude Code | |
|
|
227
|
+
| **[dsh-dsh-permission-rules](https://github.com/PerryLink/dsh-dsh-permission-rules)** | Regras de permissão declarativas allow/deny/ask estilo Claude Code com auditoria | |
|
|
228
|
+
| **[dsh-dsh-plugin-guide](https://github.com/PerryLink/dsh-dsh-plugin-guide)** | Base de conhecimento de desenvolvimento de plugins como habilidade de agente sob demanda | |
|
|
229
|
+
| **[dsh-dsh-research-report](https://github.com/PerryLink/dsh-dsh-research-report)** | Motor de relatórios de pesquisa verificáveis com evidência endereçada por conteúdo | |
|
|
230
|
+
| **[dsh-dsh-score](https://github.com/PerryLink/dsh-dsh-score)** | Pontuação de qualidade multidimensional para plugins de DeepSeek Harness. | |
|
|
231
|
+
| **[dsh-dsh-session-pin](https://github.com/PerryLink/dsh-dsh-session-pin)** | Fixe sessões na barra lateral web com ordenação durável | |
|
|
232
|
+
| **[dsh-dsh-session-sync](https://github.com/PerryLink/dsh-dsh-session-sync)** | Sincronização de sessões entre dispositivos para DeepSeek Harness — um espelho git dedicado do seu armazenamento de sessões. | |
|
|
233
|
+
| **[dsh-dsh-skill-pack-security](https://github.com/PerryLink/dsh-dsh-skill-pack-security)** | Pacote de habilidades de auditoria de segurança: varredura de segredos, revisão de dependências e cadeia de suprimentos | |
|
|
234
|
+
| **[dsh-dsh-talk](https://github.com/PerryLink/dsh-dsh-talk)** | Loop de sessão com voz para DeepSeek Harness: fale e ouça a resposta. | |
|
|
235
|
+
| **[dsh-dsh-test-drive](https://github.com/PerryLink/dsh-dsh-test-drive)** | Test drives isolados de instalação e smoke para plugins de DeepSeek Harness. | |
|
|
236
|
+
| **[dsh-dsh-translate](https://github.com/PerryLink/dsh-dsh-translate)** | Tradução de parâmetros entre fornecedores e reparo determinístico de JSON para DeepSeek Harness. | |
|
|
233
237
|
|
|
234
238
|
## License
|
|
235
239
|
|
package/README.zh.md
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
<div align="center">
|
|
2
2
|
|
|
3
3
|
# 📊 dsh-observe
|
|
4
|
+
- **1024 商店渠道**:先 `npm i -g dsh1024`,再 `dsh1024 plugin --profile web add dsh-observe`(计入 [deepseek1024.com](https://deepseek1024.com) 安装排行)。
|
|
4
5
|
|
|
5
6
|
**DeepSeek Harness 的 OpenTelemetry 与 Langfuse 可观测性导出器。**
|
|
6
7
|
|
|
@@ -24,7 +25,7 @@
|
|
|
24
25
|
|
|
25
26
|
| 方面 | 状态 |
|
|
26
27
|
|---|---|
|
|
27
|
-
| Harness | DeepSeek Harness `0.1.1-rc.2` |
|
|
28
|
+
| Harness | DeepSeek Harness `0.1.1-rc.2` 0.1.2-alpha.3(2026-09-01 已适配):会话信封保留 ignorable 字段但仅用于存量日志读取兼容——Session.append 仍无法盖章,门控行为不变。 |
|
|
28
29
|
| Node | `^22.19.0 \|\| >=24.0.0` |
|
|
29
30
|
| 后端 | OpenTelemetry OTLP/HTTP(traces + metrics,JSON 编码)与 Langfuse(LLM 可观测)——二选一或同时 |
|
|
30
31
|
| 模型 | 与模型无关:它导出 session/event 流,自身不调用任何模型 |
|
|
@@ -197,39 +198,42 @@ pnpm pack # 发布用 tarball
|
|
|
197
198
|
|
|
198
199
|
## PerryLink DSH Plugin Family
|
|
199
200
|
|
|
200
|
-
|
|
201
|
+
这是 [PerryLink](https://github.com/PerryLink) 维护的 [33 个 DeepSeek Harness 插件](https://github.com/PerryLink) 之一。如果它能帮到你,其他的也会:
|
|
201
202
|
|
|
202
203
|
| Plugin | One-liner |
|
|
203
204
|
|---|---|
|
|
204
|
-
| [dsh-auto-review](https://github.com/PerryLink/dsh-auto-review) | 审批链上的第二模型自动审查,默认失败关闭 |
|
|
205
|
-
| [dsh-background-agents](https://github.com/PerryLink/dsh-background-agents) |
|
|
206
|
-
| [dsh-budget](https://github.com/PerryLink/dsh-budget) | DeepSeek Harness 的成本治理:预算、碳排与延迟一屏呈现。 |
|
|
207
|
-
| [dsh-checkpoint-rewind](https://github.com/PerryLink/dsh-checkpoint-rewind) | Claude Code /rewind
|
|
208
|
-
| [dsh-claude-move](https://github.com/PerryLink/dsh-claude-move) |
|
|
209
|
-
| [dsh-click](https://github.com/PerryLink/dsh-click) | 跨平台原生桌面控制(DeepSeek Harness),Windows 优先。 |
|
|
210
|
-
| [dsh-composer-history](https://github.com/PerryLink/dsh-composer-history) | Web
|
|
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-
|
|
205
|
+
| **[dsh-dsh-auto-review](https://github.com/PerryLink/dsh-dsh-auto-review)** | 审批链上的第二模型自动审查,默认失败关闭 | |
|
|
206
|
+
| **[dsh-dsh-background-agents](https://github.com/PerryLink/dsh-dsh-background-agents)** | 带 Web UI 侧栏、消息与中断的持久后台子代理 | |
|
|
207
|
+
| **[dsh-dsh-budget](https://github.com/PerryLink/dsh-dsh-budget)** | DeepSeek Harness 的成本治理:预算、碳排与延迟一屏呈现。 | |
|
|
208
|
+
| **[dsh-dsh-checkpoint-rewind](https://github.com/PerryLink/dsh-dsh-checkpoint-rewind)** | Claude Code /rewind 等价:快照、会话 fork、一次性恢复 | |
|
|
209
|
+
| **[dsh-dsh-claude-move](https://github.com/PerryLink/dsh-dsh-claude-move)** | 把 Claude Code 会话、记忆、技能与 CLAUDE.md 迁入 DSH | |
|
|
210
|
+
| **[dsh-dsh-click](https://github.com/PerryLink/dsh-dsh-click)** | 跨平台原生桌面控制(DeepSeek Harness),Windows 优先。 | |
|
|
211
|
+
| **[dsh-dsh-composer-history](https://github.com/PerryLink/dsh-dsh-composer-history)** | Web 输入框的终端式历史:方向键、Ctrl+R 搜索 | |
|
|
212
|
+
| **[dsh-dsh-data-quality](https://github.com/PerryLink/dsh-dsh-data-quality)** | 数据集质量检查与引文核查(本插件可选消费的数字核查桥) | |
|
|
213
|
+
| **[dsh-dsh-defend](https://github.com/PerryLink/dsh-dsh-defend)** | DeepSeek Harness 的提示注入、越狱与密钥泄露防护。 | |
|
|
214
|
+
| **[dsh-dsh-doublecheck](https://github.com/PerryLink/dsh-dsh-doublecheck)** | 工程纪律守卫:需求质询、测试门禁、对手评审 | |
|
|
215
|
+
| **[dsh-dsh-draw](https://github.com/PerryLink/dsh-dsh-draw)** | DeepSeek Harness 的统一静态图像生成路由。 | |
|
|
216
|
+
| **[dsh-dsh-fast](https://github.com/PerryLink/dsh-dsh-fast)** | DeepSeek Harness 只读性能诊断。 | |
|
|
217
|
+
| **[dsh-dsh-fund-research](https://github.com/PerryLink/dsh-dsh-fund-research)** | 面向中国公募基金的确定性研究报告 | |
|
|
218
|
+
| **[dsh-dsh-github](https://github.com/PerryLink/dsh-dsh-github)** | 面向 DSH 的 GitHub PR/issues 集成,每次写入经审批门控 | |
|
|
219
|
+
| **[dsh-dsh-industry-research](https://github.com/PerryLink/dsh-dsh-industry-research)** | 行业研究编排,经本插件的 `ctx.researchReport.assemble` 封存交付物 | |
|
|
220
|
+
| **[dsh-dsh-library](https://github.com/PerryLink/dsh-dsh-library)** | DeepSeek Harness 的本地文档知识库。 | |
|
|
221
|
+
| **[dsh-dsh-local-ai](https://github.com/PerryLink/dsh-dsh-local-ai)** | DeepSeek Harness 的本地模型(Ollama)接入。 | |
|
|
222
|
+
| **[dsh-dsh-lsp-actions](https://github.com/PerryLink/dsh-dsh-lsp-actions)** | 通过语言服务器的 LSP 诊断、格式化、补全、代码操作与重命名 | |
|
|
223
|
+
| **[dsh-dsh-mask](https://github.com/PerryLink/dsh-dsh-mask)** | PII 脱敏中间件:模型边界匿名化、展示层还原 | |
|
|
224
|
+
| **[dsh-dsh-mcp-panel](https://github.com/PerryLink/dsh-dsh-mcp-panel)** | 只读 MCP 运行时面板:/mcp 命令 + 带状态、工具与错误的 Settings 标签页 | |
|
|
225
|
+
| **[dsh-dsh-memento](https://github.com/PerryLink/dsh-dsh-memento)** | 审批门控的跨会话记忆:ctx.memory 接缝 + SQLite + 记忆工具 | |
|
|
226
|
+
| **[dsh-dsh-output-styles](https://github.com/PerryLink/dsh-dsh-output-styles)** | Claude Code outputStyles 等价的运行时风格切换 | |
|
|
227
|
+
| **[dsh-dsh-permission-rules](https://github.com/PerryLink/dsh-dsh-permission-rules)** | Claude Code 风格声明式 allow/deny/ask 权限规则,带审计 | |
|
|
228
|
+
| **[dsh-dsh-plugin-guide](https://github.com/PerryLink/dsh-dsh-plugin-guide)** | 作为按需代理技能的插件开发知识库 | |
|
|
229
|
+
| **[dsh-dsh-research-report](https://github.com/PerryLink/dsh-dsh-research-report)** | 可验证研究报告引擎:内容寻址证据账本与封存版本 | |
|
|
230
|
+
| **[dsh-dsh-score](https://github.com/PerryLink/dsh-dsh-score)** | DeepSeek Harness 插件的多维质量评分。 | |
|
|
231
|
+
| **[dsh-dsh-session-pin](https://github.com/PerryLink/dsh-dsh-session-pin)** | 在 Web 侧栏置顶会话,带持久排序 | |
|
|
232
|
+
| **[dsh-dsh-session-sync](https://github.com/PerryLink/dsh-dsh-session-sync)** | DeepSeek Harness 的跨设备会话同步——会话存储的专用 git 镜像。 | |
|
|
233
|
+
| **[dsh-dsh-skill-pack-security](https://github.com/PerryLink/dsh-dsh-skill-pack-security)** | 安全审计技能包:密钥扫描、依赖与供应链审查 | |
|
|
234
|
+
| **[dsh-dsh-talk](https://github.com/PerryLink/dsh-dsh-talk)** | DeepSeek Harness 的语音优先会话闭环:对它说,听它答。 | |
|
|
235
|
+
| **[dsh-dsh-test-drive](https://github.com/PerryLink/dsh-dsh-test-drive)** | DeepSeek Harness 插件的隔离试装冒烟。 | |
|
|
236
|
+
| **[dsh-dsh-translate](https://github.com/PerryLink/dsh-dsh-translate)** | DeepSeek Harness 的厂商参数翻译与确定性 JSON 修复。 | |
|
|
233
237
|
|
|
234
238
|
## License
|
|
235
239
|
|
package/lib/index.js
CHANGED
|
@@ -2,7 +2,6 @@ import z from "@deepseek-ai/schemastery";
|
|
|
2
2
|
import { defineDomain } from "@deepseek-ai/dsh-storage-domain";
|
|
3
3
|
import { z as z$1 } from "zod";
|
|
4
4
|
import { createHash } from "node:crypto";
|
|
5
|
-
import { isTokenDelta } from "@deepseek-ai/dsh-llm/message";
|
|
6
5
|
import { deriveEventMessage } from "@deepseek-ai/dsh-session";
|
|
7
6
|
import { TypertRemoteService } from "@deepseek-ai/dsh-typert-protocol";
|
|
8
7
|
//#region src/config.ts
|
|
@@ -572,7 +571,7 @@ function langfuseId(...parts) {
|
|
|
572
571
|
* @module dsh-observe/version
|
|
573
572
|
*/
|
|
574
573
|
/** The dsh-observe package version, kept in sync with package.json. */
|
|
575
|
-
const VERSION = "0.2.
|
|
574
|
+
const VERSION = "0.2.2";
|
|
576
575
|
//#endregion
|
|
577
576
|
//#region src/sinks.ts
|
|
578
577
|
/** POST a JSON body with a timeout; throws on non-2xx. */
|
|
@@ -1379,6 +1378,26 @@ function normalizeUsage(usage) {
|
|
|
1379
1378
|
};
|
|
1380
1379
|
}
|
|
1381
1380
|
/**
|
|
1381
|
+
* Whether a stream chunk carries visible model output (the first-token
|
|
1382
|
+
* boundary). Local replication of the rc.2 `@deepseek-ai/dsh-llm/message`
|
|
1383
|
+
* `isTokenDelta` helper, which host 0.1.2-alpha.1 removed from that module:
|
|
1384
|
+
* the host's whole-log sessionStats projection now inlines the same switch
|
|
1385
|
+
* (`packages/session/session-stats/src/projection.ts`), and the chunk
|
|
1386
|
+
* grammar itself is unchanged, so this predicate stays identical on both
|
|
1387
|
+
* rulers. Empty deltas (heartbeats, empty tool-call frames) do not count as
|
|
1388
|
+
* a first token.
|
|
1389
|
+
* @param chunk - the stream chunk to test.
|
|
1390
|
+
* @returns true when the chunk contains a non-empty text/reasoning/tool delta.
|
|
1391
|
+
*/
|
|
1392
|
+
function isTokenDelta(chunk) {
|
|
1393
|
+
switch (chunk.type) {
|
|
1394
|
+
case "text-delta":
|
|
1395
|
+
case "reasoning-delta": return chunk.text !== "";
|
|
1396
|
+
case "tool-call-delta": return chunk.argumentsDelta !== "" || chunk.name !== void 0;
|
|
1397
|
+
default: return false;
|
|
1398
|
+
}
|
|
1399
|
+
}
|
|
1400
|
+
/**
|
|
1382
1401
|
* The event → span/metric collector. State lives in a WeakMap keyed by the
|
|
1383
1402
|
* live Session, so sessions the plugin stops seeing are garbage-collected.
|
|
1384
1403
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"collector.d.ts","sourceRoot":"","sources":["../../src/collector.ts"],"names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O,CAAC,QAAQ,CAAC,MAAM;IAdzB,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAuC;IAE9D;;;;;;OAMG;gBAEgB,MAAM,EAAE,cAAc,EACtB,UAAU,EAAE,MAAM,iBAAiB,GAAG,SAAS,EAC/C,MAAM,EAAE,CAAC,IAAI,EAAE,UAAU,KAAK,IAAI,EAClC,QAAQ,EAAE,CAAC,MAAM,EAAE,YAAY,KAAK,IAAI,EACxC,MAAM,EAAE,aAAa;IAGxC;;;;OAIG;IACH,WAAW,CAAC,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,YAAY,GAAG,IAAI;IAqDxD;;;OAGG;IACH,qBAAqB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI;IAqB7C,OAAO,CAAC,OAAO;IAef,OAAO,CAAC,SAAS;IAmBjB,OAAO,CAAC,SAAS;IAejB,OAAO,CAAC,gBAAgB;IAiDxB,OAAO,CAAC,QAAQ;IAiBhB,OAAO,CAAC,UAAU;IA6ClB,OAAO,CAAC,OAAO;IAMf,OAAO,CAAC,OAAO;IA6Bf,oGAAoG;IACpG,OAAO,CAAC,SAAS;IAsEjB,4EAA4E;IAC5E,OAAO,CAAC,gBAAgB;IAuBxB,gDAAgD;IAChD,OAAO,CAAC,gBAAgB;IAqCxB,4FAA4F;IAC5F,OAAO,CAAC,aAAa;IAYrB,6FAA6F;IAC7F,OAAO,CAAC,OAAO;IAOf,uDAAuD;IACvD,OAAO,CAAC,cAAc;IAatB,+CAA+C;IAC/C,OAAO,CAAC,IAAI;CAGb"}
|
package/lib/types/collector.js
CHANGED
|
@@ -10,7 +10,6 @@
|
|
|
10
10
|
* the logged header and the session surface.
|
|
11
11
|
* @module dsh-observe/collector
|
|
12
12
|
*/
|
|
13
|
-
import { isTokenDelta } from '@deepseek-ai/dsh-llm/message';
|
|
14
13
|
import { deriveEventMessage } from '@deepseek-ai/dsh-session';
|
|
15
14
|
import { findPrice, costUsd } from "./pricing.js";
|
|
16
15
|
import { projectContent, projectMessage } from "./project.js";
|
|
@@ -29,6 +28,29 @@ function normalizeUsage(usage) {
|
|
|
29
28
|
reasoning: usage.reasoningTokens ?? 0,
|
|
30
29
|
};
|
|
31
30
|
}
|
|
31
|
+
/**
|
|
32
|
+
* Whether a stream chunk carries visible model output (the first-token
|
|
33
|
+
* boundary). Local replication of the rc.2 `@deepseek-ai/dsh-llm/message`
|
|
34
|
+
* `isTokenDelta` helper, which host 0.1.2-alpha.1 removed from that module:
|
|
35
|
+
* the host's whole-log sessionStats projection now inlines the same switch
|
|
36
|
+
* (`packages/session/session-stats/src/projection.ts`), and the chunk
|
|
37
|
+
* grammar itself is unchanged, so this predicate stays identical on both
|
|
38
|
+
* rulers. Empty deltas (heartbeats, empty tool-call frames) do not count as
|
|
39
|
+
* a first token.
|
|
40
|
+
* @param chunk - the stream chunk to test.
|
|
41
|
+
* @returns true when the chunk contains a non-empty text/reasoning/tool delta.
|
|
42
|
+
*/
|
|
43
|
+
function isTokenDelta(chunk) {
|
|
44
|
+
switch (chunk.type) {
|
|
45
|
+
case 'text-delta':
|
|
46
|
+
case 'reasoning-delta':
|
|
47
|
+
return chunk.text !== '';
|
|
48
|
+
case 'tool-call-delta':
|
|
49
|
+
return chunk.argumentsDelta !== '' || chunk.name !== undefined;
|
|
50
|
+
default:
|
|
51
|
+
return false;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
32
54
|
/**
|
|
33
55
|
* The event → span/metric collector. State lives in a WeakMap keyed by the
|
|
34
56
|
* live Session, so sessions the plugin stops seeing are garbage-collected.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"collector.js","sourceRoot":"","sources":["../../src/collector.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAGH,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAA;AAE3D,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAA;AAG7D,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,cAAc,C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AY,EAAE,IAAa;QAClE,MAAM,UAAU,GAA+B,EAAE,IAAI,EAAE,CAAA;QACvD,IAAI,IAAI,KAAK,SAAS;YAAE,UAAU,CAAC,IAAI,GAAG,IAAI,CAAA;QAC9C,IAAI,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,SAAS;YAAE,UAAU,CAAC,YAAY,CAAC,GAAG,OAAO,CAAC,EAAE,CAAA;QACzE,IAAI,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,GAAG,IAAI,OAAO,CAAC,MAAM,CAAC,GAAG,KAAK,SAAS,EAAE,CAAC;YACjE,UAAU,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,GAAG,CAAC,CAAA;QAC3D,CAAC;QACD,IAAI,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,WAAW,IAAI,OAAO,CAAC,MAAM,CAAC,WAAW,KAAK,SAAS,EAAE,CAAC;YACjF,UAAU,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,WAAW,CAAC,CAAA;QACpE,CAAC;QACD,OAAO,UAAU,CAAA;IACnB,CAAC;IAED,+CAA+C;IACvC,IAAI,CAAC,KAAa;QACxB,OAAO,YAAY,CAAC,KAAK,EAAE,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,sBAAsB,EAAE,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAA;IAC/F,CAAC;CACF"}
|
package/lib/types/version.d.ts
CHANGED
package/lib/types/version.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-observe",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "OpenTelemetry and Langfuse observability exporter for DeepSeek Harness: turn/step/tool/LLM spans, token and cost metrics, and sanitized LLM prompt/completion capture from the session/event stream, with async batching, bounded offline buffering, and retry with backoff.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
],
|
|
71
71
|
"compatibility": {
|
|
72
72
|
"dshVersions": [
|
|
73
|
-
"0.1.
|
|
73
|
+
"0.1.2-alpha.3"
|
|
74
74
|
]
|
|
75
75
|
},
|
|
76
76
|
"capability": {
|
|
@@ -106,14 +106,14 @@
|
|
|
106
106
|
},
|
|
107
107
|
"packageManager": "pnpm@11.7.0",
|
|
108
108
|
"peerDependencies": {
|
|
109
|
-
"@deepseek-ai/cordis": "^4.0.
|
|
109
|
+
"@deepseek-ai/cordis": "^4.0.2",
|
|
110
110
|
"@deepseek-ai/dsh-llm": ">=0.1.0-rc.8 <0.2.0",
|
|
111
111
|
"@deepseek-ai/dsh-session": ">=0.1.0-rc.8 <0.2.0",
|
|
112
112
|
"@deepseek-ai/dsh-storage": ">=0.1.0-rc.8 <0.2.0",
|
|
113
113
|
"@deepseek-ai/dsh-storage-domain": ">=0.1.0-rc.8 <0.2.0",
|
|
114
114
|
"@deepseek-ai/dsh-storage-json": ">=0.1.0-rc.8 <0.2.0",
|
|
115
115
|
"@deepseek-ai/dsh-typert-protocol": ">=0.1.0-rc.8 <0.2.0",
|
|
116
|
-
"@deepseek-ai/schemastery": "^3.18.
|
|
116
|
+
"@deepseek-ai/schemastery": "^3.18.2"
|
|
117
117
|
},
|
|
118
118
|
"dependencies": {
|
|
119
119
|
"tsdown": "^0.22.14",
|
|
@@ -121,16 +121,17 @@
|
|
|
121
121
|
"zod": "^4.4.3"
|
|
122
122
|
},
|
|
123
123
|
"devDependencies": {
|
|
124
|
-
"@deepseek-ai/
|
|
124
|
+
"@deepseek-ai/dsh-attachment": "0.1.2-alpha.3",
|
|
125
|
+
"@deepseek-ai/cordis": "^4.0.2",
|
|
125
126
|
"@deepseek-ai/cordis-plugin-include": "1.0.6",
|
|
126
127
|
"@deepseek-ai/cordis-plugin-loader": "1.0.2",
|
|
127
|
-
"@deepseek-ai/dsh-llm": "0.1.
|
|
128
|
-
"@deepseek-ai/dsh-session": "0.1.
|
|
129
|
-
"@deepseek-ai/dsh-storage": "0.1.
|
|
130
|
-
"@deepseek-ai/dsh-storage-domain": "0.1.
|
|
131
|
-
"@deepseek-ai/dsh-storage-json": "0.1.
|
|
132
|
-
"@deepseek-ai/dsh-typert-protocol": "0.1.
|
|
133
|
-
"@deepseek-ai/schemastery": "^3.18.
|
|
128
|
+
"@deepseek-ai/dsh-llm": "0.1.2-alpha.3",
|
|
129
|
+
"@deepseek-ai/dsh-session": "0.1.2-alpha.3",
|
|
130
|
+
"@deepseek-ai/dsh-storage": "0.1.2-alpha.3",
|
|
131
|
+
"@deepseek-ai/dsh-storage-domain": "0.1.2-alpha.3",
|
|
132
|
+
"@deepseek-ai/dsh-storage-json": "0.1.2-alpha.3",
|
|
133
|
+
"@deepseek-ai/dsh-typert-protocol": "0.1.2-alpha.3",
|
|
134
|
+
"@deepseek-ai/schemastery": "^3.18.2",
|
|
134
135
|
"@types/node": "^22.19.0",
|
|
135
136
|
"@vitest/coverage-v8": "^3.2.0",
|
|
136
137
|
"oxlint": "0.18.1",
|
|
@@ -149,5 +150,9 @@
|
|
|
149
150
|
"verify:readme-sync": "node scripts/check-readme-sync.mjs",
|
|
150
151
|
"pack:check": "node scripts/prepare.mjs && pnpm pack"
|
|
151
152
|
},
|
|
152
|
-
"license": "Apache-2.0"
|
|
153
|
+
"license": "Apache-2.0",
|
|
154
|
+
"funding": {
|
|
155
|
+
"type": "individual",
|
|
156
|
+
"url": "https://github.com/sponsors/PerryLink"
|
|
157
|
+
}
|
|
153
158
|
}
|
package/src/collector.ts
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
*/
|
|
13
13
|
|
|
14
14
|
import type { TokenUsage } from '@deepseek-ai/dsh-llm'
|
|
15
|
-
import {
|
|
15
|
+
import type { StreamChunk } from '@deepseek-ai/dsh-llm/types'
|
|
16
16
|
import type { EpochHeader, RequestContext, Session, SessionEvent } from '@deepseek-ai/dsh-session'
|
|
17
17
|
import { deriveEventMessage } from '@deepseek-ai/dsh-session'
|
|
18
18
|
import type { ResolvedConfig } from './config.ts'
|
|
@@ -86,6 +86,30 @@ function normalizeUsage(usage: TokenUsage | undefined): TokenCounts | undefined
|
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
+
/**
|
|
90
|
+
* Whether a stream chunk carries visible model output (the first-token
|
|
91
|
+
* boundary). Local replication of the rc.2 `@deepseek-ai/dsh-llm/message`
|
|
92
|
+
* `isTokenDelta` helper, which host 0.1.2-alpha.1 removed from that module:
|
|
93
|
+
* the host's whole-log sessionStats projection now inlines the same switch
|
|
94
|
+
* (`packages/session/session-stats/src/projection.ts`), and the chunk
|
|
95
|
+
* grammar itself is unchanged, so this predicate stays identical on both
|
|
96
|
+
* rulers. Empty deltas (heartbeats, empty tool-call frames) do not count as
|
|
97
|
+
* a first token.
|
|
98
|
+
* @param chunk - the stream chunk to test.
|
|
99
|
+
* @returns true when the chunk contains a non-empty text/reasoning/tool delta.
|
|
100
|
+
*/
|
|
101
|
+
function isTokenDelta(chunk: StreamChunk): boolean {
|
|
102
|
+
switch (chunk.type) {
|
|
103
|
+
case 'text-delta':
|
|
104
|
+
case 'reasoning-delta':
|
|
105
|
+
return chunk.text !== ''
|
|
106
|
+
case 'tool-call-delta':
|
|
107
|
+
return chunk.argumentsDelta !== '' || chunk.name !== undefined
|
|
108
|
+
default:
|
|
109
|
+
return false
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
|
|
89
113
|
/**
|
|
90
114
|
* The event → span/metric collector. State lives in a WeakMap keyed by the
|
|
91
115
|
* live Session, so sessions the plugin stops seeing are garbage-collected.
|
package/src/version.ts
CHANGED