@snowyroad/braid 0.79.1 → 0.79.3

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.js CHANGED
@@ -6273,8 +6273,7 @@ function makeSocketHandoffController(deps) {
6273
6273
  let active = null;
6274
6274
  const label = (channelId) => {
6275
6275
  const name = deps.channelName(channelId);
6276
- const tag = channelTag(channelId);
6277
- return name ? `#${sanitizeForTty(name).slice(0, 40)} (${tag})` : `#${tag}`;
6276
+ return name ? `#${sanitizeForTty(name).slice(0, 40)}` : `#${channelTag(channelId)}`;
6278
6277
  };
6279
6278
  const gateBlocked = () => {
6280
6279
  const g = deps.gate.snapshot();
@@ -6450,6 +6449,17 @@ async function startBridge(cfg, relay, deps) {
6450
6449
  relay.onConnect?.(() => {
6451
6450
  relay.sendAgentHealth({ ...health.current(), service, runtimeVersion });
6452
6451
  relay.sendDaemonStatus(blockedEndpoints, daemonPostureDetail(blockedEndpoints));
6452
+ void (async () => {
6453
+ await Promise.resolve();
6454
+ const known = relay.knownMemberChannelIds?.() ?? /* @__PURE__ */ new Set();
6455
+ const fetchName = relay.fetchChannelName;
6456
+ if (!fetchName) return;
6457
+ for (const id of known) {
6458
+ if (channelNames.has(id)) continue;
6459
+ const n = await fetchName.call(relay, id).catch(() => null);
6460
+ if (n) channelNames.set(id, n);
6461
+ }
6462
+ })();
6453
6463
  });
6454
6464
  const brokers = /* @__PURE__ */ new Map();
6455
6465
  const mcpServerPath = path3.join(path3.dirname(fileURLToPath2(import.meta.url)), "mcp", "server.js");
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@snowyroad/braid",
3
- "version": "0.79.1",
3
+ "version": "0.79.3",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@snowyroad/braid",
9
- "version": "0.79.1",
9
+ "version": "0.79.3",
10
10
  "license": "SEE LICENSE IN LICENSE.md",
11
11
  "dependencies": {
12
12
  "@agentclientprotocol/sdk": "0.25.1",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@snowyroad/braid",
3
- "version": "0.79.1",
3
+ "version": "0.79.3",
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",