@agentsignalnet/claude-plugin 0.2.67 → 0.2.68

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.67",
4
+ "version": "0.2.68",
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.67",
3
+ "version": "0.2.68",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -665,7 +665,6 @@ const PAGE = `<!doctype html>
665
665
  nav a:hover { background: var(--accent-soft); color: var(--fg); }
666
666
  nav a:focus-visible { outline: none; box-shadow: var(--focus); }
667
667
  nav a .nm { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
668
- nav a.whole { font-weight: 600; color: var(--fg); }
669
668
  /* The indent IS the parent-child relationship, so it needs a line to read as
670
669
  one rather than as ragged alignment. */
671
670
  nav .kids { margin-left: 10px; padding-left: 10px; border-left: 1px solid var(--line); }
@@ -1423,14 +1422,24 @@ const PAGE = `<!doctype html>
1423
1422
 
1424
1423
  if (!open) return '<div class="chan">' + head + '</div>';
1425
1424
 
1426
- // "everything" clears the agent filter, and only means anything in the
1427
- // channel being read -- in any other it is the link that switches to it.
1428
- const all =
1429
- '<a href="' + esc(href) + '" data-agent="" data-key="" data-channel="' + ref + '" ' +
1430
- 'class="whole' + (c.active && !AGENT ? ' on' : '') + '">' +
1431
- '<span class="nm">everything here</span></a>';
1432
-
1433
- const body = branch === undefined ? '<p class="none">reading…</p>' : all + branch;
1425
+ /**
1426
+ * No "everything here" row. The channel's own name already is it.
1427
+ *
1428
+ * Expanding a channel used to put a row at the top of the agent list
1429
+ * that cleared the agent filter -- but the heading directly above it
1430
+ * does exactly that, with the same href, through the same handler: the
1431
+ * click listener filters to link.dataset.agent ?? '', and the heading
1432
+ * carries no data-agent. Two controls, one behaviour, and one of them
1433
+ * narrating a state the reader is already in: they are in the channel,
1434
+ * and the row offered to take them to the channel.
1435
+ */
1436
+ const body =
1437
+ branch === undefined
1438
+ ? '<p class="none">reading…</p>'
1439
+ // A channel really can have no agents yet -- a company that has just
1440
+ // been created. Without this the expanded channel is blank, which
1441
+ // reads as still loading rather than as an answer.
1442
+ : branch || '<p class="none">no agents yet</p>';
1434
1443
  return '<div class="chan">' + head + '<div class="chan-body">' + body + '</div></div>';
1435
1444
  }).join('');
1436
1445