@deepseek-ai/dsh-tool-workflow 0.1.2-alpha.3 → 0.1.2-alpha.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/lib/invariant.js CHANGED
@@ -95,7 +95,7 @@ const install = Object.assign((ctx, fail) => {
95
95
  const staged = /* @__PURE__ */ new WeakMap();
96
96
  const seed = (session) => {
97
97
  const trace = /* @__PURE__ */ new Map();
98
- for (const event of session.events.filter(isWorkflowRecordEvent)) applyEvent(trace, event, fail);
98
+ for (const event of session.snapshotEvents().filter(isWorkflowRecordEvent)) applyEvent(trace, event, fail);
99
99
  traces.set(session, trace);
100
100
  return trace;
101
101
  };
@@ -116,7 +116,7 @@ const install = Object.assign((ctx, fail) => {
116
116
  const staged = new WeakMap();
117
117
  const seed = (session) => {
118
118
  const trace = new Map();
119
- for (const event of session.events.filter(isWorkflowRecordEvent))
119
+ for (const event of session.snapshotEvents().filter(isWorkflowRecordEvent))
120
120
  applyEvent(trace, event, fail);
121
121
  traces.set(session, trace);
122
122
  return trace;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deepseek-ai/dsh-tool-workflow",
3
3
  "description": "Model-facing workflow tool: run a JavaScript orchestration script over ctx.workflowEngine",
4
- "version": "0.1.2-alpha.3",
4
+ "version": "0.1.2-alpha.4",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -37,29 +37,29 @@
37
37
  ],
38
38
  "license": "MIT",
39
39
  "peerDependencies": {
40
- "@deepseek-ai/dsh-agent": "^0.1.2-alpha.3",
41
- "@deepseek-ai/dsh-invariants": "^0.1.2-alpha.3",
42
- "@deepseek-ai/dsh-llm": "^0.1.2-alpha.3",
43
- "@deepseek-ai/dsh-session": "^0.1.2-alpha.3",
44
- "@deepseek-ai/dsh-system-prompt": "^0.1.2-alpha.3",
45
- "@deepseek-ai/dsh-tools": "^0.1.2-alpha.3",
46
- "@deepseek-ai/cordis": "^4.0.2",
47
- "@deepseek-ai/dsh-workflow": "^0.1.2-alpha.3"
40
+ "@deepseek-ai/dsh-agent": "^0.1.2-alpha.4",
41
+ "@deepseek-ai/dsh-invariants": "^0.1.2-alpha.4",
42
+ "@deepseek-ai/dsh-llm": "^0.1.2-alpha.4",
43
+ "@deepseek-ai/dsh-session": "^0.1.2-alpha.4",
44
+ "@deepseek-ai/dsh-system-prompt": "^0.1.2-alpha.4",
45
+ "@deepseek-ai/dsh-tools": "^0.1.2-alpha.4",
46
+ "@deepseek-ai/dsh-workflow": "^0.1.2-alpha.4",
47
+ "@deepseek-ai/cordis": "^4.0.2"
48
48
  },
49
49
  "dependencies": {
50
50
  "@deepseek-ai/schemastery": "^3.18.2"
51
51
  },
52
52
  "devDependencies": {
53
- "@deepseek-ai/dsh-agent": "^0.1.2-alpha.3",
54
- "@deepseek-ai/dsh-invariants": "^0.1.2-alpha.3",
55
- "@deepseek-ai/dsh-llm": "^0.1.2-alpha.3",
56
- "@deepseek-ai/dsh-session": "^0.1.2-alpha.3",
57
- "@deepseek-ai/dsh-subagent": "^0.1.2-alpha.3",
58
- "@deepseek-ai/dsh-tools": "^0.1.2-alpha.3",
59
- "@deepseek-ai/dsh-workflow-worker-thread": "^0.1.2-alpha.3",
53
+ "@deepseek-ai/dsh-agent": "^0.1.2-alpha.4",
54
+ "@deepseek-ai/dsh-invariants": "^0.1.2-alpha.4",
55
+ "@deepseek-ai/dsh-llm": "^0.1.2-alpha.4",
56
+ "@deepseek-ai/dsh-session": "^0.1.2-alpha.4",
57
+ "@deepseek-ai/dsh-subagent": "^0.1.2-alpha.4",
58
+ "@deepseek-ai/dsh-system-prompt": "^0.1.2-alpha.4",
59
+ "@deepseek-ai/dsh-tools": "^0.1.2-alpha.4",
60
+ "@deepseek-ai/dsh-workflow": "^0.1.2-alpha.4",
61
+ "@deepseek-ai/dsh-workflow-worker-thread": "^0.1.2-alpha.4",
60
62
  "@deepseek-ai/cordis": "^4.0.2",
61
- "@deepseek-ai/dsh-session-projection": "^0.1.2-alpha.3",
62
- "@deepseek-ai/dsh-system-prompt": "^0.1.2-alpha.3",
63
- "@deepseek-ai/dsh-workflow": "^0.1.2-alpha.3"
63
+ "@deepseek-ai/dsh-session-projection": "^0.1.2-alpha.4"
64
64
  }
65
65
  }