(directory: string)
| 75 | return { |
| 76 | list: current, |
| 77 | open(directory: string) { |
| 78 | const scope = input.scope() |
| 79 | if (current().some((project) => project.worktree === directory)) return |
| 80 | setStore("projects", scope, [{ worktree: directory, expanded: true }, ...current()]) |
| 81 | }, |
| 82 | close(directory: string) { |
| 83 | setStore( |
| 84 | "projects", |