@madarco/agentbox 0.23.3 → 0.23.5

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 (93) hide show
  1. package/CHANGELOG.md +38 -0
  2. package/dist/{_cloud-attach-BQRWX3J2.js → _cloud-attach-D4OQO5AJ.js} +4 -4
  3. package/dist/{chunk-W3FQPFP7.js → chunk-6KOQRSHH.js} +3 -3
  4. package/dist/{chunk-SFA57TGX.js → chunk-DADOEMXP.js} +4 -4
  5. package/dist/{chunk-QEQFZLYR.js → chunk-FX32NZD4.js} +8 -8
  6. package/dist/{chunk-LA4JMS27.js → chunk-JNY5GPIM.js} +2 -2
  7. package/dist/{chunk-LK2JT2OO.js → chunk-JYEZ6Q5M.js} +10 -4
  8. package/dist/{chunk-LK2JT2OO.js.map → chunk-JYEZ6Q5M.js.map} +1 -1
  9. package/dist/{chunk-GGRZ3GZO.js → chunk-KY32JO6J.js} +2 -2
  10. package/dist/{chunk-LSQXT5WZ.js → chunk-KZWJMNLP.js} +2 -2
  11. package/dist/{chunk-I6ZRWTPR.js → chunk-YRTM3KNT.js} +3 -3
  12. package/dist/{dist-V235KVEX.js → dist-564EDHFF.js} +5 -5
  13. package/dist/{dist-Z2NEVV55.js → dist-CAT2TN75.js} +3 -3
  14. package/dist/{dist-FXQFTT75.js → dist-EAR4BLL2.js} +5 -5
  15. package/dist/{dist-QO4CTLAX.js → dist-O5Y4X4C5.js} +5 -5
  16. package/dist/{dist-CUKBKS3N.js → dist-UDQMBWYW.js} +5 -5
  17. package/dist/index.js +38 -30
  18. package/dist/index.js.map +1 -1
  19. package/dist/{prepared-state-BUO75YLZ-CDTISC2C.js → prepared-state-BUO75YLZ-PW64VQMT.js} +2 -2
  20. package/package.json +1 -1
  21. package/runtime/hub/apps/hub/.next/BUILD_ID +1 -1
  22. package/runtime/hub/apps/hub/.next/build-manifest.json +3 -3
  23. package/runtime/hub/apps/hub/.next/server/app/(auth)/signin/page.js.nft.json +1 -1
  24. package/runtime/hub/apps/hub/.next/server/app/(auth)/signin/page_client-reference-manifest.js +1 -1
  25. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/approvals/page.js.nft.json +1 -1
  26. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/approvals/page_client-reference-manifest.js +1 -1
  27. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/boxes/[id]/page.js.nft.json +1 -1
  28. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/boxes/[id]/page_client-reference-manifest.js +1 -1
  29. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/page.js.nft.json +1 -1
  30. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/page_client-reference-manifest.js +1 -1
  31. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/projects/[id]/page.js.nft.json +1 -1
  32. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/projects/[id]/page_client-reference-manifest.js +1 -1
  33. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/settings/page.js.nft.json +1 -1
  34. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/settings/page_client-reference-manifest.js +1 -1
  35. package/runtime/hub/apps/hub/.next/server/app/_global-error/page.js.nft.json +1 -1
  36. package/runtime/hub/apps/hub/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
  37. package/runtime/hub/apps/hub/.next/server/app/_global-error.html +1 -1
  38. package/runtime/hub/apps/hub/.next/server/app/_global-error.rsc +1 -1
  39. package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  40. package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  41. package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  42. package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  43. package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  44. package/runtime/hub/apps/hub/.next/server/app/_not-found/page.js.nft.json +1 -1
  45. package/runtime/hub/apps/hub/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  46. package/runtime/hub/apps/hub/.next/server/chunks/_06f2faq._.js +1 -1
  47. package/runtime/hub/apps/hub/.next/server/chunks/ssr/{09xn_next_dist_0iwlo01._.js → 09xn_next_dist_1uccfbf._.js} +2 -2
  48. package/runtime/hub/apps/hub/.next/server/chunks/ssr/[root-of-the-server]__0vdzfiw._.js +3 -0
  49. package/runtime/hub/apps/hub/.next/server/chunks/ssr/{[root-of-the-server]__0cpdgd0._.js → [root-of-the-server]__1bd_5o3._.js} +2 -2
  50. package/runtime/hub/apps/hub/.next/server/chunks/ssr/_09gdzmo._.js +1 -1
  51. package/runtime/hub/apps/hub/.next/server/chunks/ssr/_0tgpglr._.js +1 -1
  52. package/runtime/hub/apps/hub/.next/server/chunks/ssr/_1laion6._.js +1 -1
  53. package/runtime/hub/apps/hub/.next/server/chunks/ssr/apps_hub_app_(dashboard)_boxes_[id]_page_tsx_1-j_972._.js +1 -1
  54. package/runtime/hub/apps/hub/.next/server/middleware-build-manifest.js +3 -3
  55. package/runtime/hub/apps/hub/.next/server/pages/500.html +1 -1
  56. package/runtime/hub/apps/hub/.next/static/chunks/000a1sa7te1h8.js +1 -0
  57. package/runtime/hub/apps/hub/.next/static/chunks/1c5w3kqosumog.js +1 -0
  58. package/runtime/hub/apps/hub/.next/static/chunks/1o3ot_9-8jgzc.js +1 -0
  59. package/runtime/hub/apps/hub/.next/static/chunks/3dfjrxx-dy644.css +3 -0
  60. package/runtime/hub/apps/hub/.next/static/chunks/3uq9hf-roasav.js +1 -0
  61. package/runtime/hub/apps/hub/{chunk-2Z74R6ZT.js → chunk-7M6FXZIO.js} +2 -1
  62. package/runtime/hub/apps/hub/{chunk-H22XP3NY.js → chunk-FSEPYTQ6.js} +9 -3
  63. package/runtime/hub/apps/hub/{chunk-AR7CEZ2G.js → chunk-Z7ZAL24C.js} +2 -2
  64. package/runtime/hub/apps/hub/{dist-LZNRLUYY.js → dist-EKQHCXWE.js} +3 -3
  65. package/runtime/hub/apps/hub/{dist-VV6Z2CQX.js → dist-GGWYKXJE.js} +2 -2
  66. package/runtime/hub/apps/hub/{dist-LNHEG5P4.js → dist-JGZ55OIJ.js} +3 -3
  67. package/runtime/hub/apps/hub/{dist-SD4G36EP.js → dist-QIXUPGPP.js} +3 -3
  68. package/runtime/hub/apps/hub/{dist-Q6G66Z57.js → dist-V4TJ44MT.js} +3 -3
  69. package/runtime/hub/apps/hub/package.json +1 -0
  70. package/runtime/hub/apps/hub/{prepared-state-BUO75YLZ-CAXQS5Y3.js → prepared-state-BUO75YLZ-UICXTY25.js} +1 -1
  71. package/runtime/hub/apps/hub/server.js +30 -13
  72. package/runtime/hub/apps/hub/.next/server/chunks/ssr/[root-of-the-server]__1bq2f8q._.js +0 -3
  73. package/runtime/hub/apps/hub/.next/static/chunks/3p86ecqhr_7yy.js +0 -1
  74. package/runtime/hub/apps/hub/.next/static/chunks/3qof5hg87qf5n.js +0 -1
  75. package/runtime/hub/apps/hub/.next/static/chunks/3rm29i8e-lb25.css +0 -3
  76. package/runtime/hub/apps/hub/.next/static/chunks/44o5lj23__y1m.js +0 -1
  77. /package/dist/{_cloud-attach-BQRWX3J2.js.map → _cloud-attach-D4OQO5AJ.js.map} +0 -0
  78. /package/dist/{chunk-W3FQPFP7.js.map → chunk-6KOQRSHH.js.map} +0 -0
  79. /package/dist/{chunk-SFA57TGX.js.map → chunk-DADOEMXP.js.map} +0 -0
  80. /package/dist/{chunk-QEQFZLYR.js.map → chunk-FX32NZD4.js.map} +0 -0
  81. /package/dist/{chunk-LA4JMS27.js.map → chunk-JNY5GPIM.js.map} +0 -0
  82. /package/dist/{chunk-GGRZ3GZO.js.map → chunk-KY32JO6J.js.map} +0 -0
  83. /package/dist/{chunk-LSQXT5WZ.js.map → chunk-KZWJMNLP.js.map} +0 -0
  84. /package/dist/{chunk-I6ZRWTPR.js.map → chunk-YRTM3KNT.js.map} +0 -0
  85. /package/dist/{dist-V235KVEX.js.map → dist-564EDHFF.js.map} +0 -0
  86. /package/dist/{dist-CUKBKS3N.js.map → dist-CAT2TN75.js.map} +0 -0
  87. /package/dist/{dist-FXQFTT75.js.map → dist-EAR4BLL2.js.map} +0 -0
  88. /package/dist/{dist-QO4CTLAX.js.map → dist-O5Y4X4C5.js.map} +0 -0
  89. /package/dist/{dist-Z2NEVV55.js.map → dist-UDQMBWYW.js.map} +0 -0
  90. /package/dist/{prepared-state-BUO75YLZ-CDTISC2C.js.map → prepared-state-BUO75YLZ-PW64VQMT.js.map} +0 -0
  91. /package/runtime/hub/apps/hub/.next/static/{12hWAUQ9O9G3VS4vxKuav → lOi70Di6lcnEBsUUHKrQ5}/_buildManifest.js +0 -0
  92. /package/runtime/hub/apps/hub/.next/static/{12hWAUQ9O9G3VS4vxKuav → lOi70Di6lcnEBsUUHKrQ5}/_clientMiddlewareManifest.js +0 -0
  93. /package/runtime/hub/apps/hub/.next/static/{12hWAUQ9O9G3VS4vxKuav → lOi70Di6lcnEBsUUHKrQ5}/_ssgManifest.js +0 -0
@@ -9,7 +9,7 @@ import {
9
9
  resolveContextFilesFrom,
10
10
  writeManagedSecrets,
11
11
  writePreparedStateRaw
12
- } from "./chunk-LK2JT2OO.js";
12
+ } from "./chunk-JYEZ6Q5M.js";
13
13
 
14
14
  // ../../packages/sandbox-daytona/dist/chunk-6WHCUMQO.js
15
15
  import { existsSync } from "fs";
@@ -839,4 +839,4 @@ export {
839
839
  writePreparedDaytonaState,
840
840
  preparedMatches
841
841
  };
842
- //# sourceMappingURL=chunk-GGRZ3GZO.js.map
842
+ //# sourceMappingURL=chunk-KY32JO6J.js.map
@@ -8,7 +8,7 @@ import {
8
8
  readPreparedStateRaw,
9
9
  writeManagedSecrets,
10
10
  writePreparedStateRaw
11
- } from "./chunk-LK2JT2OO.js";
11
+ } from "./chunk-JYEZ6Q5M.js";
12
12
 
13
13
  // ../../packages/sandbox-e2b/dist/chunk-4FOXSEPX.js
14
14
  import { existsSync, readFileSync } from "fs";
@@ -324,4 +324,4 @@ export {
324
324
  currentE2bBaseFingerprintLive,
325
325
  ensureE2bBaseTemplate
326
326
  };
327
- //# sourceMappingURL=chunk-LSQXT5WZ.js.map
327
+ //# sourceMappingURL=chunk-KZWJMNLP.js.map
@@ -22,7 +22,7 @@ import {
22
22
  readBoxStatus,
23
23
  registerBoxWithRelay,
24
24
  syncClaudeCredentials
25
- } from "./chunk-LA4JMS27.js";
25
+ } from "./chunk-JNY5GPIM.js";
26
26
  import {
27
27
  hashProjectPath,
28
28
  loadEffectiveConfig,
@@ -67,7 +67,7 @@ import {
67
67
  stageOpencodeCredentialsForUpload,
68
68
  stageOpencodeStateForUpload,
69
69
  stageOpencodeStaticForUpload
70
- } from "./chunk-LK2JT2OO.js";
70
+ } from "./chunk-JYEZ6Q5M.js";
71
71
 
72
72
  // ../../packages/sandbox-cloud/dist/index.js
73
73
  import { basename as basename2, resolve } from "path";
@@ -2871,4 +2871,4 @@ export {
2871
2871
  renderInnerCommand,
2872
2872
  openWebAppOnVncScreen
2873
2873
  };
2874
- //# sourceMappingURL=chunk-I6ZRWTPR.js.map
2874
+ //# sourceMappingURL=chunk-YRTM3KNT.js.map
@@ -20,7 +20,7 @@ import {
20
20
  setE2bCredentials,
21
21
  updatePreparedState,
22
22
  writePreparedState
23
- } from "./chunk-LSQXT5WZ.js";
23
+ } from "./chunk-KZWJMNLP.js";
24
24
  import {
25
25
  createCloudProvider,
26
26
  currentCloudBaseFingerprint,
@@ -30,8 +30,8 @@ import {
30
30
  renderInnerCommand,
31
31
  resolveCloudCheckpoint,
32
32
  writeCloudCheckpointManifest
33
- } from "./chunk-I6ZRWTPR.js";
34
- import "./chunk-LA4JMS27.js";
33
+ } from "./chunk-YRTM3KNT.js";
34
+ import "./chunk-JNY5GPIM.js";
35
35
  import "./chunk-QT3SHMLY.js";
36
36
  import {
37
37
  claudeInstallFingerprint,
@@ -40,7 +40,7 @@ import {
40
40
  readCliStamp,
41
41
  recordBox,
42
42
  stageAllAgentStatic
43
- } from "./chunk-LK2JT2OO.js";
43
+ } from "./chunk-JYEZ6Q5M.js";
44
44
  import "./chunk-G3H2L3O2.js";
45
45
  import "./chunk-WJFZJZIM.js";
46
46
 
@@ -750,4 +750,4 @@ export {
750
750
  updatePreparedState,
751
751
  writePreparedState
752
752
  };
753
- //# sourceMappingURL=dist-V235KVEX.js.map
753
+ //# sourceMappingURL=dist-564EDHFF.js.map
@@ -223,7 +223,7 @@ import {
223
223
  vscodeServerVolumeName,
224
224
  waitForTmuxPaneContent,
225
225
  warmUpClaudeCredentials
226
- } from "./chunk-LA4JMS27.js";
226
+ } from "./chunk-JNY5GPIM.js";
227
227
  import "./chunk-QT3SHMLY.js";
228
228
  import {
229
229
  AmbiguousBoxError,
@@ -272,7 +272,7 @@ import {
272
272
  stageDynamicSyncTarball,
273
273
  tagImage,
274
274
  writePreparedDockerState
275
- } from "./chunk-LK2JT2OO.js";
275
+ } from "./chunk-JYEZ6Q5M.js";
276
276
  import "./chunk-G3H2L3O2.js";
277
277
  import "./chunk-WJFZJZIM.js";
278
278
  export {
@@ -546,4 +546,4 @@ export {
546
546
  warmUpClaudeCredentials,
547
547
  writePreparedDockerState
548
548
  };
549
- //# sourceMappingURL=dist-Z2NEVV55.js.map
549
+ //# sourceMappingURL=dist-CAT2TN75.js.map
@@ -13,17 +13,17 @@ import {
13
13
  resolveDockerfileContext,
14
14
  setDaytonaCredentials,
15
15
  writePreparedDaytonaState
16
- } from "./chunk-GGRZ3GZO.js";
16
+ } from "./chunk-KY32JO6J.js";
17
17
  import {
18
18
  createCloudProvider
19
- } from "./chunk-I6ZRWTPR.js";
20
- import "./chunk-LA4JMS27.js";
19
+ } from "./chunk-YRTM3KNT.js";
20
+ import "./chunk-JNY5GPIM.js";
21
21
  import "./chunk-QT3SHMLY.js";
22
22
  import {
23
23
  claudeInstallFingerprint,
24
24
  errSummary,
25
25
  stageAllAgentStatic
26
- } from "./chunk-LK2JT2OO.js";
26
+ } from "./chunk-JYEZ6Q5M.js";
27
27
  import "./chunk-G3H2L3O2.js";
28
28
  import "./chunk-WJFZJZIM.js";
29
29
 
@@ -299,4 +299,4 @@ export {
299
299
  resolveDockerfileContext,
300
300
  setDaytonaCredentials
301
301
  };
302
- //# sourceMappingURL=dist-FXQFTT75.js.map
302
+ //# sourceMappingURL=dist-EAR4BLL2.js.map
@@ -34,11 +34,11 @@ import {
34
34
  vercelBackend,
35
35
  vercelProvider,
36
36
  writePreparedState
37
- } from "./chunk-W3FQPFP7.js";
38
- import "./chunk-I6ZRWTPR.js";
39
- import "./chunk-LA4JMS27.js";
37
+ } from "./chunk-6KOQRSHH.js";
38
+ import "./chunk-YRTM3KNT.js";
39
+ import "./chunk-JNY5GPIM.js";
40
40
  import "./chunk-QT3SHMLY.js";
41
- import "./chunk-LK2JT2OO.js";
41
+ import "./chunk-JYEZ6Q5M.js";
42
42
  import "./chunk-G3H2L3O2.js";
43
43
  import "./chunk-WJFZJZIM.js";
44
44
  export {
@@ -77,4 +77,4 @@ export {
77
77
  vercelProvider,
78
78
  writePreparedState
79
79
  };
80
- //# sourceMappingURL=dist-QO4CTLAX.js.map
80
+ //# sourceMappingURL=dist-O5Y4X4C5.js.map
@@ -44,13 +44,13 @@ import {
44
44
  waitForSsh,
45
45
  withHetznerRetry,
46
46
  writePreparedState
47
- } from "./chunk-SFA57TGX.js";
48
- import "./chunk-I6ZRWTPR.js";
49
- import "./chunk-LA4JMS27.js";
47
+ } from "./chunk-DADOEMXP.js";
48
+ import "./chunk-YRTM3KNT.js";
49
+ import "./chunk-JNY5GPIM.js";
50
50
  import "./chunk-QT3SHMLY.js";
51
51
  import {
52
52
  mintSshKey
53
- } from "./chunk-LK2JT2OO.js";
53
+ } from "./chunk-JYEZ6Q5M.js";
54
54
  import "./chunk-G3H2L3O2.js";
55
55
  import "./chunk-WJFZJZIM.js";
56
56
  export {
@@ -100,4 +100,4 @@ export {
100
100
  withHetznerRetry,
101
101
  writePreparedState
102
102
  };
103
- //# sourceMappingURL=dist-CUKBKS3N.js.map
103
+ //# sourceMappingURL=dist-UDQMBWYW.js.map
package/dist/index.js CHANGED
@@ -5,7 +5,7 @@ import {
5
5
  readE2bCredStatus,
6
6
  readPreparedState as readPreparedState3,
7
7
  secretsPath as secretsPath4
8
- } from "./chunk-LSQXT5WZ.js";
8
+ } from "./chunk-KZWJMNLP.js";
9
9
  import {
10
10
  ADVANCED_HINT_GROUPS,
11
11
  ALERT_BAND_ROWS,
@@ -49,7 +49,7 @@ import {
49
49
  subscribePrompts,
50
50
  uploadImageFileToBox,
51
51
  withFirewallRepair
52
- } from "./chunk-QEQFZLYR.js";
52
+ } from "./chunk-FX32NZD4.js";
53
53
  import {
54
54
  daytonaBackend,
55
55
  ensureDaytonaCredentials,
@@ -57,7 +57,7 @@ import {
57
57
  readDaytonaCredStatus,
58
58
  readPreparedDaytonaState,
59
59
  secretsPath
60
- } from "./chunk-GGRZ3GZO.js";
60
+ } from "./chunk-KY32JO6J.js";
61
61
  import {
62
62
  deployControlPlaneToHetzner,
63
63
  detectEgressIp,
@@ -69,7 +69,7 @@ import {
69
69
  readPreparedState,
70
70
  secretsPath as secretsPath2,
71
71
  syncFirewallSource
72
- } from "./chunk-SFA57TGX.js";
72
+ } from "./chunk-DADOEMXP.js";
73
73
  import {
74
74
  createGitDeployment,
75
75
  createGitProject,
@@ -88,7 +88,7 @@ import {
88
88
  resolveVercelApiAuth,
89
89
  secretsPath as secretsPath3,
90
90
  upsertProjectEnv
91
- } from "./chunk-W3FQPFP7.js";
91
+ } from "./chunk-6KOQRSHH.js";
92
92
  import {
93
93
  agentSpecsForCloud,
94
94
  baseFreshnessFromFingerprints,
@@ -101,7 +101,7 @@ import {
101
101
  probeCloudCheckpoint,
102
102
  resolveCloudCheckpoint,
103
103
  seedAgentVolumesIfFresh
104
- } from "./chunk-I6ZRWTPR.js";
104
+ } from "./chunk-YRTM3KNT.js";
105
105
  import {
106
106
  ALL_CONNECTORS,
107
107
  BOX_STATUS_EVENT,
@@ -250,7 +250,7 @@ import {
250
250
  waitForTmuxPaneContent,
251
251
  warmUpClaudeCredentials,
252
252
  writeJob
253
- } from "./chunk-LA4JMS27.js";
253
+ } from "./chunk-JNY5GPIM.js";
254
254
  import {
255
255
  BUILT_IN_DEFAULTS,
256
256
  CLOUD_PROVIDER_NAMES,
@@ -335,7 +335,7 @@ import {
335
335
  toQueueKind,
336
336
  toSyncKind,
337
337
  upsertClaudeSshConfig
338
- } from "./chunk-LK2JT2OO.js";
338
+ } from "./chunk-JYEZ6Q5M.js";
339
339
  import "./chunk-G3H2L3O2.js";
340
340
  import {
341
341
  __export,
@@ -343,8 +343,8 @@ import {
343
343
  } from "./chunk-WJFZJZIM.js";
344
344
 
345
345
  // src/version.ts
346
- var AGENTBOX_VERSION = true ? "0.23.3" : "0.0.0-dev";
347
- var AGENTBOX_COMMIT = true ? "04685de20" : "dev";
346
+ var AGENTBOX_VERSION = true ? "0.23.5" : "0.0.0-dev";
347
+ var AGENTBOX_COMMIT = true ? "6f2a1d885" : "dev";
348
348
 
349
349
  // src/index.ts
350
350
  import { existsSync as _existsSync } from "fs";
@@ -3738,7 +3738,7 @@ async function renderDocker(status) {
3738
3738
  }
3739
3739
  async function daytonaStatus() {
3740
3740
  try {
3741
- const mod = await import("./dist-FXQFTT75.js");
3741
+ const mod = await import("./dist-EAR4BLL2.js");
3742
3742
  return await mod.getDaytonaStatus();
3743
3743
  } catch (err) {
3744
3744
  return {
@@ -3749,7 +3749,7 @@ async function daytonaStatus() {
3749
3749
  }
3750
3750
  async function e2bStatus() {
3751
3751
  try {
3752
- const mod = await import("./dist-V235KVEX.js");
3752
+ const mod = await import("./dist-564EDHFF.js");
3753
3753
  const cred = mod.readE2bCredStatus();
3754
3754
  if (cred.auth === "none") {
3755
3755
  return { configured: false, reason: "not configured \u2014 run `agentbox e2b login`" };
@@ -7294,41 +7294,49 @@ function resolveCmuxBinary(seams = realSeams()) {
7294
7294
  }
7295
7295
  return void 0;
7296
7296
  }
7297
+ function targetInfo(available, reason) {
7298
+ return available ? { available } : { available, reason };
7299
+ }
7297
7300
  function detectOpenTargets(seams = realSeams()) {
7298
7301
  return {
7299
7302
  claude: {
7300
7303
  // Claude desktop has no add-SSH deep link; `open --in claude` writes the
7301
7304
  // box into the app's own settings (sshConfigs) instead — same persistent
7302
7305
  // SSH requirement as codex, since the app connects on its own later.
7303
- available: macAppInstalled("Claude.app", seams),
7306
+ ...targetInfo(macAppInstalled("Claude.app", seams), "Claude desktop is not installed"),
7304
7307
  providers: [...PERSISTENT_SSH_PROVIDERS]
7305
7308
  },
7306
7309
  codex: {
7307
- available: macAppInstalled("Codex.app", seams),
7310
+ ...targetInfo(macAppInstalled("Codex.app", seams), "Codex is not installed"),
7308
7311
  providers: [...PERSISTENT_SSH_PROVIDERS]
7309
7312
  },
7310
- herdr: {
7311
- available: pathHasBinary("herdr", seams) || defaultHerdrSocketPath(seams) !== void 0
7312
- },
7313
- cmux: {
7314
- available: pathHasBinary("cmux", seams) || macAppInstalled("cmux.app", seams)
7315
- },
7313
+ herdr: targetInfo(
7314
+ pathHasBinary("herdr", seams) || defaultHerdrSocketPath(seams) !== void 0,
7315
+ "Herdr is not installed"
7316
+ ),
7317
+ cmux: targetInfo(
7318
+ pathHasBinary("cmux", seams) || macAppInstalled("cmux.app", seams),
7319
+ "cmux is not installed"
7320
+ ),
7316
7321
  vscode: {
7317
7322
  // PATH shim OR the .app bundle — a freshly-dragged VS Code/Cursor has no
7318
7323
  // `code`/`cursor` on PATH until the user runs the "Install 'code' command"
7319
7324
  // step, but `agentbox open --in vscode` can launch it from the bundle.
7320
- available: VSCODE_APPS.some(
7321
- (a) => pathHasBinary(a.cli, seams) || macAppInstalled(a.appName, seams)
7325
+ ...targetInfo(
7326
+ VSCODE_APPS.some((a) => pathHasBinary(a.cli, seams) || macAppInstalled(a.appName, seams)),
7327
+ "VS Code / Cursor is not installed"
7322
7328
  ),
7323
7329
  providers: [...IDE_PROVIDERS]
7324
7330
  },
7325
- iterm2: {
7326
- available: macAppInstalled("iTerm.app", seams)
7327
- },
7331
+ iterm2: targetInfo(macAppInstalled("iTerm.app", seams), "iTerm2 is not installed"),
7328
7332
  finder: {
7329
- // The OS file-manager reveal always works (Finder on macOS, xdg-open
7330
- // elsewhere); provider gating is what limits `open` to SSH-capable boxes.
7331
- available: true,
7333
+ // The file-manager reveal itself always works, but `open --in finder`
7334
+ // mounts /workspace via sshfs first — without the sshfs binary the whole
7335
+ // action fails, so sshfs presence IS the availability.
7336
+ ...targetInfo(
7337
+ pathHasBinary("sshfs", seams),
7338
+ "sshfs is not installed \u2014 install with `brew install macfuse sshfs`"
7339
+ ),
7332
7340
  providers: [...SSH_MOUNT_PROVIDERS]
7333
7341
  }
7334
7342
  };
@@ -7339,7 +7347,7 @@ function codexAddUrl(alias) {
7339
7347
  function renderTargets(report) {
7340
7348
  const lines = OPEN_IN_APPS.map((app) => {
7341
7349
  const info = report[app];
7342
- const status = info.available ? "available" : "not installed";
7350
+ const status = info.available ? "available" : info.reason ?? "not installed";
7343
7351
  const scope = info.providers ? ` (${info.providers.join(", ")} boxes)` : "";
7344
7352
  return `${app}: ${status}${info.available ? scope : ""}`;
7345
7353
  });
@@ -8347,7 +8355,7 @@ var createCommand = new Command13("create").description(
8347
8355
  }
8348
8356
  outro7("done");
8349
8357
  if (attachClaudeAfter) {
8350
- const { cloudAgentAttach: cloudAgentAttach2 } = await import("./_cloud-attach-BQRWX3J2.js");
8358
+ const { cloudAgentAttach: cloudAgentAttach2 } = await import("./_cloud-attach-D4OQO5AJ.js");
8351
8359
  await cloudAgentAttach2({
8352
8360
  box: result.record,
8353
8361
  binary: "claude",