@verentis/sdk 0.1.1 → 0.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -1,18 +1,86 @@
1
+ interface HeaderAction {
2
+ id: string;
3
+ label: string;
4
+ icon?: string;
5
+ variant?: 'default' | 'outline' | 'destructive';
6
+ /** Empty for client-only actions; otherwise a subset of the delegated token scopes. */
7
+ scopes: string[];
8
+ enabled?: boolean;
9
+ visible?: boolean;
10
+ busy?: boolean;
11
+ disabledReason?: string;
12
+ /** Clipboard actions return text for the host to copy during its user gesture. */
13
+ kind?: 'clipboard';
14
+ }
15
+ interface HeaderActionResult {
16
+ clipboardText?: string;
17
+ navigate?: {
18
+ path: string;
19
+ newTab?: boolean;
20
+ };
21
+ }
22
+ interface HeaderActionRegistration {
23
+ update(action: HeaderAction): void;
24
+ dispose(): void;
25
+ }
26
+ type HeaderActionHandler = () => void | HeaderActionResult | Promise<void | HeaderActionResult>;
27
+ declare function isHeaderAction(value: unknown): value is HeaderAction;
28
+
1
29
  interface VerentisMessage {
2
30
  type: `verentis:${string}`;
3
31
  version: 1;
4
32
  requestId?: string;
5
33
  }
34
+
6
35
  interface VerentisInitMessage extends VerentisMessage {
7
36
  type: 'verentis:init';
8
37
  context: AppContext;
9
38
  token: TokenInfo;
39
+ sessionId?: string;
40
+ }
41
+ interface VerentisActionsSetMessage extends VerentisMessage {
42
+ type: 'verentis:actions:set';
43
+ sessionId: string;
44
+ actions: HeaderAction[];
45
+ }
46
+ interface VerentisActionInvokeMessage extends VerentisMessage {
47
+ type: 'verentis:action:invoke';
48
+ sessionId: string;
49
+ requestId: string;
50
+ actionId: string;
51
+ }
52
+ interface VerentisActionResultMessage extends VerentisMessage {
53
+ type: 'verentis:action:result';
54
+ sessionId: string;
55
+ requestId: string;
56
+ actionId: string;
57
+ result?: HeaderActionResult;
58
+ error?: string;
10
59
  }
11
60
  interface VerentisTokenRefreshedMessage extends VerentisMessage {
12
61
  type: 'verentis:token:refreshed';
13
62
  requestId: string;
14
63
  token: TokenInfo;
15
64
  }
65
+ /** Single-use credential for the installation's independently registered backend. */
66
+ interface AppBackendCredential {
67
+ delegationId: string;
68
+ backendClientId: string;
69
+ launchCredential: string;
70
+ expiresAt: string;
71
+ }
72
+ interface VerentisBackendCredentialRequest extends VerentisMessage {
73
+ type: 'verentis:backend:request';
74
+ requestId: string;
75
+ sessionId: string;
76
+ }
77
+ interface VerentisBackendCredentialResponse extends VerentisMessage {
78
+ type: 'verentis:backend:response';
79
+ requestId: string;
80
+ sessionId: string;
81
+ credential?: AppBackendCredential;
82
+ error?: string;
83
+ }
16
84
  interface VerentisFileChangedMessage extends VerentisMessage {
17
85
  type: 'verentis:file:changed';
18
86
  path: string;
@@ -50,13 +118,18 @@ interface VerentisDirtyMessage extends VerentisMessage {
50
118
  type: 'verentis:dirty';
51
119
  isDirty: boolean;
52
120
  }
53
- type HostToAppMessage = VerentisInitMessage | VerentisTokenRefreshedMessage | VerentisFileChangedMessage | VerentisThemeMessage;
54
- type AppToHostMessage = VerentisReadyMessage | VerentisTokenRefreshMessage | VerentisNavigateMessage | VerentisResizeMessage | VerentisTitleMessage | VerentisDirtyMessage;
121
+ type HostToAppMessage = VerentisInitMessage | VerentisActionInvokeMessage | VerentisTokenRefreshedMessage | VerentisFileChangedMessage | VerentisThemeMessage | VerentisBackendCredentialResponse;
122
+ type AppToHostMessage = VerentisReadyMessage | VerentisActionsSetMessage | VerentisActionResultMessage | VerentisTokenRefreshMessage | VerentisNavigateMessage | VerentisResizeMessage | VerentisTitleMessage | VerentisDirtyMessage | VerentisBackendCredentialRequest;
55
123
  type AppSurface = 'file' | 'workspace';
56
124
  interface AppContextBase {
57
125
  workspace: WorkspaceInfo;
58
126
  entryPoint?: EntryPointInfo;
59
127
  apiUrl: string;
128
+ installation?: {
129
+ id: string;
130
+ backendClientId: string;
131
+ authorizationGeneration: string;
132
+ };
60
133
  }
61
134
  /** Context for an application opened against a workspace file. */
62
135
  interface FileAppContext extends AppContextBase {
@@ -89,6 +162,8 @@ interface WorkspaceInfo {
89
162
  name: string;
90
163
  }
91
164
  interface FileInfo {
165
+ nodeId?: string;
166
+ branch?: string;
92
167
  path: string;
93
168
  name: string;
94
169
  mimeType: string;
@@ -945,13 +1020,20 @@ type BridgeListener = (data: HostToAppMessage) => void;
945
1020
  * and app-to-host events (navigate, resize, dirty, etc.).
946
1021
  */
947
1022
  declare class Bridge {
1023
+ private readonly expectedHostOrigin?;
948
1024
  private listeners;
949
1025
  private _initResolve;
1026
+ private _initReject;
1027
+ private _initTimer;
950
1028
  private _initPromise;
951
1029
  private _hostOrigin;
952
1030
  private _messageHandler;
953
1031
  private _destroyed;
954
- constructor();
1032
+ private sessionId;
1033
+ private actions;
1034
+ private requests;
1035
+ private backendRequests;
1036
+ constructor(expectedHostOrigin?: string | undefined);
955
1037
  /** Post `verentis:ready` to the host to start the handshake */
956
1038
  sendReady(capabilities?: string[]): void;
957
1039
  /** Wait for the host to send `verentis:init` with context and token */
@@ -979,6 +1061,11 @@ declare class Bridge {
979
1061
  setTitle(title: string): void;
980
1062
  /** Signal unsaved changes to the host */
981
1063
  setDirty(isDirty: boolean): void;
1064
+ /** The host, not the app, selects the installation, file, branch and permission ceiling. */
1065
+ requestBackendCredential(): Promise<AppBackendCredential>;
1066
+ registerAction(descriptor: HeaderAction, handler: HeaderActionHandler): HeaderActionRegistration;
1067
+ private publishActions;
1068
+ private invokeAction;
982
1069
  /** Subscribe to a specific message type from the host */
983
1070
  on(type: BridgeEventType, listener: BridgeListener): () => void;
984
1071
  /** Clean up event listeners */
@@ -1064,13 +1151,18 @@ declare class TokenAuth implements AuthStrategy {
1064
1151
  * by requesting a new token from the host when nearing expiry.
1065
1152
  */
1066
1153
  declare class BridgeAuth implements AuthStrategy {
1067
- private readonly hostOrigin;
1154
+ private hostOrigin;
1068
1155
  private _token;
1069
1156
  private _expiresAt;
1070
1157
  private _refreshTimer;
1071
1158
  private _pendingRefresh;
1072
1159
  private _messageHandler;
1160
+ private _requestId;
1161
+ private _refreshReject;
1162
+ private _requestTimer;
1163
+ private _destroyed;
1073
1164
  constructor(hostOrigin: string);
1165
+ setHostOrigin(origin: string): void;
1074
1166
  /** Set the initial token received from the host's `verentis:init` message */
1075
1167
  setToken(info: TokenInfo): void;
1076
1168
  getAuthHeader(): Promise<string | null>;
@@ -1080,6 +1172,7 @@ declare class BridgeAuth implements AuthStrategy {
1080
1172
  private requestRefresh;
1081
1173
  private handleMessage;
1082
1174
  private scheduleRefresh;
1175
+ private failRefresh;
1083
1176
  }
1084
1177
 
1085
1178
  /**
@@ -1109,4 +1202,4 @@ declare class BridgeAuth implements AuthStrategy {
1109
1202
  */
1110
1203
  declare function createVerentisClient(options?: VerentisClientOptions): VerentisClient;
1111
1204
 
1112
- export { ApiError, ApiKeyAuth, type AppContext, type AppSurface, type AppToHostMessage, type ApplicationDisplayOptions, type ApplicationEntryPoint, type ApplicationFileType, type ApplicationLaunchConfig, type ApplicationManifest, type ApplicationSpec, type ArchiveFormat, type AuthOptions, type AuthStrategy, Bridge, BridgeAuth, type CatalogImage, ContextModule, type DeleteFileOptions, type EngineFileType, type EngineRuntime, type EngineTool, EnginesModule, type EntryPointInfo, type ExecuteEngineOptions, type Execution, type ExecutionEngine, type ExecutionEngineListOptions, type ExecutionListOptions, type ExecutionLogs, type ExecutionMode, type ExecutionResult, type ExecutionScopedOptions, type ExecutionStatus, type ExecutionTrigger, ExecutionsModule, type ExtractUploadOptions, type FileAppContext, type FileEntry, type FileInfo, FilesModule, type GetFileOptions, type HostToAppMessage, HttpTransport, type Installation, type InstallationDetail, type InstallationLifecycleResult, type InstallationListOptions, type InstallationMode, type InstallationScopedOptions, type InstallationStatus, InstallationsModule, type InstalledPackageDescriptor, type InstalledPackagePayload, type ManifestMetadata, type MimeTypeBinding, type MoveFileOptions, type NamespacedSettings, type NavigateOptions, type OAuthConfig, type PagedResult, type ReadArchiveOptions, type RequestOptions, type ResolveInstallationOptions, type ResourceMimeTypeBinding, type ResourceRegistration, type ResourceScopedOptions, ResourcesModule, type RunFileOptions, type SandboxOptions, type SettingDeclaration, type SettingDeclarationType, type SettingGroup, type SettingItem, type SettingOption, type SettingPresence, SettingsModule, type SettingsScopedOptions, TokenAuth, type TokenInfo, type UpdateInstallationOptions, VerentisClient, type VerentisClientOptions, type VerentisDirtyMessage, type VerentisFileChangedMessage, type VerentisInitMessage, type VerentisMessage, type VerentisNavigateMessage, type VerentisReadyMessage, type VerentisResizeMessage, type VerentisThemeMessage, type VerentisTitleMessage, type VerentisTokenRefreshMessage, type VerentisTokenRefreshedMessage, type WaitOptions, type WorkspaceAppContext, type WorkspaceInfo, type WriteFileOptions, createVerentisClient, findBestMatch, isTerminalStatus, matchMimeType };
1205
+ export { ApiError, ApiKeyAuth, type AppBackendCredential, type AppContext, type AppSurface, type AppToHostMessage, type ApplicationDisplayOptions, type ApplicationEntryPoint, type ApplicationFileType, type ApplicationLaunchConfig, type ApplicationManifest, type ApplicationSpec, type ArchiveFormat, type AuthOptions, type AuthStrategy, Bridge, BridgeAuth, type CatalogImage, ContextModule, type DeleteFileOptions, type EngineFileType, type EngineRuntime, type EngineTool, EnginesModule, type EntryPointInfo, type ExecuteEngineOptions, type Execution, type ExecutionEngine, type ExecutionEngineListOptions, type ExecutionListOptions, type ExecutionLogs, type ExecutionMode, type ExecutionResult, type ExecutionScopedOptions, type ExecutionStatus, type ExecutionTrigger, ExecutionsModule, type ExtractUploadOptions, type FileAppContext, type FileEntry, type FileInfo, FilesModule, type GetFileOptions, type HeaderAction, type HeaderActionHandler, type HeaderActionRegistration, type HeaderActionResult, type HostToAppMessage, HttpTransport, type Installation, type InstallationDetail, type InstallationLifecycleResult, type InstallationListOptions, type InstallationMode, type InstallationScopedOptions, type InstallationStatus, InstallationsModule, type InstalledPackageDescriptor, type InstalledPackagePayload, type ManifestMetadata, type MimeTypeBinding, type MoveFileOptions, type NamespacedSettings, type NavigateOptions, type OAuthConfig, type PagedResult, type ReadArchiveOptions, type RequestOptions, type ResolveInstallationOptions, type ResourceMimeTypeBinding, type ResourceRegistration, type ResourceScopedOptions, ResourcesModule, type RunFileOptions, type SandboxOptions, type SettingDeclaration, type SettingDeclarationType, type SettingGroup, type SettingItem, type SettingOption, type SettingPresence, SettingsModule, type SettingsScopedOptions, TokenAuth, type TokenInfo, type UpdateInstallationOptions, type VerentisActionInvokeMessage, type VerentisActionResultMessage, type VerentisActionsSetMessage, type VerentisBackendCredentialRequest, type VerentisBackendCredentialResponse, VerentisClient, type VerentisClientOptions, type VerentisDirtyMessage, type VerentisFileChangedMessage, type VerentisInitMessage, type VerentisMessage, type VerentisNavigateMessage, type VerentisReadyMessage, type VerentisResizeMessage, type VerentisThemeMessage, type VerentisTitleMessage, type VerentisTokenRefreshMessage, type VerentisTokenRefreshedMessage, type WaitOptions, type WorkspaceAppContext, type WorkspaceInfo, type WriteFileOptions, createVerentisClient, findBestMatch, isHeaderAction, isTerminalStatus, matchMimeType };
package/dist/index.d.ts CHANGED
@@ -1,18 +1,86 @@
1
+ interface HeaderAction {
2
+ id: string;
3
+ label: string;
4
+ icon?: string;
5
+ variant?: 'default' | 'outline' | 'destructive';
6
+ /** Empty for client-only actions; otherwise a subset of the delegated token scopes. */
7
+ scopes: string[];
8
+ enabled?: boolean;
9
+ visible?: boolean;
10
+ busy?: boolean;
11
+ disabledReason?: string;
12
+ /** Clipboard actions return text for the host to copy during its user gesture. */
13
+ kind?: 'clipboard';
14
+ }
15
+ interface HeaderActionResult {
16
+ clipboardText?: string;
17
+ navigate?: {
18
+ path: string;
19
+ newTab?: boolean;
20
+ };
21
+ }
22
+ interface HeaderActionRegistration {
23
+ update(action: HeaderAction): void;
24
+ dispose(): void;
25
+ }
26
+ type HeaderActionHandler = () => void | HeaderActionResult | Promise<void | HeaderActionResult>;
27
+ declare function isHeaderAction(value: unknown): value is HeaderAction;
28
+
1
29
  interface VerentisMessage {
2
30
  type: `verentis:${string}`;
3
31
  version: 1;
4
32
  requestId?: string;
5
33
  }
34
+
6
35
  interface VerentisInitMessage extends VerentisMessage {
7
36
  type: 'verentis:init';
8
37
  context: AppContext;
9
38
  token: TokenInfo;
39
+ sessionId?: string;
40
+ }
41
+ interface VerentisActionsSetMessage extends VerentisMessage {
42
+ type: 'verentis:actions:set';
43
+ sessionId: string;
44
+ actions: HeaderAction[];
45
+ }
46
+ interface VerentisActionInvokeMessage extends VerentisMessage {
47
+ type: 'verentis:action:invoke';
48
+ sessionId: string;
49
+ requestId: string;
50
+ actionId: string;
51
+ }
52
+ interface VerentisActionResultMessage extends VerentisMessage {
53
+ type: 'verentis:action:result';
54
+ sessionId: string;
55
+ requestId: string;
56
+ actionId: string;
57
+ result?: HeaderActionResult;
58
+ error?: string;
10
59
  }
11
60
  interface VerentisTokenRefreshedMessage extends VerentisMessage {
12
61
  type: 'verentis:token:refreshed';
13
62
  requestId: string;
14
63
  token: TokenInfo;
15
64
  }
65
+ /** Single-use credential for the installation's independently registered backend. */
66
+ interface AppBackendCredential {
67
+ delegationId: string;
68
+ backendClientId: string;
69
+ launchCredential: string;
70
+ expiresAt: string;
71
+ }
72
+ interface VerentisBackendCredentialRequest extends VerentisMessage {
73
+ type: 'verentis:backend:request';
74
+ requestId: string;
75
+ sessionId: string;
76
+ }
77
+ interface VerentisBackendCredentialResponse extends VerentisMessage {
78
+ type: 'verentis:backend:response';
79
+ requestId: string;
80
+ sessionId: string;
81
+ credential?: AppBackendCredential;
82
+ error?: string;
83
+ }
16
84
  interface VerentisFileChangedMessage extends VerentisMessage {
17
85
  type: 'verentis:file:changed';
18
86
  path: string;
@@ -50,13 +118,18 @@ interface VerentisDirtyMessage extends VerentisMessage {
50
118
  type: 'verentis:dirty';
51
119
  isDirty: boolean;
52
120
  }
53
- type HostToAppMessage = VerentisInitMessage | VerentisTokenRefreshedMessage | VerentisFileChangedMessage | VerentisThemeMessage;
54
- type AppToHostMessage = VerentisReadyMessage | VerentisTokenRefreshMessage | VerentisNavigateMessage | VerentisResizeMessage | VerentisTitleMessage | VerentisDirtyMessage;
121
+ type HostToAppMessage = VerentisInitMessage | VerentisActionInvokeMessage | VerentisTokenRefreshedMessage | VerentisFileChangedMessage | VerentisThemeMessage | VerentisBackendCredentialResponse;
122
+ type AppToHostMessage = VerentisReadyMessage | VerentisActionsSetMessage | VerentisActionResultMessage | VerentisTokenRefreshMessage | VerentisNavigateMessage | VerentisResizeMessage | VerentisTitleMessage | VerentisDirtyMessage | VerentisBackendCredentialRequest;
55
123
  type AppSurface = 'file' | 'workspace';
56
124
  interface AppContextBase {
57
125
  workspace: WorkspaceInfo;
58
126
  entryPoint?: EntryPointInfo;
59
127
  apiUrl: string;
128
+ installation?: {
129
+ id: string;
130
+ backendClientId: string;
131
+ authorizationGeneration: string;
132
+ };
60
133
  }
61
134
  /** Context for an application opened against a workspace file. */
62
135
  interface FileAppContext extends AppContextBase {
@@ -89,6 +162,8 @@ interface WorkspaceInfo {
89
162
  name: string;
90
163
  }
91
164
  interface FileInfo {
165
+ nodeId?: string;
166
+ branch?: string;
92
167
  path: string;
93
168
  name: string;
94
169
  mimeType: string;
@@ -945,13 +1020,20 @@ type BridgeListener = (data: HostToAppMessage) => void;
945
1020
  * and app-to-host events (navigate, resize, dirty, etc.).
946
1021
  */
947
1022
  declare class Bridge {
1023
+ private readonly expectedHostOrigin?;
948
1024
  private listeners;
949
1025
  private _initResolve;
1026
+ private _initReject;
1027
+ private _initTimer;
950
1028
  private _initPromise;
951
1029
  private _hostOrigin;
952
1030
  private _messageHandler;
953
1031
  private _destroyed;
954
- constructor();
1032
+ private sessionId;
1033
+ private actions;
1034
+ private requests;
1035
+ private backendRequests;
1036
+ constructor(expectedHostOrigin?: string | undefined);
955
1037
  /** Post `verentis:ready` to the host to start the handshake */
956
1038
  sendReady(capabilities?: string[]): void;
957
1039
  /** Wait for the host to send `verentis:init` with context and token */
@@ -979,6 +1061,11 @@ declare class Bridge {
979
1061
  setTitle(title: string): void;
980
1062
  /** Signal unsaved changes to the host */
981
1063
  setDirty(isDirty: boolean): void;
1064
+ /** The host, not the app, selects the installation, file, branch and permission ceiling. */
1065
+ requestBackendCredential(): Promise<AppBackendCredential>;
1066
+ registerAction(descriptor: HeaderAction, handler: HeaderActionHandler): HeaderActionRegistration;
1067
+ private publishActions;
1068
+ private invokeAction;
982
1069
  /** Subscribe to a specific message type from the host */
983
1070
  on(type: BridgeEventType, listener: BridgeListener): () => void;
984
1071
  /** Clean up event listeners */
@@ -1064,13 +1151,18 @@ declare class TokenAuth implements AuthStrategy {
1064
1151
  * by requesting a new token from the host when nearing expiry.
1065
1152
  */
1066
1153
  declare class BridgeAuth implements AuthStrategy {
1067
- private readonly hostOrigin;
1154
+ private hostOrigin;
1068
1155
  private _token;
1069
1156
  private _expiresAt;
1070
1157
  private _refreshTimer;
1071
1158
  private _pendingRefresh;
1072
1159
  private _messageHandler;
1160
+ private _requestId;
1161
+ private _refreshReject;
1162
+ private _requestTimer;
1163
+ private _destroyed;
1073
1164
  constructor(hostOrigin: string);
1165
+ setHostOrigin(origin: string): void;
1074
1166
  /** Set the initial token received from the host's `verentis:init` message */
1075
1167
  setToken(info: TokenInfo): void;
1076
1168
  getAuthHeader(): Promise<string | null>;
@@ -1080,6 +1172,7 @@ declare class BridgeAuth implements AuthStrategy {
1080
1172
  private requestRefresh;
1081
1173
  private handleMessage;
1082
1174
  private scheduleRefresh;
1175
+ private failRefresh;
1083
1176
  }
1084
1177
 
1085
1178
  /**
@@ -1109,4 +1202,4 @@ declare class BridgeAuth implements AuthStrategy {
1109
1202
  */
1110
1203
  declare function createVerentisClient(options?: VerentisClientOptions): VerentisClient;
1111
1204
 
1112
- export { ApiError, ApiKeyAuth, type AppContext, type AppSurface, type AppToHostMessage, type ApplicationDisplayOptions, type ApplicationEntryPoint, type ApplicationFileType, type ApplicationLaunchConfig, type ApplicationManifest, type ApplicationSpec, type ArchiveFormat, type AuthOptions, type AuthStrategy, Bridge, BridgeAuth, type CatalogImage, ContextModule, type DeleteFileOptions, type EngineFileType, type EngineRuntime, type EngineTool, EnginesModule, type EntryPointInfo, type ExecuteEngineOptions, type Execution, type ExecutionEngine, type ExecutionEngineListOptions, type ExecutionListOptions, type ExecutionLogs, type ExecutionMode, type ExecutionResult, type ExecutionScopedOptions, type ExecutionStatus, type ExecutionTrigger, ExecutionsModule, type ExtractUploadOptions, type FileAppContext, type FileEntry, type FileInfo, FilesModule, type GetFileOptions, type HostToAppMessage, HttpTransport, type Installation, type InstallationDetail, type InstallationLifecycleResult, type InstallationListOptions, type InstallationMode, type InstallationScopedOptions, type InstallationStatus, InstallationsModule, type InstalledPackageDescriptor, type InstalledPackagePayload, type ManifestMetadata, type MimeTypeBinding, type MoveFileOptions, type NamespacedSettings, type NavigateOptions, type OAuthConfig, type PagedResult, type ReadArchiveOptions, type RequestOptions, type ResolveInstallationOptions, type ResourceMimeTypeBinding, type ResourceRegistration, type ResourceScopedOptions, ResourcesModule, type RunFileOptions, type SandboxOptions, type SettingDeclaration, type SettingDeclarationType, type SettingGroup, type SettingItem, type SettingOption, type SettingPresence, SettingsModule, type SettingsScopedOptions, TokenAuth, type TokenInfo, type UpdateInstallationOptions, VerentisClient, type VerentisClientOptions, type VerentisDirtyMessage, type VerentisFileChangedMessage, type VerentisInitMessage, type VerentisMessage, type VerentisNavigateMessage, type VerentisReadyMessage, type VerentisResizeMessage, type VerentisThemeMessage, type VerentisTitleMessage, type VerentisTokenRefreshMessage, type VerentisTokenRefreshedMessage, type WaitOptions, type WorkspaceAppContext, type WorkspaceInfo, type WriteFileOptions, createVerentisClient, findBestMatch, isTerminalStatus, matchMimeType };
1205
+ export { ApiError, ApiKeyAuth, type AppBackendCredential, type AppContext, type AppSurface, type AppToHostMessage, type ApplicationDisplayOptions, type ApplicationEntryPoint, type ApplicationFileType, type ApplicationLaunchConfig, type ApplicationManifest, type ApplicationSpec, type ArchiveFormat, type AuthOptions, type AuthStrategy, Bridge, BridgeAuth, type CatalogImage, ContextModule, type DeleteFileOptions, type EngineFileType, type EngineRuntime, type EngineTool, EnginesModule, type EntryPointInfo, type ExecuteEngineOptions, type Execution, type ExecutionEngine, type ExecutionEngineListOptions, type ExecutionListOptions, type ExecutionLogs, type ExecutionMode, type ExecutionResult, type ExecutionScopedOptions, type ExecutionStatus, type ExecutionTrigger, ExecutionsModule, type ExtractUploadOptions, type FileAppContext, type FileEntry, type FileInfo, FilesModule, type GetFileOptions, type HeaderAction, type HeaderActionHandler, type HeaderActionRegistration, type HeaderActionResult, type HostToAppMessage, HttpTransport, type Installation, type InstallationDetail, type InstallationLifecycleResult, type InstallationListOptions, type InstallationMode, type InstallationScopedOptions, type InstallationStatus, InstallationsModule, type InstalledPackageDescriptor, type InstalledPackagePayload, type ManifestMetadata, type MimeTypeBinding, type MoveFileOptions, type NamespacedSettings, type NavigateOptions, type OAuthConfig, type PagedResult, type ReadArchiveOptions, type RequestOptions, type ResolveInstallationOptions, type ResourceMimeTypeBinding, type ResourceRegistration, type ResourceScopedOptions, ResourcesModule, type RunFileOptions, type SandboxOptions, type SettingDeclaration, type SettingDeclarationType, type SettingGroup, type SettingItem, type SettingOption, type SettingPresence, SettingsModule, type SettingsScopedOptions, TokenAuth, type TokenInfo, type UpdateInstallationOptions, type VerentisActionInvokeMessage, type VerentisActionResultMessage, type VerentisActionsSetMessage, type VerentisBackendCredentialRequest, type VerentisBackendCredentialResponse, VerentisClient, type VerentisClientOptions, type VerentisDirtyMessage, type VerentisFileChangedMessage, type VerentisInitMessage, type VerentisMessage, type VerentisNavigateMessage, type VerentisReadyMessage, type VerentisResizeMessage, type VerentisThemeMessage, type VerentisTitleMessage, type VerentisTokenRefreshMessage, type VerentisTokenRefreshedMessage, type WaitOptions, type WorkspaceAppContext, type WorkspaceInfo, type WriteFileOptions, createVerentisClient, findBestMatch, isHeaderAction, isTerminalStatus, matchMimeType };