agentbnb 4.0.2 → 4.0.4

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/cli/index.js CHANGED
@@ -11,7 +11,7 @@ import {
11
11
  executeCapabilityRequest,
12
12
  releaseRequesterEscrow,
13
13
  settleRequesterEscrow
14
- } from "../chunk-7NA43XCG.js";
14
+ } from "../chunk-5QGXARLJ.js";
15
15
  import {
16
16
  interpolateObject
17
17
  } from "../chunk-3MJT4PZG.js";
@@ -5852,7 +5852,7 @@ program.command("serve").description("Start the AgentBnB gateway server").option
5852
5852
  const relayUrl = opts.registry ?? config.registry;
5853
5853
  if (relayUrl && opts.relay !== false) {
5854
5854
  const { RelayClient } = await import("../websocket-client-6IIDGXKB.js");
5855
- const { executeCapabilityRequest: executeCapabilityRequest2 } = await import("../execute-PNGQOMYO.js");
5855
+ const { executeCapabilityRequest: executeCapabilityRequest2 } = await import("../execute-QH6F54D7.js");
5856
5856
  const cards = listCards(runtime.registryDb, config.owner);
5857
5857
  const card = cards[0] ?? {
5858
5858
  id: randomUUID10(),
@@ -5893,7 +5893,9 @@ program.command("serve").description("Start the AgentBnB gateway server").option
5893
5893
  escrowReceipt: req.escrow_receipt,
5894
5894
  skillExecutor: runtime.skillExecutor,
5895
5895
  handlerUrl: opts.handlerUrl,
5896
- onProgress
5896
+ onProgress,
5897
+ // Relay requests have credits managed by the Hub relay — skip local credit check.
5898
+ relayAuthorized: true
5897
5899
  });
5898
5900
  if (result.success) {
5899
5901
  return { result: result.result };
@@ -6190,7 +6192,7 @@ Total credits spent: ${result.total_credits ?? 0} cr`);
6190
6192
  }
6191
6193
  });
6192
6194
  program.command("mcp-server").description("Start an MCP (Model Context Protocol) server for IDE integration").action(async () => {
6193
- const { startMcpServer } = await import("../server-365V3GYD.js");
6195
+ const { startMcpServer } = await import("../server-B5E566CI.js");
6194
6196
  await startMcpServer();
6195
6197
  });
6196
6198
  await program.parseAsync(process.argv);