rector(core,tui): handle workspace state in project context, add workspace status, improve ui (#21896)

This commit is contained in:
James Long 2026-04-10 13:03:20 -04:00 committed by GitHub
commit 180ded6a27
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
22 changed files with 629 additions and 610 deletions

View file

@ -146,14 +146,6 @@ function stateApi(sync: ReturnType<typeof useSync>): TuiPluginApi["state"] {
branch: sync.data.vcs.branch,
}
},
workspace: {
list() {
return sync.data.workspaceList
},
get(workspaceID) {
return sync.workspace.get(workspaceID)
},
},
session: {
count() {
return sync.data.session.length