@duckmind/dm-darwin-x64 0.36.5 → 0.36.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/dm +0 -0
- package/extensions/.dm-extensions.json +1 -1
- package/extensions/dm-9router-ext/package.json +1 -1
- package/extensions/dm-9router-ext/src/index.ts +1 -1
- package/extensions/dm-ask-user/README.md +3 -3
- package/extensions/dm-ask-user/index.ts +2 -2
- package/extensions/dm-ask-user/package.json +4 -4
- package/extensions/dm-cli-anything/package.json +1 -1
- package/extensions/dm-context/package.json +1 -1
- package/extensions/dm-context/src/context.ts +2 -2
- package/extensions/dm-context/src/index.ts +3 -3
- package/extensions/dm-cua/package.json +2 -2
- package/extensions/dm-goal/package.json +6 -6
- package/extensions/dm-goal/src/commands.ts +1 -1
- package/extensions/dm-goal/src/index.ts +1 -1
- package/extensions/dm-goal/src/tools.ts +2 -2
- package/extensions/dm-goal/test/index.test.ts +1 -1
- package/extensions/dm-image2/index.js +1 -1
- package/extensions/dm-image2/package.json +2 -2
- package/extensions/dm-image2/src/image-lib.mjs +1 -1
- package/extensions/dm-last30days/package.json +1 -1
- package/extensions/dm-subagents/CHANGELOG.md +2 -2
- package/extensions/dm-subagents/node_modules/.package-lock.json +9 -0
- package/extensions/dm-subagents/package-lock.json +136 -2935
- package/extensions/dm-subagents/package.json +6 -6
- package/extensions/dm-subagents/src/agent-manager.ts +2 -2
- package/extensions/dm-subagents/src/agent-record.ts +1 -1
- package/extensions/dm-subagents/src/agent-runner.ts +2 -2
- package/extensions/dm-subagents/src/context.ts +1 -1
- package/extensions/dm-subagents/src/custom-agents.ts +1 -1
- package/extensions/dm-subagents/src/execution-state.ts +1 -1
- package/extensions/dm-subagents/src/index.ts +2 -2
- package/extensions/dm-subagents/src/parent-snapshot.ts +1 -1
- package/extensions/dm-subagents/src/renderer.ts +1 -1
- package/extensions/dm-subagents/src/service-adapter.ts +1 -1
- package/extensions/dm-subagents/src/settings.ts +1 -1
- package/extensions/dm-subagents/src/skill-loader.ts +1 -1
- package/extensions/dm-subagents/src/tools/agent-tool.ts +2 -2
- package/extensions/dm-subagents/src/tools/foreground-runner.ts +1 -1
- package/extensions/dm-subagents/src/tools/get-result-tool.ts +1 -1
- package/extensions/dm-subagents/src/tools/spawn-config.ts +1 -1
- package/extensions/dm-subagents/src/tools/steer-tool.ts +1 -1
- package/extensions/dm-subagents/src/types.ts +1 -1
- package/extensions/dm-subagents/src/ui/agent-config-editor.ts +1 -1
- package/extensions/dm-subagents/src/ui/agent-creation-wizard.ts +1 -1
- package/extensions/dm-subagents/src/ui/agent-menu.ts +1 -1
- package/extensions/dm-subagents/src/ui/conversation-viewer.ts +2 -2
- package/extensions/dm-subagents/src/ui/widget-renderer.ts +1 -1
- package/extensions/dm-subagents/test/agent-runner.test.ts +1 -1
- package/extensions/dm-subagents/test/conversation-viewer.test.ts +6 -6
- package/extensions/dm-subagents/test/custom-agents.test.ts +6 -6
- package/extensions/dm-subagents/test/helpers/mock-session.ts +1 -1
- package/extensions/dm-subagents/test/helpers/stub-ctx.ts +1 -1
- package/extensions/dm-subagents/test/parent-snapshot.test.ts +1 -1
- package/extensions/dm-subagents/test/settings.test.ts +5 -5
- package/extensions/dm-subagents/test/skill-loader.test.ts +5 -5
- package/extensions/dm-subagents/test/unit/subagent-contract.test.ts +5 -3
- package/extensions/dm-tasks/node_modules/.package-lock.json +3 -3
- package/extensions/dm-tasks/node_modules/typebox/build/schema/types/dependencies.mjs +1 -1
- package/extensions/dm-tasks/node_modules/typebox/build/type/action/_add_immutable.d.mts +11 -0
- package/extensions/dm-tasks/node_modules/typebox/build/type/action/_add_immutable.mjs +11 -0
- package/extensions/dm-tasks/node_modules/typebox/build/type/action/_add_optional.d.mts +11 -0
- package/extensions/dm-tasks/node_modules/typebox/build/type/action/_add_optional.mjs +11 -0
- package/extensions/dm-tasks/node_modules/typebox/build/type/action/_add_readonly.d.mts +11 -0
- package/extensions/dm-tasks/node_modules/typebox/build/type/action/_add_readonly.mjs +11 -0
- package/extensions/dm-tasks/node_modules/typebox/build/type/action/_remove_immutable.d.mts +11 -0
- package/extensions/dm-tasks/node_modules/typebox/build/type/action/_remove_immutable.mjs +11 -0
- package/extensions/dm-tasks/node_modules/typebox/build/type/action/_remove_optional.d.mts +11 -0
- package/extensions/dm-tasks/node_modules/typebox/build/type/action/_remove_optional.mjs +11 -0
- package/extensions/dm-tasks/node_modules/typebox/build/type/action/_remove_readonly.d.mts +11 -0
- package/extensions/dm-tasks/node_modules/typebox/build/type/action/_remove_readonly.mjs +11 -0
- package/extensions/dm-tasks/node_modules/typebox/build/type/action/conditional.d.mts +2 -3
- package/extensions/dm-tasks/node_modules/typebox/build/type/action/conditional.mjs +2 -1
- package/extensions/dm-tasks/node_modules/typebox/build/type/action/index.d.mts +6 -2
- package/extensions/dm-tasks/node_modules/typebox/build/type/action/index.mjs +6 -2
- package/extensions/dm-tasks/node_modules/typebox/build/type/action/mapped.d.mts +2 -3
- package/extensions/dm-tasks/node_modules/typebox/build/type/action/mapped.mjs +2 -1
- package/extensions/dm-tasks/node_modules/typebox/build/type/action/module.d.mts +8 -7
- package/extensions/dm-tasks/node_modules/typebox/build/type/action/module.mjs +7 -6
- package/extensions/dm-tasks/node_modules/typebox/build/type/engine/call/instantiate.d.mts +1 -3
- package/extensions/dm-tasks/node_modules/typebox/build/type/engine/call/instantiate.mjs +3 -2
- package/extensions/dm-tasks/node_modules/typebox/build/type/engine/constructor_parameters/instantiate.d.mts +3 -4
- package/extensions/dm-tasks/node_modules/typebox/build/type/engine/constructor_parameters/instantiate.mjs +2 -1
- package/extensions/dm-tasks/node_modules/typebox/build/type/engine/cyclic/instantiate.d.mts +2 -5
- package/extensions/dm-tasks/node_modules/typebox/build/type/engine/cyclic/instantiate.mjs +3 -2
- package/extensions/dm-tasks/node_modules/typebox/build/type/engine/evaluate/composite.d.mts +10 -6
- package/extensions/dm-tasks/node_modules/typebox/build/type/engine/evaluate/composite.mjs +10 -6
- package/extensions/dm-tasks/node_modules/typebox/build/type/engine/immutable/instantiate_add.d.mts +10 -0
- package/extensions/dm-tasks/node_modules/typebox/build/type/engine/immutable/instantiate_add.mjs +14 -0
- package/extensions/dm-tasks/node_modules/typebox/build/type/engine/immutable/instantiate_remove.d.mts +10 -0
- package/extensions/dm-tasks/node_modules/typebox/build/type/engine/immutable/instantiate_remove.mjs +14 -0
- package/extensions/dm-tasks/node_modules/typebox/build/type/engine/instantiate.d.mts +38 -21
- package/extensions/dm-tasks/node_modules/typebox/build/type/engine/instantiate.mjs +65 -62
- package/extensions/dm-tasks/node_modules/typebox/build/type/engine/interface/instantiate.d.mts +3 -6
- package/extensions/dm-tasks/node_modules/typebox/build/type/engine/module/instantiate.d.mts +7 -9
- package/extensions/dm-tasks/node_modules/typebox/build/type/engine/module/instantiate.mjs +17 -15
- package/extensions/dm-tasks/node_modules/typebox/build/type/engine/optional/instantiate_add.d.mts +10 -0
- package/extensions/dm-tasks/node_modules/typebox/build/type/engine/optional/instantiate_add.mjs +14 -0
- package/extensions/dm-tasks/node_modules/typebox/build/type/engine/optional/instantiate_remove.d.mts +10 -0
- package/extensions/dm-tasks/node_modules/typebox/build/type/engine/optional/instantiate_remove.mjs +14 -0
- package/extensions/dm-tasks/node_modules/typebox/build/type/engine/parameters/instantiate.d.mts +3 -4
- package/extensions/dm-tasks/node_modules/typebox/build/type/engine/parameters/instantiate.mjs +2 -1
- package/extensions/dm-tasks/node_modules/typebox/build/type/engine/partial/from_object.d.mts +2 -2
- package/extensions/dm-tasks/node_modules/typebox/build/type/engine/partial/from_object.mjs +2 -2
- package/extensions/dm-tasks/node_modules/typebox/build/type/engine/readonly/instantiate_add.d.mts +10 -0
- package/extensions/dm-tasks/node_modules/typebox/build/type/engine/readonly/instantiate_add.mjs +14 -0
- package/extensions/dm-tasks/node_modules/typebox/build/type/engine/readonly/instantiate_remove.d.mts +10 -0
- package/extensions/dm-tasks/node_modules/typebox/build/type/engine/readonly/instantiate_remove.mjs +14 -0
- package/extensions/dm-tasks/node_modules/typebox/build/type/engine/readonly_object/from_array.d.mts +2 -2
- package/extensions/dm-tasks/node_modules/typebox/build/type/engine/readonly_object/from_array.mjs +2 -2
- package/extensions/dm-tasks/node_modules/typebox/build/type/engine/readonly_object/from_object.d.mts +2 -2
- package/extensions/dm-tasks/node_modules/typebox/build/type/engine/readonly_object/from_object.mjs +2 -2
- package/extensions/dm-tasks/node_modules/typebox/build/type/engine/readonly_object/from_tuple.d.mts +2 -2
- package/extensions/dm-tasks/node_modules/typebox/build/type/engine/readonly_object/from_tuple.mjs +2 -2
- package/extensions/dm-tasks/node_modules/typebox/build/type/engine/ref/instantiate.d.mts +3 -3
- package/extensions/dm-tasks/node_modules/typebox/build/type/engine/ref/instantiate.mjs +6 -6
- package/extensions/dm-tasks/node_modules/typebox/build/type/engine/required/from_object.d.mts +2 -2
- package/extensions/dm-tasks/node_modules/typebox/build/type/engine/required/from_object.mjs +2 -2
- package/extensions/dm-tasks/node_modules/typebox/build/type/engine/template_literal/is_pattern.mjs +1 -0
- package/extensions/dm-tasks/node_modules/typebox/build/type/extends/tuple.d.mts +3 -6
- package/extensions/dm-tasks/node_modules/typebox/build/type/extends/tuple.mjs +3 -2
- package/extensions/dm-tasks/node_modules/typebox/build/type/script/mapping.d.mts +68 -64
- package/extensions/dm-tasks/node_modules/typebox/build/type/script/mapping.mjs +64 -58
- package/extensions/dm-tasks/node_modules/typebox/build/type/script/parser.d.mts +29 -25
- package/extensions/dm-tasks/node_modules/typebox/build/type/script/parser.mjs +15 -13
- package/extensions/dm-tasks/node_modules/typebox/build/type/script/script.d.mts +3 -4
- package/extensions/dm-tasks/node_modules/typebox/build/type/script/script.mjs +3 -2
- package/extensions/dm-tasks/node_modules/typebox/build/type/types/_immutable.d.mts +2 -9
- package/extensions/dm-tasks/node_modules/typebox/build/type/types/_immutable.mjs +2 -10
- package/extensions/dm-tasks/node_modules/typebox/build/type/types/_optional.d.mts +2 -9
- package/extensions/dm-tasks/node_modules/typebox/build/type/types/_optional.mjs +2 -11
- package/extensions/dm-tasks/node_modules/typebox/build/type/types/_readonly.d.mts +2 -9
- package/extensions/dm-tasks/node_modules/typebox/build/type/types/_readonly.mjs +2 -10
- package/extensions/dm-tasks/node_modules/typebox/build/type/types/call.d.mts +3 -3
- package/extensions/dm-tasks/node_modules/typebox/build/type/types/call.mjs +3 -2
- package/extensions/dm-tasks/node_modules/typebox/build/type/types/deferred.d.mts +1 -0
- package/extensions/dm-tasks/node_modules/typebox/build/type/types/deferred.mjs +1 -1
- package/extensions/dm-tasks/node_modules/typebox/package.json +1 -1
- package/extensions/dm-tasks/package-lock.json +3 -3
- package/extensions/dm-tasks/src/index.ts +1 -1
- package/extensions/dm-tasks/src/ui/settings-menu.ts +2 -2
- package/extensions/dm-tasks/src/ui/task-widget.ts +1 -1
- package/extensions/dm-ultradex/AGENTS.md +2 -2
- package/extensions/dm-ultradex/account-manager.test.ts +1 -1
- package/extensions/dm-ultradex/account-manager.ts +1 -1
- package/extensions/dm-ultradex/auth.ts +1 -1
- package/extensions/dm-ultradex/browser.ts +1 -1
- package/extensions/dm-ultradex/commands.ts +4 -4
- package/extensions/dm-ultradex/extension.ts +2 -2
- package/extensions/dm-ultradex/index.test.ts +5 -3
- package/extensions/dm-ultradex/node_modules/.package-lock.json +9 -0
- package/extensions/dm-ultradex/package-lock.json +130 -2526
- package/extensions/dm-ultradex/package.json +7 -7
- package/extensions/dm-ultradex/provider.ts +2 -2
- package/extensions/dm-ultradex/refresh-race.test.ts +2 -2
- package/extensions/dm-ultradex/status.ts +4 -4
- package/extensions/dm-ultradex/stream-wrapper.ts +1 -1
- package/extensions/dm-usage/index.ts +3 -3
- package/extensions/dm-usage/package.json +4 -4
- package/extensions/greedysearch-dm/index.ts +1 -1
- package/extensions/greedysearch-dm/package-lock.json +2 -2
- package/extensions/greedysearch-dm/package.json +2 -2
- package/extensions/greedysearch-dm/src/tools/greedy-search-handler.ts +2 -2
- package/package.json +1 -1
- package/extensions/dm-tasks/node_modules/typebox/build/type/action/_optional.d.mts +0 -19
- package/extensions/dm-tasks/node_modules/typebox/build/type/action/_optional.mjs +0 -40
- package/extensions/dm-tasks/node_modules/typebox/build/type/action/_readonly.d.mts +0 -19
- package/extensions/dm-tasks/node_modules/typebox/build/type/action/_readonly.mjs +0 -40
package/dm
CHANGED
|
Binary file
|
|
@@ -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 "@
|
|
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
|
-
| `@
|
|
224
|
-
| `@
|
|
225
|
-
| `@
|
|
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 "@
|
|
22
|
-
import { Editor, type EditorTheme, Key, matchesKey, Text, truncateToWidth, visibleWidth } from "@
|
|
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
|
-
"@
|
|
33
|
-
"@
|
|
34
|
-
"@
|
|
35
|
-
"@
|
|
32
|
+
"@sinclair/typebox": "*",
|
|
33
|
+
"@earendil-works/pi-ai": "*",
|
|
34
|
+
"@earendil-works/pi-coding-agent": "*",
|
|
35
|
+
"@earendil-works/pi-tui": "*"
|
|
36
36
|
}
|
|
37
37
|
}
|
|
@@ -2,8 +2,8 @@ import {
|
|
|
2
2
|
type ExtensionAPI,
|
|
3
3
|
type SessionManager,
|
|
4
4
|
DynamicBorder,
|
|
5
|
-
} from "@
|
|
6
|
-
import { Container, Text, Spacer } from "@
|
|
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 "@
|
|
5
|
+
} from "@earendil-works/pi-coding-agent";
|
|
6
6
|
import type {
|
|
7
7
|
TextContent,
|
|
8
8
|
ImageContent,
|
|
9
9
|
ToolCall,
|
|
10
|
-
} from "@
|
|
10
|
+
} from "@earendil-works/pi-ai";
|
|
11
11
|
import { Type, type Static } from "@sinclair/typebox";
|
|
12
|
-
import { ExtensionCommandContext } from "@
|
|
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
|
|
@@ -40,17 +40,17 @@
|
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
42
|
"typebox": "*",
|
|
43
|
-
"@
|
|
44
|
-
"@
|
|
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
|
-
"@
|
|
50
|
+
"@earendil-works/pi-ai": {
|
|
51
51
|
"optional": true
|
|
52
52
|
},
|
|
53
|
-
"@
|
|
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
|
-
"@
|
|
63
|
-
"@
|
|
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 "@
|
|
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 "@
|
|
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 "@
|
|
2
|
-
import type { AgentToolResult, ExtensionAPI, ExtensionContext } from "@
|
|
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 "@
|
|
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 "@
|
|
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
|
|
|
@@ -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 "@
|
|
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";
|
|
@@ -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 @
|
|
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 `@
|
|
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",
|