spur-board 0.78.0 → 0.80.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.
- package/dist/{chunk-7XUx0JWq.mjs → chunk-BN-Cz4Ql.mjs} +112 -51
- package/dist/{chunk-C06XgrL3.mjs → chunk-D9dHqOgX.mjs} +1 -1
- package/dist/{chunk-Ck64u-eo.mjs → chunk-DncwJ_X0.mjs} +2 -2
- package/dist/cli.mjs +3 -3
- package/dist/client.mjs +1 -1
- package/dist/daemon.mjs +429 -38
- package/dist/mcp.mjs +3 -3
- package/dist/web/assets/index-DjLNV3LK.js +64 -0
- package/dist/web/index.html +1 -1
- package/package.json +1 -1
- package/skills/setup/references/web.md +6 -3
- package/skills/spur-board/references/commands.md +3 -3
- package/skills/spur-board/references/config.md +1 -1
- package/skills/spur-board/references/how-board-works-turns.md +2 -1
- package/skills/spur-board/references/how-board-works.md +19 -8
- package/dist/web/assets/index-BvHOZ5yF.js +0 -64
package/dist/web/index.html
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<meta charset="UTF-8" />
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
6
|
<title>Spur Board</title>
|
|
7
|
-
<script type="module" crossorigin src="/assets/index-
|
|
7
|
+
<script type="module" crossorigin src="/assets/index-DjLNV3LK.js"></script>
|
|
8
8
|
<link rel="stylesheet" crossorigin href="/assets/index-DDSSG85D.css">
|
|
9
9
|
</head>
|
|
10
10
|
<body>
|
package/package.json
CHANGED
|
@@ -15,13 +15,16 @@ web:
|
|
|
15
15
|
|
|
16
16
|
The listener binds `127.0.0.1`. Configure a reverse proxy to preserve the original Host and
|
|
17
17
|
use the exact resolved public origin. Every `{port}` is replaced with the actual listener port.
|
|
18
|
+
The browser gets live updates from `GET /v1/events`: turn proxy response buffering off for that
|
|
19
|
+
path (the stream sends `X-Accel-Buffering: no`, which nginx honours; other proxies need it
|
|
20
|
+
disabled) and keep the proxy read timeout above 15 seconds, the heartbeat interval.
|
|
18
21
|
After restarting the daemon, run `board doctor --json`: `web` checks the configuration and
|
|
19
22
|
`web.listening` checks whether the listener bound. A busy port leaves the agent API running;
|
|
20
23
|
free it or choose another web port and restart.
|
|
21
24
|
|
|
22
|
-
A missing UI build returns 503 with
|
|
25
|
+
The listener serves the packaged browser UI and its assets. A missing UI build returns 503 with
|
|
23
26
|
``UI is not built: run `pnpm --filter @spur-board/web build` ``.
|
|
24
|
-
Run that build
|
|
25
|
-
|
|
27
|
+
Run that build, then restart the daemon: it loads the assets at startup. Health and catalog
|
|
28
|
+
operations remain usable. Request logs record the web channel and untrusted
|
|
26
29
|
forwarded client metadata and user agent. Journal events and history retain `via: web` beside
|
|
27
30
|
the operator actor.
|
|
@@ -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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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`.
|
|
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
|
|
@@ -51,15 +58,19 @@ Missing UI assets return a 503 build hint while health and operations remain ava
|
|
|
51
58
|
## Web shell
|
|
52
59
|
|
|
53
60
|
The private web package builds an empty desktop shell with task count, named source health,
|
|
54
|
-
stream state, a persistent Light/Dark/Auto theme choice and the
|
|
61
|
+
stream state, a persistent Light/Dark/Auto theme choice and the daemon version in its footer.
|
|
55
62
|
It uses local JetBrains Mono fonts and the V1 prototype tokens. Read failures retain previous
|
|
56
63
|
status as stale; stream failures reconnect with capped backoff and show offline after five
|
|
57
64
|
failed attempts while continuing recovery. The first valid stream handshake refreshes status
|
|
58
65
|
to close the startup read race; later changes to the stream head or instance also refresh it.
|
|
59
66
|
Reconnects retain valid SSE cursors, including ID-only records, until the server clears them.
|
|
60
67
|
|
|
61
|
-
The configured daemon web listener serves the packaged SPA and its local assets
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
68
|
+
The configured daemon web listener serves the packaged SPA and its local assets, and streams
|
|
69
|
+
live updates from `GET /v1/events` as server-sent events. The stream opens with `hello` (journal
|
|
70
|
+
head and daemon instance), then sends one `invalidate` per committed batch of journal events,
|
|
71
|
+
naming the projects and task keys it touched; the shell then rereads its status. A `reset` asks for
|
|
72
|
+
a full reread: after a client fell behind, or when its last event ID is ahead of the journal.
|
|
73
|
+
A `status` frame every 30 seconds carries source and transport health; a comment line every 15
|
|
74
|
+
seconds keeps proxies from closing the stream. A restarted daemon sends a new instance in
|
|
75
|
+
`hello`, which also makes the shell reread everything. The footer version is `daemon.version` from `status.get`, so a stale bundle never
|
|
76
|
+
claims the daemon's version; it stays empty until the first status read.
|