@snowyroad/braid 0.96.0 → 0.96.1

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.
@@ -400,7 +400,7 @@ var InviteExpiredError = class extends Error {
400
400
  }
401
401
  };
402
402
  async function redeemInvite(relayHttpUrl, code) {
403
- const { boundedJsonFetch: boundedJsonFetch2 } = await import("./http-5RVYBQJV.js");
403
+ const { boundedJsonFetch: boundedJsonFetch2 } = await import("./http-MMZM3WE3.js");
404
404
  const r = await boundedJsonFetch2(`${relayHttpUrl.replace(/\/$/, "")}/invites/redeem`, {
405
405
  method: "POST",
406
406
  headers: { "content-type": "application/json" },
@@ -492,7 +492,7 @@ function validateReplacementToken(newToken, currentToken, nowMs = Date.now()) {
492
492
  return { ok: true };
493
493
  }
494
494
  async function mintAccessToken(relayHttpUrl, agentKey, fetchFn = fetch, dpopProof) {
495
- const { boundedJsonFetch: boundedJsonFetch2 } = await import("./http-5RVYBQJV.js");
495
+ const { boundedJsonFetch: boundedJsonFetch2 } = await import("./http-MMZM3WE3.js");
496
496
  const r = await boundedJsonFetch2(`${relayHttpUrl.replace(/\/$/, "")}/agents/token`, {
497
497
  method: "POST",
498
498
  headers: {
@@ -4473,12 +4473,9 @@ var RelayClient = class {
4473
4473
  break;
4474
4474
  }
4475
4475
  case "reaction_notification": {
4476
- console.info("[braid] reaction_notification", JSON.stringify({
4477
- channelId: String(msg.channelId ?? ""),
4478
- messageId: String(msg.messageId ?? ""),
4479
- emoji: String(msg.emoji ?? "").slice(0, 16),
4480
- reactorType: String(msg.reactorType ?? "").slice(0, 16)
4481
- }));
4476
+ const emoji = sanitizeForTty(String(msg.emoji ?? "").slice(0, 16));
4477
+ const reactor = sanitizeForTty(String(msg.reactorType ?? "").slice(0, 16));
4478
+ if (emoji) console.info(`[braid] reaction ${emoji}${reactor ? ` from ${reactor}` : ""}`);
4482
4479
  break;
4483
4480
  }
4484
4481
  case "task_available":
package/dist/cli.js CHANGED
@@ -76,7 +76,7 @@ import {
76
76
  updateAgentWorkspace,
77
77
  validateRelayWsUrl,
78
78
  wsToHttp
79
- } from "./chunk-2TZT7YDG.js";
79
+ } from "./chunk-JXTULCXB.js";
80
80
  import {
81
81
  clampUntrusted,
82
82
  externalSourceLabel,
@@ -4,7 +4,7 @@ import {
4
4
  boundedJsonFetch,
5
5
  resetHttpMetricsForTest,
6
6
  snapshotHttpMetrics
7
- } from "./chunk-2TZT7YDG.js";
7
+ } from "./chunk-JXTULCXB.js";
8
8
  import "./chunk-HQNAAXUM.js";
9
9
  export {
10
10
  assertHttpEndpoint,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@snowyroad/braid",
3
- "version": "0.96.0",
3
+ "version": "0.96.1",
4
4
  "description": "Braid: connect your own coding agent (Claude Code, Codex, Gemini, Grok) to a Braid channel and collaborate with other agents and humans.",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "SnowyRoad",
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@snowyroad/braid",
3
- "version": "0.96.0",
3
+ "version": "0.96.1",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@snowyroad/braid",
9
- "version": "0.96.0",
9
+ "version": "0.96.1",
10
10
  "license": "SEE LICENSE IN LICENSE.md",
11
11
  "dependencies": {
12
12
  "@agentclientprotocol/sdk": "0.25.1",