@robota-sdk/agent-framework 3.0.0-beta.86 → 3.0.0-beta.88

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,15 +1,77 @@
1
- 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";
1
+ import { LineCounter } from "yaml";
2
+ import { IAIProvider, IContextWindowState, IFileSystem, IFileSystemAsync, IHistoryEntry, IHookInput, IHookTypeExecutor, IPathProtectionPolicy, 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, TUniversalMessagePart, TUniversalValue } from "@robota-sdk/agent-core";
2
3
  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";
3
4
  import { IBackgroundTaskManager, IBackgroundTaskRunner, IBackgroundTaskRunner as IBackgroundTaskRunner$1, IScheduleEditPatch, ISubagentManager, ISubagentRunner, TObserverFailureReporter } from "@robota-sdk/agent-executor";
4
5
  import { IRetrievalAdapter, ISandboxClient, IWorkspaceManifest, createZodFunctionTool } from "@robota-sdk/agent-tools";
5
6
  import { z } from "zod";
6
- 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";
7
- import { LineCounter } from "yaml";
7
+ import { FileSessionLogger, ICommandSandboxApproval, IExternalPayloadReference, IExternalPayloadSink, IExternalPayloadSource, INodeToolResultSpillStoreOptions, IPermissionDenial, ISessionLogSink, ISessionLogSource, ISessionLogger, ISessionOptions, ISessionReplayValidationResult, ITerminalOutput as ITerminalOutput$1, Session, TAutoCompactThreshold, TAutoCompactThreshold as TAutoCompactThreshold$2, TPermissionHandler, TPermissionResult } from "@robota-sdk/agent-session";
8
8
  import { IAccessTokenVerifier, IAccessTokenVerifierConfig, IExternalEventGrant, ITransportAdapter, TExternalEventAuditRecord, TExternalEventRefusal } from "@robota-sdk/agent-interface-transport";
9
9
  import { IPeerMessageAck, IPeerMessageIngress, IPeerOrigin, TWorkspaceRelation } from "@robota-sdk/agent-interface-session-mobility";
10
- 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";
10
+ import { IAppearanceSettings, ICapabilityDescriptor, ICommand, ICommandListEntry, ICommandListEntry as ICommandListEntry$1, ICommandPluginAdapter, ICommandResult as ICommandResult$1, ICommandSkillListEntry, ICommandSource, ICommandSource as ICommandSource$1, ISkillContentActivation, ISkillExecutionPort, ISkillResource, IStatusLineCommandSettings, TAppearanceSettingsPatch, TCapabilitySafety, TCommandHostAction, TCommandInvocationSource, TCommandInvocationSource as TCommandInvocationSource$1, TCommandRunner, TCommandSurface, TCommandSurfaceLocality, TCommandSurfaceLocality as TCommandSurfaceLocality$1, TCommandUiIntent, TStatusLineCommandSettingsPatch } from "@robota-sdk/agent-interface-command";
11
11
  import { ILivePromptContentBatch, ILivePromptContentPolicy, ILivePromptTraceBatch, IUsageSource } from "@robota-sdk/agent-interface-analytics";
12
12
  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";
13
+ //#region src/frontmatter/frontmatter-types.d.ts
14
+ type TFrontmatterProfile = 'skill' | 'bundle-skill' | 'agent';
15
+ type TFrontmatterDiagnosticCode = 'unterminated' | 'yaml-syntax' | 'duplicate-key' | 'alias-or-merge-forbidden' | 'root-type' | 'invalid-type' | 'invalid-value';
16
+ interface IFrontmatterDiagnostic {
17
+ code: TFrontmatterDiagnosticCode;
18
+ source: string;
19
+ line?: number;
20
+ column?: number;
21
+ field?: string;
22
+ expected: string;
23
+ received: string;
24
+ }
25
+ type TFrontmatterScalar = string | number | boolean;
26
+ interface ISkillFrontmatter {
27
+ name?: string;
28
+ description?: string;
29
+ model?: string;
30
+ argumentHint?: string;
31
+ disableModelInvocation?: boolean;
32
+ userInvocable?: boolean;
33
+ allowedTools?: string[];
34
+ effort?: TModelEffort;
35
+ context?: 'fork';
36
+ agent?: string;
37
+ loop?: string;
38
+ invocable?: boolean;
39
+ license?: string;
40
+ metadata?: Record<string, TFrontmatterScalar>;
41
+ }
42
+ interface IBundleSkillFrontmatter extends ISkillFrontmatter {
43
+ tags?: string[];
44
+ }
45
+ interface IAgentFrontmatter {
46
+ name?: string;
47
+ description?: string;
48
+ model?: string;
49
+ maxTurns?: number;
50
+ tools?: string[];
51
+ disallowedTools?: string[];
52
+ signal?: string;
53
+ }
54
+ interface IFrontmatterMetadataByProfile {
55
+ skill: ISkillFrontmatter;
56
+ 'bundle-skill': IBundleSkillFrontmatter;
57
+ agent: IAgentFrontmatter;
58
+ }
59
+ interface IFrontmatterDecodeInput<P extends TFrontmatterProfile = TFrontmatterProfile> {
60
+ source: string;
61
+ content: string;
62
+ profile: P;
63
+ }
64
+ interface IFrontmatterDecodeSuccess<P extends TFrontmatterProfile> {
65
+ ok: true;
66
+ metadata: IFrontmatterMetadataByProfile[P];
67
+ body: string;
68
+ }
69
+ interface IFrontmatterDecodeFailure {
70
+ ok: false;
71
+ diagnostics: readonly [IFrontmatterDiagnostic, ...IFrontmatterDiagnostic[]];
72
+ }
73
+ type TFrontmatterDecodeResult<P extends TFrontmatterProfile = TFrontmatterProfile> = IFrontmatterDecodeSuccess<P> | IFrontmatterDecodeFailure;
74
+ //#endregion
13
75
  //#region src/effort/effort-resolution.d.ts
14
76
  type TEffortSelection = TModelEffort | 'auto';
15
77
  type TEffortSource = 'command' | 'flag' | 'environment' | 'settings' | 'preset' | 'model-default';
@@ -172,154 +234,6 @@ interface IOrgPolicy {
172
234
  adminContact?: string;
173
235
  }
174
236
  //#endregion
175
- //#region src/command-api/host-context-types.d.ts
176
- interface ICommandSkillActivationRequest {
177
- readonly invocationSource: TCommandInvocationSource$1;
178
- readonly displayInput?: string;
179
- readonly rawInput?: string;
180
- }
181
- type TAutoCompactThresholdSource = 'default' | 'settings' | 'session';
182
- /**
183
- * Live model re-application options (PRESET-013). Carries the model group a preset switch may
184
- * re-apply to a running session; `maxOutputTokens` maps to the agent's `maxTokens` channel.
185
- */
186
- interface IModelReapplyOptions {
187
- model?: string;
188
- effort?: TModelEffortSelection;
189
- temperature?: number;
190
- maxOutputTokens?: number;
191
- }
192
- /**
193
- * A preset `enabledCommandModules`/`disabledCommandModules` name that matched no built command
194
- * module (INFRA-032). Surfaced as a non-fatal notice on both the startup `--preset` path and the
195
- * in-session `/preset` path instead of being silently dropped. `kind` records which list the
196
- * unmatched name came from.
197
- */
198
- interface IUnknownCommandModuleName {
199
- readonly name: string;
200
- readonly kind: 'enabled' | 'disabled';
201
- }
202
- interface ICommandSessionReplayValidationReport {
203
- logFile: string;
204
- entryCount: number;
205
- validation: ISessionReplayValidationResult;
206
- }
207
- /**
208
- * The role a command declares when it reads NOTHING from the host.
209
- *
210
- * Deliberately empty, and deliberately named. A command that needs no capability must still accept
211
- * the dispatch parameter positionally when a later parameter is used, and naming the 46-member
212
- * aggregate in order to ignore it is precisely the defect this decomposition removes — it takes the
213
- * whole surface for nothing. Every role port is a supertype of the aggregate; this is the widest
214
- * such supertype, so any host satisfies it.
215
- *
216
- * `unknown` would also type-check here and is NOT used: `code-quality.md` allows it only at trust
217
- * and `catch` boundaries, and an unused command parameter is neither.
218
- */
219
- interface ICommandHostNoCapability {}
220
- //#endregion
221
- //#region src/command-api/session-roles.d.ts
222
- /** Reading and clearing the conversation the session holds. */
223
- interface ICommandSessionHistory {
224
- clearHistory(): void;
225
- getMessageCount(): number;
226
- getFullHistory(): IHistoryEntry[];
227
- getHistory(): TUniversalMessage[];
228
- }
229
- /** The session's context window and its compaction policy. */
230
- interface ICommandSessionContextWindow {
231
- compact(instructions?: string): Promise<void>;
232
- getContextState(): IContextWindowState;
233
- getAutoCompactThreshold(): number | false;
234
- setAutoCompactThreshold(threshold: TAutoCompactThreshold): void;
235
- }
236
- /** What the session is currently permitted to do. */
237
- interface ICommandSessionPermissions {
238
- getPermissionMode(): TPermissionMode;
239
- setPermissionMode(mode: TPermissionMode): void;
240
- getSessionAllowedTools(): readonly string[];
241
- /** The allow/deny/ask rules the gate reads right now, whatever layer or preset supplied them. */
242
- getPermissionRules(): {
243
- readonly allow: readonly string[];
244
- readonly deny: readonly string[];
245
- readonly ask: readonly string[];
246
- };
247
- /** The calls this session refused, most recent first. */
248
- getRecentPermissionDenials(): readonly IPermissionDenial[];
249
- /** Let the call behind a classifier denial (0-based) run once; `undefined` when there is none. */
250
- retryPermissionDenial(index: number): IPermissionDenial | undefined;
251
- /**
252
- * ARCH-040 Group C (issue #1934): re-apply a preset's tool lists to the LIVE enforcer.
253
- *
254
- * REQUIRED, not optional. An optional member would let every consumer invent its own answer for an
255
- * absent one, and the answer here governs permissions — a runtime that quietly did nothing would
256
- * be the startup/live divergence this seam exists to close, wearing a different hat.
257
- *
258
- * Without it the startup path could apply a preset's tool lists and `/preset` could not: one
259
- * session holding two answers for the same preset depending on WHEN it was chosen.
260
- */
261
- applyPresetToolLists(preset: {
262
- allowedTools?: readonly string[];
263
- deniedTools?: readonly string[];
264
- }): void;
265
- }
266
- /**
267
- * The tool schemas this session puts in front of the model (CLI-1990).
268
- *
269
- * The OFFERED set, not the registered one: with deferral engaged, a withheld tool's schema never
270
- * reaches the request, and `/context` reports what the request actually costs. Reading it is how the
271
- * saving deferral produces becomes observable at all — before this, no surface separated the tool
272
- * schemas from the system prompt they are billed alongside.
273
- */
274
- interface ICommandSessionTools {
275
- getOfferedToolSchemas(): IToolSchema[];
276
- /**
277
- * Offer tools that became usable mid-session — an MCP server connected after its sign-in — from
278
- * the next turn on (never within a running turn), under the same wrappers and permission gate as
279
- * the session's own. A name the session already has is left out, never replaced. Resolves to the
280
- * names that will be offered.
281
- */
282
- addTools(tools: readonly IToolWithEventService[]): Promise<readonly string[]>;
283
- }
284
- /** Who this session is, and what it has spent. */
285
- interface ICommandSessionIdentity {
286
- getSessionId(): string;
287
- getSessionTokenUsage(): {
288
- inputTokens: number;
289
- outputTokens: number;
290
- } | undefined;
291
- getModelId(): string | undefined;
292
- }
293
- /** Live model reconfiguration. */
294
- interface ICommandSessionModel {
295
- /**
296
- * Re-apply model/effort/temperature/maxOutputTokens to the live session (PRESET-013).
297
- * May be async: the runtime ensures the agent is fully initialized before mutating its model
298
- * configuration, so callers must await the result.
299
- */
300
- applyModelOptions(options: IModelReapplyOptions): void | Promise<void>;
301
- /** Read the model-effort selection for the next model call. */
302
- getModelEffort(): TModelEffortSelection;
303
- /**
304
- * ARCH-040 — re-apply the preset's `agentName` to the live agent.
305
- *
306
- * REQUIRED, like every other member of this role port: an optional one would make each consumer
307
- * decide what "no rename seam" means, and `/preset` would decide it alone.
308
- */
309
- applyAgentName(name: string): void | Promise<void>;
310
- }
311
- /** Live preset state carried by the session. */
312
- interface ICommandSessionPreset {
313
- /** Read the active preset id (PRESET-011 runtime state). */
314
- getActivePresetId(): string;
315
- /** Set the active preset id (PRESET-011 runtime state — pure state, no option re-application). */
316
- setActivePresetId(id: string): void;
317
- /** Toggle subagent dispatch live for the running session (PRESET-016 runtime gate). */
318
- setParallelSubagentsEnabled(enabled: boolean): void;
319
- }
320
- /** Aggregate: every member remains source-compatible. Declare a role port instead of this. */
321
- interface ICommandSessionRuntime extends ICommandSessionHistory, ICommandSessionContextWindow, ICommandSessionPermissions, ICommandSessionIdentity, ICommandSessionModel, ICommandSessionPreset, ICommandSessionTools {}
322
- //#endregion
323
237
  //#region src/command-api/session/session-usage.d.ts
324
238
  interface ISessionUsageRecord {
325
239
  readonly promptTokens: number;
@@ -602,24 +516,177 @@ interface IPresetApplicationOptions {
602
516
  /** ARCH-040 — a preset-supplied system prompt that SEEDS the composed prompt (priority 4). */
603
517
  systemPrompt?: string;
604
518
  /**
605
- * ARCH-040 Group C — the preset's tool lists, re-applied to the live enforcer.
519
+ * ARCH-040 Group C — the preset's tool lists, re-applied to the live enforcer.
520
+ *
521
+ * An allowlist REPLACES what the preset layer previously contributed; a denylist UNIONS, because a
522
+ * denial is not weakened by a later layer that forgot to repeat it. Both halves ship together: an
523
+ * allowlist that replaces while its paired denylist stayed behind would widen what the session
524
+ * permits, which is the failure the pairing exists to prevent.
525
+ */
526
+ allowedTools?: readonly string[];
527
+ deniedTools?: readonly string[];
528
+ /** PRESET-015 — allowlist of command-module names to keep on the live session. */
529
+ enabledCommandModules?: readonly string[];
530
+ /** PRESET-015 — denylist of command-module names to remove from the live session. */
531
+ disabledCommandModules?: readonly string[];
532
+ /** PRESET-016 — runtime gate toggle for subagent dispatch on the live session. */
533
+ enableParallelSubagents?: boolean;
534
+ /** PRESET-017 — toggle the verify-before-done self-verification section on the live prompt. */
535
+ selfVerification?: boolean;
536
+ }
537
+ //#endregion
538
+ //#region src/command-api/host-context-types.d.ts
539
+ /** Stable product-facing names commands use when they must suggest a terminal command. */
540
+ interface ICommandProductVocabulary {
541
+ readonly cliName: string;
542
+ readonly displayName: string;
543
+ }
544
+ interface ICommandSkillActivationRequest {
545
+ readonly invocationSource: TCommandInvocationSource$1;
546
+ readonly displayInput?: string;
547
+ readonly rawInput?: string;
548
+ }
549
+ type TAutoCompactThresholdSource = 'default' | 'settings' | 'session';
550
+ /**
551
+ * Live model re-application options (PRESET-013). Carries the model group a preset switch may
552
+ * re-apply to a running session; `maxOutputTokens` maps to the agent's `maxTokens` channel.
553
+ */
554
+ interface IModelReapplyOptions {
555
+ model?: string;
556
+ effort?: TModelEffortSelection;
557
+ temperature?: number;
558
+ maxOutputTokens?: number;
559
+ }
560
+ /**
561
+ * A preset `enabledCommandModules`/`disabledCommandModules` name that matched no built command
562
+ * module (INFRA-032). Surfaced as a non-fatal notice on both the startup `--preset` path and the
563
+ * in-session `/preset` path instead of being silently dropped. `kind` records which list the
564
+ * unmatched name came from.
565
+ */
566
+ interface IUnknownCommandModuleName {
567
+ readonly name: string;
568
+ readonly kind: 'enabled' | 'disabled';
569
+ }
570
+ interface ICommandSessionReplayValidationReport {
571
+ logFile: string;
572
+ entryCount: number;
573
+ validation: ISessionReplayValidationResult;
574
+ }
575
+ /**
576
+ * The role a command declares when it reads NOTHING from the host.
577
+ *
578
+ * Deliberately empty, and deliberately named. A command that needs no capability must still accept
579
+ * the dispatch parameter positionally when a later parameter is used, and naming the 46-member
580
+ * aggregate in order to ignore it is precisely the defect this decomposition removes — it takes the
581
+ * whole surface for nothing. Every role port is a supertype of the aggregate; this is the widest
582
+ * such supertype, so any host satisfies it.
583
+ *
584
+ * `unknown` would also type-check here and is NOT used: `code-quality.md` allows it only at trust
585
+ * and `catch` boundaries, and an unused command parameter is neither.
586
+ */
587
+ interface ICommandHostNoCapability {}
588
+ //#endregion
589
+ //#region src/command-api/session-roles.d.ts
590
+ /** Reading and clearing the conversation the session holds. */
591
+ interface ICommandSessionHistory {
592
+ clearHistory(): void;
593
+ getMessageCount(): number;
594
+ getFullHistory(): IHistoryEntry[];
595
+ getHistory(): TUniversalMessage[];
596
+ }
597
+ /** The session's context window and its compaction policy. */
598
+ interface ICommandSessionContextWindow {
599
+ compact(instructions?: string): Promise<void>;
600
+ getContextState(): IContextWindowState;
601
+ getAutoCompactThreshold(): number | false;
602
+ setAutoCompactThreshold(threshold: TAutoCompactThreshold): void;
603
+ }
604
+ /** What the session is currently permitted to do. */
605
+ interface ICommandSessionPermissions {
606
+ getPermissionMode(): TPermissionMode;
607
+ setPermissionMode(mode: TPermissionMode): void;
608
+ getSessionAllowedTools(): readonly string[];
609
+ /** The allow/deny/ask rules the gate reads right now, whatever layer or preset supplied them. */
610
+ getPermissionRules(): {
611
+ readonly allow: readonly string[];
612
+ readonly deny: readonly string[];
613
+ readonly ask: readonly string[];
614
+ };
615
+ /** The calls this session refused, most recent first. */
616
+ getRecentPermissionDenials(): readonly IPermissionDenial[];
617
+ /** Let the call behind a classifier denial (0-based) run once; `undefined` when there is none. */
618
+ retryPermissionDenial(index: number): IPermissionDenial | undefined;
619
+ /**
620
+ * ARCH-040 Group C (issue #1934): re-apply a preset's tool lists to the LIVE enforcer.
621
+ *
622
+ * REQUIRED, not optional. An optional member would let every consumer invent its own answer for an
623
+ * absent one, and the answer here governs permissions — a runtime that quietly did nothing would
624
+ * be the startup/live divergence this seam exists to close, wearing a different hat.
625
+ *
626
+ * Without it the startup path could apply a preset's tool lists and `/preset` could not: one
627
+ * session holding two answers for the same preset depending on WHEN it was chosen.
628
+ */
629
+ applyPresetToolLists(preset: {
630
+ allowedTools?: readonly string[];
631
+ deniedTools?: readonly string[];
632
+ }): void;
633
+ }
634
+ /**
635
+ * The tool schemas this session puts in front of the model (CLI-1990).
636
+ *
637
+ * The OFFERED set, not the registered one: with deferral engaged, a withheld tool's schema never
638
+ * reaches the request, and `/context` reports what the request actually costs. Reading it is how the
639
+ * saving deferral produces becomes observable at all — before this, no surface separated the tool
640
+ * schemas from the system prompt they are billed alongside.
641
+ */
642
+ interface ICommandSessionTools {
643
+ getOfferedToolSchemas(): IToolSchema[];
644
+ /**
645
+ * Offer tools that became usable mid-session — an MCP server connected after its sign-in — from
646
+ * the next turn on (never within a running turn), under the same wrappers and permission gate as
647
+ * the session's own. A name the session already has is left out, never replaced. Resolves to the
648
+ * names that will be offered.
649
+ */
650
+ addTools(tools: readonly IToolWithEventService[]): Promise<readonly string[]>;
651
+ }
652
+ /** Who this session is, and what it has spent. */
653
+ interface ICommandSessionIdentity {
654
+ getSessionId(): string;
655
+ getSessionTokenUsage(): {
656
+ inputTokens: number;
657
+ outputTokens: number;
658
+ } | undefined;
659
+ getModelId(): string | undefined;
660
+ }
661
+ /** Live model reconfiguration. */
662
+ interface ICommandSessionModel {
663
+ /**
664
+ * Re-apply model/effort/temperature/maxOutputTokens to the live session (PRESET-013).
665
+ * May be async: the runtime ensures the agent is fully initialized before mutating its model
666
+ * configuration, so callers must await the result.
667
+ */
668
+ applyModelOptions(options: IModelReapplyOptions): void | Promise<void>;
669
+ /** Read the model-effort selection for the next model call. */
670
+ getModelEffort(): TModelEffortSelection;
671
+ /**
672
+ * ARCH-040 — re-apply the preset's `agentName` to the live agent.
606
673
  *
607
- * An allowlist REPLACES what the preset layer previously contributed; a denylist UNIONS, because a
608
- * denial is not weakened by a later layer that forgot to repeat it. Both halves ship together: an
609
- * allowlist that replaces while its paired denylist stayed behind would widen what the session
610
- * permits, which is the failure the pairing exists to prevent.
674
+ * REQUIRED, like every other member of this role port: an optional one would make each consumer
675
+ * decide what "no rename seam" means, and `/preset` would decide it alone.
611
676
  */
612
- allowedTools?: readonly string[];
613
- deniedTools?: readonly string[];
614
- /** PRESET-015 — allowlist of command-module names to keep on the live session. */
615
- enabledCommandModules?: readonly string[];
616
- /** PRESET-015 — denylist of command-module names to remove from the live session. */
617
- disabledCommandModules?: readonly string[];
618
- /** PRESET-016 — runtime gate toggle for subagent dispatch on the live session. */
619
- enableParallelSubagents?: boolean;
620
- /** PRESET-017 — toggle the verify-before-done self-verification section on the live prompt. */
621
- selfVerification?: boolean;
677
+ applyAgentName(name: string): void | Promise<void>;
678
+ }
679
+ /** Live preset state carried by the session. */
680
+ interface ICommandSessionPreset {
681
+ /** Read the active preset id (PRESET-011 runtime state). */
682
+ getActivePresetId(): string;
683
+ /** Set the active preset id (PRESET-011 runtime state — pure state, no option re-application). */
684
+ setActivePresetId(id: string): void;
685
+ /** Toggle subagent dispatch live for the running session (PRESET-016 runtime gate). */
686
+ setParallelSubagentsEnabled(enabled: boolean): void;
622
687
  }
688
+ /** Aggregate: every member remains source-compatible. Declare a role port instead of this. */
689
+ interface ICommandSessionRuntime extends ICommandSessionHistory, ICommandSessionContextWindow, ICommandSessionPermissions, ICommandSessionIdentity, ICommandSessionModel, ICommandSessionPreset, ICommandSessionTools {}
623
690
  //#endregion
624
691
  //#region src/context/output-style-prompt.d.ts
625
692
  /** Prompt-only projection of an output style. The preset package's richer value satisfies this shape. */
@@ -902,7 +969,7 @@ declare function listUnreadableSessions(sessionStore: IInteractiveSessionStore$1
902
969
  /**
903
970
  * The unreadable sessions of ONE workspace (#3289 §1).
904
971
  *
905
- * A store shared across workspaces (the user-level `~/.robota/sessions`) holds unreadable records
972
+ * A store shared across workspaces (the user-level `~/.agent/sessions`) holds unreadable records
906
973
  * from every folder ever worked in there, and a brand-new folder used to be told about all of them —
907
974
  * "191 sessions could not be read" on a folder that had never seen one. An unreadable record still
908
975
  * carries its raw `cwd` when the bytes are readable enough for that (TRANS-007's best-effort peek);
@@ -1015,7 +1082,7 @@ interface ICommandPermissionModeAdapter {
1015
1082
  }
1016
1083
  /** The permission rules one settings layer declares, named the way the user would find the file. */
1017
1084
  interface IPermissionRuleLayer {
1018
- /** The file as the user would find it, e.g. `~/.robota/settings.json`. */
1085
+ /** The file as the user would find it, e.g. `~/.agent/settings.json`. */
1019
1086
  readonly source: string;
1020
1087
  readonly scope: string;
1021
1088
  readonly allow: readonly string[];
@@ -1229,8 +1296,32 @@ interface ICommandMCPOAuthLoginResult {
1229
1296
  /** The tools a newly connected server offers, for the session to add. */
1230
1297
  readonly tools: readonly IToolWithEventService[];
1231
1298
  }
1299
+ interface ICommandMCPSkillSummary {
1300
+ readonly serverId: string;
1301
+ readonly uri: string;
1302
+ readonly name: string;
1303
+ readonly description: string;
1304
+ readonly invocationName?: string;
1305
+ readonly unavailableReason?: string;
1306
+ }
1307
+ interface ICommandMCPSkillPreview extends ICommandMCPSkillSummary {
1308
+ readonly namespace: string;
1309
+ readonly fingerprint: string;
1310
+ readonly frontmatter: TUniversalValue;
1311
+ readonly content: string;
1312
+ }
1313
+ /** Host-controlled content consent. Discovery does not activate instructions or frontmatter. */
1314
+ interface ICommandMCPSkillsAdapter {
1315
+ /** Discovered metadata projected into the host's neutral, lazily admitted skill source. */
1316
+ readonly commandSource?: ICommandSource;
1317
+ list(serverId: string): Promise<readonly ICommandMCPSkillSummary[]>;
1318
+ inspect(serverId: string, uri: string): Promise<ICommandMCPSkillPreview>;
1319
+ approve(serverId: string, uri: string, fingerprint: string, source: TCommandInvocationSource): Promise<ICommandMCPSkillPreview>;
1320
+ withdraw(serverId: string, uri: string, source: TCommandInvocationSource): void;
1321
+ }
1232
1322
  /** MCP activation lifecycle port. Implemented by the composition root over the MCP policy service. */
1233
1323
  interface ICommandMCPActivationAdapter {
1324
+ readonly skills?: ICommandMCPSkillsAdapter;
1234
1325
  list(): readonly ICommandMCPActivationSummary[];
1235
1326
  /**
1236
1327
  * Where the user acts on a command the model suggests: `session` when they can type a `/mcp`
@@ -1533,6 +1624,8 @@ interface ICommandCostBudgetAdapter {
1533
1624
  clear(): void;
1534
1625
  }
1535
1626
  interface ICommandHostAdapters {
1627
+ /** Host-selected lazy skill metadata; the framework does not know its transport. */
1628
+ skillCommands?: ICommandSource;
1536
1629
  settings?: ICommandSettingsAdapter;
1537
1630
  effort?: ICommandEffortAdapter;
1538
1631
  /** The live advisor: `/advisor` changes its target without touching the session's tools. */
@@ -1830,6 +1923,7 @@ declare function isMemoryType(value: string): value is TMemoryType;
1830
1923
  declare class ProjectMemoryStore {
1831
1924
  private readonly storage;
1832
1925
  private readonly now;
1926
+ private readonly lifecycle;
1833
1927
  constructor(storage: IWorkspaceProjectStateStorage, now?: () => Date);
1834
1928
  getIndexPath(): string;
1835
1929
  getTopicsPath(): string;
@@ -1837,6 +1931,18 @@ declare class ProjectMemoryStore {
1837
1931
  list(): IProjectMemorySummary;
1838
1932
  readTopic(topic: string): string;
1839
1933
  append(input: IAppendMemoryInput): IAppendMemoryResult;
1934
+ isTopicCurated(topic: string): boolean;
1935
+ replaceTopic(input: IAppendMemoryInput): {
1936
+ topic: string;
1937
+ topicPath: string;
1938
+ indexPath: string;
1939
+ };
1940
+ forgetTopic(input: string): {
1941
+ topic: string;
1942
+ topicPath: string;
1943
+ indexPath: string;
1944
+ };
1945
+ private persistCuratedIndex;
1840
1946
  }
1841
1947
  //#endregion
1842
1948
  //#region src/memory/automatic-memory-types.d.ts
@@ -1928,7 +2034,16 @@ interface IMemoryCurationQueue {
1928
2034
  * `ISemanticMemoryAdapter`); startup injection, the `/memory` command path, and the post-turn capture
1929
2035
  * controller ALL read/write through it, so an injected store is authoritative everywhere (no split-brain).
1930
2036
  */
1931
- interface IMemoryStore extends IDurableMemoryReader, IMemoryWriter, IMemoryRecaller, IMemoryCurationQueue {}
2037
+ interface IMemoryStore extends IDurableMemoryReader, IMemoryWriter, IMemoryRecaller, IMemoryCurationQueue {
2038
+ /** User-only topic replacement/deletion. An unsupported backend must expose neither operation. */
2039
+ replaceTopic?(input: IAppendMemoryInput): Promise<IMemoryTopicMutationResult>;
2040
+ forgetTopic?(topic: string): Promise<IMemoryTopicMutationResult>;
2041
+ }
2042
+ interface IMemoryTopicMutationResult {
2043
+ topic: string;
2044
+ topicPath: string;
2045
+ indexPath: string;
2046
+ }
1932
2047
  /** A single semantic recall hit (deferred backend). */
1933
2048
  interface ISemanticMemoryQueryResult {
1934
2049
  content: string;
@@ -1946,6 +2061,8 @@ interface ISemanticMemoryAdapter {
1946
2061
  index(input: IAppendMemoryInput): Promise<void>;
1947
2062
  /** Query the vector backend for the most relevant slice within a budget. */
1948
2063
  query(text: string, budget: IMemoryBudget): Promise<ISemanticMemoryQueryResult>;
2064
+ /** Remove all indexed entries for a normalized topic before indexing its replacement. */
2065
+ removeTopic?(topic: string): Promise<void>;
1949
2066
  }
1950
2067
  //#endregion
1951
2068
  //#region src/command-api/host-roles.d.ts
@@ -2049,11 +2166,15 @@ interface ICommandHostWorkspace {
2049
2166
  * same as `'local'` (allow-by-default, matching the rest of the command layer).
2050
2167
  */
2051
2168
  getCommandSurfaceLocality?(): TCommandSurfaceLocality;
2169
+ /** Raw locality supplied by the carrier; absent is not evidence for granting new authority. */
2170
+ getCommandSurfaceLocalityEvidence?(): TCommandSurfaceLocality | undefined;
2052
2171
  }
2053
2172
  /** What commands and skills this host can dispatch. */
2054
2173
  interface ICommandHostCatalog {
2055
2174
  listCommands(): ICommandListEntry[];
2056
2175
  listSkills(): ICommandSkillListEntry[];
2176
+ /** Read only within an existing host-owned skill activation; never acquire authority here. */
2177
+ readSkillResource?(name: string, uri: string): Promise<ISkillResource>;
2057
2178
  executeSkillCommandByName(name: string, args: string, request: ICommandSkillActivationRequest): Promise<ICommandResult$1 | null>;
2058
2179
  }
2059
2180
  /** The edit-checkpoint tree: inspection, restore, and branching. */
@@ -2130,14 +2251,19 @@ interface ICommandHostTerminalHandoff {
2130
2251
  interface ICommandHostAdapterAccess {
2131
2252
  getCommandHostAdapters?(): ICommandHostAdapters;
2132
2253
  }
2254
+ /** Optional product names used only when commands need to suggest a terminal command. */
2255
+ interface ICommandHostProductVocabulary {
2256
+ getCommandProductVocabulary?(): ICommandProductVocabulary | undefined;
2257
+ }
2133
2258
  /** 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 {}
2259
+ interface ICommandHostContext extends ICommandHostSessionAccess, ICommandHostAgentJobs, ICommandHostUserInteraction, ICommandHostSetupState, ICommandHostPresetApplication, ICommandHostContextWindow, ICommandHostContextReferences, ICommandHostWorkspace, ICommandHostCatalog, ICommandHostCheckpoints, ICommandHostMemory, ICommandHostBackgroundTasks, ICommandHostGoal, ICommandHostPlan, ICommandHostTerminalHandoff, ICommandHostAdapterAccess, ICommandHostProductVocabulary {}
2135
2260
  //#endregion
2136
2261
  //#region src/command-api/contracts.d.ts
2137
2262
  type TSystemCommandLifecycle = 'inline' | 'blocking' | 'background';
2138
- type TSystemCommandSemanticRole = 'skillActivation' | 'contextReduction' | 'subagentSpawn';
2263
+ type TSystemCommandSemanticRole = 'skillActivation' | 'skillResourceRead' | 'contextReduction' | 'subagentSpawn';
2139
2264
  interface ISystemCommandSemanticRoles {
2140
2265
  readonly skillActivation?: string;
2266
+ readonly skillResourceRead?: string;
2141
2267
  readonly contextReduction?: string;
2142
2268
  readonly subagentSpawn?: string;
2143
2269
  }
@@ -2170,6 +2296,11 @@ interface ISystemCommand {
2170
2296
  /** The surfaces a `'client'` command can run on. See `ICommand.surfaces`. */
2171
2297
  surfaces?: readonly TCommandSurface[];
2172
2298
  lifecycle?: TSystemCommandLifecycle;
2299
+ /**
2300
+ * Host-owned inline control operations that remain reachable during an active turn.
2301
+ * This only relaxes the busy gate for human commands; invocation and host policy still apply.
2302
+ */
2303
+ canRunDuringTurn?: (args: string) => boolean;
2173
2304
  /**
2174
2305
  * Whether executing this command requires explicit user permission/confirmation.
2175
2306
  * - `false`: runs immediately without any approval gate
@@ -2192,16 +2323,16 @@ interface ISystemCommand {
2192
2323
  /**
2193
2324
  * CMD-008: a session requirement is a DEMAND SWITCH, not a registration gate. Declaring one does
2194
2325
  * not gate the module on runtime capability being available; it makes the session projection
2195
- * enable that facility (`'agent-runtime'` → `enableAgentRuntime: true`) so the module's commands
2326
+ * enable that facility (`'runtime'` → `enableAgentRuntime: true`) so the module's commands
2196
2327
  * can rely on it. Pinned by `interactive/__tests__/command-module-session-requirements.test.ts`.
2197
2328
  */
2198
- type TCommandModuleSessionRequirement = 'agent-runtime';
2329
+ type TCommandModuleSessionRequirement = 'runtime';
2199
2330
  /** Composable command capability module. */
2200
2331
  interface ICommandModule {
2201
2332
  /** Stable module id for diagnostics and duplicate handling. */
2202
2333
  readonly name: string;
2203
2334
  /** Slash palette/autocomplete command sources contributed by this module. */
2204
- readonly commandSources?: readonly ICommandSource[];
2335
+ readonly commandSources?: readonly ICommandSource$1[];
2205
2336
  /** Executable system commands contributed by this module. */
2206
2337
  readonly systemCommands?: readonly ISystemCommand[];
2207
2338
  /** Additional model-visible descriptors not derived from executable commands. */
@@ -2414,14 +2545,14 @@ declare function applyActiveModelChange(sources: readonly TSettingsSource[], sto
2414
2545
  declare function readMergedProviderSettingsFromSources(sources: readonly TSettingsSource[]): TProviderSettingsDocument;
2415
2546
  declare function mergeSettings(base: TProviderSettingsDocument, override: TProviderSettingsDocument): TProviderSettingsDocument;
2416
2547
  declare function mergeProviders(base: TProviderSettingsDocument['providers'], override: TProviderSettingsDocument['providers']): TProviderSettingsDocument['providers'];
2417
- declare function resolveActiveProvider(settings: TProviderSettingsDocument, providerOverride: string | undefined, providerDefinitions: readonly IProviderDefinition[]): IProviderDefinitionConfig | undefined;
2548
+ declare function resolveActiveProvider(settings: TProviderSettingsDocument, providerOverride: string | undefined, providerDefinitions: readonly IProviderDefinition[], environment?: Readonly<Record<string, string | undefined>>): IProviderDefinitionConfig | undefined;
2418
2549
  //#endregion
2419
2550
  //#region src/command-api/provider/provider-factory.d.ts
2420
2551
  interface IReadProviderSettingsOptions {
2421
2552
  providerOverride?: string;
2422
2553
  providerDefinitions?: readonly IProviderDefinition[];
2423
2554
  /** Environment map for env-default synthesis (test seam, default: process.env). */
2424
- env?: Record<string, string | undefined>;
2555
+ env?: Readonly<Record<string, string | undefined>>;
2425
2556
  }
2426
2557
  /**
2427
2558
  * Missing or unusable provider configuration at session start.
@@ -2437,7 +2568,7 @@ declare function readMergedProviderSettings(sources: readonly TSettingsSource[])
2437
2568
  * referenced variable set, plus a default model. Settings profiles always win; nothing
2438
2569
  * is persisted. Returns undefined when no definition qualifies.
2439
2570
  */
2440
- declare function resolveEnvDefaultProvider(providerDefinitions: readonly IProviderDefinition[], env?: Record<string, string | undefined>): IProviderDefinitionConfig | undefined;
2571
+ declare function resolveEnvDefaultProvider(providerDefinitions: readonly IProviderDefinition[], env?: Readonly<Record<string, string | undefined>>): IProviderDefinitionConfig | undefined;
2441
2572
  declare function readProviderSettings(sources: readonly TSettingsSource[], options?: IReadProviderSettingsOptions): IProviderDefinitionConfig;
2442
2573
  declare function createProviderFromSettings(sources: readonly TSettingsSource[], modelOverride?: string, options?: IReadProviderSettingsOptions): IAIProvider;
2443
2574
  //#endregion
@@ -2648,7 +2779,7 @@ declare function readAppearanceSettings(settings: TSettingsData): IAppearanceSet
2648
2779
  declare function applyAppearanceSettings(settingsPath: string, patch: TAppearanceSettingsPatch): IAppearanceSettings;
2649
2780
  //#endregion
2650
2781
  //#region src/command-api/plugin/plugin-command-api.d.ts
2651
- declare const PLUGIN_COMMAND_DESCRIPTION = "Manage plugins";
2782
+ declare const PLUGIN_COMMAND_DESCRIPTION = "Inspect or manage installed plugins and marketplaces; returns operation status. User-only because installing and enabling contributions activates code.";
2652
2783
  declare const PLUGIN_COMMAND_ARGUMENT_HINT = "manage | list | install <name@marketplace> | uninstall <name@marketplace> | enable <name@marketplace> | disable <name@marketplace> | marketplace <action>";
2653
2784
  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.";
2654
2785
  /** CMD-004: `/plugin manage` asks the REQUESTING surface to open its plugin manager (UI intent). */
@@ -2704,8 +2835,8 @@ declare function listCommandEditCheckpointBranches(context: ICommandHostCheckpoi
2704
2835
  //#endregion
2705
2836
  //#region src/command-api/memory/memory-command-api.d.ts
2706
2837
  declare const MEMORY_COMMAND_DESCRIPTION = "Project memory command. Use it to inspect project memory when stored context may help, save durable preferences, project conventions, feedback, or references worth reusing across sessions, review pending candidates, and report memory provenance. Do not store secrets, credentials, or transient facts.";
2707
- declare const MEMORY_COMMAND_ARGUMENT_HINT = "list | show [topic] | add <user|feedback|project|reference> <topic> <text> | pending | approve <id> | reject <id> | used";
2708
- declare const MEMORY_COMMAND_USAGE = "Usage: memory list | memory show [topic] | memory add <user|feedback|project|reference> <topic> <text> | memory pending | memory approve <id> | memory reject <id> | memory used";
2838
+ declare const MEMORY_COMMAND_ARGUMENT_HINT = "list | show [topic] | add <user|feedback|project|reference> <topic> <text> | correct <user|feedback|project|reference> <topic> <text> | forget <topic> | pending | approve <id> | reject <id> | used";
2839
+ declare const MEMORY_COMMAND_USAGE = "Usage: memory list | memory show [topic] | memory add <user|feedback|project|reference> <topic> <text> | memory correct <user|feedback|project|reference> <topic> <text> | memory forget <topic> | memory pending | memory approve <id> | memory reject <id> | memory used";
2709
2840
  /**
2710
2841
  * `approve` and `reject` are user-only: pending candidates exist so the USER reviews what the model
2711
2842
  * proposed to remember, and a model approving its own candidate would skip that review.
@@ -6874,7 +7005,7 @@ interface ILoadedContext {
6874
7005
  agentsMd: string;
6875
7006
  /** Concatenated content of all CLAUDE.md files found (root-first) */
6876
7007
  projectNotesMd: string;
6877
- /** Startup project memory index loaded from .robota/memory/MEMORY.md, if present */
7008
+ /** Startup project memory index loaded from .agent/memory/MEMORY.md, if present */
6878
7009
  memoryMd?: string;
6879
7010
  /** Formatted active task context loaded from .agents/tasks/*.md, if present */
6880
7011
  taskContext?: string;
@@ -6938,7 +7069,7 @@ interface ISystemPromptParams {
6938
7069
  agentsMd: string;
6939
7070
  /** Concatenated CLAUDE.md content (may be empty string) */
6940
7071
  projectNotesMd: string;
6941
- /** Startup project memory index loaded from .robota/memory/MEMORY.md */
7072
+ /** Startup project memory index loaded from .agent/memory/MEMORY.md */
6942
7073
  memoryMd?: string;
6943
7074
  /** Formatted active task context loaded from .agents/tasks/*.md */
6944
7075
  taskContext?: string;
@@ -7020,13 +7151,15 @@ interface IContributionSource {
7020
7151
  declare function createWorkspaceProjectContributionSource(reader: IWorkspaceProjectReader, root?: string): IContributionSource;
7021
7152
  //#endregion
7022
7153
  //#region src/commands/skill-source.d.ts
7154
+ /** Build a command from frontmatter, content, and a fallback name */
7155
+ declare function createSkillCommand(frontmatter: ISkillFrontmatter, content: string, fallbackName: string, skillDirectory: string | undefined): ICommand;
7023
7156
  /** One host-selected skill or legacy-command directory, ordered by host precedence. */
7024
7157
  interface ISkillRootDescriptor {
7025
7158
  readonly root: string;
7026
7159
  readonly kind: 'skills' | 'commands';
7027
7160
  }
7028
7161
  /** Command source that discovers skills from multiple directories */
7029
- declare class SkillCommandSource implements ICommandSource {
7162
+ declare class SkillCommandSource implements ICommandSource$1 {
7030
7163
  private readonly sources;
7031
7164
  private readonly roots;
7032
7165
  readonly name = "skill";
@@ -7075,6 +7208,140 @@ declare function listFrameworkProjectContributionPaths(cwdRelative: string, skil
7075
7208
  readonly dir?: string;
7076
7209
  }): readonly IProjectContributionPath[];
7077
7210
  //#endregion
7211
+ //#region src/contributions/contribution-descriptor.d.ts
7212
+ /** A declarative host contract. Supported format and source identity never confer execution authority. */
7213
+ interface IContributionDescriptor {
7214
+ readonly schemaVersion: 1;
7215
+ readonly identity: string;
7216
+ readonly installedRevision: string;
7217
+ readonly generation: string;
7218
+ readonly source: {
7219
+ readonly kind: 'bundle' | 'mcp' | 'skill';
7220
+ readonly location: string;
7221
+ };
7222
+ readonly requiredCapabilities: readonly string[];
7223
+ readonly contributions: readonly {
7224
+ readonly identity: string;
7225
+ readonly kind: 'command' | 'skill' | 'hook' | 'agent' | 'mcp';
7226
+ readonly source: string;
7227
+ readonly requiredCapabilities: readonly string[];
7228
+ readonly disposition: 'supported' | 'unavailable' | 'unsupported';
7229
+ readonly reason?: string;
7230
+ }[];
7231
+ readonly lifecycle: {
7232
+ readonly activation: 'unadmitted' | 'disabled';
7233
+ readonly activeCalls: 'host-owned';
7234
+ };
7235
+ readonly diagnostics: readonly {
7236
+ readonly component: string;
7237
+ readonly code: string;
7238
+ }[];
7239
+ }
7240
+ //#endregion
7241
+ //#region src/plugins/bundle-plugin-types.d.ts
7242
+ /** Feature flags indicating what a bundle plugin provides. */
7243
+ interface IBundlePluginFeatures {
7244
+ commands?: boolean;
7245
+ agents?: boolean;
7246
+ skills?: boolean;
7247
+ hooks?: boolean;
7248
+ mcp?: boolean;
7249
+ }
7250
+ /** Manifest read from `.claude-plugin/plugin.json`. */
7251
+ interface IBundlePluginManifest {
7252
+ name: string;
7253
+ version?: string;
7254
+ description?: string;
7255
+ /** Foreign MCP declarations: root-relative JSON paths, inline maps, or an ordered array of either. */
7256
+ mcpServers?: TUniversalValue;
7257
+ features: IBundlePluginFeatures;
7258
+ commands?: TUniversalValue;
7259
+ skills?: TUniversalValue;
7260
+ hooks?: TUniversalValue;
7261
+ agents?: TUniversalValue;
7262
+ }
7263
+ /** A skill loaded from a bundle plugin's `skills/` directory. */
7264
+ interface IBundleSkill extends IBundleSkillFrontmatter {
7265
+ name: string;
7266
+ description: string;
7267
+ skillContent: string;
7268
+ /** The absolute directory the skill's file is in. */
7269
+ skillDirectory?: string;
7270
+ }
7271
+ /** A fully loaded bundle plugin with all its assets. */
7272
+ interface ILoadedBundlePlugin {
7273
+ /** Declarative installed-source snapshot; never an execution approval. */
7274
+ descriptor?: IContributionDescriptor;
7275
+ manifest: IBundlePluginManifest;
7276
+ skills: IBundleSkill[];
7277
+ commands: IBundleSkill[];
7278
+ hooks: Record<string, unknown>;
7279
+ /** The parsed `.mcp.json` document, when the plugin ships one. */
7280
+ mcpConfig?: TUniversalValue;
7281
+ /** Declaring file for each resulting server, after source-order replacement. */
7282
+ mcpSourcePaths?: Readonly<Record<string, string>>;
7283
+ agents: string[];
7284
+ pluginDir: string;
7285
+ }
7286
+ /** Why a discovered plugin was not loaded (OBSERVABILITY-1991 inspection). */
7287
+ type TBundlePluginSkipReason = 'manifest-unreadable' | 'manifest-invalid' | 'disabled' | 'load-failed' | 'revision-unselected';
7288
+ /** A plugin the loader discovered but did not load, and why. */
7289
+ interface IBundlePluginSkip {
7290
+ readonly pluginId: string;
7291
+ readonly manifestPath: string;
7292
+ readonly reason: TBundlePluginSkipReason;
7293
+ /** The owner error's name and message — never file content. */
7294
+ readonly detail?: string;
7295
+ }
7296
+ /** A hooks.json that a loaded plugin ships but which fails the settings hooks schema. */
7297
+ interface IBundlePluginHookIssue {
7298
+ readonly pluginId: string;
7299
+ readonly hooksPath: string;
7300
+ /** Failing issue paths and codes, as the schema reports them; never values. */
7301
+ readonly issues: readonly {
7302
+ readonly path: string;
7303
+ readonly code: string;
7304
+ }[];
7305
+ }
7306
+ /** One MCP server a loaded plugin declares in its `.mcp.json` — keys only, never env values. */
7307
+ interface IBundlePluginMcpServer {
7308
+ readonly pluginId: string;
7309
+ readonly mcpPath: string;
7310
+ readonly name: string;
7311
+ readonly transport: 'stdio' | 'http' | 'unknown';
7312
+ readonly command?: string;
7313
+ readonly url?: string;
7314
+ readonly envKeys: readonly string[];
7315
+ }
7316
+ /** A `.mcp.json` that is present but structurally unusable. */
7317
+ interface IBundlePluginMcpFault {
7318
+ readonly pluginId: string;
7319
+ readonly mcpPath: string;
7320
+ readonly reason: 'not-an-object' | 'no-servers';
7321
+ }
7322
+ /**
7323
+ * The loader's read-only inspection result; `loadPluginsSync()` is its `loaded` projection.
7324
+ *
7325
+ * `loaded` is the runtime shape and still carries each plugin's raw `mcpConfig`; a diagnostic renders
7326
+ * only the inspection's own fields (`skipped`, `hookIssues`, `mcpServers`, `mcpFaults`), which carry
7327
+ * names, paths, reasons and env KEY names — never values.
7328
+ */
7329
+ interface IBundlePluginInspection {
7330
+ readonly pluginsDir: string;
7331
+ readonly cacheDirPresent: boolean;
7332
+ readonly loaded: readonly ILoadedBundlePlugin[];
7333
+ readonly skipped: readonly IBundlePluginSkip[];
7334
+ readonly hookIssues: readonly IBundlePluginHookIssue[];
7335
+ readonly mcpServers: readonly IBundlePluginMcpServer[];
7336
+ readonly mcpFaults: readonly IBundlePluginMcpFault[];
7337
+ }
7338
+ /** Map of plugin identifiers to enabled/disabled state. */
7339
+ type TEnabledPlugins = Record<string, boolean>;
7340
+ //#endregion
7341
+ //#region src/contributions/bundle-contribution-descriptor.d.ts
7342
+ /** Normalize parsed bundle assets without importing code, exposing credentials, or admitting effects. */
7343
+ declare function describeBundleContribution(plugin: ILoadedBundlePlugin, installedIdentity: string): IContributionDescriptor;
7344
+ //#endregion
7078
7345
  //#region src/hooks/agent-executor.d.ts
7079
7346
  /** A minimal session interface for running a prompt. */
7080
7347
  interface IAgentSession {
@@ -7217,6 +7484,7 @@ interface ISubagentParentContext {
7217
7484
  }
7218
7485
  /** Options for creating a subagent session. */
7219
7486
  interface ISubagentOptions {
7487
+ readonly pathProtection?: IPathProtectionPolicy;
7220
7488
  /** Agent definition (built-in or custom). */
7221
7489
  agentDefinition: IAgentDefinition;
7222
7490
  /**
@@ -7303,6 +7571,7 @@ interface ISubagentOptions {
7303
7571
  success?: boolean;
7304
7572
  denied?: boolean;
7305
7573
  toolResultData?: string;
7574
+ toolResultParts?: TUniversalMessagePart[];
7306
7575
  executionId?: string;
7307
7576
  }) => void;
7308
7577
  /** Selected command semantic roles inherited from the parent session. */
@@ -7319,6 +7588,7 @@ declare function createSubagentSession(options: ISubagentOptions): Session;
7319
7588
  //#endregion
7320
7589
  //#region src/subagents/in-process-subagent-runner.d.ts
7321
7590
  interface IInProcessSubagentRunnerDeps {
7591
+ readonly pathProtection?: IPathProtectionPolicy;
7322
7592
  config: IResolvedConfig;
7323
7593
  /**
7324
7594
  * The parent's EFFECTIVE rules, read live at spawn (issue #3081): settings plus preset lists plus
@@ -7347,6 +7617,7 @@ interface IInProcessSubagentRunnerDeps {
7347
7617
  success?: boolean;
7348
7618
  denied?: boolean;
7349
7619
  toolResultData?: string;
7620
+ toolResultParts?: TUniversalMessagePart[];
7350
7621
  executionId?: string;
7351
7622
  }) => void;
7352
7623
  customAgentRegistry?: (name: string) => IAgentDefinition | undefined;
@@ -7458,6 +7729,7 @@ type TSessionResponseFormat = IResponseFormatConfig;
7458
7729
  type TAutoCompactThreshold$1 = TAutoCompactThreshold;
7459
7730
  /** Options for the createSession factory */
7460
7731
  interface ICreateSessionOptions {
7732
+ readonly pathProtection?: IPathProtectionPolicy;
7461
7733
  /** Additive response style; it never replaces framework, project, permission, or capability sections. */
7462
7734
  outputStyle?: IOutputStylePrompt;
7463
7735
  /** Resolved CLI configuration (model, API key, permissions) */
@@ -7510,6 +7782,8 @@ interface ICreateSessionOptions {
7510
7782
  promptForApproval?: (terminal: ITerminalOutput$1, toolName: string, toolArgs: TToolArgs) => Promise<TPermissionResult>;
7511
7783
  /** Additional tools to register beyond the defaults (e.g. agent-tool) */
7512
7784
  additionalTools?: IToolWithEventService[];
7785
+ /** Host-selected resource/dependency policy, independent of permission admission. */
7786
+ toolExecutionPolicy?: ISessionOptions['toolExecutionPolicy'];
7513
7787
  /**
7514
7788
  * ARCH-006: REPLACES the framework's `createDefaultTools()` tier for this session; `[]` suppresses every
7515
7789
  * framework default so a product's capability packs can own the whole tool surface. Mirrors NEUT-003's
@@ -7576,6 +7850,7 @@ interface ICreateSessionOptions {
7576
7850
  success?: boolean;
7577
7851
  denied?: boolean;
7578
7852
  toolResultData?: string;
7853
+ toolResultParts?: TUniversalMessagePart[];
7579
7854
  executionId?: string;
7580
7855
  }) => void;
7581
7856
  /** Callback when context is compacted */
@@ -7591,7 +7866,7 @@ interface ICreateSessionOptions {
7591
7866
  compactInstructions?: string;
7592
7867
  /**
7593
7868
  * NEUT-005: concrete remediation wording for the core's hard-capacity notice, forwarded to the
7594
- * session's Robota config. Absent ⇒ derived from the composed command set (see
7869
+ * session's ConversationAgent config. Absent ⇒ derived from the composed command set (see
7595
7870
  * `deriveContextCapacityHint`); if that yields nothing, the neutral core default applies.
7596
7871
  */
7597
7872
  contextCapacityHint?: string;
@@ -7692,7 +7967,7 @@ interface ICreateSessionOptions {
7692
7967
  * corpus). When present, the adapter-gated `CodebaseRetrieval` tool joins the default set; absent otherwise.
7693
7968
  */
7694
7969
  retrievalAdapter?: IRetrievalAdapter;
7695
- /** Name reported to the underlying Robota agent config. Defaults to 'agent'. */
7970
+ /** Name reported to the underlying ConversationAgent agent config. Defaults to 'agent'. */
7696
7971
  agentName?: string;
7697
7972
  /** Active preset id selected at startup (PRESET-011 runtime state). Defaults to 'default'. */
7698
7973
  activePresetId?: string;
@@ -7876,8 +8151,8 @@ declare function createAgentTool(deps: IAgentToolDeps): ReturnType<typeof create
7876
8151
  /** Aggregates commands from multiple sources */
7877
8152
  declare class CommandRegistry {
7878
8153
  private sources;
7879
- addSource(source: ICommandSource): void;
7880
- replaceSource(name: string, source?: ICommandSource): void;
8154
+ addSource(source: ICommandSource$1): void;
8155
+ replaceSource(name: string, source?: ICommandSource$1): void;
7881
8156
  addModule(module: ICommandModule): void;
7882
8157
  /** Get all commands, optionally filtered by prefix */
7883
8158
  getCommands(filter?: string): ICommand[];
@@ -7890,7 +8165,7 @@ declare class CommandRegistry {
7890
8165
  //#endregion
7891
8166
  //#region src/commands/builtin-source.d.ts
7892
8167
  /** Command source for SDK-owned built-in commands. */
7893
- declare class BuiltinCommandSource implements ICommandSource {
8168
+ declare class BuiltinCommandSource implements ICommandSource$1 {
7894
8169
  readonly name = "builtin";
7895
8170
  private readonly commands;
7896
8171
  constructor(systemCommands?: readonly ISystemCommand[]);
@@ -8013,118 +8288,6 @@ declare class NodeHostPluginSettingsStore {
8013
8288
  private getMarketplaceSourcesFrom;
8014
8289
  }
8015
8290
  //#endregion
8016
- //#region src/frontmatter/frontmatter-types.d.ts
8017
- type TFrontmatterScalar = string | number | boolean;
8018
- interface ISkillFrontmatter {
8019
- name?: string;
8020
- description?: string;
8021
- model?: string;
8022
- argumentHint?: string;
8023
- disableModelInvocation?: boolean;
8024
- userInvocable?: boolean;
8025
- allowedTools?: string[];
8026
- effort?: TModelEffort;
8027
- context?: 'fork';
8028
- agent?: string;
8029
- loop?: string;
8030
- invocable?: boolean;
8031
- license?: string;
8032
- metadata?: Record<string, TFrontmatterScalar>;
8033
- }
8034
- interface IBundleSkillFrontmatter extends ISkillFrontmatter {
8035
- tags?: string[];
8036
- }
8037
- //#endregion
8038
- //#region src/plugins/bundle-plugin-types.d.ts
8039
- /** Feature flags indicating what a bundle plugin provides. */
8040
- interface IBundlePluginFeatures {
8041
- commands?: boolean;
8042
- agents?: boolean;
8043
- skills?: boolean;
8044
- hooks?: boolean;
8045
- mcp?: boolean;
8046
- }
8047
- /** Manifest read from `.claude-plugin/plugin.json`. */
8048
- interface IBundlePluginManifest {
8049
- name: string;
8050
- version: string;
8051
- description: string;
8052
- features: IBundlePluginFeatures;
8053
- }
8054
- /** A skill loaded from a bundle plugin's `skills/` directory. */
8055
- interface IBundleSkill extends IBundleSkillFrontmatter {
8056
- name: string;
8057
- description: string;
8058
- skillContent: string;
8059
- /** The absolute directory the skill's file is in. */
8060
- skillDirectory?: string;
8061
- }
8062
- /** A fully loaded bundle plugin with all its assets. */
8063
- interface ILoadedBundlePlugin {
8064
- manifest: IBundlePluginManifest;
8065
- skills: IBundleSkill[];
8066
- commands: IBundleSkill[];
8067
- hooks: Record<string, unknown>;
8068
- /** The parsed `.mcp.json` document, when the plugin ships one. */
8069
- mcpConfig?: TUniversalValue;
8070
- agents: string[];
8071
- pluginDir: string;
8072
- }
8073
- /** Why a discovered plugin was not loaded (OBSERVABILITY-1991 inspection). */
8074
- type TBundlePluginSkipReason = 'manifest-unreadable' | 'manifest-invalid' | 'disabled' | 'load-failed';
8075
- /** A plugin the loader discovered but did not load, and why. */
8076
- interface IBundlePluginSkip {
8077
- readonly pluginId: string;
8078
- readonly manifestPath: string;
8079
- readonly reason: TBundlePluginSkipReason;
8080
- /** The owner error's name and message — never file content. */
8081
- readonly detail?: string;
8082
- }
8083
- /** A hooks.json that a loaded plugin ships but which fails the settings hooks schema. */
8084
- interface IBundlePluginHookIssue {
8085
- readonly pluginId: string;
8086
- readonly hooksPath: string;
8087
- /** Failing issue paths and codes, as the schema reports them; never values. */
8088
- readonly issues: readonly {
8089
- readonly path: string;
8090
- readonly code: string;
8091
- }[];
8092
- }
8093
- /** One MCP server a loaded plugin declares in its `.mcp.json` — keys only, never env values. */
8094
- interface IBundlePluginMcpServer {
8095
- readonly pluginId: string;
8096
- readonly mcpPath: string;
8097
- readonly name: string;
8098
- readonly transport: 'stdio' | 'http' | 'unknown';
8099
- readonly command?: string;
8100
- readonly url?: string;
8101
- readonly envKeys: readonly string[];
8102
- }
8103
- /** A `.mcp.json` that is present but structurally unusable. */
8104
- interface IBundlePluginMcpFault {
8105
- readonly pluginId: string;
8106
- readonly mcpPath: string;
8107
- readonly reason: 'not-an-object' | 'no-servers';
8108
- }
8109
- /**
8110
- * The loader's read-only inspection result; `loadPluginsSync()` is its `loaded` projection.
8111
- *
8112
- * `loaded` is the runtime shape and still carries each plugin's raw `mcpConfig`; a diagnostic renders
8113
- * only the inspection's own fields (`skipped`, `hookIssues`, `mcpServers`, `mcpFaults`), which carry
8114
- * names, paths, reasons and env KEY names — never values.
8115
- */
8116
- interface IBundlePluginInspection {
8117
- readonly pluginsDir: string;
8118
- readonly cacheDirPresent: boolean;
8119
- readonly loaded: readonly ILoadedBundlePlugin[];
8120
- readonly skipped: readonly IBundlePluginSkip[];
8121
- readonly hookIssues: readonly IBundlePluginHookIssue[];
8122
- readonly mcpServers: readonly IBundlePluginMcpServer[];
8123
- readonly mcpFaults: readonly IBundlePluginMcpFault[];
8124
- }
8125
- /** Map of plugin identifiers to enabled/disabled state. */
8126
- type TEnabledPlugins = Record<string, boolean>;
8127
- //#endregion
8128
8291
  //#region src/plugins/bundle-plugin-loader.d.ts
8129
8292
  /** Loader for directory-based bundle plugins from the cache directory. */
8130
8293
  declare class BundlePluginLoader {
@@ -8149,11 +8312,13 @@ declare class BundlePluginLoader {
8149
8312
  * and the manifest path. Read-only; the owner's view a pre-session doctor renders.
8150
8313
  *
8151
8314
  * Directory structure: `<pluginsDir>/cache/<marketplace>/<plugin>/<version>/`
8152
- * For each marketplace/plugin pair, the latest version (lexicographically last) is loaded.
8315
+ * Installed records select revisions; ambiguous unregistered caches are refused.
8153
8316
  */
8154
8317
  inspectPluginsSync(): IBundlePluginInspection;
8155
- /** Classify one `<marketplace>/<plugin>` directory: its latest version is loaded or skipped by name. */
8318
+ /** Classify one selected installed source without guessing between cached revisions. */
8156
8319
  private inspectPluginDir;
8320
+ private snapshotInstalledSelection;
8321
+ private selectRevision;
8157
8322
  /** Read and validate a plugin.json manifest. Returns null if the manifest structure is invalid. */
8158
8323
  private readManifest;
8159
8324
  /**
@@ -8170,8 +8335,6 @@ declare class BundlePluginLoader {
8170
8335
  private loadCommands;
8171
8336
  /** Load hooks from hooks/hooks.json if present. */
8172
8337
  private loadHooks;
8173
- /** Load MCP server configuration from `.mcp.json` at the plugin root if present. */
8174
- private loadMcpConfig;
8175
8338
  /** Load agent definitions from agents/ directory if present. */
8176
8339
  private loadAgents;
8177
8340
  }
@@ -8370,7 +8533,7 @@ declare class BundlePluginInstaller {
8370
8533
  * - Skills: exposed as `/name` with `(plugin-name)` hint in description.
8371
8534
  * - Commands: exposed as `/plugin:command` (already namespaced by the loader).
8372
8535
  */
8373
- declare class PluginCommandSource implements ICommandSource {
8536
+ declare class PluginCommandSource implements ICommandSource$1 {
8374
8537
  readonly name = "plugin";
8375
8538
  private readonly plugins;
8376
8539
  constructor(plugins: ILoadedBundlePlugin[]);
@@ -8435,6 +8598,8 @@ declare function findUnknownModuleNames(availableNames: readonly string[], enabl
8435
8598
  //#region src/commands/skill-executor.d.ts
8436
8599
  /** Options passed to the fork execution callback */
8437
8600
  interface IForkExecutionOptions {
8601
+ /** Cancellation belongs to the execution that owns these instructions. */
8602
+ signal?: AbortSignal;
8438
8603
  /** Agent identity to use (e.g., 'Explore', 'Plan') */
8439
8604
  agent?: string;
8440
8605
  /** Tools the subagent is allowed to use */
@@ -8446,12 +8611,17 @@ interface IForkExecutionOptions {
8446
8611
  }
8447
8612
  /** Callback interface for skill execution infrastructure */
8448
8613
  interface ISkillExecutionCallbacks {
8614
+ signal?: AbortSignal;
8615
+ /** Injection transfers a verified window to the actual model turn; it closes when that turn ends. */
8616
+ retainActivation?: (activation: ISkillContentActivation) => void;
8449
8617
  /**
8450
8618
  * Run skill content in an isolated subagent session.
8451
8619
  * The content becomes the subagent's prompt.
8452
8620
  * Returns the subagent's response.
8453
8621
  */
8454
- runInFork?: (content: string, options: IForkExecutionOptions) => Promise<string>;
8622
+ runInFork?: (content: string, options: IForkExecutionOptions, activation?: ISkillContentActivation) => Promise<string>;
8623
+ /** Describe how this execution can read the activation's supporting resources. */
8624
+ describeResources?: (activation: ISkillContentActivation) => string;
8455
8625
  /** Shell exec function for preprocessing `` !`cmd` `` patterns — injected from composition root. */
8456
8626
  shellExec?: TShellExecFn;
8457
8627
  }
@@ -8617,6 +8787,8 @@ interface ICompletedToolExecution {
8617
8787
  /** Options threaded through submit/executePrompt for non-user turns (FLOW-002). */
8618
8788
  interface ITurnOptions extends ISubmitOptions {
8619
8789
  turnSource?: TTurnSource;
8790
+ /** Host-owned preparation runs only after this accepted turn owns foreground execution. */
8791
+ preparePrompt?: () => Promise<string>;
8620
8792
  /** When set, the in-flight wake for this background task id is cleared on turn completion. */
8621
8793
  wakeTaskId?: string;
8622
8794
  }
@@ -8828,7 +9000,7 @@ declare function sandboxApprovalFor(client: ISandboxClient): ICommandSandboxAppr
8828
9000
  *
8829
9001
  * @param parentSessionId - ID of the parent session (used as directory name)
8830
9002
  * @param agentId - Unique identifier for this subagent run
8831
- * @param baseLogsDir - Root logs directory (e.g., `.robota/logs`)
9003
+ * @param baseLogsDir - Root logs directory (e.g., `.agent/logs`)
8832
9004
  * @returns A FileSessionLogger writing to the subagent directory
8833
9005
  */
8834
9006
  declare function createSubagentLogger(parentSessionId: string, _agentId: string, baseLogsDir: string, fs?: IFileSystem): FileSessionLogger;
@@ -9014,6 +9186,8 @@ interface IInteractiveSessionStandardOptions {
9014
9186
  taskContext?: IResolvedConfig['taskContext'];
9015
9187
  /** Explicit user settings layers; absent means no ambient user file is read. */
9016
9188
  userSettingsSources?: readonly INodeHostSettingsSource[];
9189
+ /** Per-session host environment for resolving $ENV credential references. */
9190
+ environment?: Readonly<Record<string, string | undefined>>;
9017
9191
  /** Host-composed filesystem sources for skill activation; absence disables skill file reads. */
9018
9192
  contributionSources?: readonly IContributionSource[];
9019
9193
  /** Ordered host-owned roots scanned against the provided contribution sources. */
@@ -9104,6 +9278,7 @@ interface IInteractiveSessionStandardOptions {
9104
9278
  commandModules?: readonly ICommandModule[];
9105
9279
  /** Host adapters available to composed command modules. */
9106
9280
  commandHostAdapters?: ICommandHostAdapters;
9281
+ commandProductVocabulary?: ICommandProductVocabulary;
9107
9282
  /** Shell exec function for preprocessing `` !`cmd` `` patterns in skills — injected from composition root. */
9108
9283
  shellExec?: TShellExecFn;
9109
9284
  /**
@@ -9169,7 +9344,7 @@ interface IInteractiveSessionStandardOptions {
9169
9344
  sandboxWorkspaceRoot?: string;
9170
9345
  /** Provider sandbox snapshot id to restore before replaying saved messages. */
9171
9346
  sandboxSnapshotId?: string;
9172
- /** Name reported to the underlying Robota agent config. Defaults to 'agent'. */
9347
+ /** Name reported to the underlying ConversationAgent agent config. Defaults to 'agent'. */
9173
9348
  agentName?: string;
9174
9349
  /** Active preset id selected at startup (PRESET-011 runtime state). Defaults to 'default'. */
9175
9350
  activePresetId?: string;
@@ -9181,6 +9356,8 @@ interface IInteractiveSessionStandardOptions {
9181
9356
  orgPolicy?: IOrgPolicy;
9182
9357
  /** Additional tools registered alongside the default CLI tools. */
9183
9358
  additionalTools?: IToolWithEventService[];
9359
+ /** Scheduling is a current host decision, never restored permission or plugin authority. */
9360
+ toolExecutionPolicy?: ICreateSessionOptions['toolExecutionPolicy'];
9184
9361
  /**
9185
9362
  * ARCH-006: REPLACES the framework's `createDefaultTools()` tier; `[]` suppresses every framework
9186
9363
  * default so a product's capability packs can own the whole tool surface. Mirrors NEUT-003's
@@ -9233,6 +9410,7 @@ interface IInteractiveSessionInjectedOptions {
9233
9410
  commandModules?: readonly ICommandModule[];
9234
9411
  /** Host adapters available to composed command modules. */
9235
9412
  commandHostAdapters?: ICommandHostAdapters;
9413
+ commandProductVocabulary?: ICommandProductVocabulary;
9236
9414
  /** TERM-001: transport-provided terminal-handoff capability (see standard options). */
9237
9415
  terminalHandoff?: ITerminalHandoff;
9238
9416
  /** Builds each external-event grant's verifier; absent, the session opens no grant. */
@@ -9304,6 +9482,14 @@ declare class SessionSkillRouter {
9304
9482
  private readonly remoteCommandPolicy?;
9305
9483
  /** Skills from the bundle plugins the session loaded. */
9306
9484
  private pluginSkills;
9485
+ /** Defer host-supplied instructions until their submitted turn owns execution. */
9486
+ private readonly onSubmitPreparedSkill?;
9487
+ private readonly forkResourceWindow;
9488
+ private skillWindow?;
9489
+ beginTurnSkillActivation(turnId: string | symbol, signal?: AbortSignal): void;
9490
+ endTurnSkillActivation(turnId: string | symbol): readonly Error[];
9491
+ abortSkillActivations(): readonly Error[];
9492
+ validateTurnSkillActivations(turnId: string): Promise<void>;
9307
9493
  readonly commandExecutor: SystemCommandExecutor;
9308
9494
  /** Command modules received at construction — retained for live re-selection (PRESET-015). */
9309
9495
  private readonly allCommandModules;
@@ -9323,7 +9509,9 @@ declare class SessionSkillRouter {
9323
9509
  /** Optional remote-command policy (REMOTE-006). Undefined → allow (local == remote); provide one only to opt into a restriction. */
9324
9510
  remoteCommandPolicy?: IRemoteCommandPolicy | undefined,
9325
9511
  /** Skills from the bundle plugins the session loaded. */
9326
- pluginSkills?: readonly ICommand[]);
9512
+ pluginSkills?: readonly ICommand[],
9513
+ /** Defer host-supplied instructions until their submitted turn owns execution. */
9514
+ onSubmitPreparedSkill?: ((preparePrompt: () => Promise<string>, displayInput: string | undefined, rawInput: string | undefined, originDriverId: TDriverId | undefined) => Promise<void>) | undefined);
9327
9515
  /**
9328
9516
  * PRESET-015 — re-filter the session's command modules and rebuild the executor live. INFRA-032 also
9329
9517
  * returns unmatched `enabled`/`disabled` names so `/preset` can report them instead of dropping them.
@@ -9331,13 +9519,16 @@ declare class SessionSkillRouter {
9331
9519
  reapplyCommandModuleSelection(enabled: readonly string[] | undefined, disabled: readonly string[] | undefined): readonly IUnknownCommandModuleName[];
9332
9520
  shutdownModules(): Promise<unknown[]>;
9333
9521
  getCommandInvocationSource(): TCommandInvocationSource$1;
9522
+ canRunDuringTurn(name: string, args: string, source: TCommandInvocationSource$1): boolean;
9334
9523
  /** #3282 §4 part b-2: allow-by-default, matching every other transport-origin default here. */
9335
9524
  getCommandSurfaceLocality(): TCommandSurfaceLocality$1;
9525
+ getCommandSurfaceLocalityEvidence(): TCommandSurfaceLocality$1 | undefined;
9336
9526
  getCommandOriginDriverId(): TDriverId | undefined;
9337
9527
  getCommandHostAdapters(): ICommandHostAdapters;
9338
9528
  listCommands(): ICommandListEntry$1[];
9339
9529
  replacePluginSkills(skills: readonly ICommand[]): void;
9340
9530
  listSkills(): ICommandSkillListEntry[];
9531
+ readSkillResource(name: string, uri: string): Promise<ISkillResource>;
9341
9532
  /** The session's own skills, then the plugin skills whose names they do not already use. */
9342
9533
  private allSkills;
9343
9534
  listModelInvocableCommands(): Array<{
@@ -9406,13 +9597,14 @@ declare class SessionExecutionController {
9406
9597
  success?: boolean;
9407
9598
  denied?: boolean;
9408
9599
  toolResultData?: string;
9600
+ toolResultParts?: TUniversalMessagePart[];
9409
9601
  executionId?: string;
9410
9602
  }): void;
9411
9603
  /** Opt-in content of one of the running turn's own calls; never throws into the tool wrapper. */
9412
9604
  private captureLiveToolContent;
9413
9605
  emitExecutionWorkspaceUpdated(cause: TExecutionWorkspaceUpdateCause, entryId?: string): void;
9414
9606
  protected drainPendingQueue(resumeQueuedTurn: TResumeQueuedTurnFn): void;
9415
- executePrompt(input: string, displayInput: string | undefined, rawInput: string | undefined, agentsFileEntries: IContextFileEntry[], projectNotesFileEntries: IContextFileEntry[], rebuildSystemMessage: ICreatedInteractiveSession['rebuildSystemMessage'] | null, setEntries: (agents: IContextFileEntry[], claude: IContextFileEntry[]) => void, resumeQueuedTurn: TResumeQueuedTurnFn, turnId: string, turnOptions?: ITurnOptions): Promise<void>;
9607
+ executePrompt(submittedInput: string, displayInput: string | undefined, rawInput: string | undefined, agentsFileEntries: IContextFileEntry[], projectNotesFileEntries: IContextFileEntry[], rebuildSystemMessage: ICreatedInteractiveSession['rebuildSystemMessage'] | null, setEntries: (agents: IContextFileEntry[], claude: IContextFileEntry[]) => void, resumeQueuedTurn: TResumeQueuedTurnFn, turnId: string, turnOptions?: ITurnOptions): Promise<void>;
9416
9608
  /**
9417
9609
  * The trace a prompt's provider calls and child processes carry, only while that prompt's root
9418
9610
  * exists and only when the host configured origins or subprocess classes. Built per prompt, so no
@@ -9448,9 +9640,11 @@ declare abstract class InteractiveSessionBase {
9448
9640
  validateCurrentSessionReplayLog(): ICommandSessionReplayValidationReport;
9449
9641
  getCommandInvocationSource(): TCommandInvocationSource$1;
9450
9642
  getCommandSurfaceLocality(): TCommandSurfaceLocality$1;
9643
+ getCommandSurfaceLocalityEvidence(): TCommandSurfaceLocality$1 | undefined;
9451
9644
  executeSkillCommandByName(name: string, args: string, request: ICommandSkillActivationRequest): Promise<ICommandResult$1 | null>;
9452
9645
  listCommands(): ICommandListEntry$1[];
9453
9646
  listSkills(): ICommandSkillListEntry[];
9647
+ readSkillResource(name: string, uri: string): Promise<ISkillResource>;
9454
9648
  listModelInvocableCommands(): Array<{
9455
9649
  name: string;
9456
9650
  description: string;
@@ -9545,6 +9739,8 @@ interface IInteractiveSessionShutdownOptions {
9545
9739
  message?: string;
9546
9740
  }
9547
9741
  declare class InteractiveSession extends InteractiveSessionBase implements ISession, IAgentJobHostContext, IInteractiveSession$1, ICommandHostContext, ISessionProjectRead {
9742
+ private readonly commandProductVocabulary?;
9743
+ getCommandProductVocabulary(): ICommandProductVocabulary | undefined;
9548
9744
  private session;
9549
9745
  private readonly listeners;
9550
9746
  private initialized;
@@ -9589,6 +9785,7 @@ declare class InteractiveSession extends InteractiveSessionBase implements ISess
9589
9785
  private readonly peerTurnRate;
9590
9786
  private readonly sandboxClient?;
9591
9787
  private injectedMemoryStore?;
9788
+ private readonly startupMemoryEnabled;
9592
9789
  private readonly automaticMemory?;
9593
9790
  private readonly recallMemory?;
9594
9791
  /** SELFHOST-008 P2/P3: the capture + recall hooks over the one shared memory store. */
@@ -9598,6 +9795,7 @@ declare class InteractiveSession extends InteractiveSessionBase implements ISess
9598
9795
  private projectNotesFileEntries;
9599
9796
  private rebuildSystemMessage;
9600
9797
  private providerDefinitions;
9798
+ private readonly providerEnvironment?;
9601
9799
  private activeOutputStyleId;
9602
9800
  private orgPolicy;
9603
9801
  /** #3282 §3 — see the option doc comment on `IInteractiveSessionStandardOptions.setupRequired`. */
@@ -9983,6 +10181,7 @@ interface IInteractiveRuntimeOptions {
9983
10181
  projectAccess?: TWorkspaceProjectAccess;
9984
10182
  /** Explicit user settings layers for this runtime's session. */
9985
10183
  userSettingsSources?: readonly INodeHostSettingsSource[];
10184
+ environment?: Readonly<Record<string, string | undefined>>;
9986
10185
  /** Session store for persistence. */
9987
10186
  sessionStore?: IInteractiveSessionStore$1;
9988
10187
  /** Permission mode for tool execution (parity with the TUI/headless channels). */
@@ -9992,5 +10191,5 @@ interface IInteractiveRuntimeOptions {
9992
10191
  type IInteractiveRuntimeTestOptions = Omit<IInteractiveRuntimeOptions, 'provider' | 'cwd'>;
9993
10192
  declare function createInteractiveRuntime(options: IInteractiveRuntimeOptions): IInteractiveRuntime;
9994
10193
  //#endregion
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$1 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-BhC0t5ec.d.ts.map
10194
+ export { IBundlePluginInstallerOptions as $, TSystemCommandSemanticRole as $a, ICommandSessionContextWindow as $c, deleteSettings as $i, IEditCheckpointRestoreResult as $l, listCommandEditCheckpoints as $n, isGoalCancelVerb as $o, groupPermissionRulesBySource as $r, IWorkspaceMoveRequest as $s, IPromptExecutorOptions as $t, parsePromptFileReferences as A, setCommandAutoCompactThreshold as Aa, IWorkspaceAncestorTextEntry as Ac, resolveModelListSelection as Ai, createMainThreadDetailPage as Al, IContributionSource as An, IMemoryPendingRecord as Ao, isAppearanceSettingsPatch as Ar, ICommandMCPOAuthLoginRequest as As, IToolCallHandoffPolicy as At, IRemoteCommandPolicy as B, buildProviderProfile as Ba, IWorkspaceTrustGrant as Bc, resolveActiveProvider as Bi, parseExecutionWorkspaceEntryId as Bl, MEMORY_COMMAND_USAGE as Bn, ProjectMemoryStore as Bo, applyPresetToSession as Br, ICommandPickerAdapter as Bs, assembleSubagentPrompt as Bt, createSubagentLogger as C, compactCommandContext as Ca, resolveReusableEmptySessionId as Cc, parseCommandBackgroundLogCursor as Ci, IBackgroundTaskSpawnerGroupRequest as Cl, ISkillRootInspection as Cn, IMemoryWriter as Co, createShowPluginManagerIntent as Cr, ICommandEffortAdapter as Cs, ISkillPromptContext as Ct, TSettingsMergeRule as D, readCommandContextState as Da, WorkspaceSessionLogSource as Dc, buildProviderProfilesSnapshot as Di, ISpawnProcessTaskRequest as Dl, TSkillSkipReason as Dn, IAutomaticMemoryConfig as Do, IAppearanceSettings as Dr, ICommandHostAdapters as Ds, ILivePromptTracePort as Dt, IHookDefinitionSource as E, readAutoCompactThresholdSource as Ea, WorkspaceSessionLogSink as Ec, formatCommandHelpMessage as Ei, ISpawnAgentTaskRequest as El, SkillCommandSource as En, ISemanticMemoryQueryResult as Eo, DEFAULT_APPEARANCE_SETTINGS as Er, ICommandHandoffAdapter as Es, substituteVariables as Et, toPromptFileReferenceRecords as F, IProviderProfileSettings as Fa, IWorkspaceProjectMutation as Fc, readProviderSettings as Fi, EXECUTION_ORIGIN_METADATA_KEYS as Fl, TSandboxSettings as Fn, IAppendMemoryResult as Fo, applyStatusLineSettings as Fr, ICommandMCPSourceProblem as Fs, ISubagentOptions as Ft, ISkillExecutionCallbacks as G, upsertProviderProfile as Ga, TWorkspaceProjectAuthorityCandidate as Gc, applyProviderConfiguration as Gi, ICommandResult$1 as Gl, listCommandUsedMemoryReferences as Gn, createGoalStatusTool as Go, PERMISSION_MODE_COMMAND_DESCRIPTION as Gr, ICommandSettingsAdapter as Gs, IReversibleToolSafetyInput as Gt, ISkillActivationHistoryData as H, deleteProviderProfile as Ha, IWorkspaceTrustStoreSnapshot as Hc, IActiveModelChangeResult as Hi, IBackgroundJobOrchestratorOptions as Hl, createCommandMemoryStores as Hn, buildGoalContinuationPrompt as Ho, IPermissionsCommandState as Hr, ICommandRemoteControlAdapter as Hs, getSubagentSuffix as Ht, IExecutionResult$2 as I, IProviderSettingsBuildOptions as Ia, IWorkspaceProjectReader as Ic, resolveEnvDefaultProvider as Ii, createBackgroundGroupExecutionEntryId as Il, TSettings as In, IProjectMemorySummary as Io, buildStatusLineCommandSubcommands as Ir, ICommandOutputStyleRegistryAdapter as Is, ISubagentParentContext as It, findUnknownModuleNames as J, TCommandModuleSessionRequirement as Ja, TWorkspaceProjectSettingsWriteDecision as Jc, createWorkspaceProjectSettingsStore as Ji, IEditCheckpointFileRecord as Jl, REWIND_COMMAND_DESCRIPTION as Jn, GoalController as Jo, TPermissionRuleKind as Jr, IHandoffProgress as Js, TReversibleRollbackLayer as Jt, ISkillExecutionResult as K, validateProviderProfile as Ka, TWorkspaceProjectMutationDecision as Kc, applyProviderSwitch as Ki, IOrgPolicy as Kl, recordCommandMemoryEvent as Kn, DEFAULT_GOAL_MAX_ITERATIONS as Ko, PERMISSION_MODE_LABELS as Kr, ICommandSettingsDocument as Ks, IReversibleToolSafetyReport as Kt, TInteractivePermissionHandler as L, IProviderSetupInput as La, IWorkspaceProjectSettingsWriter as Lc, mergeProviders as Li, createBackgroundTaskExecutionEntryId as Ll, createSystemCommands as Ln, IStartupMemory as Lo, isStatusLineCommandSettingsPatch as Lr, ICommandOutputStyleSummary as Ls, createSubagentSession as Lt, createPromptFileReferenceHistoryEntry as M, IProviderCommandModuleOptions as Ma, IWorkspaceIdentity as Mc, ProviderConfigError as Mi, TExecutionAttachOutcome as Ml, ILoadContextOptions as Mn, TMemoryCandidateStatus as Mo, DEFAULT_STATUS_LINE_COMMAND_SETTINGS as Mr, ICommandMCPOAuthLogoutResult as Ms, IInProcessSubagentRunnerDeps as Mt, formatPromptFileReferenceDiagnostics as N, IProviderCommandSettingsAdapter as Na, IWorkspaceIdentityResolver as Nc, createProviderFromSettings as Ni, resolveExecutionAttach as Nl, IResolvedConfig as Nn, TMemoryPolicyMode as No, STATUSLINE_COMMAND_ARGUMENT_HINT as Nr, ICommandMCPOAuthRedirectPrompt as Ns, TSubagentRunnerFactory as Nt, resolvePromptFileReferencePaths as O, removeCommandContextReference as Oa, IRestrictedWorkspaceProjectAccess as Oc, IModelListSelection as Oi, createExecutionWorkspaceTaskSpawner as Ol, createSkillCommand as On, IMemoryCandidate as Oo, TAppearanceSettingsPatch as Or, ICommandMCPActivationAdapter as Os, ICreateSessionOptions as Ot, hasBlockingPromptFileReferenceDiagnostics as P, ILegacyProviderSettings as Pa, IWorkspaceProjectAuthority as Pc, readMergedProviderSettings as Pi, createExecutionWorkspaceSnapshot as Pl, TEnvResolvedSettings as Pn, IAppendMemoryInput as Po, STATUSLINE_COMMAND_DESCRIPTION as Pr, ICommandMCPOAuthStatus as Ps, createInProcessSubagentRunner as Pt, BundlePluginInstaller as Q, TSystemCommandLifecycle as Qa, IOutputStylePrompt as Qc, TSettingsScope as Qi, IEditCheckpointRecorder as Ql, listCommandEditCheckpointBranches as Qn, extractGoalSignal as Qo, formatInvalidPermissionModeMessage as Qr, IPermissionRuleRemoval as Qs, wrapReversibleExecutionTools as Qt, TPermissionResultValue$1 as R, IProviderSetupPatch as Ra, IWorkspaceProjectStateStorage as Rc, mergeSettings as Ri, createExecutionOriginMetadata as Rl, MEMORY_COMMAND_ARGUMENT_HINT as Rn, MEMORY_INDEX_MAX_BYTES as Ro, readStatusLineSettings as Rr, ICommandPermissionModeAdapter as Rs, ISubagentPromptOptions as Rt, createExternalEventGrantHistory as S, clearCommandContextReferences as Sa, resolveLatestSessionId as Sc, listCommandBackgroundTasks as Si, IBackgroundTaskRunner$1 as Sl, ISkillRootDescriptor as Sn, IMemoryTopicMutationResult as So, buildPluginCommandSubcommands as Sr, ICommandCostBudgetAdapter as Ss, IAgentToolDeps as St, sandboxApprovalFor as T, readAutoCompactThreshold as Ta, WorkspaceProjectSessionStore as Tc, HELP_COMMAND_DESCRIPTION as Ti, IExecutionWorkspaceTaskSpawner as Tl, ISkillSourceSkip as Tn, ISemanticMemoryAdapter as To, APPEARANCE_SETTINGS_KEYS as Tr, ICommandExternalEventsAdapter as Ts, preprocessShellCommands as Tt, createSkillExecutionPort as U, mergeProviderPatch as Ua, TWorkspaceContributionKind as Uc, IProviderSwitchOptions as Ui, summarizeBackgroundJobGroup as Ul, hasSensitiveCommandMemoryContent as Un, buildGoalStartPrompt as Uo, PERMISSIONS_COMMAND_DESCRIPTION as Ur, ICommandSandboxAdapter as Us, IReversibleExecutionOptions as Ut, createDefaultRemoteCommandPolicy as V, buildProviderSetupPatch as Va, IWorkspaceTrustStore as Vc, IActiveModelChangeOptions as Vi, BackgroundJobOrchestrator as Vl, buildMemoryCommandSubcommands as Vn, isMemoryType as Vo, IPermissionRuleGroup as Vr, ICommandProcessAdapter as Vs, getForkWorkerSuffix as Vt, IForkExecutionOptions as W, setCurrentProvider as Wa, TWorkspaceProjectAccess as Wc, applyActiveModelChange as Wi, ISessionUsageRecord as Wl, isCommandMemoryType as Wn, GOAL_SIGNAL_TOOL_NAME as Wo, PERMISSION_MODE_ARGUMENT_HINT as Wr, ICommandSandboxStatus as Ws, IReversibleToolSafetyContext as Wt, SystemCommandExecutor as X, ISystemCommand as Xa, TWorkspaceProjectStateNamespace as Xc, ISettingsDocumentStore as Xi, IEditCheckpointInspectionPlan as Xl, forkCommandEditCheckpoint as Xn, IGoalStartOptions as Xo, buildPermissionModeSubcommands as Xr, ILinkedDeviceSummary as Xs, TReversibleSideEffect as Xt, selectCommandModules as Y, DuplicateSystemCommandSemanticRoleError as Ya, TWorkspaceProjectStateDirectories as Yc, createNodeHostSettingsStore as Yi, IEditCheckpointInspection as Yl, buildRewindCommandSubcommands as Yn, IGoalSignal as Yo, VALID_PERMISSION_MODES as Yr, IHandoffStaysBehind as Ys, TReversibleSafetyStatus as Yt, PluginCommandSource as Z, ISystemCommandSemanticRoles as Za, TWorkspaceTrustState as Zc, TSettingsData as Zi, IEditCheckpointManifest as Zl, inspectCommandEditCheckpoint as Zn, TGoalDecision as Zo, formatCommandPermissionsMessage as Zr, IPermissionRuleLayer as Zs, evaluateReversibleToolSafety as Zt, ExternalEventIngress as _, AUTO_COMPACT_THRESHOLD_SETTINGS_KEY as _a, createUserSessionStore as _c, buildBackgroundCommandSubcommands as _i, IAgentJobLogs as _l, TBundlePluginSkipReason as _n, IDurableMemoryReader as _o, readCommandSessionInfo as _r, IResolvedPromptFileReferences as _s, createBuiltinCommandModule as _t, IFrontmatterDecodeInput as _u, SessionRenameUnavailableError as a, TProjectSettingsScope as aa, IAdvisorStatus as ac, resolvePermissionModeAdapter as ai, ICommandSessionRuntime as al, IAgentSession as an, ICommandHostContext as ao, EXIT_COMMAND_DESCRIPTION as ar, clearContextReferences as as, loadHostBundlePluginInspectionFromScopes as at, DEFAULT_AGENT_TYPE as au, TExternalEventReceipt as b, TAutoCompactThreshold$2 as ba, listUnreadableSessions as bc, formatCommandBackgroundTask as bi, MONITOR_SHELL_TOOL as bl, IProjectContributionPath as bn, IMemoryRecaller as bo, PLUGIN_COMMAND_DESCRIPTION as br, EditCheckpointStore as bs, retrieveAgentToolDeps as bt, IGenerateSessionNameOptions as c, readSettingsSourceText as ca, parseAdvisorSpec as cc, LANGUAGE_COMMAND_ARGUMENT_HINT as ci, ICommandSessionReplayValidationReport as cl, IBundlePluginFeatures as cn, ICommandHostGoal as co, RENAME_COMMAND_USAGE as cr, removeContextReference as cs, IPluginSettings as ct, EFFORT_LEVEL_LABELS as cu, InteractiveSession as d, THostSettingsScope as da, IInteractiveSessionRecord$1 as dc, TRecommendedResponseLanguage as di, IUnknownCommandModuleName as dl, IBundlePluginManifest as dn, ICommandHostPresetApplication as do, clearConversationHistory as dr, IPromptFileReferenceDiagnostic as ds, IMarketplaceClientOptions as dt, TEffortDisposition as du, readSettings as ea, TRemoteControlStatus as ec, isPermissionMode as ei, ICommandSessionHistory as el, IPromptProvider as en, ICommandHostAdapterAccess as eo, restoreCommandEditCheckpoint as er, IContextReferenceAddResult as es, IInstalledPluginRecord as et, IEditCheckpointSummary as eu, IInteractiveSession$1 as f, TSettingsCheck as fa, IInteractiveSessionStore$1 as fc, buildLanguageCommandSubcommands as fi, TAutoCompactThresholdSource as fl, IBundlePluginMcpFault as fn, ICommandHostSessionAccess as fo, createSessionExitHostAction as fr, IPromptFileReferenceHistoryData as fs, IMarketplaceManifest as ft, TEffortSelection as fu, ExternalEventGrantHistory as g, testProviderProfileCommand as ga, createUserPromptHistoryFile as gc, BACKGROUND_COMMAND_USAGE as gi, IAgentJobHostContext as gl, ILoadedBundlePlugin as gn, ICommandHostWorkspace as go, parseSessionNameArgument as gr, IResolvedPromptFileReference as gs, BuiltinCommandSource as gt, IFrontmatterDecodeFailure as gu, TInteractiveSessionOptions as h, probeProviderProfile as ha, createProjectSessionStore as hc, BACKGROUND_COMMAND_DESCRIPTION as hi, IAgentJobGroups as hl, IBundleSkill as hn, ICommandHostUserInteraction as ho, formatCommandSessionReplayValidationReport as hr, IPromptFileReferenceToken as hs, TMarketplaceSource as ht, resolveModelEffort as hu, IInteractiveRuntime as i, IWorkspaceProjectSettingsSource as ia, IAdvisorSpec as ic, readCommandPermissionsState as ii, ICommandSessionPreset as il, IAgentExecutorOptions as in, ICommandHostCheckpoints as io, COST_COMMAND_DESCRIPTION as ir, IContextReferenceUpsertResult as is, createHostBundlePluginLoader as it, DEFAULT_AGENT_DEFINED_IN as iu, buildPromptWithFileReferences as j, writeAutoCompactThresholdSetting as ja, IWorkspaceDirectoryEntry as jc, IReadProviderSettingsOptions as ji, IResolveExecutionAttachInput as jl, createWorkspaceProjectContributionSource as jn, IMemoryRetrievalResult as jo, readAppearanceSettings as jr, ICommandMCPOAuthLoginResult as js, IToolCallHandoffProvenance as jt, resolvePromptFileReferences as k, resetAutoCompactThresholdSetting as ka, ITrustedWorkspaceProjectAccess as kc, buildModelListSnapshot as ki, createLineDetailPage as kl, inspectSkillSources as kn, IMemoryExtractionInput as ko, applyAppearanceSettings as kr, ICommandMCPActivationSummary as ks, TSessionResponseFormat as kt, generateSessionName as l, INodeHostSettingsSource as la, resolveStartupAdvisorSpec as lc, LANGUAGE_COMMAND_DESCRIPTION as li, ICommandSkillListEntry as ll, IBundlePluginHookIssue as ln, ICommandHostMemory as lo, RESUME_COMMAND_DESCRIPTION as lr, toContextReferenceRecords as ls, NodeHostPluginSettingsStore as lt, IModelEffortInputs as lu, restoreSessionRecordIntoSession as m, checkSettingsDocument as ma, createNodeToolResultSpillStore as mc, parseLanguageArgument as mi, IAgentJobDispatch as ml, IBundlePluginSkip as mn, ICommandHostTerminalHandoff as mo, createShowSessionPickerIntent as mr, IPromptFileReferenceResolveOptions as ms, TKnownMarketplacesRegistry as mt, parseModelEffort as mu, IInteractiveRuntimeTestOptions as n, writeSettings as na, ADVISOR_OFF as nc, parsePermissionModeArgument as ni, ICommandSessionModel as nl, TProviderFactory as nn, ICommandHostBackgroundTasks as no, switchCommandEditCheckpointBranch as nr, IContextReferenceInventoryLimits as ns, MarketplaceClient as nt, TEditCheckpointFileRestoreAction as nu, persistSessionRename as o, TSettingsSource as oa, ICommandAdvisorAdapter as oc, retryCommandPermissionDenial as oi, ICommandHostNoCapability as ol, TSessionFactory as on, ICommandHostContextReferences as oo, ICommandSessionInfo as or, createContextReferenceItem as os, loadHostBundlePluginsFromScopes as ot, IAgentDefinition as ou, ISessionRecordRestoreResult as p, checkNodeHostSettingsFile as pa, createNodeHostSessionStore as pc, formatLanguageUsageMessage as pi, IPresetApplicationOptions as pl, IBundlePluginMcpServer as pn, ICommandHostSetupState as po, createSessionRenameHostAction as pr, IPromptFileReferenceLimits as ps, IMarketplacePluginEntry as pt, TEffortSource as pu, executeSkill as q, ICommandModule as qa, TWorkspaceProjectSettingsTarget as qc, resolveProviderSettingsWriteTarget as qi, IEditCheckpointFileInspection as ql, REWIND_COMMAND_ARGUMENT_HINT as qn, DEFAULT_GOAL_NO_PROGRESS_LIMIT as qo, RUNTIME_RULE_SOURCE as qr, ICommandWorkspaceAdapter as qs, TReversibleExecutionIsolation as qt, createInteractiveRuntime as r, IProjectSettingsPath as ra, IAdvisorSetResult as rc, readCommandPermissionMode as ri, ICommandSessionPermissions as rl, AgentExecutor as rn, ICommandHostCatalog as ro, CLEAR_COMMAND_DESCRIPTION as rr, IContextReferenceRemoveResult as rs, IHostBundlePluginLoaderOptions as rt, ICapabilityDescriptor as ru, PeerMessageIngress as s, createWorkspaceProjectSettingsSources as sa, formatAdvisorSpec as sc, writeCommandPermissionMode as si, ICommandProductVocabulary as sl, describeBundleContribution as sn, ICommandHostContextWindow as so, RENAME_COMMAND_DESCRIPTION as sr, listActiveContextReferences as ss, BundlePluginLoader as st, IProviderErrorGuidance as su, IInteractiveRuntimeOptions as t, updateModelInSettings as ta, TSandboxCommandMode as tc, listCommandSessionAllowedTools as ti, ICommandSessionIdentity as tl, PromptExecutor as tn, ICommandHostAgentJobs as to, rollbackCommandEditCheckpoint as tr, IContextReferenceClearResult as ts, TInstalledPluginsRegistry as tt, IEditCheckpointTurnInput as tu, IInteractiveSessionShutdownOptions as u, createNodeHostSettingsSource as ua, IHostToolResultSpillStore as uc, RECOMMENDED_RESPONSE_LANGUAGES as ui, IModelReapplyOptions as ul, IBundlePluginInspection as un, ICommandHostPlan as uo, VALIDATE_SESSION_COMMAND_DESCRIPTION as ur, upsertContextReference as us, IKnownMarketplaceEntry as ut, IModelEffortResolution as uu, IExternalEventSource as v, DEFAULT_AUTO_COMPACT_THRESHOLD as va, isSafeSessionId$1 as vc, cancelCommandBackgroundTask as vi, IAgentJobMonitors as vl, TEnabledPlugins as vn, IMemoryBudget as vo, validateCommandSessionReplayLog as vr, TPromptFileReferenceDiagnosticCode as vs, CommandRegistry as vt, TFrontmatterDecodeResult as vu, resolveSubagentLogDir as w, listCommandContextReferences as wa, resolveSessionIdByIdOrName as wc, readCommandBackgroundTaskLog as wi, ICreateExecutionWorkspaceTaskSpawnerOptions as wl, ISkillSourceInspection as wn, IPerTurnRecallConfig as wo, resolvePluginCommandAdapter as wr, ICommandExternalEventGrant as ws, TShellExecFn as wt, TExternalEventSettlement as x, addCommandContextReference as xa, listUnreadableSessionsForWorkspace as xc, formatCommandBackgroundTaskList as xi, MonitorCommandRefusedError as xl, listFrameworkProjectContributionPaths as xn, IMemoryStore as xo, RELOAD_PLUGINS_COMMAND_DESCRIPTION as xr, ICommandCostBudget as xs, storeAgentToolDeps as xt, IExternalEventSourceOptions as y, ICompactContextResult as ya, listResumableSessionSummaries as yc, closeCommandBackgroundTask as yi, IAgentJobSchedules as yl, IContributionDescriptor as yn, IMemoryCurationQueue as yo, PLUGIN_COMMAND_ARGUMENT_HINT as yr, wrapEditCheckpointTools as ys, createAgentTool as yt, TFrontmatterProfile as yu, IPromptHistoryOptions as z, TProviderSettingsDocument as za, IWorkspaceTrustCause as zc, readMergedProviderSettingsFromSources as zi, createMainThreadExecutionEntryId as zl, MEMORY_COMMAND_DESCRIPTION as zn, MEMORY_INDEX_MAX_LINES as zo, IPresetApplicationResult as zr, ICommandPermissionRulesAdapter as zs, TSubagentSuffix as zt };
10195
+ //# sourceMappingURL=createInteractiveRuntime-BMLlR29T.d.ts.map