dal-code 1.0.25 → 1.0.26
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/CHANGELOG.md +24 -0
- package/NOTICE +7 -0
- package/dal-docs/README.md +13 -0
- package/dist/cli/args.d.ts +3 -0
- package/dist/cli/args.js +14 -14
- package/dist/core/agent-session-services.d.ts +2 -0
- package/dist/core/agent-session-services.js +1 -1
- package/dist/core/agent-session.d.ts +14 -1
- package/dist/core/agent-session.js +8 -7
- package/dist/core/background-processes.d.ts +73 -0
- package/dist/core/background-processes.js +7 -0
- package/dist/core/extensions/index.d.ts +1 -1
- package/dist/core/extensions/loader.js +1 -1
- package/dist/core/extensions/permission-surface.js +1 -1
- package/dist/core/extensions/runner.js +1 -1
- package/dist/core/extensions/types.d.ts +3 -0
- package/dist/core/host-capabilities.d.ts +50 -0
- package/dist/core/host-capabilities.js +2 -0
- package/dist/core/permissions/rules.d.ts +45 -0
- package/dist/core/permissions/rules.js +1 -0
- package/dist/core/permissions/shell-words.js +2 -0
- package/dist/core/permissions/tool-policy.d.ts +46 -0
- package/dist/core/permissions/tool-policy.js +1 -0
- package/dist/core/sandbox/availability.d.ts +9 -0
- package/dist/core/sandbox/availability.js +1 -0
- package/dist/core/sandbox/denial.d.ts +25 -0
- package/dist/core/sandbox/denial.js +3 -0
- package/dist/core/sandbox/index.d.ts +5 -0
- package/dist/core/sandbox/index.js +1 -0
- package/dist/core/sandbox/policy.d.ts +66 -0
- package/dist/core/sandbox/policy.js +1 -0
- package/dist/core/sandbox/runtime.d.ts +31 -0
- package/dist/core/sandbox/runtime.js +1 -0
- package/dist/core/sandbox/shell-sandbox.d.ts +119 -0
- package/dist/core/sandbox/shell-sandbox.js +5 -0
- package/dist/core/sdk.d.ts +3 -0
- package/dist/core/sdk.js +1 -1
- package/dist/core/settings-manager.d.ts +20 -0
- package/dist/core/settings-manager.js +1 -1
- package/dist/core/tools/bash.d.ts +15 -1
- package/dist/core/tools/bash.js +16 -14
- package/dist/core/tools/find.js +11 -11
- package/dist/core/tools/grep.js +10 -10
- package/dist/core/tools/index.d.ts +1 -0
- package/dist/core/tools/index.js +1 -1
- package/dist/core/tools/ls.js +6 -6
- package/dist/core/tools/powershell.d.ts +1 -1
- package/dist/core/tools/powershell.js +2 -2
- package/dist/core/tools/process.d.ts +26 -0
- package/dist/core/tools/process.js +22 -0
- package/dist/core/tools/read.js +15 -15
- package/dist/dal/builtins.js +2 -2
- package/dist/dal/child-env.js +1 -1
- package/dist/dal/manifest.d.ts +32 -0
- package/dist/dal/manifest.js +1 -0
- package/dist/index.d.ts +8 -3
- package/dist/index.js +1 -1
- package/dist/main.js +4 -4
- package/dist/modes/index.d.ts +2 -2
- package/dist/modes/print-mode.js +6 -4
- package/dist/modes/rpc/rpc-client.d.ts +24 -1
- package/dist/modes/rpc/rpc-client.js +4 -1
- package/dist/modes/rpc/rpc-mode.js +1 -1
- package/dist/modes/rpc/rpc-types.d.ts +82 -0
- package/dist/node_modules/@dalcode/dal-bridge/package.json +2 -2
- package/dist/node_modules/@dalcode/dal-bridge/src/index.js +1 -1
- package/dist/node_modules/@dalcode/dal-gateway/package.json +2 -2
- package/dist/node_modules/@dalcode/dal-guard/package.json +4 -4
- package/dist/node_modules/@dalcode/dal-halo/package.json +1 -1
- package/dist/node_modules/@dalcode/dal-interactive/LICENSE +21 -0
- package/dist/node_modules/@dalcode/dal-interactive/package.json +33 -0
- package/dist/node_modules/@dalcode/dal-interactive/src/handoff.js +28 -0
- package/dist/node_modules/@dalcode/dal-interactive/src/index.js +1 -0
- package/dist/node_modules/@dalcode/dal-interactive/src/interactive-shell.js +1 -0
- package/dist/node_modules/@dalcode/dal-interactive/src/questionnaire.js +3 -0
- package/dist/node_modules/@dalcode/dal-lang/package.json +3 -3
- package/dist/node_modules/@dalcode/dal-lsp/package.json +3 -3
- package/dist/node_modules/@dalcode/dal-mcp/package.json +5 -5
- package/dist/node_modules/@dalcode/dal-office/package.json +2 -2
- package/dist/node_modules/@dalcode/dal-pi-kit/dist/i18n.js +2 -2
- package/dist/node_modules/@dalcode/dal-pi-kit/package.json +1 -1
- package/dist/node_modules/@dalcode/dal-pi-kit/src/i18n.js +2 -2
- package/dist/node_modules/@dalcode/dal-plugins/package.json +2 -2
- package/dist/node_modules/@dalcode/dal-review/LICENSE +21 -0
- package/dist/node_modules/@dalcode/dal-review/package.json +34 -0
- package/dist/node_modules/@dalcode/dal-review/src/args.d.ts +13 -0
- package/dist/node_modules/@dalcode/dal-review/src/args.js +1 -0
- package/dist/node_modules/@dalcode/dal-review/src/core.d.ts +6 -0
- package/dist/node_modules/@dalcode/dal-review/src/core.js +1 -0
- package/dist/node_modules/@dalcode/dal-review/src/findings.d.ts +23 -0
- package/dist/node_modules/@dalcode/dal-review/src/findings.js +4 -0
- package/dist/node_modules/@dalcode/dal-review/src/index.js +1 -0
- package/dist/node_modules/@dalcode/dal-review/src/prompt.d.ts +3 -0
- package/dist/node_modules/@dalcode/dal-review/src/prompt.js +29 -0
- package/dist/node_modules/@dalcode/dal-review/src/runner.d.ts +91 -0
- package/dist/node_modules/@dalcode/dal-review/src/runner.js +2 -0
- package/dist/node_modules/@dalcode/dal-review/src/targets.d.ts +33 -0
- package/dist/node_modules/@dalcode/dal-review/src/targets.js +17 -0
- package/dist/node_modules/@dalcode/dal-review/src/types.d.ts +94 -0
- package/dist/node_modules/@dalcode/dal-review/src/types.js +1 -0
- package/dist/node_modules/@dalcode/dal-rewind/package.json +2 -2
- package/dist/node_modules/@dalcode/dal-router/package.json +4 -4
- package/dist/node_modules/@dalcode/dal-skills/package.json +3 -3
- package/dist/node_modules/@dalcode/dal-subagent/package.json +5 -5
- package/dist/node_modules/@dalcode/dal-subagent/src/agents.js +2 -2
- package/dist/node_modules/@dalcode/dal-subagent/src/index.js +12 -12
- package/dist/node_modules/@dalcode/dal-subagent/src/process-runner.js +3 -3
- package/dist/node_modules/@dalcode/dal-telemetry/package.json +2 -2
- package/dist/node_modules/@dalcode/dal-terminal/LICENSE +21 -0
- package/dist/node_modules/@dalcode/dal-terminal/package.json +33 -0
- package/dist/node_modules/@dalcode/dal-terminal/src/contract.d.ts +60 -0
- package/dist/node_modules/@dalcode/dal-terminal/src/contract.js +7 -0
- package/dist/node_modules/@dalcode/dal-terminal/src/index.js +6 -0
- package/dist/node_modules/@dalcode/dal-tool-catalog/package.json +2 -2
- package/dist/node_modules/@dalcode/dal-web/package.json +3 -3
- package/dist/node_modules/@dalcode/dal-web/src/config.js +2 -2
- package/dist/node_modules/@dalcode/dal-web/src/index.js +4 -4
- package/dist/node_modules/@dalcode/dal-web/src/search.js +4 -4
- package/dist/node_modules/@dalcode/dal-workflow/package.json +2 -2
- package/dist/node_modules/@dalcode/dal-workflow/src/index.js +4 -4
- package/dist/node_modules/@dalcode/dal-workflow/src/plan-mode.js +13 -13
- package/dist/node_modules/@dalcode/deepailab/package.json +3 -3
- package/dist/node_modules/@earendil-works/chord/package.json +1 -1
- package/dist/node_modules/@earendil-works/pi-agent-core/dist/agent-loop.d.ts +4 -0
- package/dist/node_modules/@earendil-works/pi-agent-core/dist/agent-loop.js +1 -1
- package/dist/node_modules/@earendil-works/pi-agent-core/package.json +4 -4
- package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/.manifest.json +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/dist/providers/data/openrouter.json +1 -1
- package/dist/node_modules/@earendil-works/pi-ai/package.json +2 -2
- package/dist/node_modules/@earendil-works/pi-client/package.json +3 -3
- package/dist/node_modules/@earendil-works/pi-coding-agent/package.json +1 -1
- package/dist/node_modules/@earendil-works/pi-protocol/package.json +2 -2
- package/dist/node_modules/@earendil-works/pi-server/package.json +5 -5
- package/dist/node_modules/@earendil-works/pi-session-backend-sqlite-node/package.json +3 -3
- package/dist/node_modules/@earendil-works/pi-telemetry/package.json +1 -1
- package/dist/node_modules/@earendil-works/pi-tui/package.json +1 -1
- package/dist/sdk/index.d.ts +6 -2
- package/dist/sdk/index.js +1 -1
- package/dist/sdk/review.d.ts +1 -0
- package/dist/sdk/review.js +1 -0
- package/dist/sdk/subagents.d.ts +8 -0
- package/dist/sdk/subagents.js +1 -0
- package/examples/extensions/custom-provider-anthropic/package-lock.json +2 -2
- package/examples/extensions/custom-provider-anthropic/package.json +1 -1
- package/examples/extensions/custom-provider-gitlab-duo/package.json +1 -1
- package/examples/extensions/gondolin/package-lock.json +2 -2
- package/examples/extensions/gondolin/package.json +1 -1
- package/examples/extensions/sandbox/index.ts +6 -0
- package/examples/extensions/sandbox/package-lock.json +2 -2
- package/examples/extensions/sandbox/package.json +1 -1
- package/examples/extensions/with-deps/package-lock.json +2 -2
- package/examples/extensions/with-deps/package.json +1 -1
- package/npm-shrinkwrap.json +75 -5
- package/package.json +6 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@earendil-works/pi-ai",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.26",
|
|
4
4
|
"description": "Unified LLM API with automatic model discovery and provider configuration",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"dependencies": {
|
|
55
55
|
"@anthropic-ai/sdk": "0.124.0",
|
|
56
56
|
"@aws-sdk/client-bedrock-runtime": "3.1127.0",
|
|
57
|
-
"@earendil-works/pi-telemetry": "^1.0.
|
|
57
|
+
"@earendil-works/pi-telemetry": "^1.0.26",
|
|
58
58
|
"@google/genai": "2.21.0",
|
|
59
59
|
"@opentelemetry/api": "1.9.0",
|
|
60
60
|
"@smithy/node-http-handler": "4.12.1",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@earendil-works/pi-client",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.26",
|
|
4
4
|
"description": "Transport-neutral client for remote pi sessions over framed CBOR bytes",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"node": ">=22.19.0"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@earendil-works/chord": "^1.0.
|
|
44
|
-
"@earendil-works/pi-protocol": "^1.0.
|
|
43
|
+
"@earendil-works/chord": "^1.0.26",
|
|
44
|
+
"@earendil-works/pi-protocol": "^1.0.26"
|
|
45
45
|
}
|
|
46
46
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@earendil-works/pi-protocol",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.26",
|
|
4
4
|
"description": "Transport-neutral CBOR protocol for remote pi sessions",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"node": ">=22.19.0"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@earendil-works/chord": "^1.0.
|
|
36
|
+
"@earendil-works/chord": "^1.0.26",
|
|
37
37
|
"typebox": "1.3.27"
|
|
38
38
|
}
|
|
39
39
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@earendil-works/pi-server",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.26",
|
|
4
4
|
"description": "experimental server package for pi",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -39,9 +39,9 @@
|
|
|
39
39
|
"node": ">=22.19.0"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@earendil-works/chord": "^1.0.
|
|
43
|
-
"@earendil-works/pi-agent-core": "^1.0.
|
|
44
|
-
"@earendil-works/pi-ai": "^1.0.
|
|
45
|
-
"@earendil-works/pi-protocol": "^1.0.
|
|
42
|
+
"@earendil-works/chord": "^1.0.26",
|
|
43
|
+
"@earendil-works/pi-agent-core": "^1.0.26",
|
|
44
|
+
"@earendil-works/pi-ai": "^1.0.26",
|
|
45
|
+
"@earendil-works/pi-protocol": "^1.0.26"
|
|
46
46
|
}
|
|
47
47
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@earendil-works/pi-session-backend-sqlite-node",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.26",
|
|
4
4
|
"description": "Node sqlite session backend for @earendil-works/pi-agent-core sessions",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"node": ">=22.19.0"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@earendil-works/pi-ai": "^1.0.
|
|
31
|
-
"@earendil-works/pi-agent-core": "^1.0.
|
|
30
|
+
"@earendil-works/pi-ai": "^1.0.26",
|
|
31
|
+
"@earendil-works/pi-agent-core": "^1.0.26"
|
|
32
32
|
}
|
|
33
33
|
}
|
package/dist/sdk/index.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
export { TERMINAL_CAPABILITY, TERMINAL_CAPABILITY_VERSION, type TerminalInfo, type TerminalListResult, type TerminalReadParams, type TerminalReadResult, } from "@dalcode/dal-terminal/contract";
|
|
1
2
|
export { CONFIG_DIR_NAME, getAgentDir, getExamplesPath, SHARED_SKILL_CONFIG_DIRS, VERSION } from "../config.ts";
|
|
2
3
|
export type { AgentSessionEvent } from "../core/agent-session.ts";
|
|
4
|
+
export { HOST_CAPABILITIES_ENV, HOST_TOKEN_ENV, HOST_TOKEN_HEADER, HOST_URL_ENV, type HostCapability, } from "../core/host-capabilities.ts";
|
|
3
5
|
export { ModelRuntime } from "../core/model-runtime.ts";
|
|
4
6
|
export { DefaultPackageManager, type PackageManager, type ResolvedResource } from "../core/package-manager.ts";
|
|
5
7
|
export { buildProjectMap, formatProjectMapPrompt, type ProjectMap, type ProjectMapOptions, } from "../core/project-map.ts";
|
|
@@ -8,7 +10,9 @@ export { type FileEntry, parseSessionEntries, type SessionEntry, SessionManager
|
|
|
8
10
|
export { SettingsManager } from "../core/settings-manager.ts";
|
|
9
11
|
export { type LoadSkillsOptions, type LoadSkillsResult, loadSkills, type Skill } from "../core/skills.ts";
|
|
10
12
|
export { DAL_HOOK_ENTRY_TYPE, type DalHookActivity, type DalHookCallContext, type DalHookDecision, type DalHookReporter, type DalHooksConfig, dalHookActivity, isDalHookActivity, type LoadDalHooksOptions, loadDalHooks, runDalHookEvent, runNotificationHooks, runUserPromptSubmitHooks, type UserPromptSubmitOutcome, } from "../dal/hooks/index.ts";
|
|
13
|
+
export { BUNDLED_EXTENSION_PACKAGES, type BundledExtensionActivation, type BundledExtensionInfo, DAL_TOOL_NAMES, listBundledExtensions, listToolCatalog, type ManifestLanguage, type ToolAvailability, type ToolCatalogEntry, toolDisplayLabel, } from "../dal/manifest.ts";
|
|
11
14
|
export type { JsonAgentSessionEvent } from "../modes/json-event.ts";
|
|
12
|
-
export { RpcClient, type RpcClientOptions, type RpcEventListener } from "../modes/rpc/rpc-client.ts";
|
|
13
|
-
export type { RpcExtensionUIRequest, RpcExtensionUIResponse } from "../modes/rpc/rpc-types.ts";
|
|
15
|
+
export { RpcClient, type RpcClientOptions, type RpcEventListener, type RpcExitListener, type RpcHostRequestHandler, type RpcProcessExit, } from "../modes/rpc/rpc-client.ts";
|
|
16
|
+
export type { RpcExtensionUIRequest, RpcExtensionUIResponse, RpcHostRequest, RpcHostResponse, } from "../modes/rpc/rpc-types.ts";
|
|
14
17
|
export { parseFrontmatter } from "../utils/frontmatter.ts";
|
|
18
|
+
export { type BuiltinSubagentInfo, listBuiltinSubagents } from "./subagents.ts";
|
package/dist/sdk/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{CONFIG_DIR_NAME as
|
|
1
|
+
import{TERMINAL_CAPABILITY as r,TERMINAL_CAPABILITY_VERSION as e}from"@dalcode/dal-terminal/contract";import{CONFIG_DIR_NAME as i,getAgentDir as l,getExamplesPath as E,SHARED_SKILL_CONFIG_DIRS as p,VERSION as s}from"../config.js";import{HOST_CAPABILITIES_ENV as m,HOST_TOKEN_ENV as n,HOST_TOKEN_HEADER as A,HOST_URL_ENV as S}from"../core/host-capabilities.js";import{ModelRuntime as x}from"../core/model-runtime.js";import{DefaultPackageManager as I}from"../core/package-manager.js";import{buildProjectMap as O,formatProjectMapPrompt as D}from"../core/project-map.js";import{loadProjectContextFiles as L}from"../core/resource-loader.js";import{parseSessionEntries as R,SessionManager as g}from"../core/session-manager.js";import{SettingsManager as M}from"../core/settings-manager.js";import{loadSkills as c}from"../core/skills.js";import{DAL_HOOK_ENTRY_TYPE as k,dalHookActivity as B,isDalHookActivity as K,loadDalHooks as V,runDalHookEvent as b,runNotificationHooks as F,runUserPromptSubmitHooks as Y}from"../dal/hooks/index.js";import{BUNDLED_EXTENSION_PACKAGES as v,DAL_TOOL_NAMES as y,listBundledExtensions as G,listToolCatalog as U,toolDisplayLabel as h}from"../dal/manifest.js";import{RpcClient as q}from"../modes/rpc/rpc-client.js";import{parseFrontmatter as z}from"../utils/frontmatter.js";import{listBuiltinSubagents as Q}from"./subagents.js";export{v as BUNDLED_EXTENSION_PACKAGES,i as CONFIG_DIR_NAME,k as DAL_HOOK_ENTRY_TYPE,y as DAL_TOOL_NAMES,I as DefaultPackageManager,m as HOST_CAPABILITIES_ENV,n as HOST_TOKEN_ENV,A as HOST_TOKEN_HEADER,S as HOST_URL_ENV,x as ModelRuntime,q as RpcClient,p as SHARED_SKILL_CONFIG_DIRS,g as SessionManager,M as SettingsManager,r as TERMINAL_CAPABILITY,e as TERMINAL_CAPABILITY_VERSION,s as VERSION,O as buildProjectMap,B as dalHookActivity,D as formatProjectMapPrompt,l as getAgentDir,E as getExamplesPath,K as isDalHookActivity,Q as listBuiltinSubagents,G as listBundledExtensions,U as listToolCatalog,V as loadDalHooks,L as loadProjectContextFiles,c as loadSkills,z as parseFrontmatter,R as parseSessionEntries,b as runDalHookEvent,F as runNotificationHooks,Y as runUserPromptSubmitHooks,h as toolDisplayLabel};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { dedupeFindings, formatLocation, type ParsedReviewArgs, parseReviewArgs, REVIEW_MESSAGE_TYPE, REVIEW_RESULT_VERSION, ReviewArgsError, ReviewError, type ReviewFinding, type ReviewPriority, type ReviewProgress, type ReviewResult, type ReviewSeverity, type ReviewTarget, ReviewTargetError, type ReviewTargetSummary, type ReviewUsage, type ReviewVerdict, type RunReviewOptions, renderReviewMarkdown, runReview, SEVERITY_BY_PRIORITY, } from "@dalcode/dal-review/core";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{dedupeFindings as E,formatLocation as R,parseReviewArgs as i,REVIEW_MESSAGE_TYPE as o,REVIEW_RESULT_VERSION as w,ReviewArgsError as n,ReviewError as v,ReviewTargetError as I,renderReviewMarkdown as _,runReview as a,SEVERITY_BY_PRIORITY as d}from"@dalcode/dal-review/core";export{o as REVIEW_MESSAGE_TYPE,w as REVIEW_RESULT_VERSION,n as ReviewArgsError,v as ReviewError,I as ReviewTargetError,d as SEVERITY_BY_PRIORITY,E as dedupeFindings,R as formatLocation,i as parseReviewArgs,_ as renderReviewMarkdown,a as runReview};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ManifestLanguage } from "../dal/manifest.ts";
|
|
2
|
+
export interface BuiltinSubagentInfo {
|
|
3
|
+
name: string;
|
|
4
|
+
description: string;
|
|
5
|
+
tools?: string[];
|
|
6
|
+
readOnly: boolean;
|
|
7
|
+
}
|
|
8
|
+
export declare function listBuiltinSubagents(language?: ManifestLanguage): BuiltinSubagentInfo[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var i=Object.defineProperty;var n=(e,r)=>i(e,"name",{value:r,configurable:!0});import{getLanguage as s,translate as t}from"@dalcode/dal-pi-kit";import{BUILTIN_AGENT_DESCRIPTIONS as o,READ_ONLY_TOOL_NAMES as a}from"@dalcode/dal-subagent";function d(e=s()){const r=[...a];return[{name:"scout",description:t(o.scout,e),tools:r,readOnly:!0},{name:"worker",description:t(o.worker,e),readOnly:!1},{name:"reviewer",description:t(o.reviewer,e),tools:r,readOnly:!0}]}n(d,"listBuiltinSubagents");export{d as listBuiltinSubagents};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-extension-custom-provider",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.24",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "pi-extension-custom-provider",
|
|
9
|
-
"version": "0.1.
|
|
9
|
+
"version": "0.1.24",
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@anthropic-ai/sdk": "^0.52.0"
|
|
12
12
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-extension-gondolin",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.24",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "pi-extension-gondolin",
|
|
9
|
-
"version": "0.1.
|
|
9
|
+
"version": "0.1.24",
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@earendil-works/gondolin": "0.12.0"
|
|
12
12
|
}
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Sandbox Extension - OS-level sandboxing for bash commands
|
|
3
3
|
*
|
|
4
|
+
* dal now sandboxes the agent's shell commands itself (docs/sandbox.md:
|
|
5
|
+
* `--sandbox`, the `sandbox` setting, escalation approvals). This example is
|
|
6
|
+
* kept as a demonstration of replacing a built-in tool with custom
|
|
7
|
+
* BashOperations; a tool with custom operations is not wrapped again by the
|
|
8
|
+
* built-in sandbox.
|
|
9
|
+
*
|
|
4
10
|
* Uses @anthropic-ai/sandbox-runtime to enforce filesystem and network
|
|
5
11
|
* restrictions on bash commands at the OS level (sandbox-exec on macOS,
|
|
6
12
|
* bubblewrap on Linux).
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-extension-sandbox",
|
|
3
|
-
"version": "1.15.
|
|
3
|
+
"version": "1.15.24",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "pi-extension-sandbox",
|
|
9
|
-
"version": "1.15.
|
|
9
|
+
"version": "1.15.24",
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@anthropic-ai/sandbox-runtime": "^0.0.26"
|
|
12
12
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-extension-with-deps",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.24",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "pi-extension-with-deps",
|
|
9
|
-
"version": "0.1.
|
|
9
|
+
"version": "0.1.24",
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"ms": "^2.1.3"
|
|
12
12
|
},
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dal-code",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.26",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "dal-code",
|
|
9
|
-
"version": "1.0.
|
|
9
|
+
"version": "1.0.26",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@agentclientprotocol/sdk": "1.3.0",
|
|
13
|
+
"@anthropic-ai/sandbox-runtime": "0.0.26",
|
|
13
14
|
"@silvia-odwyer/photon-node": "0.3.4",
|
|
14
15
|
"cc-safety-net": "1.0.6",
|
|
15
16
|
"chalk": "6.0.0",
|
|
@@ -61,6 +62,26 @@
|
|
|
61
62
|
"zod": "^3.25.0 || ^4.0.0"
|
|
62
63
|
}
|
|
63
64
|
},
|
|
65
|
+
"node_modules/@anthropic-ai/sandbox-runtime": {
|
|
66
|
+
"version": "0.0.26",
|
|
67
|
+
"resolved": "https://registry.npmjs.org/@anthropic-ai/sandbox-runtime/-/sandbox-runtime-0.0.26.tgz",
|
|
68
|
+
"integrity": "sha512-DYV5LSsVMnzq0lbfaYMSpxZPUMAx4+hy343dRss+pVCLIfF62qOhxpYfZ5TmOk1GTDQm5f9wPprMNSStmnsV4w==",
|
|
69
|
+
"license": "Apache-2.0",
|
|
70
|
+
"dependencies": {
|
|
71
|
+
"@pondwader/socks5-server": "^1.0.10",
|
|
72
|
+
"@types/lodash-es": "^4.17.12",
|
|
73
|
+
"commander": "^12.1.0",
|
|
74
|
+
"lodash-es": "^4.17.21",
|
|
75
|
+
"shell-quote": "^1.8.3",
|
|
76
|
+
"zod": "^3.24.1"
|
|
77
|
+
},
|
|
78
|
+
"bin": {
|
|
79
|
+
"srt": "dist/cli.js"
|
|
80
|
+
},
|
|
81
|
+
"engines": {
|
|
82
|
+
"node": ">=18.0.0"
|
|
83
|
+
}
|
|
84
|
+
},
|
|
64
85
|
"node_modules/@babel/runtime": {
|
|
65
86
|
"version": "7.29.2",
|
|
66
87
|
"resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.29.2.tgz",
|
|
@@ -786,6 +807,12 @@
|
|
|
786
807
|
"node": ">=8.0.0"
|
|
787
808
|
}
|
|
788
809
|
},
|
|
810
|
+
"node_modules/@pondwader/socks5-server": {
|
|
811
|
+
"version": "1.0.10",
|
|
812
|
+
"resolved": "https://registry.npmjs.org/@pondwader/socks5-server/-/socks5-server-1.0.10.tgz",
|
|
813
|
+
"integrity": "sha512-bQY06wzzR8D2+vVCUoBsr5QS2U6UgPUQRmErNwtsuI6vLcyRKkafjkr3KxbtGFf9aBBIV2mcvlsKD1UYaIV+sg==",
|
|
814
|
+
"license": "MIT"
|
|
815
|
+
},
|
|
789
816
|
"node_modules/@protobufjs/aspromise": {
|
|
790
817
|
"version": "1.1.2",
|
|
791
818
|
"resolved": "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz",
|
|
@@ -855,6 +882,21 @@
|
|
|
855
882
|
"integrity": "sha512-1bnPQqSxSuc3Ii6MhBysoWCg58j97aUjuCSZrGSmDxNqtytIi0k8utUenAwTZN4V5mXXYGsVUI9zeBqy+jBOSQ==",
|
|
856
883
|
"license": "MIT"
|
|
857
884
|
},
|
|
885
|
+
"node_modules/@types/lodash": {
|
|
886
|
+
"version": "4.17.24",
|
|
887
|
+
"resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.17.24.tgz",
|
|
888
|
+
"integrity": "sha512-gIW7lQLZbue7lRSWEFql49QJJWThrTFFeIMJdp3eH4tKoxm1OvEPg02rm4wCCSHS0cL3/Fizimb35b7k8atwsQ==",
|
|
889
|
+
"license": "MIT"
|
|
890
|
+
},
|
|
891
|
+
"node_modules/@types/lodash-es": {
|
|
892
|
+
"version": "4.17.12",
|
|
893
|
+
"resolved": "https://registry.npmjs.org/@types/lodash-es/-/lodash-es-4.17.12.tgz",
|
|
894
|
+
"integrity": "sha512-0NgftHUcV4v34VhXm8QBSftKVXtbkBG3ViCjs6+eJ5a6y6Mi/jiFGPc1sC7QK+9BFhWrURE3EOggmWaSxL9OzQ==",
|
|
895
|
+
"license": "MIT",
|
|
896
|
+
"dependencies": {
|
|
897
|
+
"@types/lodash": "*"
|
|
898
|
+
}
|
|
899
|
+
},
|
|
858
900
|
"node_modules/@types/node": {
|
|
859
901
|
"version": "22.19.19",
|
|
860
902
|
"resolved": "https://registry.npmjs.org/@types/node/-/node-22.19.19.tgz",
|
|
@@ -1190,6 +1232,15 @@
|
|
|
1190
1232
|
"url": "https://github.com/chalk/chalk?sponsor=1"
|
|
1191
1233
|
}
|
|
1192
1234
|
},
|
|
1235
|
+
"node_modules/commander": {
|
|
1236
|
+
"version": "12.1.0",
|
|
1237
|
+
"resolved": "https://registry.npmjs.org/commander/-/commander-12.1.0.tgz",
|
|
1238
|
+
"integrity": "sha512-Vw8qHK3bZM9y/P10u3Vib8o/DdkvA2OtPtZvD871QKjy74Wj1WSKFILMPRPSdUSx5RFK1arlJzEtA4PkFgnbuA==",
|
|
1239
|
+
"license": "MIT",
|
|
1240
|
+
"engines": {
|
|
1241
|
+
"node": ">=18"
|
|
1242
|
+
}
|
|
1243
|
+
},
|
|
1193
1244
|
"node_modules/compress-commons": {
|
|
1194
1245
|
"version": "4.1.2",
|
|
1195
1246
|
"resolved": "https://registry.npmmirror.com/compress-commons/-/compress-commons-4.1.2.tgz",
|
|
@@ -1947,6 +1998,12 @@
|
|
|
1947
1998
|
"integrity": "sha512-3mk/Zag0+IJxeDrxSgaDPy4zZ3w05PRZeJNnlWhzFz5OkX49J4krc+A8X2d2M69vGMBEX0uyl8M+W+8gH+kBqQ==",
|
|
1948
1999
|
"license": "ISC"
|
|
1949
2000
|
},
|
|
2001
|
+
"node_modules/lodash-es": {
|
|
2002
|
+
"version": "4.18.1",
|
|
2003
|
+
"resolved": "https://registry.npmjs.org/lodash-es/-/lodash-es-4.18.1.tgz",
|
|
2004
|
+
"integrity": "sha512-J8xewKD/Gk22OZbhpOVSwcs60zhd95ESDwezOFuA3/099925PdHJ7OFHNTGtajL3AlZkykD32HykiMo+BIBI8A==",
|
|
2005
|
+
"license": "MIT"
|
|
2006
|
+
},
|
|
1950
2007
|
"node_modules/lodash.defaults": {
|
|
1951
2008
|
"version": "4.2.0",
|
|
1952
2009
|
"resolved": "https://registry.npmmirror.com/lodash.defaults/-/lodash.defaults-4.2.0.tgz",
|
|
@@ -2288,9 +2345,9 @@
|
|
|
2288
2345
|
}
|
|
2289
2346
|
},
|
|
2290
2347
|
"node_modules/protobufjs": {
|
|
2291
|
-
"version": "7.6.
|
|
2292
|
-
"resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-7.6.
|
|
2293
|
-
"integrity": "sha512
|
|
2348
|
+
"version": "7.6.6",
|
|
2349
|
+
"resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-7.6.6.tgz",
|
|
2350
|
+
"integrity": "sha512-dYDWdjSl5RNb7SgPxGQcRU+GtvP7s2fpkrY0r432PcOIaZ0/rBcxEZnQN67iJhFuQiVw754JDoPruPCNdGsbjg==",
|
|
2294
2351
|
"license": "BSD-3-Clause",
|
|
2295
2352
|
"dependencies": {
|
|
2296
2353
|
"@protobufjs/aspromise": "^1.1.2",
|
|
@@ -2626,6 +2683,19 @@
|
|
|
2626
2683
|
"integrity": "sha512-zu+jc1pcy4UiNThxikUr36f0Rybk9PEeCg/NE6adeWr/SKsdNO4EzZHYRDlv2YCVAfj3Odq3dESSo/jNyoBXzA==",
|
|
2627
2684
|
"license": "MIT"
|
|
2628
2685
|
},
|
|
2686
|
+
"node_modules/typescript": {
|
|
2687
|
+
"version": "5.9.3",
|
|
2688
|
+
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz",
|
|
2689
|
+
"integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==",
|
|
2690
|
+
"license": "Apache-2.0",
|
|
2691
|
+
"bin": {
|
|
2692
|
+
"tsc": "bin/tsc",
|
|
2693
|
+
"tsserver": "bin/tsserver"
|
|
2694
|
+
},
|
|
2695
|
+
"engines": {
|
|
2696
|
+
"node": ">=14.17"
|
|
2697
|
+
}
|
|
2698
|
+
},
|
|
2629
2699
|
"node_modules/undici": {
|
|
2630
2700
|
"version": "8.10.2",
|
|
2631
2701
|
"resolved": "https://registry.npmjs.org/undici/-/undici-8.10.2.tgz",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dal-code",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.26",
|
|
4
4
|
"description": "DAL Code terminal",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"piConfig": {
|
|
@@ -42,6 +42,10 @@
|
|
|
42
42
|
"types": "./dist/sdk/rewind.d.ts",
|
|
43
43
|
"import": "./dist/sdk/rewind.js"
|
|
44
44
|
},
|
|
45
|
+
"./review": {
|
|
46
|
+
"types": "./dist/sdk/review.d.ts",
|
|
47
|
+
"import": "./dist/sdk/review.js"
|
|
48
|
+
},
|
|
45
49
|
"./client": {
|
|
46
50
|
"source": "./src/client/index.ts"
|
|
47
51
|
},
|
|
@@ -66,6 +70,7 @@
|
|
|
66
70
|
],
|
|
67
71
|
"dependencies": {
|
|
68
72
|
"@agentclientprotocol/sdk": "1.3.0",
|
|
73
|
+
"@anthropic-ai/sandbox-runtime": "0.0.26",
|
|
69
74
|
"@silvia-odwyer/photon-node": "0.3.4",
|
|
70
75
|
"cc-safety-net": "1.0.6",
|
|
71
76
|
"chalk": "6.0.0",
|