@madarco/agentbox 0.29.0 → 0.29.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +22 -0
- package/dist/{_cloud-attach-HKRHYCY7.js → _cloud-attach-EUO2OL7W.js} +11 -11
- package/dist/{chunk-GWKGSXDC.js → chunk-2JHPGPLE.js} +2 -2
- package/dist/{chunk-THUST2QK.js → chunk-4KYP775X.js} +3 -3
- package/dist/{chunk-HP4L45LW.js → chunk-4NUETVTR.js} +8 -8
- package/dist/{chunk-UPVP6YGJ.js → chunk-53OTEDBS.js} +3 -3
- package/dist/{chunk-VY54AX4T.js → chunk-6YSYQZRH.js} +3 -3
- package/dist/{chunk-NGERWFSA.js → chunk-73D2HKA3.js} +14 -11
- package/dist/chunk-73D2HKA3.js.map +1 -0
- package/dist/{chunk-EFVTQ7YB.js → chunk-7LC5IG5K.js} +4 -4
- package/dist/{chunk-DYETLPUT.js → chunk-A2TATHHJ.js} +2 -2
- package/dist/{chunk-QU5BI2HC.js → chunk-AC3HU25W.js} +4 -4
- package/dist/{chunk-CO2I3CQI.js → chunk-AUHYXXCA.js} +4 -4
- package/dist/{chunk-RZCLRWNY.js → chunk-B4YFG5TB.js} +6 -6
- package/dist/{chunk-DBXCFLAR.js → chunk-BIKWXLX7.js} +5 -5
- package/dist/{chunk-GWYD7YBK.js → chunk-CZPVVFCF.js} +5 -5
- package/dist/{chunk-BWE2I5QG.js → chunk-F4PPZ4SI.js} +2 -2
- package/dist/{chunk-RQURMAPA.js → chunk-FEFLAITR.js} +5 -5
- package/dist/{chunk-HO2ACZES.js → chunk-FELVUIIM.js} +2 -2
- package/dist/{chunk-EPFXLXCW.js → chunk-I2DEYQLZ.js} +4 -4
- package/dist/{chunk-WGNI24H2.js → chunk-I7BSBUPC.js} +9 -9
- package/dist/{chunk-7QU6XENE.js → chunk-PAWAGULH.js} +2 -2
- package/dist/{chunk-6PIGTR4D.js → chunk-PFEBKXFD.js} +14 -14
- package/dist/{chunk-NAT2H7J4.js → chunk-QDU7YDME.js} +46 -26
- package/dist/chunk-QDU7YDME.js.map +1 -0
- package/dist/{chunk-3INUZQTR.js → chunk-S32GHLVU.js} +3 -3
- package/dist/{chunk-7Q6BG5AN.js → chunk-THKVKVRF.js} +3 -3
- package/dist/{chunk-VVNXQ4XS.js → chunk-UEEW5TW7.js} +8 -8
- package/dist/{chunk-LHOKRCNF.js → chunk-UTOC2NHC.js} +3 -3
- package/dist/{chunk-HNWZO2XU.js → chunk-WDBDFLH3.js} +4 -4
- package/dist/{chunk-WHJYOO5H.js → chunk-WJUKN4L4.js} +2 -2
- package/dist/{chunk-OKLEPEWZ.js → chunk-XENTK32L.js} +5 -2
- package/dist/chunk-XENTK32L.js.map +1 -0
- package/dist/cloud-backends.js +4 -4
- package/dist/{control-plane-UKKYXHIQ.js → control-plane-YQFX2ILX.js} +16 -16
- package/dist/{cp-hub-upload-BM2OLTOS.js → cp-hub-upload-RMJ3XJ65.js} +6 -6
- package/dist/{custody-client-NPXJ46TB.js → custody-client-L4FEFW4C.js} +3 -3
- package/dist/{deploy-hetzner-Y3ILCDRF.js → deploy-hetzner-EECQ4JCM.js} +8 -8
- package/dist/{dist-5OGQ3CJQ.js → dist-3BKIPZR3.js} +3 -3
- package/dist/{dist-ZNYS7CVF.js → dist-C5B6NGBO.js} +5 -5
- package/dist/{dist-DOEGENNW.js → dist-E5EXDZG4.js} +7 -7
- package/dist/{dist-EOGD7KD6.js → dist-NFF2KEMB.js} +7 -7
- package/dist/{dist-7B3VCLZI.js → dist-NTUHJOK3.js} +7 -7
- package/dist/{dist-SMDXLPZO.js → dist-PTYASENV.js} +2 -2
- package/dist/{dist-MUTFY7FA.js → dist-Q4UDCSZQ.js} +7 -7
- package/dist/{dist-VTLQKZ2E.js → dist-TXFTYNNE.js} +6 -6
- package/dist/{dist-A5ZEIVAW.js → dist-XUOHE22G.js} +8 -8
- package/dist/{dist-ZJIJHCZB.js → dist-Z2TPC3EN.js} +7 -7
- package/dist/{host-reach-drainer-ZJU2STQQ.js → host-reach-drainer-N4JSFUBY.js} +2 -2
- package/dist/hub-3HPYOV5O.js +37 -0
- package/dist/{hub-adopt-OA336ZXZ.js → hub-adopt-NCCCMMXL.js} +6 -6
- package/dist/{hub-docker-target-JKFCABK4.js → hub-docker-target-ZKAWXVPH.js} +11 -11
- package/dist/index.js +48 -48
- package/dist/prepare-KIVDQRMN.js +41 -0
- package/dist/prepared-custody-EFSOOAIQ.js +36 -0
- package/dist/{prepared-state-LNQ7DYSU-AR5RMXAO.js → prepared-state-LNQ7DYSU-2YFSDOCV.js} +3 -3
- package/dist/{publish-credentials-3SQXX45P.js → publish-credentials-F2A5OVCO.js} +7 -7
- package/dist/{registry-AFKV3EO2.js → registry-O3X2CDDU.js} +4 -4
- package/dist/{relay-QH6OEY2V.js → relay-3T57T4RI.js} +7 -7
- package/dist/{remote-docker-share-RMS6IB5X.js → remote-docker-share-QDCBM5UM.js} +8 -8
- package/dist/{tool-grant-push-T6DRBY3W.js → tool-grant-push-6ISDIJKH.js} +3 -3
- package/package.json +1 -1
- package/runtime/_shared/ctl.cjs +4 -1
- package/runtime/digitalocean/ctl.cjs +4 -1
- package/runtime/docker/packages/ctl/dist/bin.cjs +4 -1
- package/runtime/e2b/ctl.cjs +4 -1
- package/runtime/hetzner/ctl.cjs +4 -1
- package/runtime/hub/apps/hub/.next/BUILD_ID +1 -1
- package/runtime/hub/apps/hub/.next/build-manifest.json +3 -3
- package/runtime/hub/apps/hub/.next/server/app/_global-error.html +1 -1
- package/runtime/hub/apps/hub/.next/server/app/_global-error.rsc +1 -1
- package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/runtime/hub/apps/hub/.next/server/middleware-build-manifest.js +3 -3
- package/runtime/hub/apps/hub/.next/server/pages/500.html +1 -1
- package/runtime/hub/apps/hub/{chunk-UQ5XNPOF.js → chunk-2WB3A5IN.js} +3 -3
- package/runtime/hub/apps/hub/{chunk-3AD3MYNV.js → chunk-BI4MPGQT.js} +9 -9
- package/runtime/hub/apps/hub/{chunk-GBYD2ODL.js → chunk-G6FJR7TN.js} +4 -1
- package/runtime/hub/apps/hub/{chunk-3ZDBZYOY.js → chunk-QGAP34GN.js} +4 -4
- package/runtime/hub/apps/hub/{chunk-H5SUXDZA.js → chunk-QWSP6WJ2.js} +3 -3
- package/runtime/hub/apps/hub/{chunk-WHGY7HOC.js → chunk-RPPOFMPA.js} +2 -2
- package/runtime/hub/apps/hub/{dist-TH2JZYZY.js → dist-4F6XEJHK.js} +5 -5
- package/runtime/hub/apps/hub/{dist-XPRGHQH2.js → dist-A3JOKKYG.js} +4 -4
- package/runtime/hub/apps/hub/{dist-CMVSARW5.js → dist-F547YSBE.js} +5 -5
- package/runtime/hub/apps/hub/{dist-EOGGFZZS.js → dist-FEHV4PC7.js} +4 -4
- package/runtime/hub/apps/hub/{dist-Z2Y5F7AF.js → dist-P7NT6VLK.js} +4 -4
- package/runtime/hub/apps/hub/{dist-LJBHOO3K.js → dist-W2YXTEQN.js} +1 -1
- package/runtime/hub/apps/hub/{dist-37EKQ6RZ.js → dist-W5SGEJLA.js} +4 -4
- package/runtime/hub/apps/hub/{dist-R77W6WJ5.js → dist-YB3Y2XDK.js} +4 -4
- package/runtime/hub/apps/hub/{dist-EGXZRZH2.js → dist-ZTJMZLED.js} +3 -3
- package/runtime/hub/apps/hub/{hub-worker-DXVMUQWF.js → hub-worker-I5QBLSRU.js} +6 -6
- package/runtime/hub/apps/hub/{prepared-state-LNQ7DYSU-ABC2EQVI.js → prepared-state-LNQ7DYSU-4I7FNNNS.js} +2 -2
- package/runtime/hub/apps/hub/server.js +12 -12
- package/runtime/hub/apps/hub/tsconfig.tsbuildinfo +1 -1
- package/runtime/relay/bin.cjs +4 -1
- package/runtime/vercel/ctl.cjs +4 -1
- package/dist/chunk-NAT2H7J4.js.map +0 -1
- package/dist/chunk-NGERWFSA.js.map +0 -1
- package/dist/chunk-OKLEPEWZ.js.map +0 -1
- package/dist/hub-Q4VOF4WN.js +0 -37
- package/dist/prepare-GFWWKWGF.js +0 -41
- package/dist/prepared-custody-KU4PDVBT.js +0 -36
- /package/dist/{_cloud-attach-HKRHYCY7.js.map → _cloud-attach-EUO2OL7W.js.map} +0 -0
- /package/dist/{chunk-GWKGSXDC.js.map → chunk-2JHPGPLE.js.map} +0 -0
- /package/dist/{chunk-THUST2QK.js.map → chunk-4KYP775X.js.map} +0 -0
- /package/dist/{chunk-HP4L45LW.js.map → chunk-4NUETVTR.js.map} +0 -0
- /package/dist/{chunk-UPVP6YGJ.js.map → chunk-53OTEDBS.js.map} +0 -0
- /package/dist/{chunk-VY54AX4T.js.map → chunk-6YSYQZRH.js.map} +0 -0
- /package/dist/{chunk-EFVTQ7YB.js.map → chunk-7LC5IG5K.js.map} +0 -0
- /package/dist/{chunk-DYETLPUT.js.map → chunk-A2TATHHJ.js.map} +0 -0
- /package/dist/{chunk-QU5BI2HC.js.map → chunk-AC3HU25W.js.map} +0 -0
- /package/dist/{chunk-CO2I3CQI.js.map → chunk-AUHYXXCA.js.map} +0 -0
- /package/dist/{chunk-RZCLRWNY.js.map → chunk-B4YFG5TB.js.map} +0 -0
- /package/dist/{chunk-DBXCFLAR.js.map → chunk-BIKWXLX7.js.map} +0 -0
- /package/dist/{chunk-GWYD7YBK.js.map → chunk-CZPVVFCF.js.map} +0 -0
- /package/dist/{chunk-BWE2I5QG.js.map → chunk-F4PPZ4SI.js.map} +0 -0
- /package/dist/{chunk-RQURMAPA.js.map → chunk-FEFLAITR.js.map} +0 -0
- /package/dist/{chunk-HO2ACZES.js.map → chunk-FELVUIIM.js.map} +0 -0
- /package/dist/{chunk-EPFXLXCW.js.map → chunk-I2DEYQLZ.js.map} +0 -0
- /package/dist/{chunk-WGNI24H2.js.map → chunk-I7BSBUPC.js.map} +0 -0
- /package/dist/{chunk-7QU6XENE.js.map → chunk-PAWAGULH.js.map} +0 -0
- /package/dist/{chunk-6PIGTR4D.js.map → chunk-PFEBKXFD.js.map} +0 -0
- /package/dist/{chunk-3INUZQTR.js.map → chunk-S32GHLVU.js.map} +0 -0
- /package/dist/{chunk-7Q6BG5AN.js.map → chunk-THKVKVRF.js.map} +0 -0
- /package/dist/{chunk-VVNXQ4XS.js.map → chunk-UEEW5TW7.js.map} +0 -0
- /package/dist/{chunk-LHOKRCNF.js.map → chunk-UTOC2NHC.js.map} +0 -0
- /package/dist/{chunk-HNWZO2XU.js.map → chunk-WDBDFLH3.js.map} +0 -0
- /package/dist/{chunk-WHJYOO5H.js.map → chunk-WJUKN4L4.js.map} +0 -0
- /package/dist/{control-plane-UKKYXHIQ.js.map → control-plane-YQFX2ILX.js.map} +0 -0
- /package/dist/{cp-hub-upload-BM2OLTOS.js.map → cp-hub-upload-RMJ3XJ65.js.map} +0 -0
- /package/dist/{custody-client-NPXJ46TB.js.map → custody-client-L4FEFW4C.js.map} +0 -0
- /package/dist/{deploy-hetzner-Y3ILCDRF.js.map → deploy-hetzner-EECQ4JCM.js.map} +0 -0
- /package/dist/{dist-5OGQ3CJQ.js.map → dist-3BKIPZR3.js.map} +0 -0
- /package/dist/{dist-7B3VCLZI.js.map → dist-C5B6NGBO.js.map} +0 -0
- /package/dist/{dist-DOEGENNW.js.map → dist-E5EXDZG4.js.map} +0 -0
- /package/dist/{dist-EOGD7KD6.js.map → dist-NFF2KEMB.js.map} +0 -0
- /package/dist/{dist-A5ZEIVAW.js.map → dist-NTUHJOK3.js.map} +0 -0
- /package/dist/{dist-MUTFY7FA.js.map → dist-PTYASENV.js.map} +0 -0
- /package/dist/{dist-SMDXLPZO.js.map → dist-Q4UDCSZQ.js.map} +0 -0
- /package/dist/{dist-VTLQKZ2E.js.map → dist-TXFTYNNE.js.map} +0 -0
- /package/dist/{dist-ZJIJHCZB.js.map → dist-XUOHE22G.js.map} +0 -0
- /package/dist/{dist-ZNYS7CVF.js.map → dist-Z2TPC3EN.js.map} +0 -0
- /package/dist/{host-reach-drainer-ZJU2STQQ.js.map → host-reach-drainer-N4JSFUBY.js.map} +0 -0
- /package/dist/{hub-Q4VOF4WN.js.map → hub-3HPYOV5O.js.map} +0 -0
- /package/dist/{hub-adopt-OA336ZXZ.js.map → hub-adopt-NCCCMMXL.js.map} +0 -0
- /package/dist/{hub-docker-target-JKFCABK4.js.map → hub-docker-target-ZKAWXVPH.js.map} +0 -0
- /package/dist/{prepare-GFWWKWGF.js.map → prepare-KIVDQRMN.js.map} +0 -0
- /package/dist/{prepared-custody-KU4PDVBT.js.map → prepared-custody-EFSOOAIQ.js.map} +0 -0
- /package/dist/{prepared-state-LNQ7DYSU-AR5RMXAO.js.map → prepared-state-LNQ7DYSU-2YFSDOCV.js.map} +0 -0
- /package/dist/{publish-credentials-3SQXX45P.js.map → publish-credentials-F2A5OVCO.js.map} +0 -0
- /package/dist/{registry-AFKV3EO2.js.map → registry-O3X2CDDU.js.map} +0 -0
- /package/dist/{relay-QH6OEY2V.js.map → relay-3T57T4RI.js.map} +0 -0
- /package/dist/{remote-docker-share-RMS6IB5X.js.map → remote-docker-share-QDCBM5UM.js.map} +0 -0
- /package/dist/{tool-grant-push-T6DRBY3W.js.map → tool-grant-push-6ISDIJKH.js.map} +0 -0
- /package/runtime/hub/apps/hub/.next/static/{XIx10ozuCZRzwSsiCF_5t → nDHi_1342DzyGDC14ocQo}/_buildManifest.js +0 -0
- /package/runtime/hub/apps/hub/.next/static/{XIx10ozuCZRzwSsiCF_5t → nDHi_1342DzyGDC14ocQo}/_clientMiddlewareManifest.js +0 -0
- /package/runtime/hub/apps/hub/.next/static/{XIx10ozuCZRzwSsiCF_5t → nDHi_1342DzyGDC14ocQo}/_ssgManifest.js +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -9,6 +9,28 @@ 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.29.1] - 2026-08-30
|
|
13
|
+
|
|
14
|
+
### Fixed
|
|
15
|
+
|
|
16
|
+
- **A clean install could dead-end on the hub token.** Deleting `~/.agentbox`
|
|
17
|
+
while the hub daemon kept running left it serving a token that no longer
|
|
18
|
+
existed on disk, so every `agentbox prepare` — and the install wizard's bake —
|
|
19
|
+
failed with `The local hub reports no API token`. The advice it printed was a
|
|
20
|
+
dead end: `agentbox hub` is a no-op against a live daemon and never rewrites
|
|
21
|
+
the file. The hub is now restarted to re-mint the token.
|
|
22
|
+
- **Attach silently lost its footer and permission prompts** when the optional
|
|
23
|
+
native pty backend (`@homebridge/node-pty-prebuilt-multiarch`) wasn't
|
|
24
|
+
installed — npm swallows an optional dependency that fails to install, so
|
|
25
|
+
`npm i -g @madarco/agentbox` can succeed without it. The notice now names the
|
|
26
|
+
missing package, points at the usual cause (`agentbox` installed under a
|
|
27
|
+
different Node than the one on `PATH`), and is repeated after the session
|
|
28
|
+
exits instead of being painted over by the agent's full-screen TUI.
|
|
29
|
+
- A provider plugin that declares no `descriptor` now gets a capitalised display
|
|
30
|
+
label, so the create picker and the tray no longer show two spellings of the
|
|
31
|
+
same provider. Plugins registered before this keep their old label until
|
|
32
|
+
`agentbox plugin add` re-registers them.
|
|
33
|
+
|
|
12
34
|
## [0.29.0] - 2026-08-28
|
|
13
35
|
|
|
14
36
|
### Added
|
|
@@ -2,20 +2,20 @@
|
|
|
2
2
|
import {
|
|
3
3
|
cloudAgentAttach,
|
|
4
4
|
cloudAgentStartDetached
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-73D2HKA3.js";
|
|
6
|
+
import "./chunk-F4PPZ4SI.js";
|
|
7
|
+
import "./chunk-53OTEDBS.js";
|
|
8
|
+
import "./chunk-2JHPGPLE.js";
|
|
9
9
|
import "./chunk-WHFCJBMO.js";
|
|
10
10
|
import {
|
|
11
11
|
buildCloudAttachInnerCommand,
|
|
12
12
|
verifyDetachedSession
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-4KYP775X.js";
|
|
14
|
+
import "./chunk-I2DEYQLZ.js";
|
|
15
|
+
import "./chunk-THKVKVRF.js";
|
|
16
|
+
import "./chunk-I7BSBUPC.js";
|
|
17
|
+
import "./chunk-CZPVVFCF.js";
|
|
18
|
+
import "./chunk-XENTK32L.js";
|
|
19
19
|
import "./chunk-7LNXTPEE.js";
|
|
20
20
|
import "./chunk-QESXSSO6.js";
|
|
21
21
|
import "./chunk-6V366IZC.js";
|
|
@@ -27,4 +27,4 @@ export {
|
|
|
27
27
|
cloudAgentStartDetached,
|
|
28
28
|
verifyDetachedSession
|
|
29
29
|
};
|
|
30
|
-
//# sourceMappingURL=_cloud-attach-
|
|
30
|
+
//# sourceMappingURL=_cloud-attach-EUO2OL7W.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
getRuntimeProviderNames,
|
|
4
4
|
isRuntimeProvider,
|
|
5
5
|
loadProviderModule
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-I7BSBUPC.js";
|
|
7
7
|
import {
|
|
8
8
|
REMOTE_DOCKER,
|
|
9
9
|
parseProviderSpec
|
|
@@ -68,4 +68,4 @@ export {
|
|
|
68
68
|
providerForBox,
|
|
69
69
|
providerForCreate
|
|
70
70
|
};
|
|
71
|
-
//# sourceMappingURL=chunk-
|
|
71
|
+
//# sourceMappingURL=chunk-2JHPGPLE.js.map
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
readBoxStatus,
|
|
18
18
|
registerBoxWithRelay,
|
|
19
19
|
stopBoxPollerOnRelay
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-I2DEYQLZ.js";
|
|
21
21
|
import {
|
|
22
22
|
AGENT_SYNC_SPECS,
|
|
23
23
|
BOX_DYNAMIC_SYNC_MANIFEST,
|
|
@@ -72,7 +72,7 @@ import {
|
|
|
72
72
|
stageOpencodeStaticForUpload,
|
|
73
73
|
writeCredentialBackup,
|
|
74
74
|
writePreparedStateRaw
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-XENTK32L.js";
|
|
76
76
|
import {
|
|
77
77
|
hashProjectPath,
|
|
78
78
|
loadEffectiveConfig,
|
|
@@ -4238,4 +4238,4 @@ export {
|
|
|
4238
4238
|
openWebAppOnVncScreen,
|
|
4239
4239
|
makeMockCloudBackend
|
|
4240
4240
|
};
|
|
4241
|
-
//# sourceMappingURL=chunk-
|
|
4241
|
+
//# sourceMappingURL=chunk-4KYP775X.js.map
|
|
@@ -7,18 +7,18 @@ import {
|
|
|
7
7
|
hostKeyDir,
|
|
8
8
|
listHostAliases,
|
|
9
9
|
parseRemoteTarget
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-FEFLAITR.js";
|
|
11
11
|
import {
|
|
12
12
|
HubApiError
|
|
13
13
|
} from "./chunk-WHFCJBMO.js";
|
|
14
14
|
import {
|
|
15
15
|
quoteShellArg
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-4KYP775X.js";
|
|
17
17
|
import {
|
|
18
18
|
mintSshKey,
|
|
19
19
|
resolveSshConfigTarget,
|
|
20
20
|
sshExec
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-XENTK32L.js";
|
|
22
22
|
import {
|
|
23
23
|
loadEffectiveConfig
|
|
24
24
|
} from "./chunk-7LNXTPEE.js";
|
|
@@ -164,7 +164,7 @@ async function locallySharedAliases() {
|
|
|
164
164
|
return out;
|
|
165
165
|
}
|
|
166
166
|
async function shareAfterAdd(alias) {
|
|
167
|
-
const { localExposedLoopbackUrl, resolveHubApiClient } = await import("./control-plane-
|
|
167
|
+
const { localExposedLoopbackUrl, resolveHubApiClient } = await import("./control-plane-YQFX2ILX.js");
|
|
168
168
|
const cfg = await loadEffectiveConfig(process.cwd()).catch(() => null);
|
|
169
169
|
const url = cfg?.effective.relay.controlPlaneUrl;
|
|
170
170
|
if (!url) return;
|
|
@@ -192,7 +192,7 @@ The host is registered here, so \`agentbox docker:${alias} \u2026\` still works
|
|
|
192
192
|
async function syncSharedHosts(urlFlag, onLog) {
|
|
193
193
|
const aliases = await locallySharedAliases();
|
|
194
194
|
if (aliases.length === 0) return;
|
|
195
|
-
const { localExposedLoopbackUrl, resolveHubApiClient } = await import("./control-plane-
|
|
195
|
+
const { localExposedLoopbackUrl, resolveHubApiClient } = await import("./control-plane-YQFX2ILX.js");
|
|
196
196
|
if (await localExposedLoopbackUrl().catch(() => null) !== null) return;
|
|
197
197
|
const client = await resolveHubApiClient(urlFlag, { quiet: true });
|
|
198
198
|
if (!client) {
|
|
@@ -210,9 +210,9 @@ var CONTROL_BOX_STATUS_MS = 5e3;
|
|
|
210
210
|
async function controlBoxKnowsHost(alias, effective) {
|
|
211
211
|
if (!alias || !effective.relay?.controlPlaneUrl) return false;
|
|
212
212
|
const [{ resolveHubApiTarget }, { HubApiClient }, { deadlineFetch, hostReachable }] = await Promise.all([
|
|
213
|
-
import("./control-plane-
|
|
213
|
+
import("./control-plane-YQFX2ILX.js"),
|
|
214
214
|
import("./hub-api-client-5U6WOTZ3.js"),
|
|
215
|
-
import("./dist-
|
|
215
|
+
import("./dist-TXFTYNNE.js")
|
|
216
216
|
]);
|
|
217
217
|
const target = await resolveHubApiTarget(void 0, { quiet: true }).catch(() => null);
|
|
218
218
|
if (!target) return false;
|
|
@@ -246,4 +246,4 @@ export {
|
|
|
246
246
|
hubCanRunEngine,
|
|
247
247
|
unsharedHostReason
|
|
248
248
|
};
|
|
249
|
-
//# sourceMappingURL=chunk-
|
|
249
|
+
//# sourceMappingURL=chunk-4NUETVTR.js.map
|
|
@@ -51,7 +51,7 @@ function reportHubError(err, url) {
|
|
|
51
51
|
process.exitCode = 1;
|
|
52
52
|
}
|
|
53
53
|
async function withHubClient(opts, fn) {
|
|
54
|
-
const { resolveHubApiTarget } = await import("./control-plane-
|
|
54
|
+
const { resolveHubApiTarget } = await import("./control-plane-YQFX2ILX.js");
|
|
55
55
|
const target = await resolveHubApiTarget(opts.url, { preferLocal: opts.preferLocal });
|
|
56
56
|
if (!target) {
|
|
57
57
|
process.exitCode = 1;
|
|
@@ -114,7 +114,7 @@ async function runOpOnOtherHub(box, op, preferLocalOther) {
|
|
|
114
114
|
let owner;
|
|
115
115
|
let other;
|
|
116
116
|
try {
|
|
117
|
-
const { resolveHubApiTarget } = await import("./control-plane-
|
|
117
|
+
const { resolveHubApiTarget } = await import("./control-plane-YQFX2ILX.js");
|
|
118
118
|
[owner, other] = await Promise.all([
|
|
119
119
|
resolveHubApiTarget(void 0, { quiet: true, preferLocal: !preferLocalOther }),
|
|
120
120
|
// Non-quiet so a stopped LOCAL retry hub is auto-started (it's a candidate owner).
|
|
@@ -150,4 +150,4 @@ export {
|
|
|
150
150
|
withOwningHub,
|
|
151
151
|
reportBoxNotOnAnyHub
|
|
152
152
|
};
|
|
153
|
-
//# sourceMappingURL=chunk-
|
|
153
|
+
//# sourceMappingURL=chunk-53OTEDBS.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
ClaudeSessionError
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-I2DEYQLZ.js";
|
|
5
5
|
import {
|
|
6
6
|
AmbiguousBoxError,
|
|
7
7
|
BoxNotFoundError
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-XENTK32L.js";
|
|
9
9
|
|
|
10
10
|
// src/commands/_errors.ts
|
|
11
11
|
import { log } from "@clack/prompts";
|
|
@@ -32,4 +32,4 @@ function handleLifecycleError(err) {
|
|
|
32
32
|
export {
|
|
33
33
|
handleLifecycleError
|
|
34
34
|
};
|
|
35
|
-
//# sourceMappingURL=chunk-
|
|
35
|
+
//# sourceMappingURL=chunk-6YSYQZRH.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
ensureHostReachDrainer
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-F4PPZ4SI.js";
|
|
5
5
|
import {
|
|
6
6
|
boxOwningHubIsLocal
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-53OTEDBS.js";
|
|
8
8
|
import {
|
|
9
9
|
providerForBox
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-2JHPGPLE.js";
|
|
11
11
|
import {
|
|
12
12
|
HubApiClient
|
|
13
13
|
} from "./chunk-WHFCJBMO.js";
|
|
@@ -15,19 +15,19 @@ import {
|
|
|
15
15
|
buildCloudAttachInnerCommand,
|
|
16
16
|
startDetachedCloudAgent,
|
|
17
17
|
startDetachedSession
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-4KYP775X.js";
|
|
19
19
|
import {
|
|
20
20
|
readBoxStatus,
|
|
21
21
|
startClaudeSession,
|
|
22
22
|
startCodexSession,
|
|
23
23
|
startOpencodeSession
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-I2DEYQLZ.js";
|
|
25
25
|
import {
|
|
26
26
|
isValidBoxStatus
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-THKVKVRF.js";
|
|
28
28
|
import {
|
|
29
29
|
claudeTuiEnv
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-XENTK32L.js";
|
|
31
31
|
import {
|
|
32
32
|
loadEffectiveConfig
|
|
33
33
|
} from "./chunk-7LNXTPEE.js";
|
|
@@ -1791,6 +1791,7 @@ function buildAgentboxAttachArgv(mode, boxName) {
|
|
|
1791
1791
|
if (mode !== "claude" && mode !== "codex" && mode !== "opencode") return null;
|
|
1792
1792
|
return [mode, "attach", boxName, "--attach-in", "same"];
|
|
1793
1793
|
}
|
|
1794
|
+
var PTY_UNAVAILABLE_NOTICE = "agentbox: footer + permission prompts disabled \u2014 the optional native backend\n '@homebridge/node-pty-prebuilt-multiarch' could not be loaded.\n Most often `agentbox` is installed under a different Node than the one on\n PATH. Compare `node -v` with the Node that owns `command -v agentbox`, then\n reinstall with that Node: npm i -g @madarco/agentbox\n";
|
|
1794
1795
|
async function runWrappedAttach(opts) {
|
|
1795
1796
|
const command = opts.command ?? "docker";
|
|
1796
1797
|
const logErr = (msg) => {
|
|
@@ -1820,8 +1821,10 @@ async function runWrappedAttach(opts) {
|
|
|
1820
1821
|
}
|
|
1821
1822
|
const backend = await loadPtyBackend();
|
|
1822
1823
|
if (!backend) {
|
|
1823
|
-
process.stderr.write(
|
|
1824
|
-
|
|
1824
|
+
process.stderr.write(PTY_UNAVAILABLE_NOTICE);
|
|
1825
|
+
const code = runFallback(command, opts.dockerArgv, opts.env);
|
|
1826
|
+
process.stderr.write(PTY_UNAVAILABLE_NOTICE);
|
|
1827
|
+
return code;
|
|
1825
1828
|
}
|
|
1826
1829
|
const cols = process.stdout.columns ?? 80;
|
|
1827
1830
|
const rows = process.stdout.rows ?? 24;
|
|
@@ -2666,7 +2669,7 @@ async function resolveBoxHubTarget(box) {
|
|
|
2666
2669
|
async function resolveBoxPromptSource(box, opts = {}) {
|
|
2667
2670
|
const target = await resolveBoxHubTarget(box).catch(() => "none");
|
|
2668
2671
|
if (target === "none" || target === "no-token") {
|
|
2669
|
-
const { resolveHubApiTarget } = await import("./control-plane-
|
|
2672
|
+
const { resolveHubApiTarget } = await import("./control-plane-YQFX2ILX.js");
|
|
2670
2673
|
const local = await resolveHubApiTarget(void 0, { preferLocal: true, quiet: opts.quiet });
|
|
2671
2674
|
if (!local) return null;
|
|
2672
2675
|
return {
|
|
@@ -2873,4 +2876,4 @@ export {
|
|
|
2873
2876
|
agentResumeArgs,
|
|
2874
2877
|
restoreAgentSessions
|
|
2875
2878
|
};
|
|
2876
|
-
//# sourceMappingURL=chunk-
|
|
2879
|
+
//# sourceMappingURL=chunk-73D2HKA3.js.map
|