@duckmind/dm-darwin-x64 0.36.4 → 0.36.8

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 (111) hide show
  1. package/dm +0 -0
  2. package/extensions/.dm-extensions.json +1 -1
  3. package/extensions/dm-9router-ext/package.json +1 -1
  4. package/extensions/dm-9router-ext/src/index.ts +1 -1
  5. package/extensions/dm-ask-user/README.md +3 -3
  6. package/extensions/dm-ask-user/index.ts +2 -2
  7. package/extensions/dm-ask-user/package.json +4 -4
  8. package/extensions/dm-cli-anything/package.json +1 -1
  9. package/extensions/dm-context/package.json +1 -1
  10. package/extensions/dm-context/src/context.ts +2 -2
  11. package/extensions/dm-context/src/index.ts +3 -3
  12. package/extensions/dm-cua/package.json +2 -2
  13. package/extensions/dm-goal/package.json +6 -6
  14. package/extensions/dm-goal/src/commands.ts +1 -1
  15. package/extensions/dm-goal/src/index.ts +1 -1
  16. package/extensions/dm-goal/src/tools.ts +2 -2
  17. package/extensions/dm-goal/test/index.test.ts +1 -1
  18. package/extensions/dm-image2/index.js +1 -1
  19. package/extensions/dm-image2/package.json +2 -2
  20. package/extensions/dm-image2/src/image-lib.mjs +1 -1
  21. package/extensions/dm-last30days/package.json +1 -1
  22. package/extensions/dm-subagents/CHANGELOG.md +2 -2
  23. package/extensions/dm-subagents/node_modules/.package-lock.json +9 -0
  24. package/extensions/dm-subagents/package-lock.json +136 -2935
  25. package/extensions/dm-subagents/package.json +6 -6
  26. package/extensions/dm-subagents/src/agent-manager.ts +2 -2
  27. package/extensions/dm-subagents/src/agent-record.ts +1 -1
  28. package/extensions/dm-subagents/src/agent-runner.ts +2 -2
  29. package/extensions/dm-subagents/src/context.ts +1 -1
  30. package/extensions/dm-subagents/src/custom-agents.ts +1 -1
  31. package/extensions/dm-subagents/src/execution-state.ts +1 -1
  32. package/extensions/dm-subagents/src/index.ts +2 -2
  33. package/extensions/dm-subagents/src/parent-snapshot.ts +1 -1
  34. package/extensions/dm-subagents/src/renderer.ts +1 -1
  35. package/extensions/dm-subagents/src/service-adapter.ts +1 -1
  36. package/extensions/dm-subagents/src/settings.ts +1 -1
  37. package/extensions/dm-subagents/src/skill-loader.ts +1 -1
  38. package/extensions/dm-subagents/src/tools/agent-tool.ts +2 -2
  39. package/extensions/dm-subagents/src/tools/foreground-runner.ts +1 -1
  40. package/extensions/dm-subagents/src/tools/get-result-tool.ts +1 -1
  41. package/extensions/dm-subagents/src/tools/spawn-config.ts +1 -1
  42. package/extensions/dm-subagents/src/tools/steer-tool.ts +1 -1
  43. package/extensions/dm-subagents/src/types.ts +1 -1
  44. package/extensions/dm-subagents/src/ui/agent-config-editor.ts +1 -1
  45. package/extensions/dm-subagents/src/ui/agent-creation-wizard.ts +1 -1
  46. package/extensions/dm-subagents/src/ui/agent-menu.ts +1 -1
  47. package/extensions/dm-subagents/src/ui/conversation-viewer.ts +2 -2
  48. package/extensions/dm-subagents/src/ui/widget-renderer.ts +1 -1
  49. package/extensions/dm-subagents/test/agent-runner.test.ts +1 -1
  50. package/extensions/dm-subagents/test/conversation-viewer.test.ts +6 -6
  51. package/extensions/dm-subagents/test/custom-agents.test.ts +6 -6
  52. package/extensions/dm-subagents/test/helpers/mock-session.ts +1 -1
  53. package/extensions/dm-subagents/test/helpers/stub-ctx.ts +1 -1
  54. package/extensions/dm-subagents/test/parent-snapshot.test.ts +1 -1
  55. package/extensions/dm-subagents/test/settings.test.ts +5 -5
  56. package/extensions/dm-subagents/test/skill-loader.test.ts +5 -5
  57. package/extensions/dm-subagents/test/unit/subagent-contract.test.ts +5 -3
  58. package/extensions/dm-tasks/node_modules/.package-lock.json +3 -3
  59. package/extensions/dm-tasks/node_modules/typebox/build/type/action/conditional.d.mts +2 -3
  60. package/extensions/dm-tasks/node_modules/typebox/build/type/action/conditional.mjs +2 -1
  61. package/extensions/dm-tasks/node_modules/typebox/build/type/action/mapped.d.mts +2 -3
  62. package/extensions/dm-tasks/node_modules/typebox/build/type/action/mapped.mjs +2 -1
  63. package/extensions/dm-tasks/node_modules/typebox/build/type/engine/call/instantiate.d.mts +1 -3
  64. package/extensions/dm-tasks/node_modules/typebox/build/type/engine/call/instantiate.mjs +3 -2
  65. package/extensions/dm-tasks/node_modules/typebox/build/type/engine/constructor_parameters/instantiate.d.mts +3 -4
  66. package/extensions/dm-tasks/node_modules/typebox/build/type/engine/constructor_parameters/instantiate.mjs +2 -1
  67. package/extensions/dm-tasks/node_modules/typebox/build/type/engine/cyclic/instantiate.d.mts +2 -5
  68. package/extensions/dm-tasks/node_modules/typebox/build/type/engine/cyclic/instantiate.mjs +3 -2
  69. package/extensions/dm-tasks/node_modules/typebox/build/type/engine/instantiate.d.mts +5 -5
  70. package/extensions/dm-tasks/node_modules/typebox/build/type/engine/instantiate.mjs +4 -1
  71. package/extensions/dm-tasks/node_modules/typebox/build/type/engine/interface/instantiate.d.mts +3 -6
  72. package/extensions/dm-tasks/node_modules/typebox/build/type/engine/module/instantiate.d.mts +1 -3
  73. package/extensions/dm-tasks/node_modules/typebox/build/type/engine/module/instantiate.mjs +2 -1
  74. package/extensions/dm-tasks/node_modules/typebox/build/type/engine/parameters/instantiate.d.mts +3 -4
  75. package/extensions/dm-tasks/node_modules/typebox/build/type/engine/parameters/instantiate.mjs +2 -1
  76. package/extensions/dm-tasks/node_modules/typebox/build/type/engine/ref/instantiate.d.mts +3 -3
  77. package/extensions/dm-tasks/node_modules/typebox/build/type/engine/ref/instantiate.mjs +6 -6
  78. package/extensions/dm-tasks/node_modules/typebox/build/type/extends/tuple.d.mts +3 -6
  79. package/extensions/dm-tasks/node_modules/typebox/build/type/extends/tuple.mjs +3 -2
  80. package/extensions/dm-tasks/node_modules/typebox/build/type/script/script.d.mts +3 -4
  81. package/extensions/dm-tasks/node_modules/typebox/build/type/script/script.mjs +3 -2
  82. package/extensions/dm-tasks/node_modules/typebox/build/type/types/call.d.mts +3 -3
  83. package/extensions/dm-tasks/node_modules/typebox/build/type/types/call.mjs +3 -2
  84. package/extensions/dm-tasks/node_modules/typebox/package.json +1 -1
  85. package/extensions/dm-tasks/package-lock.json +3 -3
  86. package/extensions/dm-tasks/src/index.ts +1 -1
  87. package/extensions/dm-tasks/src/ui/settings-menu.ts +2 -2
  88. package/extensions/dm-tasks/src/ui/task-widget.ts +1 -1
  89. package/extensions/dm-ultradex/AGENTS.md +2 -2
  90. package/extensions/dm-ultradex/account-manager.test.ts +1 -1
  91. package/extensions/dm-ultradex/account-manager.ts +1 -1
  92. package/extensions/dm-ultradex/auth.ts +1 -1
  93. package/extensions/dm-ultradex/browser.ts +1 -1
  94. package/extensions/dm-ultradex/commands.ts +4 -4
  95. package/extensions/dm-ultradex/extension.ts +2 -2
  96. package/extensions/dm-ultradex/index.test.ts +5 -3
  97. package/extensions/dm-ultradex/node_modules/.package-lock.json +9 -0
  98. package/extensions/dm-ultradex/package-lock.json +124 -2520
  99. package/extensions/dm-ultradex/package.json +7 -7
  100. package/extensions/dm-ultradex/provider.ts +2 -2
  101. package/extensions/dm-ultradex/refresh-race.test.ts +2 -2
  102. package/extensions/dm-ultradex/status.ts +4 -4
  103. package/extensions/dm-ultradex/stream-wrapper.ts +1 -1
  104. package/extensions/dm-usage/index.ts +3 -3
  105. package/extensions/dm-usage/package.json +4 -4
  106. package/extensions/greedysearch-dm/index.ts +1 -1
  107. package/extensions/greedysearch-dm/package-lock.json +2 -2
  108. package/extensions/greedysearch-dm/package.json +2 -2
  109. package/extensions/greedysearch-dm/src/tools/greedy-search-handler.ts +2 -2
  110. package/package.json +1 -1
  111. package/theme/duckmind-classic.json +1 -1
package/dm CHANGED
Binary file
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "status": "ok",
3
- "prepared_at": "2026-06-08T01:10:30.489829+00:00",
3
+ "prepared_at": "2026-06-08T17:23:13.125936+00:00",
4
4
  "managed_entries": [
5
5
  {
6
6
  "id": "dm-context",
@@ -36,7 +36,7 @@
36
36
  },
37
37
  "peerDependencies": {
38
38
  "typebox": "*",
39
- "@mariozechner/pi-coding-agent": "*"
39
+ "@earendil-works/pi-coding-agent": "*"
40
40
  },
41
41
  "devDependencies": {
42
42
  "@types/node": "^22.0.0",
@@ -18,7 +18,7 @@
18
18
  import { existsSync, mkdirSync, readFileSync, writeFileSync } from "node:fs";
19
19
  import { homedir } from "node:os";
20
20
  import { dirname, join } from "node:path";
21
- import type { ExtensionAPI, ExtensionContext } from "@mariozechner/pi-coding-agent";
21
+ import type { ExtensionAPI, ExtensionContext } from "@earendil-works/pi-coding-agent";
22
22
  import { Type } from "typebox";
23
23
 
24
24
  // =============================================================================
@@ -220,7 +220,7 @@ The tool includes `promptSnippet` and `promptGuidelines` so the LLM knows when a
220
220
 
221
221
  | Package | Role |
222
222
  | ------------------------------- | ------------------------------------------------- |
223
- | `@mariozechner/pi-coding-agent` | Extension API, theme types |
224
- | `@mariozechner/pi-tui` | TUI primitives: Editor, Key, matchesKey, etc. |
225
- | `@mariozechner/pi-ai` | `StringEnum` for Google-compatible enum schemas |
223
+ | `@earendil-works/pi-coding-agent` | Extension API, theme types |
224
+ | `@earendil-works/pi-tui` | TUI primitives: Editor, Key, matchesKey, etc. |
225
+ | `@earendil-works/pi-ai` | `StringEnum` for Google-compatible enum schemas |
226
226
  | `@sinclair/typebox` | JSON Schema definitions for tool parameters |
@@ -18,8 +18,8 @@
18
18
  * - Esc to cancel
19
19
  */
20
20
 
21
- import type { ExtensionAPI } from "@mariozechner/pi-coding-agent";
22
- import { Editor, type EditorTheme, Key, matchesKey, Text, truncateToWidth, visibleWidth } from "@mariozechner/pi-tui";
21
+ import type { ExtensionAPI } from "@earendil-works/pi-coding-agent";
22
+ import { Editor, type EditorTheme, Key, matchesKey, Text, truncateToWidth, visibleWidth } from "@earendil-works/pi-tui";
23
23
  import { Type } from "@sinclair/typebox";
24
24
 
25
25
  // ─── Types ───────────────────────────────────────────────────────────────────
@@ -29,9 +29,9 @@
29
29
  },
30
30
  "homepage": "https://github.com/que-nguyen/dm#readme",
31
31
  "peerDependencies": {
32
- "@mariozechner/pi-ai": "*",
33
- "@mariozechner/pi-coding-agent": "*",
34
- "@mariozechner/pi-tui": "*",
35
- "@sinclair/typebox": "*"
32
+ "@sinclair/typebox": "*",
33
+ "@earendil-works/pi-ai": "*",
34
+ "@earendil-works/pi-coding-agent": "*",
35
+ "@earendil-works/pi-tui": "*"
36
36
  }
37
37
  }
@@ -27,6 +27,6 @@
27
27
  ]
28
28
  },
29
29
  "peerDependencies": {
30
- "@mariozechner/pi-coding-agent": "*"
30
+ "@earendil-works/pi-coding-agent": "*"
31
31
  }
32
32
  }
@@ -9,7 +9,7 @@
9
9
  "devDependencies": {
10
10
  "@sinclair/typebox": "^0.34.13",
11
11
  "typescript": "^5.7.2",
12
- "@mariozechner/pi-coding-agent": "latest"
12
+ "@earendil-works/pi-coding-agent": "file:../../pi-mono/packages/coding-agent"
13
13
  },
14
14
  "pi": {
15
15
  "extensions": [
@@ -2,8 +2,8 @@ import {
2
2
  type ExtensionAPI,
3
3
  type SessionManager,
4
4
  DynamicBorder,
5
- } from "@mariozechner/pi-coding-agent";
6
- import { Container, Text, Spacer } from "@mariozechner/pi-tui";
5
+ } from "@earendil-works/pi-coding-agent";
6
+ import { Container, Text, Spacer } from "@earendil-works/pi-tui";
7
7
  import { formatTokens } from "./utils.js";
8
8
 
9
9
  export default function (pi: ExtensionAPI) {
@@ -2,14 +2,14 @@ import {
2
2
  type ExtensionAPI,
3
3
  type SessionManager,
4
4
  type SessionEntry,
5
- } from "@mariozechner/pi-coding-agent";
5
+ } from "@earendil-works/pi-coding-agent";
6
6
  import type {
7
7
  TextContent,
8
8
  ImageContent,
9
9
  ToolCall,
10
- } from "@mariozechner/pi-ai";
10
+ } from "@earendil-works/pi-ai";
11
11
  import { Type, type Static } from "@sinclair/typebox";
12
- import { ExtensionCommandContext } from "@mariozechner/pi-coding-agent";
12
+ import { ExtensionCommandContext } from "@earendil-works/pi-coding-agent";
13
13
  import { formatTokens } from "./utils.js";
14
14
 
15
15
  // Define missing types locally as they are not exported from the main entry point
@@ -28,7 +28,7 @@
28
28
  "automation"
29
29
  ],
30
30
  "peerDependencies": {
31
- "@mariozechner/pi-coding-agent": "*",
32
- "@sinclair/typebox": "*"
31
+ "@sinclair/typebox": "*",
32
+ "@earendil-works/pi-coding-agent": "*"
33
33
  }
34
34
  }
@@ -40,17 +40,17 @@
40
40
  },
41
41
  "peerDependencies": {
42
42
  "typebox": "*",
43
- "@mariozechner/pi-ai": "*",
44
- "@mariozechner/pi-coding-agent": "*"
43
+ "@earendil-works/pi-ai": "*",
44
+ "@earendil-works/pi-coding-agent": "*"
45
45
  },
46
46
  "peerDependenciesMeta": {
47
47
  "typebox": {
48
48
  "optional": true
49
49
  },
50
- "@mariozechner/pi-ai": {
50
+ "@earendil-works/pi-ai": {
51
51
  "optional": true
52
52
  },
53
- "@mariozechner/pi-coding-agent": {
53
+ "@earendil-works/pi-coding-agent": {
54
54
  "optional": true
55
55
  }
56
56
  },
@@ -59,8 +59,8 @@
59
59
  "tsx": "^4.21.0",
60
60
  "typebox": "1.1.38",
61
61
  "typescript": "^6.0.3",
62
- "@mariozechner/pi-ai": "latest",
63
- "@mariozechner/pi-coding-agent": "latest"
62
+ "@earendil-works/pi-ai": "file:../../pi-mono/packages/ai",
63
+ "@earendil-works/pi-coding-agent": "file:../../pi-mono/packages/coding-agent"
64
64
  },
65
65
  "engines": {
66
66
  "node": ">=22"
@@ -1,4 +1,4 @@
1
- import type { ExtensionAPI, ExtensionCommandContext } from "@mariozechner/pi-coding-agent";
1
+ import type { ExtensionAPI, ExtensionCommandContext } from "@earendil-works/pi-coding-agent";
2
2
 
3
3
  import { formatGoalSummary } from "./format.js";
4
4
  import { continuationPrompt } from "./prompts.js";
@@ -1,4 +1,4 @@
1
- import type { ExtensionAPI, ExtensionContext } from "@mariozechner/pi-coding-agent";
1
+ import type { ExtensionAPI, ExtensionContext } from "@earendil-works/pi-coding-agent";
2
2
 
3
3
  import { registerGoalCommand } from "./commands.js";
4
4
  import { formatFooterStatus } from "./format.js";
@@ -1,5 +1,5 @@
1
- import { StringEnum } from "@mariozechner/pi-ai";
2
- import type { AgentToolResult, ExtensionAPI, ExtensionContext } from "@mariozechner/pi-coding-agent";
1
+ import { StringEnum } from "@earendil-works/pi-ai";
2
+ import type { AgentToolResult, ExtensionAPI, ExtensionContext } from "@earendil-works/pi-coding-agent";
3
3
  import { Type } from "typebox";
4
4
 
5
5
  import { goalToolResponse, toToolText, type GoalToolResponse } from "./format.js";
@@ -1,7 +1,7 @@
1
1
  import assert from "node:assert/strict";
2
2
  import test from "node:test";
3
3
 
4
- import type { ExtensionAPI, ExtensionCommandContext, ExtensionContext } from "@mariozechner/pi-coding-agent";
4
+ import type { ExtensionAPI, ExtensionCommandContext, ExtensionContext } from "@earendil-works/pi-coding-agent";
5
5
 
6
6
  import goalExtension from "../src/index.js";
7
7
  import { isGoalCustomEntry, reconstructGoal } from "../src/state.js";
@@ -1,7 +1,7 @@
1
1
  import { existsSync } from "node:fs";
2
2
  import { join } from "node:path";
3
3
  import { Type } from "@sinclair/typebox";
4
- import { getAgentDir } from "@mariozechner/pi-coding-agent";
4
+ import { getAgentDir } from "@earendil-works/pi-coding-agent";
5
5
 
6
6
  import { generateVectorImage, isAbortError, normalizeAspectRatio, resolveOutputFormat } from "./src/image-lib.mjs";
7
7
 
@@ -29,7 +29,7 @@
29
29
  "codex"
30
30
  ],
31
31
  "peerDependencies": {
32
- "@mariozechner/pi-coding-agent": "*",
33
- "@sinclair/typebox": "*"
32
+ "@sinclair/typebox": "*",
33
+ "@earendil-works/pi-coding-agent": "*"
34
34
  }
35
35
  }
@@ -3,7 +3,7 @@ import { existsSync, mkdirSync, readFileSync, unlinkSync, writeFileSync } from "
3
3
  import { dirname, join, resolve } from "node:path";
4
4
  import { spawn, spawnSync } from "node:child_process";
5
5
  import { homedir } from "node:os";
6
- import { getAgentDir } from "@mariozechner/pi-coding-agent";
6
+ import { getAgentDir } from "@earendil-works/pi-coding-agent";
7
7
 
8
8
  const CODEX_RESPONSES_URL = "https://chatgpt.com/backend-api/codex/responses";
9
9
  const OPENROUTER_CHAT_COMPLETIONS_URL = "https://openrouter.ai/api/v1/chat/completions";
@@ -26,6 +26,6 @@
26
26
  ]
27
27
  },
28
28
  "peerDependencies": {
29
- "@mariozechner/pi-coding-agent": "*"
29
+ "@earendil-works/pi-coding-agent": "*"
30
30
  }
31
31
  }
@@ -800,10 +800,10 @@ effects.
800
800
 
801
801
  ## [0.6.0] - 2026-04-24
802
802
 
803
- > **⚠️ Breaking: drops support for `pi` < 0.68.** The upstream `pi-coding-agent` package shipped breaking API changes in v0.68 (and further ones in v0.70). This release migrates to `^0.70.2` and is **not** backward-compatible with hosts on `pi` 0.62–0.67. Users on those versions must upgrade their `pi` installation (`npm install -g @mariozechner/pi-coding-agent@latest`) before updating this extension.
803
+ > **⚠️ Breaking: drops support for `pi` < 0.68.** The upstream `pi-coding-agent` package shipped breaking API changes in v0.68 (and further ones in v0.70). This release migrates to `^0.70.2` and is **not** backward-compatible with hosts on `pi` 0.62–0.67. Users on those versions must upgrade their `pi` installation (`npm install -g @earendil-works/pi-coding-agent@latest`) before updating this extension.
804
804
 
805
805
  ### Changed
806
- - **Bumped peer `@mariozechner/pi-coding-agent` to `^0.70.2`** ([#28](https://github.com/tintinweb/dm-subagents/pull/28)) — crosses the v0.68 breaking-change line upstream. Specifically: tools are now passed as `string[]` (was `Tool[]`); `cwd`/`agentDir` are mandatory on `SettingsManager.create()` and `DefaultResourceLoader`; `session_switch` event renamed to `session_before_switch`; `ToolDefinition.params` widens to `unknown` under contextual typing, requiring `defineTool(...)`.
806
+ - **Bumped peer `@earendil-works/pi-coding-agent` to `^0.70.2`** ([#28](https://github.com/tintinweb/dm-subagents/pull/28)) — crosses the v0.68 breaking-change line upstream. Specifically: tools are now passed as `string[]` (was `Tool[]`); `cwd`/`agentDir` are mandatory on `SettingsManager.create()` and `DefaultResourceLoader`; `session_switch` event renamed to `session_before_switch`; `ToolDefinition.params` widens to `unknown` under contextual typing, requiring `defineTool(...)`.
807
807
  - **Tool registrations wrapped with `defineTool(...)`** — preserves `TParams` inference so `execute` handlers get properly-typed `params` instead of `unknown`. Applies to the `Agent`, `get_subagent_result`, and `steer_subagent` tools.
808
808
 
809
809
  ### Removed
@@ -4,6 +4,15 @@
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
+ "../../pi-mono/packages/ai": {
8
+ "dev": true
9
+ },
10
+ "../../pi-mono/packages/coding-agent": {
11
+ "dev": true
12
+ },
13
+ "../../pi-mono/packages/tui": {
14
+ "dev": true
15
+ },
7
16
  "node_modules/@sinclair/typebox": {
8
17
  "version": "0.34.49",
9
18
  "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.34.49.tgz",