@robota-sdk/agent-sdk 3.0.0-beta.61 → 3.0.0-beta.63
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/dist/node/index.cjs +1201 -336
- package/dist/node/index.d.cts +315 -20
- package/dist/node/index.d.ts +315 -20
- package/dist/node/index.js +1182 -338
- package/package.json +6 -5
package/dist/node/index.d.cts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { ISessionReplayValidationResult, ICompactEvent, ITerminalOutput, ISessionLogger, TPermissionHandler, Session, FileSessionLogger } from '@robota-sdk/agent-sessions';
|
|
2
|
-
import { TUniversalValue, TSessionEndReason, TPermissionMode, IToolWithEventService, IContextWindowState, IProviderProfileConfig, IProviderDefinition, TProviderSetupField, IProviderSetupStepDefinition, IProviderSetupHelpLink, IProviderProbeResult, IProviderModelCatalog,
|
|
3
|
-
import {
|
|
2
|
+
import { TUniversalValue, TSessionEndReason, IHistoryEntry, TPermissionMode, IToolWithEventService, IContextWindowState, IProviderProfileConfig, IProviderDefinition, TProviderSetupField, IProviderSetupStepDefinition, IProviderSetupHelpLink, IProviderProbeResult, IProviderModelCatalog, TToolArgs, THooksConfig, IAIProvider, IHookTypeExecutor, IHookDefinition, IHookInput, IHookResult, TTrustLevel, TUniversalMessage, IToolSchema, ISession } from '@robota-sdk/agent-core';
|
|
3
|
+
import { ITransportAdapter } from '@robota-sdk/agent-interface-transport';
|
|
4
|
+
export { IConfigurableTransport, ITransportAdapter, ITransportConfig } from '@robota-sdk/agent-interface-transport';
|
|
5
|
+
import { IBackgroundTaskManager, TBackgroundTaskStatus, IBackgroundTaskError, IBackgroundTaskState, IBackgroundTaskLogCursor, TBackgroundTaskKind, TBackgroundPrimitive, TBackgroundTaskMode, TBackgroundTaskIsolation, TBackgroundPermissionPolicy, IBackgroundTaskListFilter, IBackgroundTaskLogPage, TBackgroundTaskEvent, ISubagentRunner, IBackgroundTaskRunner, IBackgroundTaskInput, ISubagentJobState, ISubagentJobResult, ISubagentManager } from '@robota-sdk/agent-runtime';
|
|
4
6
|
export { BackgroundTaskError, BackgroundTaskManager, DEFAULT_BACKGROUND_TASK_LOG_PAGE_SIZE, IAgentBackgroundTaskRequest, IBackgroundTaskError, IBackgroundTaskHandle, IBackgroundTaskInput, IBackgroundTaskListFilter, IBackgroundTaskLogCursor, IBackgroundTaskLogPage, IBackgroundTaskManager, IBackgroundTaskManagerOptions, IBackgroundTaskRequest, IBackgroundTaskResult, IBackgroundTaskRunner, IBackgroundTaskStart, IBackgroundTaskState, IBaseBackgroundTaskRequest, ICreateLimitedOutputCaptureOptions, ILimitedOutputCapture, IPreparedSubagentWorktree, IProcessBackgroundTaskRequest, ISerializableProviderProfile, ISubagentJobHandle, ISubagentJobResult, ISubagentJobStart, ISubagentJobState, ISubagentManager, ISubagentManagerOptions, ISubagentRunner, ISubagentSpawnRequest, ISubagentWorktreeAdapter, ISubagentWorktreePrepareRequest, IWorktreeSubagentRunnerOptions, SubagentManager, TBackgroundPermissionPolicy, TBackgroundPrimitive, TBackgroundTaskErrorCategory, TBackgroundTaskEvent, TBackgroundTaskEventListener, TBackgroundTaskIdFactory, TBackgroundTaskIsolation, TBackgroundTaskKind, TBackgroundTaskMode, TBackgroundTaskRunnerEvent, TBackgroundTaskStatus, TBackgroundTaskTimeoutReason, TBackgroundTaskTransitionEvent, TSubagentJobMode, TSubagentJobStatus, WorktreeSubagentRunner, appendPrefixedLogLines, createBackgroundTaskLogPage, createLimitedOutputCapture, createWorktreeSubagentRunner, getBackgroundTaskTransitions, isTerminalBackgroundTaskStatus, transitionBackgroundTaskStatus } from '@robota-sdk/agent-runtime';
|
|
5
7
|
import { ISandboxClient, IWorkspaceManifest, createZodFunctionTool } from '@robota-sdk/agent-tools';
|
|
6
8
|
|
|
@@ -90,6 +92,8 @@ type TCommandEffect = {
|
|
|
90
92
|
type: 'plugin-tui-requested';
|
|
91
93
|
} | {
|
|
92
94
|
type: 'plugin-registry-reload-requested';
|
|
95
|
+
} | {
|
|
96
|
+
type: 'settings-tui-requested';
|
|
93
97
|
} | {
|
|
94
98
|
type: 'session-picker-requested';
|
|
95
99
|
} | {
|
|
@@ -231,6 +235,186 @@ declare class BackgroundJobOrchestrator {
|
|
|
231
235
|
}
|
|
232
236
|
declare function summarizeBackgroundJobGroup(group: IBackgroundJobGroupState): IBackgroundJobGroupSummary;
|
|
233
237
|
|
|
238
|
+
declare const EXECUTION_ORIGIN_METADATA_KEYS: {
|
|
239
|
+
readonly kind: "executionOriginKind";
|
|
240
|
+
readonly sessionId: "executionOriginSessionId";
|
|
241
|
+
readonly turnId: "executionOriginTurnId";
|
|
242
|
+
readonly commandName: "executionOriginCommandName";
|
|
243
|
+
readonly toolCallId: "executionOriginToolCallId";
|
|
244
|
+
readonly skillId: "executionOriginSkillId";
|
|
245
|
+
readonly label: "executionOriginLabel";
|
|
246
|
+
};
|
|
247
|
+
type TExecutionEntryKind = 'main_thread' | 'background_task' | 'background_group';
|
|
248
|
+
type TExecutionWorkspaceStatus = 'active' | 'idle' | TBackgroundTaskStatus;
|
|
249
|
+
type TExecutionAttention = 'none' | 'unread' | 'failed' | 'permission' | 'completed';
|
|
250
|
+
type TExecutionWorkspaceVisibility = 'default' | 'collapsed';
|
|
251
|
+
type TExecutionControl = 'select' | 'cancel' | 'close' | 'send' | 'read_log' | 'wait';
|
|
252
|
+
type TExecutionOriginKind = 'user_prompt' | 'slash_command' | 'model_command' | 'tool_call' | 'skill' | 'transport' | 'system';
|
|
253
|
+
type TExecutionDetailRecordKind = 'message' | 'tool_activity' | 'process_output' | 'progress' | 'result' | 'error' | 'group_summary';
|
|
254
|
+
type TExecutionWorkspaceUpdateCause = 'main_thread' | 'background_task' | 'background_group';
|
|
255
|
+
interface IExecutionOrigin {
|
|
256
|
+
readonly kind: TExecutionOriginKind;
|
|
257
|
+
readonly sessionId: string;
|
|
258
|
+
readonly turnId?: string;
|
|
259
|
+
readonly commandName?: string;
|
|
260
|
+
readonly toolCallId?: string;
|
|
261
|
+
readonly skillId?: string;
|
|
262
|
+
readonly label?: string;
|
|
263
|
+
}
|
|
264
|
+
interface IExecutionWorkspaceEntry {
|
|
265
|
+
readonly id: string;
|
|
266
|
+
readonly sourceId: string;
|
|
267
|
+
readonly kind: TExecutionEntryKind;
|
|
268
|
+
readonly parentId?: string;
|
|
269
|
+
readonly groupId?: string;
|
|
270
|
+
readonly origin: IExecutionOrigin;
|
|
271
|
+
readonly taskKind?: TBackgroundTaskKind;
|
|
272
|
+
readonly status: TExecutionWorkspaceStatus;
|
|
273
|
+
readonly title: string;
|
|
274
|
+
readonly subtitle?: string;
|
|
275
|
+
readonly preview?: string;
|
|
276
|
+
readonly currentAction?: string;
|
|
277
|
+
readonly unread: boolean;
|
|
278
|
+
readonly attention: TExecutionAttention;
|
|
279
|
+
readonly visibility: TExecutionWorkspaceVisibility;
|
|
280
|
+
readonly updatedAt: string;
|
|
281
|
+
readonly controls: readonly TExecutionControl[];
|
|
282
|
+
}
|
|
283
|
+
interface IExecutionWorkspaceFilter {
|
|
284
|
+
readonly includeMainThread?: boolean;
|
|
285
|
+
readonly kinds?: readonly TExecutionEntryKind[];
|
|
286
|
+
readonly visibility?: readonly TExecutionWorkspaceVisibility[];
|
|
287
|
+
}
|
|
288
|
+
interface IExecutionWorkspaceSnapshot {
|
|
289
|
+
readonly sessionId: string;
|
|
290
|
+
readonly selectedEntryId?: string;
|
|
291
|
+
readonly updatedAt: string;
|
|
292
|
+
readonly entries: readonly IExecutionWorkspaceEntry[];
|
|
293
|
+
}
|
|
294
|
+
interface IExecutionWorkspaceSnapshotOptions {
|
|
295
|
+
readonly selectedEntryId?: string;
|
|
296
|
+
readonly filter?: IExecutionWorkspaceFilter;
|
|
297
|
+
}
|
|
298
|
+
interface IExecutionWorkspaceEvent {
|
|
299
|
+
readonly type: 'execution_workspace_updated';
|
|
300
|
+
readonly cause: TExecutionWorkspaceUpdateCause;
|
|
301
|
+
readonly entryId?: string;
|
|
302
|
+
readonly snapshot: IExecutionWorkspaceSnapshot;
|
|
303
|
+
}
|
|
304
|
+
interface IExecutionDetailCursor {
|
|
305
|
+
readonly offset: number;
|
|
306
|
+
}
|
|
307
|
+
interface IExecutionDetailRecord {
|
|
308
|
+
readonly id: string;
|
|
309
|
+
readonly kind: TExecutionDetailRecordKind;
|
|
310
|
+
readonly text: string;
|
|
311
|
+
readonly timestamp?: string;
|
|
312
|
+
readonly sourceId?: string;
|
|
313
|
+
}
|
|
314
|
+
interface IExecutionDetailPage {
|
|
315
|
+
readonly entryId: string;
|
|
316
|
+
readonly cursor?: IExecutionDetailCursor;
|
|
317
|
+
readonly nextCursor?: IExecutionDetailCursor;
|
|
318
|
+
readonly records: readonly IExecutionDetailRecord[];
|
|
319
|
+
}
|
|
320
|
+
interface ICreateMainThreadEntryInput {
|
|
321
|
+
readonly sessionId: string;
|
|
322
|
+
readonly isExecuting: boolean;
|
|
323
|
+
readonly hasPendingPrompt: boolean;
|
|
324
|
+
readonly historyLength: number;
|
|
325
|
+
readonly updatedAt: string;
|
|
326
|
+
readonly preview?: string;
|
|
327
|
+
}
|
|
328
|
+
interface ICreateExecutionWorkspaceSnapshotInput {
|
|
329
|
+
readonly sessionId: string;
|
|
330
|
+
readonly mainThread: ICreateMainThreadEntryInput;
|
|
331
|
+
readonly tasks: readonly IBackgroundTaskState[];
|
|
332
|
+
readonly groups: readonly IBackgroundJobGroupState[];
|
|
333
|
+
readonly selectedEntryId?: string;
|
|
334
|
+
readonly filter?: IExecutionWorkspaceFilter;
|
|
335
|
+
}
|
|
336
|
+
interface IExecutionWorkspaceEntryRef {
|
|
337
|
+
readonly kind: TExecutionEntryKind;
|
|
338
|
+
readonly sourceId: string;
|
|
339
|
+
}
|
|
340
|
+
interface ICreateMainThreadDetailPageInput {
|
|
341
|
+
readonly entryId: string;
|
|
342
|
+
readonly history: readonly IHistoryEntry[];
|
|
343
|
+
readonly cursor?: IExecutionDetailCursor;
|
|
344
|
+
}
|
|
345
|
+
interface ICreateLineDetailPageInput {
|
|
346
|
+
readonly entryId: string;
|
|
347
|
+
readonly lines: readonly string[];
|
|
348
|
+
readonly cursor?: IBackgroundTaskLogCursor;
|
|
349
|
+
readonly nextCursor?: IBackgroundTaskLogCursor;
|
|
350
|
+
readonly kind?: TExecutionDetailRecordKind;
|
|
351
|
+
}
|
|
352
|
+
declare function createMainThreadExecutionEntryId(sessionId: string): string;
|
|
353
|
+
declare function createBackgroundTaskExecutionEntryId(taskId: string): string;
|
|
354
|
+
declare function createBackgroundGroupExecutionEntryId(groupId: string): string;
|
|
355
|
+
declare function parseExecutionWorkspaceEntryId(entryId: string): IExecutionWorkspaceEntryRef | undefined;
|
|
356
|
+
declare function createExecutionOriginMetadata(origin: IExecutionOrigin): Record<string, TBackgroundPrimitive>;
|
|
357
|
+
|
|
358
|
+
declare function createExecutionWorkspaceSnapshot(input: ICreateExecutionWorkspaceSnapshotInput): IExecutionWorkspaceSnapshot;
|
|
359
|
+
|
|
360
|
+
declare function createMainThreadDetailPage(input: ICreateMainThreadDetailPageInput): IExecutionDetailPage;
|
|
361
|
+
declare function createLineDetailPage(input: ICreateLineDetailPageInput): IExecutionDetailPage;
|
|
362
|
+
|
|
363
|
+
interface ISpawnAgentTaskRequest {
|
|
364
|
+
readonly label: string;
|
|
365
|
+
readonly agentType: string;
|
|
366
|
+
readonly prompt: string;
|
|
367
|
+
readonly mode?: TBackgroundTaskMode;
|
|
368
|
+
readonly parentTaskId?: string;
|
|
369
|
+
readonly depth?: number;
|
|
370
|
+
readonly cwd?: string;
|
|
371
|
+
readonly model?: string;
|
|
372
|
+
readonly isolation?: TBackgroundTaskIsolation;
|
|
373
|
+
readonly allowedTools?: readonly string[];
|
|
374
|
+
readonly disallowedTools?: readonly string[];
|
|
375
|
+
readonly permissionPolicy?: TBackgroundPermissionPolicy;
|
|
376
|
+
readonly timeoutMs?: number;
|
|
377
|
+
readonly idleTimeoutMs?: number;
|
|
378
|
+
readonly maxRuntimeMs?: number;
|
|
379
|
+
readonly outputLimitBytes?: number;
|
|
380
|
+
readonly maxTextDeltas?: number;
|
|
381
|
+
readonly repetitionWindow?: number;
|
|
382
|
+
readonly repetitionThreshold?: number;
|
|
383
|
+
}
|
|
384
|
+
interface ISpawnProcessTaskRequest {
|
|
385
|
+
readonly command: string;
|
|
386
|
+
readonly label?: string;
|
|
387
|
+
readonly mode?: TBackgroundTaskMode;
|
|
388
|
+
readonly parentTaskId?: string;
|
|
389
|
+
readonly depth?: number;
|
|
390
|
+
readonly cwd?: string;
|
|
391
|
+
readonly shell?: string;
|
|
392
|
+
readonly env?: Record<string, string>;
|
|
393
|
+
readonly stdin?: string;
|
|
394
|
+
readonly timeoutMs?: number;
|
|
395
|
+
readonly idleTimeoutMs?: number;
|
|
396
|
+
readonly maxRuntimeMs?: number;
|
|
397
|
+
readonly outputLimitBytes?: number;
|
|
398
|
+
}
|
|
399
|
+
interface IBackgroundTaskSpawnerGroupRequest {
|
|
400
|
+
readonly waitPolicy: IBackgroundJobGroupCreateRequest['waitPolicy'];
|
|
401
|
+
readonly taskIds: readonly string[];
|
|
402
|
+
readonly label?: string;
|
|
403
|
+
}
|
|
404
|
+
interface IExecutionWorkspaceTaskSpawner {
|
|
405
|
+
spawnAgent(request: ISpawnAgentTaskRequest): Promise<IBackgroundTaskState>;
|
|
406
|
+
spawnProcess(request: ISpawnProcessTaskRequest): Promise<IBackgroundTaskState>;
|
|
407
|
+
createGroup(request: IBackgroundTaskSpawnerGroupRequest): IBackgroundJobGroupState;
|
|
408
|
+
}
|
|
409
|
+
interface ICreateExecutionWorkspaceTaskSpawnerOptions {
|
|
410
|
+
readonly manager: IBackgroundTaskManager;
|
|
411
|
+
readonly groupOrchestrator: BackgroundJobOrchestrator;
|
|
412
|
+
readonly sessionId: string;
|
|
413
|
+
readonly cwd: string;
|
|
414
|
+
readonly origin: IExecutionOrigin;
|
|
415
|
+
}
|
|
416
|
+
declare function createExecutionWorkspaceTaskSpawner(options: ICreateExecutionWorkspaceTaskSpawnerOptions): IExecutionWorkspaceTaskSpawner;
|
|
417
|
+
|
|
234
418
|
declare const PLUGIN_COMMAND_DESCRIPTION = "Manage plugins";
|
|
235
419
|
declare const PLUGIN_COMMAND_ARGUMENT_HINT = "manage | install <name@marketplace> | uninstall <name@marketplace> | enable <name@marketplace> | disable <name@marketplace> | marketplace <action>";
|
|
236
420
|
declare const RELOAD_PLUGINS_COMMAND_DESCRIPTION = "Reload all plugin resources";
|
|
@@ -1094,7 +1278,7 @@ declare class BundlePluginLoader {
|
|
|
1094
1278
|
* For each marketplace/plugin pair, the latest version (lexicographically last) is loaded.
|
|
1095
1279
|
*/
|
|
1096
1280
|
private discoverAndLoad;
|
|
1097
|
-
/** Read and validate a plugin.json manifest. Returns null
|
|
1281
|
+
/** Read and validate a plugin.json manifest. Returns null if the manifest structure is invalid. */
|
|
1098
1282
|
private readManifest;
|
|
1099
1283
|
/**
|
|
1100
1284
|
* Check if a plugin is explicitly disabled.
|
|
@@ -1110,7 +1294,7 @@ declare class BundlePluginLoader {
|
|
|
1110
1294
|
private loadCommands;
|
|
1111
1295
|
/** Load hooks from hooks/hooks.json if present. */
|
|
1112
1296
|
private loadHooks;
|
|
1113
|
-
/** Load MCP server configuration
|
|
1297
|
+
/** Load MCP server configuration from `.mcp.json` at the plugin root if present. */
|
|
1114
1298
|
private loadMcpConfig;
|
|
1115
1299
|
/** Load agent definitions from agents/ directory if present. */
|
|
1116
1300
|
private loadAgents;
|
|
@@ -1517,22 +1701,10 @@ interface IInteractiveSessionEvents {
|
|
|
1517
1701
|
skill_activation: (event: ISkillActivationEvent) => void;
|
|
1518
1702
|
background_task_event: (event: TBackgroundTaskEvent) => void;
|
|
1519
1703
|
background_job_group_event: (event: TBackgroundJobGroupEvent) => void;
|
|
1704
|
+
execution_workspace_event: (event: IExecutionWorkspaceEvent) => void;
|
|
1705
|
+
user_message: (content: string) => void;
|
|
1520
1706
|
}
|
|
1521
1707
|
type TInteractiveEventName = keyof IInteractiveSessionEvents;
|
|
1522
|
-
/**
|
|
1523
|
-
* Common interface for all transport adapters.
|
|
1524
|
-
* Each transport exposes InteractiveSession over a specific protocol.
|
|
1525
|
-
*/
|
|
1526
|
-
interface ITransportAdapter {
|
|
1527
|
-
/** Human-readable transport name (e.g., 'http', 'ws', 'mcp', 'headless') */
|
|
1528
|
-
readonly name: string;
|
|
1529
|
-
/** Attach an InteractiveSession to this transport. */
|
|
1530
|
-
attach(session: InteractiveSession): void;
|
|
1531
|
-
/** Start serving. What this means depends on the transport. */
|
|
1532
|
-
start(): Promise<void>;
|
|
1533
|
-
/** Stop serving and clean up resources. */
|
|
1534
|
-
stop(): Promise<void>;
|
|
1535
|
-
}
|
|
1536
1708
|
|
|
1537
1709
|
/**
|
|
1538
1710
|
* Definition of an agent that can be spawned as a subagent.
|
|
@@ -1598,6 +1770,11 @@ interface IResolvedConfig {
|
|
|
1598
1770
|
}>;
|
|
1599
1771
|
/** Auto-compact threshold as a 0-1 fraction. Set false to disable automatic compaction. */
|
|
1600
1772
|
autoCompactThreshold?: number | false;
|
|
1773
|
+
/** Transport enable/disable + options: transport name -> { enabled, options } */
|
|
1774
|
+
transports?: Record<string, {
|
|
1775
|
+
enabled?: boolean;
|
|
1776
|
+
options?: Record<string, unknown>;
|
|
1777
|
+
}>;
|
|
1601
1778
|
}
|
|
1602
1779
|
|
|
1603
1780
|
interface ILoadedContext {
|
|
@@ -2070,6 +2247,8 @@ interface IInteractiveSessionStandardOptions {
|
|
|
2070
2247
|
allowedTools?: string[];
|
|
2071
2248
|
/** Text to append to the system prompt. */
|
|
2072
2249
|
appendSystemPrompt?: string;
|
|
2250
|
+
/** Override config language (e.g., "ko", "en"). Injected into system prompt. */
|
|
2251
|
+
language?: string;
|
|
2073
2252
|
/** Runtime-composed background task runners. */
|
|
2074
2253
|
backgroundTaskRunners?: IBackgroundTaskRunner[];
|
|
2075
2254
|
/** Runtime shell override for subagent execution. */
|
|
@@ -2131,7 +2310,7 @@ interface IInteractiveSessionShutdownOptions {
|
|
|
2131
2310
|
reason?: TSessionEndReason;
|
|
2132
2311
|
message?: string;
|
|
2133
2312
|
}
|
|
2134
|
-
declare class InteractiveSession {
|
|
2313
|
+
declare class InteractiveSession implements ISession {
|
|
2135
2314
|
private session;
|
|
2136
2315
|
private readonly commandExecutor;
|
|
2137
2316
|
private readonly listeners;
|
|
@@ -2179,6 +2358,7 @@ declare class InteractiveSession {
|
|
|
2179
2358
|
private initializeAsync;
|
|
2180
2359
|
private ensureInitialized;
|
|
2181
2360
|
private getSessionOrThrow;
|
|
2361
|
+
get sessionId(): string;
|
|
2182
2362
|
on<E extends TInteractiveEventName>(event: E, handler: IInteractiveSessionEvents[E]): void;
|
|
2183
2363
|
off<E extends TInteractiveEventName>(event: E, handler: IInteractiveSessionEvents[E]): void;
|
|
2184
2364
|
private emit;
|
|
@@ -2210,6 +2390,7 @@ declare class InteractiveSession {
|
|
|
2210
2390
|
getMessages(): TUniversalMessage[];
|
|
2211
2391
|
getStreamingText(): string;
|
|
2212
2392
|
getActiveTools(): IToolState[];
|
|
2393
|
+
get isInitialized(): boolean;
|
|
2213
2394
|
getContextState(): IContextWindowState;
|
|
2214
2395
|
getAutoCompactThreshold(): number | false;
|
|
2215
2396
|
getAutoCompactThresholdSource(): TAutoCompactThresholdSource;
|
|
@@ -2240,6 +2421,11 @@ declare class InteractiveSession {
|
|
|
2240
2421
|
listBackgroundJobGroups(): IBackgroundJobGroupState[];
|
|
2241
2422
|
getBackgroundJobGroup(groupId: string): IBackgroundJobGroupState | undefined;
|
|
2242
2423
|
waitBackgroundJobGroup(groupId: string): Promise<IBackgroundJobGroupState>;
|
|
2424
|
+
getExecutionWorkspaceSnapshot(options?: IExecutionWorkspaceSnapshotOptions): IExecutionWorkspaceSnapshot;
|
|
2425
|
+
listExecutionWorkspaceEntries(filter?: IExecutionWorkspaceFilter): IExecutionWorkspaceEntry[];
|
|
2426
|
+
getExecutionWorkspaceEntry(entryId: string): IExecutionWorkspaceEntry | undefined;
|
|
2427
|
+
readExecutionWorkspaceDetail(entryId: string, cursor?: IExecutionDetailCursor): Promise<IExecutionDetailPage>;
|
|
2428
|
+
createExecutionWorkspaceTaskSpawner(origin: IExecutionOrigin): IExecutionWorkspaceTaskSpawner;
|
|
2243
2429
|
listAgentDefinitions(): Array<{
|
|
2244
2430
|
name: string;
|
|
2245
2431
|
description: string;
|
|
@@ -2263,6 +2449,11 @@ declare class InteractiveSession {
|
|
|
2263
2449
|
private recordSkillActivation;
|
|
2264
2450
|
private recordSkillActivationEvent;
|
|
2265
2451
|
private executeForkSkillCommand;
|
|
2452
|
+
private readBackgroundTaskDetail;
|
|
2453
|
+
private readBackgroundGroupDetail;
|
|
2454
|
+
private getMainThreadUpdatedAt;
|
|
2455
|
+
private getMainThreadPreview;
|
|
2456
|
+
private emitExecutionWorkspaceUpdated;
|
|
2266
2457
|
private getBackgroundTaskManagerOrThrow;
|
|
2267
2458
|
private getBackgroundTaskManager;
|
|
2268
2459
|
private getBackgroundJobOrchestratorOrThrow;
|
|
@@ -2332,6 +2523,109 @@ interface ICreateQueryOptions {
|
|
|
2332
2523
|
*/
|
|
2333
2524
|
declare function createQuery(options: ICreateQueryOptions): (prompt: string) => Promise<string>;
|
|
2334
2525
|
|
|
2526
|
+
declare const USER_LOCAL_STORAGE_CATEGORIES: readonly ["preferences", "view-state", "memory-projections", "task-associations", "workflow-metadata", "inspection-index"];
|
|
2527
|
+
type TUserLocalStorageCategory = (typeof USER_LOCAL_STORAGE_CATEGORIES)[number];
|
|
2528
|
+
interface IUserLocalStorageCategoryDefinition {
|
|
2529
|
+
readonly category: TUserLocalStorageCategory;
|
|
2530
|
+
readonly purpose: string;
|
|
2531
|
+
readonly mayExecuteCommands: false;
|
|
2532
|
+
}
|
|
2533
|
+
interface IUserLocalStorageItemSummary {
|
|
2534
|
+
readonly root: string;
|
|
2535
|
+
readonly category: TUserLocalStorageCategory;
|
|
2536
|
+
readonly key: string;
|
|
2537
|
+
readonly summary: string;
|
|
2538
|
+
readonly source: string;
|
|
2539
|
+
readonly scope: string;
|
|
2540
|
+
readonly storageLocation: string;
|
|
2541
|
+
readonly createdAt?: string;
|
|
2542
|
+
readonly lastUsedAt?: string;
|
|
2543
|
+
readonly enabled: boolean;
|
|
2544
|
+
readonly deleteAvailable: boolean;
|
|
2545
|
+
readonly disableAvailable: boolean;
|
|
2546
|
+
}
|
|
2547
|
+
interface IUserLocalStorageCategoryProjection {
|
|
2548
|
+
readonly category: TUserLocalStorageCategory;
|
|
2549
|
+
readonly purpose: string;
|
|
2550
|
+
readonly mayExecuteCommands: false;
|
|
2551
|
+
readonly storageLocation: string;
|
|
2552
|
+
readonly itemCount: number;
|
|
2553
|
+
readonly items: readonly IUserLocalStorageItemSummary[];
|
|
2554
|
+
}
|
|
2555
|
+
interface IUserLocalStorageInspection {
|
|
2556
|
+
readonly root: string;
|
|
2557
|
+
readonly activeRepositoryRoot: string;
|
|
2558
|
+
readonly categories: readonly IUserLocalStorageCategoryProjection[];
|
|
2559
|
+
readonly generatedAt: string;
|
|
2560
|
+
}
|
|
2561
|
+
interface IResolveUserLocalStorageRootOptions {
|
|
2562
|
+
readonly activeRepositoryRoot: string;
|
|
2563
|
+
readonly homeDir?: string;
|
|
2564
|
+
readonly storageRoot?: string;
|
|
2565
|
+
}
|
|
2566
|
+
interface IInspectUserLocalStorageOptions extends IResolveUserLocalStorageRootOptions {
|
|
2567
|
+
readonly now?: () => Date;
|
|
2568
|
+
readonly createDirectories?: boolean;
|
|
2569
|
+
}
|
|
2570
|
+
declare const USER_LOCAL_STORAGE_CATEGORY_DEFINITIONS: readonly IUserLocalStorageCategoryDefinition[];
|
|
2571
|
+
declare function resolveUserLocalStorageRoot(options: IResolveUserLocalStorageRootOptions): Promise<string>;
|
|
2572
|
+
declare function inspectUserLocalStorage(options: IInspectUserLocalStorageOptions): Promise<IUserLocalStorageInspection>;
|
|
2573
|
+
|
|
2574
|
+
declare const USER_LOCAL_MEMORY_CATEGORIES: readonly ["view-preference", "last-visible-cwd", "background-selection", "task-association", "display-preference", "inspection-choice"];
|
|
2575
|
+
type TUserLocalMemoryCategory = (typeof USER_LOCAL_MEMORY_CATEGORIES)[number];
|
|
2576
|
+
type TUserLocalMemoryCommandExecutionEffect = 'none';
|
|
2577
|
+
interface IUserLocalMemoryItemProjection {
|
|
2578
|
+
readonly root: string;
|
|
2579
|
+
readonly category: TUserLocalMemoryCategory;
|
|
2580
|
+
readonly key: string;
|
|
2581
|
+
readonly summary: string;
|
|
2582
|
+
readonly valueSummary: string;
|
|
2583
|
+
readonly source: string;
|
|
2584
|
+
readonly scope: string;
|
|
2585
|
+
readonly storageLocation: string;
|
|
2586
|
+
readonly createdAt: string;
|
|
2587
|
+
readonly lastUsedAt: string;
|
|
2588
|
+
readonly enabled: boolean;
|
|
2589
|
+
readonly displayNavigationRule: string;
|
|
2590
|
+
readonly commandExecutionEffect: TUserLocalMemoryCommandExecutionEffect;
|
|
2591
|
+
readonly deleteAvailable: true;
|
|
2592
|
+
readonly disableAvailable: true;
|
|
2593
|
+
}
|
|
2594
|
+
interface IUserLocalMemoryListProjection {
|
|
2595
|
+
readonly root: string;
|
|
2596
|
+
readonly activeRepositoryRoot: string;
|
|
2597
|
+
readonly items: readonly IUserLocalMemoryItemProjection[];
|
|
2598
|
+
}
|
|
2599
|
+
interface IUserLocalMemorySetOptions extends IResolveUserLocalStorageRootOptions {
|
|
2600
|
+
readonly category: TUserLocalMemoryCategory;
|
|
2601
|
+
readonly key: string;
|
|
2602
|
+
readonly value: string;
|
|
2603
|
+
readonly summary: string;
|
|
2604
|
+
readonly source: string;
|
|
2605
|
+
readonly scope?: string;
|
|
2606
|
+
readonly now?: () => Date;
|
|
2607
|
+
}
|
|
2608
|
+
interface IUserLocalMemoryItemOptions extends IResolveUserLocalStorageRootOptions {
|
|
2609
|
+
readonly category: TUserLocalMemoryCategory;
|
|
2610
|
+
readonly key: string;
|
|
2611
|
+
readonly now?: () => Date;
|
|
2612
|
+
}
|
|
2613
|
+
interface IUserLocalMemoryListOptions extends IResolveUserLocalStorageRootOptions {
|
|
2614
|
+
readonly now?: () => Date;
|
|
2615
|
+
}
|
|
2616
|
+
interface IUserLocalMemoryDeleteResult {
|
|
2617
|
+
readonly category: TUserLocalMemoryCategory;
|
|
2618
|
+
readonly key: string;
|
|
2619
|
+
readonly deleted: boolean;
|
|
2620
|
+
}
|
|
2621
|
+
|
|
2622
|
+
declare function setUserLocalMemoryItem(options: IUserLocalMemorySetOptions): Promise<IUserLocalMemoryItemProjection>;
|
|
2623
|
+
declare function listUserLocalMemoryItems(options: IUserLocalMemoryListOptions): Promise<IUserLocalMemoryListProjection>;
|
|
2624
|
+
declare function inspectUserLocalMemoryItem(options: IUserLocalMemoryItemOptions): Promise<IUserLocalMemoryItemProjection>;
|
|
2625
|
+
declare function disableUserLocalMemoryItem(options: IUserLocalMemoryItemOptions): Promise<IUserLocalMemoryItemProjection>;
|
|
2626
|
+
declare function deleteUserLocalMemoryItem(options: IUserLocalMemoryItemOptions): Promise<IUserLocalMemoryDeleteResult>;
|
|
2627
|
+
declare function readEnabledUserLocalMemoryItem(options: IUserLocalMemoryItemOptions): Promise<IUserLocalMemoryItemProjection | null>;
|
|
2628
|
+
|
|
2335
2629
|
type TSelfHostingVerificationPhase = 'checkpoint' | 'edit' | 'handoff' | 'verify' | 'recover';
|
|
2336
2630
|
type TSelfHostingLoopState = 'idle' | 'checkpointed' | 'editing' | 'verifying' | 'passed' | 'failed' | 'rolled_back' | 'cancelled';
|
|
2337
2631
|
type TSelfHostingLoopEvent = 'checkpoint_created' | 'edits_started' | 'edits_applied' | 'verify_passed' | 'verify_failed' | 'rollback_completed' | 'cancelled';
|
|
@@ -2441,6 +2735,7 @@ interface IBackgroundProcessToolDeps {
|
|
|
2441
2735
|
backgroundTaskManager: IBackgroundTaskManager;
|
|
2442
2736
|
cwd?: string;
|
|
2443
2737
|
parentSessionId?: string;
|
|
2738
|
+
metadata?: Record<string, TBackgroundPrimitive>;
|
|
2444
2739
|
}
|
|
2445
2740
|
declare function createBackgroundProcessTool(deps: IBackgroundProcessToolDeps): ReturnType<typeof createZodFunctionTool>;
|
|
2446
2741
|
|
|
@@ -2503,4 +2798,4 @@ declare function updateTaskFileStatus(taskPath: string, status: TTaskFileStatus,
|
|
|
2503
2798
|
*/
|
|
2504
2799
|
declare function promptForApproval(terminal: ITerminalOutput, toolName: string, toolArgs: TToolArgs): Promise<boolean>;
|
|
2505
2800
|
|
|
2506
|
-
export { AUTO_COMPACT_THRESHOLD_SETTINGS_KEY, AgentExecutor, BACKGROUND_COMMAND_DESCRIPTION, BACKGROUND_COMMAND_USAGE, BUILT_IN_AGENTS, BackgroundJobOrchestrator, BuiltinCommandSource, BundlePluginInstaller, BundlePluginLoader, CLEAR_COMMAND_DESCRIPTION, COST_COMMAND_DESCRIPTION, CommandRegistry, DEFAULT_AUTO_COMPACT_THRESHOLD, DEFAULT_STATUS_LINE_COMMAND_SETTINGS, EXIT_COMMAND_DESCRIPTION, EditCheckpointStore, HELP_COMMAND_DESCRIPTION, type IActiveProviderModelCatalogState, type IAgentDefinition, type IAgentExecutorOptions, type IAgentSession, type IAgentToolDeps, type IAppendMemoryInput, type IAppendMemoryResult, type IBackgroundJobGroupCreateRequest, type IBackgroundJobGroupState, type IBackgroundJobGroupSummary, type IBackgroundJobOrchestratorOptions, type IBackgroundJobResultEnvelope, type IBackgroundProcessToolDeps, type IBuildModelCommandSubcommandsOptions, type IBundlePluginFeatures, type IBundlePluginInstallerOptions, type IBundlePluginManifest, type IBundleSkill, type ICapabilityDescriptor, type ICommand, type ICommandAvailablePlugin, type ICommandChoicePromptOption, type ICommandExecutionToolDeps, type ICommandHostAdapters, type ICommandHostContext, type ICommandInstalledPlugin, type ICommandInteraction, type ICommandListEntry, type ICommandMarketplaceSource, type ICommandMemoryStores, type ICommandModule, type ICommandPendingMemoryStore, type ICommandPermissionModeAdapter, type ICommandPickerAdapter, type ICommandPluginAdapter, type ICommandPluginReloadResult, type ICommandProcessAdapter, type ICommandProjectMemoryStore, type ICommandResult, type ICommandSessionInfo, type ICommandSessionReplayValidationReport, type ICommandSessionRuntime, type ICommandSettingsAdapter, type ICommandSettingsDocument, type ICommandSkillListEntry, type ICommandSource, type ICompactContextResult, type IContextReferenceAddResult, type IContextReferenceClearResult, type IContextReferenceInventoryLimits, type IContextReferenceItem, type IContextReferenceRemoveResult, type IContextReferenceUpsertResult, type ICreateQueryOptions, type IDiffLine, type IEditCheckpointFileInspection, type IEditCheckpointFileRecord, type IEditCheckpointInspection, type IEditCheckpointInspectionPlan, type IEditCheckpointManifest, type IEditCheckpointRecorder, type IEditCheckpointRestoreResult, type IEditCheckpointSummary, type IEditCheckpointTurnInput, type IExecutionResult, type IForkExecutionOptions, type IInProcessSubagentRunnerDeps, type IInstalledPluginRecord, type IInstalledPluginsRegistry, type IInteractiveSessionEvents, type IInteractiveSessionOptions, type IInteractiveSessionRecord, type IInteractiveSessionShutdownOptions, type IInteractiveSessionStore, type IKnownMarketplaceEntry, type IKnownMarketplacesRegistry, type ILegacyProviderSettings, type ILoadedBundlePlugin, type IMarketplaceClientOptions, type IMarketplaceManifest, type IMarketplacePluginEntry, type IMarketplaceSource, type IMemoryCandidate, type IMemoryEvent, type IMemoryPendingRecord, type IMemoryReference, type IModelCommandModuleOptions, type IModelCommandSettingsAdapter, type IModelCommandToolProjection, type IPermissionsCommandState, type IPluginSettings, type IProjectMemorySummary, type IProjectedCommandExecutionToolsDeps, type IProjectedModelCommandTool, type IPromptExecutorOptions, type IPromptFileReferenceDiagnostic, type IPromptFileReferenceHistoryData, type IPromptFileReferenceLimits, type IPromptFileReferenceRecord, type IPromptFileReferenceResolveOptions, type IPromptFileReferenceToken, type IPromptProvider, type IProviderCommandModuleOptions, type IProviderCommandSettingsAdapter, type IProviderProfileNameSuggestionInput, type IProviderProfileNameSuggestionOptions, type IProviderProfileSettings, type IProviderSettingsBuildOptions, type IProviderSetupFlowOptions, type IProviderSetupFlowState, type IProviderSetupInput, type IProviderSetupPatch, type IProviderSetupPromptStep, type IResolveActiveProviderModelCatalogStateOptions, type IResolvedPromptFileReference, type IResolvedPromptFileReferences, type IResumableSessionSummary, type IReversibleExecutionOptions, type IReversibleToolSafetyContext, type IReversibleToolSafetyInput, type IReversibleToolSafetyReport, type ISelfHostingVerificationPlan, type ISelfHostingVerificationPlanInput, type ISelfHostingVerificationStep, type ISkillActivationEvent, type ISkillActivationHistoryData, type ISkillExecutionCallbacks, type ISkillExecutionResult, type IStartupMemory, type IStatusLineCommandSettings, type ISubagentOptions, type ISubagentPromptOptions, type ISystemCommand, type ITaskContextFile, type ITaskSelectionOptions, type IToolState, type IToolSummary, type ITransportAdapter, type IUpdateTaskFileStatusOptions, type IUsageSnapshot, InteractiveSession, LANGUAGE_COMMAND_ARGUMENT_HINT, LANGUAGE_COMMAND_DESCRIPTION, MEMORY_COMMAND_ARGUMENT_HINT, MEMORY_COMMAND_DESCRIPTION, MEMORY_COMMAND_USAGE, MEMORY_INDEX_MAX_BYTES, MEMORY_INDEX_MAX_LINES, MODEL_COMMAND_ARGUMENT_HINT, MODEL_COMMAND_DESCRIPTION, MODEL_COMMAND_TOOL_PREFIX, MarketplaceClient, PERMISSIONS_COMMAND_DESCRIPTION, PERMISSION_MODE_ARGUMENT_HINT, PERMISSION_MODE_COMMAND_DESCRIPTION, PLUGIN_COMMAND_ARGUMENT_HINT, PLUGIN_COMMAND_DESCRIPTION, PROVIDER_SAFE_TOOL_NAME_PATTERN, PluginCommandSource, PluginSettingsStore, ProjectMemoryStore, PromptExecutor, RECOMMENDED_RESPONSE_LANGUAGES, RELOAD_PLUGINS_COMMAND_DESCRIPTION, RENAME_COMMAND_DESCRIPTION, RENAME_COMMAND_USAGE, RESUME_COMMAND_DESCRIPTION, REWIND_COMMAND_ARGUMENT_HINT, REWIND_COMMAND_DESCRIPTION, STATUSLINE_COMMAND_ARGUMENT_HINT, STATUSLINE_COMMAND_DESCRIPTION, SkillCommandSource, type SkillPromptContext, SystemCommandExecutor, type TAutoCompactThreshold$1 as TAutoCompactThreshold, type TAutoCompactThresholdSource, type TBackgroundJobGroupEvent, type TBackgroundJobGroupEventListener, type TBackgroundJobGroupIdFactory, type TBackgroundJobGroupStatus, type TBackgroundJobWaitPolicy, type TCapabilityKind, type TCapabilitySafety, type TCommandEffect, type TCommandInteractionPrompt, type TCommandModuleSessionRequirement, type TCommandResultDataValue, type TContextReferenceLoadType, type TContextReferenceStatus, type TEditCheckpointFileRestoreAction, type TEnabledPlugins, type TInteractiveEventName, type TInteractivePermissionHandler, type TMemoryCandidateStatus, type TMemoryType, type TPermissionResultValue, type TPluginInstallScope, type TPromptFileReferenceDiagnosticCode, type TPromptFileReferenceReason, type TPromptInput, type TProviderFactory, type TProviderSettingsDocument, type TProviderSetupFlowSubmitResult, type TProviderSetupType, type TRecommendedResponseLanguage, type TReversibleExecutionIsolation, type TReversibleRollbackLayer, type TReversibleSafetyStatus, type TReversibleSideEffect, type TSelfHostingLoopEvent, type TSelfHostingLoopState, type TSelfHostingVerificationPhase, type TSessionFactory, type TSkillActivationInvocation, type TSkillActivationMode, type TSkillActivationSource, type TSkillActivationStatus, type TStatusLineCommandSettingsPatch, type TSubagentRunnerFactory, type TSystemCommandLifecycle, type TTaskFileStatus, VALIDATE_SESSION_COMMAND_DESCRIPTION, VALID_PERMISSION_MODES, addCommandContextReference, assembleSubagentPrompt, buildBackgroundCommandSubcommands, buildLanguageCommandSubcommands, buildMemoryCommandSubcommands, buildModelCommandSubcommands, buildPermissionModeSubcommands, buildPluginCommandSubcommands, buildPromptWithFileReferences, buildProviderProfile, buildProviderSetupPatch, buildRewindCommandSubcommands, buildStatusLineCommandSubcommands, cancelCommandBackgroundTask, clearCommandContextReferences, clearContextReferences, clearConversationHistory, closeCommandBackgroundTask, compactCommandContext, createAgentTool, createBackgroundProcessTool, createBuiltinCommandModule, createCommandExecutionTool, createCommandMemoryStores, createCommandPendingMemoryStore, createCommandProjectMemoryStore, createContextReferenceItem, createDefaultTools, createModelCommandToolProjection, createPluginRegistryReloadRequestedEffect, createPluginTuiRequestedEffect, createProjectSessionStore, createProjectedCommandExecutionTools, createPromptFileReferenceHistoryEntry, createProviderSafeModelCommandToolName, createProviderSetupFlow, createQuery, createSessionExitRequestedEffect, createSessionPickerRequestedEffect, createSessionRenamedEffect, createSubagentLogger, createSubagentSession, createSystemCommands, deleteProviderProfile, discoverTaskFiles, evaluateReversibleToolSafety, executeSkill, formatCommandBackgroundTask, formatCommandBackgroundTaskList, formatCommandHelpMessage, formatCommandPermissionsMessage, formatCommandSessionReplayValidationReport, formatEnvReference, formatInvalidPermissionModeMessage, formatLanguageUsageMessage, formatModelCommandUsageMessage, formatModelCommandUsageMessageAsync, formatProjectedModelCommandToolPromptDescription, formatPromptFileReferenceDiagnostics, formatProviderSetupChoiceLabel, formatProviderSetupHelpLinks, formatProviderSetupPromptLabel, formatProviderSetupSelectionPrompt, formatTaskContext, getBuiltInAgent, getForkWorkerSuffix, getProviderSetupStep, getSubagentSuffix, hasBlockingPromptFileReferenceDiagnostics, hasSensitiveCommandMemoryContent, hasUsableSecretReference, inspectCommandEditCheckpoint, isCommandMemoryType, isEnvReference, isMemoryType, isPermissionMode, isStatusLineCommandSettingsPatch, listActiveContextReferences, listCommandBackgroundTasks, listCommandContextReferences, listCommandEditCheckpoints, listCommandSessionAllowedTools, listCommandUsedMemoryReferences, listResumableSessionSummaries, loadTaskContext, mergeProviderPatch, normalizeModelCommandName, parseCommandBackgroundLogCursor, parseFrontmatter, parseLanguageArgument, parsePermissionModeArgument, parsePromptFileReferences, parseSessionNameArgument, parseTaskFile, planSelfHostingVerification, preprocessShellCommands, probeProviderProfile, projectPaths, promptForApproval, readAutoCompactThreshold, readAutoCompactThresholdSource, readCommandBackgroundTaskLog, readCommandContextState, readCommandPermissionMode, readCommandPermissionsState, readCommandSessionInfo, readCurrentGitBranch, recordCommandMemoryEvent, removeCommandContextReference, removeContextReference, resetAutoCompactThresholdSetting, resolveActiveProviderModelCatalog, resolveActiveProviderModelCatalogState, resolveEnvReference, resolveLatestSessionId, resolvePermissionModeAdapter, resolvePluginCommandAdapter, resolvePromptFileReferencePaths, resolvePromptFileReferences, resolveProviderSetupSelection, resolveSessionIdByIdOrName, resolveSubagentLogDir, restoreCommandEditCheckpoint, retrieveAgentToolDeps, rollbackCommandEditCheckpoint, runProviderSetupPromptFlow, sanitizeProviderProfileName, selectRelevantTasks, setCommandAutoCompactThreshold, setCurrentProvider, storeAgentToolDeps, submitProviderSetupValue, substituteVariables, suggestProviderProfileName, summarizeBackgroundJobGroup, testProviderProfileCommand, toContextReferenceRecords, toPromptFileReferenceRecords, transitionSelfHostingLoop, updateTaskFileStatus, upsertContextReference, upsertProviderProfile, userPaths, validateCommandSessionReplayLog, validateProviderProfile, validateProviderSetupValue, wrapEditCheckpointTools, wrapReversibleExecutionTools, writeAutoCompactThresholdSetting, writeCommandPermissionMode };
|
|
2801
|
+
export { AUTO_COMPACT_THRESHOLD_SETTINGS_KEY, AgentExecutor, BACKGROUND_COMMAND_DESCRIPTION, BACKGROUND_COMMAND_USAGE, BUILT_IN_AGENTS, BackgroundJobOrchestrator, BuiltinCommandSource, BundlePluginInstaller, BundlePluginLoader, CLEAR_COMMAND_DESCRIPTION, COST_COMMAND_DESCRIPTION, CommandRegistry, DEFAULT_AUTO_COMPACT_THRESHOLD, DEFAULT_STATUS_LINE_COMMAND_SETTINGS, EXECUTION_ORIGIN_METADATA_KEYS, EXIT_COMMAND_DESCRIPTION, EditCheckpointStore, HELP_COMMAND_DESCRIPTION, type IActiveProviderModelCatalogState, type IAgentDefinition, type IAgentExecutorOptions, type IAgentSession, type IAgentToolDeps, type IAppendMemoryInput, type IAppendMemoryResult, type IBackgroundJobGroupCreateRequest, type IBackgroundJobGroupState, type IBackgroundJobGroupSummary, type IBackgroundJobOrchestratorOptions, type IBackgroundJobResultEnvelope, type IBackgroundProcessToolDeps, type IBackgroundTaskSpawnerGroupRequest, type IBuildModelCommandSubcommandsOptions, type IBundlePluginFeatures, type IBundlePluginInstallerOptions, type IBundlePluginManifest, type IBundleSkill, type ICapabilityDescriptor, type ICommand, type ICommandAvailablePlugin, type ICommandChoicePromptOption, type ICommandExecutionToolDeps, type ICommandHostAdapters, type ICommandHostContext, type ICommandInstalledPlugin, type ICommandInteraction, type ICommandListEntry, type ICommandMarketplaceSource, type ICommandMemoryStores, type ICommandModule, type ICommandPendingMemoryStore, type ICommandPermissionModeAdapter, type ICommandPickerAdapter, type ICommandPluginAdapter, type ICommandPluginReloadResult, type ICommandProcessAdapter, type ICommandProjectMemoryStore, type ICommandResult, type ICommandSessionInfo, type ICommandSessionReplayValidationReport, type ICommandSessionRuntime, type ICommandSettingsAdapter, type ICommandSettingsDocument, type ICommandSkillListEntry, type ICommandSource, type ICompactContextResult, type IContextReferenceAddResult, type IContextReferenceClearResult, type IContextReferenceInventoryLimits, type IContextReferenceItem, type IContextReferenceRemoveResult, type IContextReferenceUpsertResult, type ICreateExecutionWorkspaceSnapshotInput, type ICreateExecutionWorkspaceTaskSpawnerOptions, type ICreateLineDetailPageInput, type ICreateMainThreadDetailPageInput, type ICreateMainThreadEntryInput, type ICreateQueryOptions, type IDiffLine, type IEditCheckpointFileInspection, type IEditCheckpointFileRecord, type IEditCheckpointInspection, type IEditCheckpointInspectionPlan, type IEditCheckpointManifest, type IEditCheckpointRecorder, type IEditCheckpointRestoreResult, type IEditCheckpointSummary, type IEditCheckpointTurnInput, type IExecutionDetailCursor, type IExecutionDetailPage, type IExecutionDetailRecord, type IExecutionOrigin, type IExecutionResult, type IExecutionWorkspaceEntry, type IExecutionWorkspaceEntryRef, type IExecutionWorkspaceEvent, type IExecutionWorkspaceFilter, type IExecutionWorkspaceSnapshot, type IExecutionWorkspaceSnapshotOptions, type IExecutionWorkspaceTaskSpawner, type IForkExecutionOptions, type IInProcessSubagentRunnerDeps, type IInspectUserLocalStorageOptions, type IInstalledPluginRecord, type IInstalledPluginsRegistry, type IInteractiveSessionEvents, type IInteractiveSessionOptions, type IInteractiveSessionRecord, type IInteractiveSessionShutdownOptions, type IInteractiveSessionStore, type IKnownMarketplaceEntry, type IKnownMarketplacesRegistry, type ILegacyProviderSettings, type ILoadedBundlePlugin, type IMarketplaceClientOptions, type IMarketplaceManifest, type IMarketplacePluginEntry, type IMarketplaceSource, type IMemoryCandidate, type IMemoryEvent, type IMemoryPendingRecord, type IMemoryReference, type IModelCommandModuleOptions, type IModelCommandSettingsAdapter, type IModelCommandToolProjection, type IPermissionsCommandState, type IPluginSettings, type IProjectMemorySummary, type IProjectedCommandExecutionToolsDeps, type IProjectedModelCommandTool, type IPromptExecutorOptions, type IPromptFileReferenceDiagnostic, type IPromptFileReferenceHistoryData, type IPromptFileReferenceLimits, type IPromptFileReferenceRecord, type IPromptFileReferenceResolveOptions, type IPromptFileReferenceToken, type IPromptProvider, type IProviderCommandModuleOptions, type IProviderCommandSettingsAdapter, type IProviderProfileNameSuggestionInput, type IProviderProfileNameSuggestionOptions, type IProviderProfileSettings, type IProviderSettingsBuildOptions, type IProviderSetupFlowOptions, type IProviderSetupFlowState, type IProviderSetupInput, type IProviderSetupPatch, type IProviderSetupPromptStep, type IResolveActiveProviderModelCatalogStateOptions, type IResolveUserLocalStorageRootOptions, type IResolvedPromptFileReference, type IResolvedPromptFileReferences, type IResumableSessionSummary, type IReversibleExecutionOptions, type IReversibleToolSafetyContext, type IReversibleToolSafetyInput, type IReversibleToolSafetyReport, type ISelfHostingVerificationPlan, type ISelfHostingVerificationPlanInput, type ISelfHostingVerificationStep, type ISkillActivationEvent, type ISkillActivationHistoryData, type ISkillExecutionCallbacks, type ISkillExecutionResult, type ISpawnAgentTaskRequest, type ISpawnProcessTaskRequest, type IStartupMemory, type IStatusLineCommandSettings, type ISubagentOptions, type ISubagentPromptOptions, type ISystemCommand, type ITaskContextFile, type ITaskSelectionOptions, type IToolState, type IToolSummary, type IUpdateTaskFileStatusOptions, type IUsageSnapshot, type IUserLocalMemoryDeleteResult, type IUserLocalMemoryItemOptions, type IUserLocalMemoryItemProjection, type IUserLocalMemoryListOptions, type IUserLocalMemoryListProjection, type IUserLocalMemorySetOptions, type IUserLocalStorageCategoryDefinition, type IUserLocalStorageCategoryProjection, type IUserLocalStorageInspection, type IUserLocalStorageItemSummary, InteractiveSession, LANGUAGE_COMMAND_ARGUMENT_HINT, LANGUAGE_COMMAND_DESCRIPTION, MEMORY_COMMAND_ARGUMENT_HINT, MEMORY_COMMAND_DESCRIPTION, MEMORY_COMMAND_USAGE, MEMORY_INDEX_MAX_BYTES, MEMORY_INDEX_MAX_LINES, MODEL_COMMAND_ARGUMENT_HINT, MODEL_COMMAND_DESCRIPTION, MODEL_COMMAND_TOOL_PREFIX, MarketplaceClient, PERMISSIONS_COMMAND_DESCRIPTION, PERMISSION_MODE_ARGUMENT_HINT, PERMISSION_MODE_COMMAND_DESCRIPTION, PLUGIN_COMMAND_ARGUMENT_HINT, PLUGIN_COMMAND_DESCRIPTION, PROVIDER_SAFE_TOOL_NAME_PATTERN, PluginCommandSource, PluginSettingsStore, ProjectMemoryStore, PromptExecutor, RECOMMENDED_RESPONSE_LANGUAGES, RELOAD_PLUGINS_COMMAND_DESCRIPTION, RENAME_COMMAND_DESCRIPTION, RENAME_COMMAND_USAGE, RESUME_COMMAND_DESCRIPTION, REWIND_COMMAND_ARGUMENT_HINT, REWIND_COMMAND_DESCRIPTION, STATUSLINE_COMMAND_ARGUMENT_HINT, STATUSLINE_COMMAND_DESCRIPTION, SkillCommandSource, type SkillPromptContext, SystemCommandExecutor, type TAutoCompactThreshold$1 as TAutoCompactThreshold, type TAutoCompactThresholdSource, type TBackgroundJobGroupEvent, type TBackgroundJobGroupEventListener, type TBackgroundJobGroupIdFactory, type TBackgroundJobGroupStatus, type TBackgroundJobWaitPolicy, type TCapabilityKind, type TCapabilitySafety, type TCommandEffect, type TCommandInteractionPrompt, type TCommandModuleSessionRequirement, type TCommandResultDataValue, type TContextReferenceLoadType, type TContextReferenceStatus, type TEditCheckpointFileRestoreAction, type TEnabledPlugins, type TExecutionAttention, type TExecutionControl, type TExecutionDetailRecordKind, type TExecutionEntryKind, type TExecutionOriginKind, type TExecutionWorkspaceStatus, type TExecutionWorkspaceUpdateCause, type TExecutionWorkspaceVisibility, type TInteractiveEventName, type TInteractivePermissionHandler, type TMemoryCandidateStatus, type TMemoryType, type TPermissionResultValue, type TPluginInstallScope, type TPromptFileReferenceDiagnosticCode, type TPromptFileReferenceReason, type TPromptInput, type TProviderFactory, type TProviderSettingsDocument, type TProviderSetupFlowSubmitResult, type TProviderSetupType, type TRecommendedResponseLanguage, type TReversibleExecutionIsolation, type TReversibleRollbackLayer, type TReversibleSafetyStatus, type TReversibleSideEffect, type TSelfHostingLoopEvent, type TSelfHostingLoopState, type TSelfHostingVerificationPhase, type TSessionFactory, type TSkillActivationInvocation, type TSkillActivationMode, type TSkillActivationSource, type TSkillActivationStatus, type TStatusLineCommandSettingsPatch, type TSubagentRunnerFactory, type TSystemCommandLifecycle, type TTaskFileStatus, type TUserLocalMemoryCategory, type TUserLocalMemoryCommandExecutionEffect, type TUserLocalStorageCategory, USER_LOCAL_MEMORY_CATEGORIES, USER_LOCAL_STORAGE_CATEGORIES, USER_LOCAL_STORAGE_CATEGORY_DEFINITIONS, VALIDATE_SESSION_COMMAND_DESCRIPTION, VALID_PERMISSION_MODES, addCommandContextReference, assembleSubagentPrompt, buildBackgroundCommandSubcommands, buildLanguageCommandSubcommands, buildMemoryCommandSubcommands, buildModelCommandSubcommands, buildPermissionModeSubcommands, buildPluginCommandSubcommands, buildPromptWithFileReferences, buildProviderProfile, buildProviderSetupPatch, buildRewindCommandSubcommands, buildStatusLineCommandSubcommands, cancelCommandBackgroundTask, clearCommandContextReferences, clearContextReferences, clearConversationHistory, closeCommandBackgroundTask, compactCommandContext, createAgentTool, createBackgroundGroupExecutionEntryId, createBackgroundProcessTool, createBackgroundTaskExecutionEntryId, createBuiltinCommandModule, createCommandExecutionTool, createCommandMemoryStores, createCommandPendingMemoryStore, createCommandProjectMemoryStore, createContextReferenceItem, createDefaultTools, createExecutionOriginMetadata, createExecutionWorkspaceSnapshot, createExecutionWorkspaceTaskSpawner, createLineDetailPage, createMainThreadDetailPage, createMainThreadExecutionEntryId, createModelCommandToolProjection, createPluginRegistryReloadRequestedEffect, createPluginTuiRequestedEffect, createProjectSessionStore, createProjectedCommandExecutionTools, createPromptFileReferenceHistoryEntry, createProviderSafeModelCommandToolName, createProviderSetupFlow, createQuery, createSessionExitRequestedEffect, createSessionPickerRequestedEffect, createSessionRenamedEffect, createSubagentLogger, createSubagentSession, createSystemCommands, deleteProviderProfile, deleteUserLocalMemoryItem, disableUserLocalMemoryItem, discoverTaskFiles, evaluateReversibleToolSafety, executeSkill, formatCommandBackgroundTask, formatCommandBackgroundTaskList, formatCommandHelpMessage, formatCommandPermissionsMessage, formatCommandSessionReplayValidationReport, formatEnvReference, formatInvalidPermissionModeMessage, formatLanguageUsageMessage, formatModelCommandUsageMessage, formatModelCommandUsageMessageAsync, formatProjectedModelCommandToolPromptDescription, formatPromptFileReferenceDiagnostics, formatProviderSetupChoiceLabel, formatProviderSetupHelpLinks, formatProviderSetupPromptLabel, formatProviderSetupSelectionPrompt, formatTaskContext, getBuiltInAgent, getForkWorkerSuffix, getProviderSetupStep, getSubagentSuffix, hasBlockingPromptFileReferenceDiagnostics, hasSensitiveCommandMemoryContent, hasUsableSecretReference, inspectCommandEditCheckpoint, inspectUserLocalMemoryItem, inspectUserLocalStorage, isCommandMemoryType, isEnvReference, isMemoryType, isPermissionMode, isStatusLineCommandSettingsPatch, listActiveContextReferences, listCommandBackgroundTasks, listCommandContextReferences, listCommandEditCheckpoints, listCommandSessionAllowedTools, listCommandUsedMemoryReferences, listResumableSessionSummaries, listUserLocalMemoryItems, loadTaskContext, mergeProviderPatch, normalizeModelCommandName, parseCommandBackgroundLogCursor, parseExecutionWorkspaceEntryId, parseFrontmatter, parseLanguageArgument, parsePermissionModeArgument, parsePromptFileReferences, parseSessionNameArgument, parseTaskFile, planSelfHostingVerification, preprocessShellCommands, probeProviderProfile, projectPaths, promptForApproval, readAutoCompactThreshold, readAutoCompactThresholdSource, readCommandBackgroundTaskLog, readCommandContextState, readCommandPermissionMode, readCommandPermissionsState, readCommandSessionInfo, readCurrentGitBranch, readEnabledUserLocalMemoryItem, recordCommandMemoryEvent, removeCommandContextReference, removeContextReference, resetAutoCompactThresholdSetting, resolveActiveProviderModelCatalog, resolveActiveProviderModelCatalogState, resolveEnvReference, resolveLatestSessionId, resolvePermissionModeAdapter, resolvePluginCommandAdapter, resolvePromptFileReferencePaths, resolvePromptFileReferences, resolveProviderSetupSelection, resolveSessionIdByIdOrName, resolveSubagentLogDir, resolveUserLocalStorageRoot, restoreCommandEditCheckpoint, retrieveAgentToolDeps, rollbackCommandEditCheckpoint, runProviderSetupPromptFlow, sanitizeProviderProfileName, selectRelevantTasks, setCommandAutoCompactThreshold, setCurrentProvider, setUserLocalMemoryItem, storeAgentToolDeps, submitProviderSetupValue, substituteVariables, suggestProviderProfileName, summarizeBackgroundJobGroup, testProviderProfileCommand, toContextReferenceRecords, toPromptFileReferenceRecords, transitionSelfHostingLoop, updateTaskFileStatus, upsertContextReference, upsertProviderProfile, userPaths, validateCommandSessionReplayLog, validateProviderProfile, validateProviderSetupValue, wrapEditCheckpointTools, wrapReversibleExecutionTools, writeAutoCompactThresholdSetting, writeCommandPermissionMode };
|