@haex-space/vault-sdk 4.10.0 → 5.0.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.
package/README.md CHANGED
@@ -1125,7 +1125,8 @@ bundle. A damaged entry fails with `HostErrorCode.ENCRYPTED_DATA_DAMAGED` (3010)
1125
1125
  Jobs on the host's language and vision models, instead of bringing your own access and keys. You
1126
1126
  describe each step with its instruction, its input (text, images, or a part of an earlier step's
1127
1127
  result) and the format of its answer as a JSON Schema; the host picks a model the user allowed for
1128
- your extension, caps the effort and returns only a result that fits the format. Broken output (empty,
1128
+ your extension, runs it with the effort the user chose for that model and returns only a result that
1129
+ fits the format. Broken output (empty,
1129
1130
  a loop, a script switch, invalid JSON) is dropped, and the host tries the next allowed model.
1130
1131
 
1131
1132
  ```ts
@@ -1145,7 +1146,6 @@ const end = await client.models.runAsync({
1145
1146
  properties: { text: { type: "string" } },
1146
1147
  },
1147
1148
  },
1148
- effort: "low",
1149
1149
  },
1150
1150
  ],
1151
1151
  });
@@ -1153,7 +1153,8 @@ if (end.status === "completed") console.log(end.result?.final, end.provenance);
1153
1153
  else console.warn(end.error?.code, end.error?.message);
1154
1154
  ```
1155
1155
 
1156
- The user decides at run time which model your extension may use and up to which effort, and gives
1156
+ The user decides at run time which model your extension may use and with which effort (from the
1157
+ levels the model has; your extension names none, and the host refuses a step that does), and gives
1157
1158
  consent before anything goes to a destination outside the device; the SDK waits for these answers
1158
1159
  and starts the job again. `models.listAsync()` names the allowed models with their place and
1159
1160
  capabilities, never an address or a key. To let the user stop a job, pass a signal:
@@ -1166,7 +1167,7 @@ separately. A job has no tools and sees only the input you send.
1166
1167
 
1167
1168
  The choice of models stays with the user in the host; your extension shows no model picker of its
1168
1169
  own. To ask before the first job, for example when your extension opens for the first time, call
1169
- `models.requestAccessAsync({ needs: ["text", "image"], effort: "low" })`: it resolves with the
1170
+ `models.requestAccessAsync({ needs: ["text", "image"] })`: it resolves with the
1170
1171
  allowed models that fit, or the host asks the user as it would for a job. It rejects with
1171
1172
  `no_capable_model` when no model of the host fits; offer `models.openSettingsAsync()` then, which
1172
1173
  opens the host's page of your extension's models. Nothing is sent to a model, and consent for a
@@ -1682,8 +1682,12 @@ declare class ContactsAPI {
1682
1682
  */
1683
1683
  /** Where a model runs. Outside this device the user consents before anything is sent. */
1684
1684
  type ModelPlace = "this_device" | "network" | "cloud";
1685
- /** The effort a step wishes for; the host caps it at what the user allowed. */
1686
- type ModelEffort = "none" | "low" | "medium" | "high";
1685
+ /**
1686
+ * The effort a model runs with. The user chooses it per model in the host, from the levels the model
1687
+ * has; an extension names none and the host refuses a step that does. The provenance names the one
1688
+ * that was used.
1689
+ */
1690
+ type ModelEffort = "none" | "low" | "medium" | "high" | "xhigh" | "max";
1687
1691
  /** A model the user allowed to this extension. */
1688
1692
  interface ExtensionModel {
1689
1693
  /** The host's model id, only to show and recognise it. */
@@ -1694,17 +1698,15 @@ interface ExtensionModel {
1694
1698
  place: ModelPlace;
1695
1699
  capabilities: {
1696
1700
  image: boolean;
1697
- /** `levels`: low, medium and high take effect; `managed`: the model decides itself. */
1701
+ /** `none`: no choice; `managed`: the model decides; `levels`: the model offers named levels. */
1698
1702
  effort: "none" | "managed" | "levels";
1699
1703
  };
1700
- /** The highest effort the user allowed. */
1704
+ /** The effort the user chose for this model (the name is from an earlier version). */
1701
1705
  maxEffort: ModelEffort;
1702
1706
  }
1703
1707
  /** What a job of the extension will need, to ask for a grant before it (holzi spec 055 US9). */
1704
1708
  interface ModelAccessRequest {
1705
1709
  needs: ("text" | "image")[];
1706
- /** The effort the extension wishes for; the user chooses the ceiling. */
1707
- effort?: ModelEffort;
1708
1710
  }
1709
1711
  /** An image as Base64, at most 25 MiB raw; at most 8 per job. */
1710
1712
  interface ModelJobImage {
@@ -1734,7 +1736,6 @@ interface ModelJobStep {
1734
1736
  };
1735
1737
  };
1736
1738
  format: ModelJobFormat;
1737
- effort?: ModelEffort;
1738
1739
  /** Up to the host's limit (default 4096, at most 16384). */
1739
1740
  maxOutputTokens?: number;
1740
1741
  }
@@ -1781,10 +1782,11 @@ interface ModelJobCompletion {
1781
1782
  /**
1782
1783
  * Jobs on the host's language and vision models (holzi spec 055), instead of bringing own access
1783
1784
  * and keys. The extension describes each step with its instruction, input and the format of the
1784
- * answer; the host picks a model the user allowed for this extension, caps the effort, drops
1785
- * broken output and returns only a result that fits the format.
1785
+ * answer; the host picks a model the user allowed for this extension, runs it with the effort the
1786
+ * user chose for it (an extension names none), drops broken output and returns only a result that
1787
+ * fits the format.
1786
1788
  *
1787
- * The user decides at run time: the first job asks which model the extension may use and up to
1789
+ * The user decides at run time: the first job asks which model the extension may use and with
1788
1790
  * which effort, and before data goes to a destination outside this device it asks for consent.
1789
1791
  * The SDK waits for these answers and starts the job again, like for every other permission. The
1790
1792
  * choice stays with the host: {@link requestAccessAsync} asks before the first job, and
@@ -1682,8 +1682,12 @@ declare class ContactsAPI {
1682
1682
  */
1683
1683
  /** Where a model runs. Outside this device the user consents before anything is sent. */
1684
1684
  type ModelPlace = "this_device" | "network" | "cloud";
1685
- /** The effort a step wishes for; the host caps it at what the user allowed. */
1686
- type ModelEffort = "none" | "low" | "medium" | "high";
1685
+ /**
1686
+ * The effort a model runs with. The user chooses it per model in the host, from the levels the model
1687
+ * has; an extension names none and the host refuses a step that does. The provenance names the one
1688
+ * that was used.
1689
+ */
1690
+ type ModelEffort = "none" | "low" | "medium" | "high" | "xhigh" | "max";
1687
1691
  /** A model the user allowed to this extension. */
1688
1692
  interface ExtensionModel {
1689
1693
  /** The host's model id, only to show and recognise it. */
@@ -1694,17 +1698,15 @@ interface ExtensionModel {
1694
1698
  place: ModelPlace;
1695
1699
  capabilities: {
1696
1700
  image: boolean;
1697
- /** `levels`: low, medium and high take effect; `managed`: the model decides itself. */
1701
+ /** `none`: no choice; `managed`: the model decides; `levels`: the model offers named levels. */
1698
1702
  effort: "none" | "managed" | "levels";
1699
1703
  };
1700
- /** The highest effort the user allowed. */
1704
+ /** The effort the user chose for this model (the name is from an earlier version). */
1701
1705
  maxEffort: ModelEffort;
1702
1706
  }
1703
1707
  /** What a job of the extension will need, to ask for a grant before it (holzi spec 055 US9). */
1704
1708
  interface ModelAccessRequest {
1705
1709
  needs: ("text" | "image")[];
1706
- /** The effort the extension wishes for; the user chooses the ceiling. */
1707
- effort?: ModelEffort;
1708
1710
  }
1709
1711
  /** An image as Base64, at most 25 MiB raw; at most 8 per job. */
1710
1712
  interface ModelJobImage {
@@ -1734,7 +1736,6 @@ interface ModelJobStep {
1734
1736
  };
1735
1737
  };
1736
1738
  format: ModelJobFormat;
1737
- effort?: ModelEffort;
1738
1739
  /** Up to the host's limit (default 4096, at most 16384). */
1739
1740
  maxOutputTokens?: number;
1740
1741
  }
@@ -1781,10 +1782,11 @@ interface ModelJobCompletion {
1781
1782
  /**
1782
1783
  * Jobs on the host's language and vision models (holzi spec 055), instead of bringing own access
1783
1784
  * and keys. The extension describes each step with its instruction, input and the format of the
1784
- * answer; the host picks a model the user allowed for this extension, caps the effort, drops
1785
- * broken output and returns only a result that fits the format.
1785
+ * answer; the host picks a model the user allowed for this extension, runs it with the effort the
1786
+ * user chose for it (an extension names none), drops broken output and returns only a result that
1787
+ * fits the format.
1786
1788
  *
1787
- * The user decides at run time: the first job asks which model the extension may use and up to
1789
+ * The user decides at run time: the first job asks which model the extension may use and with
1788
1790
  * which effort, and before data goes to a destination outside this device it asks for consent.
1789
1791
  * The SDK waits for these answers and starts the job again, like for every other permission. The
1790
1792
  * choice stays with the host: {@link requestAccessAsync} asks before the first job, and
package/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- import { H as HaexVaultSdk } from './client-DTxLSJrk.mjs';
2
- export { A as AuthorizedClient, B as BlockedClient, C as ConfirmOptions, a as ConnectionSecurity, b as ContactDetail, c as ContactHolziAddresses, d as ContactHolziDevice, e as ContactList, f as ContactListOptions, g as ContactSummary, h as ContactValue, i as ContactsAPI, D as DatabaseAPI, j as DecryptedSpace, k as DeepLink, l as Device, m as DeviceInfo, n as DeviceType, o as DialogAPI, p as DirEntry, E as EncryptedFolderAccess, q as EncryptedFolderChoice, r as EncryptedFolderEntry, s as EncryptedFolderProviderErrorKind, t as EncryptedFoldersAPI, u as ExtensionModel, v as ExternalAuthDecision, w as ExternalConnection, x as ExternalConnectionErrorCode, y as ExternalConnectionState, z as ExternalRequest, F as ExternalRequestEvent, G as ExternalRequestHandler, I as ExternalRequestPayload, J as ExternalResponse, K as FileStat, L as FilesystemAPI, M as ImapConfig, N as KnownPath, O as KnownPaths, P as LOCALSEND_EVENTS, Q as LocalSendAPI, R as LocalSendEvent, T as LocalSendFileInfo, U as LocalSendSettings, V as MailAPI, W as MailAccount, X as MailAddress, Y as MailAttachment, Z as MailFetchRange, _ as MailMessage, $ as MailNewMessagesEvent, a0 as MailSearchCriteria, a1 as MailSearchResult, a2 as MailboxInfo, a3 as MessageEnvelope, a4 as ModelAccessRequest, a5 as ModelEffort, a6 as ModelJob, a7 as ModelJobAttempt, a8 as ModelJobCompletion, a9 as ModelJobErrorCode, aa as ModelJobFormat, ab as ModelJobImage, ac as ModelJobProvenance, ad as ModelJobStep, ae as ModelPlace, af as ModelsAPI, ag as NotificationAction, ah as NotificationClickEvent, ai as NotificationOptions, aj as NotificationsAPI, ak as OutgoingAttachment, al as OutgoingMessage, am as PEER_ERROR_KINDS, an as PasswordInput, ao as PasswordItemFull, ap as PasswordItemSummary, aq as PasswordKeyValue, ar as PasswordKeyValueInput, as as PasswordsAPI, at as PeerChannelClosed, au as PeerChannelOpened, av as PeerError, aw as PeerErrorKind, ax as PeerErrorReason, ay as PeerEventMap, az as PeerEventType, aA as PeerInviteStatus, aB as PeerJoined, aC as PeerMessage, aD as PeerVisibility, aE as PeersAPI, aF as PendingAuthorization, aG as PendingTransfer, aH as PermissionsAPI, aI as RemoteAddBackendRequest, aJ as RemoteFolderBackendInfo, aK as RemoteS3BackendInfo, aL as RemoteS3Config, aM as RemoteS3Proposal, aN as RemoteS3PublicConfig, aO as RemoteSftpProposal, aP as RemoteStorageAPI, aQ as RemoteStorageBackendInfo, aR as RemoteStorageBackendType, aS as RemoteStorageObjectInfo, aT as RemoteUpdateBackendRequest, aU as RemoteWebDavProposal, aV as RequestedExtension, aW as SelectFileOptions, aX as SelectFolderOptions, aY as ServerInfo, aZ as ServerStatus, a_ as SessionAuthorization, a$ as SharedSpace, b0 as ShellAPI, b1 as ShellCreateOptions, b2 as ShellCreateResponse, b3 as ShellExitEvent, b4 as ShellOutputEvent, b5 as SmtpConfig, b6 as SpaceAccessTokenInfo, b7 as SpaceAssignment, b8 as SpaceInvite, b9 as SpaceKeyGrantInfo, ba as SpaceMember, bb as SpaceMemberInfo, bc as SpacesAPI, bd as SyncBackendInfo, be as TabAPI, bf as ToolContext, bg as ToolHandler, bh as ToolsAPI, bi as TransferDirection, bj as TransferProgress, bk as TransferState, bl as WebAPI, bm as canExternalClientSendRequests, bn as isExternalClientConnected } from './client-DTxLSJrk.mjs';
1
+ import { H as HaexVaultSdk } from './client-DXHXxcgw.mjs';
2
+ export { A as AuthorizedClient, B as BlockedClient, C as ConfirmOptions, a as ConnectionSecurity, b as ContactDetail, c as ContactHolziAddresses, d as ContactHolziDevice, e as ContactList, f as ContactListOptions, g as ContactSummary, h as ContactValue, i as ContactsAPI, D as DatabaseAPI, j as DecryptedSpace, k as DeepLink, l as Device, m as DeviceInfo, n as DeviceType, o as DialogAPI, p as DirEntry, E as EncryptedFolderAccess, q as EncryptedFolderChoice, r as EncryptedFolderEntry, s as EncryptedFolderProviderErrorKind, t as EncryptedFoldersAPI, u as ExtensionModel, v as ExternalAuthDecision, w as ExternalConnection, x as ExternalConnectionErrorCode, y as ExternalConnectionState, z as ExternalRequest, F as ExternalRequestEvent, G as ExternalRequestHandler, I as ExternalRequestPayload, J as ExternalResponse, K as FileStat, L as FilesystemAPI, M as ImapConfig, N as KnownPath, O as KnownPaths, P as LOCALSEND_EVENTS, Q as LocalSendAPI, R as LocalSendEvent, T as LocalSendFileInfo, U as LocalSendSettings, V as MailAPI, W as MailAccount, X as MailAddress, Y as MailAttachment, Z as MailFetchRange, _ as MailMessage, $ as MailNewMessagesEvent, a0 as MailSearchCriteria, a1 as MailSearchResult, a2 as MailboxInfo, a3 as MessageEnvelope, a4 as ModelAccessRequest, a5 as ModelEffort, a6 as ModelJob, a7 as ModelJobAttempt, a8 as ModelJobCompletion, a9 as ModelJobErrorCode, aa as ModelJobFormat, ab as ModelJobImage, ac as ModelJobProvenance, ad as ModelJobStep, ae as ModelPlace, af as ModelsAPI, ag as NotificationAction, ah as NotificationClickEvent, ai as NotificationOptions, aj as NotificationsAPI, ak as OutgoingAttachment, al as OutgoingMessage, am as PEER_ERROR_KINDS, an as PasswordInput, ao as PasswordItemFull, ap as PasswordItemSummary, aq as PasswordKeyValue, ar as PasswordKeyValueInput, as as PasswordsAPI, at as PeerChannelClosed, au as PeerChannelOpened, av as PeerError, aw as PeerErrorKind, ax as PeerErrorReason, ay as PeerEventMap, az as PeerEventType, aA as PeerInviteStatus, aB as PeerJoined, aC as PeerMessage, aD as PeerVisibility, aE as PeersAPI, aF as PendingAuthorization, aG as PendingTransfer, aH as PermissionsAPI, aI as RemoteAddBackendRequest, aJ as RemoteFolderBackendInfo, aK as RemoteS3BackendInfo, aL as RemoteS3Config, aM as RemoteS3Proposal, aN as RemoteS3PublicConfig, aO as RemoteSftpProposal, aP as RemoteStorageAPI, aQ as RemoteStorageBackendInfo, aR as RemoteStorageBackendType, aS as RemoteStorageObjectInfo, aT as RemoteUpdateBackendRequest, aU as RemoteWebDavProposal, aV as RequestedExtension, aW as SelectFileOptions, aX as SelectFolderOptions, aY as ServerInfo, aZ as ServerStatus, a_ as SessionAuthorization, a$ as SharedSpace, b0 as ShellAPI, b1 as ShellCreateOptions, b2 as ShellCreateResponse, b3 as ShellExitEvent, b4 as ShellOutputEvent, b5 as SmtpConfig, b6 as SpaceAccessTokenInfo, b7 as SpaceAssignment, b8 as SpaceInvite, b9 as SpaceKeyGrantInfo, ba as SpaceMember, bb as SpaceMemberInfo, bc as SpacesAPI, bd as SyncBackendInfo, be as TabAPI, bf as ToolContext, bg as ToolHandler, bh as ToolsAPI, bi as TransferDirection, bj as TransferProgress, bk as TransferState, bl as WebAPI, bm as canExternalClientSendRequests, bn as isExternalClientConnected } from './client-DXHXxcgw.mjs';
3
3
  import { h as SignedClaimPresentation, H as HaexHubConfig } from './types-BZVkX0Wf.mjs';
4
4
  export { A as ApplicationContext, C as ClaimRequirement, i as ContextChangedEvent, j as DEFAULT_TIMEOUT, k as DatabaseColumnInfo, l as DatabaseExecuteParams, m as DatabasePermission, g as DatabasePermissionRequest, n as DatabaseQueryParams, D as DatabaseQueryResult, o as DatabaseTableInfo, c as EXTERNAL_EVENTS, p as ErrorCode, f as EventCallback, E as ExtensionInfo, a as ExtensionManifest, q as ExtensionRuntimeMode, r as ExternalEvent, F as FileChangeEvent, s as FileChangePayload, t as FileChangeType, u as FilteredSyncTablesResult, v as HAEXTENSION_EVENTS, b as HaexHubEvent, w as HaexHubRequest, x as HaexHubResponse, y as HaexVaultSdkError, z as HaextensionEvent, B as HostErrorCode, I as IdentityClaim, G as MAIL_EVENTS, J as MODEL_JOB_EVENTS, K as MailEvent, L as ManifestI18nEntry, N as ManifestTool, O as ManifestToolEffect, Q as ModelJobEvent, T as NOTIFICATION_EVENTS, U as NotificationEvent, V as PEERS_EVENTS, X as PeersEvent, Y as PermissionDeniedError, Z as PermissionErrorBase, _ as PermissionErrorCode, $ as PermissionPromptError, P as PermissionResponse, a0 as PermissionStatus, R as RequestOptions, a1 as SHELL_EVENTS, a2 as SearchQuery, a3 as SearchRequestEvent, S as SearchResult, a4 as ShellEvent, a5 as SyncTablesUpdatedEvent, a6 as TABLE_SEPARATOR, W as WebRequestOptions, e as WebResponse, a7 as getTableName, a8 as isPermissionDeniedError, a9 as isPermissionError, aa as isPermissionPromptError } from './types-BZVkX0Wf.mjs';
5
5
  export { H as HaextensionConfig } from './config-P_6DqTHl.mjs';
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { H as HaexVaultSdk } from './client-s0eCQoWA.js';
2
- export { A as AuthorizedClient, B as BlockedClient, C as ConfirmOptions, a as ConnectionSecurity, b as ContactDetail, c as ContactHolziAddresses, d as ContactHolziDevice, e as ContactList, f as ContactListOptions, g as ContactSummary, h as ContactValue, i as ContactsAPI, D as DatabaseAPI, j as DecryptedSpace, k as DeepLink, l as Device, m as DeviceInfo, n as DeviceType, o as DialogAPI, p as DirEntry, E as EncryptedFolderAccess, q as EncryptedFolderChoice, r as EncryptedFolderEntry, s as EncryptedFolderProviderErrorKind, t as EncryptedFoldersAPI, u as ExtensionModel, v as ExternalAuthDecision, w as ExternalConnection, x as ExternalConnectionErrorCode, y as ExternalConnectionState, z as ExternalRequest, F as ExternalRequestEvent, G as ExternalRequestHandler, I as ExternalRequestPayload, J as ExternalResponse, K as FileStat, L as FilesystemAPI, M as ImapConfig, N as KnownPath, O as KnownPaths, P as LOCALSEND_EVENTS, Q as LocalSendAPI, R as LocalSendEvent, T as LocalSendFileInfo, U as LocalSendSettings, V as MailAPI, W as MailAccount, X as MailAddress, Y as MailAttachment, Z as MailFetchRange, _ as MailMessage, $ as MailNewMessagesEvent, a0 as MailSearchCriteria, a1 as MailSearchResult, a2 as MailboxInfo, a3 as MessageEnvelope, a4 as ModelAccessRequest, a5 as ModelEffort, a6 as ModelJob, a7 as ModelJobAttempt, a8 as ModelJobCompletion, a9 as ModelJobErrorCode, aa as ModelJobFormat, ab as ModelJobImage, ac as ModelJobProvenance, ad as ModelJobStep, ae as ModelPlace, af as ModelsAPI, ag as NotificationAction, ah as NotificationClickEvent, ai as NotificationOptions, aj as NotificationsAPI, ak as OutgoingAttachment, al as OutgoingMessage, am as PEER_ERROR_KINDS, an as PasswordInput, ao as PasswordItemFull, ap as PasswordItemSummary, aq as PasswordKeyValue, ar as PasswordKeyValueInput, as as PasswordsAPI, at as PeerChannelClosed, au as PeerChannelOpened, av as PeerError, aw as PeerErrorKind, ax as PeerErrorReason, ay as PeerEventMap, az as PeerEventType, aA as PeerInviteStatus, aB as PeerJoined, aC as PeerMessage, aD as PeerVisibility, aE as PeersAPI, aF as PendingAuthorization, aG as PendingTransfer, aH as PermissionsAPI, aI as RemoteAddBackendRequest, aJ as RemoteFolderBackendInfo, aK as RemoteS3BackendInfo, aL as RemoteS3Config, aM as RemoteS3Proposal, aN as RemoteS3PublicConfig, aO as RemoteSftpProposal, aP as RemoteStorageAPI, aQ as RemoteStorageBackendInfo, aR as RemoteStorageBackendType, aS as RemoteStorageObjectInfo, aT as RemoteUpdateBackendRequest, aU as RemoteWebDavProposal, aV as RequestedExtension, aW as SelectFileOptions, aX as SelectFolderOptions, aY as ServerInfo, aZ as ServerStatus, a_ as SessionAuthorization, a$ as SharedSpace, b0 as ShellAPI, b1 as ShellCreateOptions, b2 as ShellCreateResponse, b3 as ShellExitEvent, b4 as ShellOutputEvent, b5 as SmtpConfig, b6 as SpaceAccessTokenInfo, b7 as SpaceAssignment, b8 as SpaceInvite, b9 as SpaceKeyGrantInfo, ba as SpaceMember, bb as SpaceMemberInfo, bc as SpacesAPI, bd as SyncBackendInfo, be as TabAPI, bf as ToolContext, bg as ToolHandler, bh as ToolsAPI, bi as TransferDirection, bj as TransferProgress, bk as TransferState, bl as WebAPI, bm as canExternalClientSendRequests, bn as isExternalClientConnected } from './client-s0eCQoWA.js';
1
+ import { H as HaexVaultSdk } from './client-EtzmMEnK.js';
2
+ export { A as AuthorizedClient, B as BlockedClient, C as ConfirmOptions, a as ConnectionSecurity, b as ContactDetail, c as ContactHolziAddresses, d as ContactHolziDevice, e as ContactList, f as ContactListOptions, g as ContactSummary, h as ContactValue, i as ContactsAPI, D as DatabaseAPI, j as DecryptedSpace, k as DeepLink, l as Device, m as DeviceInfo, n as DeviceType, o as DialogAPI, p as DirEntry, E as EncryptedFolderAccess, q as EncryptedFolderChoice, r as EncryptedFolderEntry, s as EncryptedFolderProviderErrorKind, t as EncryptedFoldersAPI, u as ExtensionModel, v as ExternalAuthDecision, w as ExternalConnection, x as ExternalConnectionErrorCode, y as ExternalConnectionState, z as ExternalRequest, F as ExternalRequestEvent, G as ExternalRequestHandler, I as ExternalRequestPayload, J as ExternalResponse, K as FileStat, L as FilesystemAPI, M as ImapConfig, N as KnownPath, O as KnownPaths, P as LOCALSEND_EVENTS, Q as LocalSendAPI, R as LocalSendEvent, T as LocalSendFileInfo, U as LocalSendSettings, V as MailAPI, W as MailAccount, X as MailAddress, Y as MailAttachment, Z as MailFetchRange, _ as MailMessage, $ as MailNewMessagesEvent, a0 as MailSearchCriteria, a1 as MailSearchResult, a2 as MailboxInfo, a3 as MessageEnvelope, a4 as ModelAccessRequest, a5 as ModelEffort, a6 as ModelJob, a7 as ModelJobAttempt, a8 as ModelJobCompletion, a9 as ModelJobErrorCode, aa as ModelJobFormat, ab as ModelJobImage, ac as ModelJobProvenance, ad as ModelJobStep, ae as ModelPlace, af as ModelsAPI, ag as NotificationAction, ah as NotificationClickEvent, ai as NotificationOptions, aj as NotificationsAPI, ak as OutgoingAttachment, al as OutgoingMessage, am as PEER_ERROR_KINDS, an as PasswordInput, ao as PasswordItemFull, ap as PasswordItemSummary, aq as PasswordKeyValue, ar as PasswordKeyValueInput, as as PasswordsAPI, at as PeerChannelClosed, au as PeerChannelOpened, av as PeerError, aw as PeerErrorKind, ax as PeerErrorReason, ay as PeerEventMap, az as PeerEventType, aA as PeerInviteStatus, aB as PeerJoined, aC as PeerMessage, aD as PeerVisibility, aE as PeersAPI, aF as PendingAuthorization, aG as PendingTransfer, aH as PermissionsAPI, aI as RemoteAddBackendRequest, aJ as RemoteFolderBackendInfo, aK as RemoteS3BackendInfo, aL as RemoteS3Config, aM as RemoteS3Proposal, aN as RemoteS3PublicConfig, aO as RemoteSftpProposal, aP as RemoteStorageAPI, aQ as RemoteStorageBackendInfo, aR as RemoteStorageBackendType, aS as RemoteStorageObjectInfo, aT as RemoteUpdateBackendRequest, aU as RemoteWebDavProposal, aV as RequestedExtension, aW as SelectFileOptions, aX as SelectFolderOptions, aY as ServerInfo, aZ as ServerStatus, a_ as SessionAuthorization, a$ as SharedSpace, b0 as ShellAPI, b1 as ShellCreateOptions, b2 as ShellCreateResponse, b3 as ShellExitEvent, b4 as ShellOutputEvent, b5 as SmtpConfig, b6 as SpaceAccessTokenInfo, b7 as SpaceAssignment, b8 as SpaceInvite, b9 as SpaceKeyGrantInfo, ba as SpaceMember, bb as SpaceMemberInfo, bc as SpacesAPI, bd as SyncBackendInfo, be as TabAPI, bf as ToolContext, bg as ToolHandler, bh as ToolsAPI, bi as TransferDirection, bj as TransferProgress, bk as TransferState, bl as WebAPI, bm as canExternalClientSendRequests, bn as isExternalClientConnected } from './client-EtzmMEnK.js';
3
3
  import { h as SignedClaimPresentation, H as HaexHubConfig } from './types-BZVkX0Wf.js';
4
4
  export { A as ApplicationContext, C as ClaimRequirement, i as ContextChangedEvent, j as DEFAULT_TIMEOUT, k as DatabaseColumnInfo, l as DatabaseExecuteParams, m as DatabasePermission, g as DatabasePermissionRequest, n as DatabaseQueryParams, D as DatabaseQueryResult, o as DatabaseTableInfo, c as EXTERNAL_EVENTS, p as ErrorCode, f as EventCallback, E as ExtensionInfo, a as ExtensionManifest, q as ExtensionRuntimeMode, r as ExternalEvent, F as FileChangeEvent, s as FileChangePayload, t as FileChangeType, u as FilteredSyncTablesResult, v as HAEXTENSION_EVENTS, b as HaexHubEvent, w as HaexHubRequest, x as HaexHubResponse, y as HaexVaultSdkError, z as HaextensionEvent, B as HostErrorCode, I as IdentityClaim, G as MAIL_EVENTS, J as MODEL_JOB_EVENTS, K as MailEvent, L as ManifestI18nEntry, N as ManifestTool, O as ManifestToolEffect, Q as ModelJobEvent, T as NOTIFICATION_EVENTS, U as NotificationEvent, V as PEERS_EVENTS, X as PeersEvent, Y as PermissionDeniedError, Z as PermissionErrorBase, _ as PermissionErrorCode, $ as PermissionPromptError, P as PermissionResponse, a0 as PermissionStatus, R as RequestOptions, a1 as SHELL_EVENTS, a2 as SearchQuery, a3 as SearchRequestEvent, S as SearchResult, a4 as ShellEvent, a5 as SyncTablesUpdatedEvent, a6 as TABLE_SEPARATOR, W as WebRequestOptions, e as WebResponse, a7 as getTableName, a8 as isPermissionDeniedError, a9 as isPermissionError, aa as isPermissionPromptError } from './types-BZVkX0Wf.js';
5
5
  export { H as HaextensionConfig } from './config-P_6DqTHl.js';