dsh-observe 0.2.1 → 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 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.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
+
8
14
  ## [0.2.1] - 2026-08-30
9
15
 
10
16
  ### Fixed
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` |
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. |
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 |
package/README.hi.md CHANGED
@@ -25,7 +25,7 @@
25
25
 
26
26
  | सतह | स्थिति |
27
27
  |---|---|
28
- | 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 अभी भी इसे स्टैम्प नहीं कर सकता, इसलिए गेट व्यवहार अपरिवर्तित है। |
29
29
  | Node | `^22.19.0 \|\| >=24.0.0` |
30
30
  | बैकएंड | OpenTelemetry OTLP/HTTP (traces + metrics, JSON एन्कोडिंग) और Langfuse (LLM ऑब्ज़र्वेबिलिटी) — एक या दोनों |
31
31
  | मॉडल | मॉडल-स्वतंत्र: यह `session/event` स्ट्रीम निर्यात करता है; कोई मॉडल कॉल नहीं करता |
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` |
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. |
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
- - **rc.2 only** — the plugin is developed and tested against `@deepseek-ai/dsh@0.1.1-rc.2`; newer harness baselines are expected to work but are verified by the monthly compat workflow.
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.
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.1-rc.2 types (no paths)
182
+ pnpm run typecheck:ci # tsc against the published 0.1.2-alpha.3 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/)
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` |
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. |
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 |
package/README.zh.md CHANGED
@@ -25,7 +25,7 @@
25
25
 
26
26
  | 方面 | 状态 |
27
27
  |---|---|
28
- | 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 仍无法盖章,门控行为不变。 |
29
29
  | Node | `^22.19.0 \|\| >=24.0.0` |
30
30
  | 后端 | OpenTelemetry OTLP/HTTP(traces + metrics,JSON 编码)与 Langfuse(LLM 可观测)——二选一或同时 |
31
31
  | 模型 | 与模型无关:它导出 session/event 流,自身不调用任何模型 |
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.1";
574
+ const VERSION = "0.2.2";
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.1";
9
+ export declare const VERSION = "0.2.2";
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.1';
9
+ export const VERSION = '0.2.2';
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.1",
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.1-rc.2"
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.1",
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.0"
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/cordis": "^4.0.1",
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.1-rc.2",
128
- "@deepseek-ai/dsh-session": "0.1.1-rc.2",
129
- "@deepseek-ai/dsh-storage": "0.1.1-rc.2",
130
- "@deepseek-ai/dsh-storage-domain": "0.1.1-rc.2",
131
- "@deepseek-ai/dsh-storage-json": "0.1.1-rc.2",
132
- "@deepseek-ai/dsh-typert-protocol": "0.1.1-rc.2",
133
- "@deepseek-ai/schemastery": "^3.18.0",
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",
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.1'
10
+ export const VERSION = '0.2.2'