@jlongo78/agent-spaces 1.0.5 → 1.0.7

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.
Files changed (180) hide show
  1. package/.next/standalone/.next/BUILD_ID +1 -1
  2. package/.next/standalone/.next/build-manifest.json +3 -3
  3. package/.next/standalone/.next/prerender-manifest.json +3 -3
  4. package/.next/standalone/.next/server/app/(desktop)/page.js.nft.json +1 -1
  5. package/.next/standalone/.next/server/app/_global-error.html +1 -1
  6. package/.next/standalone/.next/server/app/_global-error.rsc +1 -1
  7. package/.next/standalone/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  8. package/.next/standalone/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  9. package/.next/standalone/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  10. package/.next/standalone/.next/server/app/_not-found.html +1 -1
  11. package/.next/standalone/.next/server/app/_not-found.rsc +1 -1
  12. package/.next/standalone/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
  13. package/.next/standalone/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  14. package/.next/standalone/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
  15. package/.next/standalone/.next/server/app/admin/analytics.html +1 -1
  16. package/.next/standalone/.next/server/app/admin/analytics.rsc +1 -1
  17. package/.next/standalone/.next/server/app/admin/analytics.segments/!KGRlc2t0b3Ap/admin/analytics/__PAGE__.segment.rsc +1 -1
  18. package/.next/standalone/.next/server/app/admin/analytics.segments/_full.segment.rsc +1 -1
  19. package/.next/standalone/.next/server/app/admin/analytics.segments/_tree.segment.rsc +1 -1
  20. package/.next/standalone/.next/server/app/admin/users.html +1 -1
  21. package/.next/standalone/.next/server/app/admin/users.rsc +1 -1
  22. package/.next/standalone/.next/server/app/admin/users.segments/!KGRlc2t0b3Ap/admin/users/__PAGE__.segment.rsc +1 -1
  23. package/.next/standalone/.next/server/app/admin/users.segments/_full.segment.rsc +1 -1
  24. package/.next/standalone/.next/server/app/admin/users.segments/_tree.segment.rsc +1 -1
  25. package/.next/standalone/.next/server/app/analytics.html +1 -1
  26. package/.next/standalone/.next/server/app/analytics.rsc +1 -1
  27. package/.next/standalone/.next/server/app/analytics.segments/!KGRlc2t0b3Ap/analytics/__PAGE__.segment.rsc +1 -1
  28. package/.next/standalone/.next/server/app/analytics.segments/_full.segment.rsc +1 -1
  29. package/.next/standalone/.next/server/app/analytics.segments/_tree.segment.rsc +1 -1
  30. package/.next/standalone/.next/server/app/api/admin/analytics/route.js.nft.json +1 -1
  31. package/.next/standalone/.next/server/app/api/admin/os-users/route.js.nft.json +1 -1
  32. package/.next/standalone/.next/server/app/api/admin/users/[id]/route.js.nft.json +1 -1
  33. package/.next/standalone/.next/server/app/api/admin/users/route.js.nft.json +1 -1
  34. package/.next/standalone/.next/server/app/api/analytics/overview/route.js.nft.json +1 -1
  35. package/.next/standalone/.next/server/app/api/auth/login/route.js.nft.json +1 -1
  36. package/.next/standalone/.next/server/app/api/auth/logout/route.js.nft.json +1 -1
  37. package/.next/standalone/.next/server/app/api/auth/me/route.js.nft.json +1 -1
  38. package/.next/standalone/.next/server/app/api/auth/totp/setup/route.js.nft.json +1 -1
  39. package/.next/standalone/.next/server/app/api/auth/totp/status/route.js.nft.json +1 -1
  40. package/.next/standalone/.next/server/app/api/auth/totp/verify/route.js.nft.json +1 -1
  41. package/.next/standalone/.next/server/app/api/bulk/route.js.nft.json +1 -1
  42. package/.next/standalone/.next/server/app/api/chat/route.js.nft.json +1 -1
  43. package/.next/standalone/.next/server/app/api/claude/usage/route.js.nft.json +1 -1
  44. package/.next/standalone/.next/server/app/api/config/route.js.nft.json +1 -1
  45. package/.next/standalone/.next/server/app/api/events/route.js.nft.json +1 -1
  46. package/.next/standalone/.next/server/app/api/files/route.js.nft.json +1 -1
  47. package/.next/standalone/.next/server/app/api/folders/route.js.nft.json +1 -1
  48. package/.next/standalone/.next/server/app/api/network/discovered/route.js.nft.json +1 -1
  49. package/.next/standalone/.next/server/app/api/network/handshake/route.js.nft.json +1 -1
  50. package/.next/standalone/.next/server/app/api/network/health/route.js.nft.json +1 -1
  51. package/.next/standalone/.next/server/app/api/network/identity/route.js.nft.json +1 -1
  52. package/.next/standalone/.next/server/app/api/network/keys/[id]/route.js.nft.json +1 -1
  53. package/.next/standalone/.next/server/app/api/network/keys/route.js.nft.json +1 -1
  54. package/.next/standalone/.next/server/app/api/network/nodes/[id]/route.js.nft.json +1 -1
  55. package/.next/standalone/.next/server/app/api/network/nodes/check/route.js.nft.json +1 -1
  56. package/.next/standalone/.next/server/app/api/network/nodes/route.js.nft.json +1 -1
  57. package/.next/standalone/.next/server/app/api/network/panes/[id]/route.js.nft.json +1 -1
  58. package/.next/standalone/.next/server/app/api/network/panes/route.js.nft.json +1 -1
  59. package/.next/standalone/.next/server/app/api/network/projects/route.js.nft.json +1 -1
  60. package/.next/standalone/.next/server/app/api/network/proxy/[nodeId]/[...path]/route.js.nft.json +1 -1
  61. package/.next/standalone/.next/server/app/api/network/search/route.js.nft.json +1 -1
  62. package/.next/standalone/.next/server/app/api/network/sessions/[id]/messages/route.js.nft.json +1 -1
  63. package/.next/standalone/.next/server/app/api/network/sessions/[id]/route.js.nft.json +1 -1
  64. package/.next/standalone/.next/server/app/api/network/sessions/route.js.nft.json +1 -1
  65. package/.next/standalone/.next/server/app/api/network/workspaces/[id]/route.js.nft.json +1 -1
  66. package/.next/standalone/.next/server/app/api/network/workspaces/route.js.nft.json +1 -1
  67. package/.next/standalone/.next/server/app/api/panes/[id]/diff/route.js.nft.json +1 -1
  68. package/.next/standalone/.next/server/app/api/panes/[id]/route.js.nft.json +1 -1
  69. package/.next/standalone/.next/server/app/api/panes/route.js.nft.json +1 -1
  70. package/.next/standalone/.next/server/app/api/projects/route.js.nft.json +1 -1
  71. package/.next/standalone/.next/server/app/api/proxy/models/[modelId]/[...path]/route.js.nft.json +1 -1
  72. package/.next/standalone/.next/server/app/api/proxy/models/[modelId]/status/route.js.nft.json +1 -1
  73. package/.next/standalone/.next/server/app/api/search/route.js.nft.json +1 -1
  74. package/.next/standalone/.next/server/app/api/server-config/route.js.nft.json +1 -1
  75. package/.next/standalone/.next/server/app/api/sessions/[id]/chat/route.js.nft.json +1 -1
  76. package/.next/standalone/.next/server/app/api/sessions/[id]/messages/route.js.nft.json +1 -1
  77. package/.next/standalone/.next/server/app/api/sessions/[id]/route.js.nft.json +1 -1
  78. package/.next/standalone/.next/server/app/api/sessions/route.js.nft.json +1 -1
  79. package/.next/standalone/.next/server/app/api/sync/route.js.nft.json +1 -1
  80. package/.next/standalone/.next/server/app/api/tags/route.js.nft.json +1 -1
  81. package/.next/standalone/.next/server/app/api/tier/route.js.nft.json +1 -1
  82. package/.next/standalone/.next/server/app/api/updates/route.js.nft.json +1 -1
  83. package/.next/standalone/.next/server/app/api/whisper/route.js.nft.json +1 -1
  84. package/.next/standalone/.next/server/app/api/wizard/chat/route.js.nft.json +1 -1
  85. package/.next/standalone/.next/server/app/api/workspaces/[id]/context/[key]/route.js.nft.json +1 -1
  86. package/.next/standalone/.next/server/app/api/workspaces/[id]/context/route.js.nft.json +1 -1
  87. package/.next/standalone/.next/server/app/api/workspaces/[id]/messages/[msgId]/route.js.nft.json +1 -1
  88. package/.next/standalone/.next/server/app/api/workspaces/[id]/messages/route.js.nft.json +1 -1
  89. package/.next/standalone/.next/server/app/api/workspaces/[id]/route.js.nft.json +1 -1
  90. package/.next/standalone/.next/server/app/api/workspaces/[id]/sessions/route.js.nft.json +1 -1
  91. package/.next/standalone/.next/server/app/api/workspaces/[id]/todos/[todoId]/route.js.nft.json +1 -1
  92. package/.next/standalone/.next/server/app/api/workspaces/[id]/todos/route.js.nft.json +1 -1
  93. package/.next/standalone/.next/server/app/api/workspaces/route.js.nft.json +1 -1
  94. package/.next/standalone/.next/server/app/login.html +1 -1
  95. package/.next/standalone/.next/server/app/login.rsc +1 -1
  96. package/.next/standalone/.next/server/app/login.segments/_full.segment.rsc +1 -1
  97. package/.next/standalone/.next/server/app/login.segments/_tree.segment.rsc +1 -1
  98. package/.next/standalone/.next/server/app/login.segments/login/__PAGE__.segment.rsc +1 -1
  99. package/.next/standalone/.next/server/app/m/projects.html +1 -1
  100. package/.next/standalone/.next/server/app/m/projects.rsc +1 -1
  101. package/.next/standalone/.next/server/app/m/projects.segments/_full.segment.rsc +1 -1
  102. package/.next/standalone/.next/server/app/m/projects.segments/_tree.segment.rsc +1 -1
  103. package/.next/standalone/.next/server/app/m/projects.segments/m/projects/__PAGE__.segment.rsc +1 -1
  104. package/.next/standalone/.next/server/app/m/sessions.html +1 -1
  105. package/.next/standalone/.next/server/app/m/sessions.rsc +1 -1
  106. package/.next/standalone/.next/server/app/m/sessions.segments/_full.segment.rsc +1 -1
  107. package/.next/standalone/.next/server/app/m/sessions.segments/_tree.segment.rsc +1 -1
  108. package/.next/standalone/.next/server/app/m/sessions.segments/m/sessions/__PAGE__.segment.rsc +1 -1
  109. package/.next/standalone/.next/server/app/m/settings.html +1 -1
  110. package/.next/standalone/.next/server/app/m/settings.rsc +1 -1
  111. package/.next/standalone/.next/server/app/m/settings.segments/_full.segment.rsc +1 -1
  112. package/.next/standalone/.next/server/app/m/settings.segments/_tree.segment.rsc +1 -1
  113. package/.next/standalone/.next/server/app/m/settings.segments/m/settings/__PAGE__.segment.rsc +1 -1
  114. package/.next/standalone/.next/server/app/m/terminal.html +1 -1
  115. package/.next/standalone/.next/server/app/m/terminal.rsc +1 -1
  116. package/.next/standalone/.next/server/app/m/terminal.segments/_full.segment.rsc +1 -1
  117. package/.next/standalone/.next/server/app/m/terminal.segments/_tree.segment.rsc +1 -1
  118. package/.next/standalone/.next/server/app/m/terminal.segments/m/terminal/__PAGE__.segment.rsc +1 -1
  119. package/.next/standalone/.next/server/app/m.html +1 -1
  120. package/.next/standalone/.next/server/app/m.rsc +1 -1
  121. package/.next/standalone/.next/server/app/m.segments/_full.segment.rsc +1 -1
  122. package/.next/standalone/.next/server/app/m.segments/_tree.segment.rsc +1 -1
  123. package/.next/standalone/.next/server/app/m.segments/m/__PAGE__.segment.rsc +1 -1
  124. package/.next/standalone/.next/server/app/network.html +1 -1
  125. package/.next/standalone/.next/server/app/network.rsc +1 -1
  126. package/.next/standalone/.next/server/app/network.segments/!KGRlc2t0b3Ap/network/__PAGE__.segment.rsc +1 -1
  127. package/.next/standalone/.next/server/app/network.segments/_full.segment.rsc +1 -1
  128. package/.next/standalone/.next/server/app/network.segments/_tree.segment.rsc +1 -1
  129. package/.next/standalone/.next/server/app/projects.html +1 -1
  130. package/.next/standalone/.next/server/app/projects.rsc +1 -1
  131. package/.next/standalone/.next/server/app/projects.segments/!KGRlc2t0b3Ap/projects/__PAGE__.segment.rsc +1 -1
  132. package/.next/standalone/.next/server/app/projects.segments/_full.segment.rsc +1 -1
  133. package/.next/standalone/.next/server/app/projects.segments/_tree.segment.rsc +1 -1
  134. package/.next/standalone/.next/server/app/sessions.html +1 -1
  135. package/.next/standalone/.next/server/app/sessions.rsc +1 -1
  136. package/.next/standalone/.next/server/app/sessions.segments/!KGRlc2t0b3Ap/sessions/__PAGE__.segment.rsc +1 -1
  137. package/.next/standalone/.next/server/app/sessions.segments/_full.segment.rsc +1 -1
  138. package/.next/standalone/.next/server/app/sessions.segments/_tree.segment.rsc +1 -1
  139. package/.next/standalone/.next/server/app/settings.html +1 -1
  140. package/.next/standalone/.next/server/app/settings.rsc +1 -1
  141. package/.next/standalone/.next/server/app/settings.segments/!KGRlc2t0b3Ap/settings/__PAGE__.segment.rsc +1 -1
  142. package/.next/standalone/.next/server/app/settings.segments/_full.segment.rsc +1 -1
  143. package/.next/standalone/.next/server/app/settings.segments/_tree.segment.rsc +1 -1
  144. package/.next/standalone/.next/server/app/terminal.html +1 -1
  145. package/.next/standalone/.next/server/app/terminal.rsc +1 -1
  146. package/.next/standalone/.next/server/app/terminal.segments/!KGRlc2t0b3Ap/terminal/__PAGE__.segment.rsc +1 -1
  147. package/.next/standalone/.next/server/app/terminal.segments/_full.segment.rsc +1 -1
  148. package/.next/standalone/.next/server/app/terminal.segments/_tree.segment.rsc +1 -1
  149. package/.next/standalone/.next/server/app/vr.html +1 -1
  150. package/.next/standalone/.next/server/app/vr.rsc +1 -1
  151. package/.next/standalone/.next/server/app/vr.segments/_full.segment.rsc +1 -1
  152. package/.next/standalone/.next/server/app/vr.segments/_tree.segment.rsc +1 -1
  153. package/.next/standalone/.next/server/app/vr.segments/vr/__PAGE__.segment.rsc +1 -1
  154. package/.next/standalone/.next/server/app/workspaces.html +1 -1
  155. package/.next/standalone/.next/server/app/workspaces.rsc +1 -1
  156. package/.next/standalone/.next/server/app/workspaces.segments/!KGRlc2t0b3Ap/workspaces/__PAGE__.segment.rsc +1 -1
  157. package/.next/standalone/.next/server/app/workspaces.segments/_full.segment.rsc +1 -1
  158. package/.next/standalone/.next/server/app/workspaces.segments/_tree.segment.rsc +1 -1
  159. package/.next/standalone/.next/server/chunks/_1-inpovedul0t._.js +1 -1
  160. package/.next/standalone/.next/server/chunks/ssr/_1yl1yt70hdi7k._.js +1 -1
  161. package/.next/standalone/.next/server/edge/chunks/[root-of-the-server]__00lhc9vpmf8oy._.js +2 -2
  162. package/.next/standalone/.next/server/middleware-build-manifest.js +3 -3
  163. package/.next/standalone/.next/server/middleware-manifest.json +5 -5
  164. package/.next/standalone/.next/server/pages/404.html +1 -1
  165. package/.next/standalone/.next/server/pages/500.html +1 -1
  166. package/.next/standalone/.next/server/preview-props.json +3 -3
  167. package/.next/standalone/.next/server/server-reference-manifest.js +1 -1
  168. package/.next/standalone/.next/server/server-reference-manifest.json +1 -1
  169. package/.next/standalone/package.json +6 -6
  170. package/README.md +22 -0
  171. package/bin/lib/path-check.js +143 -0
  172. package/bin/lib/runtime/spawn-pane.js +2 -2
  173. package/bin/spaces-install.js +27 -1
  174. package/bin/spaces-postinstall.js +29 -0
  175. package/bin/spaces.js +11 -3
  176. package/bin/terminal-server.js +2 -2
  177. package/package.json +6 -6
  178. /package/.next/standalone/.next/static/{6qVfbrNMqfxdpew5EIxK4 → azrK2W2Y6LLwO8lE1ZBlb}/_buildManifest.js +0 -0
  179. /package/.next/standalone/.next/static/{6qVfbrNMqfxdpew5EIxK4 → azrK2W2Y6LLwO8lE1ZBlb}/_clientMiddlewareManifest.js +0 -0
  180. /package/.next/standalone/.next/static/{6qVfbrNMqfxdpew5EIxK4 → azrK2W2Y6LLwO8lE1ZBlb}/_ssgManifest.js +0 -0
@@ -7,9 +7,9 @@ globalThis.__BUILD_MANIFEST = {
7
7
  "static/chunks/0cz1d0mv5g_q7.js"
8
8
  ],
9
9
  "lowPriorityFiles": [
10
- "static/6qVfbrNMqfxdpew5EIxK4/_buildManifest.js",
11
- "static/6qVfbrNMqfxdpew5EIxK4/_ssgManifest.js",
12
- "static/6qVfbrNMqfxdpew5EIxK4/_clientMiddlewareManifest.js"
10
+ "static/azrK2W2Y6LLwO8lE1ZBlb/_buildManifest.js",
11
+ "static/azrK2W2Y6LLwO8lE1ZBlb/_ssgManifest.js",
12
+ "static/azrK2W2Y6LLwO8lE1ZBlb/_clientMiddlewareManifest.js"
13
13
  ],
14
14
  "rootMainFiles": [
15
15
  "static/chunks/2y6thg-ascuxk.js",
@@ -23,11 +23,11 @@
23
23
  "wasm": [],
24
24
  "assets": [],
25
25
  "env": {
26
- "__NEXT_BUILD_ID": "6qVfbrNMqfxdpew5EIxK4",
27
- "NEXT_SERVER_ACTIONS_ENCRYPTION_KEY": "nthZL94rxmX5N9jyHlaaDffMFy/k3LdOuDWKA4PmS8I=",
28
- "__NEXT_PREVIEW_MODE_ID": "f30d359610907ac58657b7d09b70377d",
29
- "__NEXT_PREVIEW_MODE_ENCRYPTION_KEY": "c08ab9714a7262042e5e5e3fc1660d46bbdefc4750a100fc86df66a142886b16",
30
- "__NEXT_PREVIEW_MODE_SIGNING_KEY": "f834f99e6a7cd9da2bc443d8612e77bb680cc757af8d4176c6201b6ab4a5833f"
26
+ "__NEXT_BUILD_ID": "azrK2W2Y6LLwO8lE1ZBlb",
27
+ "NEXT_SERVER_ACTIONS_ENCRYPTION_KEY": "o8Kw0kp0m9elxFVCvISKRDoeMx2ira4tXB0tLOX/WQI=",
28
+ "__NEXT_PREVIEW_MODE_ID": "84433336c033557818dcea59fc078923",
29
+ "__NEXT_PREVIEW_MODE_ENCRYPTION_KEY": "6ddcb91cdd8a753de24e2745f4daa175ed42c94318fe774ce9be08b58be8463f",
30
+ "__NEXT_PREVIEW_MODE_SIGNING_KEY": "1997651ba0ad3030c89d4d8e1e4e220d1134e49d11a16ca4080ff607a2eefb5b"
31
31
  }
32
32
  }
33
33
  },
@@ -1 +1 @@
1
- <!DOCTYPE html><html lang="en" class="dark"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/><link rel="stylesheet" href="/_next/static/chunks/07t-bv_pwp3nh.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/2y6thg-ascuxk.js"/><script src="/_next/static/chunks/1oizlhl9fdqt_.js" async=""></script><script src="/_next/static/chunks/1hh1kjczjaem_.js" async=""></script><script src="/_next/static/chunks/2nii411saqstq.js" async=""></script><script src="/_next/static/chunks/319md_gnd8h_q.js" async=""></script><script src="/_next/static/chunks/turbopack-2c3mg3r-05n1w.js" async=""></script><script src="/_next/static/chunks/3wsek2shhl8h9.js" async=""></script><script src="/_next/static/chunks/1p4gjn76qfpfh.js" async=""></script><meta name="robots" content="noindex"/><title>Spaces</title><meta name="description" content="Agent workspace manager for Claude, Codex, Gemini, and more"/><link rel="icon" href="/icon.png"/><meta name="next-size-adjust" content=""/><title>404: This page could not be found.</title><script src="/_next/static/chunks/0cz1d0mv5g_q7.js" noModule=""></script></head><body class="Ur3q_a_variable iaM1Ya_variable antialiased bg-zinc-950 text-zinc-100"><div hidden=""><!--$--><!--/$--></div><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>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:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><!--$--><!--/$--><script id="_R_">(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push({"otherChunks":["static/chunks/2y6thg-ascuxk.js","static/chunks/1oizlhl9fdqt_.js","static/chunks/1hh1kjczjaem_.js","static/chunks/2nii411saqstq.js","static/chunks/319md_gnd8h_q.js"],"runtimeModuleIds":[94553]});</script><script src="/_next/static/chunks/2y6thg-ascuxk.js" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:\"/_next/static/chunks/3wsek2shhl8h9.js\"\n3:\"/_next/static/chunks/1p4gjn76qfpfh.js\"\n4:I[12524,[\"$2\",\"$3\"],\"Providers\"]\n5:I[39756,[\"$2\",\"$3\"],\"default\"]\n6:I[37457,[\"$2\",\"$3\"],\"default\"]\na:I[97367,[\"$2\",\"$3\"],\"OutletBoundary\"]\nb:\"$Sreact.suspense\"\nd:\"ViewportBoundary\"\ne:I[97367,[\"$2\",\"$3\"],\"$d\"]\n10:\"MetadataBoundary\"\n11:I[97367,[\"$2\",\"$3\"],\"$10\"]\n13:I[68027,[\"$2\",\"$3\"],\"default\",1]\n:HL[\"/_next/static/chunks/07t-bv_pwp3nh.css\",\"style\"]\n8:X\n9:[[\"children\",{\"s\":\"__PAGE__\",\"h\":512,\"d\":{\"r\":[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$0:t:t:d:r:props:children:1:props:children:props:children:props:children:props:notFound:0:1:props:style\",\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"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)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":\"$0:t:t:d:r:props:children:1:props:children:props:children:props:children:props:notFound:0:1:props:children:props:children:1:props:style\",\"children\":404}],[\"$\",\"div\",null,{\"style\":\"$0:t:t:d:r:props:children:1:props:children:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:style\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$0:t:t:d:r:props:children:1:props:children:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style\",\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$La\",null,{\"children\":[\"$\",\"$b\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@c\"}]}]]}],\"p\":false,\"v\":null}}]]\n7:[[\"children\",{\"s\":\"/_not-found\",\"h\":512,\"d\":{\"r\":[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L5\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L6\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],\"p\":false,\"v\":\"$8\"},\"c\":\"$Q9\"}]]\n0:{\"P\":null,\"c\":[\"\",\"_not-found\",\"\"],\"q\":\"\",\"i\":false,\"t\":{\"t\":{\"s\":\"\",\"h\":528,\"d\":{\"r\":[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/07t-bv_pwp3nh.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/3wsek2shhl8h9.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"/_next/static/chunks/1p4gjn76qfpfh.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"className\":\"dark\",\"suppressHydrationWarning\":true,\"children\":[\"$\",\"body\",null,{\"className\":\"Ur3q_a_variable iaM1Ya_variable antialiased bg-zinc-950 text-zinc-100\",\"suppressHydrationWarning\":true,\"children\":[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$L5\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L6\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"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)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]}]}]]}],\"p\":false,\"v\":null},\"c\":\"$Q7\"},\"h\":{\"r\":[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[\"$\",\"$Le\",null,{\"children\":\"$Lf\"}],[\"$\",\"$L11\",null,{\"children\":[[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$b\",null,{\"name\":\"Next.Metadata\",\"children\":\"$L12\"}]}],null]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],\"p\":false,\"v\":null}},\"m\":\"$undefined\",\"G\":[\"$13\",[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/07t-bv_pwp3nh.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]]],\"S\":true,\"r\":\"$undefined\",\"s\":\"$undefined\",\"a\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"6qVfbrNMqfxdpew5EIxK4\"}\n8:C\nf:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1, maximum-scale=1\"}]]\n14:I[27201,[\"$2\",\"$3\"],\"IconMark\"]\nc:null\n12:[[\"$\",\"title\",\"0\",{\"children\":\"Spaces\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Agent workspace manager for Claude, Codex, Gemini, and more\"}],[\"$\",\"link\",\"2\",{\"rel\":\"icon\",\"href\":\"/icon.png\"}],[\"$\",\"$L14\",\"3\",{}]]\n"])</script></body></html>
1
+ <!DOCTYPE html><html lang="en" class="dark"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/><link rel="stylesheet" href="/_next/static/chunks/07t-bv_pwp3nh.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/2y6thg-ascuxk.js"/><script src="/_next/static/chunks/1oizlhl9fdqt_.js" async=""></script><script src="/_next/static/chunks/1hh1kjczjaem_.js" async=""></script><script src="/_next/static/chunks/2nii411saqstq.js" async=""></script><script src="/_next/static/chunks/319md_gnd8h_q.js" async=""></script><script src="/_next/static/chunks/turbopack-2c3mg3r-05n1w.js" async=""></script><script src="/_next/static/chunks/3wsek2shhl8h9.js" async=""></script><script src="/_next/static/chunks/1p4gjn76qfpfh.js" async=""></script><meta name="robots" content="noindex"/><title>Spaces</title><meta name="description" content="Agent workspace manager for Claude, Codex, Gemini, and more"/><link rel="icon" href="/icon.png"/><meta name="next-size-adjust" content=""/><title>404: This page could not be found.</title><script src="/_next/static/chunks/0cz1d0mv5g_q7.js" noModule=""></script></head><body class="Ur3q_a_variable iaM1Ya_variable antialiased bg-zinc-950 text-zinc-100"><div hidden=""><!--$--><!--/$--></div><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>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:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><!--$--><!--/$--><script id="_R_">(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push({"otherChunks":["static/chunks/2y6thg-ascuxk.js","static/chunks/1oizlhl9fdqt_.js","static/chunks/1hh1kjczjaem_.js","static/chunks/2nii411saqstq.js","static/chunks/319md_gnd8h_q.js"],"runtimeModuleIds":[94553]});</script><script src="/_next/static/chunks/2y6thg-ascuxk.js" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:\"/_next/static/chunks/3wsek2shhl8h9.js\"\n3:\"/_next/static/chunks/1p4gjn76qfpfh.js\"\n4:I[12524,[\"$2\",\"$3\"],\"Providers\"]\n5:I[39756,[\"$2\",\"$3\"],\"default\"]\n6:I[37457,[\"$2\",\"$3\"],\"default\"]\na:I[97367,[\"$2\",\"$3\"],\"OutletBoundary\"]\nb:\"$Sreact.suspense\"\nd:\"ViewportBoundary\"\ne:I[97367,[\"$2\",\"$3\"],\"$d\"]\n10:\"MetadataBoundary\"\n11:I[97367,[\"$2\",\"$3\"],\"$10\"]\n13:I[68027,[\"$2\",\"$3\"],\"default\",1]\n:HL[\"/_next/static/chunks/07t-bv_pwp3nh.css\",\"style\"]\n8:X\n9:[[\"children\",{\"s\":\"__PAGE__\",\"h\":512,\"d\":{\"r\":[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$0:t:t:d:r:props:children:1:props:children:props:children:props:children:props:notFound:0:1:props:style\",\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"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)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":\"$0:t:t:d:r:props:children:1:props:children:props:children:props:children:props:notFound:0:1:props:children:props:children:1:props:style\",\"children\":404}],[\"$\",\"div\",null,{\"style\":\"$0:t:t:d:r:props:children:1:props:children:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:style\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$0:t:t:d:r:props:children:1:props:children:props:children:props:children:props:notFound:0:1:props:children:props:children:2:props:children:props:style\",\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$La\",null,{\"children\":[\"$\",\"$b\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@c\"}]}]]}],\"p\":false,\"v\":null}}]]\n7:[[\"children\",{\"s\":\"/_not-found\",\"h\":512,\"d\":{\"r\":[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L5\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L6\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],\"p\":false,\"v\":\"$8\"},\"c\":\"$Q9\"}]]\n0:{\"P\":null,\"c\":[\"\",\"_not-found\",\"\"],\"q\":\"\",\"i\":false,\"t\":{\"t\":{\"s\":\"\",\"h\":528,\"d\":{\"r\":[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/07t-bv_pwp3nh.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-0\",{\"src\":\"/_next/static/chunks/3wsek2shhl8h9.js\",\"async\":true,\"nonce\":\"$undefined\"}],[\"$\",\"script\",\"script-1\",{\"src\":\"/_next/static/chunks/1p4gjn76qfpfh.js\",\"async\":true,\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"className\":\"dark\",\"suppressHydrationWarning\":true,\"children\":[\"$\",\"body\",null,{\"className\":\"Ur3q_a_variable iaM1Ya_variable antialiased bg-zinc-950 text-zinc-100\",\"suppressHydrationWarning\":true,\"children\":[\"$\",\"$L4\",null,{\"children\":[\"$\",\"$L5\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L6\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"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)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],[]],\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]}]}]]}],\"p\":false,\"v\":null},\"c\":\"$Q7\"},\"h\":{\"r\":[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[\"$\",\"$Le\",null,{\"children\":\"$Lf\"}],[\"$\",\"$L11\",null,{\"children\":[[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$b\",null,{\"name\":\"Next.Metadata\",\"children\":\"$L12\"}]}],null]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],\"p\":false,\"v\":null}},\"m\":\"$undefined\",\"G\":[\"$13\",[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/chunks/07t-bv_pwp3nh.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]]],\"S\":true,\"r\":\"$undefined\",\"s\":\"$undefined\",\"a\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"azrK2W2Y6LLwO8lE1ZBlb\"}\n8:C\nf:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1, maximum-scale=1\"}]]\n14:I[27201,[\"$2\",\"$3\"],\"IconMark\"]\nc:null\n12:[[\"$\",\"title\",\"0\",{\"children\":\"Spaces\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"Agent workspace manager for Claude, Codex, Gemini, and more\"}],[\"$\",\"link\",\"2\",{\"rel\":\"icon\",\"href\":\"/icon.png\"}],[\"$\",\"$L14\",\"3\",{}]]\n"])</script></body></html>
@@ -1 +1 @@
1
- <!DOCTYPE html><html id="__next_error__"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/2y6thg-ascuxk.js"/><script src="/_next/static/chunks/1oizlhl9fdqt_.js" async=""></script><script src="/_next/static/chunks/1hh1kjczjaem_.js" async=""></script><script src="/_next/static/chunks/2nii411saqstq.js" async=""></script><script src="/_next/static/chunks/319md_gnd8h_q.js" async=""></script><script src="/_next/static/chunks/turbopack-2c3mg3r-05n1w.js" async=""></script><script src="/_next/static/chunks/30g0jo299pr8e.js" async=""></script><meta name="next-size-adjust" content=""/><title>500: This page couldn’t load</title><style>:root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }</style><script src="/_next/static/chunks/0cz1d0mv5g_q7.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><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;display:flex;align-items:center;justify-content:center"><div style="margin-top:-32px;max-width:325px;padding:32px 28px;text-align:left"><svg width="32" height="32" viewBox="-0.2 -1.5 32 32" fill="none" style="margin-bottom:24px"><path d="M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z" fill="var(--next-error-title)"></path></svg><h1 style="font-size:24px;font-weight:500;letter-spacing:-0.02em;line-height:32px;margin:0 0 12px 0;color:var(--next-error-title)">This page couldn’t load</h1><p style="font-size:14px;font-weight:400;line-height:21px;margin:0 0 20px 0;color:var(--next-error-message)">A server error occurred. Reload to try again.</p><form style="margin:0"><button type="submit" style="display:inline-flex;align-items:center;justify-content:center;height:32px;padding:0 12px;font-size:14px;font-weight:500;line-height:20px;border-radius:6px;cursor:pointer;color:var(--next-error-btn-text);background:var(--next-error-btn-bg);border:var(--next-error-btn-border)">Reload</button></form></div></div><!--$--><!--/$--><script id="_R_">(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push({"otherChunks":["static/chunks/2y6thg-ascuxk.js","static/chunks/1oizlhl9fdqt_.js","static/chunks/1hh1kjczjaem_.js","static/chunks/2nii411saqstq.js","static/chunks/319md_gnd8h_q.js"],"runtimeModuleIds":[94553]});</script><script src="/_next/static/chunks/2y6thg-ascuxk.js" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:\"/_next/static/chunks/30g0jo299pr8e.js\"\n3:I[39756,[\"$2\"],\"default\"]\n4:I[37457,[\"$2\"],\"default\"]\n7:I[97367,[\"$2\"],\"OutletBoundary\"]\n8:\"$Sreact.suspense\"\na:\"ViewportBoundary\"\nb:I[97367,[\"$2\"],\"$a\"]\nd:\"MetadataBoundary\"\ne:I[97367,[\"$2\"],\"$d\"]\n10:I[68027,[\"$2\"],\"default\",1]\n5:X\n6:[[\"children\",{\"s\":\"__PAGE__\",\"h\":528,\"d\":{\"r\":[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"html\",null,{\"id\":\"__next_error__\",\"children\":[[\"$\",\"head\",null,{\"children\":[[\"$\",\"title\",null,{\"children\":\"500: This page couldn’t load\"}],[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\":root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }\"}}]]}],[\"$\",\"body\",null,{\"children\":[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"display\":\"flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"style\":{\"marginTop\":\"-32px\",\"maxWidth\":\"325px\",\"padding\":\"32px 28px\",\"textAlign\":\"left\"},\"children\":[[\"$\",\"svg\",null,{\"width\":\"32\",\"height\":\"32\",\"viewBox\":\"-0.2 -1.5 32 32\",\"fill\":\"none\",\"style\":{\"marginBottom\":\"24px\"},\"children\":[\"$\",\"path\",null,{\"d\":\"M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z\",\"fill\":\"var(--next-error-title)\"}]}],[\"$\",\"h1\",null,{\"style\":{\"fontSize\":\"24px\",\"fontWeight\":500,\"letterSpacing\":\"-0.02em\",\"lineHeight\":\"32px\",\"margin\":\"0 0 12px 0\",\"color\":\"var(--next-error-title)\"},\"children\":\"This page couldn’t load\"}],[\"$\",\"p\",null,{\"style\":{\"fontSize\":\"14px\",\"fontWeight\":400,\"lineHeight\":\"21px\",\"margin\":\"0 0 20px 0\",\"color\":\"var(--next-error-message)\"},\"children\":\"A server error occurred. Reload to try again.\"}],[\"$\",\"form\",null,{\"style\":{\"margin\":0},\"children\":[\"$\",\"button\",null,{\"type\":\"submit\",\"style\":{\"display\":\"inline-flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\",\"height\":\"32px\",\"padding\":\"0 12px\",\"fontSize\":\"14px\",\"fontWeight\":500,\"lineHeight\":\"20px\",\"borderRadius\":\"6px\",\"cursor\":\"pointer\",\"color\":\"var(--next-error-btn-text)\",\"background\":\"var(--next-error-btn-bg)\",\"border\":\"var(--next-error-btn-border)\"},\"children\":\"Reload\"}]}]]}]}]}]]}],null,[\"$\",\"$L7\",null,{\"children\":[\"$\",\"$8\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@9\"}]}]]}],\"p\":false,\"v\":null}}]]\n0:{\"P\":null,\"c\":[\"\",\"_global-error\",\"\"],\"q\":\"\",\"i\":false,\"t\":{\"t\":{\"s\":\"\",\"h\":528,\"d\":{\"r\":[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L3\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L4\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],\"p\":false,\"v\":\"$5\"},\"c\":\"$Q6\"},\"h\":{\"r\":[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$Lb\",null,{\"children\":\"$Lc\"}],[\"$\",\"$Le\",null,{\"children\":[[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$8\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lf\"}]}],null]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],\"p\":false,\"v\":null}},\"m\":\"$undefined\",\"G\":[\"$10\",[]],\"S\":true,\"r\":\"$undefined\",\"s\":\"$undefined\",\"a\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"6qVfbrNMqfxdpew5EIxK4\"}\n5:C\nc:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n9:null\nf:[]\n"])</script></body></html>
1
+ <!DOCTYPE html><html id="__next_error__"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/2y6thg-ascuxk.js"/><script src="/_next/static/chunks/1oizlhl9fdqt_.js" async=""></script><script src="/_next/static/chunks/1hh1kjczjaem_.js" async=""></script><script src="/_next/static/chunks/2nii411saqstq.js" async=""></script><script src="/_next/static/chunks/319md_gnd8h_q.js" async=""></script><script src="/_next/static/chunks/turbopack-2c3mg3r-05n1w.js" async=""></script><script src="/_next/static/chunks/30g0jo299pr8e.js" async=""></script><meta name="next-size-adjust" content=""/><title>500: This page couldn’t load</title><style>:root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }</style><script src="/_next/static/chunks/0cz1d0mv5g_q7.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><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;display:flex;align-items:center;justify-content:center"><div style="margin-top:-32px;max-width:325px;padding:32px 28px;text-align:left"><svg width="32" height="32" viewBox="-0.2 -1.5 32 32" fill="none" style="margin-bottom:24px"><path d="M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z" fill="var(--next-error-title)"></path></svg><h1 style="font-size:24px;font-weight:500;letter-spacing:-0.02em;line-height:32px;margin:0 0 12px 0;color:var(--next-error-title)">This page couldn’t load</h1><p style="font-size:14px;font-weight:400;line-height:21px;margin:0 0 20px 0;color:var(--next-error-message)">A server error occurred. Reload to try again.</p><form style="margin:0"><button type="submit" style="display:inline-flex;align-items:center;justify-content:center;height:32px;padding:0 12px;font-size:14px;font-weight:500;line-height:20px;border-radius:6px;cursor:pointer;color:var(--next-error-btn-text);background:var(--next-error-btn-bg);border:var(--next-error-btn-border)">Reload</button></form></div></div><!--$--><!--/$--><script id="_R_">(globalThis["TURBOPACK"] || (globalThis["TURBOPACK"] = [])).push({"otherChunks":["static/chunks/2y6thg-ascuxk.js","static/chunks/1oizlhl9fdqt_.js","static/chunks/1hh1kjczjaem_.js","static/chunks/2nii411saqstq.js","static/chunks/319md_gnd8h_q.js"],"runtimeModuleIds":[94553]});</script><script src="/_next/static/chunks/2y6thg-ascuxk.js" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:\"/_next/static/chunks/30g0jo299pr8e.js\"\n3:I[39756,[\"$2\"],\"default\"]\n4:I[37457,[\"$2\"],\"default\"]\n7:I[97367,[\"$2\"],\"OutletBoundary\"]\n8:\"$Sreact.suspense\"\na:\"ViewportBoundary\"\nb:I[97367,[\"$2\"],\"$a\"]\nd:\"MetadataBoundary\"\ne:I[97367,[\"$2\"],\"$d\"]\n10:I[68027,[\"$2\"],\"default\",1]\n5:X\n6:[[\"children\",{\"s\":\"__PAGE__\",\"h\":528,\"d\":{\"r\":[\"$\",\"$1\",\"c\",{\"children\":[[\"$\",\"html\",null,{\"id\":\"__next_error__\",\"children\":[[\"$\",\"head\",null,{\"children\":[[\"$\",\"title\",null,{\"children\":\"500: This page couldn’t load\"}],[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\":root {--next-error-bg: #fff;--next-error-text: #171717;--next-error-title: #171717;--next-error-message: #171717;--next-error-digest: #666666;--next-error-btn-text: #fff;--next-error-btn-bg: #171717;--next-error-btn-border: none;--next-error-btn-secondary-text: #171717;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(0,0,0,0.08);}@media (prefers-color-scheme: dark) {:root {--next-error-bg: #0a0a0a;--next-error-text: #ededed;--next-error-title: #ededed;--next-error-message: #ededed;--next-error-digest: #a0a0a0;--next-error-btn-text: #0a0a0a;--next-error-btn-bg: #ededed;--next-error-btn-border: none;--next-error-btn-secondary-text: #ededed;--next-error-btn-secondary-bg: transparent;--next-error-btn-secondary-border: 1px solid rgba(255,255,255,0.14);}}body { margin: 0; color: var(--next-error-text); background: var(--next-error-bg); }\"}}]]}],[\"$\",\"body\",null,{\"children\":[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"display\":\"flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"style\":{\"marginTop\":\"-32px\",\"maxWidth\":\"325px\",\"padding\":\"32px 28px\",\"textAlign\":\"left\"},\"children\":[[\"$\",\"svg\",null,{\"width\":\"32\",\"height\":\"32\",\"viewBox\":\"-0.2 -1.5 32 32\",\"fill\":\"none\",\"style\":{\"marginBottom\":\"24px\"},\"children\":[\"$\",\"path\",null,{\"d\":\"M16.9328 0C18.0839 0.000116771 19.1334 0.658832 19.634 1.69531L31.4299 26.1309C32.0708 27.4588 31.1036 28.9999 29.6291 29H2.00215C0.527541 29 -0.439628 27.4588 0.201371 26.1309L11.9973 1.69531C12.4979 0.658823 13.5474 7.75066e-05 14.6984 0H16.9328ZM3.59493 26H28.0363L16.9328 3H14.6984L3.59493 26ZM15.8156 19C16.9202 19.0001 17.8156 19.8955 17.8156 21C17.8156 22.1045 16.9202 22.9999 15.8156 23C14.7111 23 13.8156 22.1046 13.8156 21C13.8156 19.8954 14.7111 19 15.8156 19ZM17.3156 16.5H14.3156V8.5H17.3156V16.5Z\",\"fill\":\"var(--next-error-title)\"}]}],[\"$\",\"h1\",null,{\"style\":{\"fontSize\":\"24px\",\"fontWeight\":500,\"letterSpacing\":\"-0.02em\",\"lineHeight\":\"32px\",\"margin\":\"0 0 12px 0\",\"color\":\"var(--next-error-title)\"},\"children\":\"This page couldn’t load\"}],[\"$\",\"p\",null,{\"style\":{\"fontSize\":\"14px\",\"fontWeight\":400,\"lineHeight\":\"21px\",\"margin\":\"0 0 20px 0\",\"color\":\"var(--next-error-message)\"},\"children\":\"A server error occurred. Reload to try again.\"}],[\"$\",\"form\",null,{\"style\":{\"margin\":0},\"children\":[\"$\",\"button\",null,{\"type\":\"submit\",\"style\":{\"display\":\"inline-flex\",\"alignItems\":\"center\",\"justifyContent\":\"center\",\"height\":\"32px\",\"padding\":\"0 12px\",\"fontSize\":\"14px\",\"fontWeight\":500,\"lineHeight\":\"20px\",\"borderRadius\":\"6px\",\"cursor\":\"pointer\",\"color\":\"var(--next-error-btn-text)\",\"background\":\"var(--next-error-btn-bg)\",\"border\":\"var(--next-error-btn-border)\"},\"children\":\"Reload\"}]}]]}]}]}]]}],null,[\"$\",\"$L7\",null,{\"children\":[\"$\",\"$8\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@9\"}]}]]}],\"p\":false,\"v\":null}}]]\n0:{\"P\":null,\"c\":[\"\",\"_global-error\",\"\"],\"q\":\"\",\"i\":false,\"t\":{\"t\":{\"s\":\"\",\"h\":528,\"d\":{\"r\":[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L3\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L4\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],\"p\":false,\"v\":\"$5\"},\"c\":\"$Q6\"},\"h\":{\"r\":[\"$\",\"$1\",\"h\",{\"children\":[null,[\"$\",\"$Lb\",null,{\"children\":\"$Lc\"}],[\"$\",\"$Le\",null,{\"children\":[[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$8\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lf\"}]}],null]}],[\"$\",\"meta\",null,{\"name\":\"next-size-adjust\",\"content\":\"\"}]]}],\"p\":false,\"v\":null}},\"m\":\"$undefined\",\"G\":[\"$10\",[]],\"S\":true,\"r\":\"$undefined\",\"s\":\"$undefined\",\"a\":\"$undefined\",\"l\":\"$undefined\",\"p\":\"$undefined\",\"d\":\"$undefined\",\"b\":\"azrK2W2Y6LLwO8lE1ZBlb\"}\n5:C\nc:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n9:null\nf:[]\n"])</script></body></html>
@@ -1,5 +1,5 @@
1
1
  {
2
- "previewModeId": "f30d359610907ac58657b7d09b70377d",
3
- "previewModeSigningKey": "f834f99e6a7cd9da2bc443d8612e77bb680cc757af8d4176c6201b6ab4a5833f",
4
- "previewModeEncryptionKey": "c08ab9714a7262042e5e5e3fc1660d46bbdefc4750a100fc86df66a142886b16"
2
+ "previewModeId": "84433336c033557818dcea59fc078923",
3
+ "previewModeSigningKey": "1997651ba0ad3030c89d4d8e1e4e220d1134e49d11a16ca4080ff607a2eefb5b",
4
+ "previewModeEncryptionKey": "6ddcb91cdd8a753de24e2745f4daa175ed42c94318fe774ce9be08b58be8463f"
5
5
  }
@@ -1 +1 @@
1
- self.__RSC_SERVER_MANIFEST="{\n \"node\": {},\n \"edge\": {},\n \"encryptionKey\": \"nthZL94rxmX5N9jyHlaaDffMFy/k3LdOuDWKA4PmS8I=\"\n}"
1
+ self.__RSC_SERVER_MANIFEST="{\n \"node\": {},\n \"edge\": {},\n \"encryptionKey\": \"o8Kw0kp0m9elxFVCvISKRDoeMx2ira4tXB0tLOX/WQI=\"\n}"
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "node": {},
3
3
  "edge": {},
4
- "encryptionKey": "nthZL94rxmX5N9jyHlaaDffMFy/k3LdOuDWKA4PmS8I="
4
+ "encryptionKey": "o8Kw0kp0m9elxFVCvISKRDoeMx2ira4tXB0tLOX/WQI="
5
5
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jlongo78/agent-spaces",
3
- "version": "1.0.5",
3
+ "version": "1.0.7",
4
4
  "description": "Agent workspace manager for Claude, Codex, Gemini, and more",
5
5
  "bin": {
6
6
  "spaces": "./bin/spaces.js",
@@ -122,11 +122,11 @@
122
122
  "xterm": "^5.3.0"
123
123
  },
124
124
  "optionalDependencies": {
125
- "@jlongo78/agent-spaces-tui-darwin-arm64": "1.0.5",
126
- "@jlongo78/agent-spaces-tui-darwin-x64": "1.0.5",
127
- "@jlongo78/agent-spaces-tui-linux-arm64": "1.0.5",
128
- "@jlongo78/agent-spaces-tui-linux-x64": "1.0.5",
129
- "@jlongo78/agent-spaces-tui-win32-x64": "1.0.5",
125
+ "@jlongo78/agent-spaces-tui-darwin-arm64": "1.0.7",
126
+ "@jlongo78/agent-spaces-tui-darwin-x64": "1.0.7",
127
+ "@jlongo78/agent-spaces-tui-linux-arm64": "1.0.7",
128
+ "@jlongo78/agent-spaces-tui-linux-x64": "1.0.7",
129
+ "@jlongo78/agent-spaces-tui-win32-x64": "1.0.7",
130
130
  "otpauth": "^9.5.0",
131
131
  "qrcode": "^1.5.4"
132
132
  }
package/README.md CHANGED
@@ -55,6 +55,21 @@ reattach from somewhere else: it is the same session the whole time.
55
55
 
56
56
  ## Install
57
57
 
58
+ macOS and Linux:
59
+
60
+ ```bash
61
+ curl -fsSL https://agentspaces.co/install.sh | sh
62
+ ```
63
+
64
+ Windows (PowerShell):
65
+
66
+ ```powershell
67
+ irm https://agentspaces.co/install.ps1 | iex
68
+ ```
69
+
70
+ The installers set up Node.js if you need it (and, on Linux, the build
71
+ tools), asking first. With Node.js already installed, npm works too:
72
+
58
73
  ```bash
59
74
  npm install -g @jlongo78/agent-spaces
60
75
  ```
@@ -71,6 +86,13 @@ This installs two commands: `spaces` and `spaces-msg`.
71
86
  - At least one coding agent on your `PATH` (see [Agents](#agents)), or just
72
87
  use plain shell panes.
73
88
 
89
+ If npm's command folder is not on your `PATH` (Node installed some way
90
+ other than its installer, a custom npm prefix, or a terminal opened before
91
+ Node was installed), the install says so and prints the line that makes
92
+ `spaces` work in the terminal you are in. On Windows it also adds the
93
+ folder to your user `PATH`, as Node's installer does, so every new terminal
94
+ has it; set `SPACES_NO_PATH_FIX=1` to install without that.
95
+
74
96
  ## Quick start
75
97
 
76
98
  ```bash
@@ -0,0 +1,143 @@
1
+ 'use strict';
2
+
3
+ // After `npm install -g`, is `spaces` runnable? npm puts its commands in
4
+ // one folder (the prefix itself on Windows, `<prefix>/bin` elsewhere), and
5
+ // that folder is not always on PATH: Node installed some other way than its
6
+ // installer, a custom prefix, or a terminal opened before the installer
7
+ // changed PATH. Then the install succeeds and `spaces` is "not recognized".
8
+ //
9
+ // The postinstall hook uses this to check, to put the folder on the user's
10
+ // PATH on Windows (what Node's own installer does), and to say how to run
11
+ // Spaces right away. A process cannot change its parent shell's PATH, so the
12
+ // terminal that ran npm needs the one line printed here, or a new terminal.
13
+
14
+ const fs = require('fs');
15
+ const path = require('path');
16
+ const { execFileSync } = require('child_process');
17
+
18
+ /**
19
+ * The npm prefix this package was installed under, from where it sits:
20
+ * `<prefix>/node_modules/@jlongo78/agent-spaces` on Windows,
21
+ * `<prefix>/lib/node_modules/...` elsewhere. Null for a checkout or a link.
22
+ */
23
+ function installPrefix(packageRoot, platform = process.platform) {
24
+ const p = platform === 'win32' ? path.win32 : path.posix;
25
+ const globalModules = p.resolve(packageRoot, '..', '..');
26
+ if (p.basename(globalModules) !== 'node_modules') return null;
27
+ return platform === 'win32' ? p.dirname(globalModules) : p.dirname(p.dirname(globalModules));
28
+ }
29
+
30
+ /** Where npm put the `spaces` command for a global install under `prefix`. */
31
+ function globalBinDir(prefix, platform = process.platform) {
32
+ if (!prefix) return null;
33
+ return platform === 'win32' ? prefix : path.posix.join(prefix, 'bin');
34
+ }
35
+
36
+ function normalize(dir, platform) {
37
+ let d = String(dir).trim().replace(/^"(.*)"$/, '$1');
38
+ if (platform === 'win32') {
39
+ d = d.replace(/\//g, '\\').replace(/\\+$/, '').toLowerCase();
40
+ } else {
41
+ d = d.replace(/\/+$/, '');
42
+ }
43
+ return d;
44
+ }
45
+
46
+ /** Whether `dir` is one of the entries of the PATH string `pathValue`. */
47
+ function onPath(dir, pathValue, platform = process.platform) {
48
+ if (!dir || !pathValue) return false;
49
+ const want = normalize(dir, platform);
50
+ const sep = platform === 'win32' ? ';' : ':';
51
+ return String(pathValue).split(sep).some((p) => p && normalize(p, platform) === want);
52
+ }
53
+
54
+ /** The PATH of the user's own environment on Windows (the registry), or null. */
55
+ function readUserPath(run = execFileSync, name = 'Path') {
56
+ try {
57
+ const out = run('powershell.exe', ['-NoProfile', '-NonInteractive', '-Command',
58
+ "[Environment]::GetEnvironmentVariable($env:SPACES_VAR_NAME,'User')"],
59
+ { encoding: 'utf-8', timeout: 15000, windowsHide: true, env: { ...process.env, SPACES_VAR_NAME: name } });
60
+ return String(out).trim();
61
+ } catch {
62
+ return null;
63
+ }
64
+ }
65
+
66
+ /**
67
+ * Appends `dir` to the user's PATH on Windows. Through .NET rather than
68
+ * `setx`, which truncates at 1024 characters, and which, unlike this, does
69
+ * not tell open programs (Explorer, new terminals) that PATH changed. The
70
+ * folder travels in an environment variable, never in the command text.
71
+ */
72
+ function addToUserPath(dir, run = execFileSync, name = 'Path') {
73
+ try {
74
+ run('powershell.exe', ['-NoProfile', '-NonInteractive', '-Command',
75
+ "$d = $env:SPACES_BIN_DIR; $n = $env:SPACES_VAR_NAME; $p = [Environment]::GetEnvironmentVariable($n,'User'); " +
76
+ "if (-not $p) { $p = $d } elseif (($p -split ';') -notcontains $d) { $p = $p.TrimEnd(';') + ';' + $d }; " +
77
+ "[Environment]::SetEnvironmentVariable($n, $p, 'User')"],
78
+ { encoding: 'utf-8', timeout: 15000, windowsHide: true, env: { ...process.env, SPACES_BIN_DIR: dir, SPACES_VAR_NAME: name } });
79
+ return true;
80
+ } catch {
81
+ return false;
82
+ }
83
+ }
84
+
85
+ /** The lines that make `spaces` runnable in the terminal that ran npm. */
86
+ function thisTerminalLines(dir, platform = process.platform) {
87
+ if (platform === 'win32') {
88
+ return [
89
+ `PowerShell: $env:Path = "${dir};" + $env:Path`,
90
+ `cmd: set "PATH=${dir};%PATH%"`,
91
+ ];
92
+ }
93
+ return [`export PATH="${dir}:$PATH"`];
94
+ }
95
+
96
+ /**
97
+ * What to tell the user, and whether to fix the user PATH, given where npm
98
+ * put the command and the two PATHs that matter: this terminal's, and (on
99
+ * Windows) the one new terminals will get. Pure, for tests.
100
+ *
101
+ * @returns {null | { addToUserPath: boolean, lines: string[] }}
102
+ */
103
+ function plan({ dir, terminalPath, userPath, platform = process.platform, allowFix = true }) {
104
+ if (!dir || onPath(dir, terminalPath, platform)) return null;
105
+ const lines = [];
106
+ let fix = false;
107
+ if (platform === 'win32') {
108
+ const inUser = userPath !== null && onPath(dir, userPath, platform);
109
+ if (!inUser && allowFix && userPath !== null) {
110
+ fix = true;
111
+ lines.push(`Added ${dir} to your PATH, so "spaces" works in every new terminal.`);
112
+ } else if (!inUser) {
113
+ lines.push(`"spaces" is in ${dir}, which is not on your PATH. Add it in`);
114
+ lines.push('Settings > System > About > Advanced system settings > Environment Variables.');
115
+ } else {
116
+ lines.push('"spaces" works in any new terminal.');
117
+ }
118
+ lines.push('To use it in this terminal now, run:');
119
+ } else {
120
+ lines.push(`"spaces" is in ${dir}, which is not on your PATH.`);
121
+ lines.push('Add this line to your shell profile (~/.bashrc, ~/.zshrc), and run it now:');
122
+ }
123
+ return { addToUserPath: fix, lines: [...lines, ...thisTerminalLines(dir, platform).map((l) => ` ${l}`)] };
124
+ }
125
+
126
+ /**
127
+ * Writes to the terminal itself. npm hides what install scripts print unless
128
+ * they fail, and a message about how to run the thing just installed is
129
+ * worth getting past that. Falls back to stderr where there is no terminal.
130
+ */
131
+ function sayToTerminal(text, platform = process.platform) {
132
+ const device = platform === 'win32' ? '\\\\.\\CONOUT$' : '/dev/tty';
133
+ try {
134
+ const fd = fs.openSync(device, 'w');
135
+ try { fs.writeSync(fd, text); } finally { fs.closeSync(fd); }
136
+ return true;
137
+ } catch {
138
+ try { process.stderr.write(text); } catch { /* nowhere to say it */ }
139
+ return false;
140
+ }
141
+ }
142
+
143
+ module.exports = { installPrefix, globalBinDir, onPath, readUserPath, addToUserPath, thisTerminalLines, plan, sayToTerminal };
@@ -113,7 +113,7 @@ function findGitBash() {
113
113
  if (p && fs.existsSync(p)) return p;
114
114
  }
115
115
  try {
116
- const result = require('child_process').execSync('where bash.exe 2>nul', { encoding: 'utf-8', timeout: 3000 });
116
+ const result = require('child_process').execSync('where bash.exe 2>nul', { encoding: 'utf-8', timeout: 3000, windowsHide: true });
117
117
  const first = result.trim().split('\n')[0].trim();
118
118
  if (first && first.toLowerCase().includes('git') && fs.existsSync(first)) return first;
119
119
  } catch { /* not found */ }
@@ -132,7 +132,7 @@ function findSshBinary() {
132
132
  const gitSSH = 'C:\\Program Files\\Git\\usr\\bin\\ssh.exe';
133
133
  if (fs.existsSync(gitSSH)) return gitSSH;
134
134
  try {
135
- const result = require('child_process').execSync('where ssh.exe 2>nul', { encoding: 'utf-8', timeout: 3000 });
135
+ const result = require('child_process').execSync('where ssh.exe 2>nul', { encoding: 'utf-8', timeout: 3000, windowsHide: true });
136
136
  const first = result.trim().split('\n')[0].trim();
137
137
  if (first && fs.existsSync(first)) return first;
138
138
  } catch { /* not found */ }
@@ -36,6 +36,24 @@ function logOk(msg) { console.log(` ✓ ${msg}`); }
36
36
  function logErr(msg) { console.error(` ✗ ${msg}`); }
37
37
  function logWarn(msg) { console.log(` ! ${msg}`); }
38
38
 
39
+ /**
40
+ * `--prefix` for npm when this copy was installed somewhere other than
41
+ * npm's global folder — ~/.local, where `spaces --remote` and the install
42
+ * script put it when that folder needs root — so an upgrade replaces this
43
+ * copy instead of failing to write the root-owned one.
44
+ */
45
+ function samePlaceArgs() {
46
+ const { installPrefix } = require('./lib/path-check');
47
+ const here = installPrefix(path.join(__dirname, '..'));
48
+ if (!here) return [];
49
+ let globalPrefix = '';
50
+ try { globalPrefix = String(run('npm', ['prefix', '-g'], { quiet: true })).trim(); } catch { /* use ours */ }
51
+ const same = (a, b) => process.platform === 'win32'
52
+ ? path.resolve(a).toLowerCase() === path.resolve(b).toLowerCase()
53
+ : path.resolve(a) === path.resolve(b);
54
+ return globalPrefix && same(here, globalPrefix) ? [] : ['--prefix', here];
55
+ }
56
+
39
57
  function run(cmd, args, opts = {}) {
40
58
  const isWin = process.platform === 'win32';
41
59
  const safeArgs = isWin
@@ -50,6 +68,14 @@ function run(cmd, args, opts = {}) {
50
68
  }
51
69
 
52
70
  function restartServiceIfRunning() {
71
+ // Only through a registered service: `spaces service stop` kills the
72
+ // processes on the Spaces ports, so with no service it would take down a
73
+ // server started by hand and start nothing in its place.
74
+ const { serviceInstalled } = require('./lib/service-registration');
75
+ if (!serviceInstalled()) {
76
+ log('If Spaces is running, "spaces restart" puts the new version in charge.');
77
+ return;
78
+ }
53
79
  const serviceScript = path.join(__dirname, 'spaces-service.js');
54
80
  try {
55
81
  log('Restarting service...');
@@ -86,7 +112,7 @@ function upgradeCorePackage() {
86
112
 
87
113
  log(`Upgrading ${CORE_PACKAGE}: ${currentVersion} → ${latestVersion}`);
88
114
  try {
89
- run('npm', ['install', '-g', `${CORE_PACKAGE}@latest`]);
115
+ run('npm', ['install', '-g', ...samePlaceArgs(), `${CORE_PACKAGE}@latest`]);
90
116
  logOk(`${CORE_PACKAGE} upgraded to ${latestVersion}`);
91
117
  } catch (err) {
92
118
  logErr(`Failed to upgrade ${CORE_PACKAGE}: ${err.message}`);
@@ -39,6 +39,35 @@ try {
39
39
  log(`Installed v${pkg.version}`);
40
40
  } catch {}
41
41
 
42
+ // Make sure "spaces" runs: npm's command folder is not always on PATH.
43
+ // SPACES_NO_PATH_FIX=1 reports without changing the user's PATH.
44
+ try {
45
+ const pc = require('./lib/path-check');
46
+ const dir = pc.globalBinDir(pc.installPrefix(path.join(__dirname, '..')) || process.env.npm_config_prefix);
47
+ const isWin = process.platform === 'win32';
48
+ const terminalPath = process.env.PATH || process.env.Path || '';
49
+ const needs = dir && !pc.onPath(dir, terminalPath);
50
+ const todo = needs && pc.plan({
51
+ dir,
52
+ terminalPath,
53
+ userPath: isWin ? pc.readUserPath() : null,
54
+ allowFix: !process.env.SPACES_NO_PATH_FIX,
55
+ });
56
+ if (todo) {
57
+ const added = todo.addToUserPath ? pc.addToUserPath(dir) : false;
58
+ const lines = todo.addToUserPath && !added
59
+ ? todo.lines.map((l) => l.startsWith('Added ') ? `"spaces" is in ${dir}, which is not on your PATH.` : l)
60
+ : todo.lines;
61
+ // The install scripts on agentspaces.co set this: they put the folder
62
+ // on the window's PATH themselves and say so.
63
+ if (!process.env.SPACES_INSTALLER) {
64
+ pc.sayToTerminal(`\n Spaces is installed.\n${lines.map((l) => ` ${l}`).join('\n')}\n\n`);
65
+ }
66
+ }
67
+ } catch {
68
+ // Advice only: an install never fails over it.
69
+ }
70
+
42
71
  // Restart the service, but only when one is registered. `spaces service stop`
43
72
  // kills node processes on the Spaces ports, so running it on an install with
44
73
  // no service would take down a server the user started by hand.
package/bin/spaces.js CHANGED
@@ -6,7 +6,9 @@ if (!process.execArgv.some(a => a.includes('max-old-space-size')) && !process.en
6
6
  require('child_process').spawn(
7
7
  process.execPath,
8
8
  ['--max-old-space-size=8192', ...process.argv.slice(1)],
9
- { stdio: 'inherit', env: process.env }
9
+ // No window of its own: under `spaces` the server runs detached, with
10
+ // no console to share, and Windows would open one.
11
+ { stdio: 'inherit', env: process.env, windowsHide: true }
10
12
  ).on('exit', (code) => process.exit(code ?? 1));
11
13
  // Stop the outer process from continuing
12
14
  return;
@@ -426,17 +428,21 @@ function startBackgroundServer(port, serverArgs = []) {
426
428
  const { portIsListening, waitForServer, tailLines } = require('./spaces-tui');
427
429
  console.log(` Starting the Spaces server on port ${port} in the background...`);
428
430
  const env = { ...process.env, SPACES_SERVICE: '1' };
429
- delete env.__SPACES_HEAP;
431
+ // The heap flag here, so the server does not relaunch itself for it.
432
+ env.__SPACES_HEAP = '1';
430
433
  // Its output goes to a log rather than nowhere, so a server that fails to
431
434
  // start can say why.
432
435
  fs.mkdirSync(SPACES_DIR, { recursive: true });
433
436
  const logPath = path.join(SPACES_DIR, 'server.log');
434
437
  const log = fs.openSync(logPath, 'w');
435
438
  // `--port` last so the resolved port wins over any the user passed.
436
- const child = spawn(process.execPath, [__filename, ...serverArgs, '--port', String(port)], {
439
+ // Detached, so it outlives this command; hidden, or Windows gives the
440
+ // console-less server, and everything it starts, a window of its own.
441
+ const child = spawn(process.execPath, ['--max-old-space-size=8192', __filename, ...serverArgs, '--port', String(port)], {
437
442
  detached: true,
438
443
  stdio: ['ignore', log, log],
439
444
  env,
445
+ windowsHide: true,
440
446
  });
441
447
  fs.closeSync(log);
442
448
  child.unref();
@@ -1350,6 +1356,7 @@ function startServer() {
1350
1356
  next = spawn(process.execPath, [standaloneServer], {
1351
1357
  cwd: path.dirname(standaloneServer),
1352
1358
  stdio: ['ignore', 'pipe', 'pipe'],
1359
+ windowsHide: true,
1353
1360
  env: {
1354
1361
  ...childEnv,
1355
1362
  PORT: String(NEXT_INTERNAL_PORT),
@@ -1361,6 +1368,7 @@ function startServer() {
1361
1368
  next = spawn('npx', ['next', 'start', '--port', String(NEXT_INTERNAL_PORT)], {
1362
1369
  cwd: projectDir,
1363
1370
  stdio: ['ignore', 'pipe', 'pipe'],
1371
+ windowsHide: true,
1364
1372
  env: {
1365
1373
  ...childEnv,
1366
1374
  PORT: String(NEXT_INTERNAL_PORT),
@@ -636,7 +636,7 @@ function findGitBash() {
636
636
  }
637
637
  // Last resort: check if bash is on PATH via where command
638
638
  try {
639
- const result = require('child_process').execSync('where bash.exe 2>nul', { encoding: 'utf-8', timeout: 3000 });
639
+ const result = require('child_process').execSync('where bash.exe 2>nul', { encoding: 'utf-8', timeout: 3000, windowsHide: true });
640
640
  const first = result.trim().split('\n')[0].trim();
641
641
  if (first && first.toLowerCase().includes('git') && fs.existsSync(first)) return first;
642
642
  } catch { /* not found */ }
@@ -653,7 +653,7 @@ function findSshBinary() {
653
653
  const gitSSH = 'C:\\Program Files\\Git\\usr\\bin\\ssh.exe';
654
654
  if (fs.existsSync(gitSSH)) return gitSSH;
655
655
  try {
656
- const result = require('child_process').execSync('where ssh.exe 2>nul', { encoding: 'utf-8', timeout: 3000 });
656
+ const result = require('child_process').execSync('where ssh.exe 2>nul', { encoding: 'utf-8', timeout: 3000, windowsHide: true });
657
657
  const first = result.trim().split(String.fromCharCode(10))[0].trim();
658
658
  if (first && fs.existsSync(first)) return first;
659
659
  } catch {}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jlongo78/agent-spaces",
3
- "version": "1.0.5",
3
+ "version": "1.0.7",
4
4
  "description": "Agent workspace manager for Claude, Codex, Gemini, and more",
5
5
  "bin": {
6
6
  "spaces": "./bin/spaces.js",
@@ -122,11 +122,11 @@
122
122
  "xterm": "^5.3.0"
123
123
  },
124
124
  "optionalDependencies": {
125
- "@jlongo78/agent-spaces-tui-darwin-arm64": "1.0.5",
126
- "@jlongo78/agent-spaces-tui-darwin-x64": "1.0.5",
127
- "@jlongo78/agent-spaces-tui-linux-arm64": "1.0.5",
128
- "@jlongo78/agent-spaces-tui-linux-x64": "1.0.5",
129
- "@jlongo78/agent-spaces-tui-win32-x64": "1.0.5",
125
+ "@jlongo78/agent-spaces-tui-darwin-arm64": "1.0.7",
126
+ "@jlongo78/agent-spaces-tui-darwin-x64": "1.0.7",
127
+ "@jlongo78/agent-spaces-tui-linux-arm64": "1.0.7",
128
+ "@jlongo78/agent-spaces-tui-linux-x64": "1.0.7",
129
+ "@jlongo78/agent-spaces-tui-win32-x64": "1.0.7",
130
130
  "otpauth": "^9.5.0",
131
131
  "qrcode": "^1.5.4"
132
132
  }