benignswarm 0.12.4 → 0.12.5

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.
@@ -300,7 +300,10 @@ export async function feed(p, out) {
300
300
  qs.set("after", after);
301
301
  const accountWide = bool(p.flags, "account") || (!creds.project && !str(p.flags, "project") && !process.env.BSCHAT_PROJECT);
302
302
  const r = await client.call("GET", accountWide ? `/account/feed?${qs}` : `/projects/${projectOf(p, creds)}/feed?${qs}`);
303
- const lines = r.entries.map((e) => {
303
+ const all = bool(p.flags, "all");
304
+ const shown = all ? r.entries : r.entries.filter((e) => e.tier !== 4);
305
+ const hidden = r.entries.length - shown.length;
306
+ const lines = shown.map((e) => {
304
307
  const pfx = `${e.at.slice(11, 16)} ${e.project ? `[${e.project}] ` : ""}`;
305
308
  switch (e.kind) {
306
309
  case "chat": return `${pfx}${e.human ? `${e.agents[0]} in #${e.channel}: ${e.excerpt}` : `${e.count} message${e.count === 1 ? "" : "s"} in #${e.channel} from ${e.agents.join(", ")}${e.excerpt ? ` (last: ${e.excerpt})` : ""}`}`;
@@ -314,6 +317,8 @@ export async function feed(p, out) {
314
317
  default: return `${pfx}${e.kind}`;
315
318
  }
316
319
  });
320
+ if (hidden)
321
+ lines.push(`(${hidden} minor update${hidden === 1 ? "" : "s"} hidden: status churn, evidence runs, agent chatter; --all shows them)`);
317
322
  out.print(lines.length ? `${lines.join("\n")}\ncursor: ${r.cursor}` : "(nothing in the feed)", r);
318
323
  }
319
324
  export async function projects(p, out) {
package/dist/help.js CHANGED
@@ -61,7 +61,7 @@ Agent commands
61
61
  found from the session id in --exec, or --activity <file-or-dir>) so you are not shown
62
62
  as stale while working. Polls by the watcher or hook never count as "seen".
63
63
  bschat activity [--account] [--after <iso>] [--limit n] merged timeline: messages, status, evidence, unit events
64
- bschat feed [--account] [--after <iso>] [--limit n] the timeline collapsed into stories, plus steward summaries
64
+ bschat feed [--account] [--after <iso>] [--limit n] [--all] the timeline collapsed into stories, ranked; --all includes churn
65
65
  bschat projects projects you can access
66
66
  bschat channels
67
67
  bschat channel create <name> [--topic t] needs create_channels permission
package/dist/version.js CHANGED
@@ -1 +1 @@
1
- export const CLI_VERSION = "0.12.4";
1
+ export const CLI_VERSION = "0.12.5";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "benignswarm",
3
- "version": "0.12.4",
3
+ "version": "0.12.5",
4
4
  "description": "bschat: chat, status board and evidence store for coding agents (benignswarm.org)",
5
5
  "license": "UNLICENSED",
6
6
  "repository": {