@robota-sdk/agent-product 3.3.3 → 3.4.0

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 CHANGED
@@ -1,5 +1,24 @@
1
1
  # @robota-sdk/agent-product
2
2
 
3
+ ## 3.4.0
4
+ ### Minor Changes
5
+
6
+ - 34fbcca: `@robota-sdk/agent-product/personal` adds the browser port and its tools. The agent reads a page as text with numbered elements and acts by number. When the agent's own action makes a request that writes to a site (any method but GET, HEAD and OPTIONS), the request is held and reported. Only `BrowserSubmit` sends it: the call names the request's method and address, and a person approves it every time. Reads, including data placed in a URL, are not held.
7
+ - b44c72e: `@robota-sdk/agent-product/personal` (Node-only) adds the personal capability pack's knowledge wiki. It keeps linked pages of claims with their source and trust, retires superseded claims with validity intervals, recalls claims read from elsewhere as data, refuses likely secrets, forgets everywhere, and lints for contradictions, stale claims, orphans and missing links. It comes with file and memory stores behind one store port and the tools an agent uses to maintain it. `agent-framework` exports `containsSensitiveMemoryContent`, the heuristic the wiki shares with project memory.
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [1c31c9e]
12
+ - Updated dependencies [7b312a3]
13
+ - Updated dependencies [4bfcf78]
14
+ - Updated dependencies [19c75f1]
15
+ - Updated dependencies [adb13b2]
16
+ - Updated dependencies [b44c72e]
17
+ - Updated dependencies [1f82ef7]
18
+ - Updated dependencies [daff4d9]
19
+ - @robota-sdk/agent-framework@3.3.4
20
+ - @robota-sdk/agent-core@3.3.2
21
+
3
22
  ## 3.3.3
4
23
  ### Patch Changes
5
24
 
@@ -1,2 +1,2 @@
1
- import { a as IRejectedCapability, c as TCompositionFieldPolicy, i as IMergedCapabilities, n as ICapabilityPack, o as IRejectedCapabilityPack, r as ICapabilityPackMetadata, s as TCapabilityKind, t as mergeCapabilityPacks } from "../index-BNDTmhmd.cjs";
1
+ import { a as IRejectedCapability, c as TCompositionFieldPolicy, i as IMergedCapabilities, n as ICapabilityPack, o as IRejectedCapabilityPack, r as ICapabilityPackMetadata, s as TCapabilityKind, t as mergeCapabilityPacks } from "../index-tMvD5zn-.cjs";
2
2
  export { type ICapabilityPack, type ICapabilityPackMetadata, type IMergedCapabilities, type IRejectedCapability, type IRejectedCapabilityPack, type TCapabilityKind, type TCompositionFieldPolicy, mergeCapabilityPacks };
@@ -1,2 +1,2 @@
1
- import { a as IRejectedCapability, c as TCompositionFieldPolicy, i as IMergedCapabilities, n as ICapabilityPack, o as IRejectedCapabilityPack, r as ICapabilityPackMetadata, s as TCapabilityKind, t as mergeCapabilityPacks } from "../index-BNDTmhmd.js";
1
+ import { a as IRejectedCapability, c as TCompositionFieldPolicy, i as IMergedCapabilities, n as ICapabilityPack, o as IRejectedCapabilityPack, r as ICapabilityPackMetadata, s as TCapabilityKind, t as mergeCapabilityPacks } from "../index-tMvD5zn-.js";
2
2
  export { type ICapabilityPack, type ICapabilityPackMetadata, type IMergedCapabilities, type IRejectedCapability, type IRejectedCapabilityPack, type TCapabilityKind, type TCompositionFieldPolicy, mergeCapabilityPacks };
@@ -1,20 +1,19 @@
1
- import { n as ICapabilityPack } from "../index-BNDTmhmd.cjs";
1
+ import { n as ICapabilityPack } from "../index-tMvD5zn-.cjs";
2
2
  import { IEditorFileAccess, ISandboxClient } from "@robota-sdk/agent-tools";
3
3
  //#region src/coding/coding-pack.d.ts
4
4
  /**
5
5
  * The session context agent's coding tools are bound to.
6
6
  *
7
- * `cwd` is **required, not optional** — and that is the whole point of this factory. `agent-tools`'
8
- * `checkPathWithinCwd` USED TO BE a no-op when `cwd` was `undefined`, so file tools constructed with no
9
- * options carried a DISARMED working-directory guard: their `Read` returned `/etc/hostname`. That was
10
- * inert while the framework's own context-bound default tier always won a name
11
- * collision. Once a product could hand the entire tool surface to its packs (`defaultTools: []`), a
12
- * context-free pack became an unsandboxed `Read`/`Write`/`Edit`.
7
+ * `cwd` is **required, not optional** — and that is the whole point of this factory. File tools
8
+ * built without a working directory have nothing to bind their working-directory guard to; a guard
9
+ * that read a missing `cwd` as "no restriction" would let a context-free pack become an unsandboxed
10
+ * `Read`/`Write`/`Edit`. That matters because a product can hand the entire tool surface to its
11
+ * packs (`defaultTools: []`) instead of leaving it to the framework's context-bound default tier.
13
12
  *
14
- * The layer below is fixed too: the guard refuses when no root is configured, and the tool
15
- * factories require `cwd` themselves. This requirement is therefore no longer load-bearing on its own —
16
- * it stays because the scoping decision should be
17
- * impossible to forget at every layer, not only the lowest one.
13
+ * The layer below refuses too: `agent-tools`' `checkPathWithinCwd` refuses when no root is
14
+ * configured, and the tool factories require `cwd` themselves. This requirement is therefore not
15
+ * load-bearing on its own — it stays because the scoping decision should be impossible to forget
16
+ * at every layer, not only the lowest one.
18
17
  */
19
18
  interface ICodingPackOptions {
20
19
  /** Product-host shell choice for tools and the interactive /shell command. */
@@ -52,11 +51,11 @@ interface ICodingPackOptions {
52
51
  *
53
52
  * - **tools** — `createDefaultTools()` from `@robota-sdk/agent-tools/defaults`, CONSUMED rather than
54
53
  * mirrored. That set is shell/bash/read/write/edit/glob/grep/webFetch/askUserQuestion,
55
- * all tools that need no adapter, credential or external service. The list used to be rebuilt
56
- * here from the `@robota-sdk/agent-tools` factories and held to the defaults by a NAME-equality test
57
- * — a pin that could not fail, because comparing names
54
+ * all tools that need no adapter, credential or external service. The list is not rebuilt here
55
+ * from the `@robota-sdk/agent-tools` factories and held to the defaults by a NAME-equality test
56
+ * — such a pin could not fail, because comparing names
58
57
  * cannot distinguish a pack-composed surface from an imported-default one when the two are pinned.
59
- * The relationship is structural now, so there is no drift left to pin.
58
+ * The relationship is structural, so there is no drift to pin.
60
59
  * - **commandModules** — the coding command modules: `/shell`, `/editor` and `/git` (the capability-level
61
60
  * command modules, distinct from product-shell/settings/provider command infrastructure).
62
61
  * - **subagents** — agent's built-in coding subagents (`general-purpose`, `Explore`, `Plan`).
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.cts","names":[],"sources":["../../src/coding/coding-pack.ts"],"mappings":";;;;;;;;;;;;;;;;;;UA2BiB;;EAEf;;EAEA;;EAEA;;EAEA;;;;;EAKA;;;;;;EAMA,gBAAgB;;;;;EAKhB,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA8BN,iBAAiB,SAAS,qBAAqB"}
1
+ {"version":3,"file":"index.d.cts","names":[],"sources":["../../src/coding/coding-pack.ts"],"mappings":";;;;;;;;;;;;;;;;;UA0BiB;;EAEf;;EAEA;;EAEA;;EAEA;;;;;EAKA;;;;;;EAMA,gBAAgB;;;;;EAKhB,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA8BN,iBAAiB,SAAS,qBAAqB"}
@@ -1,20 +1,19 @@
1
- import { n as ICapabilityPack } from "../index-BNDTmhmd.js";
1
+ import { n as ICapabilityPack } from "../index-tMvD5zn-.js";
2
2
  import { IEditorFileAccess, ISandboxClient } from "@robota-sdk/agent-tools";
3
3
  //#region src/coding/coding-pack.d.ts
4
4
  /**
5
5
  * The session context agent's coding tools are bound to.
6
6
  *
7
- * `cwd` is **required, not optional** — and that is the whole point of this factory. `agent-tools`'
8
- * `checkPathWithinCwd` USED TO BE a no-op when `cwd` was `undefined`, so file tools constructed with no
9
- * options carried a DISARMED working-directory guard: their `Read` returned `/etc/hostname`. That was
10
- * inert while the framework's own context-bound default tier always won a name
11
- * collision. Once a product could hand the entire tool surface to its packs (`defaultTools: []`), a
12
- * context-free pack became an unsandboxed `Read`/`Write`/`Edit`.
7
+ * `cwd` is **required, not optional** — and that is the whole point of this factory. File tools
8
+ * built without a working directory have nothing to bind their working-directory guard to; a guard
9
+ * that read a missing `cwd` as "no restriction" would let a context-free pack become an unsandboxed
10
+ * `Read`/`Write`/`Edit`. That matters because a product can hand the entire tool surface to its
11
+ * packs (`defaultTools: []`) instead of leaving it to the framework's context-bound default tier.
13
12
  *
14
- * The layer below is fixed too: the guard refuses when no root is configured, and the tool
15
- * factories require `cwd` themselves. This requirement is therefore no longer load-bearing on its own —
16
- * it stays because the scoping decision should be
17
- * impossible to forget at every layer, not only the lowest one.
13
+ * The layer below refuses too: `agent-tools`' `checkPathWithinCwd` refuses when no root is
14
+ * configured, and the tool factories require `cwd` themselves. This requirement is therefore not
15
+ * load-bearing on its own — it stays because the scoping decision should be impossible to forget
16
+ * at every layer, not only the lowest one.
18
17
  */
19
18
  interface ICodingPackOptions {
20
19
  /** Product-host shell choice for tools and the interactive /shell command. */
@@ -52,11 +51,11 @@ interface ICodingPackOptions {
52
51
  *
53
52
  * - **tools** — `createDefaultTools()` from `@robota-sdk/agent-tools/defaults`, CONSUMED rather than
54
53
  * mirrored. That set is shell/bash/read/write/edit/glob/grep/webFetch/askUserQuestion,
55
- * all tools that need no adapter, credential or external service. The list used to be rebuilt
56
- * here from the `@robota-sdk/agent-tools` factories and held to the defaults by a NAME-equality test
57
- * — a pin that could not fail, because comparing names
54
+ * all tools that need no adapter, credential or external service. The list is not rebuilt here
55
+ * from the `@robota-sdk/agent-tools` factories and held to the defaults by a NAME-equality test
56
+ * — such a pin could not fail, because comparing names
58
57
  * cannot distinguish a pack-composed surface from an imported-default one when the two are pinned.
59
- * The relationship is structural now, so there is no drift left to pin.
58
+ * The relationship is structural, so there is no drift to pin.
60
59
  * - **commandModules** — the coding command modules: `/shell`, `/editor` and `/git` (the capability-level
61
60
  * command modules, distinct from product-shell/settings/provider command infrastructure).
62
61
  * - **subagents** — agent's built-in coding subagents (`general-purpose`, `Explore`, `Plan`).
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../../src/coding/coding-pack.ts"],"mappings":";;;;;;;;;;;;;;;;;;UA2BiB;;EAEf;;EAEA;;EAEA;;EAEA;;;;;EAKA;;;;;;EAMA,gBAAgB;;;;;EAKhB,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA8BN,iBAAiB,SAAS,qBAAqB"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../../src/coding/coding-pack.ts"],"mappings":";;;;;;;;;;;;;;;;;UA0BiB;;EAEf;;EAEA;;EAEA;;EAEA;;;;;EAKA;;;;;;EAMA,gBAAgB;;;;;EAKhB,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA8BN,iBAAiB,SAAS,qBAAqB"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["../../src/coding/coding-pack.ts"],"sourcesContent":["import { createGitCommandModule } from '../command/index.js';\nimport {\n createEditorCommandModule,\n createShellCommandModule,\n} from '../command/node.js';\nimport { BUILT_IN_AGENTS } from '@robota-sdk/agent-framework';\nimport { createGitProcess } from '@robota-sdk/agent-framework/node';\nimport { createDefaultTools } from '@robota-sdk/agent-tools/defaults';\n\nimport type { ICapabilityPack } from '../capability-pack/index.js';\nimport type { IEditorFileAccess, ISandboxClient } from '@robota-sdk/agent-tools';\n\n/**\n * The session context agent's coding tools are bound to.\n *\n * `cwd` is **required, not optional** — and that is the whole point of this factory. `agent-tools`'\n * `checkPathWithinCwd` USED TO BE a no-op when `cwd` was `undefined`, so file tools constructed with no\n * options carried a DISARMED working-directory guard: their `Read` returned `/etc/hostname`. That was\n * inert while the framework's own context-bound default tier always won a name\n * collision. Once a product could hand the entire tool surface to its packs (`defaultTools: []`), a\n * context-free pack became an unsandboxed `Read`/`Write`/`Edit`.\n *\n * The layer below is fixed too: the guard refuses when no root is configured, and the tool\n * factories require `cwd` themselves. This requirement is therefore no longer load-bearing on its own —\n * it stays because the scoping decision should be\n * impossible to forget at every layer, not only the lowest one.\n */\nexport interface ICodingPackOptions {\n /** Product-host shell choice for tools and the interactive /shell command. */\n shellExecutable?: string;\n /** HTTP identity selected by the product host. */\n httpUserAgent?: string;\n /** Product-owned prefix for the interactive editor's temporary directory. */\n editorTemporaryDirectoryPrefix?: string;\n /** Keep the command visible but refuse a host editor that would persist a sensitive draft. */\n editorUnavailableMessage?: string;\n /**\n * Working-directory root the host file tools (`Read`/`Write`/`Edit`) are restricted to. Required: see\n * the interface note above. Pass the same value the session is assembled with.\n */\n cwd: string;\n /**\n * Optional provider sandbox client. Shell commands always run through it; file tools do only when its\n * filesystem is `separate` (then the sandbox is the isolation boundary and the host-only search tools\n * are withheld). With a `shared` filesystem, file tools stay on the host under the path guard.\n */\n sandboxClient?: ISandboxClient;\n /**\n * An editor that has the workspace open, asked at each call: the host file tools read and write\n * through what it offers. Absent, or answering `undefined`, means the disk.\n */\n editorFiles?: () => IEditorFileAccess | undefined;\n}\n\n/**\n * Build agent's coding capability as a single {@link ICapabilityPack}, bound to one session context.\n *\n * This is the additive-axis proof and agent's first capability pack: a pack can bundle\n * agent's real coding capability (tools + command modules + subagents) and be composed additively by\n * `assembleProduct` on top of any product's base — and can OWN the product's tool surface\n * outright when the profile suppresses the framework tier with `defaultTools: []`.\n *\n * - **tools** — `createDefaultTools()` from `@robota-sdk/agent-tools/defaults`, CONSUMED rather than\n * mirrored. That set is shell/bash/read/write/edit/glob/grep/webFetch/askUserQuestion,\n * all tools that need no adapter, credential or external service. The list used to be rebuilt\n * here from the `@robota-sdk/agent-tools` factories and held to the defaults by a NAME-equality test\n * — a pin that could not fail, because comparing names\n * cannot distinguish a pack-composed surface from an imported-default one when the two are pinned.\n * The relationship is structural now, so there is no drift left to pin.\n * - **commandModules** — the coding command modules: `/shell`, `/editor` and `/git` (the capability-level\n * command modules, distinct from product-shell/settings/provider command infrastructure).\n * - **subagents** — agent's built-in coding subagents (`general-purpose`, `Explore`, `Plan`).\n *\n * This pack contributes only when a product profile lists it (opt-in); every contributed command/tool runs\n * only through the permission-gated runtime at call time.\n *\n * **Per-call instances, deliberately.** Each call builds fresh tool and command-module objects bound to the\n * supplied context, so two products assembled in one process get independently-scoped file tools. There is\n * no module-level singleton: a shared constant could only ever be context-free, which is exactly the hazard\n * this factory exists to remove.\n */\nexport function createCodingPack(options: ICodingPackOptions): ICapabilityPack {\n const toolOptions = {\n cwd: options.cwd,\n httpUserAgent: options.httpUserAgent,\n ...(options.shellExecutable !== undefined ? { shellExecutable: options.shellExecutable } : {}),\n ...(options.sandboxClient ? { sandboxClient: options.sandboxClient } : {}),\n ...(options.editorFiles ? { editorFiles: options.editorFiles } : {}),\n };\n\n return {\n id: 'coding',\n title: 'Coding',\n description:\n 'Built-in coding capability: file/shell tools, /shell + /editor + /git commands, and the coding subagents.',\n // The always-present default set, consumed from its owner rather than rebuilt here.\n //\n // This list used to be hand-maintained, identical to `createDefaultTools()`'s always-present\n // tier, and the two were held together by a test asserting their NAMES matched. That pin is what\n // made it unable to fail: comparing tool names cannot tell a\n // pack-composed surface from an imported-default one when the pack is pinned to the defaults.\n // Consuming the set makes the relationship structural, so there is nothing left to drift.\n //\n // The default set holds no tool that needs an adapter, a credential or an external service, so\n // neither does this pack. The sandbox still holds — `cwd` is REQUIRED here, so the file-tool\n // guard cannot be disarmed by omission, and the leaf threads it into every tool it builds.\n tools: createDefaultTools(toolOptions),\n commandModules: [\n createShellCommandModule(options.shellExecutable),\n createEditorCommandModule(\n options.editorTemporaryDirectoryPrefix,\n options.editorUnavailableMessage,\n ),\n createGitCommandModule({ port: createGitProcess() }),\n ],\n subagents: BUILT_IN_AGENTS,\n };\n}\n"],"mappings":"mSAiFA,SAAgB,EAAiB,EAA8C,CAS7E,MAAO,CACL,GAAI,SACJ,MAAO,SACP,YACE,4GAYF,MAAO,EAAmB,CAvB1B,IAAK,EAAQ,IACb,cAAe,EAAQ,cACvB,GAAI,EAAQ,kBAAoB,IAAA,GAA2D,CAAC,EAAhD,CAAE,gBAAiB,EAAQ,eAAgB,EACvF,GAAI,EAAQ,cAAgB,CAAE,cAAe,EAAQ,aAAc,EAAI,CAAC,EACxE,GAAI,EAAQ,YAAc,CAAE,YAAa,EAAQ,WAAY,EAAI,CAAC,CAmB9B,CAAC,EACrC,eAAgB,CACd,EAAyB,EAAQ,eAAe,EAChD,EACE,EAAQ,+BACR,EAAQ,wBACV,EACA,EAAuB,CAAE,KAAM,EAAiB,CAAE,CAAC,CACrD,EACA,UAAW,CACb,CACF"}
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../src/coding/coding-pack.ts"],"sourcesContent":["import { createGitCommandModule } from '../command/index.js';\nimport {\n createEditorCommandModule,\n createShellCommandModule,\n} from '../command/node.js';\nimport { BUILT_IN_AGENTS } from '@robota-sdk/agent-framework';\nimport { createGitProcess } from '@robota-sdk/agent-framework/node';\nimport { createDefaultTools } from '@robota-sdk/agent-tools/defaults';\n\nimport type { ICapabilityPack } from '../capability-pack/index.js';\nimport type { IEditorFileAccess, ISandboxClient } from '@robota-sdk/agent-tools';\n\n/**\n * The session context agent's coding tools are bound to.\n *\n * `cwd` is **required, not optional** — and that is the whole point of this factory. File tools\n * built without a working directory have nothing to bind their working-directory guard to; a guard\n * that read a missing `cwd` as \"no restriction\" would let a context-free pack become an unsandboxed\n * `Read`/`Write`/`Edit`. That matters because a product can hand the entire tool surface to its\n * packs (`defaultTools: []`) instead of leaving it to the framework's context-bound default tier.\n *\n * The layer below refuses too: `agent-tools`' `checkPathWithinCwd` refuses when no root is\n * configured, and the tool factories require `cwd` themselves. This requirement is therefore not\n * load-bearing on its own — it stays because the scoping decision should be impossible to forget\n * at every layer, not only the lowest one.\n */\nexport interface ICodingPackOptions {\n /** Product-host shell choice for tools and the interactive /shell command. */\n shellExecutable?: string;\n /** HTTP identity selected by the product host. */\n httpUserAgent?: string;\n /** Product-owned prefix for the interactive editor's temporary directory. */\n editorTemporaryDirectoryPrefix?: string;\n /** Keep the command visible but refuse a host editor that would persist a sensitive draft. */\n editorUnavailableMessage?: string;\n /**\n * Working-directory root the host file tools (`Read`/`Write`/`Edit`) are restricted to. Required: see\n * the interface note above. Pass the same value the session is assembled with.\n */\n cwd: string;\n /**\n * Optional provider sandbox client. Shell commands always run through it; file tools do only when its\n * filesystem is `separate` (then the sandbox is the isolation boundary and the host-only search tools\n * are withheld). With a `shared` filesystem, file tools stay on the host under the path guard.\n */\n sandboxClient?: ISandboxClient;\n /**\n * An editor that has the workspace open, asked at each call: the host file tools read and write\n * through what it offers. Absent, or answering `undefined`, means the disk.\n */\n editorFiles?: () => IEditorFileAccess | undefined;\n}\n\n/**\n * Build agent's coding capability as a single {@link ICapabilityPack}, bound to one session context.\n *\n * This is the additive-axis proof and agent's first capability pack: a pack can bundle\n * agent's real coding capability (tools + command modules + subagents) and be composed additively by\n * `assembleProduct` on top of any product's base — and can OWN the product's tool surface\n * outright when the profile suppresses the framework tier with `defaultTools: []`.\n *\n * - **tools** — `createDefaultTools()` from `@robota-sdk/agent-tools/defaults`, CONSUMED rather than\n * mirrored. That set is shell/bash/read/write/edit/glob/grep/webFetch/askUserQuestion,\n * all tools that need no adapter, credential or external service. The list is not rebuilt here\n * from the `@robota-sdk/agent-tools` factories and held to the defaults by a NAME-equality test\n * — such a pin could not fail, because comparing names\n * cannot distinguish a pack-composed surface from an imported-default one when the two are pinned.\n * The relationship is structural, so there is no drift to pin.\n * - **commandModules** — the coding command modules: `/shell`, `/editor` and `/git` (the capability-level\n * command modules, distinct from product-shell/settings/provider command infrastructure).\n * - **subagents** — agent's built-in coding subagents (`general-purpose`, `Explore`, `Plan`).\n *\n * This pack contributes only when a product profile lists it (opt-in); every contributed command/tool runs\n * only through the permission-gated runtime at call time.\n *\n * **Per-call instances, deliberately.** Each call builds fresh tool and command-module objects bound to the\n * supplied context, so two products assembled in one process get independently-scoped file tools. There is\n * no module-level singleton: a shared constant could only ever be context-free, which is exactly the hazard\n * this factory exists to remove.\n */\nexport function createCodingPack(options: ICodingPackOptions): ICapabilityPack {\n const toolOptions = {\n cwd: options.cwd,\n httpUserAgent: options.httpUserAgent,\n ...(options.shellExecutable !== undefined ? { shellExecutable: options.shellExecutable } : {}),\n ...(options.sandboxClient ? { sandboxClient: options.sandboxClient } : {}),\n ...(options.editorFiles ? { editorFiles: options.editorFiles } : {}),\n };\n\n return {\n id: 'coding',\n title: 'Coding',\n description:\n 'Built-in coding capability: file/shell tools, /shell + /editor + /git commands, and the coding subagents.',\n // The always-present default set, consumed from its owner rather than rebuilt here.\n //\n // This list is not hand-maintained to mirror `createDefaultTools()`'s always-present tier: a\n // test asserting that the NAMES matched could not fail, because comparing tool names cannot\n // tell a pack-composed surface from an imported-default one when the pack is pinned to the\n // defaults. Consuming the set makes the relationship structural, so there is nothing to drift.\n //\n // The default set holds no tool that needs an adapter, a credential or an external service, so\n // neither does this pack. The sandbox still holds — `cwd` is REQUIRED here, so the file-tool\n // guard cannot be disarmed by omission, and the leaf threads it into every tool it builds.\n tools: createDefaultTools(toolOptions),\n commandModules: [\n createShellCommandModule(options.shellExecutable),\n createEditorCommandModule(\n options.editorTemporaryDirectoryPrefix,\n options.editorUnavailableMessage,\n ),\n createGitCommandModule({ port: createGitProcess() }),\n ],\n subagents: BUILT_IN_AGENTS,\n };\n}\n"],"mappings":"mSAgFA,SAAgB,EAAiB,EAA8C,CAS7E,MAAO,CACL,GAAI,SACJ,MAAO,SACP,YACE,4GAWF,MAAO,EAAmB,CAtB1B,IAAK,EAAQ,IACb,cAAe,EAAQ,cACvB,GAAI,EAAQ,kBAAoB,IAAA,GAA2D,CAAC,EAAhD,CAAE,gBAAiB,EAAQ,eAAgB,EACvF,GAAI,EAAQ,cAAgB,CAAE,cAAe,EAAQ,aAAc,EAAI,CAAC,EACxE,GAAI,EAAQ,YAAc,CAAE,YAAa,EAAQ,WAAY,EAAI,CAAC,CAkB9B,CAAC,EACrC,eAAgB,CACd,EAAyB,EAAQ,eAAe,EAChD,EACE,EAAQ,+BACR,EAAQ,wBACV,EACA,EAAuB,CAAE,KAAM,EAAiB,CAAE,CAAC,CACrD,EACA,UAAW,CACb,CACF"}