feat(tui): add initial support for workspaces into the tui (#16230)

This commit is contained in:
James Long
2026-03-09 10:28:04 -04:00
committed by GitHub
parent ef9bc4ec9e
commit 366b8a8034
11 changed files with 633 additions and 40 deletions
@@ -42,6 +42,9 @@ function createWorkerFetch(client: RpcClient): typeof fetch {
function createEventSource(client: RpcClient): EventSource {
return {
on: (handler) => client.on<Event>("event", handler),
setWorkspace: (workspaceID) => {
void client.call("setWorkspace", { workspaceID })
},
}
}