Compare commits

..

No commits in common. "6e2b8178876c23cd0e04cf75bfc67d539420f0ab" and "9f54ec9d51b3c5ed224bc4a6d56bd562c88293c2" have entirely different histories.

2 changed files with 2 additions and 4 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "@because/sandlot", "name": "@because/sandlot",
"version": "0.0.47", "version": "0.0.46",
"description": "Sandboxed, branch-based development with Claude", "description": "Sandboxed, branch-based development with Claude",
"type": "module", "type": "module",
"bin": { "bin": {

View File

@ -61,7 +61,6 @@ export interface GlobalSession extends Session {
export async function loadAll(): Promise<GlobalSession[]> { export async function loadAll(): Promise<GlobalSession[]> {
const sandlotDir = join(homedir(), ".sandlot") const sandlotDir = join(homedir(), ".sandlot")
const all: GlobalSession[] = [] const all: GlobalSession[] = []
const seen = new Set<string>()
let repoDirs let repoDirs
try { try {
@ -90,8 +89,7 @@ export async function loadAll(): Promise<GlobalSession[]> {
} }
} }
if (repoRoot && !seen.has(repoRoot)) { if (repoRoot) {
seen.add(repoRoot)
try { try {
const st = await load(repoRoot) const st = await load(repoRoot)
for (const session of Object.values(st.sessions)) { for (const session of Object.values(st.sessions)) {