@madarco/agentbox 0.17.1 → 0.18.0

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 (28) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist/{_cloud-attach-RUD4W33P.js → _cloud-attach-3UC3IL62.js} +3 -3
  3. package/dist/{chunk-YUGLNTT2.js → chunk-5BO6SGMI.js} +349 -16
  4. package/dist/chunk-5BO6SGMI.js.map +1 -0
  5. package/dist/{chunk-KTDJ5JTE.js → chunk-OG4KMYOJ.js} +2 -2
  6. package/dist/{chunk-HFQZJO73.js → chunk-U7IZS2ZP.js} +10 -4
  7. package/dist/{chunk-HFQZJO73.js.map → chunk-U7IZS2ZP.js.map} +1 -1
  8. package/dist/{dist-BO2R55FX.js → dist-3UYQZOAO.js} +3 -3
  9. package/dist/{dist-CNABE32V.js → dist-4BHW7DCO.js} +3 -3
  10. package/dist/{dist-TEKY3GFT.js → dist-7BS2JS27.js} +3 -3
  11. package/dist/{dist-VAATGBAR.js → dist-CFSKUAS5.js} +2 -2
  12. package/dist/{dist-CROGTJ7N.js → dist-T7ESSBCZ.js} +3 -3
  13. package/dist/index.js +676 -276
  14. package/dist/index.js.map +1 -1
  15. package/package.json +4 -4
  16. package/runtime/docker/packages/ctl/dist/bin.cjs +9 -3
  17. package/runtime/e2b/ctl.cjs +9 -3
  18. package/runtime/hetzner/ctl.cjs +9 -3
  19. package/runtime/relay/bin.cjs +9 -3
  20. package/runtime/vercel/ctl.cjs +9 -3
  21. package/dist/chunk-YUGLNTT2.js.map +0 -1
  22. /package/dist/{_cloud-attach-RUD4W33P.js.map → _cloud-attach-3UC3IL62.js.map} +0 -0
  23. /package/dist/{chunk-KTDJ5JTE.js.map → chunk-OG4KMYOJ.js.map} +0 -0
  24. /package/dist/{dist-BO2R55FX.js.map → dist-3UYQZOAO.js.map} +0 -0
  25. /package/dist/{dist-CNABE32V.js.map → dist-4BHW7DCO.js.map} +0 -0
  26. /package/dist/{dist-TEKY3GFT.js.map → dist-7BS2JS27.js.map} +0 -0
  27. /package/dist/{dist-VAATGBAR.js.map → dist-CFSKUAS5.js.map} +0 -0
  28. /package/dist/{dist-CROGTJ7N.js.map → dist-T7ESSBCZ.js.map} +0 -0
@@ -42,7 +42,7 @@ import {
42
42
  stageOpencodeStateForUpload,
43
43
  stageOpencodeStaticForUpload,
44
44
  syncClaudeCredentials
45
- } from "./chunk-HFQZJO73.js";
45
+ } from "./chunk-U7IZS2ZP.js";
46
46
  import {
47
47
  DEFAULT_BOX_IMAGE,
48
48
  allocateProjectIndex,
@@ -2077,4 +2077,4 @@ export {
2077
2077
  createCloudProvider,
2078
2078
  renderInnerCommand
2079
2079
  };
2080
- //# sourceMappingURL=chunk-KTDJ5JTE.js.map
2080
+ //# sourceMappingURL=chunk-OG4KMYOJ.js.map
@@ -986,7 +986,8 @@ var BUILT_IN_DEFAULTS = {
986
986
  },
987
987
  attach: {
988
988
  openIn: "split",
989
- cmuxStatus: true
989
+ cmuxStatus: true,
990
+ herdrStatus: true
990
991
  },
991
992
  code: {
992
993
  ide: "auto",
@@ -1290,13 +1291,18 @@ var KEY_REGISTRY = [
1290
1291
  key: "attach.openIn",
1291
1292
  type: "enum",
1292
1293
  enumValues: ["split", "window", "tab", "same"],
1293
- description: "Where `agentbox claude|codex|opencode` opens the attached session when run from tmux, cmux, or iTerm2: `split` (tmux split-window / cmux new-split / iTerm2 vertical split, default \u2014 same workspace), `window` (tmux new-window / cmux new-workspace / new iTerm2 window), `tab` (tmux new-window / cmux new-surface tab in the current pane, same workspace / new iTerm2 tab), or `same` (attach inline in the current terminal). Outside tmux/cmux/iTerm2 every value behaves like `same`."
1294
+ description: "Where `agentbox claude|codex|opencode` opens the attached session when run from tmux, cmux, Herdr, or iTerm2: `split` (tmux split-window / cmux new-split / Herdr pane.split / iTerm2 vertical split, default \u2014 same workspace), `window` (tmux new-window / cmux new-workspace / Herdr workspace.create / new iTerm2 window), `tab` (tmux new-window / cmux new-surface / Herdr tab.create in the current workspace / new iTerm2 tab), or `same` (attach inline in the current terminal). Outside tmux/cmux/Herdr/iTerm2 every value behaves like `same`."
1294
1295
  },
1295
1296
  {
1296
1297
  key: "attach.cmuxStatus",
1297
1298
  type: "bool",
1298
1299
  description: "When attached inside cmux, reflect the box agent's live activity on its cmux workspace (colour + description: blue=working, amber=needs input, idle clears; restored on detach) and, when the agent needs input, flag the box's own tab via a cmux notification (tab badge + reorder + desktop notification) so it stands out among sibling tabs. cmux only; no-op in other terminals."
1299
1300
  },
1301
+ {
1302
+ key: "attach.herdrStatus",
1303
+ type: "bool",
1304
+ description: "When attached inside Herdr, report the box agent's live activity to its Herdr pane (pane.report_agent: working / blocked / idle) so it looks like a normal agent pane and Herdr handles needs-input natively, and fire a Herdr notification for AgentBox's own host-relay approval prompts (git push / PR / checkpoint \u2026) which Herdr can't otherwise see. Herdr only; no-op in other terminals."
1305
+ },
1300
1306
  {
1301
1307
  key: "code.ide",
1302
1308
  type: "enum",
@@ -1407,7 +1413,7 @@ var KEY_REGISTRY = [
1407
1413
  key: "queue.openIn",
1408
1414
  type: "enum",
1409
1415
  enumValues: ["none", "split", "window", "tab"],
1410
- description: "When a background `-i` job finishes creating its box, where the host relay opens an attached terminal onto it: `none` (default \u2014 open nothing, just queue), `split`, `window`, or `tab`. Honored only when the submitting shell runs inside tmux, cmux, or iTerm2 (the targeting is captured at submit time). Under cmux, `split` splits the pane you submitted from (falling back to the parent workspace, then a new workspace), `tab` adds a tab in the parent workspace, and `window` opens a separate workspace; iTerm2 opens relative to the frontmost window. Unlike `attach.openIn` there is no `same` mode \u2014 the box is created asynchronously, so it is always a fresh terminal."
1416
+ description: "When a background `-i` job finishes creating its box, where the host relay opens an attached terminal onto it: `none` (default \u2014 open nothing, just queue), `split`, `window`, or `tab`. Honored only when the submitting shell runs inside tmux, cmux, Herdr, or iTerm2 (the targeting is captured at submit time). Under cmux, `split` splits the pane you submitted from (falling back to the parent workspace, then a new workspace), `tab` adds a tab in the parent workspace, and `window` opens a separate workspace; under Herdr, `split` splits the pane you submitted from, `tab` adds a tab in the parent workspace, and `window` opens a separate workspace; iTerm2 opens relative to the frontmost window. Unlike `attach.openIn` there is no `same` mode \u2014 the box is created asynchronously, so it is always a fresh terminal."
1411
1417
  },
1412
1418
  {
1413
1419
  key: "cloud.useCurrentBranch",
@@ -9749,4 +9755,4 @@ export {
9749
9755
  browserSessionActive,
9750
9756
  ensureBoxBrowser
9751
9757
  };
9752
- //# sourceMappingURL=chunk-HFQZJO73.js.map
9758
+ //# sourceMappingURL=chunk-U7IZS2ZP.js.map