@duckmind/dm-darwin-arm64 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.
- 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/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/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/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/instantiate.d.mts +5 -5
- package/extensions/dm-tasks/node_modules/typebox/build/type/engine/instantiate.mjs +4 -1
- 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 +1 -3
- package/extensions/dm-tasks/node_modules/typebox/build/type/engine/module/instantiate.mjs +2 -1
- 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/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/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/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/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/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 +124 -2520
- 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/theme/duckmind-classic.json +1 -1
|
@@ -26,17 +26,14 @@
|
|
|
26
26
|
"zod": "^4.3.6"
|
|
27
27
|
},
|
|
28
28
|
"peerDependencies": {
|
|
29
|
-
"@
|
|
30
|
-
"@
|
|
31
|
-
"@
|
|
29
|
+
"@earendil-works/pi-ai": "*",
|
|
30
|
+
"@earendil-works/pi-coding-agent": "*",
|
|
31
|
+
"@earendil-works/pi-tui": "*"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@biomejs/biome": "^2.4.7",
|
|
35
35
|
"@commitlint/cli": "^20.4.4",
|
|
36
36
|
"@commitlint/config-conventional": "^20.4.4",
|
|
37
|
-
"@mariozechner/pi-ai": "^0.63.1",
|
|
38
|
-
"@mariozechner/pi-coding-agent": "^0.63.1",
|
|
39
|
-
"@mariozechner/pi-tui": "^0.63.1",
|
|
40
37
|
"@semantic-release/changelog": "^6.0.3",
|
|
41
38
|
"@semantic-release/commit-analyzer": "^13.0.1",
|
|
42
39
|
"@semantic-release/git": "^10.0.1",
|
|
@@ -48,7 +45,10 @@
|
|
|
48
45
|
"conventional-changelog-conventionalcommits": "^9.3.0",
|
|
49
46
|
"semantic-release": "^25.0.3",
|
|
50
47
|
"typescript": "^5.9.3",
|
|
51
|
-
"vitest": "^4.1.0"
|
|
48
|
+
"vitest": "^4.1.0",
|
|
49
|
+
"@earendil-works/pi-ai": "file:../../pi-mono/packages/ai",
|
|
50
|
+
"@earendil-works/pi-coding-agent": "file:../../pi-mono/packages/coding-agent",
|
|
51
|
+
"@earendil-works/pi-tui": "file:../../pi-mono/packages/tui"
|
|
52
52
|
},
|
|
53
53
|
"pi": {
|
|
54
54
|
"extensions": [
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { getApiProvider } from "@
|
|
2
|
-
import { openaiCodexOAuthProvider } from "@
|
|
1
|
+
import { getApiProvider } from "@earendil-works/pi-ai";
|
|
2
|
+
import { openaiCodexOAuthProvider } from "@earendil-works/pi-ai/oauth";
|
|
3
3
|
import { mirrorProvider } from "pi-provider-utils/providers";
|
|
4
4
|
import type { AccountManager } from "./account-manager";
|
|
5
5
|
import { createStreamWrapper } from "./stream-wrapper";
|
|
@@ -9,7 +9,7 @@ import { beforeEach, describe, expect, it, vi } from "vitest";
|
|
|
9
9
|
import { AccountManager } from "./account-manager";
|
|
10
10
|
|
|
11
11
|
// Mock the oauth module before anything imports it.
|
|
12
|
-
vi.mock("@
|
|
12
|
+
vi.mock("@earendil-works/pi-ai/oauth", () => ({
|
|
13
13
|
refreshOpenAICodexToken: vi.fn(),
|
|
14
14
|
}));
|
|
15
15
|
|
|
@@ -27,7 +27,7 @@ vi.mock("./auth", () => ({
|
|
|
27
27
|
loadImportedOpenAICodexAuth: vi.fn().mockResolvedValue(undefined),
|
|
28
28
|
}));
|
|
29
29
|
|
|
30
|
-
import { refreshOpenAICodexToken } from "@
|
|
30
|
+
import { refreshOpenAICodexToken } from "@earendil-works/pi-ai/oauth";
|
|
31
31
|
|
|
32
32
|
describe("AccountManager.ensureValidToken — concurrent refresh deduplication", () => {
|
|
33
33
|
let manager: AccountManager;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import type { Api, Model } from "@
|
|
1
|
+
import type { Api, Model } from "@earendil-works/pi-ai";
|
|
2
2
|
import type {
|
|
3
3
|
ExtensionCommandContext,
|
|
4
4
|
ExtensionContext,
|
|
5
|
-
} from "@
|
|
6
|
-
import { getSettingsListTheme } from "@
|
|
5
|
+
} from "@earendil-works/pi-coding-agent";
|
|
6
|
+
import { getSettingsListTheme } from "@earendil-works/pi-coding-agent";
|
|
7
7
|
import {
|
|
8
8
|
Container,
|
|
9
9
|
type SettingItem,
|
|
10
10
|
SettingsList,
|
|
11
11
|
Text,
|
|
12
|
-
} from "@
|
|
12
|
+
} from "@earendil-works/pi-tui";
|
|
13
13
|
import {
|
|
14
14
|
getAgentSettingsPath,
|
|
15
15
|
readJsonObjectFileAsync,
|
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
* - Enter expands/collapses to show models
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
|
-
import type { ExtensionAPI, ExtensionCommandContext, Theme } from "@
|
|
11
|
-
import { DynamicBorder } from "@
|
|
12
|
-
import { CancellableLoader, Container, Spacer, matchesKey, visibleWidth, truncateToWidth, wrapTextWithAnsi, type AutocompleteItem } from "@
|
|
10
|
+
import type { ExtensionAPI, ExtensionCommandContext, Theme } from "@earendil-works/pi-coding-agent";
|
|
11
|
+
import { DynamicBorder } from "@earendil-works/pi-coding-agent";
|
|
12
|
+
import { CancellableLoader, Container, Spacer, matchesKey, visibleWidth, truncateToWidth, wrapTextWithAnsi, type AutocompleteItem } from "@earendil-works/pi-tui";
|
|
13
13
|
import { constants as fsConstants } from "node:fs";
|
|
14
14
|
import { access, mkdir, readdir, readFile, writeFile } from "node:fs/promises";
|
|
15
15
|
import { dirname, join } from "node:path";
|
|
@@ -36,11 +36,11 @@
|
|
|
36
36
|
"image": "./screenshot.png"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
|
-
"@
|
|
40
|
-
"@
|
|
39
|
+
"@earendil-works/pi-coding-agent": "*",
|
|
40
|
+
"@earendil-works/pi-tui": "*"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@
|
|
44
|
-
"@
|
|
43
|
+
"@earendil-works/pi-coding-agent": "file:../../pi-mono/packages/coding-agent",
|
|
44
|
+
"@earendil-works/pi-tui": "file:../../pi-mono/packages/tui"
|
|
45
45
|
}
|
|
46
46
|
}
|
|
@@ -13,7 +13,7 @@ import { existsSync, mkdirSync, readFileSync, writeFileSync } from "node:fs";
|
|
|
13
13
|
import { homedir } from "node:os";
|
|
14
14
|
import { dirname, join } from "node:path";
|
|
15
15
|
import { fileURLToPath } from "node:url";
|
|
16
|
-
import type { ExtensionAPI } from "@
|
|
16
|
+
import type { ExtensionAPI } from "@earendil-works/pi-coding-agent";
|
|
17
17
|
|
|
18
18
|
import { registerGreedySearchTool } from "./src/tools/greedy-search-handler.js";
|
|
19
19
|
import { cdpAvailable } from "./src/tools/shared.js";
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* greedy_search tool handler — multi-engine AI web search
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import type { ExtensionAPI } from "@
|
|
6
|
-
import { Text } from "@
|
|
5
|
+
import type { ExtensionAPI } from "@earendil-works/pi-coding-agent";
|
|
6
|
+
import { Text } from "@earendil-works/pi-tui";
|
|
7
7
|
import { Type } from "@sinclair/typebox";
|
|
8
8
|
import { formatResults } from "../formatters/results.js";
|
|
9
9
|
import {
|
package/package.json
CHANGED