dsh-observe 0.2.6 → 0.2.8

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,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.8] - 2026-09-07
9
+
10
+ ### Fixed
11
+
12
+ - Align the `@deepseek-ai/dsh-*` peer ranges to `>=0.1.2-rc.1 <0.2.0`: the older `>=0.1.0-rc.8 <0.2.0` band resolved to only the `0.1.0-rc.8` prerelease under registry-driven resolution and broke fresh tarball installs; no behavior change.
13
+
14
+ ### Docs
15
+
16
+ - Refresh the five-language README support-version wording: the verified GitHub tag `dsh-v0.1.3-alpha.1` now leads the compatibility claim, while npm `0.1.2-rc.1` stays the published dependency-pin line (peers `>=0.1.2-rc.1 <0.2.0`); no behavior change.
17
+
18
+
19
+ ## [0.2.7] - 2026-09-04
20
+
21
+ ### Fixed
22
+
23
+ - Remove the `storage` / `storage-json` / `storage-domain` rows from the bundle patch: the shipped profiles compose that stack through `dsh-base`, so the inserted rows collided with the same ids and made the profile refuse to boot (`duplicate loader entry id: storage`). The patch now mounts only the plugin row; bare profiles compose the storage stack themselves.
24
+
8
25
  ## [0.2.6] - 2026-09-04
9
26
 
10
27
  ### Fixed
package/README.es.md CHANGED
@@ -25,7 +25,7 @@
25
25
 
26
26
  | Superficie | Estado |
27
27
  |---|---|
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. |
28
+ | Harness | DeepSeek Harness `dsh-v0.1.3-alpha.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. Verificado el 2026-09-06 contra el master checkout dsh-v0.1.3-alpha.1 (cadena completa de puertas + smoke de instalación de perfil). |
29
29
  | Node | `^22.19.0 \|\| >=24.0.0` |
30
30
  | Backends | OpenTelemetry OTLP/HTTP (traces + metrics, codificación JSON) y Langfuse (observabilidad de LLM) — uno o ambos |
31
31
  | Modelo | Independiente del modelo: exporta el flujo `session/event`; no realiza llamadas a modelos |
@@ -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 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.
172
+ - **npm 0.1.2-rc.1** — 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
 
package/README.hi.md CHANGED
@@ -25,7 +25,7 @@
25
25
 
26
26
  | सतह | स्थिति |
27
27
  |---|---|
28
- | Harness | DeepSeek Harness `0.1.2-rc.1` (2026-09-02 को अनुकूलित): सत्र लिफ़ाफ़ा अपना ignorable फ़ील्ड केवल संग्रहीत-लॉग पठन संगतता के लिए रखता है - Session.append अभी भी इसे स्टैम्प नहीं कर सकता, इसलिए गेट व्यवहार अपरिवर्तित है। |
28
+ | Harness | DeepSeek Harness `dsh-v0.1.3-alpha.1` (2026-09-02 को अनुकूलित): सत्र लिफ़ाफ़ा अपना ignorable फ़ील्ड केवल संग्रहीत-लॉग पठन संगतता के लिए रखता है - Session.append अभी भी इसे स्टैम्प नहीं कर सकता, इसलिए गेट व्यवहार अपरिवर्तित है। 2026-09-06 को dsh-v0.1.3-alpha.1 master checkout के विरुद्ध सत्यापित (पूर्ण गेट श्रृंखला + प्रोफ़ाइल इंस्टॉल स्मोक)। |
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
- - **केवल alpha.5** — प्लगइन `@deepseek-ai/dsh@0.1.2-rc.1` के विरुद्ध विकसित और परीक्षित है; नए हार्नेस बेसलाइन काम करने चाहिए और मासिक compat वर्कफ़्लो उन्हें सत्यापित करता है।
172
+ - **npm 0.1.2-rc.1** — प्लगइन `@deepseek-ai/dsh@0.1.2-rc.1` के विरुद्ध विकसित और परीक्षित है; नए हार्नेस बेसलाइन काम करने चाहिए और मासिक compat वर्कफ़्लो उन्हें सत्यापित करता है।
173
173
  - **मेट्रिक्स पुनर्प्रयास/spool पथ से बचती हैं** — OTLP मेट्रिक्स संचयी रूप से एकत्र होती हैं, इसलिए खोया flush अगले में स्वयं-सुधर जाता है (डिज़ाइन से, बग नहीं)।
174
174
  - **कोई सैंपलिंग नहीं** — हर सक्षम span परिवार निर्यात होता है; उच्च-मात्रा सत्रों के लिए `capture.*` स्विच और `batch.maxBufferRecords` समायोजित करें।
175
175
 
package/README.md CHANGED
@@ -26,7 +26,7 @@
26
26
 
27
27
  | Surface | Status |
28
28
  |---|---|
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. |
29
+ | Harness | DeepSeek Harness `dsh-v0.1.3-alpha.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. Verified 2026-09-06 against the dsh-v0.1.3-alpha.1 master checkout (full gate chain + profile install smoke). |
30
30
  | Node | `^22.19.0 \|\| >=24.0.0` |
31
31
  | Backends | OpenTelemetry OTLP/HTTP (traces + metrics, JSON encoding) and Langfuse (LLM observability) — either or both |
32
32
  | Model | Model-agnostic: it exports the session/event stream; no model calls are made |
@@ -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.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.
173
+ - **npm 0.1.2-rc.1** — the plugin is developed and tested against `@deepseek-ai/dsh@0.1.2-rc.1`; newer harness baselines stay 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.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. |
28
+ | Harness | DeepSeek Harness `dsh-v0.1.3-alpha.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. Verificado em 2026-09-06 contra o checkout master dsh-v0.1.3-alpha.1 (cadeia completa de portas + smoke de instalação de perfil). |
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 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.
172
+ - **npm 0.1.2-rc.1** — 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
 
package/README.zh.md CHANGED
@@ -25,7 +25,7 @@
25
25
 
26
26
  | 方面 | 状态 |
27
27
  |---|---|
28
- | Harness | DeepSeek Harness `0.1.2-rc.1`(2026-09-02 已适配):会话信封保留 ignorable 字段但仅用于存量日志读取兼容——Session.append 仍无法盖章,门控行为不变。 |
28
+ | Harness | DeepSeek Harness `dsh-v0.1.3-alpha.1`(2026-09-02 已适配):会话信封保留 ignorable 字段但仅用于存量日志读取兼容——Session.append 仍无法盖章,门控行为不变。已于 2026-09-06 对照 dsh-v0.1.3-alpha.1 master 检出核验(完整门禁链 + profile 安装冒烟)。 |
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
- - **仅 alpha.5** —— 插件针对 `@deepseek-ai/dsh@0.1.2-rc.1` 开发与测试;更新的 harness 基线预期可用,由月度 compat 工作流验证。
172
+ - **npm 0.1.2-rc.1** —— 插件针对 `@deepseek-ai/dsh@0.1.2-rc.1` 开发与测试;更新的 harness 基线预期可用,由月度 compat 工作流验证。
173
173
  - **Metrics 不走重试/缓冲路径** —— OTLP metrics 按累计聚合,丢失一次 flush 会在下一次自愈(设计如此,非缺陷)。
174
174
  - **无采样** —— 每个启用的 span 族都会导出;大流量会话请调整 `capture.*` 开关与 `batch.maxBufferRecords`。
175
175
 
package/cordis.patch.yml CHANGED
@@ -4,20 +4,13 @@
4
4
  # the profile load loudly. See README.md "Configuration" for the full table.
5
5
  # Off by default: `enabled: true` PLUS at least one backend is an explicit
6
6
  # opt-in — exporting observability data never happens implicitly.
7
+ #
8
+ # The storage seam (storage / storage-json / storage-domain) is NOT inserted
9
+ # here: every shipped dsh profile composes it through dsh-base, and inserting
10
+ # the same ids again makes the profile refuse to boot with
11
+ # `duplicate loader entry id: storage`. Bare profiles must compose the
12
+ # storage stack themselves.
7
13
  - insert:
8
- - id: storage
9
- name: '@deepseek-ai/dsh-storage'
10
-
11
- - id: storage-json
12
- name: '@deepseek-ai/dsh-storage-json'
13
- config:
14
- root: !!js dshHomePath('storages')
15
-
16
- - id: storage-domain
17
- name: '@deepseek-ai/dsh-storage-domain'
18
- config:
19
- backend: json
20
-
21
14
  - id: dsh-observe
22
15
  name: dsh-observe
23
16
  config:
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.6";
574
+ const VERSION = "0.2.8";
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.6";
9
+ export declare const VERSION = "0.2.8";
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.6';
9
+ export const VERSION = '0.2.8';
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.6",
3
+ "version": "0.2.8",
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",
@@ -107,12 +107,12 @@
107
107
  "packageManager": "pnpm@11.7.0",
108
108
  "peerDependencies": {
109
109
  "@deepseek-ai/cordis": "^4.0.2",
110
- "@deepseek-ai/dsh-llm": ">=0.1.0-rc.8 <0.2.0",
111
- "@deepseek-ai/dsh-session": ">=0.1.0-rc.8 <0.2.0",
112
- "@deepseek-ai/dsh-storage": ">=0.1.0-rc.8 <0.2.0",
113
- "@deepseek-ai/dsh-storage-domain": ">=0.1.0-rc.8 <0.2.0",
114
- "@deepseek-ai/dsh-storage-json": ">=0.1.0-rc.8 <0.2.0",
115
- "@deepseek-ai/dsh-typert-protocol": ">=0.1.0-rc.8 <0.2.0",
110
+ "@deepseek-ai/dsh-llm": ">=0.1.2-rc.1 <0.2.0",
111
+ "@deepseek-ai/dsh-session": ">=0.1.2-rc.1 <0.2.0",
112
+ "@deepseek-ai/dsh-storage": ">=0.1.2-rc.1 <0.2.0",
113
+ "@deepseek-ai/dsh-storage-domain": ">=0.1.2-rc.1 <0.2.0",
114
+ "@deepseek-ai/dsh-storage-json": ">=0.1.2-rc.1 <0.2.0",
115
+ "@deepseek-ai/dsh-typert-protocol": ">=0.1.2-rc.1 <0.2.0",
116
116
  "@deepseek-ai/schemastery": "^3.18.2"
117
117
  },
118
118
  "dependencies": {
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.6'
10
+ export const VERSION = '0.2.8'