@ordewell/core 0.6.1 → 0.6.3

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.
@@ -1,4 +1,4 @@
1
- import { I as IApproval } from './Task-ib_U0YP7.js';
1
+ import { I as IApproval } from './Task-xqdxugt2.js';
2
2
 
3
3
  interface ToolOutcome {
4
4
  success: boolean;
@@ -1,4 +1,4 @@
1
- import { I as IApproval } from './Task-ib_U0YP7.mjs';
1
+ import { I as IApproval } from './Task-xqdxugt2.mjs';
2
2
 
3
3
  interface ToolOutcome {
4
4
  success: boolean;
@@ -1,4 +1,4 @@
1
- import { aG as RunnerId } from './Task-ib_U0YP7.js';
1
+ import { aG as RunnerId } from './Task-xqdxugt2.js';
2
2
 
3
3
  interface RunnerModeInfo {
4
4
  id: string;
@@ -1,4 +1,4 @@
1
- import { aG as RunnerId } from './Task-ib_U0YP7.mjs';
1
+ import { aG as RunnerId } from './Task-xqdxugt2.mjs';
2
2
 
3
3
  interface RunnerModeInfo {
4
4
  id: string;
@@ -450,6 +450,9 @@ interface IWorktreeIsolation {
450
450
  sweep(run: IsolationRun): Promise<void>;
451
451
  }
452
452
 
453
+ /** Reads a runner's `--version` line, or undefined when it will not say. */
454
+ type RunnerVersionProbe = (command: string, PATH: string) => Promise<string | undefined>;
455
+
453
456
  /** One source for the spawn options, so a runner built on this base cannot drift from the interface. */
454
457
  type RunnerSpawnOptions = Parameters<ITerminalRunner['spawn']>[0];
455
458
  declare abstract class AbstractTerminalSession implements ITerminalSession {
@@ -509,6 +512,8 @@ interface PtySize {
509
512
  interface PtyWrapOptions {
510
513
  size?: PtySize;
511
514
  controlChannel?: boolean;
515
+ /** Decides which `script` is on the host; defaults to this process's platform. */
516
+ platform?: NodeJS.Platform;
512
517
  }
513
518
  /**
514
519
  * Wrap a command in `script` to allocate the PTY some runners require when
@@ -683,6 +688,8 @@ interface HeadlessRunnerDeps {
683
688
  * Windows branch consults them, so a POSIX test never needs to pass anything.
684
689
  */
685
690
  launchDeps?: LaunchDeps;
691
+ /** Reads the runner's version, for a manifest whose command line differs by major version. */
692
+ runnerVersion?: RunnerVersionProbe;
686
693
  }
687
694
  declare class HeadlessSession extends AbstractTerminalSession {
688
695
  private spawnImpl;
@@ -698,6 +705,8 @@ declare class HeadlessSession extends AbstractTerminalSession {
698
705
  kill(): void;
699
706
  getOutput(): string;
700
707
  write(text: string): void;
708
+ /** Closes the runner's stdin: what it has read so far is all it will get. */
709
+ endInput(): void;
701
710
  /** PTY resize requests from a surface that owns the terminal rendering the wrapper. */
702
711
  writeControl(text: string): void;
703
712
  }
@@ -711,12 +720,19 @@ interface PreparedLaunch {
711
720
  pty: boolean;
712
721
  /** True when the started process needs an explicit Enter sent to submit its pre-filled prompt. */
713
722
  submitPromptKey: boolean;
723
+ /**
724
+ * True when nothing can be typed into the run: no TTY, no interactive shape,
725
+ * and the prompt already in its arguments. Its stdin is then closed, because
726
+ * a CLI such as `codex exec` reads a piped stdin to its end before starting.
727
+ */
728
+ closeStdin: boolean;
714
729
  }
715
730
  declare class HeadlessRunner extends AbstractRunner<HeadlessSession> {
716
731
  private spawnImpl;
717
732
  private hasScriptCmd;
718
733
  private resolvePath;
719
734
  private launchDeps;
735
+ private runnerVersion;
720
736
  private spawnCount;
721
737
  /**
722
738
  * Session shape: a piped subprocess is not a terminal, so runners get their
@@ -1199,6 +1215,18 @@ interface PluginRunnerDef {
1199
1215
  * answers one; seeing it, the task's user is told where to.
1200
1216
  */
1201
1217
  blockingPrompts?: BlockingPrompt[];
1218
+ /**
1219
+ * The command lines a later major version of the runner takes instead of
1220
+ * `argsTemplate`/`env`, for a runner whose CLI changed shape between majors.
1221
+ * The one with the highest `minMajor` the installed version reaches wins; an
1222
+ * install whose version cannot be read keeps the base template.
1223
+ */
1224
+ versioned?: VersionedInvocation[];
1225
+ }
1226
+ interface VersionedInvocation {
1227
+ minMajor: number;
1228
+ argsTemplate: string[];
1229
+ env?: Record<string, string>;
1202
1230
  }
1203
1231
  interface BlockingPrompt {
1204
1232
  /** Text the prompt shows; matched ignoring case and whitespace. */
@@ -1352,6 +1380,8 @@ interface ResolveContext {
1352
1380
  interactive?: boolean;
1353
1381
  /** The task's working directory — needed by runners whose autonomy flags name a path. */
1354
1382
  cwd?: string;
1383
+ /** The installed runner's `--version`, read only for a manifest with `versioned` invocations. */
1384
+ runnerVersion?: string;
1355
1385
  }
1356
1386
  interface RunnerInvocation {
1357
1387
  command: string;
@@ -2169,4 +2199,4 @@ interface ValidationContext {
2169
2199
  type ValidationCheck = (ctx: ValidationContext) => ValidationResult;
2170
2200
  declare function warningsText(w: PlanModificationWarnings): string | null;
2171
2201
 
2172
- export { type IsolationRun as $, AbstractRunner as A, type BlockingPrompt as B, CMD_EXE_MAX_COMMAND_LINE as C, DENY_ALL as D, EmbeddedNewlineError as E, type FetchAllProviderModelsOptions as F, HeadlessSession as G, HeadlessRunner as H, type IApproval as I, type IConfig as J, type IPluginStore as K, type ITerminalRunner as L, type ITerminalSession as M, type IWorktreeIsolation as N, type IntegrationDisposal as O, type IsolationAvailability as P, type IsolationHandoff as Q, type IsolationHandoffRepo as R, type IsolationInactiveReason as S, type IsolationLandedTask as T, type IsolationLanding as U, type IsolationMergeBlock as V, type IsolationMergeBlockReason as W, type IsolationMergeResult as X, type IsolationOutcome as Y, type IsolationPruneResult as Z, type IsolationRepo as _, AbstractTerminalSession as a, type TaskOutputSummary as a$, type IsolationTaskRecord as a0, type IsolationTaskRepo as a1, type IsolationTaskStatus as a2, type IsolationView as a3, type LaunchDeps as a4, type LaunchPlan as a5, type LegacyPlanState as a6, LineBuffer as a7, type Message as a8, ModelCatalog as a9, type ResearchLogEntry as aA, type ResearchProgress as aB, type ResearchStep as aC, type ResearchStepOutcome as aD, type ResearchToolType as aE, type ResolveContext as aF, type RunnerId as aG, type RunnerInvocation as aH, type RunnerPluginManifest as aI, RunnerRegistry as aJ, type RunnerSpawnOptions as aK, type RunnerTransport as aL, type StreamEvent as aM, type StreamStepEvent as aN, type StreamThinkingEvent as aO, type StructuredEvent as aP, type StructuredSessionCapability as aQ, type StructuredTurnEnd as aR, type SubagentLogEntry as aS, type SubagentOutcome as aT, type Task as aU, type TaskIsolation as aV, type TaskIsolationState as aW, type TaskMode as aX, type TaskModeAgentAdapter as aY, TaskModeUnsupportedError as aZ, type TaskModelAssignment as a_, type ModelShortcut as aa, ORCHESTRATOR_SHORTCUTS as ab, type OrchestratorOption as ac, type PlanIsolation as ad, type PlanModificationWarnings as ae, type PlanState as af, type PlanStatus as ag, type PlannerStartOptions as ah, type PlannerUsage as ai, type PluginCloneFn as aj, type PluginEntry as ak, type PluginFeatures as al, type PluginMode as am, type PluginModelDiscovery as an, type PluginRunnerDef as ao, type PreparedLaunch as ap, type PreparedTask as aq, type ProviderCredentialSource as ar, type ProviderModelLists as as, type ProviderModelsResult as at, type PtySize as au, type PtyWrapOptions as av, type QueuedMessage as aw, type QueuedTaskMessage as ax, type RepairEvidence as ay, type RepoGroupLayout as az, type ActiveTaskSession as b, wrapWithPty as b$, type TaskRunnerFlags as b0, type TaskSnapshot as b1, type TaskStartOptions as b2, type TaskStatus as b3, type TaskTransport as b4, type TaskType as b5, type TaskWithParent as b6, type ThinkingBlock as b7, type TreeSnapshot as b8, type UsageLine as b9, isMeasured as bA, isReservedRunnerName as bB, isRunnerApproval as bC, isRunnerTransport as bD, isStructuredSession as bE, keepExecutionState as bF, knownModelId as bG, migrateLegacyPlan as bH, migratePlanState as bI, migrateTask as bJ, partedPromptUsage as bK, planDirectLaunch as bL, planShellLaunch as bM, plannerContextFill as bN, posixShellQuote as bO, removeTaskFromPlan as bP, renumberTasks as bQ, resolveModelShortcut as bR, resolveProvider as bS, stripAnsi as bT, toApprovalDecision as bU, toOrchestratorOptions as bV, updateTaskInPlan as bW, usageLine as bX, validateModifiedPlan as bY, warningsText as bZ, windowsCommandLine as b_, type UsageRecord as ba, type UsageTotals as bb, type UserPromptEntry as bc, type UserStep as bd, type ValidationCheck as be, type ValidationContext as bf, type ValidationResult as bg, type Verdict as bh, type VerificationCheck as bi, WINDOWS_MAX_COMMAND_LINE as bj, addPlannerUsage as bk, addTaskToPlan as bl, addUsage as bm, approvalScopes as bn, buildShellInvocation as bo, collectProviderCredentials as bp, createEmptyPlan as bq, createTask as br, emptyWarnings as bs, enabledRunners as bt, fetchAllProviderModels as bu, flattenTasks as bv, flattenTasksWithParents as bw, isAwaitingReason as bx, isExecutableResolved as by, isGranted as bz, type AgentAdapter as c, type AgentAdapterFactory as d, type AgentEvent as e, type AgentProcessDeps as f, type AgentStartOptions as g, type AiProvider as h, type AllProviderModels as i, type ApprovalAnswer as j, type ApprovalDecision as k, type ApprovalKind as l, type ApprovalMode as m, ApprovalPolicy as n, type ApprovalPolicyOptions as o, type ApprovalRequest as p, type ApprovalSource as q, type AwaitingReason as r, type CatalogModel as s, CommandLineTooLongError as t, type ConversationMessage as u, type DiscoveredMode as v, type DiscoveredModel as w, type DiscoveryCommand as x, ExecutableNotFoundError as y, type HeadlessRunnerDeps as z };
2202
+ export { type IsolationRun as $, AbstractRunner as A, type BlockingPrompt as B, CMD_EXE_MAX_COMMAND_LINE as C, DENY_ALL as D, EmbeddedNewlineError as E, type FetchAllProviderModelsOptions as F, HeadlessSession as G, HeadlessRunner as H, type IApproval as I, type IConfig as J, type IPluginStore as K, type ITerminalRunner as L, type ITerminalSession as M, type IWorktreeIsolation as N, type IntegrationDisposal as O, type IsolationAvailability as P, type IsolationHandoff as Q, type IsolationHandoffRepo as R, type IsolationInactiveReason as S, type IsolationLandedTask as T, type IsolationLanding as U, type IsolationMergeBlock as V, type IsolationMergeBlockReason as W, type IsolationMergeResult as X, type IsolationOutcome as Y, type IsolationPruneResult as Z, type IsolationRepo as _, AbstractTerminalSession as a, type TaskModelAssignment as a$, type IsolationTaskRecord as a0, type IsolationTaskRepo as a1, type IsolationTaskStatus as a2, type IsolationView as a3, type LaunchDeps as a4, type LaunchPlan as a5, type LegacyPlanState as a6, LineBuffer as a7, type Message as a8, ModelCatalog as a9, type ResearchLogEntry as aA, type ResearchProgress as aB, type ResearchStep as aC, type ResearchStepOutcome as aD, type ResearchToolType as aE, type ResolveContext as aF, type RunnerId as aG, type RunnerInvocation as aH, type RunnerPluginManifest as aI, RunnerRegistry as aJ, type RunnerSpawnOptions as aK, type RunnerTransport as aL, type RunnerVersionProbe as aM, type StreamEvent as aN, type StreamStepEvent as aO, type StreamThinkingEvent as aP, type StructuredEvent as aQ, type StructuredSessionCapability as aR, type StructuredTurnEnd as aS, type SubagentLogEntry as aT, type SubagentOutcome as aU, type Task as aV, type TaskIsolation as aW, type TaskIsolationState as aX, type TaskMode as aY, type TaskModeAgentAdapter as aZ, TaskModeUnsupportedError as a_, type ModelShortcut as aa, ORCHESTRATOR_SHORTCUTS as ab, type OrchestratorOption as ac, type PlanIsolation as ad, type PlanModificationWarnings as ae, type PlanState as af, type PlanStatus as ag, type PlannerStartOptions as ah, type PlannerUsage as ai, type PluginCloneFn as aj, type PluginEntry as ak, type PluginFeatures as al, type PluginMode as am, type PluginModelDiscovery as an, type PluginRunnerDef as ao, type PreparedLaunch as ap, type PreparedTask as aq, type ProviderCredentialSource as ar, type ProviderModelLists as as, type ProviderModelsResult as at, type PtySize as au, type PtyWrapOptions as av, type QueuedMessage as aw, type QueuedTaskMessage as ax, type RepairEvidence as ay, type RepoGroupLayout as az, type ActiveTaskSession as b, windowsCommandLine as b$, type TaskOutputSummary as b0, type TaskRunnerFlags as b1, type TaskSnapshot as b2, type TaskStartOptions as b3, type TaskStatus as b4, type TaskTransport as b5, type TaskType as b6, type TaskWithParent as b7, type ThinkingBlock as b8, type TreeSnapshot as b9, isGranted as bA, isMeasured as bB, isReservedRunnerName as bC, isRunnerApproval as bD, isRunnerTransport as bE, isStructuredSession as bF, keepExecutionState as bG, knownModelId as bH, migrateLegacyPlan as bI, migratePlanState as bJ, migrateTask as bK, partedPromptUsage as bL, planDirectLaunch as bM, planShellLaunch as bN, plannerContextFill as bO, posixShellQuote as bP, removeTaskFromPlan as bQ, renumberTasks as bR, resolveModelShortcut as bS, resolveProvider as bT, stripAnsi as bU, toApprovalDecision as bV, toOrchestratorOptions as bW, updateTaskInPlan as bX, usageLine as bY, validateModifiedPlan as bZ, warningsText as b_, type UsageLine as ba, type UsageRecord as bb, type UsageTotals as bc, type UserPromptEntry as bd, type UserStep as be, type ValidationCheck as bf, type ValidationContext as bg, type ValidationResult as bh, type Verdict as bi, type VerificationCheck as bj, WINDOWS_MAX_COMMAND_LINE as bk, addPlannerUsage as bl, addTaskToPlan as bm, addUsage as bn, approvalScopes as bo, buildShellInvocation as bp, collectProviderCredentials as bq, createEmptyPlan as br, createTask as bs, emptyWarnings as bt, enabledRunners as bu, fetchAllProviderModels as bv, flattenTasks as bw, flattenTasksWithParents as bx, isAwaitingReason as by, isExecutableResolved as bz, type AgentAdapter as c, wrapWithPty as c0, type AgentAdapterFactory as d, type AgentEvent as e, type AgentProcessDeps as f, type AgentStartOptions as g, type AiProvider as h, type AllProviderModels as i, type ApprovalAnswer as j, type ApprovalDecision as k, type ApprovalKind as l, type ApprovalMode as m, ApprovalPolicy as n, type ApprovalPolicyOptions as o, type ApprovalRequest as p, type ApprovalSource as q, type AwaitingReason as r, type CatalogModel as s, CommandLineTooLongError as t, type ConversationMessage as u, type DiscoveredMode as v, type DiscoveredModel as w, type DiscoveryCommand as x, ExecutableNotFoundError as y, type HeadlessRunnerDeps as z };
@@ -450,6 +450,9 @@ interface IWorktreeIsolation {
450
450
  sweep(run: IsolationRun): Promise<void>;
451
451
  }
452
452
 
453
+ /** Reads a runner's `--version` line, or undefined when it will not say. */
454
+ type RunnerVersionProbe = (command: string, PATH: string) => Promise<string | undefined>;
455
+
453
456
  /** One source for the spawn options, so a runner built on this base cannot drift from the interface. */
454
457
  type RunnerSpawnOptions = Parameters<ITerminalRunner['spawn']>[0];
455
458
  declare abstract class AbstractTerminalSession implements ITerminalSession {
@@ -509,6 +512,8 @@ interface PtySize {
509
512
  interface PtyWrapOptions {
510
513
  size?: PtySize;
511
514
  controlChannel?: boolean;
515
+ /** Decides which `script` is on the host; defaults to this process's platform. */
516
+ platform?: NodeJS.Platform;
512
517
  }
513
518
  /**
514
519
  * Wrap a command in `script` to allocate the PTY some runners require when
@@ -683,6 +688,8 @@ interface HeadlessRunnerDeps {
683
688
  * Windows branch consults them, so a POSIX test never needs to pass anything.
684
689
  */
685
690
  launchDeps?: LaunchDeps;
691
+ /** Reads the runner's version, for a manifest whose command line differs by major version. */
692
+ runnerVersion?: RunnerVersionProbe;
686
693
  }
687
694
  declare class HeadlessSession extends AbstractTerminalSession {
688
695
  private spawnImpl;
@@ -698,6 +705,8 @@ declare class HeadlessSession extends AbstractTerminalSession {
698
705
  kill(): void;
699
706
  getOutput(): string;
700
707
  write(text: string): void;
708
+ /** Closes the runner's stdin: what it has read so far is all it will get. */
709
+ endInput(): void;
701
710
  /** PTY resize requests from a surface that owns the terminal rendering the wrapper. */
702
711
  writeControl(text: string): void;
703
712
  }
@@ -711,12 +720,19 @@ interface PreparedLaunch {
711
720
  pty: boolean;
712
721
  /** True when the started process needs an explicit Enter sent to submit its pre-filled prompt. */
713
722
  submitPromptKey: boolean;
723
+ /**
724
+ * True when nothing can be typed into the run: no TTY, no interactive shape,
725
+ * and the prompt already in its arguments. Its stdin is then closed, because
726
+ * a CLI such as `codex exec` reads a piped stdin to its end before starting.
727
+ */
728
+ closeStdin: boolean;
714
729
  }
715
730
  declare class HeadlessRunner extends AbstractRunner<HeadlessSession> {
716
731
  private spawnImpl;
717
732
  private hasScriptCmd;
718
733
  private resolvePath;
719
734
  private launchDeps;
735
+ private runnerVersion;
720
736
  private spawnCount;
721
737
  /**
722
738
  * Session shape: a piped subprocess is not a terminal, so runners get their
@@ -1199,6 +1215,18 @@ interface PluginRunnerDef {
1199
1215
  * answers one; seeing it, the task's user is told where to.
1200
1216
  */
1201
1217
  blockingPrompts?: BlockingPrompt[];
1218
+ /**
1219
+ * The command lines a later major version of the runner takes instead of
1220
+ * `argsTemplate`/`env`, for a runner whose CLI changed shape between majors.
1221
+ * The one with the highest `minMajor` the installed version reaches wins; an
1222
+ * install whose version cannot be read keeps the base template.
1223
+ */
1224
+ versioned?: VersionedInvocation[];
1225
+ }
1226
+ interface VersionedInvocation {
1227
+ minMajor: number;
1228
+ argsTemplate: string[];
1229
+ env?: Record<string, string>;
1202
1230
  }
1203
1231
  interface BlockingPrompt {
1204
1232
  /** Text the prompt shows; matched ignoring case and whitespace. */
@@ -1352,6 +1380,8 @@ interface ResolveContext {
1352
1380
  interactive?: boolean;
1353
1381
  /** The task's working directory — needed by runners whose autonomy flags name a path. */
1354
1382
  cwd?: string;
1383
+ /** The installed runner's `--version`, read only for a manifest with `versioned` invocations. */
1384
+ runnerVersion?: string;
1355
1385
  }
1356
1386
  interface RunnerInvocation {
1357
1387
  command: string;
@@ -2169,4 +2199,4 @@ interface ValidationContext {
2169
2199
  type ValidationCheck = (ctx: ValidationContext) => ValidationResult;
2170
2200
  declare function warningsText(w: PlanModificationWarnings): string | null;
2171
2201
 
2172
- export { type IsolationRun as $, AbstractRunner as A, type BlockingPrompt as B, CMD_EXE_MAX_COMMAND_LINE as C, DENY_ALL as D, EmbeddedNewlineError as E, type FetchAllProviderModelsOptions as F, HeadlessSession as G, HeadlessRunner as H, type IApproval as I, type IConfig as J, type IPluginStore as K, type ITerminalRunner as L, type ITerminalSession as M, type IWorktreeIsolation as N, type IntegrationDisposal as O, type IsolationAvailability as P, type IsolationHandoff as Q, type IsolationHandoffRepo as R, type IsolationInactiveReason as S, type IsolationLandedTask as T, type IsolationLanding as U, type IsolationMergeBlock as V, type IsolationMergeBlockReason as W, type IsolationMergeResult as X, type IsolationOutcome as Y, type IsolationPruneResult as Z, type IsolationRepo as _, AbstractTerminalSession as a, type TaskOutputSummary as a$, type IsolationTaskRecord as a0, type IsolationTaskRepo as a1, type IsolationTaskStatus as a2, type IsolationView as a3, type LaunchDeps as a4, type LaunchPlan as a5, type LegacyPlanState as a6, LineBuffer as a7, type Message as a8, ModelCatalog as a9, type ResearchLogEntry as aA, type ResearchProgress as aB, type ResearchStep as aC, type ResearchStepOutcome as aD, type ResearchToolType as aE, type ResolveContext as aF, type RunnerId as aG, type RunnerInvocation as aH, type RunnerPluginManifest as aI, RunnerRegistry as aJ, type RunnerSpawnOptions as aK, type RunnerTransport as aL, type StreamEvent as aM, type StreamStepEvent as aN, type StreamThinkingEvent as aO, type StructuredEvent as aP, type StructuredSessionCapability as aQ, type StructuredTurnEnd as aR, type SubagentLogEntry as aS, type SubagentOutcome as aT, type Task as aU, type TaskIsolation as aV, type TaskIsolationState as aW, type TaskMode as aX, type TaskModeAgentAdapter as aY, TaskModeUnsupportedError as aZ, type TaskModelAssignment as a_, type ModelShortcut as aa, ORCHESTRATOR_SHORTCUTS as ab, type OrchestratorOption as ac, type PlanIsolation as ad, type PlanModificationWarnings as ae, type PlanState as af, type PlanStatus as ag, type PlannerStartOptions as ah, type PlannerUsage as ai, type PluginCloneFn as aj, type PluginEntry as ak, type PluginFeatures as al, type PluginMode as am, type PluginModelDiscovery as an, type PluginRunnerDef as ao, type PreparedLaunch as ap, type PreparedTask as aq, type ProviderCredentialSource as ar, type ProviderModelLists as as, type ProviderModelsResult as at, type PtySize as au, type PtyWrapOptions as av, type QueuedMessage as aw, type QueuedTaskMessage as ax, type RepairEvidence as ay, type RepoGroupLayout as az, type ActiveTaskSession as b, wrapWithPty as b$, type TaskRunnerFlags as b0, type TaskSnapshot as b1, type TaskStartOptions as b2, type TaskStatus as b3, type TaskTransport as b4, type TaskType as b5, type TaskWithParent as b6, type ThinkingBlock as b7, type TreeSnapshot as b8, type UsageLine as b9, isMeasured as bA, isReservedRunnerName as bB, isRunnerApproval as bC, isRunnerTransport as bD, isStructuredSession as bE, keepExecutionState as bF, knownModelId as bG, migrateLegacyPlan as bH, migratePlanState as bI, migrateTask as bJ, partedPromptUsage as bK, planDirectLaunch as bL, planShellLaunch as bM, plannerContextFill as bN, posixShellQuote as bO, removeTaskFromPlan as bP, renumberTasks as bQ, resolveModelShortcut as bR, resolveProvider as bS, stripAnsi as bT, toApprovalDecision as bU, toOrchestratorOptions as bV, updateTaskInPlan as bW, usageLine as bX, validateModifiedPlan as bY, warningsText as bZ, windowsCommandLine as b_, type UsageRecord as ba, type UsageTotals as bb, type UserPromptEntry as bc, type UserStep as bd, type ValidationCheck as be, type ValidationContext as bf, type ValidationResult as bg, type Verdict as bh, type VerificationCheck as bi, WINDOWS_MAX_COMMAND_LINE as bj, addPlannerUsage as bk, addTaskToPlan as bl, addUsage as bm, approvalScopes as bn, buildShellInvocation as bo, collectProviderCredentials as bp, createEmptyPlan as bq, createTask as br, emptyWarnings as bs, enabledRunners as bt, fetchAllProviderModels as bu, flattenTasks as bv, flattenTasksWithParents as bw, isAwaitingReason as bx, isExecutableResolved as by, isGranted as bz, type AgentAdapter as c, type AgentAdapterFactory as d, type AgentEvent as e, type AgentProcessDeps as f, type AgentStartOptions as g, type AiProvider as h, type AllProviderModels as i, type ApprovalAnswer as j, type ApprovalDecision as k, type ApprovalKind as l, type ApprovalMode as m, ApprovalPolicy as n, type ApprovalPolicyOptions as o, type ApprovalRequest as p, type ApprovalSource as q, type AwaitingReason as r, type CatalogModel as s, CommandLineTooLongError as t, type ConversationMessage as u, type DiscoveredMode as v, type DiscoveredModel as w, type DiscoveryCommand as x, ExecutableNotFoundError as y, type HeadlessRunnerDeps as z };
2202
+ export { type IsolationRun as $, AbstractRunner as A, type BlockingPrompt as B, CMD_EXE_MAX_COMMAND_LINE as C, DENY_ALL as D, EmbeddedNewlineError as E, type FetchAllProviderModelsOptions as F, HeadlessSession as G, HeadlessRunner as H, type IApproval as I, type IConfig as J, type IPluginStore as K, type ITerminalRunner as L, type ITerminalSession as M, type IWorktreeIsolation as N, type IntegrationDisposal as O, type IsolationAvailability as P, type IsolationHandoff as Q, type IsolationHandoffRepo as R, type IsolationInactiveReason as S, type IsolationLandedTask as T, type IsolationLanding as U, type IsolationMergeBlock as V, type IsolationMergeBlockReason as W, type IsolationMergeResult as X, type IsolationOutcome as Y, type IsolationPruneResult as Z, type IsolationRepo as _, AbstractTerminalSession as a, type TaskModelAssignment as a$, type IsolationTaskRecord as a0, type IsolationTaskRepo as a1, type IsolationTaskStatus as a2, type IsolationView as a3, type LaunchDeps as a4, type LaunchPlan as a5, type LegacyPlanState as a6, LineBuffer as a7, type Message as a8, ModelCatalog as a9, type ResearchLogEntry as aA, type ResearchProgress as aB, type ResearchStep as aC, type ResearchStepOutcome as aD, type ResearchToolType as aE, type ResolveContext as aF, type RunnerId as aG, type RunnerInvocation as aH, type RunnerPluginManifest as aI, RunnerRegistry as aJ, type RunnerSpawnOptions as aK, type RunnerTransport as aL, type RunnerVersionProbe as aM, type StreamEvent as aN, type StreamStepEvent as aO, type StreamThinkingEvent as aP, type StructuredEvent as aQ, type StructuredSessionCapability as aR, type StructuredTurnEnd as aS, type SubagentLogEntry as aT, type SubagentOutcome as aU, type Task as aV, type TaskIsolation as aW, type TaskIsolationState as aX, type TaskMode as aY, type TaskModeAgentAdapter as aZ, TaskModeUnsupportedError as a_, type ModelShortcut as aa, ORCHESTRATOR_SHORTCUTS as ab, type OrchestratorOption as ac, type PlanIsolation as ad, type PlanModificationWarnings as ae, type PlanState as af, type PlanStatus as ag, type PlannerStartOptions as ah, type PlannerUsage as ai, type PluginCloneFn as aj, type PluginEntry as ak, type PluginFeatures as al, type PluginMode as am, type PluginModelDiscovery as an, type PluginRunnerDef as ao, type PreparedLaunch as ap, type PreparedTask as aq, type ProviderCredentialSource as ar, type ProviderModelLists as as, type ProviderModelsResult as at, type PtySize as au, type PtyWrapOptions as av, type QueuedMessage as aw, type QueuedTaskMessage as ax, type RepairEvidence as ay, type RepoGroupLayout as az, type ActiveTaskSession as b, windowsCommandLine as b$, type TaskOutputSummary as b0, type TaskRunnerFlags as b1, type TaskSnapshot as b2, type TaskStartOptions as b3, type TaskStatus as b4, type TaskTransport as b5, type TaskType as b6, type TaskWithParent as b7, type ThinkingBlock as b8, type TreeSnapshot as b9, isGranted as bA, isMeasured as bB, isReservedRunnerName as bC, isRunnerApproval as bD, isRunnerTransport as bE, isStructuredSession as bF, keepExecutionState as bG, knownModelId as bH, migrateLegacyPlan as bI, migratePlanState as bJ, migrateTask as bK, partedPromptUsage as bL, planDirectLaunch as bM, planShellLaunch as bN, plannerContextFill as bO, posixShellQuote as bP, removeTaskFromPlan as bQ, renumberTasks as bR, resolveModelShortcut as bS, resolveProvider as bT, stripAnsi as bU, toApprovalDecision as bV, toOrchestratorOptions as bW, updateTaskInPlan as bX, usageLine as bY, validateModifiedPlan as bZ, warningsText as b_, type UsageLine as ba, type UsageRecord as bb, type UsageTotals as bc, type UserPromptEntry as bd, type UserStep as be, type ValidationCheck as bf, type ValidationContext as bg, type ValidationResult as bh, type Verdict as bi, type VerificationCheck as bj, WINDOWS_MAX_COMMAND_LINE as bk, addPlannerUsage as bl, addTaskToPlan as bm, addUsage as bn, approvalScopes as bo, buildShellInvocation as bp, collectProviderCredentials as bq, createEmptyPlan as br, createTask as bs, emptyWarnings as bt, enabledRunners as bu, fetchAllProviderModels as bv, flattenTasks as bw, flattenTasksWithParents as bx, isAwaitingReason as by, isExecutableResolved as bz, type AgentAdapter as c, wrapWithPty as c0, type AgentAdapterFactory as d, type AgentEvent as e, type AgentProcessDeps as f, type AgentStartOptions as g, type AiProvider as h, type AllProviderModels as i, type ApprovalAnswer as j, type ApprovalDecision as k, type ApprovalKind as l, type ApprovalMode as m, ApprovalPolicy as n, type ApprovalPolicyOptions as o, type ApprovalRequest as p, type ApprovalSource as q, type AwaitingReason as r, type CatalogModel as s, CommandLineTooLongError as t, type ConversationMessage as u, type DiscoveredMode as v, type DiscoveredModel as w, type DiscoveryCommand as x, ExecutableNotFoundError as y, type HeadlessRunnerDeps as z };