spur-board 0.91.0 → 0.93.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.
@@ -4,8 +4,8 @@
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-BJ-1SfI9.js"></script>
8
- <link rel="stylesheet" crossorigin href="/assets/index-DTu6SPEs.css">
7
+ <script type="module" crossorigin src="/assets/index-DlfBxPAL.js"></script>
8
+ <link rel="stylesheet" crossorigin href="/assets/index-Bt0M96cd.css">
9
9
  </head>
10
10
  <body>
11
11
  <div id="root"></div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "spur-board",
3
- "version": "0.91.0",
3
+ "version": "0.93.0",
4
4
  "license": "MIT",
5
5
  "engines": {
6
6
  "node": "^24.12.0 || ^26.0.0"
@@ -72,8 +72,10 @@ The private web package builds the Board screen for one chosen project; the
72
72
  answers and comments stay in the CLI, MCP and Slack. The header holds the project switcher,
73
73
  dispatcher mode, a key, session and block filter that dims and never hides cards, the live
74
74
  indicator and the inbox count; columns follow configuration order, empty ones collapse and
75
- `done` lists every done task. The footer keeps task count, source health, the persistent
76
- Light/Dark/Auto theme choice and the daemon version. It uses local JetBrains Mono fonts and the
75
+ `done` lists every done task. The status bar holds one health button per service (daemon,
76
+ slack, github, spur, and jira when configured), coloured from the `services` rows of
77
+ `status.get`, the persistent Light/Dark/Auto theme choice and the daemon version; its services
78
+ panel (`?open=services`) shows daemon, host, gateway and per-source rows from the same read. It uses local JetBrains Mono fonts and the
77
79
  V1 prototype tokens. Failed reads keep the last good data on screen under an error banner with
78
80
  its time; stream failures reconnect with capped backoff and show offline after five failed
79
81
  attempts while continuing recovery. Reconnects retain valid SSE cursors, including ID-only
@@ -88,5 +90,5 @@ after a client fell behind, or when its last event ID is ahead of the journal. A
88
90
  every 30 seconds carries source and transport health and also triggers a full reread; a comment
89
91
  line every 15 seconds keeps proxies from closing the stream. The first `hello`, and a later one
90
92
  with a changed head or a new instance after a daemon restart, make the screen reread everything.
91
- The footer version is `daemon.version` from `status.get`, so a stale bundle never claims the
92
- daemon's version; it stays empty until the first status read.
93
+ The status bar version is `daemon.version` from `status.get`, so a stale bundle never claims
94
+ the daemon's version; it stays empty until the first status read.
@@ -48,8 +48,55 @@ Below the header come the columns of the chosen project, in configuration order:
48
48
 
49
49
  On a narrow screen the columns scroll sideways, and the mode and the filter are hidden.
50
50
 
51
- The footer keeps the task count, source health, the Light, Dark and Auto theme switch and the
52
- daemon version.
51
+ ## Status bar
52
+
53
+ From left to right: **services**, which opens and closes the services panel; one button per
54
+ service (daemon, slack, github, spur, and jira when the status lists Jira); the Light, Dark and
55
+ Auto theme menu, whose icon shows the choice the browser remembers; and the version of the
56
+ running daemon, empty until the first status read.
57
+
58
+ A service button shows a dot coloured from the service's health row in `status.get`: green
59
+ healthy, amber degraded, red failing. Its name reads `<service>: <word>`:
60
+
61
+ - daemon: `running`, `stalled` after 120 seconds without a completed tick,
62
+ `no answer since <time>` when the UI cannot read it, or `no answer` when the very first read
63
+ fails.
64
+ - slack: `up` or `down`.
65
+ - github, spur and jira: `polling` when healthy. GitHub covers the pull request and issue
66
+ sources of every repository and takes its worst source. Otherwise the word is that of the
67
+ first source, in status order, whose own state has the service's colour: `blind: <reason>`,
68
+ `never completed`, `warming up` or `stale`. Else it is `waits for rate budget`: a GitHub
69
+ budget fell to the configured reserve; hover for the reason.
70
+ - `unknown`, with a hollow dot, for a service with no health row, for all while the first
71
+ status read is pending, and for all but the daemon while the daemon does not answer.
72
+
73
+ The bar follows each `status` message of the event stream, about every 30 seconds, and makes
74
+ no reads of its own.
75
+
76
+ ## Services panel
77
+
78
+ Opened from the bar or by `?open=services`, the left panel shows boxes from `status.get` only:
79
+
80
+ - daemon: Version, Started, Last dispatch.
81
+ - host: CPU, RAM and Disk percent bars, amber at 80% and red at 90%; an unread value shows
82
+ `— / 100`, never 0. A host load wait adds an amber row.
83
+ - slack: when down, Down since, Reason and Spaces.
84
+ - One box per GitHub source, spur, and one per Jira source, headed by the source's own state:
85
+ Last complete poll, Last observation, Blind (when blind), Freshness, Warming up, Points last
86
+ hour (pull request sources) and Budget: a bar of requests left over the limit with its reset
87
+ time, amber at 20% and red at 5%; `<n> left` without a limit; `—` without a budget. The spur
88
+ box adds the Spur availability line while Spur is unavailable.
89
+
90
+ No healthy service shows since when it is healthy. Before the first status the panel waits for
91
+ it; while the daemon does not answer, the boxes read unknown; once live updates are lost while
92
+ the daemon still answers, the header reads `Data from <time>` and the boxes keep the last data.
93
+ Close, Escape, the dimmed area and the services button close it; focus returns to the opener, or
94
+ to services after a link.
95
+
96
+ Limits: the header and columns are inert while the panel is open, and the bar stays live for the
97
+ pointer only (Tab stays in the panel). On a narrow screen the panel covers the bar; Close or
98
+ Escape closes it. Opening and closing each add a history entry, so Back after a close reopens
99
+ the panel.
53
100
 
54
101
  ## Live and stale states
55
102
 
@@ -69,7 +116,7 @@ Times on the screen are UTC, written `hh:mm dd/mm/yy`.
69
116
  trying to reconnect.
70
117
  - **Daemon down**: a configuration or status read failed. The error banner says the daemon does
71
118
  not answer, gives the time of the data on screen and warns that answers and comments cannot be
72
- sent. On the first load there is no data, so the banner says so and no columns show.
119
+ sent. The daemon button in the status bar turns red and the other services read `unknown`. On the first load there is no data, so the banner says so and no columns show.
73
120
  - **Source blind**: a warning banner names a source of the project that has stopped answering
74
121
  and the time of its last complete poll, such as Spur not answering since 14:40 15/11/26.
75
122
  Several such sources share one banner. A source that is still warming up is not named.