@amaster.ai/dsh-langfuse 0.1.27 → 0.1.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.
Files changed (2) hide show
  1. package/README.md +2 -0
  2. package/package.json +16 -17
package/README.md CHANGED
@@ -95,6 +95,8 @@ Custom bridges use the same `hook/invoked` and `hook/result` session records. Th
95
95
 
96
96
  Import `appendHookEvent`, `HookInvoked`, and `HookResult` from `@amaster.ai/dsh-langfuse`. This typed writer uses the real `session.append` publication path without redeclaring `SessionEventMap`. Its TypeScript adaptation allows custom payloads despite the optional upstream `dsh-hook-protocol` type augmentation; it does not widen that package's runtime contract, runner, or bridge APIs. The writer validates fields, catches append failures, logs `[dsh-langfuse]`, and returns a boolean; telemetry success must never control a hook's decision.
97
97
 
98
+ **DSH 0.2.1-rc.2.** The upstream hook invariant companion and `dsh-invariants` package are no longer part of this runtime. Custom dialects and delayed results are accepted through the session publication seam; the plugin still validates hook records and contains append failures.
99
+
98
100
  **Runtime compatibility boundary (verified with `dsh-hook-protocol@0.2.0-rc.2`).** When its invariant companion is registered and enabled through `dsh-invariants`, it rejects dialects other than `claude-code`/`codex`, invocations outside an open turn, and results after their turn closes or while another turn is open. A type assertion cannot bypass these pre-commit checks. `appendHookEvent` returns `false` for rejected records; they are not committed or published and produce no Langfuse hook observation.
99
101
 
100
102
  | Runtime composition | Claude Code/Codex pairs in the open turn | Custom dialects | Detached invocations / late results |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amaster.ai/dsh-langfuse",
3
- "version": "0.1.27",
3
+ "version": "0.1.29",
4
4
  "description": "Langfuse observability plugin for DeepSeek Harness: one generation per LLM call with a nested llm-request span, one span per tool call, one trace per session turn, subagent child sessions nested under the parent's tree.",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -36,11 +36,11 @@
36
36
  },
37
37
  "peerDependencies": {
38
38
  "@deepseek-ai/cordis": "^4.0.1",
39
- "@deepseek-ai/dsh-attachment": ">=0.2.0-rc.1",
40
- "@deepseek-ai/dsh-llm": ">=0.1.5-rc.1 || >=0.1.6-alpha.1 || >=0.1.7-alpha.1 || >=0.2.0-rc.1",
41
- "@deepseek-ai/dsh-session": ">=0.1.5-rc.1 || >=0.1.6-alpha.1 || >=0.1.7-alpha.1 || >=0.2.0-rc.1",
42
- "@deepseek-ai/dsh-subagent": ">=0.1.5-rc.1 || >=0.1.6-alpha.1 || >=0.1.7-alpha.1 || >=0.2.0-rc.1",
43
- "@deepseek-ai/dsh-tools": ">=0.1.5-rc.1 || >=0.1.6-alpha.1 || >=0.1.7-alpha.1 || >=0.2.0-rc.1",
39
+ "@deepseek-ai/dsh-attachment": ">=0.2.0-rc.1 || >=0.2.1-rc.1",
40
+ "@deepseek-ai/dsh-llm": ">=0.1.5-rc.1 || >=0.1.6-alpha.1 || >=0.1.7-alpha.1 || >=0.2.0-rc.1 || >=0.2.1-rc.1",
41
+ "@deepseek-ai/dsh-session": ">=0.1.5-rc.1 || >=0.1.6-alpha.1 || >=0.1.7-alpha.1 || >=0.2.0-rc.1 || >=0.2.1-rc.1",
42
+ "@deepseek-ai/dsh-subagent": ">=0.1.5-rc.1 || >=0.1.6-alpha.1 || >=0.1.7-alpha.1 || >=0.2.0-rc.1 || >=0.2.1-rc.1",
43
+ "@deepseek-ai/dsh-tools": ">=0.1.5-rc.1 || >=0.1.6-alpha.1 || >=0.1.7-alpha.1 || >=0.2.0-rc.1 || >=0.2.1-rc.1",
44
44
  "@langfuse/otel": "^5.10.1",
45
45
  "@langfuse/tracing": "^5.10.1",
46
46
  "@opentelemetry/api": "^1.9.0",
@@ -64,18 +64,17 @@
64
64
  }
65
65
  },
66
66
  "devDependencies": {
67
- "@deepseek-ai/cordis": "^4.0.4",
68
- "@deepseek-ai/dsh-agent": "0.2.0-rc.2",
67
+ "@deepseek-ai/cordis": "4.0.5",
68
+ "@deepseek-ai/dsh-agent": "0.2.1-rc.2",
69
69
  "@deepseek-ai/dsh-attachment": "0.2.1-rc.2",
70
- "@deepseek-ai/dsh-hook-protocol": "0.2.0-rc.2",
71
- "@deepseek-ai/dsh-invariants": "0.2.0-rc.2",
72
- "@deepseek-ai/dsh-llm": "0.2.0-rc.2",
73
- "@deepseek-ai/dsh-ptc-runtime": "0.2.0-rc.2",
74
- "@deepseek-ai/dsh-session": "0.2.0-rc.2",
75
- "@deepseek-ai/dsh-session-projection": "0.2.0-rc.2",
76
- "@deepseek-ai/dsh-subagent": "0.2.0-rc.2",
77
- "@deepseek-ai/dsh-tools": "0.2.0-rc.2",
78
- "@deepseek-ai/dsh-util-time": "0.2.0-rc.2",
70
+ "@deepseek-ai/dsh-hook-protocol": "0.2.1-rc.2",
71
+ "@deepseek-ai/dsh-llm": "0.2.1-rc.2",
72
+ "@deepseek-ai/dsh-ptc-runtime": "0.2.1-rc.2",
73
+ "@deepseek-ai/dsh-session": "0.2.1-rc.2",
74
+ "@deepseek-ai/dsh-session-projection": "0.2.1-rc.2",
75
+ "@deepseek-ai/dsh-subagent": "0.2.1-rc.2",
76
+ "@deepseek-ai/dsh-tools": "0.2.1-rc.2",
77
+ "@deepseek-ai/dsh-util-time": "0.2.1-rc.2",
79
78
  "@langfuse/otel": "5.10.1",
80
79
  "@langfuse/tracing": "5.10.1",
81
80
  "@opentelemetry/api": "^1.9.1",