feat(stagecraft): the studio's work-item page, /w/<key> (swamp-club #2944) #441
Loading…
Reference in a new issue
No description provided.
Delete branch "cue/2944-stagecraft-studio-work"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds the studio's work-item page at
/w/<key>. It shows one work item on the graph of the definition it pinned: where it is now, how it got there, and what it is waiting on. This is the studio's version of the Lab's per-issue lifecycle view. swamp-club #2944.What it shows
statusprints:/w/<key>, or the bar's "go to work item" key box. The page updates live as the agent moves the item.How
GET /api/work-items/<key>(studio_work_item.ts) returns:?payloads=1adds the product payloads, which only Copy as scenario needs. A key that isn't a valid name, or that no work item has, gets a 404 before any query. Only keys that exist get a live-update poll. The response type is instudio_item_types.ts, which imports types only.status_view.ts: the pure part of thestatusmethod, now shared by the method and the route. Whatstatusprints is unchanged.Builds on #2943's pieces: the routing, the shared read helper (this adds
readRunand exportspinnedByVersion) and the poll, which now also sends{ kind: "work-item", key }.Page: the graph, the overlay and the Run/Journal/Metrics frame now follow whichever view is open.
Testing
/w/<key>.🤖 Generated with Claude Code