@madarco/agentbox 0.24.6 → 0.25.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.
- package/CHANGELOG.md +59 -0
- package/LICENSE +21 -0
- package/README.md +4 -0
- package/dist/{_cloud-attach-ESCPOKG5.js → _cloud-attach-W2CFNXKO.js} +5 -5
- package/dist/{chunk-RFRWS5CD.js → chunk-4UNSBU5R.js} +2 -2
- package/dist/{chunk-H6A4BQMG.js → chunk-5F5SOSDY.js} +40 -1
- package/dist/chunk-5F5SOSDY.js.map +1 -0
- package/dist/{chunk-7DPDUZ7L.js → chunk-7C5MOA4Z.js} +194 -56
- package/dist/chunk-7C5MOA4Z.js.map +1 -0
- package/dist/{chunk-LJMGHFLZ.js → chunk-7PRLM3PH.js} +3 -3
- package/dist/chunk-G3H2L3O2.js +0 -0
- package/dist/{chunk-4HPLS5HJ.js → chunk-GHFIKSBJ.js} +110 -9
- package/dist/chunk-GHFIKSBJ.js.map +1 -0
- package/dist/{chunk-5JDOTQTM.js → chunk-LCZOQTIX.js} +4 -4
- package/dist/{chunk-QHISF6O6.js → chunk-LU3WAHTU.js} +3 -3
- package/dist/{chunk-CE3S7UDQ.js → chunk-NH3W6HUZ.js} +44 -12
- package/dist/chunk-NH3W6HUZ.js.map +1 -0
- package/dist/{chunk-OSPM4Q5V.js → chunk-VZC5J44U.js} +5 -5
- package/dist/chunk-VZC5J44U.js.map +1 -0
- package/dist/chunk-WJFZJZIM.js +0 -0
- package/dist/{chunk-3MDYQROX.js → chunk-Y3OPQWAQ.js} +11 -11
- package/dist/chunk-Y3OPQWAQ.js.map +1 -0
- package/dist/cloud-poller-SUNA6ZQC-7M5LJHHE.js +0 -0
- package/dist/{dist-TRKHS6I7.js → dist-3V5SLNK4.js} +6 -6
- package/dist/{dist-NOUPH5E6.js → dist-BIDAC4H4.js} +4 -4
- package/dist/{dist-VFPT5TDH.js → dist-I5OBPLP2.js} +6 -6
- package/dist/{dist-3M53BF4E.js → dist-IGQNVIV3.js} +6 -6
- package/dist/dist-KL73Z37T.js +677 -0
- package/dist/dist-KL73Z37T.js.map +1 -0
- package/dist/{dist-HPPHBZTO.js → dist-SBDYDH7H.js} +8 -2
- package/dist/{dist-FGXCG4JY.js → dist-UB3PYSCG.js} +6 -6
- package/dist/index.js +114 -38
- package/dist/index.js.map +1 -1
- package/dist/{prepared-state-BUO75YLZ-46W2PAHH.js → prepared-state-OBM2F7CU-DY7TZV4R.js} +2 -2
- package/package.json +29 -30
- package/runtime/_shared/agentbox-checkpoint-cleanup +0 -0
- package/runtime/_shared/agentbox-dockerd-start +0 -0
- package/runtime/_shared/agentbox-open +0 -0
- package/runtime/_shared/agentbox-portless-trust +0 -0
- package/runtime/_shared/agentbox-vnc-start +0 -0
- package/runtime/_shared/ctl.cjs +31 -4
- package/runtime/_shared/gh-shim +0 -0
- package/runtime/_shared/git-shim +0 -0
- package/runtime/_shared/linear-shim +0 -0
- package/runtime/_shared/ntn-shim +0 -0
- package/runtime/digitalocean/agentbox-checkpoint-cleanup +0 -0
- package/runtime/digitalocean/agentbox-dockerd-start +0 -0
- package/runtime/digitalocean/agentbox-open +0 -0
- package/runtime/digitalocean/agentbox-portless-trust +0 -0
- package/runtime/digitalocean/agentbox-vnc-start +0 -0
- package/runtime/digitalocean/ctl.cjs +31 -4
- package/runtime/digitalocean/gh-shim +0 -0
- package/runtime/digitalocean/git-shim +0 -0
- package/runtime/digitalocean/linear-shim +0 -0
- package/runtime/digitalocean/ntn-shim +0 -0
- package/runtime/digitalocean/scripts/install-box.sh +0 -0
- package/runtime/docker/packages/ctl/dist/bin.cjs +31 -4
- package/runtime/docker/packages/sandbox-docker/scripts/agentbox-checkpoint-cleanup +0 -0
- package/runtime/docker/packages/sandbox-docker/scripts/agentbox-dockerd-start +0 -0
- package/runtime/docker/packages/sandbox-docker/scripts/agentbox-open +0 -0
- package/runtime/docker/packages/sandbox-docker/scripts/agentbox-portless-trust +0 -0
- package/runtime/docker/packages/sandbox-docker/scripts/agentbox-sshd-start +0 -0
- package/runtime/docker/packages/sandbox-docker/scripts/agentbox-vnc-start +0 -0
- package/runtime/docker/packages/sandbox-docker/scripts/chromium-resolver +0 -0
- package/runtime/docker/packages/sandbox-docker/scripts/gh-shim +0 -0
- package/runtime/docker/packages/sandbox-docker/scripts/git-shim +0 -0
- package/runtime/docker/packages/sandbox-docker/scripts/linear-shim +0 -0
- package/runtime/docker/packages/sandbox-docker/scripts/ntn-shim +0 -0
- package/runtime/e2b/agentbox-checkpoint-cleanup +0 -0
- package/runtime/e2b/agentbox-dockerd-start +0 -0
- package/runtime/e2b/agentbox-open +0 -0
- package/runtime/e2b/agentbox-vnc-start +0 -0
- package/runtime/e2b/ctl.cjs +31 -4
- package/runtime/e2b/gh-shim +0 -0
- package/runtime/e2b/git-shim +0 -0
- package/runtime/e2b/linear-shim +0 -0
- package/runtime/e2b/ntn-shim +0 -0
- package/runtime/e2b/scripts/build-template.sh +0 -0
- package/runtime/hetzner/agentbox-checkpoint-cleanup +0 -0
- package/runtime/hetzner/agentbox-dockerd-start +0 -0
- package/runtime/hetzner/agentbox-open +0 -0
- package/runtime/hetzner/agentbox-portless-trust +0 -0
- package/runtime/hetzner/agentbox-vnc-start +0 -0
- package/runtime/hetzner/ctl.cjs +31 -4
- package/runtime/hetzner/gh-shim +0 -0
- package/runtime/hetzner/git-shim +0 -0
- package/runtime/hetzner/linear-shim +0 -0
- package/runtime/hetzner/ntn-shim +0 -0
- package/runtime/hetzner/scripts/install-box.sh +0 -0
- 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/chunks/[root-of-the-server]__0d1lmiq._.js +6 -6
- package/runtime/hub/apps/hub/.next/server/chunks/_0760z6y._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/_0ro6vh6._.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/{auth-HY5K55Y5.js → auth-MVL4NCQC.js} +3 -3
- package/runtime/hub/apps/hub/{auth-config-MNW2XGKK.js → auth-config-GRIXACTV.js} +3 -3
- package/runtime/hub/apps/hub/{chunk-OF242BLD.js → chunk-CKBHQ7OI.js} +1 -1
- package/runtime/hub/apps/hub/{chunk-PROXBLRJ.js → chunk-JLG5JJXD.js} +1 -1
- package/runtime/hub/apps/hub/{chunk-EY6HEDTK.js → chunk-LNHPLR3L.js} +11 -11
- package/runtime/hub/apps/hub/{chunk-DNR2YM2G.js → chunk-MA73PTOR.js} +57 -9
- package/runtime/hub/apps/hub/{chunk-TZFWAJVB.js → chunk-OG4KH2FZ.js} +5 -0
- package/runtime/hub/apps/hub/{chunk-5KMJIVZC.js → chunk-QBJOF5D3.js} +111 -10
- package/runtime/hub/apps/hub/chunk-QYJ37CUJ.js +62140 -0
- package/runtime/hub/apps/hub/{chunk-EFW34I43.js → chunk-UDZ3VXRF.js} +1 -1
- package/runtime/hub/apps/hub/{chunk-TRUQCO4U.js → chunk-V3OMPMI3.js} +40 -1
- package/runtime/hub/apps/hub/{cloud-poller-SUNA6ZQC-VSKVMYHL.js → cloud-poller-SUNA6ZQC-YAWTNA2W.js} +1 -1
- package/runtime/hub/apps/hub/{dist-YCRESLWD.js → dist-26KVXHXV.js} +7 -7
- package/runtime/hub/apps/hub/{dist-SX2NXGI6.js → dist-7LB4D4ZQ.js} +7 -7
- package/runtime/hub/apps/hub/{dist-M73U3ZDH.js → dist-ERQDDSOY.js} +7 -7
- package/runtime/hub/apps/hub/{dist-NTKPAYA3.js → dist-IZ2JCN5R.js} +8 -2
- package/runtime/hub/apps/hub/{dist-3DCKZYID.js → dist-SIQJD72C.js} +596 -113
- package/runtime/hub/apps/hub/{dist-RSWTJWRN.js → dist-YZJA4WRV.js} +5 -5
- package/runtime/hub/apps/hub/{dist-KV5ESR24.js → dist-ZVY2FWG6.js} +7 -7
- package/runtime/hub/apps/hub/esm-VGBJAFLR.js +79 -0
- package/runtime/hub/apps/hub/{execa-4DLVNM6E.js → execa-AFY4ZODY.js} +2 -2
- package/runtime/hub/apps/hub/{hub-token-QKQWV2I6.js → hub-token-BJG6Q5II.js} +3 -3
- package/runtime/hub/apps/hub/{prepared-state-BUO75YLZ-KR4YLKDC.js → prepared-state-OBM2F7CU-ZEYFNYFI.js} +3 -3
- package/runtime/hub/apps/hub/server.js +19 -19
- package/runtime/relay/bin.cjs +177 -42
- package/runtime/vercel/agentbox-checkpoint-cleanup +0 -0
- package/runtime/vercel/agentbox-dockerd-start +0 -0
- package/runtime/vercel/agentbox-open +0 -0
- package/runtime/vercel/agentbox-vnc-start +0 -0
- package/runtime/vercel/ctl.cjs +31 -4
- package/runtime/vercel/gh-shim +0 -0
- package/runtime/vercel/git-shim +0 -0
- package/runtime/vercel/linear-shim +0 -0
- package/runtime/vercel/ntn-shim +0 -0
- package/runtime/vercel/scripts/provision.sh +0 -0
- package/dist/chunk-3MDYQROX.js.map +0 -1
- package/dist/chunk-4HPLS5HJ.js.map +0 -1
- package/dist/chunk-7DPDUZ7L.js.map +0 -1
- package/dist/chunk-CE3S7UDQ.js.map +0 -1
- package/dist/chunk-H6A4BQMG.js.map +0 -1
- package/dist/chunk-OSPM4Q5V.js.map +0 -1
- package/dist/dist-2N3XHMBQ.js +0 -322
- package/dist/dist-2N3XHMBQ.js.map +0 -1
- /package/dist/{_cloud-attach-ESCPOKG5.js.map → _cloud-attach-W2CFNXKO.js.map} +0 -0
- /package/dist/{chunk-RFRWS5CD.js.map → chunk-4UNSBU5R.js.map} +0 -0
- /package/dist/{chunk-LJMGHFLZ.js.map → chunk-7PRLM3PH.js.map} +0 -0
- /package/dist/{chunk-5JDOTQTM.js.map → chunk-LCZOQTIX.js.map} +0 -0
- /package/dist/{chunk-QHISF6O6.js.map → chunk-LU3WAHTU.js.map} +0 -0
- /package/dist/{dist-HPPHBZTO.js.map → dist-3V5SLNK4.js.map} +0 -0
- /package/dist/{dist-NOUPH5E6.js.map → dist-BIDAC4H4.js.map} +0 -0
- /package/dist/{dist-TRKHS6I7.js.map → dist-I5OBPLP2.js.map} +0 -0
- /package/dist/{dist-3M53BF4E.js.map → dist-IGQNVIV3.js.map} +0 -0
- /package/dist/{dist-VFPT5TDH.js.map → dist-SBDYDH7H.js.map} +0 -0
- /package/dist/{dist-FGXCG4JY.js.map → dist-UB3PYSCG.js.map} +0 -0
- /package/dist/{prepared-state-BUO75YLZ-46W2PAHH.js.map → prepared-state-OBM2F7CU-DY7TZV4R.js.map} +0 -0
- /package/runtime/hub/apps/hub/.next/static/{2LDXStEUVHS2oK1ID_Uvo → c82uDoByt-dPQUHilRojD}/_buildManifest.js +0 -0
- /package/runtime/hub/apps/hub/.next/static/{2LDXStEUVHS2oK1ID_Uvo → c82uDoByt-dPQUHilRojD}/_clientMiddlewareManifest.js +0 -0
- /package/runtime/hub/apps/hub/.next/static/{2LDXStEUVHS2oK1ID_Uvo → c82uDoByt-dPQUHilRojD}/_ssgManifest.js +0 -0
|
@@ -225,7 +225,7 @@ import {
|
|
|
225
225
|
vscodeServerVolumeName,
|
|
226
226
|
waitForTmuxPaneContent,
|
|
227
227
|
warmUpClaudeCredentials
|
|
228
|
-
} from "./chunk-
|
|
228
|
+
} from "./chunk-MA73PTOR.js";
|
|
229
229
|
import "./chunk-3LAHFDJF.js";
|
|
230
230
|
import {
|
|
231
231
|
AmbiguousBoxError,
|
|
@@ -274,10 +274,10 @@ import {
|
|
|
274
274
|
stageDynamicSyncTarball,
|
|
275
275
|
tagImage,
|
|
276
276
|
writePreparedDockerState
|
|
277
|
-
} from "./chunk-
|
|
278
|
-
import "./chunk-
|
|
279
|
-
import "./chunk-
|
|
280
|
-
import "./chunk-
|
|
277
|
+
} from "./chunk-LNHPLR3L.js";
|
|
278
|
+
import "./chunk-UDZ3VXRF.js";
|
|
279
|
+
import "./chunk-V3OMPMI3.js";
|
|
280
|
+
import "./chunk-OG4KH2FZ.js";
|
|
281
281
|
export {
|
|
282
282
|
AmbiguousBoxError,
|
|
283
283
|
BOXES_ROOT,
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
ve,
|
|
9
9
|
we,
|
|
10
10
|
ye
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-CKBHQ7OI.js";
|
|
12
12
|
import {
|
|
13
13
|
createCloudProvider,
|
|
14
14
|
currentCloudBaseFingerprint,
|
|
@@ -18,8 +18,8 @@ import {
|
|
|
18
18
|
renderInnerCommand,
|
|
19
19
|
resolveCloudCheckpoint,
|
|
20
20
|
writeCloudCheckpointManifest
|
|
21
|
-
} from "./chunk-
|
|
22
|
-
import "./chunk-
|
|
21
|
+
} from "./chunk-QBJOF5D3.js";
|
|
22
|
+
import "./chunk-MA73PTOR.js";
|
|
23
23
|
import "./chunk-3LAHFDJF.js";
|
|
24
24
|
import {
|
|
25
25
|
UserFacingError,
|
|
@@ -34,10 +34,10 @@ import {
|
|
|
34
34
|
stageAllAgentStatic,
|
|
35
35
|
writeManagedSecrets,
|
|
36
36
|
writePreparedStateRaw
|
|
37
|
-
} from "./chunk-
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
37
|
+
} from "./chunk-LNHPLR3L.js";
|
|
38
|
+
import "./chunk-UDZ3VXRF.js";
|
|
39
|
+
import "./chunk-V3OMPMI3.js";
|
|
40
|
+
import "./chunk-OG4KH2FZ.js";
|
|
41
41
|
|
|
42
42
|
// ../../packages/sandbox-e2b/dist/chunk-WQRH5SXA.js
|
|
43
43
|
import { existsSync, readFileSync } from "fs";
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { createRequire as __cr } from 'node:module'; import { fileURLToPath as __f } from 'node:url'; import { dirname as __d } from 'node:path'; const require = __cr(import.meta.url); const __filename = __f(import.meta.url); const __dirname = __d(__filename);
|
|
2
|
+
import {
|
|
3
|
+
Accessibility,
|
|
4
|
+
ChartType,
|
|
5
|
+
CodeLanguage,
|
|
6
|
+
CodeRunParams,
|
|
7
|
+
ComputerUse,
|
|
8
|
+
Daytona,
|
|
9
|
+
DaytonaAuthenticationError,
|
|
10
|
+
DaytonaAuthorizationError,
|
|
11
|
+
DaytonaConflictError,
|
|
12
|
+
DaytonaConnectionError,
|
|
13
|
+
DaytonaError,
|
|
14
|
+
DaytonaNotFoundError,
|
|
15
|
+
DaytonaRateLimitError,
|
|
16
|
+
DaytonaTimeoutError,
|
|
17
|
+
DaytonaValidationError,
|
|
18
|
+
Display,
|
|
19
|
+
FileSystem,
|
|
20
|
+
Git,
|
|
21
|
+
Image,
|
|
22
|
+
Keyboard,
|
|
23
|
+
LspLanguageId,
|
|
24
|
+
MAX_PREFIX_LEN,
|
|
25
|
+
Mouse,
|
|
26
|
+
Process,
|
|
27
|
+
PtyHandle,
|
|
28
|
+
STDERR_PREFIX_BYTES,
|
|
29
|
+
STDOUT_PREFIX_BYTES,
|
|
30
|
+
Sandbox,
|
|
31
|
+
Screenshot,
|
|
32
|
+
import_api_client
|
|
33
|
+
} from "./chunk-QYJ37CUJ.js";
|
|
34
|
+
import "./chunk-OG4KH2FZ.js";
|
|
35
|
+
var export_GpuType = import_api_client.GpuType;
|
|
36
|
+
var export_ListSecretsPaginatedOrderEnum = import_api_client.ListSecretsPaginatedOrderEnum;
|
|
37
|
+
var export_ListSecretsPaginatedSortEnum = import_api_client.ListSecretsPaginatedSortEnum;
|
|
38
|
+
var export_SandboxClass = import_api_client.SandboxClass;
|
|
39
|
+
var export_SandboxListSortDirection = import_api_client.SandboxListSortDirection;
|
|
40
|
+
var export_SandboxListSortField = import_api_client.SandboxListSortField;
|
|
41
|
+
var export_SandboxState = import_api_client.SandboxState;
|
|
42
|
+
export {
|
|
43
|
+
Accessibility,
|
|
44
|
+
ChartType,
|
|
45
|
+
CodeLanguage,
|
|
46
|
+
CodeRunParams,
|
|
47
|
+
ComputerUse,
|
|
48
|
+
Daytona,
|
|
49
|
+
DaytonaAuthenticationError,
|
|
50
|
+
DaytonaAuthorizationError,
|
|
51
|
+
DaytonaConflictError,
|
|
52
|
+
DaytonaConnectionError,
|
|
53
|
+
DaytonaError,
|
|
54
|
+
DaytonaNotFoundError,
|
|
55
|
+
DaytonaRateLimitError,
|
|
56
|
+
DaytonaTimeoutError,
|
|
57
|
+
DaytonaValidationError,
|
|
58
|
+
Display,
|
|
59
|
+
FileSystem,
|
|
60
|
+
Git,
|
|
61
|
+
export_GpuType as GpuType,
|
|
62
|
+
Image,
|
|
63
|
+
Keyboard,
|
|
64
|
+
export_ListSecretsPaginatedOrderEnum as ListSecretsPaginatedOrderEnum,
|
|
65
|
+
export_ListSecretsPaginatedSortEnum as ListSecretsPaginatedSortEnum,
|
|
66
|
+
LspLanguageId,
|
|
67
|
+
MAX_PREFIX_LEN,
|
|
68
|
+
Mouse,
|
|
69
|
+
Process,
|
|
70
|
+
PtyHandle,
|
|
71
|
+
STDERR_PREFIX_BYTES,
|
|
72
|
+
STDOUT_PREFIX_BYTES,
|
|
73
|
+
Sandbox,
|
|
74
|
+
export_SandboxClass as SandboxClass,
|
|
75
|
+
export_SandboxListSortDirection as SandboxListSortDirection,
|
|
76
|
+
export_SandboxListSortField as SandboxListSortField,
|
|
77
|
+
export_SandboxState as SandboxState,
|
|
78
|
+
Screenshot
|
|
79
|
+
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { createRequire as __cr } from 'node:module'; import { fileURLToPath as __f } from 'node:url'; import { dirname as __d } from 'node:path'; const require = __cr(import.meta.url); const __filename = __f(import.meta.url); const __dirname = __d(__filename);
|
|
2
2
|
import {
|
|
3
3
|
AUTH_TOKEN_PATH
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-JLG5JJXD.js";
|
|
5
|
+
import "./chunk-V3OMPMI3.js";
|
|
6
|
+
import "./chunk-OG4KH2FZ.js";
|
|
7
7
|
|
|
8
8
|
// lib/hub-token.ts
|
|
9
9
|
import { randomBytes } from "node:crypto";
|
|
@@ -6,9 +6,9 @@ import {
|
|
|
6
6
|
readPreparedDockerState,
|
|
7
7
|
resolveContextFiles,
|
|
8
8
|
writePreparedDockerState
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-LNHPLR3L.js";
|
|
10
|
+
import "./chunk-UDZ3VXRF.js";
|
|
11
|
+
import "./chunk-OG4KH2FZ.js";
|
|
12
12
|
export {
|
|
13
13
|
DOCKERFILE_PATH,
|
|
14
14
|
computeDockerContextFingerprint,
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
import { createRequire as __cr } from 'node:module'; import { fileURLToPath as __f } from 'node:url'; import { dirname as __d } from 'node:path'; const require = __cr(import.meta.url); const __filename = __f(import.meta.url); const __dirname = __d(__filename);
|
|
2
|
-
import {
|
|
3
|
-
hubProfile
|
|
4
|
-
} from "./chunk-PROXBLRJ.js";
|
|
5
2
|
import {
|
|
6
3
|
baseFreshnessFromFingerprints,
|
|
7
4
|
currentCloudBaseFingerprint,
|
|
8
5
|
openWebAppOnVncScreen
|
|
9
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-QBJOF5D3.js";
|
|
10
7
|
import {
|
|
11
8
|
deleteJob,
|
|
12
9
|
enqueuePrepareJob,
|
|
@@ -20,7 +17,7 @@ import {
|
|
|
20
17
|
readJob,
|
|
21
18
|
startRelayDaemon,
|
|
22
19
|
writeQueueLoginCode
|
|
23
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-MA73PTOR.js";
|
|
24
21
|
import "./chunk-3LAHFDJF.js";
|
|
25
22
|
import {
|
|
26
23
|
BOX_WORKSPACE,
|
|
@@ -39,8 +36,11 @@ import {
|
|
|
39
36
|
secretsEnvPath,
|
|
40
37
|
setBoxDisplayName,
|
|
41
38
|
syncAgentboxSshConfig
|
|
42
|
-
} from "./chunk-
|
|
43
|
-
import "./chunk-
|
|
39
|
+
} from "./chunk-LNHPLR3L.js";
|
|
40
|
+
import "./chunk-UDZ3VXRF.js";
|
|
41
|
+
import {
|
|
42
|
+
hubProfile
|
|
43
|
+
} from "./chunk-JLG5JJXD.js";
|
|
44
44
|
import {
|
|
45
45
|
PROVIDER_NAMES,
|
|
46
46
|
findProjectRoot,
|
|
@@ -52,8 +52,8 @@ import {
|
|
|
52
52
|
registerProject,
|
|
53
53
|
resolveDefaultCheckpoint,
|
|
54
54
|
unregisterProject
|
|
55
|
-
} from "./chunk-
|
|
56
|
-
import "./chunk-
|
|
55
|
+
} from "./chunk-V3OMPMI3.js";
|
|
56
|
+
import "./chunk-OG4KH2FZ.js";
|
|
57
57
|
|
|
58
58
|
// server.ts
|
|
59
59
|
import { existsSync, readFileSync as readFileSync2 } from "node:fs";
|
|
@@ -70,12 +70,12 @@ import { promisify } from "node:util";
|
|
|
70
70
|
var execFileAsync = promisify(execFile);
|
|
71
71
|
var DISPLAY_NAME_MAX = 60;
|
|
72
72
|
var IMPORTERS = {
|
|
73
|
-
docker: () => import("./dist-
|
|
74
|
-
daytona: () => import("./dist-
|
|
75
|
-
hetzner: () => import("./dist-
|
|
76
|
-
vercel: () => import("./dist-
|
|
77
|
-
e2b: () => import("./dist-
|
|
78
|
-
digitalocean: () => import("./dist-
|
|
73
|
+
docker: () => import("./dist-YZJA4WRV.js"),
|
|
74
|
+
daytona: () => import("./dist-SIQJD72C.js"),
|
|
75
|
+
hetzner: () => import("./dist-26KVXHXV.js"),
|
|
76
|
+
vercel: () => import("./dist-ERQDDSOY.js"),
|
|
77
|
+
e2b: () => import("./dist-ZVY2FWG6.js"),
|
|
78
|
+
digitalocean: () => import("./dist-7LB4D4ZQ.js")
|
|
79
79
|
};
|
|
80
80
|
var prepareEnqueueChain = /* @__PURE__ */ new Map();
|
|
81
81
|
async function providerForBox(box) {
|
|
@@ -342,7 +342,7 @@ var freshnessCache = /* @__PURE__ */ new Map();
|
|
|
342
342
|
async function providerBaseFreshness(id, claudeInstall) {
|
|
343
343
|
if (id === "docker") {
|
|
344
344
|
try {
|
|
345
|
-
const { evaluateDockerBaseFreshness } = await import("./dist-
|
|
345
|
+
const { evaluateDockerBaseFreshness } = await import("./dist-YZJA4WRV.js");
|
|
346
346
|
return await evaluateDockerBaseFreshness({ claudeInstall });
|
|
347
347
|
} catch {
|
|
348
348
|
return { state: "unknown" };
|
|
@@ -935,9 +935,9 @@ var host = process.env.AGENTBOX_HUB_HOST ?? "127.0.0.1";
|
|
|
935
935
|
process.env.AGENTBOX_HUB_PROFILE ??= host === "127.0.0.1" ? "localhost" : "hetzner";
|
|
936
936
|
if (host !== "127.0.0.1") process.env.AGENTBOX_HUB_AUTH ??= "on";
|
|
937
937
|
async function main() {
|
|
938
|
-
const { authMode } = await import("./auth-config-
|
|
938
|
+
const { authMode } = await import("./auth-config-GRIXACTV.js");
|
|
939
939
|
if (process.env.AGENTBOX_HUB_PROFILE === "localhost" && process.env.AGENTBOX_HUB_AUTH !== "off") {
|
|
940
|
-
const { ensureHubToken } = await import("./hub-token-
|
|
940
|
+
const { ensureHubToken } = await import("./hub-token-BJG6Q5II.js");
|
|
941
941
|
process.env.AGENTBOX_HUB_TOKEN = await ensureHubToken();
|
|
942
942
|
}
|
|
943
943
|
const dir = import.meta.dirname;
|
|
@@ -967,7 +967,7 @@ async function main() {
|
|
|
967
967
|
globalThis.__AGENTBOX_HUB_NOTIFIER = daemon.handle.hubNotifier;
|
|
968
968
|
const mode = authMode();
|
|
969
969
|
if (mode === "password") {
|
|
970
|
-
const { ensureAuthReady } = await import("./auth-
|
|
970
|
+
const { ensureAuthReady } = await import("./auth-MVL4NCQC.js");
|
|
971
971
|
await ensureAuthReady();
|
|
972
972
|
process.stdout.write("agentbox-hub: auth ready\n");
|
|
973
973
|
}
|