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