spur-board 0.34.0 → 0.34.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.
Files changed (2) hide show
  1. package/dist/daemon.mjs +2 -2
  2. package/package.json +1 -1
package/dist/daemon.mjs CHANGED
@@ -12133,7 +12133,7 @@ async function enqueueLiveAfterFirstPoll(trx, input) {
12133
12133
  const value = JSON.stringify(input.productVersion);
12134
12134
  if ((await trx.selectFrom("meta").select("value").where("key", "=", LIVE_VERSION_KEY).executeTakeFirst())?.value === value) return;
12135
12135
  const tasks = await trx.selectFrom("task").select(sql`count(*)`.as("count")).where("membership", "!=", "archived").executeTakeFirstOrThrow();
12136
- const items = await trx.selectFrom("operator_item").select(sql`count(*)`.as("count")).where("cleared_at", "is", null).executeTakeFirstOrThrow();
12136
+ const items = await trx.selectFrom("operator_item").select(sql`count(*)`.as("count")).where("cleared_at", "is", null).where("line_outbox_id", "is not", null).executeTakeFirstOrThrow();
12137
12137
  const text = `spur-board is live: ${String(tasks.count)} tasks, ${String(items.count)} for you`;
12138
12138
  await enqueueLiveFeedLine(trx, {
12139
12139
  version: input.productVersion,
@@ -13254,8 +13254,8 @@ function commandReply(id, value, input) {
13254
13254
  cliHint: `board ${operation.cli.command}`,
13255
13255
  body: [
13256
13256
  line(`Board status: ${String(status.tasks.length)} tasks, ${String(status.items.length)} items needing attention.`),
13257
- ...status.tasks.map((task) => line(`${task.key}: ${task.column} (${task.membership})`)),
13258
13257
  ...status.items.map((item) => line(`${item.key}: ${item.summary}`)),
13258
+ ...status.tasks.map((task) => line(`${task.key}: ${task.column} (${task.membership})`)),
13259
13259
  line(`Unlinked: ${String(status.unlinkedPrs.length)} pull requests, ${String(status.unlinkedSessions.length)} sessions${status.hiddenUnlinkedPrs + status.hiddenUnlinkedSessions === 0 ? "" : `; ${String(status.hiddenUnlinkedPrs)} pull requests and ${String(status.hiddenUnlinkedSessions)} sessions finished over 7 days ago are hidden`}.`),
13260
13260
  ...status.sources.map((source) => line(`${source.source}: ${source.blindReason !== null ? `blind (${source.blindReason})` : source.warmingUp ? "warming up" : source.stale ? "stale" : "current"}`)),
13261
13261
  ...status.warmingUp ? [line("Sources are warming up.")] : [],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "spur-board",
3
- "version": "0.34.0",
3
+ "version": "0.34.1",
4
4
  "license": "MIT",
5
5
  "engines": {
6
6
  "node": "^24.12.0 || ^26.0.0"