@bobannomi/app-host 0.7.0 → 0.8.0

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.
@@ -244,6 +244,7 @@ declare const FETCH_MAX_STREAMS = 16;
244
244
  declare const FETCH_METADATA_BYTES: number;
245
245
  declare const FETCH_HEADERS_TIMEOUT_MS = 30000;
246
246
  declare const FETCH_IDLE_TIMEOUT_MS = 120000;
247
+ declare function pageFetchHeadersTimeout(method: string, target: string): number;
247
248
  type FetchDirection = "upload" | "download";
248
249
  type PageFetchFrame = {
249
250
  protocol: 2;
@@ -304,6 +305,7 @@ declare function pageFetchPath(baseUrl: string, input: string): string;
304
305
 
305
306
  interface AgentApiRoute {
306
307
  readonly id: string;
308
+ readonly builtinWorkbench?: true;
307
309
  }
308
310
  declare function matchAgentApiRoute(method: string, path: string): AgentApiRoute | undefined;
309
311
  /** Read the original Node request target, before WHATWG URL removes dot segments. */
@@ -1548,53 +1550,6 @@ declare function createAppAuxiliarySessionsApi(rpc: {
1548
1550
  request<M extends AuxiliaryMethod>(method: M, params: AuxiliaryMethodMap[M]["params"]): Promise<AuxiliaryMethodMap[M]["result"]>;
1549
1551
  }, streams: ConnectionStreams): AuxiliarySessionsGroup;
1550
1552
 
1551
- /** The extension manager's finite operations. */
1552
- declare const EXTENSION_INPUTS: {
1553
- context: Check;
1554
- "plugins.loadIcon": Check;
1555
- "plugins.snapshot": Check;
1556
- "plugins.enable": Check;
1557
- "plugins.disable": Check;
1558
- "plugins.uninstall": Check;
1559
- "plugins.reload": Check;
1560
- "plugins.importArchive": Check;
1561
- "plugins.confirmArchive": Check;
1562
- "plugins.cancelArchive": Check;
1563
- "plugins.importGit": Check;
1564
- "plugins.confirmGit": Check;
1565
- "plugins.cancelGit": Check;
1566
- "plugins.marketplaceCatalog": Check;
1567
- "plugins.marketplaceAddSource": Check;
1568
- "plugins.marketplaceSetSourceEnabled": Check;
1569
- "plugins.marketplaceRemoveSource": Check;
1570
- "plugins.marketplacePreview": Check;
1571
- "plugins.marketplaceConfirm": Check;
1572
- "plugins.marketplaceCancel": Check;
1573
- "plugins.marketplaceOperation": Check;
1574
- "skills.snapshot": Check;
1575
- "skills.remove": Check;
1576
- "skills.marketplaceCatalog": Check;
1577
- "skills.marketplaceInstall": (value: unknown) => boolean;
1578
- "mcp.snapshot": Check;
1579
- "mcp.exportConfig": Check;
1580
- "mcp.getConfig": Check;
1581
- "mcp.add": Check;
1582
- "mcp.update": Check;
1583
- "mcp.remove": Check;
1584
- "mcp.setEnabled": Check;
1585
- "mcp.login": Check;
1586
- "mcp.loginStatus": Check;
1587
- "mcp.cancelLogin": Check;
1588
- "mcp.logout": Check;
1589
- };
1590
- type ExtensionOperation = keyof typeof EXTENSION_INPUTS;
1591
- interface ExtensionRequest {
1592
- operation: ExtensionOperation;
1593
- input: Record<string, unknown>;
1594
- }
1595
- declare function validExtensionRequest(value: unknown): value is ExtensionRequest;
1596
- declare const validExtensionResult: (value: unknown) => boolean;
1597
-
1598
1553
  /** Project records and filesystem locations have separate business identities. */
1599
1554
  interface SystemProject {
1600
1555
  workspaceId: string;
@@ -1719,134 +1674,6 @@ type LocalWorkspaceRequest = {
1719
1674
  }[Action];
1720
1675
  type LocalWorkspaceResult<A extends Action = Action> = LocalWorkspaceActions[A]["result"];
1721
1676
 
1722
- interface CustomModelProviderInput {
1723
- id: string;
1724
- displayName: string;
1725
- baseUrl: string;
1726
- apiFormat: "openai";
1727
- apiKey?: string;
1728
- models: {
1729
- id: string;
1730
- displayName: string;
1731
- imageInputSupport?: "native" | "unsupported" | "unknown";
1732
- contextWindow?: number;
1733
- maxOutputTokens?: number;
1734
- }[];
1735
- headers?: Record<string, string>;
1736
- secretHeaders?: Record<string, string | null>;
1737
- }
1738
- type Removal = {
1739
- provider: string;
1740
- disableDefault?: boolean;
1741
- replacement?: {
1742
- provider: string;
1743
- model: string;
1744
- };
1745
- };
1746
- type ModelProviderRequest = {
1747
- action: "list";
1748
- } | {
1749
- action: "refresh";
1750
- } | {
1751
- action: "connect";
1752
- provider: string;
1753
- apiKey: string;
1754
- headers?: Record<string, string>;
1755
- secretHeaders?: Record<string, string | null>;
1756
- } | {
1757
- action: "updateHeaders";
1758
- provider: string;
1759
- headers: Record<string, string>;
1760
- secretHeaders?: Record<string, string | null>;
1761
- } | {
1762
- action: "createCustom";
1763
- value: CustomModelProviderInput;
1764
- } | {
1765
- action: "syncAccount";
1766
- value: CustomModelProviderInput;
1767
- } | {
1768
- action: "updateCustom";
1769
- provider: string;
1770
- value: CustomModelProviderInput;
1771
- } | ({
1772
- action: "disconnect";
1773
- } & Removal) | ({
1774
- action: "removeCustom";
1775
- } & Removal);
1776
- interface ModelProviderConnection {
1777
- name: string;
1778
- displayName: string;
1779
- connected: boolean;
1780
- active: boolean;
1781
- custom?: boolean;
1782
- credentialLabel?: string;
1783
- credentialSource: "credentials" | "environment" | "subscription" | "local" | "configured" | "none";
1784
- source?: "builtin" | "catalog" | "custom" | "subscription";
1785
- baseUrl?: string;
1786
- headers?: Record<string, string>;
1787
- secretHeaderNames?: string[];
1788
- models: {
1789
- id: string;
1790
- label: string;
1791
- imageInputSupport?: "native" | "unsupported" | "unknown";
1792
- declaredLimits?: {
1793
- contextWindow?: number;
1794
- maxOutputTokens?: number;
1795
- };
1796
- }[];
1797
- }
1798
- interface ProviderDefaultsSnapshot {
1799
- models: {
1800
- id: string;
1801
- label: string;
1802
- provider: string;
1803
- providerName: string;
1804
- reasoningEfforts?: string[];
1805
- contextWindow?: number;
1806
- inputModalities?: string[];
1807
- inputCapabilities?: {
1808
- image: "native" | "unsupported" | "unknown";
1809
- };
1810
- }[];
1811
- provider: string | null;
1812
- model: string | null;
1813
- effort: string | null;
1814
- disabled: boolean;
1815
- revision: string;
1816
- verified: Record<string, {
1817
- model: string;
1818
- checkedAt: number;
1819
- }>;
1820
- fastModeAvailable: false;
1821
- fastModeReason: string;
1822
- /** Present when the caller supplied a proof for its current account gateway. */
1823
- accountGatewayMatches?: boolean;
1824
- }
1825
- interface ProviderConnectionTestResult {
1826
- status: "verified" | "failed";
1827
- category?: "authentication" | "address" | "network" | "model" | "unsupported" | "service";
1828
- detail: string;
1829
- checkedAt: number;
1830
- }
1831
- type ProviderDefaultsRequest = {
1832
- action: "snapshot";
1833
- accountGatewayProof?: string;
1834
- } | {
1835
- action: "updateModel";
1836
- provider?: string;
1837
- model: string;
1838
- effort?: string | null;
1839
- expectedRevision?: string;
1840
- } | {
1841
- action: "updateEffort";
1842
- effort: string | null;
1843
- expectedRevision: string;
1844
- } | {
1845
- action: "test";
1846
- provider: string;
1847
- model: string;
1848
- };
1849
-
1850
1677
  declare const SYSTEM_SETTINGS_SECTIONS: readonly ["general", "notifications", "profile", "appearance", "keyboard", "providers", "permissions", "personalization", "billing", "terminal", "git", "runtime", "storage", "diagnostics"];
1851
1678
  type SessionSettingsOriginal = Extract<SessionControlOriginal, {
1852
1679
  action: "fork";
@@ -1884,9 +1711,6 @@ type SystemSimpleOpenInput = {
1884
1711
  page: "scheduled";
1885
1712
  taskId?: string;
1886
1713
  scheduledRunId?: string;
1887
- } | {
1888
- page: "extensions";
1889
- tab?: "plugins" | "skills" | "mcp";
1890
1714
  } | {
1891
1715
  page: "settings";
1892
1716
  section?: (typeof SYSTEM_SETTINGS_SECTIONS)[number];
@@ -1918,6 +1742,8 @@ type DesktopNavigationTarget = {
1918
1742
  taskId: string;
1919
1743
  scheduledRunId: string;
1920
1744
  sessionId?: string;
1745
+ } | {
1746
+ kind: "extensions";
1921
1747
  });
1922
1748
  type NavigationCompletionStatus = "opened" | "unavailable" | "permission_required" | "cancelled";
1923
1749
  interface AppearancePreferences {
@@ -1968,21 +1794,7 @@ type SystemEvent = {
1968
1794
  type: "git-preferences-changed";
1969
1795
  defaultTaskLocation: "current" | "worktree";
1970
1796
  };
1971
- declare const CHANNEL_SETTINGS_ACTIONS: readonly ["snapshot", "runtimeStatus", "connect", "patch", "remove", "allowAdd", "allowRemove", "startRegistration", "registrationStatus", "cancelRegistration", "startRuntime", "stopRuntime"];
1972
- type ChannelSettingsAction = typeof CHANNEL_SETTINGS_ACTIONS[number];
1973
- type ChannelSettingsRequest = {
1974
- action: ChannelSettingsAction;
1975
- input?: unknown;
1976
- };
1977
- type ChannelSettingsResult = {
1978
- value: object;
1979
- } | {
1980
- error: "invalid_configuration" | "conflict";
1981
- };
1982
- type RequestChannelSettings = (request: ChannelSettingsRequest) => Promise<ChannelSettingsResult>;
1983
- /** Internal bridge used by the bundled workbench settings page. */
1984
- declare function workbenchChannelSettings(system: object): RequestChannelSettings;
1985
- declare const SYSTEM_METHODS: readonly ["system.projects", "system.workspace", "system.extensions", "system.modelProviders", "system.channelSettings", "system.providerDefaults", "system.open", "system.getPresentationPreferences", "system.setTheme", "system.setWindowMaterial", "system.copyText", "system.openExternal", "system.navigationReady", "system.completeNavigation"];
1797
+ declare const SYSTEM_METHODS: readonly ["system.projects", "system.workspace", "system.pickFile", "system.open", "system.getPresentationPreferences", "system.setTheme", "system.setWindowMaterial", "system.copyText", "system.openExternal", "system.navigationReady", "system.completeNavigation"];
1986
1798
  interface SystemMethodMap {
1987
1799
  "system.projects": {
1988
1800
  params: ProjectRequest;
@@ -1992,21 +1804,14 @@ interface SystemMethodMap {
1992
1804
  params: LocalWorkspaceRequest;
1993
1805
  result: LocalWorkspaceResult;
1994
1806
  };
1995
- "system.extensions": {
1996
- params: ExtensionRequest;
1997
- result: unknown;
1998
- };
1999
- "system.modelProviders": {
2000
- params: ModelProviderRequest;
2001
- result: ModelProviderConnection[];
2002
- };
2003
- "system.channelSettings": {
2004
- params: ChannelSettingsRequest;
2005
- result: ChannelSettingsResult;
2006
- };
2007
- "system.providerDefaults": {
2008
- params: ProviderDefaultsRequest;
2009
- result: ProviderDefaultsSnapshot | ProviderConnectionTestResult;
1807
+ "system.pickFile": {
1808
+ params: {
1809
+ filters?: {
1810
+ name: string;
1811
+ extensions: string[];
1812
+ }[];
1813
+ };
1814
+ result: string | null;
2010
1815
  };
2011
1816
  "system.open": {
2012
1817
  params: SystemOpenWireInput;
@@ -2070,16 +1875,8 @@ interface AppHostSystem {
2070
1875
  workspace<A extends LocalWorkspaceRequest["action"]>(input: Extract<LocalWorkspaceRequest, {
2071
1876
  action: A;
2072
1877
  }>): Promise<LocalWorkspaceResult<A>>;
2073
- /** Requires the explicit extensions.manage installation capability. */
2074
- extensions(input: ExtensionRequest): Promise<unknown>;
2075
- /** Manages connections for the active built-in workbench. */
2076
- modelProviders(input: ModelProviderRequest): Promise<ModelProviderConnection[]>;
2077
- providerDefaults(input: Extract<ProviderDefaultsRequest, {
2078
- action: "test";
2079
- }>): Promise<ProviderConnectionTestResult>;
2080
- providerDefaults(input: Exclude<ProviderDefaultsRequest, {
2081
- action: "test";
2082
- }>): Promise<ProviderDefaultsSnapshot>;
1878
+ /** Opens the file picker for the built-in workbench and returns the selected local path. */
1879
+ pickFile(input?: SystemMethodMap["system.pickFile"]["params"]): Promise<string | null>;
2083
1880
  open(input: SystemOpenInput): Promise<{
2084
1881
  opened: true;
2085
1882
  }>;
@@ -2341,7 +2138,7 @@ declare const APP_HOST_REQUEST_TIMEOUT_MS = 30000;
2341
2138
  declare const APP_HOST_PORT_TIMEOUT_MS = 10000;
2342
2139
  declare const APP_HOST_LOGIN_TIMEOUT_MS = 300000;
2343
2140
  declare const APP_HOST_LOGIN_TRANSPORT_TIMEOUT_MS: number;
2344
- declare const APP_HOST_METHODS: readonly ["connect", "negotiate", "getContext", "storage.get", "storage.set", "storage.delete", "getAuthorizedAgentConnection", "service.getStatus", "service.getConnection", "service.listWork", "service.getWork", "service.interruptWork", "storage.putFile", "storage.readFile", "storage.deleteFile", "auth.openLogin", "workspace.select", "workspace.getSelection", "workspace.get", "workspace.listFiles", "workspace.readText", "commands.register", "commands.update", "commands.dispose", "workspace.list", "sessions.createConversation", "sessions.getConversationCreationResult", ...(keyof DesktopMethodMap)[], "attachments.getConnection", "sessions.getAuxiliaryOptions", "sessions.openAuxiliary", "sessions.getAuxiliary", "sessions.closeAuxiliary", "system.projects", "system.workspace", "system.extensions", "system.modelProviders", "system.channelSettings", "system.providerDefaults", "system.open", "system.getPresentationPreferences", "system.setTheme", "system.setWindowMaterial", "system.copyText", "system.openExternal", "system.navigationReady", "system.completeNavigation", "window.getState", "window.checkForUpdates", "window.minimize", "window.toggleMaximize", "window.requestClose", "window.openHost", "window.reportStartup", "workbench.computer.availability", "workbench.computer.setConversation", "workbench.computer.preparePrompt", "workbench.computer.getActivity", "workbench.computer.reply", "workbench.computer.control", "workbench.computer.shareWindow", "workbench.computer.stopLocal"];
2141
+ declare const APP_HOST_METHODS: readonly ["connect", "negotiate", "getContext", "storage.get", "storage.set", "storage.delete", "getAuthorizedAgentConnection", "service.getStatus", "service.getConnection", "service.listWork", "service.getWork", "service.interruptWork", "storage.putFile", "storage.readFile", "storage.deleteFile", "auth.openLogin", "workspace.select", "workspace.getSelection", "workspace.get", "workspace.listFiles", "workspace.readText", "commands.register", "commands.update", "commands.dispose", "workspace.list", "sessions.createConversation", "sessions.getConversationCreationResult", ...(keyof DesktopMethodMap)[], "attachments.getConnection", "sessions.getAuxiliaryOptions", "sessions.openAuxiliary", "sessions.getAuxiliary", "sessions.closeAuxiliary", "system.projects", "system.workspace", "system.pickFile", "system.open", "system.getPresentationPreferences", "system.setTheme", "system.setWindowMaterial", "system.copyText", "system.openExternal", "system.navigationReady", "system.completeNavigation", "window.getState", "window.checkForUpdates", "window.minimize", "window.toggleMaximize", "window.requestClose", "window.openHost", "window.reportStartup", "workbench.computer.availability", "workbench.computer.setConversation", "workbench.computer.preparePrompt", "workbench.computer.getActivity", "workbench.computer.reply", "workbench.computer.control", "workbench.computer.shareWindow", "workbench.computer.stopLocal"];
2345
2142
 
2346
2143
  interface AppContext {
2347
2144
  readonly appId: string;
@@ -2562,5 +2359,5 @@ interface AppHostPortMessage {
2562
2359
  protocol: 1;
2563
2360
  }
2564
2361
 
2565
- export { APP_HOST_ERROR_RETRY, APP_HOST_FEATURES, APP_HOST_LOGIN_TIMEOUT_MS, APP_HOST_LOGIN_TRANSPORT_TIMEOUT_MS, APP_HOST_MAX_PAYLOAD_BYTES, APP_HOST_MAX_PENDING, APP_HOST_METHODS, APP_HOST_PORT, APP_HOST_PORT_TIMEOUT_MS, APP_HOST_PROTOCOL, APP_HOST_READY, APP_HOST_REQUEST_TIMEOUT_MS, ATTACHMENTS_METHODS, AUXILIARY_METHODS, AppHostError, BROWSER_CAPTURE_PREVIEW_MAX_BYTES, COMMANDS_METHODS, DESKTOP_METHODS, EXTENSION_INPUTS, FETCH_CHUNK_BYTES, FETCH_HEADERS_TIMEOUT_MS, FETCH_IDLE_TIMEOUT_MS, FETCH_INLINE_BODY_BYTES, FETCH_MAX_STREAMS, FETCH_METADATA_BYTES, FETCH_WINDOW_CHUNKS, HOST_REQUEST_ID, RESOURCE_CATALOG_METHODS, SYSTEM_METHODS, SYSTEM_SETTINGS_SECTIONS, SYSTEM_SHORTCUT_IDS, WINDOW_METHODS, WORKBENCH_COMPUTER_FEATURE, WORKBENCH_COMPUTER_METHODS, appHostErrorMessage, canonicalDesktopRequest, createAppAttachmentsApi, createAppAuxiliarySessionsApi, createAppCommandsApi, createAppDesktopApi, createAppSystemApi, createAppWindowApi, createResourceCatalogApi, isAppHostErrorInfo, isAppLifecycleFrame, isAuxiliaryMethod, isCommandsMethod, isConversationPreparationMethod, isDesktopMethod, isPageFetchFrame, isResourceCatalogMethod, isSafeErrorDetails, isSystemMethod, isWindowMethod, isWorkbenchComputerMethod, matchAgentApiRoute, normalizeAgentApiPath, pageFetchPath, validAppCommandSnapshot, validAppWindowState, validAttachmentsInput, validAttachmentsResult, validAuxiliaryInput, validAuxiliaryResult, validBrowserSnapshot, validCommandInvocation, validCommandReceipt, validCommandsInput, validConversationPreparationInput, validConversationPreparationResult, validDesktopEvent, validDesktopInput, validDesktopNavigationTarget, validDesktopResult, validDesktopResultForInput, validDesktopTarget, validExtensionRequest, validExtensionResult, validPresentationSnapshot, validProjectRequest, validProjectSnapshot, validResourceCatalogInput, validResourceCatalogResult, validResourceChanged, validSessionResourceInput, validSessionResourceResult, validSessionSettingsTarget, validSystemEvent, validSystemInput, validSystemResult, validWindowEvent, validWindowInput, validWindowResult, validWorkbenchComputerEvent, validWorkbenchComputerInput, validWorkbenchComputerResult, validWorkspaceInput, validWorkspaceOperation, validWorkspaceResult, workbenchChannelSettings, workbenchComputer, workbenchComputerKey };
2566
- export type { AgentApiRoute, AnnotationMode, AnnotationRect, AnnotationTarget, AppCommandRegistration, AppCommandSnapshot, AppContext, AppHostAttachments, AppHostCommands, AppHostDesktop, AppHostErrorCode, AppHostErrorInfo, AppHostEvent, AppHostEventMessage, AppHostFeature, AppHostFileOperations, AppHostGitOperations, AppHostMethod, AppHostMethodMap, AppHostPortMessage, AppHostReadyMessage, AppHostRequest, AppHostResponse, AppHostRetry, AppHostSystem, AppHostTerminalOperations, AppHostWindow, AppLifecycleFrame, AppUnloadReason, AppWindowMaterialState, AppWindowOpenHostInput, AppWindowStartupResult, AppWindowState, AppWindowUpdateCheckResult, AppWindowUpdateState, AppearancePreferences, AttachmentsMethod, AttachmentsMethodMap, AuxiliaryMethod, AuxiliaryMethodMap, AuxiliaryOptions, AuxiliaryReceipt, AuxiliaryRequest, AuxiliarySelection, AuxiliarySessionsGroup, AuxiliaryWireRequest, BindDesktopTarget, BrowserAnnotationRecord, BrowserAnnotationSnapshot, BrowserPage, ChannelSettingsAction, CommandInvocation, CommandReceipt, CommandsMethod, CommandsMethodMap, ConnectParams, ConversationPreparationMethod, ConversationPreparationMethodMap, DesktopComputerActivity, DesktopComputerActivityUpdate, DesktopComputerAvailability, DesktopComputerCandidate, DesktopComputerControl, DesktopComputerInteractionEvent, DesktopComputerInteractionReply, DesktopComputerPrompt, DesktopGitChange, DesktopMethod, DesktopMethodMap, DesktopNavigationTarget, DesktopOpener, DesktopRoot, DesktopSearch, DesktopTarget, DesktopTerminal, DesktopTerminalInfo, DesktopTerminalRequestOriginal, DesktopTerminalRequestReceipt, DesktopTerminalSnapshot, DesktopText, DesktopToolEvent, DesktopWindow, ExtensionOperation, ExtensionRequest, FetchDirection, FileOperationOriginal, GitOperationOriginal, JsonValue, LocalWorkspaceRequest, LocalWorkspaceResult, LoginResult, ModelProviderConnection, ModelProviderRequest, NavigationCompletionStatus, PageFetchFrame, PluginAppActionReceipt, PluginAppActionResponse, PluginAppCatalog, PluginAppComposerContext, PluginAppHostState, PluginAppModelContext, PluginAppMount, PluginAppPreparedMessage, PluginAppPreparedTool, PluginAppRecord, PluginAppSource, PluginAppSubmissionReceipt, PluginAppToolPolicy, PresentationSnapshot, ProjectRequest, ProjectSnapshot, ProviderConnectionTestResult, ProviderDefaultsRequest, ProviderDefaultsSnapshot, ResourceCatalogMethod, ResourceCatalogMethodMap, ResourceChanged, ServiceConnectionDescriptor, ServiceStatus, ServiceWork, ServiceWorkState, SessionResourceMethod, SessionSettingsTarget, SessionSettingsWireTarget, StorageGetResult, StoredFile, SystemEvent, SystemMethod, SystemMethodMap, SystemOpenInput, SystemOpenWireInput, SystemProject, SystemRequester, SystemShortcutId, WindowMethod, WindowMethodMap, WindowRequester, WindowStateChanged, WorkbenchComputer, WorkbenchComputerEvent, WorkbenchComputerMethod, WorkbenchComputerMethodMap, WorkspaceDirectoryPage, WorkspaceFilePage, WorkspaceMethod, WorkspaceOperation, WorkspaceOperationKind, WorkspaceOperationOriginal, WorkspaceRef, WorkspaceSelection, WorkspaceText };
2362
+ export { APP_HOST_ERROR_RETRY, APP_HOST_FEATURES, APP_HOST_LOGIN_TIMEOUT_MS, APP_HOST_LOGIN_TRANSPORT_TIMEOUT_MS, APP_HOST_MAX_PAYLOAD_BYTES, APP_HOST_MAX_PENDING, APP_HOST_METHODS, APP_HOST_PORT, APP_HOST_PORT_TIMEOUT_MS, APP_HOST_PROTOCOL, APP_HOST_READY, APP_HOST_REQUEST_TIMEOUT_MS, ATTACHMENTS_METHODS, AUXILIARY_METHODS, AppHostError, BROWSER_CAPTURE_PREVIEW_MAX_BYTES, COMMANDS_METHODS, DESKTOP_METHODS, FETCH_CHUNK_BYTES, FETCH_HEADERS_TIMEOUT_MS, FETCH_IDLE_TIMEOUT_MS, FETCH_INLINE_BODY_BYTES, FETCH_MAX_STREAMS, FETCH_METADATA_BYTES, FETCH_WINDOW_CHUNKS, HOST_REQUEST_ID, RESOURCE_CATALOG_METHODS, SYSTEM_METHODS, SYSTEM_SETTINGS_SECTIONS, SYSTEM_SHORTCUT_IDS, WINDOW_METHODS, WORKBENCH_COMPUTER_FEATURE, WORKBENCH_COMPUTER_METHODS, appHostErrorMessage, canonicalDesktopRequest, createAppAttachmentsApi, createAppAuxiliarySessionsApi, createAppCommandsApi, createAppDesktopApi, createAppSystemApi, createAppWindowApi, createResourceCatalogApi, isAppHostErrorInfo, isAppLifecycleFrame, isAuxiliaryMethod, isCommandsMethod, isConversationPreparationMethod, isDesktopMethod, isPageFetchFrame, isResourceCatalogMethod, isSafeErrorDetails, isSystemMethod, isWindowMethod, isWorkbenchComputerMethod, matchAgentApiRoute, normalizeAgentApiPath, pageFetchHeadersTimeout, pageFetchPath, validAppCommandSnapshot, validAppWindowState, validAttachmentsInput, validAttachmentsResult, validAuxiliaryInput, validAuxiliaryResult, validBrowserSnapshot, validCommandInvocation, validCommandReceipt, validCommandsInput, validConversationPreparationInput, validConversationPreparationResult, validDesktopEvent, validDesktopInput, validDesktopNavigationTarget, validDesktopResult, validDesktopResultForInput, validDesktopTarget, validPresentationSnapshot, validProjectRequest, validProjectSnapshot, validResourceCatalogInput, validResourceCatalogResult, validResourceChanged, validSessionResourceInput, validSessionResourceResult, validSessionSettingsTarget, validSystemEvent, validSystemInput, validSystemResult, validWindowEvent, validWindowInput, validWindowResult, validWorkbenchComputerEvent, validWorkbenchComputerInput, validWorkbenchComputerResult, validWorkspaceInput, validWorkspaceOperation, validWorkspaceResult, workbenchComputer, workbenchComputerKey };
2363
+ export type { AgentApiRoute, AnnotationMode, AnnotationRect, AnnotationTarget, AppCommandRegistration, AppCommandSnapshot, AppContext, AppHostAttachments, AppHostCommands, AppHostDesktop, AppHostErrorCode, AppHostErrorInfo, AppHostEvent, AppHostEventMessage, AppHostFeature, AppHostFileOperations, AppHostGitOperations, AppHostMethod, AppHostMethodMap, AppHostPortMessage, AppHostReadyMessage, AppHostRequest, AppHostResponse, AppHostRetry, AppHostSystem, AppHostTerminalOperations, AppHostWindow, AppLifecycleFrame, AppUnloadReason, AppWindowMaterialState, AppWindowOpenHostInput, AppWindowStartupResult, AppWindowState, AppWindowUpdateCheckResult, AppWindowUpdateState, AppearancePreferences, AttachmentsMethod, AttachmentsMethodMap, AuxiliaryMethod, AuxiliaryMethodMap, AuxiliaryOptions, AuxiliaryReceipt, AuxiliaryRequest, AuxiliarySelection, AuxiliarySessionsGroup, AuxiliaryWireRequest, BindDesktopTarget, BrowserAnnotationRecord, BrowserAnnotationSnapshot, BrowserPage, CommandInvocation, CommandReceipt, CommandsMethod, CommandsMethodMap, ConnectParams, ConversationPreparationMethod, ConversationPreparationMethodMap, DesktopComputerActivity, DesktopComputerActivityUpdate, DesktopComputerAvailability, DesktopComputerCandidate, DesktopComputerControl, DesktopComputerInteractionEvent, DesktopComputerInteractionReply, DesktopComputerPrompt, DesktopGitChange, DesktopMethod, DesktopMethodMap, DesktopNavigationTarget, DesktopOpener, DesktopRoot, DesktopSearch, DesktopTarget, DesktopTerminal, DesktopTerminalInfo, DesktopTerminalRequestOriginal, DesktopTerminalRequestReceipt, DesktopTerminalSnapshot, DesktopText, DesktopToolEvent, DesktopWindow, FetchDirection, FileOperationOriginal, GitOperationOriginal, JsonValue, LocalWorkspaceRequest, LocalWorkspaceResult, LoginResult, NavigationCompletionStatus, PageFetchFrame, PluginAppActionReceipt, PluginAppActionResponse, PluginAppCatalog, PluginAppComposerContext, PluginAppHostState, PluginAppModelContext, PluginAppMount, PluginAppPreparedMessage, PluginAppPreparedTool, PluginAppRecord, PluginAppSource, PluginAppSubmissionReceipt, PluginAppToolPolicy, PresentationSnapshot, ProjectRequest, ProjectSnapshot, ResourceCatalogMethod, ResourceCatalogMethodMap, ResourceChanged, ServiceConnectionDescriptor, ServiceStatus, ServiceWork, ServiceWorkState, SessionResourceMethod, SessionSettingsTarget, SessionSettingsWireTarget, StorageGetResult, StoredFile, SystemEvent, SystemMethod, SystemMethodMap, SystemOpenInput, SystemOpenWireInput, SystemProject, SystemRequester, SystemShortcutId, WindowMethod, WindowMethodMap, WindowRequester, WindowStateChanged, WorkbenchComputer, WorkbenchComputerEvent, WorkbenchComputerMethod, WorkbenchComputerMethodMap, WorkspaceDirectoryPage, WorkspaceFilePage, WorkspaceMethod, WorkspaceOperation, WorkspaceOperationKind, WorkspaceOperationOriginal, WorkspaceRef, WorkspaceSelection, WorkspaceText };