@haex-space/vault-sdk 2.6.3 → 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.
@@ -1,6 +1,6 @@
1
1
  import * as nuxt_app from 'nuxt/app';
2
2
  import { ShallowRef } from 'vue';
3
- import { H as HaexVaultSdk } from '../client-Cgt1hI4U.mjs';
3
+ import { H as HaexVaultSdk } from '../client-B1X-GsnG.mjs';
4
4
  import { A as ApplicationContext } from '../types-B1O6KckK.mjs';
5
5
  import 'drizzle-orm/sqlite-proxy';
6
6
 
@@ -1,6 +1,6 @@
1
1
  import * as nuxt_app from 'nuxt/app';
2
2
  import { ShallowRef } from 'vue';
3
- import { H as HaexVaultSdk } from '../client-BW9GSwtY.js';
3
+ import { H as HaexVaultSdk } from '../client-BzH5VGzL.js';
4
4
  import { A as ApplicationContext } from '../types-B1O6KckK.js';
5
5
  import 'drizzle-orm/sqlite-proxy';
6
6
 
@@ -256,6 +256,8 @@ var SPACE_COMMANDS = {
256
256
 
257
257
  // src/commands/shell.ts
258
258
  var SHELL_COMMANDS = {
259
+ /** List available shell environments (no permission required) */
260
+ listAvailable: "extension_shell_list_available",
259
261
  /** Create a new PTY shell session */
260
262
  create: "extension_shell_create",
261
263
  /** Write data to a shell session's stdin */
@@ -1163,6 +1165,13 @@ var ShellAPI = class {
1163
1165
  constructor(sdk) {
1164
1166
  this.sdk = sdk;
1165
1167
  }
1168
+ /**
1169
+ * List available shell environments on the host system.
1170
+ * No filesystem permission required.
1171
+ */
1172
+ async listAvailable() {
1173
+ return await this.sdk.request(SHELL_COMMANDS.listAvailable, {});
1174
+ }
1166
1175
  /**
1167
1176
  * Create a new PTY shell session.
1168
1177
  * Returns a session ID used for subsequent write/resize/close operations.