@bobannomi/app-host 0.7.0 → 0.8.1

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.
@@ -235,7 +235,7 @@ declare class AppHostError extends Error {
235
235
  });
236
236
  }
237
237
 
238
- declare const APP_HOST_FEATURES: readonly ["fetch-v1", "fetch-inline-body-v1", "fetch-target-close-v1", "service-v1", "extended-errors-v1", "workspace-v1", "session-resources-v1", "session-controls-v1", "conversation-creation-session-v1", "trusted-desktop-v1", "attachments-v1", "auxiliary-sessions-v1", "system-ui-v1", "lifecycle-v1", "commands-v1", "resource-catalog-v1", "file-content-v1", "window-chrome-v1", "window-updates-v1", "window-update-check-v1", "embedded-browser-v1", "browser-binding-invalidation-v1", "browser-capture-preview-v1", "workbench-computer-v1"];
238
+ declare const APP_HOST_FEATURES: readonly ["fetch-v1", "fetch-inline-body-v1", "fetch-target-close-v1", "service-v1", "extended-errors-v1", "workspace-v1", "session-controls-v1", "conversation-creation-session-v1", "trusted-desktop-v1", "attachments-v1", "auxiliary-sessions-v1", "system-ui-v1", "lifecycle-v1", "commands-v1", "resource-catalog-v1", "file-content-v1", "window-chrome-v1", "window-updates-v1", "window-update-check-v1", "embedded-browser-v1", "browser-binding-invalidation-v1", "browser-capture-preview-v1", "workbench-computer-v1"];
239
239
  type AppHostFeature = (typeof APP_HOST_FEATURES)[number];
240
240
  declare const FETCH_CHUNK_BYTES: number;
241
241
  declare const FETCH_INLINE_BODY_BYTES: number;
@@ -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;
@@ -689,7 +690,7 @@ interface ConnectionStreams {
689
690
  fetchFor(id: string, base: string): typeof fetch;
690
691
  isClosed?(id: string): boolean;
691
692
  }
692
- /** A host-managed connection. Pass an AbortSignal to cancel an individual request. */
693
+ /** A Client transport. Pass an AbortSignal to cancel an individual request. */
693
694
  interface AgentConnection {
694
695
  /** Optional location hint. Execution always uses the Session/Run's persisted root. */
695
696
  readonly cwd?: string;
@@ -698,7 +699,7 @@ interface AgentConnection {
698
699
  readonly baseUrl: string;
699
700
  readonly fetch: typeof fetch;
700
701
  };
701
- /** True once the host has closed this target or its document transport. */
702
+ /** True once this connection can no longer accept requests. */
702
703
  isClosed?(): boolean;
703
704
  }
704
705
 
@@ -1548,53 +1549,6 @@ declare function createAppAuxiliarySessionsApi(rpc: {
1548
1549
  request<M extends AuxiliaryMethod>(method: M, params: AuxiliaryMethodMap[M]["params"]): Promise<AuxiliaryMethodMap[M]["result"]>;
1549
1550
  }, streams: ConnectionStreams): AuxiliarySessionsGroup;
1550
1551
 
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
1552
  /** Project records and filesystem locations have separate business identities. */
1599
1553
  interface SystemProject {
1600
1554
  workspaceId: string;
@@ -1618,16 +1572,9 @@ type Project = Scope & {
1618
1572
  projectId: string;
1619
1573
  workspaceId: string;
1620
1574
  };
1621
- type ProjectRequest = {
1622
- action: "list";
1623
- } | Scope & {
1575
+ type ProjectRequest = Scope & {
1624
1576
  action: "register";
1625
1577
  workspaceId: string;
1626
- } | Project & {
1627
- action: "setDefaultShell";
1628
- shell: string | null;
1629
- } | Project & {
1630
- action: "archive";
1631
1578
  } | Project & {
1632
1579
  action: "rebind";
1633
1580
  previousWorkspaceId: string;
@@ -1683,6 +1630,7 @@ type Entry<Input, Result> = {
1683
1630
  input: Input;
1684
1631
  result: Result;
1685
1632
  };
1633
+ type GitRead<M extends "desktop.git.changes" | "desktop.git.diff"> = Entry<Root & Omit<DesktopMethodMap[M]["params"], "targetId">, DesktopMethodMap[M]["result"]>;
1686
1634
  type LocalWorkspaceActions = {
1687
1635
  pick: Entry<{}, Required<Root> & {
1688
1636
  workspaceId: string;
@@ -1710,6 +1658,8 @@ type LocalWorkspaceActions = {
1710
1658
  webPreview: Entry<File, {
1711
1659
  url: string;
1712
1660
  }>;
1661
+ gitChanges: GitRead<"desktop.git.changes">;
1662
+ gitDiff: GitRead<"desktop.git.diff">;
1713
1663
  };
1714
1664
  type Action = keyof LocalWorkspaceActions;
1715
1665
  type LocalWorkspaceRequest = {
@@ -1719,134 +1669,6 @@ type LocalWorkspaceRequest = {
1719
1669
  }[Action];
1720
1670
  type LocalWorkspaceResult<A extends Action = Action> = LocalWorkspaceActions[A]["result"];
1721
1671
 
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
1672
  declare const SYSTEM_SETTINGS_SECTIONS: readonly ["general", "notifications", "profile", "appearance", "keyboard", "providers", "permissions", "personalization", "billing", "terminal", "git", "runtime", "storage", "diagnostics"];
1851
1673
  type SessionSettingsOriginal = Extract<SessionControlOriginal, {
1852
1674
  action: "fork";
@@ -1884,9 +1706,6 @@ type SystemSimpleOpenInput = {
1884
1706
  page: "scheduled";
1885
1707
  taskId?: string;
1886
1708
  scheduledRunId?: string;
1887
- } | {
1888
- page: "extensions";
1889
- tab?: "plugins" | "skills" | "mcp";
1890
1709
  } | {
1891
1710
  page: "settings";
1892
1711
  section?: (typeof SYSTEM_SETTINGS_SECTIONS)[number];
@@ -1918,6 +1737,8 @@ type DesktopNavigationTarget = {
1918
1737
  taskId: string;
1919
1738
  scheduledRunId: string;
1920
1739
  sessionId?: string;
1740
+ } | {
1741
+ kind: "extensions";
1921
1742
  });
1922
1743
  type NavigationCompletionStatus = "opened" | "unavailable" | "permission_required" | "cancelled";
1923
1744
  interface AppearancePreferences {
@@ -1968,21 +1789,7 @@ type SystemEvent = {
1968
1789
  type: "git-preferences-changed";
1969
1790
  defaultTaskLocation: "current" | "worktree";
1970
1791
  };
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"];
1792
+ declare const SYSTEM_METHODS: readonly ["system.projects", "system.workspace", "system.open", "system.getPresentationPreferences", "system.setTheme", "system.setWindowMaterial", "system.copyText", "system.openExternal", "system.navigationReady", "system.completeNavigation"];
1986
1793
  interface SystemMethodMap {
1987
1794
  "system.projects": {
1988
1795
  params: ProjectRequest;
@@ -1992,22 +1799,6 @@ interface SystemMethodMap {
1992
1799
  params: LocalWorkspaceRequest;
1993
1800
  result: LocalWorkspaceResult;
1994
1801
  };
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;
2010
- };
2011
1802
  "system.open": {
2012
1803
  params: SystemOpenWireInput;
2013
1804
  result: {
@@ -2070,16 +1861,6 @@ interface AppHostSystem {
2070
1861
  workspace<A extends LocalWorkspaceRequest["action"]>(input: Extract<LocalWorkspaceRequest, {
2071
1862
  action: A;
2072
1863
  }>): 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>;
2083
1864
  open(input: SystemOpenInput): Promise<{
2084
1865
  opened: true;
2085
1866
  }>;
@@ -2106,18 +1887,6 @@ interface SystemRequester {
2106
1887
  }
2107
1888
  declare function createAppSystemApi(requester: SystemRequester, connectionOwner: object): AppHostSystem;
2108
1889
 
2109
- interface AppHostSessions {
2110
- preparation: ConversationPreparationGroup;
2111
- auxiliary: AuxiliarySessionsGroup;
2112
- }
2113
- type SessionResourceMethod = "getAuthorizedAgentConnection";
2114
- declare function validSessionResourceInput(method: SessionResourceMethod, v: unknown): boolean;
2115
- declare function validSessionResourceResult(_method: SessionResourceMethod, v: unknown): v is {
2116
- connectionId: string;
2117
- baseUrl: string;
2118
- defaultTaskLocation?: "current" | "worktree";
2119
- };
2120
-
2121
1890
  interface ServiceConnection {
2122
1891
  readonly baseUrl: string;
2123
1892
  readonly apiVersion: string;
@@ -2137,6 +1906,11 @@ interface AppHostService {
2137
1906
  }>;
2138
1907
  }
2139
1908
 
1909
+ interface AppHostSessions {
1910
+ preparation: ConversationPreparationGroup;
1911
+ auxiliary: AuxiliarySessionsGroup;
1912
+ }
1913
+
2140
1914
  type AppUnloadReason = "switch" | "reload" | "disable" | "quit";
2141
1915
  type AppLifecycleFrame = {
2142
1916
  protocol: 1;
@@ -2180,8 +1954,6 @@ interface AppHost {
2180
1954
  lifecycle: AppHostLifecycle;
2181
1955
  system: AppHostSystem;
2182
1956
  window: AppHostWindow;
2183
- /** Get the host-managed Agent connection authorized for the current page. */
2184
- getAuthorizedAgentConnection(): Promise<AgentConnection>;
2185
1957
  sessions: AppHostSessions;
2186
1958
  desktop: AppHostDesktop;
2187
1959
  attachments: AppHostAttachments;
@@ -2341,7 +2113,7 @@ declare const APP_HOST_REQUEST_TIMEOUT_MS = 30000;
2341
2113
  declare const APP_HOST_PORT_TIMEOUT_MS = 10000;
2342
2114
  declare const APP_HOST_LOGIN_TIMEOUT_MS = 300000;
2343
2115
  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"];
2116
+ declare const APP_HOST_METHODS: readonly ["connect", "negotiate", "getContext", "storage.get", "storage.set", "storage.delete", "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.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
2117
 
2346
2118
  interface AppContext {
2347
2119
  readonly appId: string;
@@ -2395,13 +2167,6 @@ interface ConnectParams {
2395
2167
  hostApi: string;
2396
2168
  }
2397
2169
  interface AppHostMethodMap extends CommandsMethodMap, ResourceCatalogMethodMap, ConversationPreparationMethodMap, DesktopMethodMap, AttachmentsMethodMap, AuxiliaryMethodMap, SystemMethodMap, WindowMethodMap, WorkbenchComputerMethodMap {
2398
- "getAuthorizedAgentConnection": {
2399
- params: Record<string, never>;
2400
- result: {
2401
- connectionId: string;
2402
- baseUrl: string;
2403
- };
2404
- };
2405
2170
  "workspace.select": {
2406
2171
  params: {
2407
2172
  requestId: string;
@@ -2562,5 +2327,5 @@ interface AppHostPortMessage {
2562
2327
  protocol: 1;
2563
2328
  }
2564
2329
 
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 };
2330
+ 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, validSessionSettingsTarget, validSystemEvent, validSystemInput, validSystemResult, validWindowEvent, validWindowInput, validWindowResult, validWorkbenchComputerEvent, validWorkbenchComputerInput, validWorkbenchComputerResult, validWorkspaceInput, validWorkspaceOperation, validWorkspaceResult, workbenchComputer, workbenchComputerKey };
2331
+ 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, 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 };