@duckmind/dm-darwin-x64 0.66.8 → 0.66.9

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/README.md CHANGED
@@ -4,7 +4,11 @@
4
4
  No UI overhead. Just plan, run, and get things done.
5
5
  </p>
6
6
 
7
- ## What's new in 0.66.8
7
+ Requires Node.js 22.19.0 or newer for bundled web access (including `undici`).
8
+ If your Node.js is older, upgrade it before installing or updating DM.
9
+ Install `@duckmind/dm`, not a platform package for a different OS.
8
10
 
9
- What’s new: Web control, monitoring, multi-agent DM, and terminal text selection, copy & paste on web tty. Start with /tty start or dm --host 0.0.0.0.
11
+ ## What's new in 0.66.9
12
+
13
+ What’s new: Bug fixes and a new Web TTY (start with /tty start or dm --host 0.0.0.0).
10
14
 
package/dm CHANGED
@@ -1,4 +1,4 @@
1
1
  [diffend] Oversized file quarantined before diffing.
2
2
  name: package/dm
3
3
  size: 79153728 bytes
4
- sha256: 93c63daf645b2d53b6d8d3841b5c68a1ddb67e7c004e47dda9aa72e75b1df13d
4
+ sha256: 361a13b5badcfa6a4d0b58500cd8c85605f54057b2caa6fac3caedeee7644deb
@@ -840,8 +840,8 @@
840
840
  "zai.js"
841
841
  ],
842
842
  "file_count": 93,
843
- "before_bytes": 3520597,
844
- "after_bytes": 3344463,
843
+ "before_bytes": 3519916,
844
+ "after_bytes": 3343949,
845
845
  "runtime_specifier_rewrites": 72,
846
846
  "runtime_filename_rewrites": 90,
847
847
  "declaration_files_removed": 1
@@ -24434,13 +24434,7 @@ var CAPABILITY_LABELS = {
24434
24434
  "stored-content": "stored-result retrieval"
24435
24435
  };
24436
24436
  function supportsDynamicTools(pi) {
24437
- if (typeof pi.getAllTools !== "function" || typeof pi.getActiveTools !== "function" || typeof pi.setActiveTools !== "function")
24438
- return false;
24439
- const unsubscribe = pi.on("session_start", () => {});
24440
- if (typeof unsubscribe !== "function")
24441
- return false;
24442
- unsubscribe();
24443
- return true;
24437
+ return typeof pi.on === "function" && typeof pi.getAllTools === "function" && typeof pi.getActiveTools === "function" && typeof pi.setActiveTools === "function";
24444
24438
  }
24445
24439
  function addsToolsWithoutCheckpoint(model) {
24446
24440
  const compat = model?.compat;
@@ -24476,7 +24470,6 @@ function registerWebToolActivation(pi, tools, mode) {
24476
24470
  if (tools.length === 0)
24477
24471
  return;
24478
24472
  if (!supportsDynamicTools(pi)) {
24479
- console.warn("[dm-web-access] Dynamic tool activation requires DM 0.86.0 or newer; web tools remain eagerly available.");
24480
24473
  return;
24481
24474
  }
24482
24475
  const names = tools.map((tool) => tool.name);
@@ -8,13 +8,7 @@ const CAPABILITY_LABELS = {
8
8
  "stored-content": "stored-result retrieval"
9
9
  };
10
10
  function supportsDynamicTools(pi) {
11
- if (typeof pi.getAllTools !== "function" || typeof pi.getActiveTools !== "function" || typeof pi.setActiveTools !== "function")
12
- return false;
13
- const unsubscribe = pi.on("session_start", () => {});
14
- if (typeof unsubscribe !== "function")
15
- return false;
16
- unsubscribe();
17
- return true;
11
+ return typeof pi.on === "function" && typeof pi.getAllTools === "function" && typeof pi.getActiveTools === "function" && typeof pi.setActiveTools === "function";
18
12
  }
19
13
  function addsToolsWithoutCheckpoint(model) {
20
14
  const compat = model?.compat;
@@ -50,7 +44,6 @@ export function registerWebToolActivation(pi, tools, mode) {
50
44
  if (tools.length === 0)
51
45
  return;
52
46
  if (!supportsDynamicTools(pi)) {
53
- console.warn("[dm-web-access] Dynamic tool activation requires DM 0.86.0 or newer; web tools remain eagerly available.");
54
47
  return;
55
48
  }
56
49
  const names = tools.map((tool) => tool.name);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@duckmind/dm-darwin-x64",
3
- "version": "0.66.8",
3
+ "version": "0.66.9",
4
4
  "description": "DuckMind (dm) binary payload for darwin x64",
5
5
  "license": "MIT",
6
6
  "os": [
@@ -12,7 +12,7 @@
12
12
  "bin": {
13
13
  "dm": "dm"
14
14
  },
15
- "piConfig": {
15
+ "dmConfig": {
16
16
  "name": "dm",
17
17
  "configDir": ".dm"
18
18
  },
@@ -24,7 +24,7 @@
24
24
  "terminal"
25
25
  ],
26
26
  "engines": {
27
- "node": ">=20.0.0"
27
+ "node": ">=22.19.0"
28
28
  },
29
29
  "dependencies": {
30
30
  "@js-temporal/polyfill": "0.5.1",