@morlay/dsh-subagent 0.0.1-alpha.3 → 0.0.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.
Files changed (2) hide show
  1. package/dist/index.mjs +2 -2
  2. package/package.json +23 -23
package/dist/index.mjs CHANGED
@@ -6598,12 +6598,12 @@ function withContinuableReturnGuidance(parentId, prompt) {
6598
6598
  }
6599
6599
  //#endregion
6600
6600
  //#region ../../../vendor/deepseek-harness/packages/util/values/lib/index.js
6601
- /** Whether a realm-owned intrinsic prototype is backed by its native constructor. */
6601
+ /** Whether a realm-owned intrinsic prototype has a native constructor matching this engine's representation. */
6602
6602
  function hasIntrinsicConstructor(prototype, name) {
6603
6603
  const constructor = Object.getOwnPropertyDescriptor(prototype, "constructor")?.value;
6604
6604
  if (typeof constructor !== "function") return false;
6605
6605
  try {
6606
- return constructor.name === name && constructor.prototype === prototype && Function.prototype.toString.call(constructor) === `function ${name}() { [native code] }`;
6606
+ return constructor.name === name && constructor.prototype === prototype && Function.prototype.toString.call(constructor) === Function.prototype.toString.call(name === "Array" ? Array : Object);
6607
6607
  } catch {
6608
6608
  return false;
6609
6609
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@morlay/dsh-subagent",
3
- "version": "0.0.1-alpha.3",
3
+ "version": "0.0.2",
4
4
  "description": "Thin-shell fork of @deepseek-ai/dsh-subagent: takes over the `subagent` row only to replace the continuable-child return guidance with Chinese wording; everything not intentionally changed is imported from the vendored upstream source",
5
5
  "keywords": [
6
6
  "dsh",
@@ -26,36 +26,36 @@
26
26
  "./locale/*.json": "./locale/*.json"
27
27
  },
28
28
  "dependencies": {
29
- "@deepseek-ai/dsh-brand": "^0.1.7-rc.2",
29
+ "@deepseek-ai/dsh-brand": "^0.2.0-rc.1",
30
30
  "@deepseek-ai/schemastery": "~3.18.4"
31
31
  },
32
32
  "devDependencies": {
33
- "@deepseek-ai/dsh-agent-loop": "0.1.7-rc.2",
34
- "@deepseek-ai/dsh-agent-loop-testkit": "0.1.7-rc.2",
35
- "@deepseek-ai/dsh-chunked-list": "0.1.7-rc.2",
36
- "@deepseek-ai/dsh-invariants": "0.1.7-rc.2",
37
- "@deepseek-ai/dsh-session-persistence-jsonl": "0.1.7-rc.2",
38
- "@deepseek-ai/dsh-subagent-fork-in-process": "0.1.7-rc.2",
39
- "@deepseek-ai/dsh-subagent-spawn-in-process": "0.1.7-rc.2",
40
- "@deepseek-ai/dsh-tool-subagent-control": "0.1.7-rc.2",
41
- "@deepseek-ai/dsh-util-values": "0.1.7-rc.2",
33
+ "@deepseek-ai/dsh-agent-loop": "0.2.0-rc.1",
34
+ "@deepseek-ai/dsh-agent-loop-testkit": "0.2.0-rc.1",
35
+ "@deepseek-ai/dsh-chunked-list": "0.2.0-rc.1",
36
+ "@deepseek-ai/dsh-invariants": "0.2.0-rc.1",
37
+ "@deepseek-ai/dsh-session-persistence-jsonl": "0.2.0-rc.1",
38
+ "@deepseek-ai/dsh-subagent-fork-in-process": "0.2.0-rc.1",
39
+ "@deepseek-ai/dsh-subagent-spawn-in-process": "0.2.0-rc.1",
40
+ "@deepseek-ai/dsh-tool-subagent-control": "0.2.0-rc.1",
41
+ "@deepseek-ai/dsh-util-values": "0.2.0-rc.1",
42
42
  "@deepseek-ai/schemastery": "~3.18.4",
43
43
  "zod": "^4.4.3"
44
44
  },
45
45
  "peerDependencies": {
46
46
  "@deepseek-ai/cordis": "~4.0.4",
47
- "@deepseek-ai/dsh-agent": "^0.1.7-rc.2",
48
- "@deepseek-ai/dsh-agent-preset-registry": "^0.1.7-rc.2",
49
- "@deepseek-ai/dsh-attachment": "^0.1.7-rc.2",
50
- "@deepseek-ai/dsh-llm": "^0.1.7-rc.2",
51
- "@deepseek-ai/dsh-scope": "^0.1.7-rc.2",
52
- "@deepseek-ai/dsh-session": "^0.1.7-rc.2",
53
- "@deepseek-ai/dsh-session-persistence": "^0.1.7-rc.2",
54
- "@deepseek-ai/dsh-session-query": "^0.1.7-rc.2",
55
- "@deepseek-ai/dsh-subagent": "^0.1.7-rc.2",
56
- "@deepseek-ai/dsh-tools": "^0.1.7-rc.2",
57
- "@deepseek-ai/dsh-typert-protocol": "^0.1.7-rc.2",
58
- "@deepseek-ai/dsh-util-time": "^0.1.7-rc.2"
47
+ "@deepseek-ai/dsh-agent": "^0.2.0-rc.1",
48
+ "@deepseek-ai/dsh-agent-preset-registry": "^0.2.0-rc.1",
49
+ "@deepseek-ai/dsh-attachment": "^0.2.0-rc.1",
50
+ "@deepseek-ai/dsh-llm": "^0.2.0-rc.1",
51
+ "@deepseek-ai/dsh-scope": "^0.2.0-rc.1",
52
+ "@deepseek-ai/dsh-session": "^0.2.0-rc.1",
53
+ "@deepseek-ai/dsh-session-persistence": "^0.2.0-rc.1",
54
+ "@deepseek-ai/dsh-session-query": "^0.2.0-rc.1",
55
+ "@deepseek-ai/dsh-subagent": "^0.2.0-rc.1",
56
+ "@deepseek-ai/dsh-tools": "^0.2.0-rc.1",
57
+ "@deepseek-ai/dsh-typert-protocol": "^0.2.0-rc.1",
58
+ "@deepseek-ai/dsh-util-time": "^0.2.0-rc.1"
59
59
  },
60
60
  "peerDependenciesMeta": {
61
61
  "@deepseek-ai/dsh-session-persistence": {