spur-board 0.77.0 → 0.79.0

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.
@@ -0,0 +1,13 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8" />
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
+ <title>Spur Board</title>
7
+ <script type="module" crossorigin src="/assets/index-DjLNV3LK.js"></script>
8
+ <link rel="stylesheet" crossorigin href="/assets/index-DDSSG85D.css">
9
+ </head>
10
+ <body>
11
+ <div id="root"></div>
12
+ </body>
13
+ </html>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "spur-board",
3
- "version": "0.77.0",
3
+ "version": "0.79.0",
4
4
  "license": "MIT",
5
5
  "engines": {
6
6
  "node": "^24.12.0 || ^26.0.0"
@@ -20,7 +20,8 @@
20
20
  "dist",
21
21
  "skills",
22
22
  "README.md",
23
- "LICENSE"
23
+ "LICENSE",
24
+ "OFL.txt"
24
25
  ],
25
26
  "dependencies": {
26
27
  "@commander-js/extra-typings": "^15.0.0",
@@ -157,10 +157,10 @@ Other errors: `wrong_id_kind`, `not_found`, `turn_closed`, `not_turn_taker`, `he
157
157
 
158
158
  ### `board return`
159
159
 
160
- Purpose: Return the task of a turn this session took to Dev, opening a code block on the worker with the reason.
160
+ Purpose: Return the task of a turn this session took to Dev; the reason opens a worker code block.
161
161
  Arguments: `<turn>`, `<reason>`.
162
- Flags: `--key <key>`, `--json`.
163
- Use when: Send the task back to Dev because the work needs code changes.
162
+ Flags: `--findings <value>`, `--key <key>`, `--json`.
163
+ Use when: Send the task back to Dev when the work needs code changes.
164
164
  Avoid when: Use `board submit <turn> <sha>` to hand in the work instead.
165
165
  Example: `board return T4 "Handle the empty list in the parser." --key return-PROJ-123-return-reviewed-1432` — Return a reviewed task to Dev.
166
166
  Other errors: `wrong_id_kind`, `not_found`, `turn_closed`, `not_turn_taker`, `return_not_allowed`, `task_archived`, `idempotency_key_mismatch`.
@@ -2,7 +2,7 @@
2
2
 
3
3
  ### `board config get`
4
4
 
5
- Purpose: Show effective project columns, executors and Spur bindings.
5
+ Purpose: Show effective project columns, executors, Spur bindings and web origins.
6
6
  Arguments: none.
7
7
  Flags: `--project <value>`, `--json`.
8
8
  Use when: Read configuration before rendering the Board overview.
@@ -5,7 +5,8 @@
5
5
  A turn `T<number>`: keyed `board inbox ack <entries>`.
6
6
  Only the acknowledging session may submit or return: keyed
7
7
  `board submit <turn> <sha>` accepts the head; keyed
8
- `board return <turn> <reason>` sends findings to Dev. In
8
+ `board return <turn> <reason>` sends findings to Dev; a review orchestrator adds
9
+ `--findings <n>` and `board status` shows the count in the row's `returned`. In
9
10
  shadow mode, use keyed `board submit <task> <sha>`.
10
11
  Unseen heads answer `pending`: that submit is final; do not resubmit or raise a
11
12
  block. Confirm timeout: `projects[].dispatcher.submitConfirmMs`.
@@ -10,7 +10,9 @@ Choose the topic for the decision or action in front of you:
10
10
 
11
11
  Read effective project configuration with `board config get`, then the current overview with
12
12
  `board status`. Configuration lists enabled columns in order, their executors, dispatcher mode
13
- and effective Spur projects with display names. It excludes credentials and adapter settings.
13
+ and effective Spur projects with display names, plus `web.publicOrigin` (the listener's origin,
14
+ null when off or not bound yet) and `web.spurUiOrigin` (null when not configured). It excludes
15
+ credentials and adapter settings.
14
16
  A worker executor falls back to the operator when no live worker exists; unbound external review
15
17
  is handled by the dispatcher.
16
18
  Column bindings `none` and `operator` keep their routing meaning even when a Spur project has the
@@ -18,7 +20,12 @@ same name.
18
20
 
19
21
  Compact status rows include the unclosed `turn` (or null), `prSummary` and navigation `links`.
20
22
  An untaken turn names its last assigned recipient session in `addressedTo`; a taken turn names
21
- its holder and time in `taken`. Feedback, return context and thread details stay in task/inbox views.
23
+ its holder and time in `taken`. `turn.stalledSince` is the executor stall start while its stall
24
+ block is open, else null. `blocks` lists open blocks as `{id, addressee, session}`; `session` is
25
+ the assigned session, null for the operator. A task returned to Dev has `returned`
26
+ `{from, at, by, block, findings}` until it leaves Dev or its next submit. A turn's feedback,
27
+ return context and thread details stay in task/inbox views. Top-level `daemon` gives `version`,
28
+ `startedAt` and `lastDispatchAt`, the last completed tick (null until the first).
22
29
  `prSummary` is an array with one entry per observed effective PR, or null when none is observed.
23
30
  It counts required checks when present, otherwise all reported checks: success and neutral pass,
24
31
  expected and pending wait, and every other state, including skipped, fails. It preserves unknown
@@ -47,3 +54,19 @@ Logs include the web channel and untrusted forwarded client/user-agent metadata.
47
54
  persist `via: web` in the journal; history returns `actor: operator` with `via: web`, allowing
48
55
  clients to show `operator (web)`.
49
56
  Missing UI assets return a 503 build hint while health and operations remain available.
57
+
58
+ ## Web shell
59
+
60
+ The private web package builds an empty desktop shell with task count, named source health,
61
+ stream state, a persistent Light/Dark/Auto theme choice and the daemon version in its footer.
62
+ It uses local JetBrains Mono fonts and the V1 prototype tokens. Read failures retain previous
63
+ status as stale; stream failures reconnect with capped backoff and show offline after five
64
+ failed attempts while continuing recovery. The first valid stream handshake refreshes status
65
+ to close the startup read race; later changes to the stream head or instance also refresh it.
66
+ Reconnects retain valid SSE cursors, including ID-only records, until the server clears them.
67
+
68
+ The configured daemon web listener serves the packaged SPA and its local assets. The stream
69
+ client connects with `GET /v1/events`, as specified by #533. That server remains pending, so
70
+ the shell currently reports reconnecting then offline/stale while status reads and theme controls
71
+ remain available. The footer version is `daemon.version` from `status.get`, so a stale bundle never
72
+ claims the daemon's version; it stays empty until the first status read.