@agentsignalnet/claude-plugin 0.2.70 → 0.2.71

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "agentsignal",
3
3
  "displayName": "AgentSignal",
4
- "version": "0.2.70",
4
+ "version": "0.2.71",
5
5
  "description": "Page a human from inside Claude Code, or become an addressable agent that other agents can reach.",
6
6
  "author": {
7
7
  "name": "Data Group AI",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentsignalnet/claude-plugin",
3
- "version": "0.2.70",
3
+ "version": "0.2.71",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -902,7 +902,7 @@ const PAGE = `<!doctype html>
902
902
  </header>
903
903
  <div id="shell">
904
904
  <aside id="side" aria-label="Channels">
905
- <p class="rail-title">Channels</p>
905
+ <p class="rail-title" id="rail-title">Channels</p>
906
906
  <nav id="who-nav"></nav>
907
907
  <details id="setup"><summary>This machine</summary><div id="setupbody">reading…</div></details>
908
908
  </aside>
@@ -1399,9 +1399,22 @@ const PAGE = `<!doctype html>
1399
1399
  group.channels.push(c);
1400
1400
  }
1401
1401
 
1402
- // Headings only when they distinguish something. One company, or a server
1403
- // that does not say, and the rail stays the plain list it was.
1404
- const sectioned = groups.length > 1 && groups.every((g) => g.at);
1402
+ /*
1403
+ THE COMPANY IS PART OF THE SHAPE, not a disambiguator.
1404
+
1405
+ This used to require groups.length > 1, on the reasoning that a label
1406
+ repeated above every row is furniture. That is true of a label and false
1407
+ of a level: the rail is company > channel > agent, and a hierarchy that
1408
+ hides its top level whenever there is one of them teaches the wrong shape
1409
+ and then changes under you the day a second company appears. Somebody
1410
+ running one company saw no company at all and reasonably asked whether it
1411
+ had been built.
1412
+
1413
+ The account must still be KNOWN. An older API does not send it, and
1414
+ inventing "Unnamed company" above everything would be the furniture the
1415
+ old rule was actually worried about.
1416
+ */
1417
+ const sectioned = groups.every((g) => g.at);
1405
1418
 
1406
1419
  const rows = (list) => list.map((c) => {
1407
1420
  const ref = c.ref ?? '';
@@ -1443,6 +1456,15 @@ const PAGE = `<!doctype html>
1443
1456
  return '<div class="chan">' + head + '<div class="chan-body">' + body + '</div></div>';
1444
1457
  }).join('');
1445
1458
 
1459
+ /*
1460
+ The title follows the shape rather than asserting one. When the accounts
1461
+ are known the top level of the rail IS the company, so "Channels" would
1462
+ name the second level while pointing at the first; when they are not, the
1463
+ rail really is a flat list of channels and "Companies" would name a level
1464
+ that is not on screen.
1465
+ */
1466
+ document.getElementById('rail-title').textContent = sectioned ? 'Companies' : 'Channels';
1467
+
1446
1468
  nav.innerHTML = groups
1447
1469
  .map((g) =>
1448
1470
  sectioned