@snowyroad/braid 0.76.0 → 0.77.0

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.
@@ -32,7 +32,9 @@ var KNOWN_RUN_FLAGS = [
32
32
  "--allow-read",
33
33
  "--allow-domain",
34
34
  "--invite",
35
- "--ipc-profile"
35
+ "--ipc-profile",
36
+ "--socket",
37
+ "--no-socket"
36
38
  ];
37
39
  var VALID_SCOPE = ["on", "off"];
38
40
  var VALID_TOOLS = ["readonly", "full"];
@@ -63,7 +65,7 @@ function parseRunFlags(argv) {
63
65
  }
64
66
  continue;
65
67
  }
66
- if (name === "--socket") {
68
+ if (name === "--socket" || name === "--no-socket") {
67
69
  continue;
68
70
  }
69
71
  if (!KNOWN_RUN_FLAGS.includes(name)) {
@@ -372,7 +374,7 @@ var InviteExpiredError = class extends Error {
372
374
  }
373
375
  };
374
376
  async function redeemInvite(relayHttpUrl, code) {
375
- const { boundedJsonFetch: boundedJsonFetch2 } = await import("./http-YQS643AJ.js");
377
+ const { boundedJsonFetch: boundedJsonFetch2 } = await import("./http-U5DXUIMM.js");
376
378
  const r = await boundedJsonFetch2(`${relayHttpUrl.replace(/\/$/, "")}/invites/redeem`, {
377
379
  method: "POST",
378
380
  headers: { "content-type": "application/json" },
@@ -461,7 +463,7 @@ function validateReplacementToken(newToken, currentToken, nowMs = Date.now()) {
461
463
  return { ok: true };
462
464
  }
463
465
  async function mintAccessToken(relayHttpUrl, agentKey, fetchFn = fetch, dpopProof) {
464
- const { boundedJsonFetch: boundedJsonFetch2 } = await import("./http-YQS643AJ.js");
466
+ const { boundedJsonFetch: boundedJsonFetch2 } = await import("./http-U5DXUIMM.js");
465
467
  const r = await boundedJsonFetch2(`${relayHttpUrl.replace(/\/$/, "")}/agents/token`, {
466
468
  method: "POST",
467
469
  headers: {