Compare commits
2 Commits
9f54ec9d51
...
6e2b817887
| Author | SHA1 | Date | |
|---|---|---|---|
| 6e2b817887 | |||
| f50d8eb90e |
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@because/sandlot",
|
||||
"version": "0.0.46",
|
||||
"version": "0.0.47",
|
||||
"description": "Sandboxed, branch-based development with Claude",
|
||||
"type": "module",
|
||||
"bin": {
|
||||
|
|
|
|||
|
|
@ -61,6 +61,7 @@ export interface GlobalSession extends Session {
|
|||
export async function loadAll(): Promise<GlobalSession[]> {
|
||||
const sandlotDir = join(homedir(), ".sandlot")
|
||||
const all: GlobalSession[] = []
|
||||
const seen = new Set<string>()
|
||||
|
||||
let repoDirs
|
||||
try {
|
||||
|
|
@ -89,7 +90,8 @@ export async function loadAll(): Promise<GlobalSession[]> {
|
|||
}
|
||||
}
|
||||
|
||||
if (repoRoot) {
|
||||
if (repoRoot && !seen.has(repoRoot)) {
|
||||
seen.add(repoRoot)
|
||||
try {
|
||||
const st = await load(repoRoot)
|
||||
for (const session of Object.values(st.sessions)) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user