Skip to content

armgit / mso

Public Imported from GitHub
0

Browser-based graphical shell and control plane for a Linux server you own — real terminal, file manager, live metrics and BYOK AI in one mobile-first workspace. Next.js 16 · React 19 · node-pty · Tailwind v4 · shadcn/ui. Public alpha, self-hosted.

fix: tolerate bounded session name contention

Rahmanee6e1ffc9991
diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md
index e5baf7a8..89aaba6b 100644
--- a/docs/CHANGELOG.md
+++ b/docs/CHANGELOG.md
@@ -12,6 +12,10 @@ this is the *what*, and it is what Settings → About shows as “What's new”.
- route JEV through OpenRouter and preserve sessions
- `integrations` clarify DOKU credential fields
+**Fixed**
+
+- tolerate bounded session name contention
+
## 2026-09-25
**Added**
diff --git a/lib/agent/session-create.ts b/lib/agent/session-create.ts
index ff00fad0..70225982 100644
--- a/lib/agent/session-create.ts
+++ b/lib/agent/session-create.ts
@@ -90,5 +90,5 @@ export async function withUniqueSessionName<T>(
return withSecurityStoreLock(sessionNameLockTarget(owner), async () => {
const used = (await listSessionRecords()).filter(row => row.principalHash === owner).map(row => row.name);
return commit(await buildRecord(principal, source, options, used));
- });
+ }, { busyTimeoutMs: 15_000 });
}