@ordewell/core 0.11.2 → 0.12.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.
Files changed (42) hide show
  1. package/AUTHORS.md +3 -1
  2. package/dist/{IRunner-ihalYfTo.d.mts → IRunner-BwzyUVIL.d.mts} +62 -18
  3. package/dist/{IRunner-DOMtDTVt.d.ts → IRunner-DjJkYwko.d.ts} +62 -18
  4. package/dist/{ModeResolver-DyXeZ9ib.d.ts → ModeResolver-CHsaoV7M.d.ts} +1 -1
  5. package/dist/{ModeResolver-BDAgouuE.d.mts → ModeResolver-b_7bPlBS.d.mts} +1 -1
  6. package/dist/{Task-BL4Idm9r.d.mts → Task-BTEH-ztX.d.mts} +301 -26
  7. package/dist/{Task-BL4Idm9r.d.ts → Task-BTEH-ztX.d.ts} +301 -26
  8. package/dist/{chunk-MYXMIVWA.mjs → chunk-BFLVOYNR.mjs} +3 -3
  9. package/dist/{chunk-YAFNYNFX.mjs → chunk-BKTDYGIP.mjs} +14 -2
  10. package/dist/chunk-BKTDYGIP.mjs.map +1 -0
  11. package/dist/{chunk-QTZ5XTBY.mjs → chunk-F6WS3JLQ.mjs} +446 -10
  12. package/dist/chunk-F6WS3JLQ.mjs.map +1 -0
  13. package/dist/{chunk-7WNLN63J.mjs → chunk-HP2LNKST.mjs} +315 -51
  14. package/dist/chunk-HP2LNKST.mjs.map +1 -0
  15. package/dist/index.d.mts +242 -78
  16. package/dist/index.d.ts +242 -78
  17. package/dist/index.js +5598 -2005
  18. package/dist/index.js.map +1 -1
  19. package/dist/index.mjs +4701 -1782
  20. package/dist/index.mjs.map +1 -1
  21. package/dist/parsing.d.mts +2 -2
  22. package/dist/parsing.d.ts +2 -2
  23. package/dist/parsing.js.map +1 -1
  24. package/dist/parsing.mjs +3 -3
  25. package/dist/plan-utils.d.mts +4 -4
  26. package/dist/plan-utils.d.ts +4 -4
  27. package/dist/plan-utils.js +135 -19
  28. package/dist/plan-utils.js.map +1 -1
  29. package/dist/plan-utils.mjs +25 -3
  30. package/dist/{runSettingsText-CYMhTWfw.d.ts → runSettingsText-CvZ40IPv.d.ts} +1086 -190
  31. package/dist/{runSettingsText-tnmvdSfS.d.mts → runSettingsText-x-YML2ay.d.mts} +1086 -190
  32. package/dist/testing.d.mts +18 -2
  33. package/dist/testing.d.ts +18 -2
  34. package/dist/testing.js +71 -7
  35. package/dist/testing.js.map +1 -1
  36. package/dist/testing.mjs +68 -7
  37. package/dist/testing.mjs.map +1 -1
  38. package/package.json +2 -1
  39. package/dist/chunk-7WNLN63J.mjs.map +0 -1
  40. package/dist/chunk-QTZ5XTBY.mjs.map +0 -1
  41. package/dist/chunk-YAFNYNFX.mjs.map +0 -1
  42. /package/dist/{chunk-MYXMIVWA.mjs.map → chunk-BFLVOYNR.mjs.map} +0 -0
package/AUTHORS.md CHANGED
@@ -26,12 +26,14 @@ record of who built what, rather than `git log`.
26
26
  planner's duplicated usage-limit message (#79, #96).
27
27
  - [@haltingstate](https://github.com/haltingstate) — made the terminal UI's
28
28
  stepper say what a saved step does next, instead of encoding it in a
29
- sentinel index (#123).
29
+ sentinel index (#123), and improved tool-call errors (#124).
30
30
  - [@Logic769](https://github.com/Logic769) — made `/resume` an alias of
31
31
  `/sessions` in the planner chat (#139).
32
32
  - Hanbin Tan ([@hskl18](https://github.com/hskl18)) — documented how
33
33
  planners and runners get their models and credentials (#140).
34
34
 
35
+ - [@torialfaro](https://github.com/torialfaro) and [@aavykyy](https://github.com/aavykyy) — made VS Code task prompts keyboard accessible (#141).
36
+
35
37
  Thank you. Contributions are welcome — see [CONTRIBUTING.md](CONTRIBUTING.md).
36
38
 
37
39
  ## Acknowledgements
@@ -1,5 +1,5 @@
1
1
  import { ChildProcess } from 'child_process';
2
- import { aS as Task, az as RunnerId, b6 as UsageRecord, aQ as SubagentOutcome, aA as RunnerSessionCost, i as DiscoveredModel, a$ as TaskSkillSnapshot, p as HandoffCheck } from './Task-BL4Idm9r.mjs';
2
+ import { b1 as Task, aK as RunnerId, bh as UsageRecord, a$ as SubagentOutcome, aL as RunnerSessionCost, i as DiscoveredModel, ba as TaskSkillSnapshot, p as HandoffCheck } from './Task-BTEH-ztX.mjs';
3
3
  import { z } from 'zod/v4';
4
4
 
5
5
  /** A script task's time limit when it sets none. */
@@ -174,6 +174,8 @@ interface ShellLaunch {
174
174
  * timeout, and stops waiting for output a moment after it exits.
175
175
  */
176
176
  wallTimeMs?: number;
177
+ /** A sealed run's memory limit, which its result names if the run was ended at it (ADR-0036 S1). */
178
+ memoryBytes?: number;
177
179
  }
178
180
  interface ResearchShellDeps {
179
181
  platform?: NodeJS.Platform;
@@ -708,6 +710,12 @@ interface IConfig {
708
710
  approvalDefaults: boolean;
709
711
  /** The user's effect allowlist rules (ADR-0035, `effectAllowlist.ts`), read on every request. It has no defaults. */
710
712
  effectAllowlist: string[];
713
+ /**
714
+ * The user's notify command as an argument vector (ADR-0053), read as each
715
+ * new escalation appears; empty when there is none. A repository never sets
716
+ * it, because it would then run a command on the user's machine.
717
+ */
718
+ notifyCommand: string[];
711
719
  /** How many fetches and searches one planner turn may make (ADR-0027). User-only, like the approval settings. */
712
720
  webReadBudget: number;
713
721
  /**
@@ -738,6 +746,12 @@ interface ToolOutcome {
738
746
  * names the limit it ran out of rather than blaming the command.
739
747
  */
740
748
  timedOut?: boolean;
749
+ /**
750
+ * The signal that ended the child, if one did. The adapters report it, and a
751
+ * sealed run's result reads it for the one that means its memory limit ended
752
+ * the run (ADR-0036 S1).
753
+ */
754
+ signal?: NodeJS.Signals;
741
755
  }
742
756
  interface ReadFileOpts {
743
757
  maxBytes?: number;
@@ -864,7 +878,7 @@ interface IFileSystem {
864
878
  setOutboundSecrets?(secrets: () => Iterable<string>): void;
865
879
  /** Where the filesystem tells the session, once, that the planner's shell runs without an OS sandbox here (ADR-0011 B5). */
866
880
  setNotice?(notice: (message: string) => void): void;
867
- /** The session ended: its scratch directory is removed, and the next command starts a fresh one (ADR-0011 B2). */
881
+ /** The session ended: its scratch directories are removed, and the next command starts fresh ones (ADR-0011 B2). */
868
882
  endSession?(): void;
869
883
  /** Whether a command can run sealed on this host (ADR-0036 S6); where it cannot, the session's one notice says so. */
870
884
  canSeal?(): Promise<boolean>;
@@ -1533,18 +1547,26 @@ interface SandboxProfile {
1533
1547
  limits?: SandboxLimits;
1534
1548
  }
1535
1549
  /**
1536
- * Held by the kernel's resource limits, set before the launcher starts, and
1537
- * by the caller's clock (ADR-0036 S1).
1550
+ * Held by the kernel's resource limits, set before the launcher starts, by a
1551
+ * watcher beside the launcher, outside the sandbox, and by the caller's clock
1552
+ * (ADR-0036 S1).
1538
1553
  */
1539
1554
  interface SandboxLimits {
1540
1555
  /** Processes the command may start beyond those its user already runs, which the kernel's limit counts too. */
1541
1556
  processes: number;
1542
1557
  /**
1543
- * Bytes of address space any one of its processes may map. On macOS, where
1544
- * every program maps hundreds of gigabytes as it starts, it is counted on
1545
- * top of that.
1558
+ * Bytes of real memory the command may hold: resident memory summed across
1559
+ * its processes, which the watcher reads about once a second and ends the
1560
+ * command for passing ({@link MEMORY_LIMIT_SIGNAL}).
1546
1561
  */
1547
1562
  memoryBytes: number;
1563
+ /**
1564
+ * Bytes of address space any one of its processes may map: a backstop
1565
+ * against a runaway allocator, not a measure of memory, since V8 reserves
1566
+ * far more than it touches. On macOS, where every program maps hundreds of
1567
+ * gigabytes as it starts, it is counted on top of that.
1568
+ */
1569
+ addressSpaceBytes: number;
1548
1570
  /** Milliseconds before the caller kills the command, and with it every process it started. */
1549
1571
  wallTimeMs: number;
1550
1572
  }
@@ -1559,9 +1581,12 @@ interface SandboxInvocation {
1559
1581
  interface SandboxLaunch {
1560
1582
  file: string;
1561
1583
  args: string[];
1584
+ /** What `file` starts with. A launcher that runs before the sandbox gets only what the profile keeps of the host's. */
1562
1585
  env: NodeJS.ProcessEnv;
1563
1586
  /** The profile's wall-time limit: the caller kills the launch with SIGKILL once it has run this long. */
1564
1587
  wallTimeMs?: number;
1588
+ /** The profile's memory limit, past which the launch ends by {@link MEMORY_LIMIT_SIGNAL}. */
1589
+ memoryBytes?: number;
1565
1590
  }
1566
1591
  type SandboxProbe = {
1567
1592
  ok: true;
@@ -1676,7 +1701,12 @@ interface PlannerSandboxDeps {
1676
1701
  uid?: number;
1677
1702
  exec?: ProbeExec;
1678
1703
  }
1679
- /** Enough for a loop over a repository's files, a pipeline or a short script; not for a build. */
1704
+ /**
1705
+ * Time enough for a loop over a repository's files, a pipeline or a short
1706
+ * script, not for a build. The memory is real memory across the run; the
1707
+ * address space is per process and far above what V8 reserves for ordinary
1708
+ * programs (ADR-0036 S1, which records the measurement).
1709
+ */
1680
1710
  declare const SEALED_LIMITS: SandboxLimits;
1681
1711
  /**
1682
1712
  * A read-only task's sealed runs (ADR-0046): the same resources, with the ten
@@ -1699,18 +1729,18 @@ interface PlannerShellLaunch {
1699
1729
  sandboxed: boolean;
1700
1730
  }
1701
1731
  /**
1702
- * One session's view of the sandbox: its scratch directory, made on the first
1703
- * command and removed when the session ends, and its one notice when the
1704
- * sandbox, or a sealed run in it, cannot run here.
1732
+ * One session's view of the sandbox: a scratch directory for each profile,
1733
+ * made on its first command and removed when the session ends, and its one
1734
+ * notice when the sandbox, or a sealed run in it, cannot run here.
1705
1735
  */
1706
1736
  declare class PlannerShellSandbox {
1707
1737
  private readonly resolve;
1708
- private scratch;
1738
+ private readonly scratch;
1709
1739
  private noticed;
1710
1740
  private notice;
1711
1741
  constructor(resolve?: () => Promise<PlannerSandboxAvailability>);
1712
1742
  setNotice(notice: (message: string) => void): void;
1713
- /** The same host's sandbox for another caller, with a scratch directory of its own: a read-only task's (ADR-0046). */
1743
+ /** The same host's sandbox for another caller, with scratch directories of its own: a read-only task's (ADR-0046). */
1714
1744
  withOwnScratch(): PlannerShellSandbox;
1715
1745
  /**
1716
1746
  * The launch for one command (B6): the research shell wrapped in the
@@ -1733,8 +1763,10 @@ declare class PlannerShellSandbox {
1733
1763
  /**
1734
1764
  * The launch for a harness's own shell (ADR-0036 N2): the same sealed profile
1735
1765
  * as a sealed run, with the network the harness gives it (N3), plus the
1736
- * harness's short temporary directory. The workspace stays read-only. Throws
1737
- * where the sandbox cannot run, so a caller never falls back to the bare shell.
1766
+ * harness's short temporary directory. The workspace stays read-only. Its
1767
+ * home is a scratch directory of its own, so whatever startup files its shell
1768
+ * reads, a sealed run wrote none of them (S8). Throws where the sandbox
1769
+ * cannot run, so a caller never falls back to the bare shell.
1738
1770
  */
1739
1771
  launchNativeShell(opts: {
1740
1772
  workspace: string;
@@ -1743,9 +1775,9 @@ declare class PlannerShellSandbox {
1743
1775
  shellArgs?: readonly string[];
1744
1776
  env?: NodeJS.ProcessEnv;
1745
1777
  }): Promise<SandboxLaunch>;
1746
- /** The scratch directory every launch here gets as `$TMPDIR` and `$HOME`, made if it is not there. */
1778
+ /** The scratch directory a sealed run gets as `$TMPDIR` and `$HOME`, made if it is not there. */
1747
1779
  scratchPath(): string;
1748
- /** The session ended: its scratch directory goes, and a next session starts with a fresh one and its own notice. */
1780
+ /** The session ended: its scratch directories go, and a next session starts with fresh ones and its own notice. */
1749
1781
  end(): void;
1750
1782
  private say;
1751
1783
  private invocation;
@@ -2074,6 +2106,14 @@ interface TaskRunnerFlags {
2074
2106
  /** The manifest's further settings for the task's mode, by setting name — see `RunnerFeatures.modeSettings`. */
2075
2107
  modeSettings: Record<string, string>;
2076
2108
  }
2109
+ /**
2110
+ * What a task runner loads of the user's own setup (the `taskRunnerConfig`
2111
+ * setting): `user` is everything the runner would load for the user,
2112
+ * `minimal` only what a task needs — Ordewell's server, the repository's
2113
+ * instructions — so the user's connectors, skills and settings do not ride in
2114
+ * every attempt's context. Runners that cannot narrow their setup ignore it.
2115
+ */
2116
+ type TaskRunnerConfig = 'user' | 'minimal';
2077
2117
  /** A plan task driven over the runner's programmatic protocol (ADR-0018, C1). */
2078
2118
  interface TaskStartOptions extends AgentStartCommon {
2079
2119
  kind: 'task';
@@ -2082,6 +2122,8 @@ interface TaskStartOptions extends AgentStartCommon {
2082
2122
  /** The task's runner mode id, as the plan names it. */
2083
2123
  mode: string;
2084
2124
  flags: TaskRunnerFlags;
2125
+ /** What the runner loads of the user's setup; absent means `user`. */
2126
+ runnerConfig?: TaskRunnerConfig;
2085
2127
  /** The attempt's work lands as a commit (ADR-0047): its completion contract asks for the message. */
2086
2128
  commits?: true;
2087
2129
  /**
@@ -2823,6 +2865,8 @@ interface IRunner {
2823
2865
  cancelled?: AbortSignal;
2824
2866
  /** The attempt's work lands as a commit (ADR-0047): its runner is told to write the message in `task_complete`. */
2825
2867
  commits?: true;
2868
+ /** What the runner loads of the user's own setup (the `taskRunnerConfig` setting); absent means all of it. Runners that cannot narrow it ignore it. */
2869
+ runnerConfig?: TaskRunnerConfig;
2826
2870
  /** A script task's body (ADR-0035): only the script runner reads it, and it runs nothing else. */
2827
2871
  script?: ScriptBody;
2828
2872
  /**
@@ -2868,4 +2912,4 @@ interface IRunner {
2868
2912
  activeCount: number;
2869
2913
  }
2870
2914
 
2871
- export { type McpToolContext as $, AUTO_COMMANDS as A, type BashOptions as B, type CatalogModel as C, DEFAULT_PLANNER_ALLOWLIST as D, type DiscoveryCommand as E, type EditPlanArgs as F, type FetchAllProviderModelsOptions as G, type FindSymbolOptions as H, GIT_READONLY_SUBCOMMANDS as I, GREP_DEFAULT_HEAD_LIMIT as J, type GlobOptions as K, type GrepOptions as L, type GrepOutputMode as M, type IApproval as N, type IConfig as O, type IFileSystem as P, type IRunner as Q, type IRunnerSession as R, type InvokedCommand as S, LineBuffer as T, type ListModelsArgs as U, type ListRunnersArgs as V, type LoadSkillArgs as W, type McpClientConfig as X, type McpCredential as Y, type McpRefusal as Z, type McpTool as _, type AgentAdapter as a, type SealedAvailability as a$, type McpToolReply as a0, type MessageTaskArgs as a1, ModelCatalog as a2, type ModelShortcut as a3, ORCHESTRATOR_SHORTCUTS as a4, ORDEWELL_MCP_PATH as a5, ORDEWELL_MCP_SERVER_NAME as a6, type OneTaskArgs as a7, type OrchestratorOption as a8, OrdewellMcpServer as a9, type RunCommandArgs as aA, type RunPlanArgs as aB, type RunnerAuthSpec as aC, type RunnerAuthStatus as aD, type RunnerCommand as aE, type RunnerCommandKind as aF, type RunnerEntry as aG, type RunnerEnv as aH, type RunnerFeatures as aI, type RunnerManifest as aJ, type RunnerMcpServer as aK, type RunnerMode as aL, type RunnerModelDiscovery as aM, type RunnerModelRef as aN, RunnerRegistry as aO, SEALED_LIMITS as aP, SEARCH_EXCLUSIONS as aQ, type SandboxBackend as aR, type SandboxInvocation as aS, type SandboxLaunch as aT, type SandboxLimits as aU, type SandboxProfile as aV, type ScriptBody as aW, type ScriptExit as aX, type ScriptFullOutput as aY, type ScriptRun as aZ, type ScriptStatus as a_, type OwnSealedRuns as aa, type OwnerOnlyFile as ab, PLANNER_EXECUTION_TOOLS as ac, PLANNER_SANDBOX_DOCS as ad, PLANNER_TOOLS as ae, type PlannerAllowlist as af, type PlannerBackendId as ag, type PlannerSandboxAvailability as ah, type PlannerSandboxDeps as ai, PlannerShellSandbox as aj, type PlannerStartOptions as ak, type PlannerTokenScope as al, type PlannerToolHandler as am, type ProjectMcpServer as an, type ProviderCredentialSource as ao, type ProviderModelLists as ap, type ProviderModelsResult as aq, type QueuedTaskMessage as ar, READ_ONLY_TASK_TOOLS as as, REFUSED_COMMANDS as at, type ReadFileOpts as au, type ReadTaskArgs as av, type ResearchShell as aw, type ResearchShellDeps as ax, type RetryTaskArgs as ay, type RuleWord as az, type AgentAdapterFactory as b, type SealedRunOptions as b0, type ShellDialect as b1, type ShellLaunch as b2, type SpawnFn as b3, type StandingDecision as b4, type StructuredEvent as b5, type StructuredTurnEnd as b6, type SubmitPlanArgs as b7, TASK_COMPLETE_TOOL as b8, TASK_COMPLETION_CONTRACT as b9, effectiveApprovalMode as bA, enabledRunners as bB, fetchAllProviderModels as bC, findRunnerCommand as bD, isGranted as bE, isRunnerApproval as bF, knownModelId as bG, mcpClientConfig as bH, ownerOnlyConfigFile as bI, parseAllowlist as bJ, parseApprovalModeSetting as bK, researchShellWarning as bL, researchToolsPath as bM, resolveModelShortcut as bN, resolvePlannerSandbox as bO, resolveProvider as bP, resolveResearchShell as bQ, scopeAllowed as bR, scriptBodyOf as bS, scriptBodyText as bT, scriptTaskText as bU, sharedMcpServer as bV, taskCompletionContract as bW, timeLimitText as bX, toApprovalDecision as bY, toOrchestratorOptions as bZ, toolAllowed as b_, TASK_SEALED_LIMITS as ba, TASK_TOOLS as bb, type TaskCompleteArgs as bc, type TaskDiffArgs as bd, type TaskMessageFrom as be, type TaskModeAgentAdapter as bf, TaskModeUnsupportedError as bg, type TaskOutputArgs as bh, type TaskQueryArgs as bi, type TaskRunCommandArgs as bj, type TaskRunnerFlags as bk, type TaskShell as bl, type TaskShellSite as bm, type TaskStartOptions as bn, type TaskTokenScope as bo, type TaskToolHandler as bp, type TaskWebReads as bq, type ToolOutcome as br, type UsageLimitSignal as bs, approvalScopes as bt, classifyCommand as bu, clearPlannerSandboxCache as bv, clearResearchShellCache as bw, collectProviderCredentials as bx, commandAllowedBy as by, commandLine as bz, type AgentEvent as c, type AgentProcessDeps as d, type AgentStartOptions as e, type AiProvider as f, type AllProviderModels as g, type AnswerApprovalArgs as h, type ApplyPatchArgs as i, type ApprovalAnswer as j, type ApprovalDecision as k, type ApprovalKind as l, type ApprovalMode as m, type ApprovalModeSetting as n, ApprovalPolicy as o, type ApprovalPolicyOptions as p, type ApprovalRequest as q, type ApprovalSource as r, type AttachState as s, type CheckpointAnswer as t, type CheckpointArgs as u, type CommandClassification as v, type CommandTier as w, type CommandWords as x, DEFAULT_SCRIPT_TIMEOUT_MS as y, DENY_ALL as z };
2915
+ export { type McpToolContext as $, AUTO_COMMANDS as A, type BashOptions as B, type CatalogModel as C, DEFAULT_PLANNER_ALLOWLIST as D, type DiscoveryCommand as E, type EditPlanArgs as F, type FetchAllProviderModelsOptions as G, type FindSymbolOptions as H, GIT_READONLY_SUBCOMMANDS as I, GREP_DEFAULT_HEAD_LIMIT as J, type GlobOptions as K, type GrepOptions as L, type GrepOutputMode as M, type IApproval as N, type IConfig as O, type IFileSystem as P, type IRunner as Q, type IRunnerSession as R, type InvokedCommand as S, LineBuffer as T, type ListModelsArgs as U, type ListRunnersArgs as V, type LoadSkillArgs as W, type McpClientConfig as X, type McpCredential as Y, type McpRefusal as Z, type McpTool as _, type AgentAdapter as a, type SealedAvailability as a$, type McpToolReply as a0, type MessageTaskArgs as a1, ModelCatalog as a2, type ModelShortcut as a3, ORCHESTRATOR_SHORTCUTS as a4, ORDEWELL_MCP_PATH as a5, ORDEWELL_MCP_SERVER_NAME as a6, type OneTaskArgs as a7, type OrchestratorOption as a8, OrdewellMcpServer as a9, type RunCommandArgs as aA, type RunPlanArgs as aB, type RunnerAuthSpec as aC, type RunnerAuthStatus as aD, type RunnerCommand as aE, type RunnerCommandKind as aF, type RunnerEntry as aG, type RunnerEnv as aH, type RunnerFeatures as aI, type RunnerManifest as aJ, type RunnerMcpServer as aK, type RunnerMode as aL, type RunnerModelDiscovery as aM, type RunnerModelRef as aN, RunnerRegistry as aO, SEALED_LIMITS as aP, SEARCH_EXCLUSIONS as aQ, type SandboxBackend as aR, type SandboxInvocation as aS, type SandboxLaunch as aT, type SandboxLimits as aU, type SandboxProfile as aV, type ScriptBody as aW, type ScriptExit as aX, type ScriptFullOutput as aY, type ScriptRun as aZ, type ScriptStatus as a_, type OwnSealedRuns as aa, type OwnerOnlyFile as ab, PLANNER_EXECUTION_TOOLS as ac, PLANNER_SANDBOX_DOCS as ad, PLANNER_TOOLS as ae, type PlannerAllowlist as af, type PlannerBackendId as ag, type PlannerSandboxAvailability as ah, type PlannerSandboxDeps as ai, PlannerShellSandbox as aj, type PlannerStartOptions as ak, type PlannerTokenScope as al, type PlannerToolHandler as am, type ProjectMcpServer as an, type ProviderCredentialSource as ao, type ProviderModelLists as ap, type ProviderModelsResult as aq, type QueuedTaskMessage as ar, READ_ONLY_TASK_TOOLS as as, REFUSED_COMMANDS as at, type ReadFileOpts as au, type ReadTaskArgs as av, type ResearchShell as aw, type ResearchShellDeps as ax, type RetryTaskArgs as ay, type RuleWord as az, type AgentAdapterFactory as b, toolAllowed as b$, type SealedRunOptions as b0, type ShellDialect as b1, type ShellLaunch as b2, type SpawnFn as b3, type StandingDecision as b4, type StructuredEvent as b5, type StructuredTurnEnd as b6, type SubmitPlanArgs as b7, TASK_COMPLETE_TOOL as b8, TASK_COMPLETION_CONTRACT as b9, commandLine as bA, effectiveApprovalMode as bB, enabledRunners as bC, fetchAllProviderModels as bD, findRunnerCommand as bE, isGranted as bF, isRunnerApproval as bG, knownModelId as bH, mcpClientConfig as bI, ownerOnlyConfigFile as bJ, parseAllowlist as bK, parseApprovalModeSetting as bL, researchShellWarning as bM, researchToolsPath as bN, resolveModelShortcut as bO, resolvePlannerSandbox as bP, resolveProvider as bQ, resolveResearchShell as bR, scopeAllowed as bS, scriptBodyOf as bT, scriptBodyText as bU, scriptTaskText as bV, sharedMcpServer as bW, taskCompletionContract as bX, timeLimitText as bY, toApprovalDecision as bZ, toOrchestratorOptions as b_, TASK_SEALED_LIMITS as ba, TASK_TOOLS as bb, type TaskCompleteArgs as bc, type TaskDiffArgs as bd, type TaskMessageFrom as be, type TaskModeAgentAdapter as bf, TaskModeUnsupportedError as bg, type TaskOutputArgs as bh, type TaskQueryArgs as bi, type TaskRunCommandArgs as bj, type TaskRunnerConfig as bk, type TaskRunnerFlags as bl, type TaskShell as bm, type TaskShellSite as bn, type TaskStartOptions as bo, type TaskTokenScope as bp, type TaskToolHandler as bq, type TaskWebReads as br, type ToolOutcome as bs, type UsageLimitSignal as bt, approvalScopes as bu, classifyCommand as bv, clearPlannerSandboxCache as bw, clearResearchShellCache as bx, collectProviderCredentials as by, commandAllowedBy as bz, type AgentEvent as c, type AgentProcessDeps as d, type AgentStartOptions as e, type AiProvider as f, type AllProviderModels as g, type AnswerApprovalArgs as h, type ApplyPatchArgs as i, type ApprovalAnswer as j, type ApprovalDecision as k, type ApprovalKind as l, type ApprovalMode as m, type ApprovalModeSetting as n, ApprovalPolicy as o, type ApprovalPolicyOptions as p, type ApprovalRequest as q, type ApprovalSource as r, type AttachState as s, type CheckpointAnswer as t, type CheckpointArgs as u, type CommandClassification as v, type CommandTier as w, type CommandWords as x, DEFAULT_SCRIPT_TIMEOUT_MS as y, DENY_ALL as z };
@@ -1,5 +1,5 @@
1
1
  import { ChildProcess } from 'child_process';
2
- import { aS as Task, az as RunnerId, b6 as UsageRecord, aQ as SubagentOutcome, aA as RunnerSessionCost, i as DiscoveredModel, a$ as TaskSkillSnapshot, p as HandoffCheck } from './Task-BL4Idm9r.js';
2
+ import { b1 as Task, aK as RunnerId, bh as UsageRecord, a$ as SubagentOutcome, aL as RunnerSessionCost, i as DiscoveredModel, ba as TaskSkillSnapshot, p as HandoffCheck } from './Task-BTEH-ztX.js';
3
3
  import { z } from 'zod/v4';
4
4
 
5
5
  /** A script task's time limit when it sets none. */
@@ -174,6 +174,8 @@ interface ShellLaunch {
174
174
  * timeout, and stops waiting for output a moment after it exits.
175
175
  */
176
176
  wallTimeMs?: number;
177
+ /** A sealed run's memory limit, which its result names if the run was ended at it (ADR-0036 S1). */
178
+ memoryBytes?: number;
177
179
  }
178
180
  interface ResearchShellDeps {
179
181
  platform?: NodeJS.Platform;
@@ -708,6 +710,12 @@ interface IConfig {
708
710
  approvalDefaults: boolean;
709
711
  /** The user's effect allowlist rules (ADR-0035, `effectAllowlist.ts`), read on every request. It has no defaults. */
710
712
  effectAllowlist: string[];
713
+ /**
714
+ * The user's notify command as an argument vector (ADR-0053), read as each
715
+ * new escalation appears; empty when there is none. A repository never sets
716
+ * it, because it would then run a command on the user's machine.
717
+ */
718
+ notifyCommand: string[];
711
719
  /** How many fetches and searches one planner turn may make (ADR-0027). User-only, like the approval settings. */
712
720
  webReadBudget: number;
713
721
  /**
@@ -738,6 +746,12 @@ interface ToolOutcome {
738
746
  * names the limit it ran out of rather than blaming the command.
739
747
  */
740
748
  timedOut?: boolean;
749
+ /**
750
+ * The signal that ended the child, if one did. The adapters report it, and a
751
+ * sealed run's result reads it for the one that means its memory limit ended
752
+ * the run (ADR-0036 S1).
753
+ */
754
+ signal?: NodeJS.Signals;
741
755
  }
742
756
  interface ReadFileOpts {
743
757
  maxBytes?: number;
@@ -864,7 +878,7 @@ interface IFileSystem {
864
878
  setOutboundSecrets?(secrets: () => Iterable<string>): void;
865
879
  /** Where the filesystem tells the session, once, that the planner's shell runs without an OS sandbox here (ADR-0011 B5). */
866
880
  setNotice?(notice: (message: string) => void): void;
867
- /** The session ended: its scratch directory is removed, and the next command starts a fresh one (ADR-0011 B2). */
881
+ /** The session ended: its scratch directories are removed, and the next command starts fresh ones (ADR-0011 B2). */
868
882
  endSession?(): void;
869
883
  /** Whether a command can run sealed on this host (ADR-0036 S6); where it cannot, the session's one notice says so. */
870
884
  canSeal?(): Promise<boolean>;
@@ -1533,18 +1547,26 @@ interface SandboxProfile {
1533
1547
  limits?: SandboxLimits;
1534
1548
  }
1535
1549
  /**
1536
- * Held by the kernel's resource limits, set before the launcher starts, and
1537
- * by the caller's clock (ADR-0036 S1).
1550
+ * Held by the kernel's resource limits, set before the launcher starts, by a
1551
+ * watcher beside the launcher, outside the sandbox, and by the caller's clock
1552
+ * (ADR-0036 S1).
1538
1553
  */
1539
1554
  interface SandboxLimits {
1540
1555
  /** Processes the command may start beyond those its user already runs, which the kernel's limit counts too. */
1541
1556
  processes: number;
1542
1557
  /**
1543
- * Bytes of address space any one of its processes may map. On macOS, where
1544
- * every program maps hundreds of gigabytes as it starts, it is counted on
1545
- * top of that.
1558
+ * Bytes of real memory the command may hold: resident memory summed across
1559
+ * its processes, which the watcher reads about once a second and ends the
1560
+ * command for passing ({@link MEMORY_LIMIT_SIGNAL}).
1546
1561
  */
1547
1562
  memoryBytes: number;
1563
+ /**
1564
+ * Bytes of address space any one of its processes may map: a backstop
1565
+ * against a runaway allocator, not a measure of memory, since V8 reserves
1566
+ * far more than it touches. On macOS, where every program maps hundreds of
1567
+ * gigabytes as it starts, it is counted on top of that.
1568
+ */
1569
+ addressSpaceBytes: number;
1548
1570
  /** Milliseconds before the caller kills the command, and with it every process it started. */
1549
1571
  wallTimeMs: number;
1550
1572
  }
@@ -1559,9 +1581,12 @@ interface SandboxInvocation {
1559
1581
  interface SandboxLaunch {
1560
1582
  file: string;
1561
1583
  args: string[];
1584
+ /** What `file` starts with. A launcher that runs before the sandbox gets only what the profile keeps of the host's. */
1562
1585
  env: NodeJS.ProcessEnv;
1563
1586
  /** The profile's wall-time limit: the caller kills the launch with SIGKILL once it has run this long. */
1564
1587
  wallTimeMs?: number;
1588
+ /** The profile's memory limit, past which the launch ends by {@link MEMORY_LIMIT_SIGNAL}. */
1589
+ memoryBytes?: number;
1565
1590
  }
1566
1591
  type SandboxProbe = {
1567
1592
  ok: true;
@@ -1676,7 +1701,12 @@ interface PlannerSandboxDeps {
1676
1701
  uid?: number;
1677
1702
  exec?: ProbeExec;
1678
1703
  }
1679
- /** Enough for a loop over a repository's files, a pipeline or a short script; not for a build. */
1704
+ /**
1705
+ * Time enough for a loop over a repository's files, a pipeline or a short
1706
+ * script, not for a build. The memory is real memory across the run; the
1707
+ * address space is per process and far above what V8 reserves for ordinary
1708
+ * programs (ADR-0036 S1, which records the measurement).
1709
+ */
1680
1710
  declare const SEALED_LIMITS: SandboxLimits;
1681
1711
  /**
1682
1712
  * A read-only task's sealed runs (ADR-0046): the same resources, with the ten
@@ -1699,18 +1729,18 @@ interface PlannerShellLaunch {
1699
1729
  sandboxed: boolean;
1700
1730
  }
1701
1731
  /**
1702
- * One session's view of the sandbox: its scratch directory, made on the first
1703
- * command and removed when the session ends, and its one notice when the
1704
- * sandbox, or a sealed run in it, cannot run here.
1732
+ * One session's view of the sandbox: a scratch directory for each profile,
1733
+ * made on its first command and removed when the session ends, and its one
1734
+ * notice when the sandbox, or a sealed run in it, cannot run here.
1705
1735
  */
1706
1736
  declare class PlannerShellSandbox {
1707
1737
  private readonly resolve;
1708
- private scratch;
1738
+ private readonly scratch;
1709
1739
  private noticed;
1710
1740
  private notice;
1711
1741
  constructor(resolve?: () => Promise<PlannerSandboxAvailability>);
1712
1742
  setNotice(notice: (message: string) => void): void;
1713
- /** The same host's sandbox for another caller, with a scratch directory of its own: a read-only task's (ADR-0046). */
1743
+ /** The same host's sandbox for another caller, with scratch directories of its own: a read-only task's (ADR-0046). */
1714
1744
  withOwnScratch(): PlannerShellSandbox;
1715
1745
  /**
1716
1746
  * The launch for one command (B6): the research shell wrapped in the
@@ -1733,8 +1763,10 @@ declare class PlannerShellSandbox {
1733
1763
  /**
1734
1764
  * The launch for a harness's own shell (ADR-0036 N2): the same sealed profile
1735
1765
  * as a sealed run, with the network the harness gives it (N3), plus the
1736
- * harness's short temporary directory. The workspace stays read-only. Throws
1737
- * where the sandbox cannot run, so a caller never falls back to the bare shell.
1766
+ * harness's short temporary directory. The workspace stays read-only. Its
1767
+ * home is a scratch directory of its own, so whatever startup files its shell
1768
+ * reads, a sealed run wrote none of them (S8). Throws where the sandbox
1769
+ * cannot run, so a caller never falls back to the bare shell.
1738
1770
  */
1739
1771
  launchNativeShell(opts: {
1740
1772
  workspace: string;
@@ -1743,9 +1775,9 @@ declare class PlannerShellSandbox {
1743
1775
  shellArgs?: readonly string[];
1744
1776
  env?: NodeJS.ProcessEnv;
1745
1777
  }): Promise<SandboxLaunch>;
1746
- /** The scratch directory every launch here gets as `$TMPDIR` and `$HOME`, made if it is not there. */
1778
+ /** The scratch directory a sealed run gets as `$TMPDIR` and `$HOME`, made if it is not there. */
1747
1779
  scratchPath(): string;
1748
- /** The session ended: its scratch directory goes, and a next session starts with a fresh one and its own notice. */
1780
+ /** The session ended: its scratch directories go, and a next session starts with fresh ones and its own notice. */
1749
1781
  end(): void;
1750
1782
  private say;
1751
1783
  private invocation;
@@ -2074,6 +2106,14 @@ interface TaskRunnerFlags {
2074
2106
  /** The manifest's further settings for the task's mode, by setting name — see `RunnerFeatures.modeSettings`. */
2075
2107
  modeSettings: Record<string, string>;
2076
2108
  }
2109
+ /**
2110
+ * What a task runner loads of the user's own setup (the `taskRunnerConfig`
2111
+ * setting): `user` is everything the runner would load for the user,
2112
+ * `minimal` only what a task needs — Ordewell's server, the repository's
2113
+ * instructions — so the user's connectors, skills and settings do not ride in
2114
+ * every attempt's context. Runners that cannot narrow their setup ignore it.
2115
+ */
2116
+ type TaskRunnerConfig = 'user' | 'minimal';
2077
2117
  /** A plan task driven over the runner's programmatic protocol (ADR-0018, C1). */
2078
2118
  interface TaskStartOptions extends AgentStartCommon {
2079
2119
  kind: 'task';
@@ -2082,6 +2122,8 @@ interface TaskStartOptions extends AgentStartCommon {
2082
2122
  /** The task's runner mode id, as the plan names it. */
2083
2123
  mode: string;
2084
2124
  flags: TaskRunnerFlags;
2125
+ /** What the runner loads of the user's setup; absent means `user`. */
2126
+ runnerConfig?: TaskRunnerConfig;
2085
2127
  /** The attempt's work lands as a commit (ADR-0047): its completion contract asks for the message. */
2086
2128
  commits?: true;
2087
2129
  /**
@@ -2823,6 +2865,8 @@ interface IRunner {
2823
2865
  cancelled?: AbortSignal;
2824
2866
  /** The attempt's work lands as a commit (ADR-0047): its runner is told to write the message in `task_complete`. */
2825
2867
  commits?: true;
2868
+ /** What the runner loads of the user's own setup (the `taskRunnerConfig` setting); absent means all of it. Runners that cannot narrow it ignore it. */
2869
+ runnerConfig?: TaskRunnerConfig;
2826
2870
  /** A script task's body (ADR-0035): only the script runner reads it, and it runs nothing else. */
2827
2871
  script?: ScriptBody;
2828
2872
  /**
@@ -2868,4 +2912,4 @@ interface IRunner {
2868
2912
  activeCount: number;
2869
2913
  }
2870
2914
 
2871
- export { type McpToolContext as $, AUTO_COMMANDS as A, type BashOptions as B, type CatalogModel as C, DEFAULT_PLANNER_ALLOWLIST as D, type DiscoveryCommand as E, type EditPlanArgs as F, type FetchAllProviderModelsOptions as G, type FindSymbolOptions as H, GIT_READONLY_SUBCOMMANDS as I, GREP_DEFAULT_HEAD_LIMIT as J, type GlobOptions as K, type GrepOptions as L, type GrepOutputMode as M, type IApproval as N, type IConfig as O, type IFileSystem as P, type IRunner as Q, type IRunnerSession as R, type InvokedCommand as S, LineBuffer as T, type ListModelsArgs as U, type ListRunnersArgs as V, type LoadSkillArgs as W, type McpClientConfig as X, type McpCredential as Y, type McpRefusal as Z, type McpTool as _, type AgentAdapter as a, type SealedAvailability as a$, type McpToolReply as a0, type MessageTaskArgs as a1, ModelCatalog as a2, type ModelShortcut as a3, ORCHESTRATOR_SHORTCUTS as a4, ORDEWELL_MCP_PATH as a5, ORDEWELL_MCP_SERVER_NAME as a6, type OneTaskArgs as a7, type OrchestratorOption as a8, OrdewellMcpServer as a9, type RunCommandArgs as aA, type RunPlanArgs as aB, type RunnerAuthSpec as aC, type RunnerAuthStatus as aD, type RunnerCommand as aE, type RunnerCommandKind as aF, type RunnerEntry as aG, type RunnerEnv as aH, type RunnerFeatures as aI, type RunnerManifest as aJ, type RunnerMcpServer as aK, type RunnerMode as aL, type RunnerModelDiscovery as aM, type RunnerModelRef as aN, RunnerRegistry as aO, SEALED_LIMITS as aP, SEARCH_EXCLUSIONS as aQ, type SandboxBackend as aR, type SandboxInvocation as aS, type SandboxLaunch as aT, type SandboxLimits as aU, type SandboxProfile as aV, type ScriptBody as aW, type ScriptExit as aX, type ScriptFullOutput as aY, type ScriptRun as aZ, type ScriptStatus as a_, type OwnSealedRuns as aa, type OwnerOnlyFile as ab, PLANNER_EXECUTION_TOOLS as ac, PLANNER_SANDBOX_DOCS as ad, PLANNER_TOOLS as ae, type PlannerAllowlist as af, type PlannerBackendId as ag, type PlannerSandboxAvailability as ah, type PlannerSandboxDeps as ai, PlannerShellSandbox as aj, type PlannerStartOptions as ak, type PlannerTokenScope as al, type PlannerToolHandler as am, type ProjectMcpServer as an, type ProviderCredentialSource as ao, type ProviderModelLists as ap, type ProviderModelsResult as aq, type QueuedTaskMessage as ar, READ_ONLY_TASK_TOOLS as as, REFUSED_COMMANDS as at, type ReadFileOpts as au, type ReadTaskArgs as av, type ResearchShell as aw, type ResearchShellDeps as ax, type RetryTaskArgs as ay, type RuleWord as az, type AgentAdapterFactory as b, type SealedRunOptions as b0, type ShellDialect as b1, type ShellLaunch as b2, type SpawnFn as b3, type StandingDecision as b4, type StructuredEvent as b5, type StructuredTurnEnd as b6, type SubmitPlanArgs as b7, TASK_COMPLETE_TOOL as b8, TASK_COMPLETION_CONTRACT as b9, effectiveApprovalMode as bA, enabledRunners as bB, fetchAllProviderModels as bC, findRunnerCommand as bD, isGranted as bE, isRunnerApproval as bF, knownModelId as bG, mcpClientConfig as bH, ownerOnlyConfigFile as bI, parseAllowlist as bJ, parseApprovalModeSetting as bK, researchShellWarning as bL, researchToolsPath as bM, resolveModelShortcut as bN, resolvePlannerSandbox as bO, resolveProvider as bP, resolveResearchShell as bQ, scopeAllowed as bR, scriptBodyOf as bS, scriptBodyText as bT, scriptTaskText as bU, sharedMcpServer as bV, taskCompletionContract as bW, timeLimitText as bX, toApprovalDecision as bY, toOrchestratorOptions as bZ, toolAllowed as b_, TASK_SEALED_LIMITS as ba, TASK_TOOLS as bb, type TaskCompleteArgs as bc, type TaskDiffArgs as bd, type TaskMessageFrom as be, type TaskModeAgentAdapter as bf, TaskModeUnsupportedError as bg, type TaskOutputArgs as bh, type TaskQueryArgs as bi, type TaskRunCommandArgs as bj, type TaskRunnerFlags as bk, type TaskShell as bl, type TaskShellSite as bm, type TaskStartOptions as bn, type TaskTokenScope as bo, type TaskToolHandler as bp, type TaskWebReads as bq, type ToolOutcome as br, type UsageLimitSignal as bs, approvalScopes as bt, classifyCommand as bu, clearPlannerSandboxCache as bv, clearResearchShellCache as bw, collectProviderCredentials as bx, commandAllowedBy as by, commandLine as bz, type AgentEvent as c, type AgentProcessDeps as d, type AgentStartOptions as e, type AiProvider as f, type AllProviderModels as g, type AnswerApprovalArgs as h, type ApplyPatchArgs as i, type ApprovalAnswer as j, type ApprovalDecision as k, type ApprovalKind as l, type ApprovalMode as m, type ApprovalModeSetting as n, ApprovalPolicy as o, type ApprovalPolicyOptions as p, type ApprovalRequest as q, type ApprovalSource as r, type AttachState as s, type CheckpointAnswer as t, type CheckpointArgs as u, type CommandClassification as v, type CommandTier as w, type CommandWords as x, DEFAULT_SCRIPT_TIMEOUT_MS as y, DENY_ALL as z };
2915
+ export { type McpToolContext as $, AUTO_COMMANDS as A, type BashOptions as B, type CatalogModel as C, DEFAULT_PLANNER_ALLOWLIST as D, type DiscoveryCommand as E, type EditPlanArgs as F, type FetchAllProviderModelsOptions as G, type FindSymbolOptions as H, GIT_READONLY_SUBCOMMANDS as I, GREP_DEFAULT_HEAD_LIMIT as J, type GlobOptions as K, type GrepOptions as L, type GrepOutputMode as M, type IApproval as N, type IConfig as O, type IFileSystem as P, type IRunner as Q, type IRunnerSession as R, type InvokedCommand as S, LineBuffer as T, type ListModelsArgs as U, type ListRunnersArgs as V, type LoadSkillArgs as W, type McpClientConfig as X, type McpCredential as Y, type McpRefusal as Z, type McpTool as _, type AgentAdapter as a, type SealedAvailability as a$, type McpToolReply as a0, type MessageTaskArgs as a1, ModelCatalog as a2, type ModelShortcut as a3, ORCHESTRATOR_SHORTCUTS as a4, ORDEWELL_MCP_PATH as a5, ORDEWELL_MCP_SERVER_NAME as a6, type OneTaskArgs as a7, type OrchestratorOption as a8, OrdewellMcpServer as a9, type RunCommandArgs as aA, type RunPlanArgs as aB, type RunnerAuthSpec as aC, type RunnerAuthStatus as aD, type RunnerCommand as aE, type RunnerCommandKind as aF, type RunnerEntry as aG, type RunnerEnv as aH, type RunnerFeatures as aI, type RunnerManifest as aJ, type RunnerMcpServer as aK, type RunnerMode as aL, type RunnerModelDiscovery as aM, type RunnerModelRef as aN, RunnerRegistry as aO, SEALED_LIMITS as aP, SEARCH_EXCLUSIONS as aQ, type SandboxBackend as aR, type SandboxInvocation as aS, type SandboxLaunch as aT, type SandboxLimits as aU, type SandboxProfile as aV, type ScriptBody as aW, type ScriptExit as aX, type ScriptFullOutput as aY, type ScriptRun as aZ, type ScriptStatus as a_, type OwnSealedRuns as aa, type OwnerOnlyFile as ab, PLANNER_EXECUTION_TOOLS as ac, PLANNER_SANDBOX_DOCS as ad, PLANNER_TOOLS as ae, type PlannerAllowlist as af, type PlannerBackendId as ag, type PlannerSandboxAvailability as ah, type PlannerSandboxDeps as ai, PlannerShellSandbox as aj, type PlannerStartOptions as ak, type PlannerTokenScope as al, type PlannerToolHandler as am, type ProjectMcpServer as an, type ProviderCredentialSource as ao, type ProviderModelLists as ap, type ProviderModelsResult as aq, type QueuedTaskMessage as ar, READ_ONLY_TASK_TOOLS as as, REFUSED_COMMANDS as at, type ReadFileOpts as au, type ReadTaskArgs as av, type ResearchShell as aw, type ResearchShellDeps as ax, type RetryTaskArgs as ay, type RuleWord as az, type AgentAdapterFactory as b, toolAllowed as b$, type SealedRunOptions as b0, type ShellDialect as b1, type ShellLaunch as b2, type SpawnFn as b3, type StandingDecision as b4, type StructuredEvent as b5, type StructuredTurnEnd as b6, type SubmitPlanArgs as b7, TASK_COMPLETE_TOOL as b8, TASK_COMPLETION_CONTRACT as b9, commandLine as bA, effectiveApprovalMode as bB, enabledRunners as bC, fetchAllProviderModels as bD, findRunnerCommand as bE, isGranted as bF, isRunnerApproval as bG, knownModelId as bH, mcpClientConfig as bI, ownerOnlyConfigFile as bJ, parseAllowlist as bK, parseApprovalModeSetting as bL, researchShellWarning as bM, researchToolsPath as bN, resolveModelShortcut as bO, resolvePlannerSandbox as bP, resolveProvider as bQ, resolveResearchShell as bR, scopeAllowed as bS, scriptBodyOf as bT, scriptBodyText as bU, scriptTaskText as bV, sharedMcpServer as bW, taskCompletionContract as bX, timeLimitText as bY, toApprovalDecision as bZ, toOrchestratorOptions as b_, TASK_SEALED_LIMITS as ba, TASK_TOOLS as bb, type TaskCompleteArgs as bc, type TaskDiffArgs as bd, type TaskMessageFrom as be, type TaskModeAgentAdapter as bf, TaskModeUnsupportedError as bg, type TaskOutputArgs as bh, type TaskQueryArgs as bi, type TaskRunCommandArgs as bj, type TaskRunnerConfig as bk, type TaskRunnerFlags as bl, type TaskShell as bm, type TaskShellSite as bn, type TaskStartOptions as bo, type TaskTokenScope as bp, type TaskToolHandler as bq, type TaskWebReads as br, type ToolOutcome as bs, type UsageLimitSignal as bt, approvalScopes as bu, classifyCommand as bv, clearPlannerSandboxCache as bw, clearResearchShellCache as bx, collectProviderCredentials as by, commandAllowedBy as bz, type AgentEvent as c, type AgentProcessDeps as d, type AgentStartOptions as e, type AiProvider as f, type AllProviderModels as g, type AnswerApprovalArgs as h, type ApplyPatchArgs as i, type ApprovalAnswer as j, type ApprovalDecision as k, type ApprovalKind as l, type ApprovalMode as m, type ApprovalModeSetting as n, ApprovalPolicy as o, type ApprovalPolicyOptions as p, type ApprovalRequest as q, type ApprovalSource as r, type AttachState as s, type CheckpointAnswer as t, type CheckpointArgs as u, type CommandClassification as v, type CommandTier as w, type CommandWords as x, DEFAULT_SCRIPT_TIMEOUT_MS as y, DENY_ALL as z };
@@ -1,4 +1,4 @@
1
- import { az as RunnerId } from './Task-BL4Idm9r.js';
1
+ import { aK as RunnerId } from './Task-BTEH-ztX.js';
2
2
 
3
3
  interface RunnerModeInfo {
4
4
  id: string;
@@ -1,4 +1,4 @@
1
- import { az as RunnerId } from './Task-BL4Idm9r.mjs';
1
+ import { aK as RunnerId } from './Task-BTEH-ztX.mjs';
2
2
 
3
3
  interface RunnerModeInfo {
4
4
  id: string;