@haex-space/vault-sdk 2.6.4 → 2.6.5
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/{client-Cgt1hI4U.d.mts → client-B1X-GsnG.d.mts} +9 -0
- package/dist/{client-BW9GSwtY.d.ts → client-BzH5VGzL.d.ts} +9 -0
- package/dist/index.d.mts +5 -2
- package/dist/index.d.ts +5 -2
- package/dist/index.js +9 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9 -0
- package/dist/index.mjs.map +1 -1
- package/dist/react.d.mts +1 -1
- package/dist/react.d.ts +1 -1
- package/dist/react.js +9 -0
- package/dist/react.js.map +1 -1
- package/dist/react.mjs +9 -0
- package/dist/react.mjs.map +1 -1
- package/dist/runtime/nuxt.plugin.client.d.mts +1 -1
- package/dist/runtime/nuxt.plugin.client.d.ts +1 -1
- package/dist/runtime/nuxt.plugin.client.js +9 -0
- package/dist/runtime/nuxt.plugin.client.js.map +1 -1
- package/dist/runtime/nuxt.plugin.client.mjs +9 -0
- package/dist/runtime/nuxt.plugin.client.mjs.map +1 -1
- package/dist/svelte.d.mts +1 -1
- package/dist/svelte.d.ts +1 -1
- package/dist/svelte.js +9 -0
- package/dist/svelte.js.map +1 -1
- package/dist/svelte.mjs +9 -0
- package/dist/svelte.mjs.map +1 -1
- package/dist/vue.d.mts +1 -1
- package/dist/vue.d.ts +1 -1
- package/dist/vue.js +9 -0
- package/dist/vue.js.map +1 -1
- package/dist/vue.mjs +9 -0
- package/dist/vue.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1119,9 +1119,18 @@ interface ShellExitEvent {
|
|
|
1119
1119
|
sessionId: string;
|
|
1120
1120
|
exitCode: number | null;
|
|
1121
1121
|
}
|
|
1122
|
+
interface ShellInfo {
|
|
1123
|
+
name: string;
|
|
1124
|
+
path: string;
|
|
1125
|
+
}
|
|
1122
1126
|
declare class ShellAPI {
|
|
1123
1127
|
private readonly sdk;
|
|
1124
1128
|
constructor(sdk: HaexVaultSdk);
|
|
1129
|
+
/**
|
|
1130
|
+
* List available shell environments on the host system.
|
|
1131
|
+
* No filesystem permission required.
|
|
1132
|
+
*/
|
|
1133
|
+
listAvailable(): Promise<ShellInfo[]>;
|
|
1125
1134
|
/**
|
|
1126
1135
|
* Create a new PTY shell session.
|
|
1127
1136
|
* Returns a session ID used for subsequent write/resize/close operations.
|
|
@@ -1119,9 +1119,18 @@ interface ShellExitEvent {
|
|
|
1119
1119
|
sessionId: string;
|
|
1120
1120
|
exitCode: number | null;
|
|
1121
1121
|
}
|
|
1122
|
+
interface ShellInfo {
|
|
1123
|
+
name: string;
|
|
1124
|
+
path: string;
|
|
1125
|
+
}
|
|
1122
1126
|
declare class ShellAPI {
|
|
1123
1127
|
private readonly sdk;
|
|
1124
1128
|
constructor(sdk: HaexVaultSdk);
|
|
1129
|
+
/**
|
|
1130
|
+
* List available shell environments on the host system.
|
|
1131
|
+
* No filesystem permission required.
|
|
1132
|
+
*/
|
|
1133
|
+
listAvailable(): Promise<ShellInfo[]>;
|
|
1125
1134
|
/**
|
|
1126
1135
|
* Create a new PTY shell session.
|
|
1127
1136
|
* Returns a session ID used for subsequent write/resize/close operations.
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as SpaceRole, H as HaexVaultSdk } from './client-
|
|
2
|
-
export { A as AuthorizedClient, B as BlockedClient, D as DatabaseAPI, b as DecryptedSpace, c as Device, d as DeviceInfo, e as DeviceType, f as DirEntry, E as ExternalAuthDecision, g as ExternalConnection, h as ExternalConnectionErrorCode, i as ExternalConnectionState, j as ExternalRequest, k as ExternalRequestEvent, l as ExternalRequestHandler, m as ExternalRequestPayload, n as ExternalResponse, F as FileStat, o as FilesystemAPI, L as LOCALSEND_EVENTS, p as LocalSendAPI, q as LocalSendEvent, r as LocalSendFileInfo, s as LocalSendSettings, P as PendingAuthorization, t as PendingTransfer, u as PermissionsAPI, v as RemoteAddBackendRequest, w as RemoteS3Config, x as RemoteS3PublicConfig, R as RemoteStorageAPI, y as RemoteStorageBackendInfo, z as RemoteStorageObjectInfo, U as RemoteUpdateBackendRequest, C as RequestedExtension, G as SelectFileOptions, I as SelectFolderOptions, J as ServerInfo, K as ServerStatus, M as SessionAuthorization, N as SharedSpace, O as ShellAPI, Q as ShellCreateOptions, T as ShellCreateResponse, V as ShellExitEvent, W as ShellOutputEvent, X as SpaceAccessTokenInfo, Y as SpaceAssignment, Z as SpaceInvite, _ as SpaceKeyGrantInfo, $ as SpaceMemberInfo, a0 as SpacesAPI, a1 as SyncBackendInfo, a2 as TransferDirection, a3 as TransferProgress, a4 as TransferState, a5 as WebAPI, a6 as canExternalClientSendRequests, a7 as isExternalClientConnected } from './client-
|
|
1
|
+
import { a as SpaceRole, H as HaexVaultSdk } from './client-B1X-GsnG.mjs';
|
|
2
|
+
export { A as AuthorizedClient, B as BlockedClient, D as DatabaseAPI, b as DecryptedSpace, c as Device, d as DeviceInfo, e as DeviceType, f as DirEntry, E as ExternalAuthDecision, g as ExternalConnection, h as ExternalConnectionErrorCode, i as ExternalConnectionState, j as ExternalRequest, k as ExternalRequestEvent, l as ExternalRequestHandler, m as ExternalRequestPayload, n as ExternalResponse, F as FileStat, o as FilesystemAPI, L as LOCALSEND_EVENTS, p as LocalSendAPI, q as LocalSendEvent, r as LocalSendFileInfo, s as LocalSendSettings, P as PendingAuthorization, t as PendingTransfer, u as PermissionsAPI, v as RemoteAddBackendRequest, w as RemoteS3Config, x as RemoteS3PublicConfig, R as RemoteStorageAPI, y as RemoteStorageBackendInfo, z as RemoteStorageObjectInfo, U as RemoteUpdateBackendRequest, C as RequestedExtension, G as SelectFileOptions, I as SelectFolderOptions, J as ServerInfo, K as ServerStatus, M as SessionAuthorization, N as SharedSpace, O as ShellAPI, Q as ShellCreateOptions, T as ShellCreateResponse, V as ShellExitEvent, W as ShellOutputEvent, X as SpaceAccessTokenInfo, Y as SpaceAssignment, Z as SpaceInvite, _ as SpaceKeyGrantInfo, $ as SpaceMemberInfo, a0 as SpacesAPI, a1 as SyncBackendInfo, a2 as TransferDirection, a3 as TransferProgress, a4 as TransferState, a5 as WebAPI, a6 as canExternalClientSendRequests, a7 as isExternalClientConnected } from './client-B1X-GsnG.mjs';
|
|
3
3
|
import { E as ExtensionManifest, h as SignedClaimPresentation, H as HaexHubConfig } from './types-B1O6KckK.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, a as ExtensionInfo, 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, I as IdentityClaim, B as ManifestI18nEntry, G as PermissionDeniedError, J as PermissionErrorBase, K as PermissionErrorCode, L as PermissionPromptError, P as PermissionResponse, N as PermissionStatus, O as SHELL_EVENTS, Q as SearchQuery, R as SearchRequestEvent, S as SearchResult, T as ShellEvent, U as SyncTablesUpdatedEvent, V as TABLE_SEPARATOR, W as WebRequestOptions, e as WebResponse, X as getTableName, Y as isPermissionDeniedError, Z as isPermissionError, _ as isPermissionPromptError } from './types-B1O6KckK.mjs';
|
|
5
5
|
export { H as HaextensionConfig } from './config-D_HXjsEV.mjs';
|
|
@@ -537,6 +537,8 @@ type SpaceCommand = (typeof SPACE_COMMANDS)[keyof typeof SPACE_COMMANDS];
|
|
|
537
537
|
* Naming convention: `extension_shell_<action>`
|
|
538
538
|
*/
|
|
539
539
|
declare const SHELL_COMMANDS: {
|
|
540
|
+
/** List available shell environments (no permission required) */
|
|
541
|
+
readonly listAvailable: "extension_shell_list_available";
|
|
540
542
|
/** Create a new PTY shell session */
|
|
541
543
|
readonly create: "extension_shell_create";
|
|
542
544
|
/** Write data to a shell session's stdin */
|
|
@@ -674,6 +676,7 @@ declare const TAURI_COMMANDS: {
|
|
|
674
676
|
readonly listBackends: "extension_space_list_backends";
|
|
675
677
|
};
|
|
676
678
|
readonly shell: {
|
|
679
|
+
readonly listAvailable: "extension_shell_list_available";
|
|
677
680
|
readonly create: "extension_shell_create";
|
|
678
681
|
readonly write: "extension_shell_write";
|
|
679
682
|
readonly resize: "extension_shell_resize";
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as SpaceRole, H as HaexVaultSdk } from './client-
|
|
2
|
-
export { A as AuthorizedClient, B as BlockedClient, D as DatabaseAPI, b as DecryptedSpace, c as Device, d as DeviceInfo, e as DeviceType, f as DirEntry, E as ExternalAuthDecision, g as ExternalConnection, h as ExternalConnectionErrorCode, i as ExternalConnectionState, j as ExternalRequest, k as ExternalRequestEvent, l as ExternalRequestHandler, m as ExternalRequestPayload, n as ExternalResponse, F as FileStat, o as FilesystemAPI, L as LOCALSEND_EVENTS, p as LocalSendAPI, q as LocalSendEvent, r as LocalSendFileInfo, s as LocalSendSettings, P as PendingAuthorization, t as PendingTransfer, u as PermissionsAPI, v as RemoteAddBackendRequest, w as RemoteS3Config, x as RemoteS3PublicConfig, R as RemoteStorageAPI, y as RemoteStorageBackendInfo, z as RemoteStorageObjectInfo, U as RemoteUpdateBackendRequest, C as RequestedExtension, G as SelectFileOptions, I as SelectFolderOptions, J as ServerInfo, K as ServerStatus, M as SessionAuthorization, N as SharedSpace, O as ShellAPI, Q as ShellCreateOptions, T as ShellCreateResponse, V as ShellExitEvent, W as ShellOutputEvent, X as SpaceAccessTokenInfo, Y as SpaceAssignment, Z as SpaceInvite, _ as SpaceKeyGrantInfo, $ as SpaceMemberInfo, a0 as SpacesAPI, a1 as SyncBackendInfo, a2 as TransferDirection, a3 as TransferProgress, a4 as TransferState, a5 as WebAPI, a6 as canExternalClientSendRequests, a7 as isExternalClientConnected } from './client-
|
|
1
|
+
import { a as SpaceRole, H as HaexVaultSdk } from './client-BzH5VGzL.js';
|
|
2
|
+
export { A as AuthorizedClient, B as BlockedClient, D as DatabaseAPI, b as DecryptedSpace, c as Device, d as DeviceInfo, e as DeviceType, f as DirEntry, E as ExternalAuthDecision, g as ExternalConnection, h as ExternalConnectionErrorCode, i as ExternalConnectionState, j as ExternalRequest, k as ExternalRequestEvent, l as ExternalRequestHandler, m as ExternalRequestPayload, n as ExternalResponse, F as FileStat, o as FilesystemAPI, L as LOCALSEND_EVENTS, p as LocalSendAPI, q as LocalSendEvent, r as LocalSendFileInfo, s as LocalSendSettings, P as PendingAuthorization, t as PendingTransfer, u as PermissionsAPI, v as RemoteAddBackendRequest, w as RemoteS3Config, x as RemoteS3PublicConfig, R as RemoteStorageAPI, y as RemoteStorageBackendInfo, z as RemoteStorageObjectInfo, U as RemoteUpdateBackendRequest, C as RequestedExtension, G as SelectFileOptions, I as SelectFolderOptions, J as ServerInfo, K as ServerStatus, M as SessionAuthorization, N as SharedSpace, O as ShellAPI, Q as ShellCreateOptions, T as ShellCreateResponse, V as ShellExitEvent, W as ShellOutputEvent, X as SpaceAccessTokenInfo, Y as SpaceAssignment, Z as SpaceInvite, _ as SpaceKeyGrantInfo, $ as SpaceMemberInfo, a0 as SpacesAPI, a1 as SyncBackendInfo, a2 as TransferDirection, a3 as TransferProgress, a4 as TransferState, a5 as WebAPI, a6 as canExternalClientSendRequests, a7 as isExternalClientConnected } from './client-BzH5VGzL.js';
|
|
3
3
|
import { E as ExtensionManifest, h as SignedClaimPresentation, H as HaexHubConfig } from './types-B1O6KckK.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, a as ExtensionInfo, 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, I as IdentityClaim, B as ManifestI18nEntry, G as PermissionDeniedError, J as PermissionErrorBase, K as PermissionErrorCode, L as PermissionPromptError, P as PermissionResponse, N as PermissionStatus, O as SHELL_EVENTS, Q as SearchQuery, R as SearchRequestEvent, S as SearchResult, T as ShellEvent, U as SyncTablesUpdatedEvent, V as TABLE_SEPARATOR, W as WebRequestOptions, e as WebResponse, X as getTableName, Y as isPermissionDeniedError, Z as isPermissionError, _ as isPermissionPromptError } from './types-B1O6KckK.js';
|
|
5
5
|
export { H as HaextensionConfig } from './config-D_HXjsEV.js';
|
|
@@ -537,6 +537,8 @@ type SpaceCommand = (typeof SPACE_COMMANDS)[keyof typeof SPACE_COMMANDS];
|
|
|
537
537
|
* Naming convention: `extension_shell_<action>`
|
|
538
538
|
*/
|
|
539
539
|
declare const SHELL_COMMANDS: {
|
|
540
|
+
/** List available shell environments (no permission required) */
|
|
541
|
+
readonly listAvailable: "extension_shell_list_available";
|
|
540
542
|
/** Create a new PTY shell session */
|
|
541
543
|
readonly create: "extension_shell_create";
|
|
542
544
|
/** Write data to a shell session's stdin */
|
|
@@ -674,6 +676,7 @@ declare const TAURI_COMMANDS: {
|
|
|
674
676
|
readonly listBackends: "extension_space_list_backends";
|
|
675
677
|
};
|
|
676
678
|
readonly shell: {
|
|
679
|
+
readonly listAvailable: "extension_shell_list_available";
|
|
677
680
|
readonly create: "extension_shell_create";
|
|
678
681
|
readonly write: "extension_shell_write";
|
|
679
682
|
readonly resize: "extension_shell_resize";
|
package/dist/index.js
CHANGED
|
@@ -1001,6 +1001,8 @@ var SPACE_COMMANDS = {
|
|
|
1001
1001
|
|
|
1002
1002
|
// src/commands/shell.ts
|
|
1003
1003
|
var SHELL_COMMANDS = {
|
|
1004
|
+
/** List available shell environments (no permission required) */
|
|
1005
|
+
listAvailable: "extension_shell_list_available",
|
|
1004
1006
|
/** Create a new PTY shell session */
|
|
1005
1007
|
create: "extension_shell_create",
|
|
1006
1008
|
/** Write data to a shell session's stdin */
|
|
@@ -1898,6 +1900,13 @@ var ShellAPI = class {
|
|
|
1898
1900
|
constructor(sdk) {
|
|
1899
1901
|
this.sdk = sdk;
|
|
1900
1902
|
}
|
|
1903
|
+
/**
|
|
1904
|
+
* List available shell environments on the host system.
|
|
1905
|
+
* No filesystem permission required.
|
|
1906
|
+
*/
|
|
1907
|
+
async listAvailable() {
|
|
1908
|
+
return await this.sdk.request(SHELL_COMMANDS.listAvailable, {});
|
|
1909
|
+
}
|
|
1901
1910
|
/**
|
|
1902
1911
|
* Create a new PTY shell session.
|
|
1903
1912
|
* Returns a session ID used for subsequent write/resize/close operations.
|