feat: session-first workspace activity and installable daemon
Workspaces page: - list the newest sessions across workspaces in the activity column; the daemon exposes GET /api/v1/sessions/recent as a disk projection and the browser enriches live rows from the per-workspace session relay - put recent activity first below 1100px and fix the mobile page-header flex-basis gap Smoke: - pin PI2_HOST=127.0.0.1 in both smoke scripts and make the startup-line assertion follow the configured host; the daemon default stays 0.0.0.0 Install: - standalone binary build/install scripts, packaging templates, CI/release hooks, CLI-first install docs and the supporting config/doctor changes
This commit is contained in:
1 parent
fc51c3be37
commit
d2e20d428a
50 files changed
+5104
-188
No files matched your search
@@ -169,6 +169,7 @@ Everything the console calls is answered from `scripts/ui-fixtures.mjs`:
|
||||
| `POST /api/v1/pair` | `pairCode` | redeem (`{code}` → token+device) and mint (`{accepted,code,url,…}`) |
|
||||
| `GET /api/v1/workspaces` | `workspaces` | 6 rows covering staged/hidden/ghost/tmp/degraded/untrusted |
|
||||
| `GET /api/v1/workspaces/:id/sessions` | `sessions` | `{v,sessions,cursor}`; 6 sessions incl. child, attention, legacy, idle |
|
||||
| `GET /api/v1/sessions/recent` | `sessions` (disk projection) | `{v,sessions}` newest-first, used by the workspaces activity column |
|
||||
| `GET /api/v1/sessions/:sid/entries` | `entriesBySession` | raw pi entries, `before`/`limit` paging with a cursor |
|
||||
| `GET /api/v1/attention` | `attentionByWorkspace` | flattened per workspace |
|
||||
| `GET /api/v1/models` | `modelProviders` | `{providers:[…]}`, 3 providers |
|
||||
|
||||
Reference in new issue
Block a user