You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Stream Deck: Zoom Navigator cycles dormant workspaces; filter the dial to active ones #1403
Rotating the Zoom Navigator at the workspace altitude walks every workspace ever registered, dormant ones included. Confirmed by the owner on hardware and traced in code.
Mechanism: the plugin store fetches its list via the sdk's listWorkspaces() (apps/streamdeck/src/store.ts:79), which hits Tower's GET /api/workspaces. That handler maps over getInstances() (packages/codev/src/agent-farm/servers/tower-routes.ts:509), i.e. every registration in the user-global ~/.agent-farm/global.db, and includes an active: i.running flag per entry. The plugin stores the array unfiltered and the zoom cursor counts workspaces.length, so the TowerWorkspace.active field is delivered on every response and never consulted.
Dormant entries are dead stops on the dial: zooming into one yields no meaningful overview, and any action from there fails because commands require the workspace active in Tower. There is no activate-on-zoom behavior that would justify showing them.
Requirement
Filter the store's workspace list to active === true (strict filter; owner-ratified 2026-08-11). The alternative of showing dormant entries demoted after active ones was considered and rejected: they have no actionable content, and the dashboard is the right surface for browsing registrations.
Care points for the implementation:
Cursor indices: the zoom cursor and selectedWorkspacePath() index into the stored array, so filtering must happen at (or before) storage, not per-render, to keep indices coherent.
A workspace deactivating while selected: after a refresh removes it, the cursor must land on a valid index (reset to 0 is fine), not point past the end.
Focus-follow (workspaceByPath lookup when the user focuses a VS Code window): a path that is registered but dormant should now behave like an unknown path (no-op), which is the existing fallback.
Regression test: list with a mix of active and dormant entries renders and cycles only the active ones.
Suggested protocol
AIR: small, fully described, no architectural decisions.
Activity
[Air #1403] feat: filter Stream Deck Zoom Navigator dial to active wo…
[Air #1403] fix: reset deeper cursor on clamp; guard overview when no…
Merge pull request #1405 from cluesmith/builder/air-1403
[Air #1403] docs: release-notes entry for the active-workspace dial f…