seshmux 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- GDzeogmd9itgWoR5CCkm8
1
+ CH3svYyXwHI9KBJZ30EjM
@@ -5,8 +5,8 @@
5
5
  "devFiles": [],
6
6
  "ampDevFiles": [],
7
7
  "lowPriorityFiles": [
8
- "static/GDzeogmd9itgWoR5CCkm8/_buildManifest.js",
9
- "static/GDzeogmd9itgWoR5CCkm8/_ssgManifest.js"
8
+ "static/CH3svYyXwHI9KBJZ30EjM/_buildManifest.js",
9
+ "static/CH3svYyXwHI9KBJZ30EjM/_ssgManifest.js"
10
10
  ],
11
11
  "rootMainFiles": [
12
12
  "static/chunks/webpack-f60e08036f4baea4.js",
@@ -4,8 +4,8 @@
4
4
  "dynamicRoutes": {},
5
5
  "notFoundRoutes": [],
6
6
  "preview": {
7
- "previewModeId": "16c161d2495db3a5843f8277d9d61719",
8
- "previewModeSigningKey": "80dfcbe23352af34b1f4d1276eaef44d35df37345ffb75f20d11ad39209df522",
9
- "previewModeEncryptionKey": "49f0c2848afe3f548d1edd9258654900313224d1a72b3a1ef21bccdddba439ee"
7
+ "previewModeId": "396d8e84b94df24d80701261a6b12027",
8
+ "previewModeSigningKey": "ae7512d0a590ea8c546a6297a7c6648cdc6a3b656179d99c6400670bf5564767",
9
+ "previewModeEncryptionKey": "e396bed3d7e90dd0b618dd837b91a600ae5ca21de396542833395b2b8daf0a43"
10
10
  }
11
11
  }
@@ -1 +1 @@
1
- <!DOCTYPE html><html><head><meta charSet="utf-8" data-next-head=""/><meta name="viewport" content="width=device-width" data-next-head=""/><title data-next-head="">500: Internal Server Error</title><noscript data-n-css=""></noscript><script defer="" noModule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-f60e08036f4baea4.js" defer=""></script><script src="/_next/static/chunks/framework-2c534e0e662575a2.js" defer=""></script><script src="/_next/static/chunks/main-98e65ff50a82d8a2.js" defer=""></script><script src="/_next/static/chunks/pages/_app-7d307437aca18ad4.js" defer=""></script><script src="/_next/static/chunks/pages/_error-cb2a52f75f2162e2.js" defer=""></script><script src="/_next/static/GDzeogmd9itgWoR5CCkm8/_buildManifest.js" defer=""></script><script src="/_next/static/GDzeogmd9itgWoR5CCkm8/_ssgManifest.js" defer=""></script></head><body><div id="__next"><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div style="line-height:48px"><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding-right:23px;font-size:24px;font-weight:500;vertical-align:top">500</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:28px">Internal Server Error<!-- -->.</h2></div></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"statusCode":500}},"page":"/_error","query":{},"buildId":"GDzeogmd9itgWoR5CCkm8","nextExport":true,"isFallback":false,"gip":true,"scriptLoader":[]}</script></body></html>
1
+ <!DOCTYPE html><html><head><meta charSet="utf-8" data-next-head=""/><meta name="viewport" content="width=device-width" data-next-head=""/><title data-next-head="">500: Internal Server Error</title><noscript data-n-css=""></noscript><script defer="" noModule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-f60e08036f4baea4.js" defer=""></script><script src="/_next/static/chunks/framework-2c534e0e662575a2.js" defer=""></script><script src="/_next/static/chunks/main-98e65ff50a82d8a2.js" defer=""></script><script src="/_next/static/chunks/pages/_app-7d307437aca18ad4.js" defer=""></script><script src="/_next/static/chunks/pages/_error-cb2a52f75f2162e2.js" defer=""></script><script src="/_next/static/CH3svYyXwHI9KBJZ30EjM/_buildManifest.js" defer=""></script><script src="/_next/static/CH3svYyXwHI9KBJZ30EjM/_ssgManifest.js" defer=""></script></head><body><div id="__next"><div style="font-family:system-ui,&quot;Segoe UI&quot;,Roboto,Helvetica,Arial,sans-serif,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;;height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div style="line-height:48px"><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding-right:23px;font-size:24px;font-weight:500;vertical-align:top">500</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:28px">Internal Server Error<!-- -->.</h2></div></div></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{"statusCode":500}},"page":"/_error","query":{},"buildId":"CH3svYyXwHI9KBJZ30EjM","nextExport":true,"isFallback":false,"gip":true,"scriptLoader":[]}</script></body></html>
@@ -1 +1 @@
1
- {"node":{},"edge":{},"encryptionKey":"un4mtlDlNU8+Oq1xksXlMaJ6wS8+Pwk3Gge3ha30TAM="}
1
+ {"node":{},"edge":{},"encryptionKey":"D+PV4UV6VzTohu+mkIFFcfLuEDbHq4u74QugPcLEHVI="}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "seshmux",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Local-first mission control for AI coding agents (Claude Code + Codex)",
5
5
  "bin": {
6
6
  "seshmux": "bin/seshmux.js"
@@ -276,7 +276,7 @@ async function readAll() {
276
276
  async function listAll() {
277
277
  return readAll();
278
278
  }
279
- var import_node_child_process, import_node_util, import_promises, import_node_path2, execFileP, writeChain;
279
+ var import_node_child_process, import_node_util, import_promises, import_node_path2, execFileP, writeChain, createQueue;
280
280
  var init_workspaces = __esm({
281
281
  "server/lib/workspaces.ts"() {
282
282
  "use strict";
@@ -287,6 +287,7 @@ var init_workspaces = __esm({
287
287
  init_daemon_client();
288
288
  execFileP = (0, import_node_util.promisify)(import_node_child_process.execFile);
289
289
  writeChain = Promise.resolve();
290
+ createQueue = Promise.resolve();
290
291
  }
291
292
  });
292
293
 
@@ -488,7 +488,17 @@ async function defaultBranch(repoPath) {
488
488
  const out = await git(repoPath, ["rev-parse", "--abbrev-ref", "HEAD"]);
489
489
  return out.trim() || "main";
490
490
  }
491
- async function create(repoPath) {
491
+ function create(repoPath) {
492
+ const run = createQueue.then(
493
+ () => createOne(repoPath),
494
+ () => createOne(repoPath)
495
+ // a previous create's failure must not poison the queue
496
+ );
497
+ createQueue = run.catch(() => {
498
+ });
499
+ return run;
500
+ }
501
+ async function createOne(repoPath) {
492
502
  if (!await isGitRepo(repoPath)) {
493
503
  throw new Error(`not a git repo: ${repoPath}`);
494
504
  }
@@ -652,7 +662,7 @@ async function reconcile() {
652
662
  return { records: [...surviving, ...adopted.filter((a) => !have.has(a.dir))], result: void 0 };
653
663
  });
654
664
  }
655
- var import_node_child_process, import_node_util, import_promises, import_node_fs, import_node_crypto2, import_node_path2, execFileP, ADJECTIVES, NOUNS, writeChain;
665
+ var import_node_child_process, import_node_util, import_promises, import_node_fs, import_node_crypto2, import_node_path2, execFileP, ADJECTIVES, NOUNS, writeChain, createQueue;
656
666
  var init_workspaces = __esm({
657
667
  "server/lib/workspaces.ts"() {
658
668
  "use strict";
@@ -701,6 +711,7 @@ var init_workspaces = __esm({
701
711
  "ferry"
702
712
  ];
703
713
  writeChain = Promise.resolve();
714
+ createQueue = Promise.resolve();
704
715
  }
705
716
  });
706
717
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "seshmux",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Local-first mission control for AI coding agents (Claude Code + Codex)",
5
5
  "bin": {
6
6
  "seshmux": "bin/seshmux.js"