@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.
package/dist/index.mjs CHANGED
@@ -999,6 +999,8 @@ var SPACE_COMMANDS = {
999
999
 
1000
1000
  // src/commands/shell.ts
1001
1001
  var SHELL_COMMANDS = {
1002
+ /** List available shell environments (no permission required) */
1003
+ listAvailable: "extension_shell_list_available",
1002
1004
  /** Create a new PTY shell session */
1003
1005
  create: "extension_shell_create",
1004
1006
  /** Write data to a shell session's stdin */
@@ -1896,6 +1898,13 @@ var ShellAPI = class {
1896
1898
  constructor(sdk) {
1897
1899
  this.sdk = sdk;
1898
1900
  }
1901
+ /**
1902
+ * List available shell environments on the host system.
1903
+ * No filesystem permission required.
1904
+ */
1905
+ async listAvailable() {
1906
+ return await this.sdk.request(SHELL_COMMANDS.listAvailable, {});
1907
+ }
1899
1908
  /**
1900
1909
  * Create a new PTY shell session.
1901
1910
  * Returns a session ID used for subsequent write/resize/close operations.