dsh-observe 0.2.28 → 0.2.29
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 +2 -0
- package/LICENSE +0 -0
- package/README.en.md +1 -1
- package/README.es.md +1 -1
- package/README.hi.md +1 -1
- package/README.md +1 -1
- package/README.pt.md +1 -1
- package/THIRD_PARTY_NOTICES.md +0 -0
- package/cordis.patch.yml +0 -0
- package/lib/index.js +1 -1
- package/lib/typert.host.js +0 -0
- package/lib/types/backoff.d.ts +0 -0
- package/lib/types/backoff.d.ts.map +0 -0
- package/lib/types/backoff.js +0 -0
- package/lib/types/backoff.js.map +0 -0
- package/lib/types/collector.d.ts +0 -0
- package/lib/types/collector.d.ts.map +0 -0
- package/lib/types/collector.js +0 -0
- package/lib/types/collector.js.map +0 -0
- package/lib/types/config.d.ts +0 -0
- package/lib/types/config.d.ts.map +0 -0
- package/lib/types/config.js +0 -0
- package/lib/types/config.js.map +0 -0
- package/lib/types/ids.d.ts +0 -0
- package/lib/types/ids.d.ts.map +0 -0
- package/lib/types/ids.js +0 -0
- package/lib/types/ids.js.map +0 -0
- package/lib/types/index.d.ts +0 -0
- package/lib/types/index.d.ts.map +0 -0
- package/lib/types/index.js +0 -0
- package/lib/types/index.js.map +0 -0
- package/lib/types/model.d.ts +0 -0
- package/lib/types/model.d.ts.map +0 -0
- package/lib/types/model.js +0 -0
- package/lib/types/model.js.map +0 -0
- package/lib/types/pipeline.d.ts +0 -0
- package/lib/types/pipeline.d.ts.map +0 -0
- package/lib/types/pipeline.js +0 -0
- package/lib/types/pipeline.js.map +0 -0
- package/lib/types/pricing.d.ts +0 -0
- package/lib/types/pricing.d.ts.map +0 -0
- package/lib/types/pricing.js +0 -0
- package/lib/types/pricing.js.map +0 -0
- package/lib/types/project.d.ts +0 -0
- package/lib/types/project.d.ts.map +0 -0
- package/lib/types/project.js +0 -0
- package/lib/types/project.js.map +0 -0
- package/lib/types/remote.d.ts +0 -0
- package/lib/types/remote.d.ts.map +0 -0
- package/lib/types/remote.js +0 -0
- package/lib/types/remote.js.map +0 -0
- package/lib/types/sanitize.d.ts +0 -0
- package/lib/types/sanitize.d.ts.map +0 -0
- package/lib/types/sanitize.js +0 -0
- package/lib/types/sanitize.js.map +0 -0
- package/lib/types/sinks.d.ts +0 -0
- package/lib/types/sinks.d.ts.map +0 -0
- package/lib/types/sinks.js +0 -0
- package/lib/types/sinks.js.map +0 -0
- package/lib/types/spool.d.ts +0 -0
- package/lib/types/spool.d.ts.map +0 -0
- package/lib/types/spool.js +0 -0
- package/lib/types/spool.js.map +0 -0
- package/lib/types/typert.host.d.ts +0 -0
- package/lib/types/typert.host.d.ts.map +0 -0
- package/lib/types/typert.host.js +0 -0
- package/lib/types/typert.host.js.map +0 -0
- package/lib/types/version.d.ts +1 -1
- package/lib/types/version.d.ts.map +0 -0
- package/lib/types/version.js +1 -1
- package/lib/types/version.js.map +0 -0
- package/lib/types/wire.d.ts +0 -0
- package/lib/types/wire.d.ts.map +0 -0
- package/lib/types/wire.js +0 -0
- package/lib/types/wire.js.map +0 -0
- package/package.json +9 -28
- package/src/backoff.ts +0 -0
- package/src/collector.ts +0 -0
- package/src/config.ts +0 -0
- package/src/ids.ts +0 -0
- package/src/index.ts +0 -0
- package/src/model.ts +0 -0
- package/src/pipeline.ts +0 -0
- package/src/pricing.ts +0 -0
- package/src/project.ts +0 -0
- package/src/remote.ts +0 -0
- package/src/sanitize.ts +0 -0
- package/src/sinks.ts +0 -0
- package/src/spool.ts +0 -0
- package/src/typert.host.ts +0 -0
- package/src/version.ts +1 -1
- package/src/wire.ts +0 -0
package/CHANGELOG.md
CHANGED
package/LICENSE
CHANGED
|
File without changes
|
package/README.en.md
CHANGED
|
@@ -293,7 +293,7 @@ If another observability plugin is installed in the same profile, mind two thing
|
|
|
293
293
|
|
|
294
294
|
| Surface | Status |
|
|
295
295
|
|---|---|
|
|
296
|
-
| Harness | DeepSeek Harness `dsh-v0.2.
|
|
296
|
+
| Harness | DeepSeek Harness `dsh-v0.2.2-rc.4` (adapted 2026-11-18): session format V4 represents a tool result as a first-class `role: 'tool'` message carrying top-level `toolCallId` + `content` + optional `isError` — the V3 `tool-result` content block is gone from the host's `ContentBlockMap`, and this plugin reads only the V4 shape (a pre-upgrade V3 log still projects through a read-only compatibility path). Session format V3's other traits carry over: the assistant stream is embedded in `assistant/message` / `assistant/attempt`, and the system prompt is surface node 0 (`system/message`); the plugin consumes only the live event stream and never reads session log files. `engines.dsh` is `>=0.2.1-0 <0.3.0 \|\| >=0.2.2-0 <0.3.0`; the profile install smoke is covered by the compat workflow. |
|
|
297
297
|
| Node | `^22.19.0 \|\| >=24.9.0`, pure ESM (`"type": "module"`) |
|
|
298
298
|
| Backends | OpenTelemetry OTLP/HTTP (traces + metrics, JSON encoding) and Langfuse (LLM observability) — either or both |
|
|
299
299
|
| Model | Model-agnostic: it exports the session/event stream; no model calls are made |
|
package/README.es.md
CHANGED
|
@@ -293,7 +293,7 @@ Si hay otro plugin de observabilidad en el mismo perfil, atención a dos cosas:
|
|
|
293
293
|
|
|
294
294
|
| Dimensión | Estado |
|
|
295
295
|
|---|---|
|
|
296
|
-
| Harness | DeepSeek Harness `dsh-v0.2.
|
|
296
|
+
| Harness | DeepSeek Harness `dsh-v0.2.2-rc.4` (adaptado el 2026-11-18): el formato de sesión V4 representa el resultado de una herramienta como un mensaje de primera clase `role: 'tool'` con `toolCallId` + `content` + `isError` opcional en el nivel superior — el bloque de contenido `tool-result` de V3 ya no está en el `ContentBlockMap` del host, y este plugin solo lee la forma V4 (un log V3 anterior a la actualización todavía se proyecta por una ruta de compatibilidad de solo lectura). Los demás rasgos del formato V3 se mantienen: el flujo del asistente va embebido en `assistant/message` / `assistant/attempt`, y el system prompt es el nodo 0 de la superficie (`system/message`); el plugin consume solo el flujo de eventos en vivo y nunca lee ficheros de log de sesión. `engines.dsh` es `>=0.2.1-0 <0.3.0 \|\| >=0.2.2-0 <0.3.0`; el humo de instalación del perfil lo cubre el workflow de compatibilidad. |
|
|
297
297
|
| Node | `^22.19.0 \|\| >=24.9.0`, ESM puro (`"type": "module"`) |
|
|
298
298
|
| Backends | OpenTelemetry OTLP/HTTP (trazas + métricas, codificación JSON) y Langfuse (observabilidad LLM) — uno u otro, o ambos |
|
|
299
299
|
| Modelo | Independiente del modelo: exporta el flujo session/event; no realiza llamadas a modelos |
|
package/README.hi.md
CHANGED
|
@@ -293,7 +293,7 @@ id-लक्षित ओवरराइड का उदाहरण (पूर
|
|
|
293
293
|
|
|
294
294
|
| आयाम | स्थिति |
|
|
295
295
|
|---|---|
|
|
296
|
-
| Harness | DeepSeek Harness `dsh-v0.2.
|
|
296
|
+
| Harness | DeepSeek Harness `dsh-v0.2.2-rc.4` (2026-11-18 को अनुकूलित): सत्र प्रारूप V4 टूल परिणाम को प्रथम-श्रेणी `role: 'tool'` संदेश के रूप में दर्शाता है जिसमें शीर्ष स्तर पर `toolCallId` + `content` + वैकल्पिक `isError` होता है — V3 का `tool-result` कंटेंट ब्लॉक होस्ट के `ContentBlockMap` से हट चुका है, और यह प्लगइन केवल V4 आकार पढ़ता है (अपग्रेड-पूर्व V3 लॉग अब भी केवल-पढ़ने योग्य संगतता पथ से प्रक्षेपित होता है)। V3 प्रारूप के बाकी लक्षण जारी हैं: असिस्टेंट स्ट्रीम `assistant/message` / `assistant/attempt` में अंतर्निहित है, और system prompt सतह का नोड 0 (`system/message`) है; प्लगइन केवल लाइव घटना-धारा उपभोग करता है और सत्र लॉग फ़ाइलें कभी नहीं पढ़ता। `engines.dsh` है `>=0.2.1-0 <0.3.0 \|\| >=0.2.2-0 <0.3.0`; profile इंस्टॉल स्मोक compat वर्कफ़्लो से कवर है। |
|
|
297
297
|
| Node | `^22.19.0 \|\| >=24.9.0`, शुद्ध ESM (`"type": "module"`) |
|
|
298
298
|
| बैकएंड | OpenTelemetry OTLP/HTTP (ट्रेस + मेट्रिक्स, JSON एन्कोडिंग) और Langfuse (LLM अवलोकनीयता) — एक या दोनों |
|
|
299
299
|
| मॉडल | मॉडल-निरपेक्ष: यह session/event धारा एक्सपोर्ट करता है; कोई मॉडल कॉल नहीं करता |
|
package/README.md
CHANGED
|
@@ -293,7 +293,7 @@ session/event 流
|
|
|
293
293
|
|
|
294
294
|
| 维度 | 状态 |
|
|
295
295
|
|---|---|
|
|
296
|
-
| Harness | DeepSeek Harness `dsh-v0.2.
|
|
296
|
+
| Harness | DeepSeek Harness `dsh-v0.2.2-rc.4`(2026-11-18 已适配):会话格式 V4 把工具结果改为 `role: 'tool'` 的一等消息,顶层携带 `toolCallId` + `content` + 可选 `isError` —— V3 的 `tool-result` 内容块已从宿主 `ContentBlockMap` 移除,本插件只读 V4 形状(升级前的 V3 日志仍可经只读兼容路径投影)。会话格式 V3 的其余特征沿用:助手流内嵌到 `assistant/message` / `assistant/attempt`,系统提示词为 surface 节点 0(`system/message`);本插件只消费实时事件流,从不读取会话日志文件。`engines.dsh` 为 `>=0.2.1-0 <0.3.0 \|\| >=0.2.2-0 <0.3.0`,profile 安装冒烟由 compat 工作流覆盖。 |
|
|
297
297
|
| Node | `^22.19.0 \|\| >=24.9.0`,纯 ESM(`"type": "module"`) |
|
|
298
298
|
| 后端 | OpenTelemetry OTLP/HTTP(traces + metrics,JSON 编码)与 Langfuse(LLM 可观测)——二选一或同时 |
|
|
299
299
|
| 模型 | 与模型无关:它导出 session/event 流,自身不调用任何模型 |
|
package/README.pt.md
CHANGED
|
@@ -293,7 +293,7 @@ Se houver outro plugin de observabilidade no mesmo perfil, atenção a duas cois
|
|
|
293
293
|
|
|
294
294
|
| Dimensão | Estado |
|
|
295
295
|
|---|---|
|
|
296
|
-
| Harness | DeepSeek Harness `dsh-v0.2.
|
|
296
|
+
| Harness | DeepSeek Harness `dsh-v0.2.2-rc.4` (adaptado em 2026-11-18): o formato de sessão V4 representa o resultado de uma ferramenta como uma mensagem de primeira classe `role: 'tool'` com `toolCallId` + `content` + `isError` opcional no nível superior — o bloco de conteúdo `tool-result` do V3 saiu do `ContentBlockMap` do host, e este plugin lê só a forma V4 (um log V3 anterior à atualização ainda é projetado por um caminho de compatibilidade somente leitura). Os demais traços do formato V3 continuam: o fluxo do assistente vem embutido em `assistant/message` / `assistant/attempt`, e o system prompt é o nó 0 da superfície (`system/message`); o plugin consome apenas o fluxo de eventos ao vivo e nunca lê arquivos de log de sessão. `engines.dsh` é `>=0.2.1-0 <0.3.0 \|\| >=0.2.2-0 <0.3.0`; o teste de fumaça de instalação do perfil é coberto pelo workflow de compatibilidade. |
|
|
297
297
|
| Node | `^22.19.0 \|\| >=24.9.0`, ESM puro (`"type": "module"`) |
|
|
298
298
|
| Backends | OpenTelemetry OTLP/HTTP (traces + métricas, codificação JSON) e Langfuse (observabilidade LLM) — um ou outro, ou ambos |
|
|
299
299
|
| Modelo | Independente de modelo: exporta o fluxo session/event; não faz chamadas a modelos |
|
package/THIRD_PARTY_NOTICES.md
CHANGED
|
File without changes
|
package/cordis.patch.yml
CHANGED
|
File without changes
|
package/lib/index.js
CHANGED
|
@@ -606,7 +606,7 @@ function langfuseId(...parts) {
|
|
|
606
606
|
* @module dsh-observe/version
|
|
607
607
|
*/
|
|
608
608
|
/** The dsh-observe package version, kept in sync with package.json. */
|
|
609
|
-
const VERSION = "0.2.
|
|
609
|
+
const VERSION = "0.2.29";
|
|
610
610
|
// src/sinks.ts
|
|
611
611
|
/** POST a JSON body with a timeout; throws on non-2xx. */
|
|
612
612
|
async function postJson(url, headers, body, timeoutMs) {
|
package/lib/typert.host.js
CHANGED
|
File without changes
|
package/lib/types/backoff.d.ts
CHANGED
|
File without changes
|
|
File without changes
|
package/lib/types/backoff.js
CHANGED
|
File without changes
|
package/lib/types/backoff.js.map
CHANGED
|
File without changes
|
package/lib/types/collector.d.ts
CHANGED
|
File without changes
|
|
File without changes
|
package/lib/types/collector.js
CHANGED
|
File without changes
|
|
File without changes
|
package/lib/types/config.d.ts
CHANGED
|
File without changes
|
|
File without changes
|
package/lib/types/config.js
CHANGED
|
File without changes
|
package/lib/types/config.js.map
CHANGED
|
File without changes
|
package/lib/types/ids.d.ts
CHANGED
|
File without changes
|
package/lib/types/ids.d.ts.map
CHANGED
|
File without changes
|
package/lib/types/ids.js
CHANGED
|
File without changes
|
package/lib/types/ids.js.map
CHANGED
|
File without changes
|
package/lib/types/index.d.ts
CHANGED
|
File without changes
|
package/lib/types/index.d.ts.map
CHANGED
|
File without changes
|
package/lib/types/index.js
CHANGED
|
File without changes
|
package/lib/types/index.js.map
CHANGED
|
File without changes
|
package/lib/types/model.d.ts
CHANGED
|
File without changes
|
package/lib/types/model.d.ts.map
CHANGED
|
File without changes
|
package/lib/types/model.js
CHANGED
|
File without changes
|
package/lib/types/model.js.map
CHANGED
|
File without changes
|
package/lib/types/pipeline.d.ts
CHANGED
|
File without changes
|
|
File without changes
|
package/lib/types/pipeline.js
CHANGED
|
File without changes
|
|
File without changes
|
package/lib/types/pricing.d.ts
CHANGED
|
File without changes
|
|
File without changes
|
package/lib/types/pricing.js
CHANGED
|
File without changes
|
package/lib/types/pricing.js.map
CHANGED
|
File without changes
|
package/lib/types/project.d.ts
CHANGED
|
File without changes
|
|
File without changes
|
package/lib/types/project.js
CHANGED
|
File without changes
|
package/lib/types/project.js.map
CHANGED
|
File without changes
|
package/lib/types/remote.d.ts
CHANGED
|
File without changes
|
|
File without changes
|
package/lib/types/remote.js
CHANGED
|
File without changes
|
package/lib/types/remote.js.map
CHANGED
|
File without changes
|
package/lib/types/sanitize.d.ts
CHANGED
|
File without changes
|
|
File without changes
|
package/lib/types/sanitize.js
CHANGED
|
File without changes
|
|
File without changes
|
package/lib/types/sinks.d.ts
CHANGED
|
File without changes
|
package/lib/types/sinks.d.ts.map
CHANGED
|
File without changes
|
package/lib/types/sinks.js
CHANGED
|
File without changes
|
package/lib/types/sinks.js.map
CHANGED
|
File without changes
|
package/lib/types/spool.d.ts
CHANGED
|
File without changes
|
package/lib/types/spool.d.ts.map
CHANGED
|
File without changes
|
package/lib/types/spool.js
CHANGED
|
File without changes
|
package/lib/types/spool.js.map
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/lib/types/typert.host.js
CHANGED
|
File without changes
|
|
File without changes
|
package/lib/types/version.d.ts
CHANGED
|
File without changes
|
package/lib/types/version.js
CHANGED
package/lib/types/version.js.map
CHANGED
|
File without changes
|
package/lib/types/wire.d.ts
CHANGED
|
File without changes
|
package/lib/types/wire.d.ts.map
CHANGED
|
File without changes
|
package/lib/types/wire.js
CHANGED
|
File without changes
|
package/lib/types/wire.js.map
CHANGED
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-observe",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.29",
|
|
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",
|
|
@@ -44,25 +44,6 @@
|
|
|
44
44
|
"manifestVersion": 1,
|
|
45
45
|
"bundle": {
|
|
46
46
|
"patch": "./cordis.patch.yml"
|
|
47
|
-
},
|
|
48
|
-
"capabilities": [
|
|
49
|
-
"network:egress"
|
|
50
|
-
],
|
|
51
|
-
"labels": [],
|
|
52
|
-
"standards": {
|
|
53
|
-
"schema": "dsh-levels/1",
|
|
54
|
-
"entry": {
|
|
55
|
-
"status": "not-run",
|
|
56
|
-
"evidence": null
|
|
57
|
-
},
|
|
58
|
-
"flow": {
|
|
59
|
-
"status": "not-run",
|
|
60
|
-
"evidence": null
|
|
61
|
-
},
|
|
62
|
-
"boost": {
|
|
63
|
-
"status": "not-measured",
|
|
64
|
-
"evidence": null
|
|
65
|
-
}
|
|
66
47
|
}
|
|
67
48
|
},
|
|
68
49
|
"dshWorkshop": {
|
|
@@ -144,16 +125,16 @@
|
|
|
144
125
|
"zod": "4.6.6"
|
|
145
126
|
},
|
|
146
127
|
"devDependencies": {
|
|
147
|
-
"@deepseek-ai/dsh-attachment": "0.2.2-rc.
|
|
128
|
+
"@deepseek-ai/dsh-attachment": "0.2.2-rc.4",
|
|
148
129
|
"@deepseek-ai/cordis": "^4.1.0",
|
|
149
130
|
"@deepseek-ai/cordis-plugin-include": "^1.1.0",
|
|
150
131
|
"@deepseek-ai/cordis-plugin-loader": "^1.1.0",
|
|
151
|
-
"@deepseek-ai/dsh-llm": "0.2.2-rc.
|
|
152
|
-
"@deepseek-ai/dsh-session": "0.2.2-rc.
|
|
153
|
-
"@deepseek-ai/dsh-storage": "0.2.2-rc.
|
|
154
|
-
"@deepseek-ai/dsh-storage-domain": "0.2.2-rc.
|
|
155
|
-
"@deepseek-ai/dsh-storage-json": "0.2.2-rc.
|
|
156
|
-
"@deepseek-ai/dsh-typert-protocol": "0.2.2-rc.
|
|
132
|
+
"@deepseek-ai/dsh-llm": "0.2.2-rc.4",
|
|
133
|
+
"@deepseek-ai/dsh-session": "0.2.2-rc.4",
|
|
134
|
+
"@deepseek-ai/dsh-storage": "0.2.2-rc.4",
|
|
135
|
+
"@deepseek-ai/dsh-storage-domain": "0.2.2-rc.4",
|
|
136
|
+
"@deepseek-ai/dsh-storage-json": "0.2.2-rc.4",
|
|
137
|
+
"@deepseek-ai/dsh-typert-protocol": "0.2.2-rc.4",
|
|
157
138
|
"@deepseek-ai/schemastery": "~3.19.0",
|
|
158
139
|
"@types/node": "^22.20.5",
|
|
159
140
|
"@vitest/coverage-v8": "^3.2.0",
|
|
@@ -161,7 +142,7 @@
|
|
|
161
142
|
"vitest": "^3.2.0",
|
|
162
143
|
"tsdown": "^0.23.1",
|
|
163
144
|
"typescript": "^5.9.0",
|
|
164
|
-
"@deepseek-ai/dsh-package-manifest": "0.2.2-rc.
|
|
145
|
+
"@deepseek-ai/dsh-package-manifest": "0.2.2-rc.4"
|
|
165
146
|
},
|
|
166
147
|
"scripts": {
|
|
167
148
|
"build": "node scripts/prepare.mjs",
|
package/src/backoff.ts
CHANGED
|
File without changes
|
package/src/collector.ts
CHANGED
|
File without changes
|
package/src/config.ts
CHANGED
|
File without changes
|
package/src/ids.ts
CHANGED
|
File without changes
|
package/src/index.ts
CHANGED
|
File without changes
|
package/src/model.ts
CHANGED
|
File without changes
|
package/src/pipeline.ts
CHANGED
|
File without changes
|
package/src/pricing.ts
CHANGED
|
File without changes
|
package/src/project.ts
CHANGED
|
File without changes
|
package/src/remote.ts
CHANGED
|
File without changes
|
package/src/sanitize.ts
CHANGED
|
File without changes
|
package/src/sinks.ts
CHANGED
|
File without changes
|
package/src/spool.ts
CHANGED
|
File without changes
|
package/src/typert.host.ts
CHANGED
|
File without changes
|
package/src/version.ts
CHANGED
package/src/wire.ts
CHANGED
|
File without changes
|