@robota-sdk/agent-framework 3.0.0-beta.83 → 3.0.0-beta.85

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,10 +1,10 @@
1
- import { IActiveBranchPointer, IBranchEvent, ICompactEvent, IContextReferenceItem, IExecutionResult, IExecutionResult as IExecutionResult$2, IGoalState, IInteractionChannel as IInteractionChannel$1, IInteractiveSession as IInteractiveSession$1, IInteractiveSessionEvents as IInteractiveSessionEvents$1, IInteractiveSessionRecord, IInteractiveSessionRecord as IInteractiveSessionRecord$1, IInteractiveSessionStore, IInteractiveSessionStore as IInteractiveSessionStore$1, IMemoryEvent, IMemoryReference, IPeerTurnContext, IPlanArtifact, IPromptFileReferenceRecord, IPromptHistorySource, IPromptHistoryWriter, IResumableSessionSummary, ISessionListEntry, ISessionLoopState, ISessionStatusSnapshot, ISkillActivationEvent, ISubmitOptions, ITerminalHandoff, IToolState, IToolSummary, ITurnHandle, TContextReferenceLoadType, TContextReferenceStatus, TDriverId, TGoalStopReason, TInteractiveEventName as TInteractiveEventName$1, TInteractivePermissionHandler, TMemoryType, TPermissionResultValue, TPermissionResultValue as TPermissionResultValue$1, TPromptFileReferenceReason, TSessionLoadOutcome, TSessionLoadOutcome as TSessionLoadOutcome$1, TTurnNotRunReason, TTurnSource, TWaitingLoopStopOutcome } from "@robota-sdk/agent-interface-session";
1
+ import { IActiveBranchPointer, IBranchEvent, ICompactEvent, IContextReferenceItem, IExecutionResult, IExecutionResult as IExecutionResult$2, IGoalState, IHistoryDisplaySegment, IInteractionChannel as IInteractionChannel$1, IInteractiveSession as IInteractiveSession$1, IInteractiveSessionEvents as IInteractiveSessionEvents$1, IInteractiveSessionRecord, IInteractiveSessionRecord as IInteractiveSessionRecord$1, IInteractiveSessionStore, IInteractiveSessionStore as IInteractiveSessionStore$1, IMemoryEvent, IMemoryReference, IModelCatalogEntry, IModelListSnapshot, IPeerTurnContext, IPlanArtifact, IPromptFileReferenceRecord, IPromptHistorySource, IPromptHistoryWriter, IResumableSessionSummary, ISessionListEntry, ISessionLoopState, ISessionProjectRead, ISessionStatusSnapshot, ISettingsProvidersSection, ISkillActivationEvent, ISubmitOptions, ITerminalHandoff, IToolState, IToolSummary, ITurnHandle, TContextReferenceLoadType, TContextReferenceStatus, TDriverId, TGoalStopReason, TInteractiveEventName as TInteractiveEventName$1, TInteractivePermissionHandler, TMemoryType, TPermissionResultValue, TPermissionResultValue as TPermissionResultValue$1, TProjectDiffRead, TProjectMemoryRead, TProjectStatusRead, TPromptFileReferenceReason, TSessionLoadOutcome, TSessionLoadOutcome as TSessionLoadOutcome$1, TTurnNotRunReason, TTurnSource, TWaitingLoopStopOutcome } from "@robota-sdk/agent-interface-session";
2
2
  import { IAIProvider, IContextWindowState, IFileSystem, IFileSystemAsync, IHistoryEntry, IHookInput, IHookTypeExecutor, IProviderDefinition, IProviderDefinitionConfig, IProviderProbeResult, IProviderProfileConfig, IResponseFormatConfig, ISession, ITerminalOutput, IToolExecutionResult, IToolResultSpillStore, IToolSchema, IToolWithEventService, IUserInteraction, TActionResponse, TBackgroundPermissionPolicy, TGuardrail, THookDefinition, THookOutcome, THooksConfig, TModelEffort, TModelEffortSelection, TPermissionMode, TRoleModelMap, TSessionEndReason, TSubprocessTraceClass, TToolArgs, TToolParameters, TUniversalMessage, TUniversalValue } from "@robota-sdk/agent-core";
3
- import { IAppearanceSettings, ICapabilityDescriptor, ICommand, ICommandListEntry, ICommandListEntry as ICommandListEntry$1, ICommandPluginAdapter, ICommandResult as ICommandResult$1, ICommandSkillListEntry, ICommandSource, ISkillExecutionPort, IStatusLineCommandSettings, TAppearanceSettingsPatch, TCapabilitySafety, TCommandHostAction, TCommandInvocationSource, TCommandInvocationSource as TCommandInvocationSource$1, TCommandRunner, TCommandSurface, TCommandUiIntent, TStatusLineCommandSettingsPatch } from "@robota-sdk/agent-interface-command";
3
+ import { IAppearanceSettings, ICapabilityDescriptor, ICommand, ICommandListEntry, ICommandListEntry as ICommandListEntry$1, ICommandPluginAdapter, ICommandResult as ICommandResult$1, ICommandSkillListEntry, ICommandSource, ISkillExecutionPort, IStatusLineCommandSettings, TAppearanceSettingsPatch, TCapabilitySafety, TCommandHostAction, TCommandInvocationSource, TCommandInvocationSource as TCommandInvocationSource$1, TCommandRunner, TCommandSurface, TCommandSurfaceLocality, TCommandSurfaceLocality as TCommandSurfaceLocality$1, TCommandUiIntent, TStatusLineCommandSettingsPatch } from "@robota-sdk/agent-interface-command";
4
4
  import { FileSessionLogger, ICommandSandboxApproval, IExternalPayloadReference, IExternalPayloadSink, IExternalPayloadSource, INodeToolResultSpillStoreOptions, IPermissionDenial, ISessionLogSink, ISessionLogSource, ISessionLogger, ISessionReplayValidationResult, ITerminalOutput as ITerminalOutput$1, Session, TAutoCompactThreshold, TAutoCompactThreshold as TAutoCompactThreshold$2, TPermissionHandler, TPermissionResult } from "@robota-sdk/agent-session";
5
5
  import { ILivePromptContentBatch, ILivePromptContentPolicy, ILivePromptTraceBatch, IUsageSource } from "@robota-sdk/agent-interface-analytics";
6
6
  import { IBackgroundTaskManager, IBackgroundTaskRunner, IBackgroundTaskRunner as IBackgroundTaskRunner$1, IScheduleEditPatch, ISubagentManager, ISubagentRunner, TObserverFailureReporter } from "@robota-sdk/agent-executor";
7
- import { IAgentBackgroundTaskRequest, IBackgroundJobGroupCreateRequest, IBackgroundJobGroupCreateRequest as IBackgroundJobGroupCreateRequest$1, IBackgroundJobGroupState, IBackgroundJobGroupState as IBackgroundJobGroupState$1, IBackgroundJobGroupSummary, IBackgroundTaskInput, IBackgroundTaskListFilter, IBackgroundTaskLogCursor, IBackgroundTaskLogPage, IBackgroundTaskState, ICreateExecutionWorkspaceSnapshotInput, ICreateLineDetailPageInput, ICreateMainThreadDetailPageInput, IExecutionDetailCursor, IExecutionDetailPage, IExecutionOrigin, IExecutionOrigin as IExecutionOrigin$1, IExecutionPendingRequest, IExecutionPendingRequest as IExecutionPendingRequest$1, IExecutionWorkspaceEntry, IExecutionWorkspaceEntryRef, IExecutionWorkspaceFilter, IExecutionWorkspaceSnapshot, IExecutionWorkspaceSnapshot as IExecutionWorkspaceSnapshot$1, IExecutionWorkspaceSnapshotOptions, ISubagentJobResult, ISubagentJobState, TBackgroundJobGroupEvent, TBackgroundJobGroupEvent as TBackgroundJobGroupEvent$1, TBackgroundJobGroupEventListener, TBackgroundJobGroupIdFactory, TBackgroundPrimitive, TBackgroundTaskEvent, TBackgroundTaskIsolation, TBackgroundTaskMode, TExecutionWorkspaceUpdateCause } from "@robota-sdk/agent-interface-execution";
7
+ import { IAgentBackgroundTaskRequest, IBackgroundJobGroupCreateRequest, IBackgroundJobGroupCreateRequest as IBackgroundJobGroupCreateRequest$1, IBackgroundJobGroupState, IBackgroundJobGroupState as IBackgroundJobGroupState$1, IBackgroundJobGroupSummary, IBackgroundTaskInput, IBackgroundTaskListFilter, IBackgroundTaskLogCursor, IBackgroundTaskLogPage, IBackgroundTaskState, ICreateExecutionWorkspaceSnapshotInput, ICreateLineDetailPageInput, ICreateMainThreadDetailPageInput, IExecutionDetailCursor, IExecutionDetailPage, IExecutionOrigin, IExecutionOrigin as IExecutionOrigin$1, IExecutionPendingRequest, IExecutionPendingRequest as IExecutionPendingRequest$1, IExecutionSelfPacedLoopSummary, IExecutionWorkspaceEntry, IExecutionWorkspaceEntryRef, IExecutionWorkspaceFilter, IExecutionWorkspaceSnapshot, IExecutionWorkspaceSnapshot as IExecutionWorkspaceSnapshot$1, IExecutionWorkspaceSnapshotOptions, ISubagentJobResult, ISubagentJobState, TBackgroundJobGroupEvent, TBackgroundJobGroupEvent as TBackgroundJobGroupEvent$1, TBackgroundJobGroupEventListener, TBackgroundJobGroupIdFactory, TBackgroundPrimitive, TBackgroundTaskEvent, TBackgroundTaskIsolation, TBackgroundTaskMode, TExecutionWorkspaceUpdateCause } from "@robota-sdk/agent-interface-execution";
8
8
  import { IPeerMessageAck, IPeerMessageIngress, IPeerOrigin, TWorkspaceRelation } from "@robota-sdk/agent-interface-session-mobility";
9
9
  import { z } from "zod";
10
10
  import { IRetrievalAdapter, ISandboxClient, IWorkspaceManifest, createZodFunctionTool } from "@robota-sdk/agent-tools";
@@ -14,6 +14,14 @@ import "yaml";
14
14
  type TEffortSelection = TModelEffort | 'auto';
15
15
  type TEffortSource = 'command' | 'flag' | 'environment' | 'settings' | 'preset' | 'model-default';
16
16
  type TEffortDisposition = 'applied' | 'model-default' | 'clamped' | 'not-applied';
17
+ /**
18
+ * #3282 §2 — the plain label for each effort selection, shared by every surface that reports an
19
+ * effort choice or change: `/effort`'s own outcome text, the TUI/GUI pickers, and headless `/goal`
20
+ * output (`transport-host/headless/headless-output.ts`). Lives here (not in `agent-command`, which
21
+ * depends on this package) so `agent-framework`'s own headless output can use it without a circular
22
+ * dependency; `agent-command`'s `effort-command.ts` re-exports it unchanged.
23
+ */
24
+ declare const EFFORT_LEVEL_LABELS: Readonly<Record<TEffortSelection, string>>;
17
25
  interface IModelEffortResolution {
18
26
  readonly requested: TEffortSelection;
19
27
  readonly effective: TModelEffort;
@@ -42,6 +50,7 @@ interface IProviderErrorGuidance {
42
50
  readonly forbidden?: string;
43
51
  readonly rateLimit?: string;
44
52
  readonly network?: string;
53
+ readonly modelUnavailable?: string;
45
54
  }
46
55
  //#endregion
47
56
  //#region src/agents/agent-definition-types.d.ts
@@ -74,7 +83,18 @@ interface IAgentDefinition {
74
83
  tools?: string[];
75
84
  /** Denylist of tool names. These tools are removed from the inherited set. */
76
85
  disallowedTools?: string[];
86
+ /**
87
+ * #3282 §4: where this definition came from, in plain words a person picking an agent can read —
88
+ * a discovered file's path (`AgentDefinitionLoader`), or absent for the built-in tier (a pack
89
+ * injection composed ahead of `BUILT_IN_AGENTS` included — see `buildAgentRuntime`). A reader that
90
+ * wants a label for every agent, built-in included, falls back to `DEFAULT_AGENT_DEFINED_IN`.
91
+ */
92
+ definedIn?: string;
77
93
  }
94
+ /** The plain-words source shown for an agent definition that carries no `definedIn` of its own. */
95
+ declare const DEFAULT_AGENT_DEFINED_IN = "Built-in";
96
+ /** The agent type `/agent <prompt>` falls back to when none is named or selected as default. */
97
+ declare const DEFAULT_AGENT_TYPE = "general-purpose";
78
98
  //#endregion
79
99
  //#region src/checkpoints/edit-checkpoint-types.d.ts
80
100
  interface IEditCheckpointRecorder {
@@ -450,10 +470,25 @@ declare function createExecutionWorkspaceTaskSpawner(options: ICreateExecutionWo
450
470
  //#region src/command-api/agent-job-roles.d.ts
451
471
  /** Starting, steering and ending subagent jobs. */
452
472
  interface IAgentJobDispatch {
473
+ /**
474
+ * #3282 §4: the agent switcher's roster — `definedIn` is a plain-words location (a discovered
475
+ * file's path, or "Built-in") a person picking an agent can read.
476
+ */
453
477
  listAgentDefinitions(): Array<{
454
478
  name: string;
455
479
  description: string;
480
+ definedIn: string;
456
481
  }>;
482
+ /**
483
+ * #3282 §4: the agent type `/agent <name>` (no prompt) currently selects — the agent switcher
484
+ * shows it checked. Never throws; a host without the agent runtime just has the fallback default.
485
+ */
486
+ getDefaultAgentType(): string;
487
+ /**
488
+ * #3282 §4: `/agent <name>` (bare, no prompt) sets this — the agent type used as the default
489
+ * `agentType` whenever one is not otherwise named. Throws if the agent runtime is unavailable.
490
+ */
491
+ setDefaultAgentType(agentType: string): void;
457
492
  listAgentJobs(): ISubagentJobState[];
458
493
  spawnAgentJob(input: {
459
494
  agentType: string;
@@ -536,7 +571,7 @@ interface IAgentJobMonitors {
536
571
  interface IAgentJobLogs {
537
572
  readBackgroundTaskLog(taskId: string, cursor?: IBackgroundTaskLogCursor): Promise<IBackgroundTaskLogPage>;
538
573
  }
539
- /** Aggregate: all 15 members remain source-compatible. Declare a role port instead of this. */
574
+ /** Aggregate of the five role interfaces above, kept source-compatible. Declare a role port instead of this. */
540
575
  interface IAgentJobHostContext extends IAgentJobDispatch, IAgentJobGroups, IAgentJobSchedules, IAgentJobMonitors, IAgentJobLogs {}
541
576
  //#endregion
542
577
  //#region src/command-api/preset/preset-application-types.d.ts
@@ -856,13 +891,48 @@ declare function listResumableSessionSummaries(sessionStore: IInteractiveSession
856
891
  * older-format session read as gone rather than as unreadable. A surface that wants to say "3
857
892
  * sessions here were written by a different build" asks this.
858
893
  *
859
- * Not filtered by `cwd`: an unreadable entry has no record, so it has no `cwd` to compare.
894
+ * Not filtered by `cwd`: an unreadable entry has no record, so it has no `cwd` to compare in general
895
+ * — {@link listUnreadableSessionsForWorkspace} answers that question for the entries that DO carry
896
+ * one.
860
897
  */
861
898
  declare function listUnreadableSessions(sessionStore: IInteractiveSessionStore$1 | undefined): readonly {
862
899
  readonly id: string;
863
900
  readonly outcome: TSessionLoadOutcome$1;
864
901
  }[];
902
+ /**
903
+ * The unreadable sessions of ONE workspace (#3289 §1).
904
+ *
905
+ * A store shared across workspaces (the user-level `~/.robota/sessions`) holds unreadable records
906
+ * from every folder ever worked in there, and a brand-new folder used to be told about all of them —
907
+ * "191 sessions could not be read" on a folder that had never seen one. An unreadable record still
908
+ * carries its raw `cwd` when the bytes are readable enough for that (TRANS-007's best-effort peek);
909
+ * this asks only for the ones whose peeked `cwd` is THIS workspace. A record whose workspace cannot
910
+ * be told at all is left out here — it is not lost, it simply is not this workspace's business.
911
+ */
912
+ declare function listUnreadableSessionsForWorkspace(sessionStore: IInteractiveSessionStore$1 | undefined, cwd: string): readonly {
913
+ readonly id: string;
914
+ }[];
865
915
  declare function resolveLatestSessionId(sessionStore: IInteractiveSessionStore$1 | undefined, cwd: string): string | undefined;
916
+ /**
917
+ * An existing session of this workspace with no messages yet, that no OTHER client is on and has no
918
+ * work of its own in progress — the one a fresh "New session" (a serve/daemon start, or the button)
919
+ * should reuse instead of adding another empty row to the list (#3289 §1). `excludeSessionId` lets a
920
+ * caller leaving a session (e.g. deleting it) ask "reuse some OTHER empty session" without that one
921
+ * answering its own question.
922
+ *
923
+ * `otherClientsOf` reports how many clients are on a session besides the one asking, when the caller
924
+ * knows; omitted, every candidate is treated as free (the common case: nothing is live yet, as at a
925
+ * serve/daemon start, when nothing could be bound to anything). `isBusy` reports whether a candidate
926
+ * has work of its own in progress even with no client on it — a background task or a self-paced loop
927
+ * outlives the client that started it, and "New session" landing someone there would join that work
928
+ * mid-flight rather than starting fresh. Omitted, no candidate is treated as busy, for the same
929
+ * "nothing is live yet" reason `otherClientsOf` is omittable.
930
+ */
931
+ declare function resolveReusableEmptySessionId(sessionStore: IInteractiveSessionStore$1 | undefined, cwd: string, options?: {
932
+ readonly excludeSessionId?: string;
933
+ readonly otherClientsOf?: (sessionId: string) => number;
934
+ readonly isBusy?: (sessionId: string) => boolean;
935
+ }): string | undefined;
866
936
  declare function resolveSessionIdByIdOrName(sessionStore: IInteractiveSessionStore$1 | undefined, idOrName: string): string | undefined;
867
937
  //#endregion
868
938
  //#region src/advisor/advisor-spec.d.ts
@@ -952,9 +1022,22 @@ interface IPermissionRuleLayer {
952
1022
  readonly deny: readonly string[];
953
1023
  readonly ask: readonly string[];
954
1024
  }
1025
+ /** One rule to remove from the settings layer it was declared in (#3282 §4a). */
1026
+ interface IPermissionRuleRemoval {
1027
+ /** The `scope` of the {@link IPermissionRuleLayer} the rule was read from. */
1028
+ readonly scope: string;
1029
+ readonly kind: 'allow' | 'deny' | 'ask';
1030
+ readonly pattern: string;
1031
+ }
955
1032
  /** Where each configured permission rule comes from, read fresh on every call. */
956
1033
  interface ICommandPermissionRulesAdapter {
957
1034
  readLayers(): readonly IPermissionRuleLayer[];
1035
+ /**
1036
+ * #3282 §4a: remove one declared rule from its settings layer. Optional — a host with no write
1037
+ * target for any layer (read-only rule discovery) makes rule removal fail EXPLICITLY wherever it
1038
+ * is offered, never a silent no-op. Returns `false` when no writable layer matched the removal.
1039
+ */
1040
+ removeRule?(removal: IPermissionRuleRemoval): boolean;
958
1041
  }
959
1042
  /** How shell commands are confined: not at all, confined without prompts, or confined and asked. */
960
1043
  type TSandboxCommandMode = 'off' | 'auto-allow' | 'regular';
@@ -1050,6 +1133,15 @@ interface ICommandMCPActivationSummary {
1050
1133
  readonly provenanceId: string;
1051
1134
  readonly definitionFingerprint: string;
1052
1135
  readonly securityIdentity: string;
1136
+ /**
1137
+ * #3282 §4 part b-2: this process's live connection outcome for an `allowed` server — absent for
1138
+ * one that is not `allowed`, or has not been attempted yet. `'failed'`'s reason is
1139
+ * {@link connectionFailureReason}; a connected server's tool names are {@link toolNames}.
1140
+ */
1141
+ readonly connection?: 'connected' | 'failed';
1142
+ readonly connectionFailureReason?: string;
1143
+ /** The names of the tools this server currently contributes; empty when not connected. */
1144
+ readonly toolNames?: readonly string[];
1053
1145
  }
1054
1146
  /**
1055
1147
  * A definition-source-level problem — issue #2794: a configuration root that is not an object, no
@@ -1170,6 +1262,33 @@ interface ICommandMCPActivationAdapter {
1170
1262
  * a name it already had. Called once per sign-in that returned tools.
1171
1263
  */
1172
1264
  oauthToolsAdded?(serverId: string, added: readonly string[]): void;
1265
+ /**
1266
+ * #3282 §4 part b-2: `/mcp reload` and the Settings screen's "Reload servers" button. Retries
1267
+ * every allowed server that is not currently connected; a server already connected is left
1268
+ * running. Never rejects: a server that still cannot connect keeps its `list()` failure reason.
1269
+ * Absent: the host offers no reload (the button/command then say so).
1270
+ */
1271
+ reload?(): Promise<{
1272
+ readonly tools: readonly IToolWithEventService[];
1273
+ readonly connectedServerIds: readonly string[];
1274
+ readonly failedServerIds: readonly string[];
1275
+ /**
1276
+ * Identifies this call's staged tool provenance for `reloadToolsAdded`; absent when there is
1277
+ * nothing to acknowledge (no server newly connected). Two `reload()` calls outstanding at once
1278
+ * — `/mcp reload` runs inline, unblocked by the mid-turn gate, and an `update-settings` write
1279
+ * is fire-and-forget, so this is reachable, not hypothetical — join the same connection pass
1280
+ * and get the same token back; a fresh call started only after the last one's token was
1281
+ * acknowledged gets a new one.
1282
+ */
1283
+ readonly reloadToken?: string;
1284
+ }>;
1285
+ /**
1286
+ * Which of `reload`'s tools the session actually took, keyed to the `reloadToken` it returned;
1287
+ * any other was left out for a name it already had. `token` not matching the currently staged
1288
+ * reload — already committed, or superseded by a later call — makes this a no-op, so a late or
1289
+ * duplicate acknowledgement can never clear or corrupt a different reload's provenance.
1290
+ */
1291
+ reloadToolsAdded?(token: string, added: readonly string[]): void;
1173
1292
  }
1174
1293
  /**
1175
1294
  * PEER-004 (#1863): a live session this one can address, as the operator sees it.
@@ -1525,7 +1644,7 @@ declare class EditCheckpointStore {
1525
1644
  declare function wrapEditCheckpointTools(tools: readonly IToolWithEventService[], recorder: IEditCheckpointRecorder): IToolWithEventService[];
1526
1645
  //#endregion
1527
1646
  //#region src/context/prompt-file-reference-types.d.ts
1528
- type TPromptFileReferenceDiagnosticCode = 'not-found' | 'outside-root' | 'directory-not-supported' | 'file-too-large' | 'total-too-large' | 'too-many-references' | 'max-depth' | 'circular-reference' | 'unreadable';
1647
+ type TPromptFileReferenceDiagnosticCode = 'not-found' | 'outside-root' | 'directory-not-supported' | 'file-too-large' | 'total-too-large' | 'too-many-references' | 'max-depth' | 'circular-reference' | 'unreadable' | 'binary-file';
1529
1648
  interface IPromptFileReferenceToken {
1530
1649
  original: string;
1531
1650
  path: string;
@@ -1628,6 +1747,12 @@ interface IGoalControllerDeps {
1628
1747
  * payload is schema-validated at the tool layer, so this is deterministic — never prose parsing.
1629
1748
  */
1630
1749
  declare function extractGoalSignal(toolSummaries: readonly IToolSummary[]): IGoalSignal | null;
1750
+ /**
1751
+ * True when `args` (the `/goal` command's raw argument string) asks to cancel the current goal —
1752
+ * the single vocabulary both the command (`goal-command.ts`, agent-command) and the mid-turn CONTROL
1753
+ * path (`InteractiveSession.executeCommand`, this package) match against, so the two never drift.
1754
+ */
1755
+ declare function isGoalCancelVerb(args: string): boolean;
1631
1756
  declare class GoalController {
1632
1757
  private readonly deps;
1633
1758
  private goal;
@@ -1869,6 +1994,17 @@ interface ICommandHostUserInteraction {
1869
1994
  */
1870
1995
  getUserInteraction(): IUserInteraction | undefined;
1871
1996
  }
1997
+ /**
1998
+ * Whether THIS session is running with no provider configured yet (issue #3282 §3 setup mode).
1999
+ *
2000
+ * Exists for exactly one command (`/provider add`, deciding hot-swap vs. restart) — never inferred
2001
+ * from settings, because an ordinary session started from an env-default provider also has none
2002
+ * persisted. The member is optional so a host with no concept of setup mode costs nothing and is
2003
+ * correctly read as "not in it" (`?.() === true`), never mistaken for a required capability.
2004
+ */
2005
+ interface ICommandHostSetupState {
2006
+ isSetupRequired?(): boolean;
2007
+ }
1872
2008
  /** Re-applying preset-owned configuration to the live session. */
1873
2009
  interface ICommandHostPresetApplication {
1874
2010
  /** Apply an additive response style to the live system prompt. */
@@ -1907,6 +2043,12 @@ interface ICommandHostContextReferences {
1907
2043
  interface ICommandHostWorkspace {
1908
2044
  getCwd(): string;
1909
2045
  getCommandInvocationSource(): TCommandInvocationSource;
2046
+ /**
2047
+ * #3282 §4 part b-2: whether THIS invocation is provably on this machine. Optional so an older or
2048
+ * narrower host still satisfies this interface; a caller that needs it treats a missing method the
2049
+ * same as `'local'` (allow-by-default, matching the rest of the command layer).
2050
+ */
2051
+ getCommandSurfaceLocality?(): TCommandSurfaceLocality;
1910
2052
  }
1911
2053
  /** What commands and skills this host can dispatch. */
1912
2054
  interface ICommandHostCatalog {
@@ -1988,8 +2130,8 @@ interface ICommandHostTerminalHandoff {
1988
2130
  interface ICommandHostAdapterAccess {
1989
2131
  getCommandHostAdapters?(): ICommandHostAdapters;
1990
2132
  }
1991
- /** Aggregate: all 47 members remain source-compatible. Declare a role port instead of this. */
1992
- interface ICommandHostContext extends ICommandHostSessionAccess, ICommandHostAgentJobs, ICommandHostUserInteraction, ICommandHostPresetApplication, ICommandHostContextWindow, ICommandHostContextReferences, ICommandHostWorkspace, ICommandHostCatalog, ICommandHostCheckpoints, ICommandHostMemory, ICommandHostBackgroundTasks, ICommandHostGoal, ICommandHostPlan, ICommandHostTerminalHandoff, ICommandHostAdapterAccess {}
2133
+ /** Aggregate: all 48 members remain source-compatible. Declare a role port instead of this. */
2134
+ interface ICommandHostContext extends ICommandHostSessionAccess, ICommandHostAgentJobs, ICommandHostUserInteraction, ICommandHostSetupState, ICommandHostPresetApplication, ICommandHostContextWindow, ICommandHostContextReferences, ICommandHostWorkspace, ICommandHostCatalog, ICommandHostCheckpoints, ICommandHostMemory, ICommandHostBackgroundTasks, ICommandHostGoal, ICommandHostPlan, ICommandHostTerminalHandoff, ICommandHostAdapterAccess {}
1993
2135
  //#endregion
1994
2136
  //#region src/command-api/contracts.d.ts
1995
2137
  type TSystemCommandLifecycle = 'inline' | 'blocking' | 'background';
@@ -2299,6 +2441,37 @@ declare function resolveEnvDefaultProvider(providerDefinitions: readonly IProvid
2299
2441
  declare function readProviderSettings(sources: readonly TSettingsSource[], options?: IReadProviderSettingsOptions): IProviderDefinitionConfig;
2300
2442
  declare function createProviderFromSettings(sources: readonly TSettingsSource[], modelOverride?: string, options?: IReadProviderSettingsOptions): IAIProvider;
2301
2443
  //#endregion
2444
+ //#region src/command-api/provider/provider-model-catalog.d.ts
2445
+ /**
2446
+ * The models every configured profile offers, current profile first (#3282 §2). A profile missing
2447
+ * `type` or `model` is skipped — it could not run even by an explicit `/provider switch`, so `/model`
2448
+ * does not offer it either. `allowedProviders`, when set, is the org policy's allowlist of provider
2449
+ * PROFILE NAMES (`IOrgPolicy.allowedProviders`) — a profile it excludes is skipped the same way, so
2450
+ * a control built from this snapshot never offers a switch org policy would then refuse.
2451
+ */
2452
+ declare function buildModelListSnapshot(providers: Record<string, IProviderProfileSettings> | undefined, currentProfileName: string | undefined, currentModel: string, providerDefinitions: readonly IProviderDefinition[], allowedProviders?: readonly string[]): IModelListSnapshot;
2453
+ /** Where an `id` resolves: which profile offers it, and its display label. Group order IS the tie-break. */
2454
+ interface IModelListSelection {
2455
+ readonly profileName: string;
2456
+ readonly model: IModelCatalogEntry;
2457
+ }
2458
+ /**
2459
+ * Resolve a typed/clicked model id against the snapshot. Groups are already ordered current-profile
2460
+ * first, so the first match found — never a special case here — is the one the current profile's
2461
+ * provider offers, matching the "prefer the current profile" rule for an id offered by more than one.
2462
+ */
2463
+ declare function resolveModelListSelection(snapshot: IModelListSnapshot, id: string): IModelListSelection | undefined;
2464
+ //#endregion
2465
+ //#region src/command-api/provider/provider-profile-summary.d.ts
2466
+ /**
2467
+ * Every configured profile, in settings order (the Settings screen marks the current one with
2468
+ * `current` rather than reordering around it — unlike the model list's current-first order, which
2469
+ * exists only to break a same-id tie). `allowedProviders`, when set, is the org policy's allowlist of
2470
+ * profile names (`IOrgPolicy.allowedProviders`) — the same filter `buildModelListSnapshot` applies,
2471
+ * so Settings never offers managing a profile a switch would then refuse.
2472
+ */
2473
+ declare function buildProviderProfilesSnapshot(providers: Record<string, IProviderProfileSettings> | undefined, currentProfileName: string | undefined, providerDefinitions: readonly IProviderDefinition[], allowedProviders?: readonly string[]): ISettingsProvidersSection;
2474
+ //#endregion
2302
2475
  //#region src/command-api/help/help-command-api.d.ts
2303
2476
  declare const HELP_COMMAND_DESCRIPTION = "Show available commands";
2304
2477
  declare function formatCommandHelpMessage(context: ICommandHostCatalog): string;
@@ -2359,6 +2532,12 @@ interface IPermissionsCommandState {
2359
2532
  /** Where a rule the gate reads comes from when no settings layer declares it: a flag, a preset, a command. */
2360
2533
  declare const RUNTIME_RULE_SOURCE = "this session (CLI flags, preset, commands)";
2361
2534
  declare const VALID_PERMISSION_MODES: readonly TPermissionMode[];
2535
+ /**
2536
+ * #3282 §2 — the plain label every surface shows for a permission mode, so the TUI's inline picker
2537
+ * and the GUI's mode menu agree instead of each inventing (or skipping) one. `description` stays the
2538
+ * secondary line under it; neither name is an internal id a person has to already know.
2539
+ */
2540
+ declare const PERMISSION_MODE_LABELS: Readonly<Record<TPermissionMode, string>>;
2362
2541
  declare function buildPermissionModeSubcommands(source?: string): ICommand[];
2363
2542
  declare function parsePermissionModeArgument(args: string): string | undefined;
2364
2543
  declare function isPermissionMode(value: string): value is TPermissionMode;
@@ -2470,8 +2649,8 @@ declare function applyAppearanceSettings(settingsPath: string, patch: TAppearanc
2470
2649
  //#endregion
2471
2650
  //#region src/command-api/plugin/plugin-command-api.d.ts
2472
2651
  declare const PLUGIN_COMMAND_DESCRIPTION = "Manage plugins";
2473
- declare const PLUGIN_COMMAND_ARGUMENT_HINT = "manage | install <name@marketplace> | uninstall <name@marketplace> | enable <name@marketplace> | disable <name@marketplace> | marketplace <action>";
2474
- declare const RELOAD_PLUGINS_COMMAND_DESCRIPTION = "Reload all plugin resources";
2652
+ declare const PLUGIN_COMMAND_ARGUMENT_HINT = "manage | list | install <name@marketplace> | uninstall <name@marketplace> | enable <name@marketplace> | disable <name@marketplace> | marketplace <action>";
2653
+ declare const RELOAD_PLUGINS_COMMAND_DESCRIPTION = "After installing, enabling or disabling plugins, refresh the command list, skill routing and model skill catalogue. Returns the loaded resource count; hook changes need a new session. User-only because this activates installed code.";
2475
2654
  /** CMD-004: `/plugin manage` asks the REQUESTING surface to open its plugin manager (UI intent). */
2476
2655
  declare function createShowPluginManagerIntent(): TCommandUiIntent;
2477
2656
  declare function resolvePluginCommandAdapter(context: ICommandHostAdapterAccess): ICommandPluginAdapter | undefined;
@@ -6831,9 +7010,14 @@ interface IContributionSource {
6831
7010
  readText(relativePath: string, purpose: string): string | undefined;
6832
7011
  listDirectory(relativePath: string, purpose: string): readonly IWorkspaceDirectoryEntry[];
6833
7012
  inspectKind(relativePath: string, purpose: string): TWorkspaceContributionKind | undefined;
7013
+ /**
7014
+ * The absolute path a root-relative path names, for text that must point at it (a skill's own
7015
+ * directory). Reading still goes through this source. Absent when the source cannot name one.
7016
+ */
7017
+ locate?(relativePath: string): string;
6834
7018
  }
6835
7019
  /** Project contributions remain bound to the exact production-accepted reader instance. */
6836
- declare function createWorkspaceProjectContributionSource(reader: IWorkspaceProjectReader): IContributionSource;
7020
+ declare function createWorkspaceProjectContributionSource(reader: IWorkspaceProjectReader, root?: string): IContributionSource;
6837
7021
  //#endregion
6838
7022
  //#region src/commands/skill-source.d.ts
6839
7023
  /** One host-selected skill or legacy-command directory, ordered by host precedence. */
@@ -7147,6 +7331,11 @@ interface IInProcessSubagentRunnerDeps {
7147
7331
  terminal: ITerminalOutput;
7148
7332
  provider: IAIProvider;
7149
7333
  permissionMode?: TPermissionMode;
7334
+ /**
7335
+ * The parent's permission mode, read live at spawn, so a subagent started after a switch to
7336
+ * `plan` runs in `plan`. Absent → `permissionMode`, the mode the runtime was built with.
7337
+ */
7338
+ getParentPermissionMode?: () => TPermissionMode;
7150
7339
  permissionHandler?: TPermissionHandler;
7151
7340
  hooks?: ISubagentOptions['hooks'];
7152
7341
  hookTypeExecutors?: IHookTypeExecutor[];
@@ -7281,6 +7470,8 @@ interface ICreateSessionOptions {
7281
7470
  contributionSources?: readonly IContributionSource[];
7282
7471
  /** Ordered skill and legacy-command roots selected by the host; absence disables file discovery. */
7283
7472
  skillRoots?: readonly ISkillRootDescriptor[];
7473
+ /** Skills from the bundle plugins the session may load; a skill-root skill of the same name wins. */
7474
+ pluginSkills?: readonly ICommand[];
7284
7475
  /** Loaded AGENTS.md / CLAUDE.md context */
7285
7476
  context: ILoadedContext;
7286
7477
  /** Terminal I/O for permission prompts */
@@ -7543,14 +7734,20 @@ interface ILivePromptTracePort {
7543
7734
  }
7544
7735
  //#endregion
7545
7736
  //#region src/utils/skill-prompt.d.ts
7546
- /** Shell exec function for skill preprocessing — injected from composition root. */
7547
- type TShellExecFn = (command: string) => string;
7737
+ /**
7738
+ * Shell exec function for skill preprocessing — injected from composition root. `env` holds the
7739
+ * skill's variables (`CLAUDE_SKILL_DIR`, `CLAUDE_SESSION_ID`, `CLAUDE_PLUGIN_ROOT`), added to the
7740
+ * command's environment so the shell expands them itself.
7741
+ */
7742
+ type TShellExecFn = (command: string, env?: Readonly<Record<string, string>>) => string;
7548
7743
  /** Context variables available during skill prompt processing */
7549
7744
  interface ISkillPromptContext {
7550
7745
  /** Current session ID — substituted for ${CLAUDE_SESSION_ID} */
7551
7746
  sessionId?: string;
7552
7747
  /** Directory containing SKILL.md — substituted for ${CLAUDE_SKILL_DIR} */
7553
7748
  skillDir?: string;
7749
+ /** The plugin's folder, for a skill from a bundle plugin — substituted for ${CLAUDE_PLUGIN_ROOT} */
7750
+ pluginRoot?: string;
7554
7751
  }
7555
7752
  /**
7556
7753
  * Substitute variables in skill content.
@@ -7561,6 +7758,7 @@ interface ISkillPromptContext {
7561
7758
  * - `$N` — shorthand for `$ARGUMENTS[N]` (single digit, 0-9)
7562
7759
  * - `${CLAUDE_SESSION_ID}` — current session ID
7563
7760
  * - `${CLAUDE_SKILL_DIR}` — directory containing SKILL.md
7761
+ * - `${CLAUDE_PLUGIN_ROOT}` — the plugin's folder, for a skill from a bundle plugin
7564
7762
  */
7565
7763
  declare function substituteVariables(content: string, args: string, context?: ISkillPromptContext): string;
7566
7764
  /**
@@ -7568,7 +7766,7 @@ declare function substituteVariables(content: string, args: string, context?: IS
7568
7766
  * Matches `` !`...` `` patterns and replaces them with command output.
7569
7767
  * If no exec function is provided, shell patterns are replaced with empty string.
7570
7768
  */
7571
- declare function preprocessShellCommands(content: string, exec?: TShellExecFn): Promise<string>;
7769
+ declare function preprocessShellCommands(content: string, exec?: TShellExecFn, env?: Readonly<Record<string, string>>): Promise<string>;
7572
7770
  //#endregion
7573
7771
  //#region src/interactive/interactive-session-background-tracker.d.ts
7574
7772
  interface IBackgroundTrackerState {
@@ -7654,6 +7852,12 @@ interface IAgentToolDeps extends IInProcessSubagentRunnerDeps {
7654
7852
  getParentModelEffort?: () => TModelEffort | undefined;
7655
7853
  /** PRESET-016 — runtime gate; when present and returns false, subagent dispatch is refused. */
7656
7854
  isParallelSubagentsEnabled?: () => boolean;
7855
+ /**
7856
+ * #3282 §4: the agent type `/agent <name>` (no prompt) selects and the agent switcher shows
7857
+ * checked — mutable session-scoped state, read back through `getDefaultAgentType`. Absent means
7858
+ * `DEFAULT_AGENT_TYPE` (`general-purpose`), never persisted past this session.
7859
+ */
7860
+ defaultAgentType?: string;
7657
7861
  }
7658
7862
  //#endregion
7659
7863
  //#region src/tools/agent-tool.d.ts
@@ -7752,7 +7956,7 @@ type TKnownMarketplacesRegistry = Record<string, IKnownMarketplaceEntry>;
7752
7956
  *
7753
7957
  * A vector is what makes it safe by construction rather than by quoting: no shell parses these values,
7754
7958
  * so there is no quoting to get right. The repository already reached this conclusion once —
7755
- * `apps/action/src/build-invocation.ts` (SEC-006) replaced `execSync(args.join(' '))` for the same
7959
+ * `apps/action/src/build-invocation.mjs` (SEC-006) replaced `execSync(args.join(' '))` for the same
7756
7960
  * reason — and this is that fix applied to the plugin surface.
7757
7961
  *
7758
7962
  * `file` is the executable. `args` is readonly because an implementation must not be able to fold an
@@ -7785,7 +7989,11 @@ declare class NodeHostPluginSettingsStore {
7785
7989
  private readonly settingsPath;
7786
7990
  private readonly fs;
7787
7991
  constructor(settingsPath: string, fs?: IFileSystem);
7788
- /** Read the full settings file from disk. */
7992
+ /**
7993
+ * Read the full settings file from disk. A file that does not parse to an object throws: read as
7994
+ * `{}` it would say no plugin is disabled, re-enabling every plugin the user turned off, and a
7995
+ * write would replace the user's whole settings file with the plugin keys alone.
7996
+ */
7789
7997
  private readAll;
7790
7998
  /** Write the full settings file to disk. */
7791
7999
  private writeAll;
@@ -7848,6 +8056,8 @@ interface IBundleSkill extends IBundleSkillFrontmatter {
7848
8056
  name: string;
7849
8057
  description: string;
7850
8058
  skillContent: string;
8059
+ /** The absolute directory the skill's file is in. */
8060
+ skillDirectory?: string;
7851
8061
  }
7852
8062
  /** A fully loaded bundle plugin with all its assets. */
7853
8063
  interface ILoadedBundlePlugin {
@@ -8392,6 +8602,12 @@ interface IExecutionControllerCallbacks {
8392
8602
  recordPrompt?: TPromptHistoryRecorder;
8393
8603
  /** Runs after turn history is final but before the turn handle settles or the next input drains. */
8394
8604
  onWakeTurnFinalizing?: (wakeTaskId: string, result: IExecutionResult$2 | undefined, outcome: 'success' | 'failure' | 'interrupted', toolExecutions: readonly ICompletedToolExecution[]) => Promise<void>;
8605
+ /**
8606
+ * #3288: provider tool name → source `/command` name, for the projected model-command tools this
8607
+ * session assembled (`model-command-tool-projection.ts`). Read at `tool_start` so the emitted
8608
+ * `IToolState.commandName` lets a surface show "Ran /<name>" without hardcoding the tool prefix.
8609
+ */
8610
+ modelCommandToolNames?: ReadonlyMap<string, string>;
8395
8611
  }
8396
8612
  interface ICompletedToolExecution {
8397
8613
  name: string;
@@ -8772,6 +8988,14 @@ interface IInteractiveSessionStandardOptions {
8772
8988
  outputStyle?: IOutputStylePrompt;
8773
8989
  cwd: string;
8774
8990
  provider: IAIProvider;
8991
+ /**
8992
+ * #3282 §3: `provider` is a placeholder that never calls a model — a host started this session
8993
+ * without a configured provider (a served runtime's first run). `getStatusSnapshot()` reports it so
8994
+ * a client can show a setup screen instead of a composer, and `submit()` refuses a turn outright
8995
+ * instead of reaching the placeholder. Cleared once `/provider switch` (or the setup flow's own
8996
+ * hot-swap) puts a real provider in place — see `switchProvider`.
8997
+ */
8998
+ setupRequired?: boolean;
8775
8999
  /** Optional product-owned remediation for recognized provider errors; scoped to this session. */
8776
9000
  providerErrorGuidance?: IProviderErrorGuidance;
8777
9001
  /** Host-selected model-visible enclosure for attached file references. */
@@ -8981,6 +9205,8 @@ interface IInteractiveSessionInjectedOptions {
8981
9205
  observerFailureWarningCode?: ICreateSessionOptions['observerFailureWarningCode'];
8982
9206
  cwd?: string;
8983
9207
  provider?: IAIProvider;
9208
+ /** #3282 §3 — see {@link IInteractiveSessionStandardOptions.setupRequired}. */
9209
+ setupRequired?: boolean;
8984
9210
  /** Trusted-or-restricted project decision made by the host. Absence is Restricted. */
8985
9211
  projectAccess?: TWorkspaceProjectAccess;
8986
9212
  userSettingsSources?: readonly INodeHostSettingsSource[];
@@ -9076,6 +9302,8 @@ declare class SessionSkillRouter {
9076
9302
  private readonly shellExec?;
9077
9303
  /** Optional remote-command policy (REMOTE-006). Undefined → allow (local == remote); provide one only to opt into a restriction. */
9078
9304
  private readonly remoteCommandPolicy?;
9305
+ /** Skills from the bundle plugins the session loaded. */
9306
+ private pluginSkills;
9079
9307
  readonly commandExecutor: SystemCommandExecutor;
9080
9308
  /** Command modules received at construction — retained for live re-selection (PRESET-015). */
9081
9309
  private readonly allCommandModules;
@@ -9093,7 +9321,9 @@ declare class SessionSkillRouter {
9093
9321
  /** Called for blocking commands — wraps execution with thinking/executing lifecycle */
9094
9322
  onBlockingCommand: (execute: () => Promise<ICommandResult$1>) => Promise<ICommandResult$1>, shellExec?: TShellExecFn | undefined,
9095
9323
  /** Optional remote-command policy (REMOTE-006). Undefined → allow (local == remote); provide one only to opt into a restriction. */
9096
- remoteCommandPolicy?: IRemoteCommandPolicy | undefined);
9324
+ remoteCommandPolicy?: IRemoteCommandPolicy | undefined,
9325
+ /** Skills from the bundle plugins the session loaded. */
9326
+ pluginSkills?: readonly ICommand[]);
9097
9327
  /**
9098
9328
  * PRESET-015 — re-filter the session's command modules and rebuild the executor live. INFRA-032 also
9099
9329
  * returns unmatched `enabled`/`disabled` names so `/preset` can report them instead of dropping them.
@@ -9101,17 +9331,22 @@ declare class SessionSkillRouter {
9101
9331
  reapplyCommandModuleSelection(enabled: readonly string[] | undefined, disabled: readonly string[] | undefined): readonly IUnknownCommandModuleName[];
9102
9332
  shutdownModules(): Promise<unknown[]>;
9103
9333
  getCommandInvocationSource(): TCommandInvocationSource$1;
9334
+ /** #3282 §4 part b-2: allow-by-default, matching every other transport-origin default here. */
9335
+ getCommandSurfaceLocality(): TCommandSurfaceLocality$1;
9104
9336
  getCommandOriginDriverId(): TDriverId | undefined;
9105
9337
  getCommandHostAdapters(): ICommandHostAdapters;
9106
9338
  listCommands(): ICommandListEntry$1[];
9339
+ replacePluginSkills(skills: readonly ICommand[]): void;
9107
9340
  listSkills(): ICommandSkillListEntry[];
9341
+ /** The session's own skills, then the plugin skills whose names they do not already use. */
9342
+ private allSkills;
9108
9343
  listModelInvocableCommands(): Array<{
9109
9344
  name: string;
9110
9345
  description: string;
9111
9346
  }>;
9112
9347
  findSkillCommand(name: string): ICommand | undefined;
9113
- executeCommand(name: string, args: string, source?: TCommandInvocationSource$1, originDriverId?: TDriverId): Promise<ICommandResult$1 | null>;
9114
- executeCommandWithSource(source: TCommandInvocationSource$1, command: ISystemCommand, args: string, originDriverId?: TDriverId): Promise<ICommandResult$1>;
9348
+ executeCommand(name: string, args: string, source?: TCommandInvocationSource$1, originDriverId?: TDriverId, locality?: TCommandSurfaceLocality$1): Promise<ICommandResult$1 | null>;
9349
+ executeCommandWithSource(source: TCommandInvocationSource$1, command: ISystemCommand, args: string, originDriverId?: TDriverId, locality?: TCommandSurfaceLocality$1): Promise<ICommandResult$1>;
9115
9350
  executeModelCommand(name: string, args: string): Promise<ICommandResult$1 | null>;
9116
9351
  executeSkillCommandByName(name: string, args: string, request: ICommandSkillActivationRequest): Promise<ICommandResult$1 | null>;
9117
9352
  executeUserResolvedSkillCommand(skill: ICommand, args: string, displayInput: string | undefined, rawInput: string | undefined, invocation: ISkillActivationEvent['invocation'],
@@ -9147,6 +9382,12 @@ declare class SessionExecutionController {
9147
9382
  /** RUNTIME-003: the registry that makes `ITurnHandle.completed` able to promise it settles. */
9148
9383
  readonly turns: TurnSettlerRegistry;
9149
9384
  get executing(): boolean;
9385
+ /**
9386
+ * #3288 §2: the same tool-name -> `/command` projection `applyToolStart` reads live, exposed so the
9387
+ * history-replay projector can classify a STORED call's `commandName`/`internal` identically — the
9388
+ * mapping is a property of the session's current command registration, not of the moment a call ran.
9389
+ */
9390
+ get modelCommandToolNames(): ReadonlyMap<string, string> | undefined;
9150
9391
  /** The HEAD queued prompt (next to run), or null — backward-compatible single-prompt read. */
9151
9392
  get pendingPrompt(): string | null;
9152
9393
  /** REMOTE-014 E5: total queued inputs (0 when idle) — a co-drive "N queued" hint. */
@@ -9200,12 +9441,13 @@ declare abstract class InteractiveSessionBase {
9200
9441
  getStreamingText(): string;
9201
9442
  getActiveTools(): SessionExecutionController['activeTools'];
9202
9443
  cancelQueue(): void;
9203
- executeCommand(name: string, args: string, source?: TCommandInvocationSource$1, originDriverId?: TDriverId): Promise<ICommandResult$1 | null>;
9444
+ executeCommand(name: string, args: string, source?: TCommandInvocationSource$1, originDriverId?: TDriverId, locality?: TCommandSurfaceLocality$1): Promise<ICommandResult$1 | null>;
9204
9445
  executeModelCommand(name: string, args: string): Promise<ICommandResult$1 | null>;
9205
9446
  getSessionUsage(): readonly ISessionUsageRecord[];
9206
9447
  /** ARCH-029 TC-08: one replay-validation path with no fallback branch. */
9207
9448
  validateCurrentSessionReplayLog(): ICommandSessionReplayValidationReport;
9208
9449
  getCommandInvocationSource(): TCommandInvocationSource$1;
9450
+ getCommandSurfaceLocality(): TCommandSurfaceLocality$1;
9209
9451
  executeSkillCommandByName(name: string, args: string, request: ICommandSkillActivationRequest): Promise<ICommandResult$1 | null>;
9210
9452
  listCommands(): ICommandListEntry$1[];
9211
9453
  listSkills(): ICommandSkillListEntry[];
@@ -9219,6 +9461,8 @@ declare abstract class InteractiveSessionBase {
9219
9461
  compactContext(instructions?: string): Promise<void>;
9220
9462
  getFullHistory(): IHistoryEntry[];
9221
9463
  getMessages(): TUniversalMessage[];
9464
+ /** #3288 §2: `getMessages()`'s chat entries, projected for a reload/reconnect/resume replay. */
9465
+ getMessagesDisplay(): IHistoryDisplaySegment[];
9222
9466
  listEditCheckpoints(): IEditCheckpointSummary[];
9223
9467
  inspectEditCheckpoint(checkpointId: string): IEditCheckpointInspection;
9224
9468
  restoreEditCheckpoint(checkpointId: string): Promise<IEditCheckpointRestoreResult>;
@@ -9243,6 +9487,19 @@ declare abstract class InteractiveSessionBase {
9243
9487
  getBackgroundJobGroup(groupId: string): IBackgroundJobGroupState$1 | undefined;
9244
9488
  waitBackgroundJobGroup(groupId: string): Promise<IBackgroundJobGroupState$1>;
9245
9489
  getExecutionWorkspaceSnapshot(options?: IExecutionWorkspaceSnapshotOptions): IExecutionWorkspaceSnapshot$1;
9490
+ /**
9491
+ * #3288 §1: this session's self-paced loops, summarized for the execution workspace. Overridden
9492
+ * by {@link InteractiveSession} (the only subclass with self-paced loops at all); the default
9493
+ * here keeps a hypothetical other subclass working with none, rather than requiring one.
9494
+ */
9495
+ protected getSelfPacedLoopWorkspaceSummaries(): readonly IExecutionSelfPacedLoopSummary[];
9496
+ /**
9497
+ * #3288 §1: a single self-paced loop's own durable state, for its detail page (`readWorkspaceDetail`
9498
+ * — its entry has no `IBackgroundTaskState` of its own to read). Overridden by
9499
+ * {@link InteractiveSession}; the default here keeps a hypothetical other subclass working with
9500
+ * none, matching {@link getSelfPacedLoopWorkspaceSummaries}.
9501
+ */
9502
+ protected getSelfPacedLoopDetail(_loopId: string): ISessionLoopState | undefined;
9246
9503
  listExecutionWorkspaceEntries(filter?: IExecutionWorkspaceFilter): IExecutionWorkspaceEntry[];
9247
9504
  getExecutionWorkspaceEntry(entryId: string): IExecutionWorkspaceEntry | undefined;
9248
9505
  readExecutionWorkspaceDetail(entryId: string, cursor?: IExecutionDetailCursor): Promise<IExecutionDetailPage>;
@@ -9250,7 +9507,10 @@ declare abstract class InteractiveSessionBase {
9250
9507
  listAgentDefinitions(): Array<{
9251
9508
  name: string;
9252
9509
  description: string;
9510
+ definedIn: string;
9253
9511
  }>;
9512
+ getDefaultAgentType(): string;
9513
+ setDefaultAgentType(agentType: string): void;
9254
9514
  listAgentJobs(): ISubagentJobState[];
9255
9515
  spawnAgentJob(input: ISpawnAgentJobInput): Promise<ISubagentJobState>;
9256
9516
  waitAgentJob(taskId: string): Promise<ISubagentJobResult>;
@@ -9284,7 +9544,7 @@ interface IInteractiveSessionShutdownOptions {
9284
9544
  reason?: TSessionEndReason;
9285
9545
  message?: string;
9286
9546
  }
9287
- declare class InteractiveSession extends InteractiveSessionBase implements ISession, IAgentJobHostContext, IInteractiveSession$1, ICommandHostContext {
9547
+ declare class InteractiveSession extends InteractiveSessionBase implements ISession, IAgentJobHostContext, IInteractiveSession$1, ICommandHostContext, ISessionProjectRead {
9288
9548
  private session;
9289
9549
  private readonly listeners;
9290
9550
  private initialized;
@@ -9340,11 +9600,16 @@ declare class InteractiveSession extends InteractiveSessionBase implements ISess
9340
9600
  private providerDefinitions;
9341
9601
  private activeOutputStyleId;
9342
9602
  private orgPolicy;
9603
+ /** #3282 §3 — see the option doc comment on `IInteractiveSessionStandardOptions.setupRequired`. */
9604
+ private setupRequired;
9343
9605
  /** The model fallback chain the session started with, re-read for each primary a switch picks. */
9344
9606
  private modelFallback?;
9345
9607
  protected readonly bgTracker: SessionBackgroundTaskTracker;
9346
9608
  protected readonly histTracker: SessionHistoryTracker;
9347
9609
  protected readonly skillRouter: SessionSkillRouter;
9610
+ /** The skills and commands of the bundle plugins this session loaded when it was built. */
9611
+ private pluginSkills;
9612
+ private readonly loadPluginSkills;
9348
9613
  protected readonly execCtrl: SessionExecutionController;
9349
9614
  private readonly stoppedWakeTaskIds;
9350
9615
  private readonly sessionLoopExpiryTimers;
@@ -9391,6 +9656,25 @@ declare class InteractiveSession extends InteractiveSessionBase implements ISess
9391
9656
  * split-brain).
9392
9657
  */
9393
9658
  getMemoryStore(): IMemoryStore;
9659
+ /**
9660
+ * #3282 §4c — the Project panel's "Changes" section. The SAME reader `/git status` runs
9661
+ * (`readProjectGitStatus`, `agent-framework/src/git`), over this session's own `cwd` — a
9662
+ * `not-a-repository` result is the panel's one plain sentence, never a thrown error.
9663
+ */
9664
+ readProjectStatus(): Promise<TProjectStatusRead>;
9665
+ /**
9666
+ * #3282 §4c — the Project panel's "File diff" section, for one file `readProjectStatus` reported.
9667
+ * `readProjectGitDiff` checks workspace containment itself (`isPathInside`, SEC-006) before any git
9668
+ * or filesystem call.
9669
+ */
9670
+ readProjectDiff(path: string): Promise<TProjectDiffRead>;
9671
+ /**
9672
+ * #3282 §4c — the Project panel's "Memory" section: the SAME store `/memory show` reads
9673
+ * (`getMemoryStore()`), read-only. `getMemoryStore()` throwing (memory off by default, or
9674
+ * unavailable on this host — `WorkspaceAuthorityRequiredError`) becomes the panel's plain message,
9675
+ * never a thrown error — the same fix `executeMemoryCommand` needed for the red toast.
9676
+ */
9677
+ readProjectMemory(): Promise<TProjectMemoryRead>;
9394
9678
  get sessionId(): string;
9395
9679
  on<E extends TInteractiveEventName$1>(event: E, handler: IInteractiveSessionEvents$1[E]): void;
9396
9680
  off<E extends TInteractiveEventName$1>(event: E, handler: IInteractiveSessionEvents$1[E]): void;
@@ -9424,6 +9708,8 @@ declare class InteractiveSession extends InteractiveSessionBase implements ISess
9424
9708
  editSchedule(taskId: string, patch: Parameters<InteractiveSessionBase['editSchedule']>[1]): Promise<void>;
9425
9709
  /** Session-owned self-paced loops remain addressable after a one-shot timer has completed. */
9426
9710
  listSelfPacedLoops(): readonly ISessionLoopState[];
9711
+ protected getSelfPacedLoopWorkspaceSummaries(): readonly IExecutionSelfPacedLoopSummary[];
9712
+ protected getSelfPacedLoopDetail(loopId: string): ISessionLoopState | undefined;
9427
9713
  createSelfPacedLoop(instruction: string, options?: {
9428
9714
  useDefaultPrompt?: boolean;
9429
9715
  }): Promise<ISessionLoopState>;
@@ -9531,6 +9817,19 @@ declare class InteractiveSession extends InteractiveSessionBase implements ISess
9531
9817
  getName(): string | undefined;
9532
9818
  /** The one status read every client renders beside the conversation (#3186). */
9533
9819
  getStatusSnapshot(): ISessionStatusSnapshot;
9820
+ /**
9821
+ * The models a client's model menu may switch to (#3282 §2), grouped by configured provider
9822
+ * profile. Reads the same merged settings and `providerDefinitions` `/provider switch` and
9823
+ * `/model` already read, so the GUI's list and what `/model <id>` accepts never drift apart.
9824
+ */
9825
+ listModels(): IModelListSnapshot;
9826
+ /**
9827
+ * #3282 §3 — {@link ICommandHostSetupState}: whether THIS session is still running the placeholder
9828
+ * provider. `/provider add` reads this (never settings) to decide hot-swap vs. restart, because a
9829
+ * settings-inferred "no `currentProvider`" is also true of an ordinary env-default session that was
9830
+ * never in setup mode.
9831
+ */
9832
+ isSetupRequired(): boolean;
9534
9833
  attachTransport(transport: ITransportAdapter<IInteractiveSession$1>): void;
9535
9834
  setName(name: string): void;
9536
9835
  private getBackgroundTaskManager;
@@ -9579,7 +9878,7 @@ declare class InteractiveSession extends InteractiveSessionBase implements ISess
9579
9878
  private switchProvider;
9580
9879
  /** CMD-004: after the command runs, the HOST applies its host actions via
9581
9880
  * {@link applyCommandHostActions} and emits requester-routed `ui_intent` events. */
9582
- executeCommand(name: string, args: string, source?: TCommandInvocationSource$1, originDriverId?: TDriverId): Promise<ICommandResult$1 | null>;
9881
+ executeCommand(name: string, args: string, source?: TCommandInvocationSource$1, originDriverId?: TDriverId, locality?: TCommandSurfaceLocality$1): Promise<ICommandResult$1 | null>;
9583
9882
  }
9584
9883
  //#endregion
9585
9884
  //#region src/interactive/session-naming.d.ts
@@ -9650,6 +9949,22 @@ declare class PeerMessageIngress {
9650
9949
  receive(ingress: IPeerMessageIngress): Promise<IIngressResult>;
9651
9950
  }
9652
9951
  //#endregion
9952
+ //#region src/interactive/interactive-session-rename.d.ts
9953
+ /** Thrown when a session exists on disk in a form this build cannot read, so a rename cannot land. */
9954
+ declare class SessionRenameUnavailableError extends Error {
9955
+ readonly sessionId: string;
9956
+ readonly outcome: 'corrupt' | 'unsupported';
9957
+ constructor(sessionId: string, outcome: 'corrupt' | 'unsupported');
9958
+ }
9959
+ /**
9960
+ * Persist a new name onto the stored record.
9961
+ *
9962
+ * `missing` is not an error: a session with nothing saved yet is renamed in memory and written by
9963
+ * the next persist. `corrupt` and `unsupported` are — the record is there, this build cannot read
9964
+ * it, and reporting nothing is what made a rename appear to succeed while changing nothing on disk.
9965
+ */
9966
+ declare function persistSessionRename(sessionStore: IInteractiveSessionStore, sessionId: string, name: string): void;
9967
+ //#endregion
9653
9968
  //#region src/interaction/InteractiveRuntime.d.ts
9654
9969
  interface IInteractiveRuntime {
9655
9970
  start(): Promise<void>;
@@ -9677,5 +9992,5 @@ interface IInteractiveRuntimeOptions {
9677
9992
  type IInteractiveRuntimeTestOptions = Omit<IInteractiveRuntimeOptions, 'provider' | 'cwd'>;
9678
9993
  declare function createInteractiveRuntime(options: IInteractiveRuntimeOptions): IInteractiveRuntime;
9679
9994
  //#endregion
9680
- export { TInstalledPluginsRegistry as $, ICommandHostMemory as $a, createLineDetailPage as $c, INodeHostSettingsSource as $i, COST_COMMAND_DESCRIPTION as $n, IPromptFileReferenceHistoryData as $o, resolvePermissionModeAdapter as $r, createNodeHostSessionStore as $s, IReversibleToolSafetyContext as $t, createPromptFileReferenceHistoryEntry as A, buildProviderProfile as Aa, TWorkspaceProjectMutationDecision as Ac, resolveActiveProvider as Ai, IEditCheckpointFileInspection as Al, TSandboxSettings as An, buildGoalContinuationPrompt as Ao, applyStatusLineSettings as Ar, ICommandSandboxAdapter as As, storeAgentToolDeps as At, ISkillActivationHistoryData as B, ISystemCommand as Ba, IAgentJobHostContext as Bc, ISettingsDocumentStore as Bi, ICapabilityDescriptor as Bl, listCommandUsedMemoryReferences as Bn, extractGoalSignal as Bo, PERMISSION_MODE_COMMAND_DESCRIPTION as Br, TRemoteControlStatus as Bs, IToolCallHandoffProvenance as Bt, sandboxApprovalFor as C, IProviderCommandSettingsAdapter as Ca, IWorkspaceTrustCause as Cc, createProviderFromSettings as Ci, ICommandSessionReplayValidationReport as Cl, TSkillSkipReason as Cn, IAppendMemoryResult as Co, TAppearanceSettingsPatch as Cr, ICommandOutputStyleRegistryAdapter as Cs, TKnownMarketplacesRegistry as Ct, resolvePromptFileReferences as D, IProviderSetupInput as Da, TWorkspaceContributionKind as Dc, mergeProviders as Di, TAutoCompactThresholdSource as Dl, ILoadContextOptions as Dn, MEMORY_INDEX_MAX_LINES as Do, DEFAULT_STATUS_LINE_COMMAND_SETTINGS as Dr, ICommandPickerAdapter as Ds, CommandRegistry as Dt, resolvePromptFileReferencePaths as E, IProviderSettingsBuildOptions as Ea, IWorkspaceTrustStoreSnapshot as Ec, resolveEnvDefaultProvider as Ei, IUnknownCommandModuleName as El, createWorkspaceProjectContributionSource as En, MEMORY_INDEX_MAX_BYTES as Eo, readAppearanceSettings as Er, ICommandPermissionRulesAdapter as Es, createBuiltinCommandModule as Et, TInteractivePermissionHandler as F, upsertProviderProfile as Fa, TWorkspaceTrustState as Fc, applyProviderConfiguration as Fi, IEditCheckpointRecorder as Fl, MEMORY_COMMAND_USAGE as Fn, DEFAULT_GOAL_NO_PROGRESS_LIMIT as Fo, applyPresetToSession as Fr, IHandoffProgress as Fs, substituteVariables as Ft, executeSkill as G, ICommandHostAgentJobs as Ga, MonitorCommandRefusedError as Gc, updateModelInSettings as Gi, TEffortDisposition as Gl, forkCommandEditCheckpoint as Gn, IContextReferenceUpsertResult as Go, formatCommandPermissionsMessage as Gr, IAdvisorStatus as Gs, ISubagentParentContext as Gt, IForkExecutionOptions as H, TSystemCommandLifecycle as Ha, IAgentJobMonitors as Hc, TSettingsScope as Hi, IProviderErrorGuidance as Hl, REWIND_COMMAND_ARGUMENT_HINT as Hn, IContextReferenceClearResult as Ho, TPermissionRuleKind as Hr, ADVISOR_OFF as Hs, TSubagentRunnerFactory as Ht, TPermissionResultValue$1 as I, validateProviderProfile as Ia, IOutputStylePrompt as Ic, applyProviderSwitch as Ii, IEditCheckpointRestoreResult as Il, buildMemoryCommandSubcommands as In, GoalController as Io, IPermissionRuleGroup as Ir, IHandoffStaysBehind as Is, ILivePromptTracePort as It, SystemCommandExecutor as J, ICommandHostCheckpoints as Ja, ICreateExecutionWorkspaceTaskSpawnerOptions as Jc, IWorkspaceProjectSettingsSource as Ji, parseModelEffort as Jl, listCommandEditCheckpoints as Jn, listActiveContextReferences as Jo, isPermissionMode as Jr, parseAdvisorSpec as Js, TSubagentSuffix as Jt, findUnknownModuleNames as K, ICommandHostBackgroundTasks as Ka, IBackgroundTaskRunner$1 as Kc, writeSettings as Ki, TEffortSelection as Kl, inspectCommandEditCheckpoint as Kn, clearContextReferences as Ko, formatInvalidPermissionModeMessage as Kr, ICommandAdvisorAdapter as Ks, createSubagentSession as Kt, IPromptHistoryOptions as L, ICommandModule as La, IPresetApplicationOptions as Lc, resolveProviderSettingsWriteTarget as Li, IEditCheckpointSummary as Ll, createCommandMemoryStores as Ln, IGoalSignal as Lo, IPermissionsCommandState as Lr, ILinkedDeviceSummary as Ls, ICreateSessionOptions as Lt, hasBlockingPromptFileReferenceDiagnostics as M, deleteProviderProfile as Ma, TWorkspaceProjectSettingsWriteDecision as Mc, IActiveModelChangeResult as Mi, IEditCheckpointInspection as Ml, createSystemCommands as Mn, GOAL_SIGNAL_TOOL_NAME as Mo, isStatusLineCommandSettingsPatch as Mr, ICommandSettingsAdapter as Ms, ISkillPromptContext as Mt, toPromptFileReferenceRecords as N, mergeProviderPatch as Na, TWorkspaceProjectStateDirectories as Nc, IProviderSwitchOptions as Ni, IEditCheckpointInspectionPlan as Nl, MEMORY_COMMAND_ARGUMENT_HINT as Nn, createGoalStatusTool as No, readStatusLineSettings as Nr, ICommandSettingsDocument as Ns, TShellExecFn as Nt, parsePromptFileReferences as O, IProviderSetupPatch as Oa, TWorkspaceProjectAccess as Oc, mergeSettings as Oi, ICommandResult$1 as Ol, IResolvedConfig as On, ProjectMemoryStore as Oo, STATUSLINE_COMMAND_ARGUMENT_HINT as Or, ICommandProcessAdapter as Os, createAgentTool as Ot, IExecutionResult$2 as P, setCurrentProvider as Pa, TWorkspaceProjectStateNamespace as Pc, applyActiveModelChange as Pi, IEditCheckpointManifest as Pl, MEMORY_COMMAND_DESCRIPTION as Pn, DEFAULT_GOAL_MAX_ITERATIONS as Po, IPresetApplicationResult as Pr, ICommandWorkspaceAdapter as Ps, preprocessShellCommands as Pt, IInstalledPluginRecord as Q, ICommandHostGoal as Qa, createExecutionWorkspaceTaskSpawner as Qc, readSettingsSourceText as Qi, CLEAR_COMMAND_DESCRIPTION as Qn, IPromptFileReferenceDiagnostic as Qo, readCommandPermissionsState as Qr, IInteractiveSessionStore$1 as Qs, IReversibleExecutionOptions as Qt, IRemoteCommandPolicy as R, TCommandModuleSessionRequirement as Ra, IAgentJobDispatch as Rc, createWorkspaceProjectSettingsStore as Ri, IEditCheckpointTurnInput as Rl, hasSensitiveCommandMemoryContent as Rn, IGoalStartOptions as Ro, PERMISSIONS_COMMAND_DESCRIPTION as Rr, IPermissionRuleLayer as Rs, TSessionResponseFormat as Rt, resolveSubagentLogDir as S, IProviderCommandModuleOptions as Sa, IWorkspaceProjectStateStorage as Sc, ProviderConfigError as Si, ICommandHostNoCapability as Sl, SkillCommandSource as Sn, IAppendMemoryInput as So, IAppearanceSettings as Sr, ICommandMCPSourceProblem as Ss, IMarketplacePluginEntry as St, TSettingsMergeRule as T, IProviderProfileSettings as Ta, IWorkspaceTrustStore as Tc, readProviderSettings as Ti, IModelReapplyOptions as Tl, IContributionSource as Tn, IStartupMemory as To, isAppearanceSettingsPatch as Tr, ICommandPermissionModeAdapter as Ts, BuiltinCommandSource as Tt, ISkillExecutionCallbacks as U, TSystemCommandSemanticRole as Ua, IAgentJobSchedules as Uc, deleteSettings as Ui, IModelEffortInputs as Ul, REWIND_COMMAND_DESCRIPTION as Un, IContextReferenceInventoryLimits as Uo, VALID_PERMISSION_MODES as Ur, IAdvisorSetResult as Us, createInProcessSubagentRunner as Ut, createSkillExecutionPort as V, ISystemCommandSemanticRoles as Va, IAgentJobLogs as Vc, TSettingsData as Vi, IAgentDefinition as Vl, recordCommandMemoryEvent as Vn, IContextReferenceAddResult as Vo, RUNTIME_RULE_SOURCE as Vr, TSandboxCommandMode as Vs, IInProcessSubagentRunnerDeps as Vt, ISkillExecutionResult as W, ICommandHostAdapterAccess as Wa, MONITOR_SHELL_TOOL as Wc, readSettings as Wi, IModelEffortResolution as Wl, buildRewindCommandSubcommands as Wn, IContextReferenceRemoveResult as Wo, buildPermissionModeSubcommands as Wr, IAdvisorSpec as Ws, ISubagentOptions as Wt, BundlePluginInstaller as X, ICommandHostContextReferences as Xa, ISpawnAgentTaskRequest as Xc, TSettingsSource as Xi, rollbackCommandEditCheckpoint as Xn, toContextReferenceRecords as Xo, parsePermissionModeArgument as Xr, IHostToolResultSpillStore as Xs, getForkWorkerSuffix as Xt, PluginCommandSource as Y, ICommandHostContext as Ya, IExecutionWorkspaceTaskSpawner as Yc, TProjectSettingsScope as Yi, resolveModelEffort as Yl, restoreCommandEditCheckpoint as Yn, removeContextReference as Yo, listCommandSessionAllowedTools as Yr, resolveStartupAdvisorSpec as Ys, assembleSubagentPrompt as Yt, IBundlePluginInstallerOptions as Z, ICommandHostContextWindow as Za, ISpawnProcessTaskRequest as Zc, createWorkspaceProjectSettingsSources as Zi, switchCommandEditCheckpointBranch as Zn, upsertContextReference as Zo, readCommandPermissionMode as Zr, IInteractiveSessionRecord$1 as Zs, getSubagentSuffix as Zt, IExternalEventSourceOptions as _, readCommandContextState as _a, IWorkspaceIdentityResolver as _c, parseCommandBackgroundLogCursor as _i, ICommandSessionIdentity as _l, listFrameworkProjectContributionPaths as _n, IMemoryExtractionInput as _o, buildPluginCommandSubcommands as _r, ICommandMCPOAuthLoginRequest as _s, IPluginSettings as _t, PeerMessageIngress as a, probeProviderProfile as aa, listResumableSessionSummaries as ac, TRecommendedResponseLanguage as ai, EXECUTION_ORIGIN_METADATA_KEYS as al, TReversibleSideEffect as an, ICommandHostWorkspace as ao, VALIDATE_SESSION_COMMAND_DESCRIPTION as ar, TPromptFileReferenceDiagnosticCode as as, BundlePluginLoader as at, createExternalEventGrantHistory as b, setCommandAutoCompactThreshold as ba, IWorkspaceProjectReader as bc, formatCommandHelpMessage as bi, ICommandSessionPreset as bl, ISkillSourceInspection as bn, TMemoryCandidateStatus as bo, APPEARANCE_SETTINGS_KEYS as br, ICommandMCPOAuthRedirectPrompt as bs, IMarketplaceClientOptions as bt, IInteractiveSessionShutdownOptions as c, DEFAULT_AUTO_COMPACT_THRESHOLD as ca, resolveSessionIdByIdOrName as cc, parseLanguageArgument as ci, createExecutionOriginMetadata as cl, IPromptExecutorOptions as cn, IMemoryCurationQueue as co, createSessionRenameHostAction as cr, ICommandCostBudget as cs, IBundlePluginInspection as ct, ISessionRecordRestoreResult as d, addCommandContextReference as da, WorkspaceSessionLogSource as dc, buildBackgroundCommandSubcommands as di, BackgroundJobOrchestrator as dl, TProviderFactory as dn, IMemoryWriter as do, parseSessionNameArgument as dr, ICommandExternalEventGrant as ds, IBundlePluginMcpServer as dt, createNodeHostSettingsSource as ea, createNodeToolResultSpillStore as ec, retryCommandPermissionDenial as ei, createMainThreadDetailPage as el, IReversibleToolSafetyInput as en, ICommandHostPlan as eo, EXIT_COMMAND_DESCRIPTION as er, IPromptFileReferenceLimits as es, MarketplaceClient as et, restoreSessionRecordIntoSession as f, clearCommandContextReferences as fa, IRestrictedWorkspaceProjectAccess as fc, cancelCommandBackgroundTask as fi, IBackgroundJobOrchestratorOptions as fl, AgentExecutor as fn, IPerTurnRecallConfig as fo, readCommandSessionInfo as fr, ICommandExternalEventsAdapter as fs, IBundlePluginSkip as ft, IExternalEventSource as g, readAutoCompactThresholdSource as ga, IWorkspaceIdentity as gc, listCommandBackgroundTasks as gi, ICommandSessionHistory as gl, IProjectContributionPath as gn, IMemoryCandidate as go, RELOAD_PLUGINS_COMMAND_DESCRIPTION as gr, ICommandMCPActivationSummary as gs, TEnabledPlugins as gt, ExternalEventIngress as h, readAutoCompactThreshold as ha, IWorkspaceDirectoryEntry as hc, formatCommandBackgroundTaskList as hi, ICommandSessionContextWindow as hl, TSessionFactory as hn, IAutomaticMemoryConfig as ho, PLUGIN_COMMAND_DESCRIPTION as hr, ICommandMCPActivationAdapter as hs, TBundlePluginSkipReason as ht, IInteractiveRuntime as i, checkSettingsDocument as ia, isSafeSessionId as ic, RECOMMENDED_RESPONSE_LANGUAGES as ii, createExecutionWorkspaceSnapshot as il, TReversibleSafetyStatus as in, ICommandHostUserInteraction as io, RESUME_COMMAND_DESCRIPTION as ir, IResolvedPromptFileReferences as is, loadHostBundlePluginsFromScopes as it, formatPromptFileReferenceDiagnostics as j, buildProviderSetupPatch as ja, TWorkspaceProjectSettingsTarget as jc, IActiveModelChangeOptions as ji, IEditCheckpointFileRecord as jl, TSettings as jn, buildGoalStartPrompt as jo, buildStatusLineCommandSubcommands as jr, ICommandSandboxStatus as js, IAgentToolDeps as jt, buildPromptWithFileReferences as k, TProviderSettingsDocument as ka, TWorkspaceProjectAuthorityCandidate as kc, readMergedProviderSettingsFromSources as ki, IOrgPolicy as kl, TEnvResolvedSettings as kn, isMemoryType as ko, STATUSLINE_COMMAND_DESCRIPTION as kr, ICommandRemoteControlAdapter as ks, retrieveAgentToolDeps as kt, InteractiveSession as l, ICompactContextResult as la, WorkspaceProjectSessionStore as lc, BACKGROUND_COMMAND_DESCRIPTION as li, createMainThreadExecutionEntryId as ll, IPromptProvider as ln, IMemoryRecaller as lo, createShowSessionPickerIntent as lr, ICommandCostBudgetAdapter as ls, IBundlePluginManifest as lt, ExternalEventGrantHistory as m, listCommandContextReferences as ma, IWorkspaceAncestorTextEntry as mc, formatCommandBackgroundTask as mi, ISessionUsageRecord as ml, IAgentSession as mn, ISemanticMemoryQueryResult as mo, PLUGIN_COMMAND_ARGUMENT_HINT as mr, ICommandHostAdapters as ms, ILoadedBundlePlugin as mt, IInteractiveRuntimeTestOptions as n, TSettingsCheck as na, createUserPromptHistoryFile as nc, LANGUAGE_COMMAND_ARGUMENT_HINT as ni, TExecutionAttachOutcome as nl, TReversibleExecutionIsolation as nn, ICommandHostSessionAccess as no, RENAME_COMMAND_DESCRIPTION as nr, IPromptFileReferenceToken as ns, createHostBundlePluginLoader as nt, IGenerateSessionNameOptions as o, testProviderProfileCommand as oa, listUnreadableSessions as oc, buildLanguageCommandSubcommands as oi, createBackgroundGroupExecutionEntryId as ol, evaluateReversibleToolSafety as on, IDurableMemoryReader as oo, clearConversationHistory as or, wrapEditCheckpointTools as os, IBundlePluginFeatures as ot, TInteractiveSessionOptions as p, compactCommandContext as pa, ITrustedWorkspaceProjectAccess as pc, closeCommandBackgroundTask as pi, summarizeBackgroundJobGroup as pl, IAgentExecutorOptions as pn, ISemanticMemoryAdapter as po, validateCommandSessionReplayLog as pr, ICommandHandoffAdapter as ps, IBundleSkill as pt, selectCommandModules as q, ICommandHostCatalog as qa, IBackgroundTaskSpawnerGroupRequest as qc, IProjectSettingsPath as qi, TEffortSource as ql, listCommandEditCheckpointBranches as qn, createContextReferenceItem as qo, groupPermissionRulesBySource as qr, formatAdvisorSpec as qs, ISubagentPromptOptions as qt, createInteractiveRuntime as r, checkNodeHostSettingsFile as ra, createUserSessionStore as rc, LANGUAGE_COMMAND_DESCRIPTION as ri, resolveExecutionAttach as rl, TReversibleRollbackLayer as rn, ICommandHostTerminalHandoff as ro, RENAME_COMMAND_USAGE as rr, IResolvedPromptFileReference as rs, loadHostBundlePluginInspectionFromScopes as rt, generateSessionName as s, AUTO_COMPACT_THRESHOLD_SETTINGS_KEY as sa, resolveLatestSessionId as sc, formatLanguageUsageMessage as si, createBackgroundTaskExecutionEntryId as sl, wrapReversibleExecutionTools as sn, IMemoryBudget as so, createSessionExitHostAction as sr, EditCheckpointStore as ss, IBundlePluginHookIssue as st, IInteractiveRuntimeOptions as t, THostSettingsScope as ta, createProjectSessionStore as tc, writeCommandPermissionMode as ti, IResolveExecutionAttachInput as tl, IReversibleToolSafetyReport as tn, ICommandHostPresetApplication as to, ICommandSessionInfo as tr, IPromptFileReferenceResolveOptions as ts, IHostBundlePluginLoaderOptions as tt, IInteractiveSession$1 as u, TAutoCompactThreshold$2 as ua, WorkspaceSessionLogSink as uc, BACKGROUND_COMMAND_USAGE as ui, parseExecutionWorkspaceEntryId as ul, PromptExecutor as un, IMemoryStore as uo, formatCommandSessionReplayValidationReport as ur, ICommandEffortAdapter as us, IBundlePluginMcpFault as ut, TExternalEventReceipt as v, removeCommandContextReference as va, IWorkspaceProjectAuthority as vc, readCommandBackgroundTaskLog as vi, ICommandSessionModel as vl, ISkillRootDescriptor as vn, IMemoryPendingRecord as vo, createShowPluginManagerIntent as vr, ICommandMCPOAuthLoginResult as vs, NodeHostPluginSettingsStore as vt, IHookDefinitionSource as w, ILegacyProviderSettings as wa, IWorkspaceTrustGrant as wc, readMergedProviderSettings as wi, ICommandSkillListEntry as wl, inspectSkillSources as wn, IProjectMemorySummary as wo, applyAppearanceSettings as wr, ICommandOutputStyleSummary as ws, TMarketplaceSource as wt, createSubagentLogger as x, writeAutoCompactThresholdSetting as xa, IWorkspaceProjectSettingsWriter as xc, IReadProviderSettingsOptions as xi, ICommandSessionRuntime as xl, ISkillSourceSkip as xn, TMemoryPolicyMode as xo, DEFAULT_APPEARANCE_SETTINGS as xr, ICommandMCPOAuthStatus as xs, IMarketplaceManifest as xt, TExternalEventSettlement as y, resetAutoCompactThresholdSetting as ya, IWorkspaceProjectMutation as yc, HELP_COMMAND_DESCRIPTION as yi, ICommandSessionPermissions as yl, ISkillRootInspection as yn, IMemoryRetrievalResult as yo, resolvePluginCommandAdapter as yr, ICommandMCPOAuthLogoutResult as ys, IKnownMarketplaceEntry as yt, createDefaultRemoteCommandPolicy as z, DuplicateSystemCommandSemanticRoleError as za, IAgentJobGroups as zc, createNodeHostSettingsStore as zi, TEditCheckpointFileRestoreAction as zl, isCommandMemoryType as zn, TGoalDecision as zo, PERMISSION_MODE_ARGUMENT_HINT as zr, IWorkspaceMoveRequest as zs, IToolCallHandoffPolicy as zt };
9681
- //# sourceMappingURL=createInteractiveRuntime-DoZCRxLM.d.cts.map
9995
+ export { IBundlePluginInstallerOptions as $, ICommandHostBackgroundTasks as $a, IAgentJobLogs as $c, writeSettings as $i, DEFAULT_AGENT_DEFINED_IN as $l, switchCommandEditCheckpointBranch as $n, IContextReferenceRemoveResult as $o, parsePermissionModeArgument as $r, IAdvisorSetResult as $s, getSubagentSuffix as $t, parsePromptFileReferences as A, IProviderCommandSettingsAdapter as Aa, IWorkspaceProjectAuthority as Ac, createProviderFromSettings as Ai, ICommandSessionModel as Al, IResolvedConfig as An, IAppendMemoryInput as Ao, STATUSLINE_COMMAND_ARGUMENT_HINT as Ar, ICommandMCPOAuthStatus as As, createAgentTool as At, IRemoteCommandPolicy as B, mergeProviderPatch as Ba, TWorkspaceProjectAccess as Bc, IProviderSwitchOptions as Bi, ICommandResult$1 as Bl, hasSensitiveCommandMemoryContent as Bn, GOAL_SIGNAL_TOOL_NAME as Bo, PERMISSIONS_COMMAND_DESCRIPTION as Br, ICommandSandboxStatus as Bs, TSessionResponseFormat as Bt, createSubagentLogger as C, readAutoCompactThresholdSource as Ca, WorkspaceSessionLogSource as Cc, formatCommandHelpMessage as Ci, BackgroundJobOrchestrator as Cl, ISkillSourceSkip as Cn, IAutomaticMemoryConfig as Co, DEFAULT_APPEARANCE_SETTINGS as Cr, ICommandHostAdapters as Cs, IMarketplaceManifest as Ct, TSettingsMergeRule as D, setCommandAutoCompactThreshold as Da, IWorkspaceDirectoryEntry as Dc, resolveModelListSelection as Di, ICommandSessionContextWindow as Dl, IContributionSource as Dn, IMemoryRetrievalResult as Do, isAppearanceSettingsPatch as Dr, ICommandMCPOAuthLoginResult as Ds, BuiltinCommandSource as Dt, IHookDefinitionSource as E, resetAutoCompactThresholdSetting as Ea, IWorkspaceAncestorTextEntry as Ec, buildModelListSnapshot as Ei, ISessionUsageRecord as El, inspectSkillSources as En, IMemoryPendingRecord as Eo, applyAppearanceSettings as Er, ICommandMCPOAuthLoginRequest as Es, TMarketplaceSource as Et, toPromptFileReferenceRecords as F, IProviderSetupPatch as Fa, IWorkspaceTrustCause as Fc, mergeSettings as Fi, ICommandSessionReplayValidationReport as Fl, MEMORY_COMMAND_ARGUMENT_HINT as Fn, MEMORY_INDEX_MAX_LINES as Fo, readStatusLineSettings as Fr, ICommandPermissionRulesAdapter as Fs, TShellExecFn as Ft, ISkillExecutionCallbacks as G, TCommandModuleSessionRequirement as Ga, TWorkspaceProjectStateDirectories as Gc, createWorkspaceProjectSettingsStore as Gi, IEditCheckpointInspectionPlan as Gl, REWIND_COMMAND_DESCRIPTION as Gn, IGoalSignal as Go, TPermissionRuleKind as Gr, IHandoffStaysBehind as Gs, createInProcessSubagentRunner as Gt, ISkillActivationHistoryData as H, upsertProviderProfile as Ha, TWorkspaceProjectMutationDecision as Hc, applyProviderConfiguration as Hi, IEditCheckpointFileInspection as Hl, listCommandUsedMemoryReferences as Hn, DEFAULT_GOAL_MAX_ITERATIONS as Ho, PERMISSION_MODE_COMMAND_DESCRIPTION as Hr, ICommandSettingsDocument as Hs, IToolCallHandoffProvenance as Ht, IExecutionResult$2 as I, TProviderSettingsDocument as Ia, IWorkspaceTrustGrant as Ic, readMergedProviderSettingsFromSources as Ii, ICommandSkillListEntry as Il, MEMORY_COMMAND_DESCRIPTION as In, ProjectMemoryStore as Io, IPresetApplicationResult as Ir, ICommandPickerAdapter as Is, preprocessShellCommands as It, findUnknownModuleNames as J, ISystemCommandSemanticRoles as Ja, IOutputStylePrompt as Jc, TSettingsData as Ji, IEditCheckpointRestoreResult as Jl, inspectCommandEditCheckpoint as Jn, extractGoalSignal as Jo, formatCommandPermissionsMessage as Jr, IPermissionRuleRemoval as Js, createSubagentSession as Jt, ISkillExecutionResult as K, DuplicateSystemCommandSemanticRoleError as Ka, TWorkspaceProjectStateNamespace as Kc, createNodeHostSettingsStore as Ki, IEditCheckpointManifest as Kl, buildRewindCommandSubcommands as Kn, IGoalStartOptions as Ko, VALID_PERMISSION_MODES as Kr, ILinkedDeviceSummary as Ks, ISubagentOptions as Kt, TInteractivePermissionHandler as L, buildProviderProfile as La, IWorkspaceTrustStore as Lc, resolveActiveProvider as Li, IModelReapplyOptions as Ll, MEMORY_COMMAND_USAGE as Ln, isMemoryType as Lo, applyPresetToSession as Lr, ICommandProcessAdapter as Ls, substituteVariables as Lt, createPromptFileReferenceHistoryEntry as M, IProviderProfileSettings as Ma, IWorkspaceProjectReader as Mc, readProviderSettings as Mi, ICommandSessionPreset as Ml, TSandboxSettings as Mn, IProjectMemorySummary as Mo, applyStatusLineSettings as Mr, ICommandOutputStyleRegistryAdapter as Ms, storeAgentToolDeps as Mt, formatPromptFileReferenceDiagnostics as N, IProviderSettingsBuildOptions as Na, IWorkspaceProjectSettingsWriter as Nc, resolveEnvDefaultProvider as Ni, ICommandSessionRuntime as Nl, TSettings as Nn, IStartupMemory as No, buildStatusLineCommandSubcommands as Nr, ICommandOutputStyleSummary as Ns, IAgentToolDeps as Nt, resolvePromptFileReferencePaths as O, writeAutoCompactThresholdSetting as Oa, IWorkspaceIdentity as Oc, IReadProviderSettingsOptions as Oi, ICommandSessionHistory as Ol, createWorkspaceProjectContributionSource as On, TMemoryCandidateStatus as Oo, readAppearanceSettings as Or, ICommandMCPOAuthLogoutResult as Os, createBuiltinCommandModule as Ot, hasBlockingPromptFileReferenceDiagnostics as P, IProviderSetupInput as Pa, IWorkspaceProjectStateStorage as Pc, mergeProviders as Pi, ICommandHostNoCapability as Pl, createSystemCommands as Pn, MEMORY_INDEX_MAX_BYTES as Po, isStatusLineCommandSettingsPatch as Pr, ICommandPermissionModeAdapter as Ps, ISkillPromptContext as Pt, BundlePluginInstaller as Q, ICommandHostAgentJobs as Qa, IAgentJobHostContext as Qc, updateModelInSettings as Qi, ICapabilityDescriptor as Ql, rollbackCommandEditCheckpoint as Qn, IContextReferenceInventoryLimits as Qo, listCommandSessionAllowedTools as Qr, ADVISOR_OFF as Qs, getForkWorkerSuffix as Qt, TPermissionResultValue$1 as R, buildProviderSetupPatch as Ra, IWorkspaceTrustStoreSnapshot as Rc, IActiveModelChangeOptions as Ri, IUnknownCommandModuleName as Rl, buildMemoryCommandSubcommands as Rn, buildGoalContinuationPrompt as Ro, IPermissionRuleGroup as Rr, ICommandRemoteControlAdapter as Rs, ILivePromptTracePort as Rt, createExternalEventGrantHistory as S, readAutoCompactThreshold as Sa, WorkspaceSessionLogSink as Sc, HELP_COMMAND_DESCRIPTION as Si, parseExecutionWorkspaceEntryId as Sl, ISkillSourceInspection as Sn, ISemanticMemoryQueryResult as So, APPEARANCE_SETTINGS_KEYS as Sr, ICommandHandoffAdapter as Ss, IMarketplaceClientOptions as St, sandboxApprovalFor as T, removeCommandContextReference as Ta, ITrustedWorkspaceProjectAccess as Tc, IModelListSelection as Ti, summarizeBackgroundJobGroup as Tl, TSkillSkipReason as Tn, IMemoryExtractionInput as To, TAppearanceSettingsPatch as Tr, ICommandMCPActivationSummary as Ts, TKnownMarketplacesRegistry as Tt, createSkillExecutionPort as U, validateProviderProfile as Ua, TWorkspaceProjectSettingsTarget as Uc, applyProviderSwitch as Ui, IEditCheckpointFileRecord as Ul, recordCommandMemoryEvent as Un, DEFAULT_GOAL_NO_PROGRESS_LIMIT as Uo, PERMISSION_MODE_LABELS as Ur, ICommandWorkspaceAdapter as Us, IInProcessSubagentRunnerDeps as Ut, createDefaultRemoteCommandPolicy as V, setCurrentProvider as Va, TWorkspaceProjectAuthorityCandidate as Vc, applyActiveModelChange as Vi, IOrgPolicy as Vl, isCommandMemoryType as Vn, createGoalStatusTool as Vo, PERMISSION_MODE_ARGUMENT_HINT as Vr, ICommandSettingsAdapter as Vs, IToolCallHandoffPolicy as Vt, IForkExecutionOptions as W, ICommandModule as Wa, TWorkspaceProjectSettingsWriteDecision as Wc, resolveProviderSettingsWriteTarget as Wi, IEditCheckpointInspection as Wl, REWIND_COMMAND_ARGUMENT_HINT as Wn, GoalController as Wo, RUNTIME_RULE_SOURCE as Wr, IHandoffProgress as Ws, TSubagentRunnerFactory as Wt, SystemCommandExecutor as X, TSystemCommandSemanticRole as Xa, IAgentJobDispatch as Xc, deleteSettings as Xi, IEditCheckpointTurnInput as Xl, listCommandEditCheckpoints as Xn, IContextReferenceAddResult as Xo, groupPermissionRulesBySource as Xr, TRemoteControlStatus as Xs, TSubagentSuffix as Xt, selectCommandModules as Y, TSystemCommandLifecycle as Ya, IPresetApplicationOptions as Yc, TSettingsScope as Yi, IEditCheckpointSummary as Yl, listCommandEditCheckpointBranches as Yn, isGoalCancelVerb as Yo, formatInvalidPermissionModeMessage as Yr, IWorkspaceMoveRequest as Ys, ISubagentPromptOptions as Yt, PluginCommandSource as Z, ICommandHostAdapterAccess as Za, IAgentJobGroups as Zc, readSettings as Zi, TEditCheckpointFileRestoreAction as Zl, restoreCommandEditCheckpoint as Zn, IContextReferenceClearResult as Zo, isPermissionMode as Zr, TSandboxCommandMode as Zs, assembleSubagentPrompt as Zt, ExternalEventIngress as _, TAutoCompactThreshold$2 as _a, listUnreadableSessionsForWorkspace as _c, formatCommandBackgroundTask as _i, EXECUTION_ORIGIN_METADATA_KEYS as _l, TSessionFactory as _n, IMemoryRecaller as _o, PLUGIN_COMMAND_DESCRIPTION as _r, ICommandCostBudget as _s, TBundlePluginSkipReason as _t, SessionRenameUnavailableError as a, readSettingsSourceText as aa, resolveStartupAdvisorSpec as ac, LANGUAGE_COMMAND_ARGUMENT_HINT as ai, IBackgroundTaskSpawnerGroupRequest as al, TReversibleRollbackLayer as an, ICommandHostGoal as ao, RENAME_COMMAND_USAGE as ar, toContextReferenceRecords as as, loadHostBundlePluginInspectionFromScopes as at, IModelEffortResolution as au, TExternalEventReceipt as b, compactCommandContext as ba, resolveSessionIdByIdOrName as bc, parseCommandBackgroundLogCursor as bi, createExecutionOriginMetadata as bl, ISkillRootDescriptor as bn, IPerTurnRecallConfig as bo, createShowPluginManagerIntent as br, ICommandExternalEventGrant as bs, NodeHostPluginSettingsStore as bt, IGenerateSessionNameOptions as c, THostSettingsScope as ca, IInteractiveSessionStore$1 as cc, TRecommendedResponseLanguage as ci, ISpawnAgentTaskRequest as cl, evaluateReversibleToolSafety as cn, ICommandHostPresetApplication as co, clearConversationHistory as cr, IPromptFileReferenceHistoryData as cs, IBundlePluginFeatures as ct, TEffortSource as cu, InteractiveSession as d, checkSettingsDocument as da, createProjectSessionStore as dc, parseLanguageArgument as di, createLineDetailPage as dl, IPromptProvider as dn, ICommandHostTerminalHandoff as do, createShowSessionPickerIntent as dr, IPromptFileReferenceToken as ds, IBundlePluginManifest as dt, IProjectSettingsPath as ea, IAdvisorSpec as ec, readCommandPermissionMode as ei, IAgentJobMonitors as el, IReversibleExecutionOptions as en, ICommandHostCatalog as eo, CLEAR_COMMAND_DESCRIPTION as er, IContextReferenceUpsertResult as es, IInstalledPluginRecord as et, DEFAULT_AGENT_TYPE as eu, IInteractiveSession$1 as f, probeProviderProfile as fa, createUserPromptHistoryFile as fc, BACKGROUND_COMMAND_DESCRIPTION as fi, createMainThreadDetailPage as fl, PromptExecutor as fn, ICommandHostUserInteraction as fo, formatCommandSessionReplayValidationReport as fr, IResolvedPromptFileReference as fs, IBundlePluginMcpFault as ft, ExternalEventGrantHistory as g, ICompactContextResult as ga, listUnreadableSessions as gc, closeCommandBackgroundTask as gi, createExecutionWorkspaceSnapshot as gl, IAgentSession as gn, IMemoryCurationQueue as go, PLUGIN_COMMAND_ARGUMENT_HINT as gr, EditCheckpointStore as gs, ILoadedBundlePlugin as gt, TInteractiveSessionOptions as h, DEFAULT_AUTO_COMPACT_THRESHOLD as ha, listResumableSessionSummaries as hc, cancelCommandBackgroundTask as hi, resolveExecutionAttach as hl, IAgentExecutorOptions as hn, IMemoryBudget as ho, validateCommandSessionReplayLog as hr, wrapEditCheckpointTools as hs, IBundleSkill as ht, IInteractiveRuntime as i, createWorkspaceProjectSettingsSources as ia, parseAdvisorSpec as ic, writeCommandPermissionMode as ii, IBackgroundTaskRunner$1 as il, TReversibleExecutionIsolation as in, ICommandHostContextWindow as io, RENAME_COMMAND_DESCRIPTION as ir, removeContextReference as is, createHostBundlePluginLoader as it, IModelEffortInputs as iu, buildPromptWithFileReferences as j, ILegacyProviderSettings as ja, IWorkspaceProjectMutation as jc, readMergedProviderSettings as ji, ICommandSessionPermissions as jl, TEnvResolvedSettings as jn, IAppendMemoryResult as jo, STATUSLINE_COMMAND_DESCRIPTION as jr, ICommandMCPSourceProblem as js, retrieveAgentToolDeps as jt, resolvePromptFileReferences as k, IProviderCommandModuleOptions as ka, IWorkspaceIdentityResolver as kc, ProviderConfigError as ki, ICommandSessionIdentity as kl, ILoadContextOptions as kn, TMemoryPolicyMode as ko, DEFAULT_STATUS_LINE_COMMAND_SETTINGS as kr, ICommandMCPOAuthRedirectPrompt as ks, CommandRegistry as kt, generateSessionName as l, TSettingsCheck as la, createNodeHostSessionStore as lc, buildLanguageCommandSubcommands as li, ISpawnProcessTaskRequest as ll, wrapReversibleExecutionTools as ln, ICommandHostSessionAccess as lo, createSessionExitHostAction as lr, IPromptFileReferenceLimits as ls, IBundlePluginHookIssue as lt, parseModelEffort as lu, restoreSessionRecordIntoSession as m, AUTO_COMPACT_THRESHOLD_SETTINGS_KEY as ma, isSafeSessionId as mc, buildBackgroundCommandSubcommands as mi, TExecutionAttachOutcome as ml, AgentExecutor as mn, IDurableMemoryReader as mo, readCommandSessionInfo as mr, TPromptFileReferenceDiagnosticCode as ms, IBundlePluginSkip as mt, IInteractiveRuntimeTestOptions as n, TProjectSettingsScope as na, ICommandAdvisorAdapter as nc, resolvePermissionModeAdapter as ni, MONITOR_SHELL_TOOL as nl, IReversibleToolSafetyInput as nn, ICommandHostContext as no, EXIT_COMMAND_DESCRIPTION as nr, createContextReferenceItem as ns, MarketplaceClient as nt, IProviderErrorGuidance as nu, persistSessionRename as o, INodeHostSettingsSource as oa, IHostToolResultSpillStore as oc, LANGUAGE_COMMAND_DESCRIPTION as oi, ICreateExecutionWorkspaceTaskSpawnerOptions as ol, TReversibleSafetyStatus as on, ICommandHostMemory as oo, RESUME_COMMAND_DESCRIPTION as or, upsertContextReference as os, loadHostBundlePluginsFromScopes as ot, TEffortDisposition as ou, ISessionRecordRestoreResult as p, testProviderProfileCommand as pa, createUserSessionStore as pc, BACKGROUND_COMMAND_USAGE as pi, IResolveExecutionAttachInput as pl, TProviderFactory as pn, ICommandHostWorkspace as po, parseSessionNameArgument as pr, IResolvedPromptFileReferences as ps, IBundlePluginMcpServer as pt, executeSkill as q, ISystemCommand as qa, TWorkspaceTrustState as qc, ISettingsDocumentStore as qi, IEditCheckpointRecorder as ql, forkCommandEditCheckpoint as qn, TGoalDecision as qo, buildPermissionModeSubcommands as qr, IPermissionRuleLayer as qs, ISubagentParentContext as qt, createInteractiveRuntime as r, TSettingsSource as ra, formatAdvisorSpec as rc, retryCommandPermissionDenial as ri, MonitorCommandRefusedError as rl, IReversibleToolSafetyReport as rn, ICommandHostContextReferences as ro, ICommandSessionInfo as rr, listActiveContextReferences as rs, IHostBundlePluginLoaderOptions as rt, EFFORT_LEVEL_LABELS as ru, PeerMessageIngress as s, createNodeHostSettingsSource as sa, IInteractiveSessionRecord$1 as sc, RECOMMENDED_RESPONSE_LANGUAGES as si, IExecutionWorkspaceTaskSpawner as sl, TReversibleSideEffect as sn, ICommandHostPlan as so, VALIDATE_SESSION_COMMAND_DESCRIPTION as sr, IPromptFileReferenceDiagnostic as ss, BundlePluginLoader as st, TEffortSelection as su, IInteractiveRuntimeOptions as t, IWorkspaceProjectSettingsSource as ta, IAdvisorStatus as tc, readCommandPermissionsState as ti, IAgentJobSchedules as tl, IReversibleToolSafetyContext as tn, ICommandHostCheckpoints as to, COST_COMMAND_DESCRIPTION as tr, clearContextReferences as ts, TInstalledPluginsRegistry as tt, IAgentDefinition as tu, IInteractiveSessionShutdownOptions as u, checkNodeHostSettingsFile as ua, createNodeToolResultSpillStore as uc, formatLanguageUsageMessage as ui, createExecutionWorkspaceTaskSpawner as ul, IPromptExecutorOptions as un, ICommandHostSetupState as uo, createSessionRenameHostAction as ur, IPromptFileReferenceResolveOptions as us, IBundlePluginInspection as ut, resolveModelEffort as uu, IExternalEventSource as v, addCommandContextReference as va, resolveLatestSessionId as vc, formatCommandBackgroundTaskList as vi, createBackgroundGroupExecutionEntryId as vl, IProjectContributionPath as vn, IMemoryStore as vo, RELOAD_PLUGINS_COMMAND_DESCRIPTION as vr, ICommandCostBudgetAdapter as vs, TEnabledPlugins as vt, resolveSubagentLogDir as w, readCommandContextState as wa, IRestrictedWorkspaceProjectAccess as wc, buildProviderProfilesSnapshot as wi, IBackgroundJobOrchestratorOptions as wl, SkillCommandSource as wn, IMemoryCandidate as wo, IAppearanceSettings as wr, ICommandMCPActivationAdapter as ws, IMarketplacePluginEntry as wt, TExternalEventSettlement as x, listCommandContextReferences as xa, WorkspaceProjectSessionStore as xc, readCommandBackgroundTaskLog as xi, createMainThreadExecutionEntryId as xl, ISkillRootInspection as xn, ISemanticMemoryAdapter as xo, resolvePluginCommandAdapter as xr, ICommandExternalEventsAdapter as xs, IKnownMarketplaceEntry as xt, IExternalEventSourceOptions as y, clearCommandContextReferences as ya, resolveReusableEmptySessionId as yc, listCommandBackgroundTasks as yi, createBackgroundTaskExecutionEntryId as yl, listFrameworkProjectContributionPaths as yn, IMemoryWriter as yo, buildPluginCommandSubcommands as yr, ICommandEffortAdapter as ys, IPluginSettings as yt, IPromptHistoryOptions as z, deleteProviderProfile as za, TWorkspaceContributionKind as zc, IActiveModelChangeResult as zi, TAutoCompactThresholdSource as zl, createCommandMemoryStores as zn, buildGoalStartPrompt as zo, IPermissionsCommandState as zr, ICommandSandboxAdapter as zs, ICreateSessionOptions as zt };
9996
+ //# sourceMappingURL=createInteractiveRuntime-BnvMAmtV.d.cts.map