mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-01 22:10:23 +00:00
rector(core,tui): handle workspace state in project context, add workspace status, improve ui (#21896)
This commit is contained in:
parent
bf601628db
commit
180ded6a27
22 changed files with 628 additions and 609 deletions
|
|
@ -272,10 +272,6 @@ export type TuiState = {
|
|||
directory: string
|
||||
}
|
||||
readonly vcs: { branch?: string } | undefined
|
||||
readonly workspace: {
|
||||
list: () => ReadonlyArray<Workspace>
|
||||
get: (workspaceID: string) => Workspace | undefined
|
||||
}
|
||||
session: {
|
||||
count: () => number
|
||||
diff: (sessionID: string) => ReadonlyArray<TuiSidebarFileItem>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue