dsh-observe 0.2.3 → 0.2.4

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,12 @@ 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.4] - 2026-09-02
9
+
10
+ ### Docs
11
+
12
+ - Sync the five-language READMEs to the 0.1.2-alpha.5 facts; no behavior change.
13
+
8
14
  ## [0.2.3] - 2026-09-02
9
15
 
10
16
  ### 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-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. |
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-alpha.5`; 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-alpha.5 (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/)
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-alpha.5` (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-alpha.5` के विरुद्ध विकसित और परीक्षित है; नए हार्नेस बेसलाइन काम करने चाहिए और मासिक 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-alpha.5 प्रकारों के विरुद्ध (बिना 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/)
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-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. |
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-alpha.5`; 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
 
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-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. |
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-alpha.5`; 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-alpha.5 (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/)
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-alpha.5`(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-alpha.5` 开发与测试;更新的 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-alpha.5 类型(无 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/)
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.4";
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.4";
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.4';
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.4",
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",
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.4'