chore: generate

This commit is contained in:
opencode-agent[bot]
2026-06-05 06:31:37 +00:00
parent 31099b9dfb
commit 56e5b171dd
12 changed files with 136 additions and 39 deletions
+5 -1
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)