dsh-observe 0.2.3 → 0.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -5,6 +5,18 @@ 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.5] - 2026-09-04
9
+
10
+ ### Changed
11
+
12
+ - Align the devDependency pins to the published dsh `0.1.2-rc.1` line, move the compat CI probes from `0.1.1-rc.2` to `0.1.2-rc.1`, and refresh the stale peer references in AGENTS.md/READMEs; no behavior change.
13
+
14
+ ## [0.2.4] - 2026-09-02
15
+
16
+ ### Docs
17
+
18
+ - Sync the five-language READMEs to the 0.1.2-alpha.5 facts; no behavior change.
19
+
8
20
  ## [0.2.3] - 2026-09-02
9
21
 
10
22
  ### Changed
package/README.es.md CHANGED
@@ -25,7 +25,7 @@
25
25
 
26
26
  | Superficie | Estado |
27
27
  |---|---|
28
- | Harness | DeepSeek Harness `0.1.1-rc.2` 0.1.2-alpha.5 (adaptado el 2026-09-02): 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
+ | Harness | DeepSeek Harness `0.1.2-rc.1` (adaptado el 2026-09-02): 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. |
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 |
@@ -169,7 +169,7 @@ Este plugin **no registra herramientas de modelo** — es un exportador en segun
169
169
 
170
170
  ## Known limitations
171
171
 
172
- - **Solo rc.2** — el plugin se desarrolla y prueba contra `@deepseek-ai/dsh@0.1.1-rc.2`; se espera que baselines más nuevos funcionen y el workflow compat mensual los verifica.
172
+ - **Solo alpha.5** — el plugin se desarrolla y prueba contra `@deepseek-ai/dsh@0.1.2-rc.1`; se espera que baselines más nuevos funcionen y el workflow compat mensual los verifica.
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
 
@@ -178,7 +178,7 @@ Este plugin **no registra herramientas de modelo** — es un exportador en segun
178
178
  ```sh
179
179
  pnpm install # node ^22.19 || >=24
180
180
  pnpm run typecheck # tsc: src + tests contra el checkout local del harness
181
- pnpm run typecheck:ci # tsc contra los tipos publicados 0.1.1-rc.2 (sin paths)
181
+ pnpm run typecheck:ci # tsc contra los tipos publicados 0.1.2-rc.1 (sin paths)
182
182
  pnpm test # vitest: 114 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/)
@@ -238,3 +238,7 @@ Este proyecto es uno de los [33 complementos de DeepSeek Harness](https://github
238
238
  ## License
239
239
 
240
240
  [Apache License 2.0](LICENSE) © 2026 dsh-observe contributors
241
+
242
+ ### Instalar desde el mercado de DSH Desktop
243
+
244
+ Todos los plugins de PerryLink pueden explorarse en el mercado integrado de DSH Desktop: **Market → Sources → add source → pegar** `https://perrylink-dsh-catalog.perrylink.workers.dev/catalog-source.json` **→ seleccionarlo**. La instalación sigue pasando por la verificación de identidad npm del mercado y tu confirmación.
package/README.hi.md CHANGED
@@ -25,7 +25,7 @@
25
25
 
26
26
  | सतह | स्थिति |
27
27
  |---|---|
28
- | Harness | DeepSeek Harness `0.1.1-rc.2` 0.1.2-alpha.5 (2026-09-02 को अनुकूलित): सत्र लिफ़ाफ़ा अपना ignorable फ़ील्ड केवल संग्रहीत-लॉग पठन संगतता के लिए रखता है - Session.append अभी भी इसे स्टैम्प नहीं कर सकता, इसलिए गेट व्यवहार अपरिवर्तित है। |
28
+ | Harness | DeepSeek Harness `0.1.2-rc.1` (2026-09-02 को अनुकूलित): सत्र लिफ़ाफ़ा अपना ignorable फ़ील्ड केवल संग्रहीत-लॉग पठन संगतता के लिए रखता है - Session.append अभी भी इसे स्टैम्प नहीं कर सकता, इसलिए गेट व्यवहार अपरिवर्तित है। |
29
29
  | Node | `^22.19.0 \|\| >=24.0.0` |
30
30
  | बैकएंड | OpenTelemetry OTLP/HTTP (traces + metrics, JSON एन्कोडिंग) और Langfuse (LLM ऑब्ज़र्वेबिलिटी) — एक या दोनों |
31
31
  | मॉडल | मॉडल-स्वतंत्र: यह `session/event` स्ट्रीम निर्यात करता है; कोई मॉडल कॉल नहीं करता |
@@ -169,7 +169,7 @@ dsh --profile web --dump-config | grep -A2 'id: dsh-observe'
169
169
 
170
170
  ## Known limitations
171
171
 
172
- - **केवल rc.2** — प्लगइन `@deepseek-ai/dsh@0.1.1-rc.2` के विरुद्ध विकसित और परीक्षित है; नए हार्नेस बेसलाइन काम करने चाहिए और मासिक compat वर्कफ़्लो उन्हें सत्यापित करता है।
172
+ - **केवल alpha.5** — प्लगइन `@deepseek-ai/dsh@0.1.2-rc.1` के विरुद्ध विकसित और परीक्षित है; नए हार्नेस बेसलाइन काम करने चाहिए और मासिक compat वर्कफ़्लो उन्हें सत्यापित करता है।
173
173
  - **मेट्रिक्स पुनर्प्रयास/spool पथ से बचती हैं** — OTLP मेट्रिक्स संचयी रूप से एकत्र होती हैं, इसलिए खोया flush अगले में स्वयं-सुधर जाता है (डिज़ाइन से, बग नहीं)।
174
174
  - **कोई सैंपलिंग नहीं** — हर सक्षम span परिवार निर्यात होता है; उच्च-मात्रा सत्रों के लिए `capture.*` स्विच और `batch.maxBufferRecords` समायोजित करें।
175
175
 
@@ -178,7 +178,7 @@ dsh --profile web --dump-config | grep -A2 'id: dsh-observe'
178
178
  ```sh
179
179
  pnpm install # node ^22.19 || >=24
180
180
  pnpm run typecheck # tsc: src + tests स्थानीय हार्नेस चेकआउट के विरुद्ध
181
- pnpm run typecheck:ci # tsc प्रकाशित 0.1.1-rc.2 प्रकारों के विरुद्ध (बिना paths)
181
+ pnpm run typecheck:ci # tsc प्रकाशित 0.1.2-rc.1 प्रकारों के विरुद्ध (बिना paths)
182
182
  pnpm test # vitest: 95 टेस्ट, 13 सुइट (वास्तविक Context/Session/storage seam)
183
183
  pnpm run test:coverage # कवरेज द्वार (90/80/90/90)
184
184
  pnpm run build # tsdown बंडल + tsc घोषणाएँ (lib/)
@@ -238,3 +238,7 @@ pnpm pack # प्रकाशित tarball
238
238
  ## License
239
239
 
240
240
  [Apache License 2.0](LICENSE) © 2026 dsh-observe contributors
241
+
242
+ ### DSH Desktop मार्केट से इंस्टॉल करें
243
+
244
+ सभी PerryLink प्लगइन DSH Desktop के बिल्ट-इन मार्केट में देखे जा सकते हैं: **Market → Sources → add source → पेस्ट करें** `https://perrylink-dsh-catalog.perrylink.workers.dev/catalog-source.json` **→ चुनें**। इंस्टॉलेशन मार्केट के npm-identity सत्यापन और आपकी पुष्टि से ही होता है।
package/README.md CHANGED
@@ -26,7 +26,7 @@
26
26
 
27
27
  | Surface | Status |
28
28
  |---|---|
29
- | Harness | DeepSeek Harness `0.1.1-rc.2` 0.1.2-alpha.5 (adapted 2026-09-02): 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
+ | Harness | DeepSeek Harness `0.1.2-rc.1` (adapted 2026-09-02): 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. |
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 |
@@ -170,7 +170,7 @@ This plugin registers **no model tools** — it is a background exporter. Its su
170
170
 
171
171
  ## Known limitations
172
172
 
173
- - **alpha.3 line** — the plugin is developed and tested against `@deepseek-ai/dsh@0.1.2-alpha.5`; the rc.2 line stays covered by the monthly compat workflow.
173
+ - **alpha.5 line** — the plugin is developed and tested against `@deepseek-ai/dsh@0.1.2-rc.1`; the rc.2 line stays covered by the monthly compat workflow.
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
 
@@ -179,7 +179,7 @@ This plugin registers **no model tools** — it is a background exporter. Its su
179
179
  ```sh
180
180
  pnpm install # node ^22.19 || >=24
181
181
  pnpm run typecheck # tsc: src + tests against the local harness checkout
182
- pnpm run typecheck:ci # tsc against the published 0.1.2-alpha.5 types (no paths)
182
+ pnpm run typecheck:ci # tsc against the published 0.1.2-rc.1 types (no paths)
183
183
  pnpm test # vitest: 114 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/)
@@ -236,6 +236,10 @@ This project is one of the [33 DeepSeek Harness plugins](https://github.com/Perr
236
236
  | **[dsh-dsh-test-drive](https://github.com/PerryLink/dsh-dsh-test-drive)** | Isolated install-and-smoke test drives for DeepSeek Harness plugins. | |
237
237
  | **[dsh-dsh-translate](https://github.com/PerryLink/dsh-dsh-translate)** | Vendor parameter translation and deterministic JSON repair for DeepSeek Harness. | |
238
238
 
239
+ ### Install from the DSH Desktop Market
240
+
241
+ All PerryLink plugins are browsable in the built-in DSH Desktop Market: **Market → Sources → add source → paste** `https://perrylink-dsh-catalog.perrylink.workers.dev/catalog-source.json` **→ select it**. Installation still goes through the Market's npm-identity verification and your confirmation.
242
+
239
243
  ## License
240
244
 
241
245
  [Apache License 2.0](LICENSE) © 2026 dsh-observe contributors
package/README.pt.md CHANGED
@@ -25,7 +25,7 @@
25
25
 
26
26
  | Superfície | Status |
27
27
  |---|---|
28
- | Harness | DeepSeek Harness `0.1.1-rc.2` 0.1.2-alpha.5 (adaptado em 2026-09-02): 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
+ | Harness | DeepSeek Harness `0.1.2-rc.1` (adaptado em 2026-09-02): 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. |
29
29
  | Node | `^22.19.0 \|\| >=24.0.0` |
30
30
  | Backends | OpenTelemetry OTLP/HTTP (traces + metrics, codificação JSON) e Langfuse (observabilidade de LLM) — um ou ambos |
31
31
  | Modelo | Independente de modelo: exporta o fluxo `session/event`; não faz chamadas a modelos |
@@ -169,7 +169,7 @@ Este plugin **não registra ferramentas de modelo** — é um exportador em segu
169
169
 
170
170
  ## Known limitations
171
171
 
172
- - **Somente rc.2** — o plugin é desenvolvido e testado contra `@deepseek-ai/dsh@0.1.1-rc.2`; baselines mais novos devem funcionar e são verificados pelo workflow compat mensal.
172
+ - **Somente alpha.5** — o plugin é desenvolvido e testado contra `@deepseek-ai/dsh@0.1.2-rc.1`; baselines mais novos devem funcionar e são verificados pelo workflow compat mensal.
173
173
  - **Métricas evitam o caminho de tentativa/spool** — as métricas OTLP são agregadas cumulativamente, então um flush perdido se autocura no seguinte (por design, não é um bug).
174
174
  - **Sem amostragem** — toda família de spans habilitada é exportada; ajuste os interruptores `capture.*` e `batch.maxBufferRecords` para sessões de alto volume.
175
175
 
@@ -178,7 +178,7 @@ Este plugin **não registra ferramentas de modelo** — é um exportador em segu
178
178
  ```sh
179
179
  pnpm install # node ^22.19 || >=24
180
180
  pnpm run typecheck # tsc: src + tests contra o checkout local do harness
181
- pnpm run typecheck:ci # tsc contra os tipos publicados 0.1.1-rc.2 (sem paths)
181
+ pnpm run typecheck:ci # tsc contra os tipos publicados 0.1.2-rc.1 (sem paths)
182
182
  pnpm test # vitest: 95 testes, 13 suítes (Context/Session/storage seam reais)
183
183
  pnpm run test:coverage # porta de cobertura (90/80/90/90)
184
184
  pnpm run build # bundle tsdown + declarações tsc (lib/)
@@ -238,3 +238,7 @@ Este projeto é um dos [33 plugins de DeepSeek Harness](https://github.com/Perry
238
238
  ## License
239
239
 
240
240
  [Apache License 2.0](LICENSE) © 2026 dsh-observe contributors
241
+
242
+ ### Instalar a partir do mercado do DSH Desktop
243
+
244
+ Todos os plugins PerryLink podem ser explorados no mercado integrado do DSH Desktop: **Market → Sources → add source → colar** `https://perrylink-dsh-catalog.perrylink.workers.dev/catalog-source.json` **→ selecionar**. A instalação continua passando pela verificação de identidade npm do mercado e pela sua confirmação.
package/README.zh.md CHANGED
@@ -25,7 +25,7 @@
25
25
 
26
26
  | 方面 | 状态 |
27
27
  |---|---|
28
- | Harness | DeepSeek Harness `0.1.1-rc.2` 0.1.2-alpha.5(2026-09-02 已适配):会话信封保留 ignorable 字段但仅用于存量日志读取兼容——Session.append 仍无法盖章,门控行为不变。 |
28
+ | Harness | DeepSeek Harness `0.1.2-rc.1`(2026-09-02 已适配):会话信封保留 ignorable 字段但仅用于存量日志读取兼容——Session.append 仍无法盖章,门控行为不变。 |
29
29
  | Node | `^22.19.0 \|\| >=24.0.0` |
30
30
  | 后端 | OpenTelemetry OTLP/HTTP(traces + metrics,JSON 编码)与 Langfuse(LLM 可观测)——二选一或同时 |
31
31
  | 模型 | 与模型无关:它导出 session/event 流,自身不调用任何模型 |
@@ -169,7 +169,7 @@ dsh --profile web --dump-config | grep -A2 'id: dsh-observe'
169
169
 
170
170
  ## Known limitations
171
171
 
172
- - **仅 rc.2** —— 插件针对 `@deepseek-ai/dsh@0.1.1-rc.2` 开发与测试;更新的 harness 基线预期可用,由月度 compat 工作流验证。
172
+ - **仅 alpha.5** —— 插件针对 `@deepseek-ai/dsh@0.1.2-rc.1` 开发与测试;更新的 harness 基线预期可用,由月度 compat 工作流验证。
173
173
  - **Metrics 不走重试/缓冲路径** —— OTLP metrics 按累计聚合,丢失一次 flush 会在下一次自愈(设计如此,非缺陷)。
174
174
  - **无采样** —— 每个启用的 span 族都会导出;大流量会话请调整 `capture.*` 开关与 `batch.maxBufferRecords`。
175
175
 
@@ -178,7 +178,7 @@ dsh --profile web --dump-config | grep -A2 'id: dsh-observe'
178
178
  ```sh
179
179
  pnpm install # node ^22.19 || >=24
180
180
  pnpm run typecheck # tsc:src + tests,对照本地 harness checkout
181
- pnpm run typecheck:ci # tsc:对照已发布的 0.1.1-rc.2 类型(无 paths)
181
+ pnpm run typecheck:ci # tsc:对照已发布的 0.1.2-rc.1 类型(无 paths)
182
182
  pnpm test # vitest:95 个测试、13 个套件(真实 Context/Session/storage 接缝)
183
183
  pnpm run test:coverage # 覆盖率门禁(90/80/90/90)
184
184
  pnpm run build # tsdown bundle + tsc 声明(lib/)
@@ -238,3 +238,7 @@ pnpm pack # 发布用 tarball
238
238
  ## License
239
239
 
240
240
  [Apache License 2.0](LICENSE) © 2026 dsh-observe contributors
241
+
242
+ ### 从 DSH Desktop 市场安装
243
+
244
+ 所有 PerryLink 插件均可在 DSH Desktop 内置市场中浏览:**市场 → 来源 → 添加来源 → 粘贴** `https://perrylink-dsh-catalog.perrylink.workers.dev/catalog-source.json` **→ 选中**。安装仍需通过市场的 npm 身份校验与你的确认。
package/lib/index.js CHANGED
@@ -571,7 +571,7 @@ function langfuseId(...parts) {
571
571
  * @module dsh-observe/version
572
572
  */
573
573
  /** The dsh-observe package version, kept in sync with package.json. */
574
- const VERSION = "0.2.3";
574
+ const VERSION = "0.2.5";
575
575
  //#endregion
576
576
  //#region src/sinks.ts
577
577
  /** POST a JSON body with a timeout; throws on non-2xx. */
@@ -6,5 +6,5 @@
6
6
  * @module dsh-observe/version
7
7
  */
8
8
  /** The dsh-observe package version, kept in sync with package.json. */
9
- export declare const VERSION = "0.2.3";
9
+ export declare const VERSION = "0.2.5";
10
10
  //# sourceMappingURL=version.d.ts.map
@@ -6,5 +6,5 @@
6
6
  * @module dsh-observe/version
7
7
  */
8
8
  /** The dsh-observe package version, kept in sync with package.json. */
9
- export const VERSION = '0.2.3';
9
+ export const VERSION = '0.2.5';
10
10
  //# sourceMappingURL=version.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-observe",
3
- "version": "0.2.3",
3
+ "version": "0.2.5",
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.2-alpha.5"
73
+ "0.1.2-rc.1"
74
74
  ]
75
75
  },
76
76
  "capability": {
@@ -121,16 +121,16 @@
121
121
  "zod": "^4.4.3"
122
122
  },
123
123
  "devDependencies": {
124
- "@deepseek-ai/dsh-attachment": "0.1.2-alpha.5",
124
+ "@deepseek-ai/dsh-attachment": "0.1.2-rc.1",
125
125
  "@deepseek-ai/cordis": "^4.0.2",
126
- "@deepseek-ai/cordis-plugin-include": "1.0.6",
127
- "@deepseek-ai/cordis-plugin-loader": "1.0.2",
128
- "@deepseek-ai/dsh-llm": "0.1.2-alpha.5",
129
- "@deepseek-ai/dsh-session": "0.1.2-alpha.5",
130
- "@deepseek-ai/dsh-storage": "0.1.2-alpha.5",
131
- "@deepseek-ai/dsh-storage-domain": "0.1.2-alpha.5",
132
- "@deepseek-ai/dsh-storage-json": "0.1.2-alpha.5",
133
- "@deepseek-ai/dsh-typert-protocol": "0.1.2-alpha.5",
126
+ "@deepseek-ai/cordis-plugin-include": "^1.0.7",
127
+ "@deepseek-ai/cordis-plugin-loader": "^1.0.3",
128
+ "@deepseek-ai/dsh-llm": "0.1.2-rc.1",
129
+ "@deepseek-ai/dsh-session": "0.1.2-rc.1",
130
+ "@deepseek-ai/dsh-storage": "0.1.2-rc.1",
131
+ "@deepseek-ai/dsh-storage-domain": "0.1.2-rc.1",
132
+ "@deepseek-ai/dsh-storage-json": "0.1.2-rc.1",
133
+ "@deepseek-ai/dsh-typert-protocol": "0.1.2-rc.1",
134
134
  "@deepseek-ai/schemastery": "^3.18.2",
135
135
  "@types/node": "^22.19.0",
136
136
  "@vitest/coverage-v8": "^3.2.0",
package/src/version.ts CHANGED
@@ -7,4 +7,4 @@
7
7
  */
8
8
 
9
9
  /** The dsh-observe package version, kept in sync with package.json. */
10
- export const VERSION = '0.2.3'
10
+ export const VERSION = '0.2.5'