@robota-sdk/agent-sdk 3.0.0-beta.62 → 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.
@@ -3981,6 +3981,10 @@ var MarketplaceSourceSchema = import_zod3.z.object({
3981
3981
  });
3982
3982
  var ExtraKnownMarketplacesSchema = import_zod3.z.record(MarketplaceSourceSchema).optional().catch(void 0);
3983
3983
  var AutoCompactThresholdSchema = import_zod3.z.union([import_zod3.z.number().gt(0).lte(1), import_zod3.z.literal(false)]).optional();
3984
+ var TransportSettingsSchema = import_zod3.z.object({
3985
+ enabled: import_zod3.z.boolean().optional(),
3986
+ options: import_zod3.z.record(UniversalValueSchema).optional()
3987
+ });
3984
3988
  var SettingsSchema = import_zod3.z.object({
3985
3989
  /** Trust level used when no --permission-mode flag is given */
3986
3990
  defaultTrustLevel: import_zod3.z.enum(["safe", "moderate", "full"]).optional(),
@@ -4000,7 +4004,9 @@ var SettingsSchema = import_zod3.z.object({
4000
4004
  /** Extra marketplace URLs for BundlePlugin discovery */
4001
4005
  extraKnownMarketplaces: ExtraKnownMarketplacesSchema,
4002
4006
  /** Auto-compact threshold as a 0-1 fraction. Set false to disable automatic compaction. */
4003
- autoCompactThreshold: AutoCompactThresholdSchema
4007
+ autoCompactThreshold: AutoCompactThresholdSchema,
4008
+ /** Transport enable/disable + options: transport name -> config */
4009
+ transports: import_zod3.z.record(TransportSettingsSchema).optional()
4004
4010
  });
4005
4011
 
4006
4012
  // src/config/config-loader.ts
@@ -4103,7 +4109,12 @@ function resolveProvider(merged) {
4103
4109
  if (merged.currentProvider !== void 0) {
4104
4110
  return resolveActiveProviderProfile2(merged);
4105
4111
  }
4106
- return resolveLegacyProvider(merged);
4112
+ if (merged.provider !== void 0) {
4113
+ throw new Error(
4114
+ 'Legacy flat "provider" settings are not supported. Migrate to "currentProvider" + "providers" format.'
4115
+ );
4116
+ }
4117
+ return { ...DEFAULTS.provider };
4107
4118
  }
4108
4119
  function resolveActiveProviderProfile2(merged) {
4109
4120
  const currentProvider = merged.currentProvider;
@@ -4126,16 +4137,6 @@ function resolveActiveProviderProfile2(merged) {
4126
4137
  ...profile.options !== void 0 && { options: profile.options }
4127
4138
  };
4128
4139
  }
4129
- function resolveLegacyProvider(merged) {
4130
- return {
4131
- name: merged.provider?.name ?? DEFAULTS.provider.name,
4132
- model: merged.provider?.model ?? DEFAULTS.provider.model,
4133
- apiKey: merged.provider?.apiKey ?? DEFAULTS.provider.apiKey,
4134
- ...merged.provider?.baseURL !== void 0 && { baseURL: merged.provider.baseURL },
4135
- ...merged.provider?.timeout !== void 0 && { timeout: merged.provider.timeout },
4136
- ...merged.provider?.options !== void 0 && { options: merged.provider.options }
4137
- };
4138
- }
4139
4140
  function toResolvedConfig(merged) {
4140
4141
  return {
4141
4142
  defaultTrustLevel: merged.defaultTrustLevel ?? DEFAULTS.defaultTrustLevel,
@@ -5718,15 +5719,11 @@ var BundlePluginLoader = class {
5718
5719
  }
5719
5720
  return results;
5720
5721
  }
5721
- /** Read and validate a plugin.json manifest. Returns null on failure. */
5722
+ /** Read and validate a plugin.json manifest. Returns null if the manifest structure is invalid. */
5722
5723
  readManifest(path3) {
5723
- try {
5724
- const raw = (0, import_node_fs9.readFileSync)(path3, "utf-8");
5725
- const data = JSON.parse(raw);
5726
- return validateManifest(data);
5727
- } catch {
5728
- return null;
5729
- }
5724
+ const raw = (0, import_node_fs9.readFileSync)(path3, "utf-8");
5725
+ const data = JSON.parse(raw);
5726
+ return validateManifest(data);
5730
5727
  }
5731
5728
  /**
5732
5729
  * Check if a plugin is explicitly disabled.
@@ -5802,40 +5799,26 @@ var BundlePluginLoader = class {
5802
5799
  loadHooks(pluginDir) {
5803
5800
  const hooksPath = (0, import_node_path11.join)(pluginDir, "hooks", "hooks.json");
5804
5801
  if (!(0, import_node_fs9.existsSync)(hooksPath)) return {};
5805
- try {
5806
- const raw = (0, import_node_fs9.readFileSync)(hooksPath, "utf-8");
5807
- const data = JSON.parse(raw);
5808
- if (typeof data === "object" && data !== null) {
5809
- return data;
5810
- }
5811
- return {};
5812
- } catch {
5813
- return {};
5802
+ const raw = (0, import_node_fs9.readFileSync)(hooksPath, "utf-8");
5803
+ const data = JSON.parse(raw);
5804
+ if (typeof data === "object" && data !== null) {
5805
+ return data;
5814
5806
  }
5807
+ return {};
5815
5808
  }
5816
- /** Load MCP server configuration if present. Checks `.mcp.json` at plugin root first. */
5809
+ /** Load MCP server configuration from `.mcp.json` at the plugin root if present. */
5817
5810
  loadMcpConfig(pluginDir) {
5818
- const primaryPath = (0, import_node_path11.join)(pluginDir, ".mcp.json");
5819
- const fallbackPath = (0, import_node_path11.join)(pluginDir, ".claude-plugin", "mcp.json");
5820
- const mcpPath = (0, import_node_fs9.existsSync)(primaryPath) ? primaryPath : fallbackPath;
5811
+ const mcpPath = (0, import_node_path11.join)(pluginDir, ".mcp.json");
5821
5812
  if (!(0, import_node_fs9.existsSync)(mcpPath)) return void 0;
5822
- try {
5823
- const raw = (0, import_node_fs9.readFileSync)(mcpPath, "utf-8");
5824
- return JSON.parse(raw);
5825
- } catch {
5826
- return void 0;
5827
- }
5813
+ const raw = (0, import_node_fs9.readFileSync)(mcpPath, "utf-8");
5814
+ return JSON.parse(raw);
5828
5815
  }
5829
5816
  /** Load agent definitions from agents/ directory if present. */
5830
5817
  loadAgents(pluginDir) {
5831
5818
  const agentsDir = (0, import_node_path11.join)(pluginDir, "agents");
5832
5819
  if (!(0, import_node_fs9.existsSync)(agentsDir)) return [];
5833
- try {
5834
- const entries = (0, import_node_fs9.readdirSync)(agentsDir, { withFileTypes: true });
5835
- return entries.filter((e) => e.isDirectory() || e.name.endsWith(".md")).map((e) => e.name.replace(/\.md$/, ""));
5836
- } catch {
5837
- return [];
5838
- }
5820
+ const entries = (0, import_node_fs9.readdirSync)(agentsDir, { withFileTypes: true });
5821
+ return entries.filter((e) => e.isDirectory() || e.name.endsWith(".md")).map((e) => e.name.replace(/\.md$/, ""));
5839
5822
  }
5840
5823
  };
5841
5824
 
@@ -6372,18 +6355,18 @@ async function createInteractiveSession(options) {
6372
6355
  options.bare ? Promise.resolve({ agentsMd: "", claudeMd: "" }) : loadContext(cwd),
6373
6356
  options.bare ? Promise.resolve({ type: "unknown", language: "unknown" }) : detectProject(cwd)
6374
6357
  ]);
6358
+ let mergedConfig = options.language ? { ...config, language: options.language } : config;
6375
6359
  const pluginsDir = (0, import_node_path16.join)((0, import_node_os5.homedir)(), ".robota", "plugins");
6376
6360
  const pluginLoader = new BundlePluginLoader(pluginsDir);
6377
- let mergedConfig = config;
6378
6361
  if (!options.bare) {
6379
6362
  try {
6380
6363
  const plugins = pluginLoader.loadPluginsSync();
6381
6364
  if (plugins.length > 0) {
6382
6365
  const pluginHooks = mergePluginHooks(plugins);
6383
6366
  mergedConfig = {
6384
- ...config,
6367
+ ...mergedConfig,
6385
6368
  hooks: mergeHooksIntoConfig(
6386
- config.hooks,
6369
+ mergedConfig.hooks,
6387
6370
  pluginHooks
6388
6371
  )
6389
6372
  };
@@ -7009,6 +6992,7 @@ var InteractiveSession = class {
7009
6992
  bare: options.bare,
7010
6993
  allowedTools: options.allowedTools,
7011
6994
  appendSystemPrompt: options.appendSystemPrompt,
6995
+ language: options.language,
7012
6996
  backgroundTaskRunners: options.backgroundTaskRunners,
7013
6997
  subagentRunnerFactory: options.subagentRunnerFactory,
7014
6998
  ...options.commandModules ? { commandModules: options.commandModules } : {},
@@ -7040,6 +7024,9 @@ var InteractiveSession = class {
7040
7024
  throw new Error("InteractiveSession not initialized. Call submit() or await initialization.");
7041
7025
  return this.session;
7042
7026
  }
7027
+ get sessionId() {
7028
+ return this.session?.getSessionId() ?? "";
7029
+ }
7043
7030
  on(event, handler) {
7044
7031
  if (!this.listeners.has(event)) this.listeners.set(event, /* @__PURE__ */ new Set());
7045
7032
  this.listeners.get(event).add(handler);
@@ -7251,6 +7238,9 @@ var InteractiveSession = class {
7251
7238
  getActiveTools() {
7252
7239
  return this.activeTools;
7253
7240
  }
7241
+ get isInitialized() {
7242
+ return this.initialized;
7243
+ }
7254
7244
  getContextState() {
7255
7245
  return this.getSessionOrThrow().getContextState();
7256
7246
  }
@@ -1,5 +1,7 @@
1
1
  import { ISessionReplayValidationResult, ICompactEvent, ITerminalOutput, ISessionLogger, TPermissionHandler, Session, FileSessionLogger } from '@robota-sdk/agent-sessions';
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 } from '@robota-sdk/agent-core';
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';
3
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';
@@ -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
  } | {
@@ -1274,7 +1278,7 @@ declare class BundlePluginLoader {
1274
1278
  * For each marketplace/plugin pair, the latest version (lexicographically last) is loaded.
1275
1279
  */
1276
1280
  private discoverAndLoad;
1277
- /** Read and validate a plugin.json manifest. Returns null on failure. */
1281
+ /** Read and validate a plugin.json manifest. Returns null if the manifest structure is invalid. */
1278
1282
  private readManifest;
1279
1283
  /**
1280
1284
  * Check if a plugin is explicitly disabled.
@@ -1290,7 +1294,7 @@ declare class BundlePluginLoader {
1290
1294
  private loadCommands;
1291
1295
  /** Load hooks from hooks/hooks.json if present. */
1292
1296
  private loadHooks;
1293
- /** Load MCP server configuration if present. Checks `.mcp.json` at plugin root first. */
1297
+ /** Load MCP server configuration from `.mcp.json` at the plugin root if present. */
1294
1298
  private loadMcpConfig;
1295
1299
  /** Load agent definitions from agents/ directory if present. */
1296
1300
  private loadAgents;
@@ -1701,20 +1705,6 @@ interface IInteractiveSessionEvents {
1701
1705
  user_message: (content: string) => void;
1702
1706
  }
1703
1707
  type TInteractiveEventName = keyof IInteractiveSessionEvents;
1704
- /**
1705
- * Common interface for all transport adapters.
1706
- * Each transport exposes InteractiveSession over a specific protocol.
1707
- */
1708
- interface ITransportAdapter {
1709
- /** Human-readable transport name (e.g., 'http', 'ws', 'mcp', 'headless') */
1710
- readonly name: string;
1711
- /** Attach an InteractiveSession to this transport. */
1712
- attach(session: InteractiveSession): void;
1713
- /** Start serving. What this means depends on the transport. */
1714
- start(): Promise<void>;
1715
- /** Stop serving and clean up resources. */
1716
- stop(): Promise<void>;
1717
- }
1718
1708
 
1719
1709
  /**
1720
1710
  * Definition of an agent that can be spawned as a subagent.
@@ -1780,6 +1770,11 @@ interface IResolvedConfig {
1780
1770
  }>;
1781
1771
  /** Auto-compact threshold as a 0-1 fraction. Set false to disable automatic compaction. */
1782
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
+ }>;
1783
1778
  }
1784
1779
 
1785
1780
  interface ILoadedContext {
@@ -2252,6 +2247,8 @@ interface IInteractiveSessionStandardOptions {
2252
2247
  allowedTools?: string[];
2253
2248
  /** Text to append to the system prompt. */
2254
2249
  appendSystemPrompt?: string;
2250
+ /** Override config language (e.g., "ko", "en"). Injected into system prompt. */
2251
+ language?: string;
2255
2252
  /** Runtime-composed background task runners. */
2256
2253
  backgroundTaskRunners?: IBackgroundTaskRunner[];
2257
2254
  /** Runtime shell override for subagent execution. */
@@ -2313,7 +2310,7 @@ interface IInteractiveSessionShutdownOptions {
2313
2310
  reason?: TSessionEndReason;
2314
2311
  message?: string;
2315
2312
  }
2316
- declare class InteractiveSession {
2313
+ declare class InteractiveSession implements ISession {
2317
2314
  private session;
2318
2315
  private readonly commandExecutor;
2319
2316
  private readonly listeners;
@@ -2361,6 +2358,7 @@ declare class InteractiveSession {
2361
2358
  private initializeAsync;
2362
2359
  private ensureInitialized;
2363
2360
  private getSessionOrThrow;
2361
+ get sessionId(): string;
2364
2362
  on<E extends TInteractiveEventName>(event: E, handler: IInteractiveSessionEvents[E]): void;
2365
2363
  off<E extends TInteractiveEventName>(event: E, handler: IInteractiveSessionEvents[E]): void;
2366
2364
  private emit;
@@ -2392,6 +2390,7 @@ declare class InteractiveSession {
2392
2390
  getMessages(): TUniversalMessage[];
2393
2391
  getStreamingText(): string;
2394
2392
  getActiveTools(): IToolState[];
2393
+ get isInitialized(): boolean;
2395
2394
  getContextState(): IContextWindowState;
2396
2395
  getAutoCompactThreshold(): number | false;
2397
2396
  getAutoCompactThresholdSource(): TAutoCompactThresholdSource;
@@ -2799,4 +2798,4 @@ declare function updateTaskFileStatus(taskPath: string, status: TTaskFileStatus,
2799
2798
  */
2800
2799
  declare function promptForApproval(terminal: ITerminalOutput, toolName: string, toolArgs: TToolArgs): Promise<boolean>;
2801
2800
 
2802
- 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 ITransportAdapter, 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 };
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 };
@@ -1,5 +1,7 @@
1
1
  import { ISessionReplayValidationResult, ICompactEvent, ITerminalOutput, ISessionLogger, TPermissionHandler, Session, FileSessionLogger } from '@robota-sdk/agent-sessions';
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 } from '@robota-sdk/agent-core';
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';
3
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';
@@ -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
  } | {
@@ -1274,7 +1278,7 @@ declare class BundlePluginLoader {
1274
1278
  * For each marketplace/plugin pair, the latest version (lexicographically last) is loaded.
1275
1279
  */
1276
1280
  private discoverAndLoad;
1277
- /** Read and validate a plugin.json manifest. Returns null on failure. */
1281
+ /** Read and validate a plugin.json manifest. Returns null if the manifest structure is invalid. */
1278
1282
  private readManifest;
1279
1283
  /**
1280
1284
  * Check if a plugin is explicitly disabled.
@@ -1290,7 +1294,7 @@ declare class BundlePluginLoader {
1290
1294
  private loadCommands;
1291
1295
  /** Load hooks from hooks/hooks.json if present. */
1292
1296
  private loadHooks;
1293
- /** Load MCP server configuration if present. Checks `.mcp.json` at plugin root first. */
1297
+ /** Load MCP server configuration from `.mcp.json` at the plugin root if present. */
1294
1298
  private loadMcpConfig;
1295
1299
  /** Load agent definitions from agents/ directory if present. */
1296
1300
  private loadAgents;
@@ -1701,20 +1705,6 @@ interface IInteractiveSessionEvents {
1701
1705
  user_message: (content: string) => void;
1702
1706
  }
1703
1707
  type TInteractiveEventName = keyof IInteractiveSessionEvents;
1704
- /**
1705
- * Common interface for all transport adapters.
1706
- * Each transport exposes InteractiveSession over a specific protocol.
1707
- */
1708
- interface ITransportAdapter {
1709
- /** Human-readable transport name (e.g., 'http', 'ws', 'mcp', 'headless') */
1710
- readonly name: string;
1711
- /** Attach an InteractiveSession to this transport. */
1712
- attach(session: InteractiveSession): void;
1713
- /** Start serving. What this means depends on the transport. */
1714
- start(): Promise<void>;
1715
- /** Stop serving and clean up resources. */
1716
- stop(): Promise<void>;
1717
- }
1718
1708
 
1719
1709
  /**
1720
1710
  * Definition of an agent that can be spawned as a subagent.
@@ -1780,6 +1770,11 @@ interface IResolvedConfig {
1780
1770
  }>;
1781
1771
  /** Auto-compact threshold as a 0-1 fraction. Set false to disable automatic compaction. */
1782
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
+ }>;
1783
1778
  }
1784
1779
 
1785
1780
  interface ILoadedContext {
@@ -2252,6 +2247,8 @@ interface IInteractiveSessionStandardOptions {
2252
2247
  allowedTools?: string[];
2253
2248
  /** Text to append to the system prompt. */
2254
2249
  appendSystemPrompt?: string;
2250
+ /** Override config language (e.g., "ko", "en"). Injected into system prompt. */
2251
+ language?: string;
2255
2252
  /** Runtime-composed background task runners. */
2256
2253
  backgroundTaskRunners?: IBackgroundTaskRunner[];
2257
2254
  /** Runtime shell override for subagent execution. */
@@ -2313,7 +2310,7 @@ interface IInteractiveSessionShutdownOptions {
2313
2310
  reason?: TSessionEndReason;
2314
2311
  message?: string;
2315
2312
  }
2316
- declare class InteractiveSession {
2313
+ declare class InteractiveSession implements ISession {
2317
2314
  private session;
2318
2315
  private readonly commandExecutor;
2319
2316
  private readonly listeners;
@@ -2361,6 +2358,7 @@ declare class InteractiveSession {
2361
2358
  private initializeAsync;
2362
2359
  private ensureInitialized;
2363
2360
  private getSessionOrThrow;
2361
+ get sessionId(): string;
2364
2362
  on<E extends TInteractiveEventName>(event: E, handler: IInteractiveSessionEvents[E]): void;
2365
2363
  off<E extends TInteractiveEventName>(event: E, handler: IInteractiveSessionEvents[E]): void;
2366
2364
  private emit;
@@ -2392,6 +2390,7 @@ declare class InteractiveSession {
2392
2390
  getMessages(): TUniversalMessage[];
2393
2391
  getStreamingText(): string;
2394
2392
  getActiveTools(): IToolState[];
2393
+ get isInitialized(): boolean;
2395
2394
  getContextState(): IContextWindowState;
2396
2395
  getAutoCompactThreshold(): number | false;
2397
2396
  getAutoCompactThresholdSource(): TAutoCompactThresholdSource;
@@ -2799,4 +2798,4 @@ declare function updateTaskFileStatus(taskPath: string, status: TTaskFileStatus,
2799
2798
  */
2800
2799
  declare function promptForApproval(terminal: ITerminalOutput, toolName: string, toolArgs: TToolArgs): Promise<boolean>;
2801
2800
 
2802
- 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 ITransportAdapter, 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 };
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 };
@@ -3737,6 +3737,10 @@ var MarketplaceSourceSchema = z3.object({
3737
3737
  });
3738
3738
  var ExtraKnownMarketplacesSchema = z3.record(MarketplaceSourceSchema).optional().catch(void 0);
3739
3739
  var AutoCompactThresholdSchema = z3.union([z3.number().gt(0).lte(1), z3.literal(false)]).optional();
3740
+ var TransportSettingsSchema = z3.object({
3741
+ enabled: z3.boolean().optional(),
3742
+ options: z3.record(UniversalValueSchema).optional()
3743
+ });
3740
3744
  var SettingsSchema = z3.object({
3741
3745
  /** Trust level used when no --permission-mode flag is given */
3742
3746
  defaultTrustLevel: z3.enum(["safe", "moderate", "full"]).optional(),
@@ -3756,7 +3760,9 @@ var SettingsSchema = z3.object({
3756
3760
  /** Extra marketplace URLs for BundlePlugin discovery */
3757
3761
  extraKnownMarketplaces: ExtraKnownMarketplacesSchema,
3758
3762
  /** Auto-compact threshold as a 0-1 fraction. Set false to disable automatic compaction. */
3759
- autoCompactThreshold: AutoCompactThresholdSchema
3763
+ autoCompactThreshold: AutoCompactThresholdSchema,
3764
+ /** Transport enable/disable + options: transport name -> config */
3765
+ transports: z3.record(TransportSettingsSchema).optional()
3760
3766
  });
3761
3767
 
3762
3768
  // src/config/config-loader.ts
@@ -3859,7 +3865,12 @@ function resolveProvider(merged) {
3859
3865
  if (merged.currentProvider !== void 0) {
3860
3866
  return resolveActiveProviderProfile2(merged);
3861
3867
  }
3862
- return resolveLegacyProvider(merged);
3868
+ if (merged.provider !== void 0) {
3869
+ throw new Error(
3870
+ 'Legacy flat "provider" settings are not supported. Migrate to "currentProvider" + "providers" format.'
3871
+ );
3872
+ }
3873
+ return { ...DEFAULTS.provider };
3863
3874
  }
3864
3875
  function resolveActiveProviderProfile2(merged) {
3865
3876
  const currentProvider = merged.currentProvider;
@@ -3882,16 +3893,6 @@ function resolveActiveProviderProfile2(merged) {
3882
3893
  ...profile.options !== void 0 && { options: profile.options }
3883
3894
  };
3884
3895
  }
3885
- function resolveLegacyProvider(merged) {
3886
- return {
3887
- name: merged.provider?.name ?? DEFAULTS.provider.name,
3888
- model: merged.provider?.model ?? DEFAULTS.provider.model,
3889
- apiKey: merged.provider?.apiKey ?? DEFAULTS.provider.apiKey,
3890
- ...merged.provider?.baseURL !== void 0 && { baseURL: merged.provider.baseURL },
3891
- ...merged.provider?.timeout !== void 0 && { timeout: merged.provider.timeout },
3892
- ...merged.provider?.options !== void 0 && { options: merged.provider.options }
3893
- };
3894
- }
3895
3896
  function toResolvedConfig(merged) {
3896
3897
  return {
3897
3898
  defaultTrustLevel: merged.defaultTrustLevel ?? DEFAULTS.defaultTrustLevel,
@@ -5483,15 +5484,11 @@ var BundlePluginLoader = class {
5483
5484
  }
5484
5485
  return results;
5485
5486
  }
5486
- /** Read and validate a plugin.json manifest. Returns null on failure. */
5487
+ /** Read and validate a plugin.json manifest. Returns null if the manifest structure is invalid. */
5487
5488
  readManifest(path3) {
5488
- try {
5489
- const raw = readFileSync11(path3, "utf-8");
5490
- const data = JSON.parse(raw);
5491
- return validateManifest(data);
5492
- } catch {
5493
- return null;
5494
- }
5489
+ const raw = readFileSync11(path3, "utf-8");
5490
+ const data = JSON.parse(raw);
5491
+ return validateManifest(data);
5495
5492
  }
5496
5493
  /**
5497
5494
  * Check if a plugin is explicitly disabled.
@@ -5567,40 +5564,26 @@ var BundlePluginLoader = class {
5567
5564
  loadHooks(pluginDir) {
5568
5565
  const hooksPath = join12(pluginDir, "hooks", "hooks.json");
5569
5566
  if (!existsSync11(hooksPath)) return {};
5570
- try {
5571
- const raw = readFileSync11(hooksPath, "utf-8");
5572
- const data = JSON.parse(raw);
5573
- if (typeof data === "object" && data !== null) {
5574
- return data;
5575
- }
5576
- return {};
5577
- } catch {
5578
- return {};
5567
+ const raw = readFileSync11(hooksPath, "utf-8");
5568
+ const data = JSON.parse(raw);
5569
+ if (typeof data === "object" && data !== null) {
5570
+ return data;
5579
5571
  }
5572
+ return {};
5580
5573
  }
5581
- /** Load MCP server configuration if present. Checks `.mcp.json` at plugin root first. */
5574
+ /** Load MCP server configuration from `.mcp.json` at the plugin root if present. */
5582
5575
  loadMcpConfig(pluginDir) {
5583
- const primaryPath = join12(pluginDir, ".mcp.json");
5584
- const fallbackPath = join12(pluginDir, ".claude-plugin", "mcp.json");
5585
- const mcpPath = existsSync11(primaryPath) ? primaryPath : fallbackPath;
5576
+ const mcpPath = join12(pluginDir, ".mcp.json");
5586
5577
  if (!existsSync11(mcpPath)) return void 0;
5587
- try {
5588
- const raw = readFileSync11(mcpPath, "utf-8");
5589
- return JSON.parse(raw);
5590
- } catch {
5591
- return void 0;
5592
- }
5578
+ const raw = readFileSync11(mcpPath, "utf-8");
5579
+ return JSON.parse(raw);
5593
5580
  }
5594
5581
  /** Load agent definitions from agents/ directory if present. */
5595
5582
  loadAgents(pluginDir) {
5596
5583
  const agentsDir = join12(pluginDir, "agents");
5597
5584
  if (!existsSync11(agentsDir)) return [];
5598
- try {
5599
- const entries = readdirSync6(agentsDir, { withFileTypes: true });
5600
- return entries.filter((e) => e.isDirectory() || e.name.endsWith(".md")).map((e) => e.name.replace(/\.md$/, ""));
5601
- } catch {
5602
- return [];
5603
- }
5585
+ const entries = readdirSync6(agentsDir, { withFileTypes: true });
5586
+ return entries.filter((e) => e.isDirectory() || e.name.endsWith(".md")).map((e) => e.name.replace(/\.md$/, ""));
5604
5587
  }
5605
5588
  };
5606
5589
 
@@ -6137,18 +6120,18 @@ async function createInteractiveSession(options) {
6137
6120
  options.bare ? Promise.resolve({ agentsMd: "", claudeMd: "" }) : loadContext(cwd),
6138
6121
  options.bare ? Promise.resolve({ type: "unknown", language: "unknown" }) : detectProject(cwd)
6139
6122
  ]);
6123
+ let mergedConfig = options.language ? { ...config, language: options.language } : config;
6140
6124
  const pluginsDir = join17(homedir5(), ".robota", "plugins");
6141
6125
  const pluginLoader = new BundlePluginLoader(pluginsDir);
6142
- let mergedConfig = config;
6143
6126
  if (!options.bare) {
6144
6127
  try {
6145
6128
  const plugins = pluginLoader.loadPluginsSync();
6146
6129
  if (plugins.length > 0) {
6147
6130
  const pluginHooks = mergePluginHooks(plugins);
6148
6131
  mergedConfig = {
6149
- ...config,
6132
+ ...mergedConfig,
6150
6133
  hooks: mergeHooksIntoConfig(
6151
- config.hooks,
6134
+ mergedConfig.hooks,
6152
6135
  pluginHooks
6153
6136
  )
6154
6137
  };
@@ -6774,6 +6757,7 @@ var InteractiveSession = class {
6774
6757
  bare: options.bare,
6775
6758
  allowedTools: options.allowedTools,
6776
6759
  appendSystemPrompt: options.appendSystemPrompt,
6760
+ language: options.language,
6777
6761
  backgroundTaskRunners: options.backgroundTaskRunners,
6778
6762
  subagentRunnerFactory: options.subagentRunnerFactory,
6779
6763
  ...options.commandModules ? { commandModules: options.commandModules } : {},
@@ -6805,6 +6789,9 @@ var InteractiveSession = class {
6805
6789
  throw new Error("InteractiveSession not initialized. Call submit() or await initialization.");
6806
6790
  return this.session;
6807
6791
  }
6792
+ get sessionId() {
6793
+ return this.session?.getSessionId() ?? "";
6794
+ }
6808
6795
  on(event, handler) {
6809
6796
  if (!this.listeners.has(event)) this.listeners.set(event, /* @__PURE__ */ new Set());
6810
6797
  this.listeners.get(event).add(handler);
@@ -7016,6 +7003,9 @@ var InteractiveSession = class {
7016
7003
  getActiveTools() {
7017
7004
  return this.activeTools;
7018
7005
  }
7006
+ get isInitialized() {
7007
+ return this.initialized;
7008
+ }
7019
7009
  getContextState() {
7020
7010
  return this.getSessionOrThrow().getContextState();
7021
7011
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@robota-sdk/agent-sdk",
3
- "version": "3.0.0-beta.62",
3
+ "version": "3.0.0-beta.63",
4
4
  "description": "Programmatic SDK for building AI agents with Robota — provides InteractiveSession, createQuery(), command APIs, permissions, hooks, and context loading",
5
5
  "type": "module",
6
6
  "main": "dist/node/index.js",
@@ -33,10 +33,11 @@
33
33
  "dependencies": {
34
34
  "chalk": "^5.3.0",
35
35
  "zod": "^3.24.0",
36
- "@robota-sdk/agent-core": "3.0.0-beta.62",
37
- "@robota-sdk/agent-runtime": "3.0.0-beta.62",
38
- "@robota-sdk/agent-sessions": "3.0.0-beta.62",
39
- "@robota-sdk/agent-tools": "3.0.0-beta.62"
36
+ "@robota-sdk/agent-core": "3.0.0-beta.63",
37
+ "@robota-sdk/agent-sessions": "3.0.0-beta.63",
38
+ "@robota-sdk/agent-tools": "3.0.0-beta.63",
39
+ "@robota-sdk/agent-runtime": "3.0.0-beta.63",
40
+ "@robota-sdk/agent-interface-transport": "3.0.0-beta.63"
40
41
  },
41
42
  "devDependencies": {
42
43
  "rimraf": "^5.0.5",