@deepseek-ai/dsh-headless 0.1.6-alpha.2 → 0.1.7-alpha.1

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/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { n as projectJsonRun, t as boundJsonLine } from "./json-stream-Bh4BGGk9.js";
1
+ import { n as projectJsonRun, t as boundJsonLine } from "./json-stream-BA-F3lfb.js";
2
2
  import { randomUUID } from "node:crypto";
3
3
  import z from "@deepseek-ai/schemastery";
4
4
  import { brandString } from "@deepseek-ai/dsh-brand";
@@ -244,12 +244,12 @@ function projectJsonRun(ctx, agent, sink, options = {}) {
244
244
  return;
245
245
  case "tool/result": {
246
246
  if (event.surfaceOp !== "append") return;
247
- const block = event.data.message.content[0];
247
+ const message = event.data.message;
248
248
  write({
249
249
  type: "tool_result",
250
- callId: block.toolCallId,
251
- status: block.isError === true ? "error" : "completed",
252
- result: resultText(block.content)
250
+ callId: message.toolCallId,
251
+ status: message.isError === true ? "error" : "completed",
252
+ result: resultText(message.content)
253
253
  });
254
254
  return;
255
255
  }
package/lib/startup.js CHANGED
@@ -1,4 +1,4 @@
1
- import { t as boundJsonLine } from "./json-stream-Bh4BGGk9.js";
1
+ import { t as boundJsonLine } from "./json-stream-BA-F3lfb.js";
2
2
  import { Command, CommanderError } from "commander";
3
3
  import { parseCmdline } from "@deepseek-ai/dsh-cmdline";
4
4
  //#region lib/types/startup-internals.js
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deepseek-ai/dsh-headless",
3
3
  "description": "The dsh one-shot bundle: a direct core Agent/Session runner over dsh-base with no Host, HTTP, or browser layer",
4
- "version": "0.1.6-alpha.2",
4
+ "version": "0.1.7-alpha.1",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -41,31 +41,31 @@
41
41
  },
42
42
  "dependencies": {
43
43
  "commander": "^15.0.0",
44
- "@deepseek-ai/dsh-brand": "^0.1.6-alpha.2",
45
- "@deepseek-ai/dsh-cmdline": "^0.1.6-alpha.2",
46
- "@deepseek-ai/dsh-util-values": "^0.1.6-alpha.2",
47
- "@deepseek-ai/schemastery": "^3.18.2"
44
+ "@deepseek-ai/dsh-cmdline": "^0.1.7-alpha.1",
45
+ "@deepseek-ai/dsh-util-values": "^0.1.7-alpha.1",
46
+ "@deepseek-ai/dsh-brand": "^0.1.7-alpha.1",
47
+ "@deepseek-ai/schemastery": "^3.18.3"
48
48
  },
49
49
  "peerDependencies": {
50
- "@deepseek-ai/cordis": "^4.0.2",
51
- "@deepseek-ai/cordis-plugin-loader": "^1.0.3",
52
- "@deepseek-ai/dsh-agent": "^0.1.6-alpha.2",
53
- "@deepseek-ai/dsh-agent-default-model": "^0.1.6-alpha.2",
54
- "@deepseek-ai/dsh-llm": "^0.1.6-alpha.2",
55
- "@deepseek-ai/dsh-session": "^0.1.6-alpha.2",
56
- "@deepseek-ai/dsh-session-query": "^0.1.6-alpha.2",
57
- "@deepseek-ai/dsh-fs": "^0.1.6-alpha.2"
50
+ "@deepseek-ai/cordis": "^4.0.3",
51
+ "@deepseek-ai/cordis-plugin-loader": "^1.0.4",
52
+ "@deepseek-ai/dsh-agent": "^0.1.7-alpha.1",
53
+ "@deepseek-ai/dsh-agent-default-model": "^0.1.7-alpha.1",
54
+ "@deepseek-ai/dsh-session": "^0.1.7-alpha.1",
55
+ "@deepseek-ai/dsh-llm": "^0.1.7-alpha.1",
56
+ "@deepseek-ai/dsh-session-query": "^0.1.7-alpha.1",
57
+ "@deepseek-ai/dsh-fs": "^0.1.7-alpha.1"
58
58
  },
59
59
  "devDependencies": {
60
- "@deepseek-ai/cordis-plugin-loader": "^1.0.3",
61
- "@deepseek-ai/dsh-agent": "^0.1.6-alpha.2",
62
- "@deepseek-ai/cordis": "^4.0.2",
63
- "@deepseek-ai/dsh-agent-default-model": "^0.1.6-alpha.2",
64
- "@deepseek-ai/dsh-agent-loop-testkit": "^0.1.6-alpha.2",
65
- "@deepseek-ai/dsh-agent-loop": "^0.1.6-alpha.2",
66
- "@deepseek-ai/dsh-llm": "^0.1.6-alpha.2",
67
- "@deepseek-ai/dsh-session": "^0.1.6-alpha.2",
68
- "@deepseek-ai/dsh-session-query": "^0.1.6-alpha.2",
69
- "@deepseek-ai/dsh-fs": "^0.1.6-alpha.2"
60
+ "@deepseek-ai/cordis": "^4.0.3",
61
+ "@deepseek-ai/cordis-plugin-loader": "^1.0.4",
62
+ "@deepseek-ai/dsh-agent": "^0.1.7-alpha.1",
63
+ "@deepseek-ai/dsh-agent-loop": "^0.1.7-alpha.1",
64
+ "@deepseek-ai/dsh-agent-loop-testkit": "^0.1.7-alpha.1",
65
+ "@deepseek-ai/dsh-agent-default-model": "^0.1.7-alpha.1",
66
+ "@deepseek-ai/dsh-llm": "^0.1.7-alpha.1",
67
+ "@deepseek-ai/dsh-session": "^0.1.7-alpha.1",
68
+ "@deepseek-ai/dsh-fs": "^0.1.7-alpha.1",
69
+ "@deepseek-ai/dsh-session-query": "^0.1.7-alpha.1"
70
70
  }
71
71
  }