@madarco/agentbox 0.23.3 → 0.23.4

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 (45) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist/index.js +27 -19
  3. package/dist/index.js.map +1 -1
  4. package/package.json +1 -1
  5. package/runtime/hub/apps/hub/.next/BUILD_ID +1 -1
  6. package/runtime/hub/apps/hub/.next/build-manifest.json +3 -3
  7. package/runtime/hub/apps/hub/.next/server/app/(auth)/signin/page.js.nft.json +1 -1
  8. package/runtime/hub/apps/hub/.next/server/app/(auth)/signin/page_client-reference-manifest.js +1 -1
  9. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/approvals/page.js.nft.json +1 -1
  10. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/approvals/page_client-reference-manifest.js +1 -1
  11. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/boxes/[id]/page.js.nft.json +1 -1
  12. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/boxes/[id]/page_client-reference-manifest.js +1 -1
  13. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/page.js.nft.json +1 -1
  14. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/page_client-reference-manifest.js +1 -1
  15. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/projects/[id]/page.js.nft.json +1 -1
  16. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/projects/[id]/page_client-reference-manifest.js +1 -1
  17. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/settings/page.js.nft.json +1 -1
  18. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/settings/page_client-reference-manifest.js +1 -1
  19. package/runtime/hub/apps/hub/.next/server/app/_global-error/page.js.nft.json +1 -1
  20. package/runtime/hub/apps/hub/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
  21. package/runtime/hub/apps/hub/.next/server/app/_global-error.html +1 -1
  22. package/runtime/hub/apps/hub/.next/server/app/_global-error.rsc +1 -1
  23. package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  24. package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  25. package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  26. package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  27. package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  28. package/runtime/hub/apps/hub/.next/server/app/_not-found/page.js.nft.json +1 -1
  29. package/runtime/hub/apps/hub/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  30. package/runtime/hub/apps/hub/.next/server/chunks/ssr/{09xn_next_dist_0iwlo01._.js → 09xn_next_dist_1uccfbf._.js} +2 -2
  31. package/runtime/hub/apps/hub/.next/server/chunks/ssr/[root-of-the-server]__0vdzfiw._.js +3 -0
  32. package/runtime/hub/apps/hub/.next/server/chunks/ssr/{[root-of-the-server]__0cpdgd0._.js → [root-of-the-server]__1bd_5o3._.js} +2 -2
  33. package/runtime/hub/apps/hub/.next/server/chunks/ssr/apps_hub_app_(dashboard)_boxes_[id]_page_tsx_1-j_972._.js +1 -1
  34. package/runtime/hub/apps/hub/.next/server/middleware-build-manifest.js +3 -3
  35. package/runtime/hub/apps/hub/.next/server/pages/500.html +1 -1
  36. package/runtime/hub/apps/hub/.next/static/chunks/000a1sa7te1h8.js +1 -0
  37. package/runtime/hub/apps/hub/.next/static/chunks/20hq7-0depjid.js +1 -0
  38. package/runtime/hub/apps/hub/.next/static/chunks/3dfjrxx-dy644.css +3 -0
  39. package/runtime/hub/apps/hub/package.json +1 -0
  40. package/runtime/hub/apps/hub/.next/server/chunks/ssr/[root-of-the-server]__1bq2f8q._.js +0 -3
  41. package/runtime/hub/apps/hub/.next/static/chunks/3rm29i8e-lb25.css +0 -3
  42. package/runtime/hub/apps/hub/.next/static/chunks/44o5lj23__y1m.js +0 -1
  43. /package/runtime/hub/apps/hub/.next/static/{12hWAUQ9O9G3VS4vxKuav → eVq-z4zld_8DGQudbYogV}/_buildManifest.js +0 -0
  44. /package/runtime/hub/apps/hub/.next/static/{12hWAUQ9O9G3VS4vxKuav → eVq-z4zld_8DGQudbYogV}/_clientMiddlewareManifest.js +0 -0
  45. /package/runtime/hub/apps/hub/.next/static/{12hWAUQ9O9G3VS4vxKuav → eVq-z4zld_8DGQudbYogV}/_ssgManifest.js +0 -0
package/CHANGELOG.md CHANGED
@@ -9,6 +9,26 @@ Entries are generated from the commit history with `/release-notes` and then
9
9
  hand-reviewed — they describe what changed for someone using the `agentbox`
10
10
  CLI, not the raw commits.
11
11
 
12
+ ## [0.23.4] - 2026-07-08
13
+
14
+ ### Added
15
+
16
+ - The hub box page's Access card now always lists every "open in" app (Claude,
17
+ Codex, VS Code, cmux, Herdr, iTerm2, Finder) plus Open web / Open VNC —
18
+ buttons that can't work right now are disabled with an instant hover tooltip
19
+ explaining why (app not installed, not supported for the box's provider, box
20
+ paused/stopped, no web service, VNC off) instead of being hidden.
21
+ - `agentbox open --targets` reports *why* an unavailable app is unavailable
22
+ (new optional `reason` field in `--json`); the hub and the menu-bar app show
23
+ it. The menu-bar app (from v0.1.6) mirrors the always-listed behavior and
24
+ gains an OPEN IN section in the box details window with the same tooltips.
25
+
26
+ ### Fixed
27
+
28
+ - Finder is no longer reported as an always-available open target: it now
29
+ requires `sshfs` on PATH, so a missing sshfs shows up front as a disabled
30
+ button with the install hint instead of an error only after clicking.
31
+
12
32
  ## [0.23.3] - 2026-07-08
13
33
 
14
34
  ### Fixed
package/dist/index.js CHANGED
@@ -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.4" : "0.0.0-dev";
347
+ var AGENTBOX_COMMIT = true ? "359a05a3a" : "dev";
348
348
 
349
349
  // src/index.ts
350
350
  import { existsSync as _existsSync } from "fs";
@@ -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
  });