@haex-space/vault-sdk 2.5.65 → 2.5.67

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.
@@ -128,6 +128,12 @@ var FILESYSTEM_COMMANDS = {
128
128
  copy: "extension_filesystem_copy"
129
129
  };
130
130
 
131
+ // src/commands/externalBridge.ts
132
+ var EXTERNAL_BRIDGE_COMMANDS = {
133
+ // Response handling (called by extensions running in WebView)
134
+ /** Respond to an external request */
135
+ respond: "webview_extension_external_respond"};
136
+
131
137
  // src/commands/extension.ts
132
138
  var EXTENSION_COMMANDS = {
133
139
  /** Get application context (theme, locale, etc.) */
@@ -1289,7 +1295,7 @@ async function handleExternalRequest(request, handlers, respond, log) {
1289
1295
  }
1290
1296
  async function respondToExternalRequest(response, request) {
1291
1297
  console.log("[SDK Debug] respondToExternalRequest called with:", JSON.stringify(response, null, 2));
1292
- await request("external.respond", response);
1298
+ await request(EXTERNAL_BRIDGE_COMMANDS.respond, response);
1293
1299
  }
1294
1300
 
1295
1301
  // src/client.ts