@madarco/agentbox 0.23.1 → 0.23.3
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 +19 -0
- package/dist/{_cloud-attach-HGP3MQEG.js → _cloud-attach-BQRWX3J2.js} +4 -4
- package/dist/{chunk-QVWGQJV6.js → chunk-GGRZ3GZO.js} +2 -2
- package/dist/{chunk-L5SOSNQI.js → chunk-I6ZRWTPR.js} +26 -4
- package/dist/chunk-I6ZRWTPR.js.map +1 -0
- package/dist/{chunk-QGL734YX.js → chunk-LA4JMS27.js} +11 -3
- package/dist/{chunk-QGL734YX.js.map → chunk-LA4JMS27.js.map} +1 -1
- package/dist/{chunk-CKC3CP7Y.js → chunk-LK2JT2OO.js} +19 -7
- package/dist/{chunk-CKC3CP7Y.js.map → chunk-LK2JT2OO.js.map} +1 -1
- package/dist/{chunk-Q626V2YX.js → chunk-LSQXT5WZ.js} +2 -2
- package/dist/{chunk-4AV2L2KY.js → chunk-QEQFZLYR.js} +8 -8
- package/dist/{chunk-ERMU7RMK.js → chunk-SFA57TGX.js} +4 -4
- package/dist/{chunk-JXDSSSXS.js → chunk-W3FQPFP7.js} +3 -3
- package/dist/{dist-Z3GSHEFO.js → dist-CUKBKS3N.js} +5 -5
- package/dist/{dist-X3O3HEYD.js → dist-FXQFTT75.js} +5 -5
- package/dist/{dist-W5476E2U.js → dist-QO4CTLAX.js} +5 -5
- package/dist/{dist-GEHCZJCS.js → dist-V235KVEX.js} +5 -5
- package/dist/{dist-JFUUDAI3.js → dist-Z2NEVV55.js} +5 -3
- package/dist/index.js +22 -39
- package/dist/index.js.map +1 -1
- package/dist/{prepared-state-LW2PKTEQ-5YMKG7UN.js → prepared-state-BUO75YLZ-CDTISC2C.js} +2 -2
- package/package.json +1 -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/(dashboard)/boxes/[id]/page_client-reference-manifest.js +1 -1
- 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/chunks/[root-of-the-server]__0keu6we._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1bqbkd5._.js +2 -2
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1qa4a0v._.js +2 -2
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/apps_hub_app_(dashboard)_boxes_[id]_page_tsx_1-j_972._.js +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/.next/static/chunks/{1py5tlz57h7ra.js → 44o5lj23__y1m.js} +1 -1
- package/runtime/hub/apps/hub/{chunk-JQFB2CNA.js → chunk-2Z74R6ZT.js} +10 -2
- package/runtime/hub/apps/hub/{chunk-6HD4PARX.js → chunk-AR7CEZ2G.js} +25 -3
- package/runtime/hub/apps/hub/{chunk-K6RA5GJI.js → chunk-H22XP3NY.js} +18 -6
- package/runtime/hub/apps/hub/{dist-OUNL2TCW.js → dist-LNHEG5P4.js} +3 -3
- package/runtime/hub/apps/hub/{dist-7GNKBKFV.js → dist-LZNRLUYY.js} +3 -3
- package/runtime/hub/apps/hub/{dist-JWVTVHBT.js → dist-Q6G66Z57.js} +3 -3
- package/runtime/hub/apps/hub/{dist-L2MMBH7P.js → dist-SD4G36EP.js} +3 -3
- package/runtime/hub/apps/hub/{dist-3HR4RIPE.js → dist-VV6Z2CQX.js} +4 -2
- package/runtime/hub/apps/hub/{prepared-state-LW2PKTEQ-7BCXARGA.js → prepared-state-BUO75YLZ-CAXQS5Y3.js} +1 -1
- package/runtime/hub/apps/hub/server.js +23 -10
- package/dist/chunk-L5SOSNQI.js.map +0 -1
- /package/dist/{_cloud-attach-HGP3MQEG.js.map → _cloud-attach-BQRWX3J2.js.map} +0 -0
- /package/dist/{chunk-QVWGQJV6.js.map → chunk-GGRZ3GZO.js.map} +0 -0
- /package/dist/{chunk-Q626V2YX.js.map → chunk-LSQXT5WZ.js.map} +0 -0
- /package/dist/{chunk-4AV2L2KY.js.map → chunk-QEQFZLYR.js.map} +0 -0
- /package/dist/{chunk-ERMU7RMK.js.map → chunk-SFA57TGX.js.map} +0 -0
- /package/dist/{chunk-JXDSSSXS.js.map → chunk-W3FQPFP7.js.map} +0 -0
- /package/dist/{dist-JFUUDAI3.js.map → dist-CUKBKS3N.js.map} +0 -0
- /package/dist/{dist-X3O3HEYD.js.map → dist-FXQFTT75.js.map} +0 -0
- /package/dist/{dist-W5476E2U.js.map → dist-QO4CTLAX.js.map} +0 -0
- /package/dist/{dist-GEHCZJCS.js.map → dist-V235KVEX.js.map} +0 -0
- /package/dist/{dist-Z3GSHEFO.js.map → dist-Z2NEVV55.js.map} +0 -0
- /package/dist/{prepared-state-LW2PKTEQ-5YMKG7UN.js.map → prepared-state-BUO75YLZ-CDTISC2C.js.map} +0 -0
- /package/runtime/hub/apps/hub/.next/static/{mcWRLSGubwKk9p3RFz2-Q → 12hWAUQ9O9G3VS4vxKuav}/_buildManifest.js +0 -0
- /package/runtime/hub/apps/hub/.next/static/{mcWRLSGubwKk9p3RFz2-Q → 12hWAUQ9O9G3VS4vxKuav}/_clientMiddlewareManifest.js +0 -0
- /package/runtime/hub/apps/hub/.next/static/{mcWRLSGubwKk9p3RFz2-Q → 12hWAUQ9O9G3VS4vxKuav}/_ssgManifest.js +0 -0
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
readPreparedStateRaw,
|
|
9
9
|
writeManagedSecrets,
|
|
10
10
|
writePreparedStateRaw
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-LK2JT2OO.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-
|
|
327
|
+
//# sourceMappingURL=chunk-LSQXT5WZ.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
startClaudeSession,
|
|
6
6
|
startCodexSession,
|
|
7
7
|
startOpencodeSession
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-LA4JMS27.js";
|
|
9
9
|
import {
|
|
10
10
|
PROVIDER_NAMES,
|
|
11
11
|
isProviderKind,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
isSupportedApiVersion,
|
|
16
16
|
pluginForProvider,
|
|
17
17
|
pluginProviderNames
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-LK2JT2OO.js";
|
|
19
19
|
|
|
20
20
|
// src/commands/_cloud-attach.ts
|
|
21
21
|
import { spawn as spawn4 } from "child_process";
|
|
@@ -153,11 +153,11 @@ async function withFirewallRepair(provider, box, opts, attempt) {
|
|
|
153
153
|
// src/provider/loaders.ts
|
|
154
154
|
import { pathToFileURL } from "url";
|
|
155
155
|
var IMPORTERS = {
|
|
156
|
-
docker: () => import("./dist-
|
|
157
|
-
daytona: () => import("./dist-
|
|
158
|
-
hetzner: () => import("./dist-
|
|
159
|
-
vercel: () => import("./dist-
|
|
160
|
-
e2b: () => import("./dist-
|
|
156
|
+
docker: () => import("./dist-Z2NEVV55.js"),
|
|
157
|
+
daytona: () => import("./dist-FXQFTT75.js"),
|
|
158
|
+
hetzner: () => import("./dist-CUKBKS3N.js"),
|
|
159
|
+
vercel: () => import("./dist-QO4CTLAX.js"),
|
|
160
|
+
e2b: () => import("./dist-V235KVEX.js")
|
|
161
161
|
};
|
|
162
162
|
function pickProviderModule(mod, name) {
|
|
163
163
|
const m = mod;
|
|
@@ -2755,4 +2755,4 @@ export {
|
|
|
2755
2755
|
agentResumeArgs,
|
|
2756
2756
|
restoreAgentSessions
|
|
2757
2757
|
};
|
|
2758
|
-
//# sourceMappingURL=chunk-
|
|
2758
|
+
//# sourceMappingURL=chunk-QEQFZLYR.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
createCloudProvider
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-I6ZRWTPR.js";
|
|
5
5
|
import {
|
|
6
6
|
detectPortless,
|
|
7
7
|
portlessDoctorRow
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-LA4JMS27.js";
|
|
9
9
|
import {
|
|
10
10
|
UserFacingError,
|
|
11
11
|
claudeInstallFingerprint,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
stageOpencodeStaticForUpload,
|
|
23
23
|
writeManagedSecrets,
|
|
24
24
|
writePreparedStateRaw
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-LK2JT2OO.js";
|
|
26
26
|
|
|
27
27
|
// ../../packages/sandbox-hetzner/dist/chunk-3ZWBEZND.js
|
|
28
28
|
import { existsSync, readFileSync } from "fs";
|
|
@@ -2263,4 +2263,4 @@ export {
|
|
|
2263
2263
|
hetznerProvider,
|
|
2264
2264
|
providerModule
|
|
2265
2265
|
};
|
|
2266
|
-
//# sourceMappingURL=chunk-
|
|
2266
|
+
//# sourceMappingURL=chunk-SFA57TGX.js.map
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
renderInnerCommand,
|
|
9
9
|
resolveCloudCheckpoint,
|
|
10
10
|
writeCloudCheckpointManifest
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-I6ZRWTPR.js";
|
|
12
12
|
import {
|
|
13
13
|
UserFacingError,
|
|
14
14
|
claudeInstallFingerprint,
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
stageOpencodeStaticForUpload,
|
|
25
25
|
writeManagedSecrets,
|
|
26
26
|
writePreparedStateRaw
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-LK2JT2OO.js";
|
|
28
28
|
|
|
29
29
|
// ../../packages/sandbox-vercel/dist/chunk-6SDDZRAG.js
|
|
30
30
|
import { existsSync, readFileSync } from "fs";
|
|
@@ -1651,4 +1651,4 @@ export {
|
|
|
1651
1651
|
vercelProvider,
|
|
1652
1652
|
providerModule
|
|
1653
1653
|
};
|
|
1654
|
-
//# sourceMappingURL=chunk-
|
|
1654
|
+
//# sourceMappingURL=chunk-W3FQPFP7.js.map
|
|
@@ -44,13 +44,13 @@ import {
|
|
|
44
44
|
waitForSsh,
|
|
45
45
|
withHetznerRetry,
|
|
46
46
|
writePreparedState
|
|
47
|
-
} from "./chunk-
|
|
48
|
-
import "./chunk-
|
|
49
|
-
import "./chunk-
|
|
47
|
+
} from "./chunk-SFA57TGX.js";
|
|
48
|
+
import "./chunk-I6ZRWTPR.js";
|
|
49
|
+
import "./chunk-LA4JMS27.js";
|
|
50
50
|
import "./chunk-QT3SHMLY.js";
|
|
51
51
|
import {
|
|
52
52
|
mintSshKey
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-LK2JT2OO.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-
|
|
103
|
+
//# sourceMappingURL=dist-CUKBKS3N.js.map
|
|
@@ -13,17 +13,17 @@ import {
|
|
|
13
13
|
resolveDockerfileContext,
|
|
14
14
|
setDaytonaCredentials,
|
|
15
15
|
writePreparedDaytonaState
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-GGRZ3GZO.js";
|
|
17
17
|
import {
|
|
18
18
|
createCloudProvider
|
|
19
|
-
} from "./chunk-
|
|
20
|
-
import "./chunk-
|
|
19
|
+
} from "./chunk-I6ZRWTPR.js";
|
|
20
|
+
import "./chunk-LA4JMS27.js";
|
|
21
21
|
import "./chunk-QT3SHMLY.js";
|
|
22
22
|
import {
|
|
23
23
|
claudeInstallFingerprint,
|
|
24
24
|
errSummary,
|
|
25
25
|
stageAllAgentStatic
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-LK2JT2OO.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-
|
|
302
|
+
//# sourceMappingURL=dist-FXQFTT75.js.map
|
|
@@ -34,11 +34,11 @@ import {
|
|
|
34
34
|
vercelBackend,
|
|
35
35
|
vercelProvider,
|
|
36
36
|
writePreparedState
|
|
37
|
-
} from "./chunk-
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
37
|
+
} from "./chunk-W3FQPFP7.js";
|
|
38
|
+
import "./chunk-I6ZRWTPR.js";
|
|
39
|
+
import "./chunk-LA4JMS27.js";
|
|
40
40
|
import "./chunk-QT3SHMLY.js";
|
|
41
|
-
import "./chunk-
|
|
41
|
+
import "./chunk-LK2JT2OO.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-
|
|
80
|
+
//# sourceMappingURL=dist-QO4CTLAX.js.map
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
setE2bCredentials,
|
|
21
21
|
updatePreparedState,
|
|
22
22
|
writePreparedState
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-LSQXT5WZ.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-
|
|
34
|
-
import "./chunk-
|
|
33
|
+
} from "./chunk-I6ZRWTPR.js";
|
|
34
|
+
import "./chunk-LA4JMS27.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-
|
|
43
|
+
} from "./chunk-LK2JT2OO.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-
|
|
753
|
+
//# sourceMappingURL=dist-V235KVEX.js.map
|
|
@@ -96,6 +96,7 @@ import {
|
|
|
96
96
|
ensureAgentboxTasksFile,
|
|
97
97
|
ensureAgentsVolume,
|
|
98
98
|
ensureBoxBrowser,
|
|
99
|
+
ensureBoxBrowserShowingApp,
|
|
99
100
|
ensureClaudeVolume,
|
|
100
101
|
ensureCodexInstalled,
|
|
101
102
|
ensureCodexVolume,
|
|
@@ -222,7 +223,7 @@ import {
|
|
|
222
223
|
vscodeServerVolumeName,
|
|
223
224
|
waitForTmuxPaneContent,
|
|
224
225
|
warmUpClaudeCredentials
|
|
225
|
-
} from "./chunk-
|
|
226
|
+
} from "./chunk-LA4JMS27.js";
|
|
226
227
|
import "./chunk-QT3SHMLY.js";
|
|
227
228
|
import {
|
|
228
229
|
AmbiguousBoxError,
|
|
@@ -271,7 +272,7 @@ import {
|
|
|
271
272
|
stageDynamicSyncTarball,
|
|
272
273
|
tagImage,
|
|
273
274
|
writePreparedDockerState
|
|
274
|
-
} from "./chunk-
|
|
275
|
+
} from "./chunk-LK2JT2OO.js";
|
|
275
276
|
import "./chunk-G3H2L3O2.js";
|
|
276
277
|
import "./chunk-WJFZJZIM.js";
|
|
277
278
|
export {
|
|
@@ -392,6 +393,7 @@ export {
|
|
|
392
393
|
ensureAgentboxTasksFile,
|
|
393
394
|
ensureAgentsVolume,
|
|
394
395
|
ensureBoxBrowser,
|
|
396
|
+
ensureBoxBrowserShowingApp,
|
|
395
397
|
ensureClaudeVolume,
|
|
396
398
|
ensureCodexInstalled,
|
|
397
399
|
ensureCodexVolume,
|
|
@@ -544,4 +546,4 @@ export {
|
|
|
544
546
|
warmUpClaudeCredentials,
|
|
545
547
|
writePreparedDockerState
|
|
546
548
|
};
|
|
547
|
-
//# sourceMappingURL=dist-
|
|
549
|
+
//# sourceMappingURL=dist-Z2NEVV55.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-
|
|
8
|
+
} from "./chunk-LSQXT5WZ.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-
|
|
52
|
+
} from "./chunk-QEQFZLYR.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-
|
|
60
|
+
} from "./chunk-GGRZ3GZO.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-
|
|
72
|
+
} from "./chunk-SFA57TGX.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-
|
|
91
|
+
} from "./chunk-W3FQPFP7.js";
|
|
92
92
|
import {
|
|
93
93
|
agentSpecsForCloud,
|
|
94
94
|
baseFreshnessFromFingerprints,
|
|
@@ -97,10 +97,11 @@ import {
|
|
|
97
97
|
listAllCloudCheckpoints,
|
|
98
98
|
listCloudBackendDirs,
|
|
99
99
|
listCloudCheckpoints,
|
|
100
|
+
openWebAppOnVncScreen,
|
|
100
101
|
probeCloudCheckpoint,
|
|
101
102
|
resolveCloudCheckpoint,
|
|
102
103
|
seedAgentVolumesIfFresh
|
|
103
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-I6ZRWTPR.js";
|
|
104
105
|
import {
|
|
105
106
|
ALL_CONNECTORS,
|
|
106
107
|
BOX_STATUS_EVENT,
|
|
@@ -151,6 +152,7 @@ import {
|
|
|
151
152
|
enqueueQueueJob,
|
|
152
153
|
ensureAgentboxTasksFile,
|
|
153
154
|
ensureBoxBrowser,
|
|
155
|
+
ensureBoxBrowserShowingApp,
|
|
154
156
|
ensureClaudeVolume,
|
|
155
157
|
ensureCodexInstalled,
|
|
156
158
|
ensureCodexVolume,
|
|
@@ -248,7 +250,7 @@ import {
|
|
|
248
250
|
waitForTmuxPaneContent,
|
|
249
251
|
warmUpClaudeCredentials,
|
|
250
252
|
writeJob
|
|
251
|
-
} from "./chunk-
|
|
253
|
+
} from "./chunk-LA4JMS27.js";
|
|
252
254
|
import {
|
|
253
255
|
BUILT_IN_DEFAULTS,
|
|
254
256
|
CLOUD_PROVIDER_NAMES,
|
|
@@ -333,7 +335,7 @@ import {
|
|
|
333
335
|
toQueueKind,
|
|
334
336
|
toSyncKind,
|
|
335
337
|
upsertClaudeSshConfig
|
|
336
|
-
} from "./chunk-
|
|
338
|
+
} from "./chunk-LK2JT2OO.js";
|
|
337
339
|
import "./chunk-G3H2L3O2.js";
|
|
338
340
|
import {
|
|
339
341
|
__export,
|
|
@@ -341,8 +343,8 @@ import {
|
|
|
341
343
|
} from "./chunk-WJFZJZIM.js";
|
|
342
344
|
|
|
343
345
|
// src/version.ts
|
|
344
|
-
var AGENTBOX_VERSION = true ? "0.23.
|
|
345
|
-
var AGENTBOX_COMMIT = true ? "
|
|
346
|
+
var AGENTBOX_VERSION = true ? "0.23.3" : "0.0.0-dev";
|
|
347
|
+
var AGENTBOX_COMMIT = true ? "04685de20" : "dev";
|
|
346
348
|
|
|
347
349
|
// src/index.ts
|
|
348
350
|
import { existsSync as _existsSync } from "fs";
|
|
@@ -3736,7 +3738,7 @@ async function renderDocker(status) {
|
|
|
3736
3738
|
}
|
|
3737
3739
|
async function daytonaStatus() {
|
|
3738
3740
|
try {
|
|
3739
|
-
const mod = await import("./dist-
|
|
3741
|
+
const mod = await import("./dist-FXQFTT75.js");
|
|
3740
3742
|
return await mod.getDaytonaStatus();
|
|
3741
3743
|
} catch (err) {
|
|
3742
3744
|
return {
|
|
@@ -3747,7 +3749,7 @@ async function daytonaStatus() {
|
|
|
3747
3749
|
}
|
|
3748
3750
|
async function e2bStatus() {
|
|
3749
3751
|
try {
|
|
3750
|
-
const mod = await import("./dist-
|
|
3752
|
+
const mod = await import("./dist-V235KVEX.js");
|
|
3751
3753
|
const cred = mod.readE2bCredStatus();
|
|
3752
3754
|
if (cred.auth === "none") {
|
|
3753
3755
|
return { configured: false, reason: "not configured \u2014 run `agentbox e2b login`" };
|
|
@@ -8345,7 +8347,7 @@ var createCommand = new Command13("create").description(
|
|
|
8345
8347
|
}
|
|
8346
8348
|
outro7("done");
|
|
8347
8349
|
if (attachClaudeAfter) {
|
|
8348
|
-
const { cloudAgentAttach: cloudAgentAttach2 } = await import("./_cloud-attach-
|
|
8350
|
+
const { cloudAgentAttach: cloudAgentAttach2 } = await import("./_cloud-attach-BQRWX3J2.js");
|
|
8349
8351
|
await cloudAgentAttach2({
|
|
8350
8352
|
box: result.record,
|
|
8351
8353
|
binary: "claude",
|
|
@@ -17030,13 +17032,10 @@ var screenCommand = new Command51("screen").description("Open a box's VNC (noVNC
|
|
|
17030
17032
|
} else if (insp.state === "missing") {
|
|
17031
17033
|
throw new Error(`box ${box.name} has no container; was it destroyed?`);
|
|
17032
17034
|
}
|
|
17033
|
-
const
|
|
17034
|
-
const exposePort = persisted?.services.find((s) => s.expose)?.expose?.port;
|
|
17035
|
-
const inBoxUrl = exposePort !== void 0 ? box.portlessUrl ?? `http://localhost:${String(exposePort)}` : "about:blank";
|
|
17036
|
-
const br = await ensureBoxBrowser(box.container, void 0, inBoxUrl);
|
|
17035
|
+
const br = await ensureBoxBrowserShowingApp(box);
|
|
17037
17036
|
if (br.up && !br.alreadyRunning) {
|
|
17038
17037
|
log51.info(
|
|
17039
|
-
|
|
17038
|
+
br.target !== "about:blank" ? `opened ${br.target} in the in-box browser (visible in the VNC view)` : "started in-box browser"
|
|
17040
17039
|
);
|
|
17041
17040
|
} else if (br.alreadyRunning) {
|
|
17042
17041
|
log51.info("in-box browser already running; left it untouched");
|
|
@@ -17070,27 +17069,11 @@ var screenCommand = new Command51("screen").description("Open a box's VNC (noVNC
|
|
|
17070
17069
|
} else if (state === "missing") {
|
|
17071
17070
|
throw new Error(`cloud sandbox for ${box.name} is missing; was it deleted?`);
|
|
17072
17071
|
}
|
|
17073
|
-
const
|
|
17074
|
-
|
|
17075
|
-
|
|
17076
|
-
|
|
17077
|
-
|
|
17078
|
-
const q = `'${webUrl.replace(/'/g, "'\\''")}'`;
|
|
17079
|
-
const br = await p.exec(box, ["bash", "-lc", `agent-browser open --headed ${q}`], {
|
|
17080
|
-
user: "vscode"
|
|
17081
|
-
});
|
|
17082
|
-
if (br.exitCode === 0) {
|
|
17083
|
-
log51.info(`opened ${webUrl} in the in-box browser (visible in the VNC view)`);
|
|
17084
|
-
} else {
|
|
17085
|
-
log51.warn(
|
|
17086
|
-
`could not open in-box browser (continuing): ${br.stderr.trim() || br.stdout.trim() || `exit ${String(br.exitCode)}`}`
|
|
17087
|
-
);
|
|
17088
|
-
}
|
|
17089
|
-
} catch (err) {
|
|
17090
|
-
log51.warn(
|
|
17091
|
-
`in-box browser skipped: ${err instanceof Error ? err.message : String(err)}`
|
|
17092
|
-
);
|
|
17093
|
-
}
|
|
17072
|
+
const br = await openWebAppOnVncScreen(box, p);
|
|
17073
|
+
if (br.opened) {
|
|
17074
|
+
log51.info(`opened ${br.target ?? ""} in the in-box browser (visible in the VNC view)`);
|
|
17075
|
+
} else if (br.reason && br.reason !== "no web service") {
|
|
17076
|
+
log51.warn(`could not open in-box browser (continuing): ${br.reason}`);
|
|
17094
17077
|
}
|
|
17095
17078
|
const base = await p.resolveUrl(box, { kind: "vnc", ttl });
|
|
17096
17079
|
url = `${base.replace(/\/$/, "")}/vnc.html?autoconnect=1&password=${encodeURIComponent(box.vncPassword)}`;
|