@robota-sdk/agent-framework 3.0.0-beta.83 → 3.0.0-beta.84
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +40 -0
- package/README.md +285 -532
- package/dist/node/{createInteractiveRuntime-DSLwJcwG.d.ts → createInteractiveRuntime-3MZpPTdw.d.ts} +297 -17
- package/dist/node/createInteractiveRuntime-3MZpPTdw.d.ts.map +1 -0
- package/dist/node/{createInteractiveRuntime-DoZCRxLM.d.cts → createInteractiveRuntime-C6lQfeH_.d.cts} +297 -17
- package/dist/node/createInteractiveRuntime-C6lQfeH_.d.cts.map +1 -0
- package/dist/node/index.cjs +16 -16
- package/dist/node/index.d.cts +242 -7
- package/dist/node/index.d.cts.map +1 -1
- package/dist/node/index.d.ts +242 -7
- package/dist/node/index.d.ts.map +1 -1
- package/dist/node/index.js +24 -24
- package/dist/node/index.js.map +1 -1
- package/dist/node/interactive-CPam6fsH.js +128 -0
- package/dist/node/interactive-CPam6fsH.js.map +1 -0
- package/dist/node/interactive-CeUdJtQB.cjs +127 -0
- package/dist/node/testing/index.cjs +2 -2
- package/dist/node/testing/index.d.cts +1 -1
- package/dist/node/testing/index.d.cts.map +1 -1
- package/dist/node/testing/index.d.ts +1 -1
- package/dist/node/testing/index.d.ts.map +1 -1
- package/dist/node/testing/index.js +2 -2
- package/dist/node/testing/index.js.map +1 -1
- package/package.json +20 -19
- package/dist/node/createInteractiveRuntime-DSLwJcwG.d.ts.map +0 -1
- package/dist/node/createInteractiveRuntime-DoZCRxLM.d.cts.map +0 -1
- package/dist/node/interactive-Bo3KGaHV.cjs +0 -122
- package/dist/node/interactive-DhtkQoUk.js +0 -123
- package/dist/node/interactive-DhtkQoUk.js.map +0 -1
package/dist/node/{createInteractiveRuntime-DSLwJcwG.d.ts → createInteractiveRuntime-3MZpPTdw.d.ts}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
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";
|
|
2
|
-
import { IActiveBranchPointer, IBranchEvent, ICompactEvent, IContextReferenceItem, IExecutionResult, IExecutionResult as IExecutionResult$2, IGoalState, IInteractionChannel as IInteractionChannel$1, IInteractiveSession as IInteractiveSession$1, IInteractiveSessionEvents as IInteractiveSessionEvents$1, IInteractiveSessionRecord, IInteractiveSessionRecord as IInteractiveSessionRecord$1, IInteractiveSessionStore, IInteractiveSessionStore as IInteractiveSessionStore$1, IMemoryEvent, IMemoryReference, IPeerTurnContext, IPlanArtifact, IPromptFileReferenceRecord, IPromptHistorySource, IPromptHistoryWriter, IResumableSessionSummary, ISessionListEntry, ISessionLoopState, ISessionStatusSnapshot, ISkillActivationEvent, ISubmitOptions, ITerminalHandoff, IToolState, IToolSummary, ITurnHandle, TContextReferenceLoadType, TContextReferenceStatus, TDriverId, TGoalStopReason, TInteractiveEventName as TInteractiveEventName$1, TInteractivePermissionHandler, TMemoryType, TPermissionResultValue, TPermissionResultValue as TPermissionResultValue$1, TPromptFileReferenceReason, TSessionLoadOutcome, TSessionLoadOutcome as TSessionLoadOutcome$1, TTurnNotRunReason, TTurnSource, TWaitingLoopStopOutcome } from "@robota-sdk/agent-interface-session";
|
|
2
|
+
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
3
|
import { IBackgroundTaskManager, IBackgroundTaskRunner, IBackgroundTaskRunner as IBackgroundTaskRunner$1, IScheduleEditPatch, ISubagentManager, ISubagentRunner, TObserverFailureReporter } from "@robota-sdk/agent-executor";
|
|
4
4
|
import { IRetrievalAdapter, ISandboxClient, IWorkspaceManifest, createZodFunctionTool } from "@robota-sdk/agent-tools";
|
|
5
5
|
import { z } from "zod";
|
|
@@ -7,13 +7,21 @@ import { FileSessionLogger, ICommandSandboxApproval, IExternalPayloadReference,
|
|
|
7
7
|
import { LineCounter } from "yaml";
|
|
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, 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, 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";
|
|
11
11
|
import { ILivePromptContentBatch, ILivePromptContentPolicy, ILivePromptTraceBatch, IUsageSource } from "@robota-sdk/agent-interface-analytics";
|
|
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, 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";
|
|
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
13
|
//#region src/effort/effort-resolution.d.ts
|
|
14
14
|
type TEffortSelection = TModelEffort | 'auto';
|
|
15
15
|
type TEffortSource = 'command' | 'flag' | 'environment' | 'settings' | 'preset' | 'model-default';
|
|
16
16
|
type TEffortDisposition = 'applied' | 'model-default' | 'clamped' | 'not-applied';
|
|
17
|
+
/**
|
|
18
|
+
* #3282 §2 — the plain label for each effort selection, shared by every surface that reports an
|
|
19
|
+
* effort choice or change: `/effort`'s own outcome text, the TUI/GUI pickers, and headless `/goal`
|
|
20
|
+
* output (`transport-host/headless/headless-output.ts`). Lives here (not in `agent-command`, which
|
|
21
|
+
* depends on this package) so `agent-framework`'s own headless output can use it without a circular
|
|
22
|
+
* dependency; `agent-command`'s `effort-command.ts` re-exports it unchanged.
|
|
23
|
+
*/
|
|
24
|
+
declare const EFFORT_LEVEL_LABELS: Readonly<Record<TEffortSelection, string>>;
|
|
17
25
|
interface IModelEffortResolution {
|
|
18
26
|
readonly requested: TEffortSelection;
|
|
19
27
|
readonly effective: TModelEffort;
|
|
@@ -42,6 +50,7 @@ interface IProviderErrorGuidance {
|
|
|
42
50
|
readonly forbidden?: string;
|
|
43
51
|
readonly rateLimit?: string;
|
|
44
52
|
readonly network?: string;
|
|
53
|
+
readonly modelUnavailable?: string;
|
|
45
54
|
}
|
|
46
55
|
//#endregion
|
|
47
56
|
//#region src/agents/agent-definition-types.d.ts
|
|
@@ -74,7 +83,18 @@ interface IAgentDefinition {
|
|
|
74
83
|
tools?: string[];
|
|
75
84
|
/** Denylist of tool names. These tools are removed from the inherited set. */
|
|
76
85
|
disallowedTools?: string[];
|
|
86
|
+
/**
|
|
87
|
+
* #3282 §4: where this definition came from, in plain words a person picking an agent can read —
|
|
88
|
+
* a discovered file's path (`AgentDefinitionLoader`), or absent for the built-in tier (a pack
|
|
89
|
+
* injection composed ahead of `BUILT_IN_AGENTS` included — see `buildAgentRuntime`). A reader that
|
|
90
|
+
* wants a label for every agent, built-in included, falls back to `DEFAULT_AGENT_DEFINED_IN`.
|
|
91
|
+
*/
|
|
92
|
+
definedIn?: string;
|
|
77
93
|
}
|
|
94
|
+
/** The plain-words source shown for an agent definition that carries no `definedIn` of its own. */
|
|
95
|
+
declare const DEFAULT_AGENT_DEFINED_IN = "Built-in";
|
|
96
|
+
/** The agent type `/agent <prompt>` falls back to when none is named or selected as default. */
|
|
97
|
+
declare const DEFAULT_AGENT_TYPE = "general-purpose";
|
|
78
98
|
//#endregion
|
|
79
99
|
//#region src/checkpoints/edit-checkpoint-types.d.ts
|
|
80
100
|
interface IEditCheckpointRecorder {
|
|
@@ -450,10 +470,25 @@ declare function createExecutionWorkspaceTaskSpawner(options: ICreateExecutionWo
|
|
|
450
470
|
//#region src/command-api/agent-job-roles.d.ts
|
|
451
471
|
/** Starting, steering and ending subagent jobs. */
|
|
452
472
|
interface IAgentJobDispatch {
|
|
473
|
+
/**
|
|
474
|
+
* #3282 §4: the agent switcher's roster — `definedIn` is a plain-words location (a discovered
|
|
475
|
+
* file's path, or "Built-in") a person picking an agent can read.
|
|
476
|
+
*/
|
|
453
477
|
listAgentDefinitions(): Array<{
|
|
454
478
|
name: string;
|
|
455
479
|
description: string;
|
|
480
|
+
definedIn: string;
|
|
456
481
|
}>;
|
|
482
|
+
/**
|
|
483
|
+
* #3282 §4: the agent type `/agent <name>` (no prompt) currently selects — the agent switcher
|
|
484
|
+
* shows it checked. Never throws; a host without the agent runtime just has the fallback default.
|
|
485
|
+
*/
|
|
486
|
+
getDefaultAgentType(): string;
|
|
487
|
+
/**
|
|
488
|
+
* #3282 §4: `/agent <name>` (bare, no prompt) sets this — the agent type used as the default
|
|
489
|
+
* `agentType` whenever one is not otherwise named. Throws if the agent runtime is unavailable.
|
|
490
|
+
*/
|
|
491
|
+
setDefaultAgentType(agentType: string): void;
|
|
457
492
|
listAgentJobs(): ISubagentJobState[];
|
|
458
493
|
spawnAgentJob(input: {
|
|
459
494
|
agentType: string;
|
|
@@ -536,7 +571,7 @@ interface IAgentJobMonitors {
|
|
|
536
571
|
interface IAgentJobLogs {
|
|
537
572
|
readBackgroundTaskLog(taskId: string, cursor?: IBackgroundTaskLogCursor): Promise<IBackgroundTaskLogPage>;
|
|
538
573
|
}
|
|
539
|
-
/** Aggregate
|
|
574
|
+
/** Aggregate of the five role interfaces above, kept source-compatible. Declare a role port instead of this. */
|
|
540
575
|
interface IAgentJobHostContext extends IAgentJobDispatch, IAgentJobGroups, IAgentJobSchedules, IAgentJobMonitors, IAgentJobLogs {}
|
|
541
576
|
//#endregion
|
|
542
577
|
//#region src/command-api/preset/preset-application-types.d.ts
|
|
@@ -856,13 +891,48 @@ declare function listResumableSessionSummaries(sessionStore: IInteractiveSession
|
|
|
856
891
|
* older-format session read as gone rather than as unreadable. A surface that wants to say "3
|
|
857
892
|
* sessions here were written by a different build" asks this.
|
|
858
893
|
*
|
|
859
|
-
* Not filtered by `cwd`: an unreadable entry has no record, so it has no `cwd` to compare
|
|
894
|
+
* Not filtered by `cwd`: an unreadable entry has no record, so it has no `cwd` to compare in general
|
|
895
|
+
* — {@link listUnreadableSessionsForWorkspace} answers that question for the entries that DO carry
|
|
896
|
+
* one.
|
|
860
897
|
*/
|
|
861
898
|
declare function listUnreadableSessions(sessionStore: IInteractiveSessionStore$1 | undefined): readonly {
|
|
862
899
|
readonly id: string;
|
|
863
900
|
readonly outcome: TSessionLoadOutcome$1;
|
|
864
901
|
}[];
|
|
902
|
+
/**
|
|
903
|
+
* The unreadable sessions of ONE workspace (#3289 §1).
|
|
904
|
+
*
|
|
905
|
+
* A store shared across workspaces (the user-level `~/.robota/sessions`) holds unreadable records
|
|
906
|
+
* from every folder ever worked in there, and a brand-new folder used to be told about all of them —
|
|
907
|
+
* "191 sessions could not be read" on a folder that had never seen one. An unreadable record still
|
|
908
|
+
* carries its raw `cwd` when the bytes are readable enough for that (TRANS-007's best-effort peek);
|
|
909
|
+
* this asks only for the ones whose peeked `cwd` is THIS workspace. A record whose workspace cannot
|
|
910
|
+
* be told at all is left out here — it is not lost, it simply is not this workspace's business.
|
|
911
|
+
*/
|
|
912
|
+
declare function listUnreadableSessionsForWorkspace(sessionStore: IInteractiveSessionStore$1 | undefined, cwd: string): readonly {
|
|
913
|
+
readonly id: string;
|
|
914
|
+
}[];
|
|
865
915
|
declare function resolveLatestSessionId(sessionStore: IInteractiveSessionStore$1 | undefined, cwd: string): string | undefined;
|
|
916
|
+
/**
|
|
917
|
+
* An existing session of this workspace with no messages yet, that no OTHER client is on and has no
|
|
918
|
+
* work of its own in progress — the one a fresh "New session" (a serve/daemon start, or the button)
|
|
919
|
+
* should reuse instead of adding another empty row to the list (#3289 §1). `excludeSessionId` lets a
|
|
920
|
+
* caller leaving a session (e.g. deleting it) ask "reuse some OTHER empty session" without that one
|
|
921
|
+
* answering its own question.
|
|
922
|
+
*
|
|
923
|
+
* `otherClientsOf` reports how many clients are on a session besides the one asking, when the caller
|
|
924
|
+
* knows; omitted, every candidate is treated as free (the common case: nothing is live yet, as at a
|
|
925
|
+
* serve/daemon start, when nothing could be bound to anything). `isBusy` reports whether a candidate
|
|
926
|
+
* has work of its own in progress even with no client on it — a background task or a self-paced loop
|
|
927
|
+
* outlives the client that started it, and "New session" landing someone there would join that work
|
|
928
|
+
* mid-flight rather than starting fresh. Omitted, no candidate is treated as busy, for the same
|
|
929
|
+
* "nothing is live yet" reason `otherClientsOf` is omittable.
|
|
930
|
+
*/
|
|
931
|
+
declare function resolveReusableEmptySessionId(sessionStore: IInteractiveSessionStore$1 | undefined, cwd: string, options?: {
|
|
932
|
+
readonly excludeSessionId?: string;
|
|
933
|
+
readonly otherClientsOf?: (sessionId: string) => number;
|
|
934
|
+
readonly isBusy?: (sessionId: string) => boolean;
|
|
935
|
+
}): string | undefined;
|
|
866
936
|
declare function resolveSessionIdByIdOrName(sessionStore: IInteractiveSessionStore$1 | undefined, idOrName: string): string | undefined;
|
|
867
937
|
//#endregion
|
|
868
938
|
//#region src/advisor/advisor-spec.d.ts
|
|
@@ -952,9 +1022,22 @@ interface IPermissionRuleLayer {
|
|
|
952
1022
|
readonly deny: readonly string[];
|
|
953
1023
|
readonly ask: readonly string[];
|
|
954
1024
|
}
|
|
1025
|
+
/** One rule to remove from the settings layer it was declared in (#3282 §4a). */
|
|
1026
|
+
interface IPermissionRuleRemoval {
|
|
1027
|
+
/** The `scope` of the {@link IPermissionRuleLayer} the rule was read from. */
|
|
1028
|
+
readonly scope: string;
|
|
1029
|
+
readonly kind: 'allow' | 'deny' | 'ask';
|
|
1030
|
+
readonly pattern: string;
|
|
1031
|
+
}
|
|
955
1032
|
/** Where each configured permission rule comes from, read fresh on every call. */
|
|
956
1033
|
interface ICommandPermissionRulesAdapter {
|
|
957
1034
|
readLayers(): readonly IPermissionRuleLayer[];
|
|
1035
|
+
/**
|
|
1036
|
+
* #3282 §4a: remove one declared rule from its settings layer. Optional — a host with no write
|
|
1037
|
+
* target for any layer (read-only rule discovery) makes rule removal fail EXPLICITLY wherever it
|
|
1038
|
+
* is offered, never a silent no-op. Returns `false` when no writable layer matched the removal.
|
|
1039
|
+
*/
|
|
1040
|
+
removeRule?(removal: IPermissionRuleRemoval): boolean;
|
|
958
1041
|
}
|
|
959
1042
|
/** How shell commands are confined: not at all, confined without prompts, or confined and asked. */
|
|
960
1043
|
type TSandboxCommandMode = 'off' | 'auto-allow' | 'regular';
|
|
@@ -1050,6 +1133,15 @@ interface ICommandMCPActivationSummary {
|
|
|
1050
1133
|
readonly provenanceId: string;
|
|
1051
1134
|
readonly definitionFingerprint: string;
|
|
1052
1135
|
readonly securityIdentity: string;
|
|
1136
|
+
/**
|
|
1137
|
+
* #3282 §4 part b-2: this process's live connection outcome for an `allowed` server — absent for
|
|
1138
|
+
* one that is not `allowed`, or has not been attempted yet. `'failed'`'s reason is
|
|
1139
|
+
* {@link connectionFailureReason}; a connected server's tool names are {@link toolNames}.
|
|
1140
|
+
*/
|
|
1141
|
+
readonly connection?: 'connected' | 'failed';
|
|
1142
|
+
readonly connectionFailureReason?: string;
|
|
1143
|
+
/** The names of the tools this server currently contributes; empty when not connected. */
|
|
1144
|
+
readonly toolNames?: readonly string[];
|
|
1053
1145
|
}
|
|
1054
1146
|
/**
|
|
1055
1147
|
* A definition-source-level problem — issue #2794: a configuration root that is not an object, no
|
|
@@ -1170,6 +1262,33 @@ interface ICommandMCPActivationAdapter {
|
|
|
1170
1262
|
* a name it already had. Called once per sign-in that returned tools.
|
|
1171
1263
|
*/
|
|
1172
1264
|
oauthToolsAdded?(serverId: string, added: readonly string[]): void;
|
|
1265
|
+
/**
|
|
1266
|
+
* #3282 §4 part b-2: `/mcp reload` and the Settings screen's "Reload servers" button. Retries
|
|
1267
|
+
* every allowed server that is not currently connected; a server already connected is left
|
|
1268
|
+
* running. Never rejects: a server that still cannot connect keeps its `list()` failure reason.
|
|
1269
|
+
* Absent: the host offers no reload (the button/command then say so).
|
|
1270
|
+
*/
|
|
1271
|
+
reload?(): Promise<{
|
|
1272
|
+
readonly tools: readonly IToolWithEventService[];
|
|
1273
|
+
readonly connectedServerIds: readonly string[];
|
|
1274
|
+
readonly failedServerIds: readonly string[];
|
|
1275
|
+
/**
|
|
1276
|
+
* Identifies this call's staged tool provenance for `reloadToolsAdded`; absent when there is
|
|
1277
|
+
* nothing to acknowledge (no server newly connected). Two `reload()` calls outstanding at once
|
|
1278
|
+
* — `/mcp reload` runs inline, unblocked by the mid-turn gate, and an `update-settings` write
|
|
1279
|
+
* is fire-and-forget, so this is reachable, not hypothetical — join the same connection pass
|
|
1280
|
+
* and get the same token back; a fresh call started only after the last one's token was
|
|
1281
|
+
* acknowledged gets a new one.
|
|
1282
|
+
*/
|
|
1283
|
+
readonly reloadToken?: string;
|
|
1284
|
+
}>;
|
|
1285
|
+
/**
|
|
1286
|
+
* Which of `reload`'s tools the session actually took, keyed to the `reloadToken` it returned;
|
|
1287
|
+
* any other was left out for a name it already had. `token` not matching the currently staged
|
|
1288
|
+
* reload — already committed, or superseded by a later call — makes this a no-op, so a late or
|
|
1289
|
+
* duplicate acknowledgement can never clear or corrupt a different reload's provenance.
|
|
1290
|
+
*/
|
|
1291
|
+
reloadToolsAdded?(token: string, added: readonly string[]): void;
|
|
1173
1292
|
}
|
|
1174
1293
|
/**
|
|
1175
1294
|
* PEER-004 (#1863): a live session this one can address, as the operator sees it.
|
|
@@ -1525,7 +1644,7 @@ declare class EditCheckpointStore {
|
|
|
1525
1644
|
declare function wrapEditCheckpointTools(tools: readonly IToolWithEventService[], recorder: IEditCheckpointRecorder): IToolWithEventService[];
|
|
1526
1645
|
//#endregion
|
|
1527
1646
|
//#region src/context/prompt-file-reference-types.d.ts
|
|
1528
|
-
type TPromptFileReferenceDiagnosticCode = 'not-found' | 'outside-root' | 'directory-not-supported' | 'file-too-large' | 'total-too-large' | 'too-many-references' | 'max-depth' | 'circular-reference' | 'unreadable';
|
|
1647
|
+
type TPromptFileReferenceDiagnosticCode = 'not-found' | 'outside-root' | 'directory-not-supported' | 'file-too-large' | 'total-too-large' | 'too-many-references' | 'max-depth' | 'circular-reference' | 'unreadable' | 'binary-file';
|
|
1529
1648
|
interface IPromptFileReferenceToken {
|
|
1530
1649
|
original: string;
|
|
1531
1650
|
path: string;
|
|
@@ -1628,6 +1747,12 @@ interface IGoalControllerDeps {
|
|
|
1628
1747
|
* payload is schema-validated at the tool layer, so this is deterministic — never prose parsing.
|
|
1629
1748
|
*/
|
|
1630
1749
|
declare function extractGoalSignal(toolSummaries: readonly IToolSummary[]): IGoalSignal | null;
|
|
1750
|
+
/**
|
|
1751
|
+
* True when `args` (the `/goal` command's raw argument string) asks to cancel the current goal —
|
|
1752
|
+
* the single vocabulary both the command (`goal-command.ts`, agent-command) and the mid-turn CONTROL
|
|
1753
|
+
* path (`InteractiveSession.executeCommand`, this package) match against, so the two never drift.
|
|
1754
|
+
*/
|
|
1755
|
+
declare function isGoalCancelVerb(args: string): boolean;
|
|
1631
1756
|
declare class GoalController {
|
|
1632
1757
|
private readonly deps;
|
|
1633
1758
|
private goal;
|
|
@@ -1869,6 +1994,17 @@ interface ICommandHostUserInteraction {
|
|
|
1869
1994
|
*/
|
|
1870
1995
|
getUserInteraction(): IUserInteraction | undefined;
|
|
1871
1996
|
}
|
|
1997
|
+
/**
|
|
1998
|
+
* Whether THIS session is running with no provider configured yet (issue #3282 §3 setup mode).
|
|
1999
|
+
*
|
|
2000
|
+
* Exists for exactly one command (`/provider add`, deciding hot-swap vs. restart) — never inferred
|
|
2001
|
+
* from settings, because an ordinary session started from an env-default provider also has none
|
|
2002
|
+
* persisted. The member is optional so a host with no concept of setup mode costs nothing and is
|
|
2003
|
+
* correctly read as "not in it" (`?.() === true`), never mistaken for a required capability.
|
|
2004
|
+
*/
|
|
2005
|
+
interface ICommandHostSetupState {
|
|
2006
|
+
isSetupRequired?(): boolean;
|
|
2007
|
+
}
|
|
1872
2008
|
/** Re-applying preset-owned configuration to the live session. */
|
|
1873
2009
|
interface ICommandHostPresetApplication {
|
|
1874
2010
|
/** Apply an additive response style to the live system prompt. */
|
|
@@ -1907,6 +2043,12 @@ interface ICommandHostContextReferences {
|
|
|
1907
2043
|
interface ICommandHostWorkspace {
|
|
1908
2044
|
getCwd(): string;
|
|
1909
2045
|
getCommandInvocationSource(): TCommandInvocationSource;
|
|
2046
|
+
/**
|
|
2047
|
+
* #3282 §4 part b-2: whether THIS invocation is provably on this machine. Optional so an older or
|
|
2048
|
+
* narrower host still satisfies this interface; a caller that needs it treats a missing method the
|
|
2049
|
+
* same as `'local'` (allow-by-default, matching the rest of the command layer).
|
|
2050
|
+
*/
|
|
2051
|
+
getCommandSurfaceLocality?(): TCommandSurfaceLocality;
|
|
1910
2052
|
}
|
|
1911
2053
|
/** What commands and skills this host can dispatch. */
|
|
1912
2054
|
interface ICommandHostCatalog {
|
|
@@ -1988,8 +2130,8 @@ interface ICommandHostTerminalHandoff {
|
|
|
1988
2130
|
interface ICommandHostAdapterAccess {
|
|
1989
2131
|
getCommandHostAdapters?(): ICommandHostAdapters;
|
|
1990
2132
|
}
|
|
1991
|
-
/** Aggregate: all
|
|
1992
|
-
interface ICommandHostContext extends ICommandHostSessionAccess, ICommandHostAgentJobs, ICommandHostUserInteraction, ICommandHostPresetApplication, ICommandHostContextWindow, ICommandHostContextReferences, ICommandHostWorkspace, ICommandHostCatalog, ICommandHostCheckpoints, ICommandHostMemory, ICommandHostBackgroundTasks, ICommandHostGoal, ICommandHostPlan, ICommandHostTerminalHandoff, ICommandHostAdapterAccess {}
|
|
2133
|
+
/** Aggregate: all 48 members remain source-compatible. Declare a role port instead of this. */
|
|
2134
|
+
interface ICommandHostContext extends ICommandHostSessionAccess, ICommandHostAgentJobs, ICommandHostUserInteraction, ICommandHostSetupState, ICommandHostPresetApplication, ICommandHostContextWindow, ICommandHostContextReferences, ICommandHostWorkspace, ICommandHostCatalog, ICommandHostCheckpoints, ICommandHostMemory, ICommandHostBackgroundTasks, ICommandHostGoal, ICommandHostPlan, ICommandHostTerminalHandoff, ICommandHostAdapterAccess {}
|
|
1993
2135
|
//#endregion
|
|
1994
2136
|
//#region src/command-api/contracts.d.ts
|
|
1995
2137
|
type TSystemCommandLifecycle = 'inline' | 'blocking' | 'background';
|
|
@@ -2299,6 +2441,37 @@ declare function resolveEnvDefaultProvider(providerDefinitions: readonly IProvid
|
|
|
2299
2441
|
declare function readProviderSettings(sources: readonly TSettingsSource[], options?: IReadProviderSettingsOptions): IProviderDefinitionConfig;
|
|
2300
2442
|
declare function createProviderFromSettings(sources: readonly TSettingsSource[], modelOverride?: string, options?: IReadProviderSettingsOptions): IAIProvider;
|
|
2301
2443
|
//#endregion
|
|
2444
|
+
//#region src/command-api/provider/provider-model-catalog.d.ts
|
|
2445
|
+
/**
|
|
2446
|
+
* The models every configured profile offers, current profile first (#3282 §2). A profile missing
|
|
2447
|
+
* `type` or `model` is skipped — it could not run even by an explicit `/provider switch`, so `/model`
|
|
2448
|
+
* does not offer it either. `allowedProviders`, when set, is the org policy's allowlist of provider
|
|
2449
|
+
* PROFILE NAMES (`IOrgPolicy.allowedProviders`) — a profile it excludes is skipped the same way, so
|
|
2450
|
+
* a control built from this snapshot never offers a switch org policy would then refuse.
|
|
2451
|
+
*/
|
|
2452
|
+
declare function buildModelListSnapshot(providers: Record<string, IProviderProfileSettings> | undefined, currentProfileName: string | undefined, currentModel: string, providerDefinitions: readonly IProviderDefinition[], allowedProviders?: readonly string[]): IModelListSnapshot;
|
|
2453
|
+
/** Where an `id` resolves: which profile offers it, and its display label. Group order IS the tie-break. */
|
|
2454
|
+
interface IModelListSelection {
|
|
2455
|
+
readonly profileName: string;
|
|
2456
|
+
readonly model: IModelCatalogEntry;
|
|
2457
|
+
}
|
|
2458
|
+
/**
|
|
2459
|
+
* Resolve a typed/clicked model id against the snapshot. Groups are already ordered current-profile
|
|
2460
|
+
* first, so the first match found — never a special case here — is the one the current profile's
|
|
2461
|
+
* provider offers, matching the "prefer the current profile" rule for an id offered by more than one.
|
|
2462
|
+
*/
|
|
2463
|
+
declare function resolveModelListSelection(snapshot: IModelListSnapshot, id: string): IModelListSelection | undefined;
|
|
2464
|
+
//#endregion
|
|
2465
|
+
//#region src/command-api/provider/provider-profile-summary.d.ts
|
|
2466
|
+
/**
|
|
2467
|
+
* Every configured profile, in settings order (the Settings screen marks the current one with
|
|
2468
|
+
* `current` rather than reordering around it — unlike the model list's current-first order, which
|
|
2469
|
+
* exists only to break a same-id tie). `allowedProviders`, when set, is the org policy's allowlist of
|
|
2470
|
+
* profile names (`IOrgPolicy.allowedProviders`) — the same filter `buildModelListSnapshot` applies,
|
|
2471
|
+
* so Settings never offers managing a profile a switch would then refuse.
|
|
2472
|
+
*/
|
|
2473
|
+
declare function buildProviderProfilesSnapshot(providers: Record<string, IProviderProfileSettings> | undefined, currentProfileName: string | undefined, providerDefinitions: readonly IProviderDefinition[], allowedProviders?: readonly string[]): ISettingsProvidersSection;
|
|
2474
|
+
//#endregion
|
|
2302
2475
|
//#region src/command-api/help/help-command-api.d.ts
|
|
2303
2476
|
declare const HELP_COMMAND_DESCRIPTION = "Show available commands";
|
|
2304
2477
|
declare function formatCommandHelpMessage(context: ICommandHostCatalog): string;
|
|
@@ -2359,6 +2532,12 @@ interface IPermissionsCommandState {
|
|
|
2359
2532
|
/** Where a rule the gate reads comes from when no settings layer declares it: a flag, a preset, a command. */
|
|
2360
2533
|
declare const RUNTIME_RULE_SOURCE = "this session (CLI flags, preset, commands)";
|
|
2361
2534
|
declare const VALID_PERMISSION_MODES: readonly TPermissionMode[];
|
|
2535
|
+
/**
|
|
2536
|
+
* #3282 §2 — the plain label every surface shows for a permission mode, so the TUI's inline picker
|
|
2537
|
+
* and the GUI's mode menu agree instead of each inventing (or skipping) one. `description` stays the
|
|
2538
|
+
* secondary line under it; neither name is an internal id a person has to already know.
|
|
2539
|
+
*/
|
|
2540
|
+
declare const PERMISSION_MODE_LABELS: Readonly<Record<TPermissionMode, string>>;
|
|
2362
2541
|
declare function buildPermissionModeSubcommands(source?: string): ICommand[];
|
|
2363
2542
|
declare function parsePermissionModeArgument(args: string): string | undefined;
|
|
2364
2543
|
declare function isPermissionMode(value: string): value is TPermissionMode;
|
|
@@ -2470,7 +2649,7 @@ declare function applyAppearanceSettings(settingsPath: string, patch: TAppearanc
|
|
|
2470
2649
|
//#endregion
|
|
2471
2650
|
//#region src/command-api/plugin/plugin-command-api.d.ts
|
|
2472
2651
|
declare const PLUGIN_COMMAND_DESCRIPTION = "Manage plugins";
|
|
2473
|
-
declare const PLUGIN_COMMAND_ARGUMENT_HINT = "manage | install <name@marketplace> | uninstall <name@marketplace> | enable <name@marketplace> | disable <name@marketplace> | marketplace <action>";
|
|
2652
|
+
declare const PLUGIN_COMMAND_ARGUMENT_HINT = "manage | list | install <name@marketplace> | uninstall <name@marketplace> | enable <name@marketplace> | disable <name@marketplace> | marketplace <action>";
|
|
2474
2653
|
declare const RELOAD_PLUGINS_COMMAND_DESCRIPTION = "Reload all plugin resources";
|
|
2475
2654
|
/** CMD-004: `/plugin manage` asks the REQUESTING surface to open its plugin manager (UI intent). */
|
|
2476
2655
|
declare function createShowPluginManagerIntent(): TCommandUiIntent;
|
|
@@ -7654,6 +7833,12 @@ interface IAgentToolDeps extends IInProcessSubagentRunnerDeps {
|
|
|
7654
7833
|
getParentModelEffort?: () => TModelEffort | undefined;
|
|
7655
7834
|
/** PRESET-016 — runtime gate; when present and returns false, subagent dispatch is refused. */
|
|
7656
7835
|
isParallelSubagentsEnabled?: () => boolean;
|
|
7836
|
+
/**
|
|
7837
|
+
* #3282 §4: the agent type `/agent <name>` (no prompt) selects and the agent switcher shows
|
|
7838
|
+
* checked — mutable session-scoped state, read back through `getDefaultAgentType`. Absent means
|
|
7839
|
+
* `DEFAULT_AGENT_TYPE` (`general-purpose`), never persisted past this session.
|
|
7840
|
+
*/
|
|
7841
|
+
defaultAgentType?: string;
|
|
7657
7842
|
}
|
|
7658
7843
|
//#endregion
|
|
7659
7844
|
//#region src/tools/agent-tool.d.ts
|
|
@@ -7752,7 +7937,7 @@ type TKnownMarketplacesRegistry = Record<string, IKnownMarketplaceEntry>;
|
|
|
7752
7937
|
*
|
|
7753
7938
|
* A vector is what makes it safe by construction rather than by quoting: no shell parses these values,
|
|
7754
7939
|
* so there is no quoting to get right. The repository already reached this conclusion once —
|
|
7755
|
-
* `apps/action/src/build-invocation.
|
|
7940
|
+
* `apps/action/src/build-invocation.mjs` (SEC-006) replaced `execSync(args.join(' '))` for the same
|
|
7756
7941
|
* reason — and this is that fix applied to the plugin surface.
|
|
7757
7942
|
*
|
|
7758
7943
|
* `file` is the executable. `args` is readonly because an implementation must not be able to fold an
|
|
@@ -8392,6 +8577,12 @@ interface IExecutionControllerCallbacks {
|
|
|
8392
8577
|
recordPrompt?: TPromptHistoryRecorder;
|
|
8393
8578
|
/** Runs after turn history is final but before the turn handle settles or the next input drains. */
|
|
8394
8579
|
onWakeTurnFinalizing?: (wakeTaskId: string, result: IExecutionResult$2 | undefined, outcome: 'success' | 'failure' | 'interrupted', toolExecutions: readonly ICompletedToolExecution[]) => Promise<void>;
|
|
8580
|
+
/**
|
|
8581
|
+
* #3288: provider tool name → source `/command` name, for the projected model-command tools this
|
|
8582
|
+
* session assembled (`model-command-tool-projection.ts`). Read at `tool_start` so the emitted
|
|
8583
|
+
* `IToolState.commandName` lets a surface show "Ran /<name>" without hardcoding the tool prefix.
|
|
8584
|
+
*/
|
|
8585
|
+
modelCommandToolNames?: ReadonlyMap<string, string>;
|
|
8395
8586
|
}
|
|
8396
8587
|
interface ICompletedToolExecution {
|
|
8397
8588
|
name: string;
|
|
@@ -8772,6 +8963,14 @@ interface IInteractiveSessionStandardOptions {
|
|
|
8772
8963
|
outputStyle?: IOutputStylePrompt;
|
|
8773
8964
|
cwd: string;
|
|
8774
8965
|
provider: IAIProvider;
|
|
8966
|
+
/**
|
|
8967
|
+
* #3282 §3: `provider` is a placeholder that never calls a model — a host started this session
|
|
8968
|
+
* without a configured provider (a served runtime's first run). `getStatusSnapshot()` reports it so
|
|
8969
|
+
* a client can show a setup screen instead of a composer, and `submit()` refuses a turn outright
|
|
8970
|
+
* instead of reaching the placeholder. Cleared once `/provider switch` (or the setup flow's own
|
|
8971
|
+
* hot-swap) puts a real provider in place — see `switchProvider`.
|
|
8972
|
+
*/
|
|
8973
|
+
setupRequired?: boolean;
|
|
8775
8974
|
/** Optional product-owned remediation for recognized provider errors; scoped to this session. */
|
|
8776
8975
|
providerErrorGuidance?: IProviderErrorGuidance;
|
|
8777
8976
|
/** Host-selected model-visible enclosure for attached file references. */
|
|
@@ -8981,6 +9180,8 @@ interface IInteractiveSessionInjectedOptions {
|
|
|
8981
9180
|
observerFailureWarningCode?: ICreateSessionOptions['observerFailureWarningCode'];
|
|
8982
9181
|
cwd?: string;
|
|
8983
9182
|
provider?: IAIProvider;
|
|
9183
|
+
/** #3282 §3 — see {@link IInteractiveSessionStandardOptions.setupRequired}. */
|
|
9184
|
+
setupRequired?: boolean;
|
|
8984
9185
|
/** Trusted-or-restricted project decision made by the host. Absence is Restricted. */
|
|
8985
9186
|
projectAccess?: TWorkspaceProjectAccess;
|
|
8986
9187
|
userSettingsSources?: readonly INodeHostSettingsSource[];
|
|
@@ -9101,6 +9302,8 @@ declare class SessionSkillRouter {
|
|
|
9101
9302
|
reapplyCommandModuleSelection(enabled: readonly string[] | undefined, disabled: readonly string[] | undefined): readonly IUnknownCommandModuleName[];
|
|
9102
9303
|
shutdownModules(): Promise<unknown[]>;
|
|
9103
9304
|
getCommandInvocationSource(): TCommandInvocationSource$1;
|
|
9305
|
+
/** #3282 §4 part b-2: allow-by-default, matching every other transport-origin default here. */
|
|
9306
|
+
getCommandSurfaceLocality(): TCommandSurfaceLocality$1;
|
|
9104
9307
|
getCommandOriginDriverId(): TDriverId | undefined;
|
|
9105
9308
|
getCommandHostAdapters(): ICommandHostAdapters;
|
|
9106
9309
|
listCommands(): ICommandListEntry$1[];
|
|
@@ -9110,8 +9313,8 @@ declare class SessionSkillRouter {
|
|
|
9110
9313
|
description: string;
|
|
9111
9314
|
}>;
|
|
9112
9315
|
findSkillCommand(name: string): ICommand | undefined;
|
|
9113
|
-
executeCommand(name: string, args: string, source?: TCommandInvocationSource$1, originDriverId?: TDriverId): Promise<ICommandResult$1 | null>;
|
|
9114
|
-
executeCommandWithSource(source: TCommandInvocationSource$1, command: ISystemCommand, args: string, originDriverId?: TDriverId): Promise<ICommandResult$1>;
|
|
9316
|
+
executeCommand(name: string, args: string, source?: TCommandInvocationSource$1, originDriverId?: TDriverId, locality?: TCommandSurfaceLocality$1): Promise<ICommandResult$1 | null>;
|
|
9317
|
+
executeCommandWithSource(source: TCommandInvocationSource$1, command: ISystemCommand, args: string, originDriverId?: TDriverId, locality?: TCommandSurfaceLocality$1): Promise<ICommandResult$1>;
|
|
9115
9318
|
executeModelCommand(name: string, args: string): Promise<ICommandResult$1 | null>;
|
|
9116
9319
|
executeSkillCommandByName(name: string, args: string, request: ICommandSkillActivationRequest): Promise<ICommandResult$1 | null>;
|
|
9117
9320
|
executeUserResolvedSkillCommand(skill: ICommand, args: string, displayInput: string | undefined, rawInput: string | undefined, invocation: ISkillActivationEvent['invocation'],
|
|
@@ -9147,6 +9350,12 @@ declare class SessionExecutionController {
|
|
|
9147
9350
|
/** RUNTIME-003: the registry that makes `ITurnHandle.completed` able to promise it settles. */
|
|
9148
9351
|
readonly turns: TurnSettlerRegistry;
|
|
9149
9352
|
get executing(): boolean;
|
|
9353
|
+
/**
|
|
9354
|
+
* #3288 §2: the same tool-name -> `/command` projection `applyToolStart` reads live, exposed so the
|
|
9355
|
+
* history-replay projector can classify a STORED call's `commandName`/`internal` identically — the
|
|
9356
|
+
* mapping is a property of the session's current command registration, not of the moment a call ran.
|
|
9357
|
+
*/
|
|
9358
|
+
get modelCommandToolNames(): ReadonlyMap<string, string> | undefined;
|
|
9150
9359
|
/** The HEAD queued prompt (next to run), or null — backward-compatible single-prompt read. */
|
|
9151
9360
|
get pendingPrompt(): string | null;
|
|
9152
9361
|
/** REMOTE-014 E5: total queued inputs (0 when idle) — a co-drive "N queued" hint. */
|
|
@@ -9200,12 +9409,13 @@ declare abstract class InteractiveSessionBase {
|
|
|
9200
9409
|
getStreamingText(): string;
|
|
9201
9410
|
getActiveTools(): SessionExecutionController['activeTools'];
|
|
9202
9411
|
cancelQueue(): void;
|
|
9203
|
-
executeCommand(name: string, args: string, source?: TCommandInvocationSource$1, originDriverId?: TDriverId): Promise<ICommandResult$1 | null>;
|
|
9412
|
+
executeCommand(name: string, args: string, source?: TCommandInvocationSource$1, originDriverId?: TDriverId, locality?: TCommandSurfaceLocality$1): Promise<ICommandResult$1 | null>;
|
|
9204
9413
|
executeModelCommand(name: string, args: string): Promise<ICommandResult$1 | null>;
|
|
9205
9414
|
getSessionUsage(): readonly ISessionUsageRecord[];
|
|
9206
9415
|
/** ARCH-029 TC-08: one replay-validation path with no fallback branch. */
|
|
9207
9416
|
validateCurrentSessionReplayLog(): ICommandSessionReplayValidationReport;
|
|
9208
9417
|
getCommandInvocationSource(): TCommandInvocationSource$1;
|
|
9418
|
+
getCommandSurfaceLocality(): TCommandSurfaceLocality$1;
|
|
9209
9419
|
executeSkillCommandByName(name: string, args: string, request: ICommandSkillActivationRequest): Promise<ICommandResult$1 | null>;
|
|
9210
9420
|
listCommands(): ICommandListEntry$1[];
|
|
9211
9421
|
listSkills(): ICommandSkillListEntry[];
|
|
@@ -9219,6 +9429,8 @@ declare abstract class InteractiveSessionBase {
|
|
|
9219
9429
|
compactContext(instructions?: string): Promise<void>;
|
|
9220
9430
|
getFullHistory(): IHistoryEntry[];
|
|
9221
9431
|
getMessages(): TUniversalMessage[];
|
|
9432
|
+
/** #3288 §2: `getMessages()`'s chat entries, projected for a reload/reconnect/resume replay. */
|
|
9433
|
+
getMessagesDisplay(): IHistoryDisplaySegment[];
|
|
9222
9434
|
listEditCheckpoints(): IEditCheckpointSummary[];
|
|
9223
9435
|
inspectEditCheckpoint(checkpointId: string): IEditCheckpointInspection;
|
|
9224
9436
|
restoreEditCheckpoint(checkpointId: string): Promise<IEditCheckpointRestoreResult>;
|
|
@@ -9243,6 +9455,19 @@ declare abstract class InteractiveSessionBase {
|
|
|
9243
9455
|
getBackgroundJobGroup(groupId: string): IBackgroundJobGroupState$1 | undefined;
|
|
9244
9456
|
waitBackgroundJobGroup(groupId: string): Promise<IBackgroundJobGroupState$1>;
|
|
9245
9457
|
getExecutionWorkspaceSnapshot(options?: IExecutionWorkspaceSnapshotOptions): IExecutionWorkspaceSnapshot$1;
|
|
9458
|
+
/**
|
|
9459
|
+
* #3288 §1: this session's self-paced loops, summarized for the execution workspace. Overridden
|
|
9460
|
+
* by {@link InteractiveSession} (the only subclass with self-paced loops at all); the default
|
|
9461
|
+
* here keeps a hypothetical other subclass working with none, rather than requiring one.
|
|
9462
|
+
*/
|
|
9463
|
+
protected getSelfPacedLoopWorkspaceSummaries(): readonly IExecutionSelfPacedLoopSummary[];
|
|
9464
|
+
/**
|
|
9465
|
+
* #3288 §1: a single self-paced loop's own durable state, for its detail page (`readWorkspaceDetail`
|
|
9466
|
+
* — its entry has no `IBackgroundTaskState` of its own to read). Overridden by
|
|
9467
|
+
* {@link InteractiveSession}; the default here keeps a hypothetical other subclass working with
|
|
9468
|
+
* none, matching {@link getSelfPacedLoopWorkspaceSummaries}.
|
|
9469
|
+
*/
|
|
9470
|
+
protected getSelfPacedLoopDetail(_loopId: string): ISessionLoopState | undefined;
|
|
9246
9471
|
listExecutionWorkspaceEntries(filter?: IExecutionWorkspaceFilter): IExecutionWorkspaceEntry[];
|
|
9247
9472
|
getExecutionWorkspaceEntry(entryId: string): IExecutionWorkspaceEntry | undefined;
|
|
9248
9473
|
readExecutionWorkspaceDetail(entryId: string, cursor?: IExecutionDetailCursor): Promise<IExecutionDetailPage>;
|
|
@@ -9250,7 +9475,10 @@ declare abstract class InteractiveSessionBase {
|
|
|
9250
9475
|
listAgentDefinitions(): Array<{
|
|
9251
9476
|
name: string;
|
|
9252
9477
|
description: string;
|
|
9478
|
+
definedIn: string;
|
|
9253
9479
|
}>;
|
|
9480
|
+
getDefaultAgentType(): string;
|
|
9481
|
+
setDefaultAgentType(agentType: string): void;
|
|
9254
9482
|
listAgentJobs(): ISubagentJobState[];
|
|
9255
9483
|
spawnAgentJob(input: ISpawnAgentJobInput): Promise<ISubagentJobState>;
|
|
9256
9484
|
waitAgentJob(taskId: string): Promise<ISubagentJobResult>;
|
|
@@ -9284,7 +9512,7 @@ interface IInteractiveSessionShutdownOptions {
|
|
|
9284
9512
|
reason?: TSessionEndReason;
|
|
9285
9513
|
message?: string;
|
|
9286
9514
|
}
|
|
9287
|
-
declare class InteractiveSession extends InteractiveSessionBase implements ISession, IAgentJobHostContext, IInteractiveSession$1, ICommandHostContext {
|
|
9515
|
+
declare class InteractiveSession extends InteractiveSessionBase implements ISession, IAgentJobHostContext, IInteractiveSession$1, ICommandHostContext, ISessionProjectRead {
|
|
9288
9516
|
private session;
|
|
9289
9517
|
private readonly listeners;
|
|
9290
9518
|
private initialized;
|
|
@@ -9340,6 +9568,8 @@ declare class InteractiveSession extends InteractiveSessionBase implements ISess
|
|
|
9340
9568
|
private providerDefinitions;
|
|
9341
9569
|
private activeOutputStyleId;
|
|
9342
9570
|
private orgPolicy;
|
|
9571
|
+
/** #3282 §3 — see the option doc comment on `IInteractiveSessionStandardOptions.setupRequired`. */
|
|
9572
|
+
private setupRequired;
|
|
9343
9573
|
/** The model fallback chain the session started with, re-read for each primary a switch picks. */
|
|
9344
9574
|
private modelFallback?;
|
|
9345
9575
|
protected readonly bgTracker: SessionBackgroundTaskTracker;
|
|
@@ -9391,6 +9621,25 @@ declare class InteractiveSession extends InteractiveSessionBase implements ISess
|
|
|
9391
9621
|
* split-brain).
|
|
9392
9622
|
*/
|
|
9393
9623
|
getMemoryStore(): IMemoryStore;
|
|
9624
|
+
/**
|
|
9625
|
+
* #3282 §4c — the Project panel's "Changes" section. The SAME reader `/git status` runs
|
|
9626
|
+
* (`readProjectGitStatus`, `agent-framework/src/git`), over this session's own `cwd` — a
|
|
9627
|
+
* `not-a-repository` result is the panel's one plain sentence, never a thrown error.
|
|
9628
|
+
*/
|
|
9629
|
+
readProjectStatus(): Promise<TProjectStatusRead>;
|
|
9630
|
+
/**
|
|
9631
|
+
* #3282 §4c — the Project panel's "File diff" section, for one file `readProjectStatus` reported.
|
|
9632
|
+
* `readProjectGitDiff` checks workspace containment itself (`isPathInside`, SEC-006) before any git
|
|
9633
|
+
* or filesystem call.
|
|
9634
|
+
*/
|
|
9635
|
+
readProjectDiff(path: string): Promise<TProjectDiffRead>;
|
|
9636
|
+
/**
|
|
9637
|
+
* #3282 §4c — the Project panel's "Memory" section: the SAME store `/memory show` reads
|
|
9638
|
+
* (`getMemoryStore()`), read-only. `getMemoryStore()` throwing (memory off by default, or
|
|
9639
|
+
* unavailable on this host — `WorkspaceAuthorityRequiredError`) becomes the panel's plain message,
|
|
9640
|
+
* never a thrown error — the same fix `executeMemoryCommand` needed for the red toast.
|
|
9641
|
+
*/
|
|
9642
|
+
readProjectMemory(): Promise<TProjectMemoryRead>;
|
|
9394
9643
|
get sessionId(): string;
|
|
9395
9644
|
on<E extends TInteractiveEventName$1>(event: E, handler: IInteractiveSessionEvents$1[E]): void;
|
|
9396
9645
|
off<E extends TInteractiveEventName$1>(event: E, handler: IInteractiveSessionEvents$1[E]): void;
|
|
@@ -9424,6 +9673,8 @@ declare class InteractiveSession extends InteractiveSessionBase implements ISess
|
|
|
9424
9673
|
editSchedule(taskId: string, patch: Parameters<InteractiveSessionBase['editSchedule']>[1]): Promise<void>;
|
|
9425
9674
|
/** Session-owned self-paced loops remain addressable after a one-shot timer has completed. */
|
|
9426
9675
|
listSelfPacedLoops(): readonly ISessionLoopState[];
|
|
9676
|
+
protected getSelfPacedLoopWorkspaceSummaries(): readonly IExecutionSelfPacedLoopSummary[];
|
|
9677
|
+
protected getSelfPacedLoopDetail(loopId: string): ISessionLoopState | undefined;
|
|
9427
9678
|
createSelfPacedLoop(instruction: string, options?: {
|
|
9428
9679
|
useDefaultPrompt?: boolean;
|
|
9429
9680
|
}): Promise<ISessionLoopState>;
|
|
@@ -9531,6 +9782,19 @@ declare class InteractiveSession extends InteractiveSessionBase implements ISess
|
|
|
9531
9782
|
getName(): string | undefined;
|
|
9532
9783
|
/** The one status read every client renders beside the conversation (#3186). */
|
|
9533
9784
|
getStatusSnapshot(): ISessionStatusSnapshot;
|
|
9785
|
+
/**
|
|
9786
|
+
* The models a client's model menu may switch to (#3282 §2), grouped by configured provider
|
|
9787
|
+
* profile. Reads the same merged settings and `providerDefinitions` `/provider switch` and
|
|
9788
|
+
* `/model` already read, so the GUI's list and what `/model <id>` accepts never drift apart.
|
|
9789
|
+
*/
|
|
9790
|
+
listModels(): IModelListSnapshot;
|
|
9791
|
+
/**
|
|
9792
|
+
* #3282 §3 — {@link ICommandHostSetupState}: whether THIS session is still running the placeholder
|
|
9793
|
+
* provider. `/provider add` reads this (never settings) to decide hot-swap vs. restart, because a
|
|
9794
|
+
* settings-inferred "no `currentProvider`" is also true of an ordinary env-default session that was
|
|
9795
|
+
* never in setup mode.
|
|
9796
|
+
*/
|
|
9797
|
+
isSetupRequired(): boolean;
|
|
9534
9798
|
attachTransport(transport: ITransportAdapter<IInteractiveSession$1>): void;
|
|
9535
9799
|
setName(name: string): void;
|
|
9536
9800
|
private getBackgroundTaskManager;
|
|
@@ -9579,7 +9843,7 @@ declare class InteractiveSession extends InteractiveSessionBase implements ISess
|
|
|
9579
9843
|
private switchProvider;
|
|
9580
9844
|
/** CMD-004: after the command runs, the HOST applies its host actions via
|
|
9581
9845
|
* {@link applyCommandHostActions} and emits requester-routed `ui_intent` events. */
|
|
9582
|
-
executeCommand(name: string, args: string, source?: TCommandInvocationSource$1, originDriverId?: TDriverId): Promise<ICommandResult$1 | null>;
|
|
9846
|
+
executeCommand(name: string, args: string, source?: TCommandInvocationSource$1, originDriverId?: TDriverId, locality?: TCommandSurfaceLocality$1): Promise<ICommandResult$1 | null>;
|
|
9583
9847
|
}
|
|
9584
9848
|
//#endregion
|
|
9585
9849
|
//#region src/interactive/session-naming.d.ts
|
|
@@ -9650,6 +9914,22 @@ declare class PeerMessageIngress {
|
|
|
9650
9914
|
receive(ingress: IPeerMessageIngress): Promise<IIngressResult>;
|
|
9651
9915
|
}
|
|
9652
9916
|
//#endregion
|
|
9917
|
+
//#region src/interactive/interactive-session-rename.d.ts
|
|
9918
|
+
/** Thrown when a session exists on disk in a form this build cannot read, so a rename cannot land. */
|
|
9919
|
+
declare class SessionRenameUnavailableError extends Error {
|
|
9920
|
+
readonly sessionId: string;
|
|
9921
|
+
readonly outcome: 'corrupt' | 'unsupported';
|
|
9922
|
+
constructor(sessionId: string, outcome: 'corrupt' | 'unsupported');
|
|
9923
|
+
}
|
|
9924
|
+
/**
|
|
9925
|
+
* Persist a new name onto the stored record.
|
|
9926
|
+
*
|
|
9927
|
+
* `missing` is not an error: a session with nothing saved yet is renamed in memory and written by
|
|
9928
|
+
* the next persist. `corrupt` and `unsupported` are — the record is there, this build cannot read
|
|
9929
|
+
* it, and reporting nothing is what made a rename appear to succeed while changing nothing on disk.
|
|
9930
|
+
*/
|
|
9931
|
+
declare function persistSessionRename(sessionStore: IInteractiveSessionStore, sessionId: string, name: string): void;
|
|
9932
|
+
//#endregion
|
|
9653
9933
|
//#region src/interaction/InteractiveRuntime.d.ts
|
|
9654
9934
|
interface IInteractiveRuntime {
|
|
9655
9935
|
start(): Promise<void>;
|
|
@@ -9677,5 +9957,5 @@ interface IInteractiveRuntimeOptions {
|
|
|
9677
9957
|
type IInteractiveRuntimeTestOptions = Omit<IInteractiveRuntimeOptions, 'provider' | 'cwd'>;
|
|
9678
9958
|
declare function createInteractiveRuntime(options: IInteractiveRuntimeOptions): IInteractiveRuntime;
|
|
9679
9959
|
//#endregion
|
|
9680
|
-
export { TInstalledPluginsRegistry as $, ICommandHostMemory as $a, createLineDetailPage as $c, INodeHostSettingsSource as $i, COST_COMMAND_DESCRIPTION as $n, IPromptFileReferenceHistoryData as $o, resolvePermissionModeAdapter as $r, createNodeHostSessionStore as $s, IReversibleToolSafetyContext as $t, createPromptFileReferenceHistoryEntry as A, buildProviderProfile as Aa, TWorkspaceProjectMutationDecision as Ac, resolveActiveProvider as Ai, IEditCheckpointFileInspection as Al, TSandboxSettings as An, buildGoalContinuationPrompt as Ao, applyStatusLineSettings as Ar, ICommandSandboxAdapter as As, storeAgentToolDeps as At, ISkillActivationHistoryData as B, ISystemCommand as Ba, IAgentJobHostContext as Bc, ISettingsDocumentStore as Bi, ICapabilityDescriptor as Bl, listCommandUsedMemoryReferences as Bn, extractGoalSignal as Bo, PERMISSION_MODE_COMMAND_DESCRIPTION as Br, TRemoteControlStatus as Bs, IToolCallHandoffProvenance as Bt, sandboxApprovalFor as C, IProviderCommandSettingsAdapter as Ca, IWorkspaceTrustCause as Cc, createProviderFromSettings as Ci, ICommandSessionReplayValidationReport as Cl, TSkillSkipReason as Cn, IAppendMemoryResult as Co, TAppearanceSettingsPatch as Cr, ICommandOutputStyleRegistryAdapter as Cs, TKnownMarketplacesRegistry as Ct, resolvePromptFileReferences as D, IProviderSetupInput as Da, TWorkspaceContributionKind as Dc, mergeProviders as Di, TAutoCompactThresholdSource as Dl, ILoadContextOptions as Dn, MEMORY_INDEX_MAX_LINES as Do, DEFAULT_STATUS_LINE_COMMAND_SETTINGS as Dr, ICommandPickerAdapter as Ds, CommandRegistry as Dt, resolvePromptFileReferencePaths as E, IProviderSettingsBuildOptions as Ea, IWorkspaceTrustStoreSnapshot as Ec, resolveEnvDefaultProvider as Ei, IUnknownCommandModuleName as El, createWorkspaceProjectContributionSource as En, MEMORY_INDEX_MAX_BYTES as Eo, readAppearanceSettings as Er, ICommandPermissionRulesAdapter as Es, createBuiltinCommandModule as Et, TInteractivePermissionHandler as F, upsertProviderProfile as Fa, TWorkspaceTrustState as Fc, applyProviderConfiguration as Fi, IEditCheckpointRecorder as Fl, MEMORY_COMMAND_USAGE as Fn, DEFAULT_GOAL_NO_PROGRESS_LIMIT as Fo, applyPresetToSession as Fr, IHandoffProgress as Fs, substituteVariables as Ft, executeSkill as G, ICommandHostAgentJobs as Ga, MonitorCommandRefusedError as Gc, updateModelInSettings as Gi, TEffortDisposition as Gl, forkCommandEditCheckpoint as Gn, IContextReferenceUpsertResult as Go, formatCommandPermissionsMessage as Gr, IAdvisorStatus as Gs, ISubagentParentContext as Gt, IForkExecutionOptions as H, TSystemCommandLifecycle as Ha, IAgentJobMonitors as Hc, TSettingsScope as Hi, IProviderErrorGuidance as Hl, REWIND_COMMAND_ARGUMENT_HINT as Hn, IContextReferenceClearResult as Ho, TPermissionRuleKind as Hr, ADVISOR_OFF as Hs, TSubagentRunnerFactory as Ht, TPermissionResultValue$1 as I, validateProviderProfile as Ia, IOutputStylePrompt as Ic, applyProviderSwitch as Ii, IEditCheckpointRestoreResult as Il, buildMemoryCommandSubcommands as In, GoalController as Io, IPermissionRuleGroup as Ir, IHandoffStaysBehind as Is, ILivePromptTracePort as It, SystemCommandExecutor as J, ICommandHostCheckpoints as Ja, ICreateExecutionWorkspaceTaskSpawnerOptions as Jc, IWorkspaceProjectSettingsSource as Ji, parseModelEffort as Jl, listCommandEditCheckpoints as Jn, listActiveContextReferences as Jo, isPermissionMode as Jr, parseAdvisorSpec as Js, TSubagentSuffix as Jt, findUnknownModuleNames as K, ICommandHostBackgroundTasks as Ka, IBackgroundTaskRunner$1 as Kc, writeSettings as Ki, TEffortSelection as Kl, inspectCommandEditCheckpoint as Kn, clearContextReferences as Ko, formatInvalidPermissionModeMessage as Kr, ICommandAdvisorAdapter as Ks, createSubagentSession as Kt, IPromptHistoryOptions as L, ICommandModule as La, IPresetApplicationOptions as Lc, resolveProviderSettingsWriteTarget as Li, IEditCheckpointSummary as Ll, createCommandMemoryStores as Ln, IGoalSignal as Lo, IPermissionsCommandState as Lr, ILinkedDeviceSummary as Ls, ICreateSessionOptions as Lt, hasBlockingPromptFileReferenceDiagnostics as M, deleteProviderProfile as Ma, TWorkspaceProjectSettingsWriteDecision as Mc, IActiveModelChangeResult as Mi, IEditCheckpointInspection as Ml, createSystemCommands as Mn, GOAL_SIGNAL_TOOL_NAME as Mo, isStatusLineCommandSettingsPatch as Mr, ICommandSettingsAdapter as Ms, ISkillPromptContext as Mt, toPromptFileReferenceRecords as N, mergeProviderPatch as Na, TWorkspaceProjectStateDirectories as Nc, IProviderSwitchOptions as Ni, IEditCheckpointInspectionPlan as Nl, MEMORY_COMMAND_ARGUMENT_HINT as Nn, createGoalStatusTool as No, readStatusLineSettings as Nr, ICommandSettingsDocument as Ns, TShellExecFn as Nt, parsePromptFileReferences as O, IProviderSetupPatch as Oa, TWorkspaceProjectAccess as Oc, mergeSettings as Oi, ICommandResult$1 as Ol, IResolvedConfig as On, ProjectMemoryStore as Oo, STATUSLINE_COMMAND_ARGUMENT_HINT as Or, ICommandProcessAdapter as Os, createAgentTool as Ot, IExecutionResult$2 as P, setCurrentProvider as Pa, TWorkspaceProjectStateNamespace as Pc, applyActiveModelChange as Pi, IEditCheckpointManifest as Pl, MEMORY_COMMAND_DESCRIPTION as Pn, DEFAULT_GOAL_MAX_ITERATIONS as Po, IPresetApplicationResult as Pr, ICommandWorkspaceAdapter as Ps, preprocessShellCommands as Pt, IInstalledPluginRecord as Q, ICommandHostGoal as Qa, createExecutionWorkspaceTaskSpawner as Qc, readSettingsSourceText as Qi, CLEAR_COMMAND_DESCRIPTION as Qn, IPromptFileReferenceDiagnostic as Qo, readCommandPermissionsState as Qr, IInteractiveSessionStore$1 as Qs, IReversibleExecutionOptions as Qt, IRemoteCommandPolicy as R, TCommandModuleSessionRequirement as Ra, IAgentJobDispatch as Rc, createWorkspaceProjectSettingsStore as Ri, IEditCheckpointTurnInput as Rl, hasSensitiveCommandMemoryContent as Rn, IGoalStartOptions as Ro, PERMISSIONS_COMMAND_DESCRIPTION as Rr, IPermissionRuleLayer as Rs, TSessionResponseFormat as Rt, resolveSubagentLogDir as S, IProviderCommandModuleOptions as Sa, IWorkspaceProjectStateStorage as Sc, ProviderConfigError as Si, ICommandHostNoCapability as Sl, SkillCommandSource as Sn, IAppendMemoryInput as So, IAppearanceSettings as Sr, ICommandMCPSourceProblem as Ss, IMarketplacePluginEntry as St, TSettingsMergeRule as T, IProviderProfileSettings as Ta, IWorkspaceTrustStore as Tc, readProviderSettings as Ti, IModelReapplyOptions as Tl, IContributionSource as Tn, IStartupMemory as To, isAppearanceSettingsPatch as Tr, ICommandPermissionModeAdapter as Ts, BuiltinCommandSource as Tt, ISkillExecutionCallbacks as U, TSystemCommandSemanticRole as Ua, IAgentJobSchedules as Uc, deleteSettings as Ui, IModelEffortInputs as Ul, REWIND_COMMAND_DESCRIPTION as Un, IContextReferenceInventoryLimits as Uo, VALID_PERMISSION_MODES as Ur, IAdvisorSetResult as Us, createInProcessSubagentRunner as Ut, createSkillExecutionPort as V, ISystemCommandSemanticRoles as Va, IAgentJobLogs as Vc, TSettingsData as Vi, IAgentDefinition as Vl, recordCommandMemoryEvent as Vn, IContextReferenceAddResult as Vo, RUNTIME_RULE_SOURCE as Vr, TSandboxCommandMode as Vs, IInProcessSubagentRunnerDeps as Vt, ISkillExecutionResult as W, ICommandHostAdapterAccess as Wa, MONITOR_SHELL_TOOL as Wc, readSettings as Wi, IModelEffortResolution as Wl, buildRewindCommandSubcommands as Wn, IContextReferenceRemoveResult as Wo, buildPermissionModeSubcommands as Wr, IAdvisorSpec as Ws, ISubagentOptions as Wt, BundlePluginInstaller as X, ICommandHostContextReferences as Xa, ISpawnAgentTaskRequest as Xc, TSettingsSource as Xi, rollbackCommandEditCheckpoint as Xn, toContextReferenceRecords as Xo, parsePermissionModeArgument as Xr, IHostToolResultSpillStore as Xs, getForkWorkerSuffix as Xt, PluginCommandSource as Y, ICommandHostContext as Ya, IExecutionWorkspaceTaskSpawner as Yc, TProjectSettingsScope as Yi, resolveModelEffort as Yl, restoreCommandEditCheckpoint as Yn, removeContextReference as Yo, listCommandSessionAllowedTools as Yr, resolveStartupAdvisorSpec as Ys, assembleSubagentPrompt as Yt, IBundlePluginInstallerOptions as Z, ICommandHostContextWindow as Za, ISpawnProcessTaskRequest as Zc, createWorkspaceProjectSettingsSources as Zi, switchCommandEditCheckpointBranch as Zn, upsertContextReference as Zo, readCommandPermissionMode as Zr, IInteractiveSessionRecord$1 as Zs, getSubagentSuffix as Zt, IExternalEventSourceOptions as _, readCommandContextState as _a, IWorkspaceIdentityResolver as _c, parseCommandBackgroundLogCursor as _i, ICommandSessionIdentity as _l, listFrameworkProjectContributionPaths as _n, IMemoryExtractionInput as _o, buildPluginCommandSubcommands as _r, ICommandMCPOAuthLoginRequest as _s, IPluginSettings as _t, PeerMessageIngress as a, probeProviderProfile as aa, listResumableSessionSummaries as ac, TRecommendedResponseLanguage as ai, EXECUTION_ORIGIN_METADATA_KEYS as al, TReversibleSideEffect as an, ICommandHostWorkspace as ao, VALIDATE_SESSION_COMMAND_DESCRIPTION as ar, TPromptFileReferenceDiagnosticCode as as, BundlePluginLoader as at, createExternalEventGrantHistory as b, setCommandAutoCompactThreshold as ba, IWorkspaceProjectReader as bc, formatCommandHelpMessage as bi, ICommandSessionPreset as bl, ISkillSourceInspection as bn, TMemoryCandidateStatus as bo, APPEARANCE_SETTINGS_KEYS as br, ICommandMCPOAuthRedirectPrompt as bs, IMarketplaceClientOptions as bt, IInteractiveSessionShutdownOptions as c, DEFAULT_AUTO_COMPACT_THRESHOLD as ca, resolveSessionIdByIdOrName as cc, parseLanguageArgument as ci, createExecutionOriginMetadata as cl, IPromptExecutorOptions as cn, IMemoryCurationQueue as co, createSessionRenameHostAction as cr, ICommandCostBudget as cs, IBundlePluginInspection as ct, ISessionRecordRestoreResult as d, addCommandContextReference as da, WorkspaceSessionLogSource as dc, buildBackgroundCommandSubcommands as di, BackgroundJobOrchestrator as dl, TProviderFactory as dn, IMemoryWriter as do, parseSessionNameArgument as dr, ICommandExternalEventGrant as ds, IBundlePluginMcpServer as dt, createNodeHostSettingsSource as ea, createNodeToolResultSpillStore as ec, retryCommandPermissionDenial as ei, createMainThreadDetailPage as el, IReversibleToolSafetyInput as en, ICommandHostPlan as eo, EXIT_COMMAND_DESCRIPTION as er, IPromptFileReferenceLimits as es, MarketplaceClient as et, restoreSessionRecordIntoSession as f, clearCommandContextReferences as fa, IRestrictedWorkspaceProjectAccess as fc, cancelCommandBackgroundTask as fi, IBackgroundJobOrchestratorOptions as fl, AgentExecutor as fn, IPerTurnRecallConfig as fo, readCommandSessionInfo as fr, ICommandExternalEventsAdapter as fs, IBundlePluginSkip as ft, IExternalEventSource as g, readAutoCompactThresholdSource as ga, IWorkspaceIdentity as gc, listCommandBackgroundTasks as gi, ICommandSessionHistory as gl, IProjectContributionPath as gn, IMemoryCandidate as go, RELOAD_PLUGINS_COMMAND_DESCRIPTION as gr, ICommandMCPActivationSummary as gs, TEnabledPlugins as gt, ExternalEventIngress as h, readAutoCompactThreshold as ha, IWorkspaceDirectoryEntry as hc, formatCommandBackgroundTaskList as hi, ICommandSessionContextWindow as hl, TSessionFactory as hn, IAutomaticMemoryConfig as ho, PLUGIN_COMMAND_DESCRIPTION as hr, ICommandMCPActivationAdapter as hs, TBundlePluginSkipReason as ht, IInteractiveRuntime as i, checkSettingsDocument as ia, isSafeSessionId$1 as ic, RECOMMENDED_RESPONSE_LANGUAGES as ii, createExecutionWorkspaceSnapshot as il, TReversibleSafetyStatus as in, ICommandHostUserInteraction as io, RESUME_COMMAND_DESCRIPTION as ir, IResolvedPromptFileReferences as is, loadHostBundlePluginsFromScopes as it, formatPromptFileReferenceDiagnostics as j, buildProviderSetupPatch as ja, TWorkspaceProjectSettingsTarget as jc, IActiveModelChangeOptions as ji, IEditCheckpointFileRecord as jl, TSettings as jn, buildGoalStartPrompt as jo, buildStatusLineCommandSubcommands as jr, ICommandSandboxStatus as js, IAgentToolDeps as jt, buildPromptWithFileReferences as k, TProviderSettingsDocument as ka, TWorkspaceProjectAuthorityCandidate as kc, readMergedProviderSettingsFromSources as ki, IOrgPolicy as kl, TEnvResolvedSettings as kn, isMemoryType as ko, STATUSLINE_COMMAND_DESCRIPTION as kr, ICommandRemoteControlAdapter as ks, retrieveAgentToolDeps as kt, InteractiveSession as l, ICompactContextResult as la, WorkspaceProjectSessionStore as lc, BACKGROUND_COMMAND_DESCRIPTION as li, createMainThreadExecutionEntryId as ll, IPromptProvider as ln, IMemoryRecaller as lo, createShowSessionPickerIntent as lr, ICommandCostBudgetAdapter as ls, IBundlePluginManifest as lt, ExternalEventGrantHistory as m, listCommandContextReferences as ma, IWorkspaceAncestorTextEntry as mc, formatCommandBackgroundTask as mi, ISessionUsageRecord as ml, IAgentSession as mn, ISemanticMemoryQueryResult as mo, PLUGIN_COMMAND_ARGUMENT_HINT as mr, ICommandHostAdapters as ms, ILoadedBundlePlugin as mt, IInteractiveRuntimeTestOptions as n, TSettingsCheck as na, createUserPromptHistoryFile as nc, LANGUAGE_COMMAND_ARGUMENT_HINT as ni, TExecutionAttachOutcome as nl, TReversibleExecutionIsolation as nn, ICommandHostSessionAccess as no, RENAME_COMMAND_DESCRIPTION as nr, IPromptFileReferenceToken as ns, createHostBundlePluginLoader as nt, IGenerateSessionNameOptions as o, testProviderProfileCommand as oa, listUnreadableSessions as oc, buildLanguageCommandSubcommands as oi, createBackgroundGroupExecutionEntryId as ol, evaluateReversibleToolSafety as on, IDurableMemoryReader as oo, clearConversationHistory as or, wrapEditCheckpointTools as os, IBundlePluginFeatures as ot, TInteractiveSessionOptions as p, compactCommandContext as pa, ITrustedWorkspaceProjectAccess as pc, closeCommandBackgroundTask as pi, summarizeBackgroundJobGroup as pl, IAgentExecutorOptions as pn, ISemanticMemoryAdapter as po, validateCommandSessionReplayLog as pr, ICommandHandoffAdapter as ps, IBundleSkill as pt, selectCommandModules as q, ICommandHostCatalog as qa, IBackgroundTaskSpawnerGroupRequest as qc, IProjectSettingsPath as qi, TEffortSource as ql, listCommandEditCheckpointBranches as qn, createContextReferenceItem as qo, groupPermissionRulesBySource as qr, formatAdvisorSpec as qs, ISubagentPromptOptions as qt, createInteractiveRuntime as r, checkNodeHostSettingsFile as ra, createUserSessionStore as rc, LANGUAGE_COMMAND_DESCRIPTION as ri, resolveExecutionAttach as rl, TReversibleRollbackLayer as rn, ICommandHostTerminalHandoff as ro, RENAME_COMMAND_USAGE as rr, IResolvedPromptFileReference as rs, loadHostBundlePluginInspectionFromScopes as rt, generateSessionName as s, AUTO_COMPACT_THRESHOLD_SETTINGS_KEY as sa, resolveLatestSessionId as sc, formatLanguageUsageMessage as si, createBackgroundTaskExecutionEntryId as sl, wrapReversibleExecutionTools as sn, IMemoryBudget as so, createSessionExitHostAction as sr, EditCheckpointStore as ss, IBundlePluginHookIssue as st, IInteractiveRuntimeOptions as t, THostSettingsScope as ta, createProjectSessionStore as tc, writeCommandPermissionMode as ti, IResolveExecutionAttachInput as tl, IReversibleToolSafetyReport as tn, ICommandHostPresetApplication as to, ICommandSessionInfo as tr, IPromptFileReferenceResolveOptions as ts, IHostBundlePluginLoaderOptions as tt, IInteractiveSession$1 as u, TAutoCompactThreshold$2 as ua, WorkspaceSessionLogSink as uc, BACKGROUND_COMMAND_USAGE as ui, parseExecutionWorkspaceEntryId as ul, PromptExecutor as un, IMemoryStore as uo, formatCommandSessionReplayValidationReport as ur, ICommandEffortAdapter as us, IBundlePluginMcpFault as ut, TExternalEventReceipt as v, removeCommandContextReference as va, IWorkspaceProjectAuthority as vc, readCommandBackgroundTaskLog as vi, ICommandSessionModel as vl, ISkillRootDescriptor as vn, IMemoryPendingRecord as vo, createShowPluginManagerIntent as vr, ICommandMCPOAuthLoginResult as vs, NodeHostPluginSettingsStore as vt, IHookDefinitionSource as w, ILegacyProviderSettings as wa, IWorkspaceTrustGrant as wc, readMergedProviderSettings as wi, ICommandSkillListEntry as wl, inspectSkillSources as wn, IProjectMemorySummary as wo, applyAppearanceSettings as wr, ICommandOutputStyleSummary as ws, TMarketplaceSource as wt, createSubagentLogger as x, writeAutoCompactThresholdSetting as xa, IWorkspaceProjectSettingsWriter as xc, IReadProviderSettingsOptions as xi, ICommandSessionRuntime as xl, ISkillSourceSkip as xn, TMemoryPolicyMode as xo, DEFAULT_APPEARANCE_SETTINGS as xr, ICommandMCPOAuthStatus as xs, IMarketplaceManifest as xt, TExternalEventSettlement as y, resetAutoCompactThresholdSetting as ya, IWorkspaceProjectMutation as yc, HELP_COMMAND_DESCRIPTION as yi, ICommandSessionPermissions as yl, ISkillRootInspection as yn, IMemoryRetrievalResult as yo, resolvePluginCommandAdapter as yr, ICommandMCPOAuthLogoutResult as ys, IKnownMarketplaceEntry as yt, createDefaultRemoteCommandPolicy as z, DuplicateSystemCommandSemanticRoleError as za, IAgentJobGroups as zc, createNodeHostSettingsStore as zi, TEditCheckpointFileRestoreAction as zl, isCommandMemoryType as zn, TGoalDecision as zo, PERMISSION_MODE_ARGUMENT_HINT as zr, IWorkspaceMoveRequest as zs, IToolCallHandoffPolicy as zt };
|
|
9681
|
-
//# sourceMappingURL=createInteractiveRuntime-
|
|
9960
|
+
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 };
|
|
9961
|
+
//# sourceMappingURL=createInteractiveRuntime-3MZpPTdw.d.ts.map
|