chore: generate

This commit is contained in:
opencode-agent[bot] 2026-06-05 06:31:37 +00:00
commit f6197cefe1
12 changed files with 136 additions and 39 deletions

View file

@ -80,7 +80,11 @@ export function createServerProjects<T extends ServerProjectState>(input: {
setStore("projects", scope, [{ worktree: directory, expanded: true }, ...current()])
},
close(directory: string) {
setStore("projects", input.scope(), current().filter((project) => project.worktree !== directory))
setStore(
"projects",
input.scope(),
current().filter((project) => project.worktree !== directory),
)
},
expand(directory: string) {
const index = current().findIndex((project) => project.worktree === directory)