@madarco/agentbox 0.23.5 → 0.24.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 +81 -0
- package/LICENSE +21 -0
- package/README.md +3 -2
- package/dist/{_cloud-attach-D4OQO5AJ.js → _cloud-attach-T6GPR6LJ.js} +5 -5
- package/dist/{chunk-KY32JO6J.js → chunk-5KHEH47T.js} +91 -79
- package/dist/chunk-5KHEH47T.js.map +1 -0
- package/dist/{chunk-YRTM3KNT.js → chunk-6U2S6QWD.js} +219 -18
- package/dist/chunk-6U2S6QWD.js.map +1 -0
- package/dist/{chunk-JYEZ6Q5M.js → chunk-DEDTPG2D.js} +874 -146
- package/dist/chunk-DEDTPG2D.js.map +1 -0
- package/dist/chunk-G3H2L3O2.js +0 -0
- package/dist/{chunk-JNY5GPIM.js → chunk-I654PBHA.js} +290 -330
- package/dist/chunk-I654PBHA.js.map +1 -0
- package/dist/{chunk-6KOQRSHH.js → chunk-K2EDQGZP.js} +18 -4
- package/dist/chunk-K2EDQGZP.js.map +1 -0
- package/dist/{chunk-KZWJMNLP.js → chunk-LC4E2EIZ.js} +3 -3
- package/dist/{chunk-KZWJMNLP.js.map → chunk-LC4E2EIZ.js.map} +1 -1
- package/dist/{chunk-DADOEMXP.js → chunk-NACA6AM7.js} +183 -49
- package/dist/chunk-NACA6AM7.js.map +1 -0
- package/dist/{chunk-FX32NZD4.js → chunk-RYQLFKCP.js} +20 -10
- package/dist/chunk-RYQLFKCP.js.map +1 -0
- package/dist/{chunk-QT3SHMLY.js → chunk-UIRBYL4G.js} +43 -12
- package/dist/chunk-UIRBYL4G.js.map +1 -0
- package/dist/chunk-WJFZJZIM.js +0 -0
- package/dist/chunk-WLHJZPFJ.js +845 -0
- package/dist/chunk-WLHJZPFJ.js.map +1 -0
- package/dist/cloud-poller-SUNA6ZQC-7M5LJHHE.js +0 -0
- package/dist/dist-3KIJ2KQ2.js +1437 -0
- package/dist/dist-3KIJ2KQ2.js.map +1 -0
- package/dist/{dist-564EDHFF.js → dist-7OUOHQPA.js} +196 -151
- package/dist/dist-7OUOHQPA.js.map +1 -0
- package/dist/{dist-CAT2TN75.js → dist-B7TNWGVG.js} +8 -4
- package/dist/{dist-UDQMBWYW.js → dist-KYV3LEHG.js} +10 -6
- package/dist/{dist-EAR4BLL2.js → dist-PHYCFYKH.js} +37 -17
- package/dist/dist-PHYCFYKH.js.map +1 -0
- package/dist/{dist-2BTJQUJS.js → dist-T5MXBZGP.js} +2 -2
- package/dist/{dist-O5Y4X4C5.js → dist-Z7KEPQC7.js} +6 -6
- package/dist/index.js +2617 -1094
- package/dist/index.js.map +1 -1
- package/dist/{prepared-state-BUO75YLZ-PW64VQMT.js → prepared-state-BUO75YLZ-RQRFFBJW.js} +2 -2
- package/package.json +28 -28
- package/runtime/_shared/agentbox-checkpoint-cleanup +0 -0
- package/runtime/_shared/agentbox-codex-hooks.json +1 -1
- 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 +468 -97
- package/runtime/_shared/gh-shim +0 -0
- package/runtime/_shared/git-shim +53 -3
- package/runtime/_shared/linear-shim +0 -0
- package/runtime/_shared/ntn-shim +0 -0
- package/runtime/daytona/custom-system-CLAUDE.md +1 -1
- package/runtime/digitalocean/agentbox-checkpoint-cleanup +55 -0
- package/runtime/digitalocean/agentbox-codex-hooks.json +68 -0
- package/runtime/digitalocean/agentbox-dockerd-start +145 -0
- package/runtime/digitalocean/agentbox-open +28 -0
- package/runtime/digitalocean/agentbox-portless-trust +82 -0
- package/runtime/digitalocean/agentbox-setup-skill.md +317 -0
- package/runtime/digitalocean/agentbox-vnc-start +102 -0
- package/runtime/digitalocean/claude-managed-settings.json +116 -0
- package/runtime/digitalocean/ctl.cjs +27852 -0
- package/runtime/digitalocean/custom-system-CLAUDE.md +39 -0
- package/runtime/digitalocean/gh-shim +344 -0
- package/runtime/digitalocean/git-shim +181 -0
- package/runtime/digitalocean/linear-shim +181 -0
- package/runtime/digitalocean/ntn-shim +95 -0
- package/runtime/digitalocean/opencode-agentbox-plugin.js +76 -0
- package/runtime/digitalocean/scripts/install-box.sh +462 -0
- package/runtime/docker/Dockerfile.box +5 -0
- package/runtime/docker/packages/ctl/dist/bin.cjs +468 -97
- package/runtime/docker/packages/sandbox-docker/scripts/agentbox-checkpoint-cleanup +0 -0
- package/runtime/docker/packages/sandbox-docker/scripts/agentbox-codex-hooks.json +1 -1
- 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/custom-system-CLAUDE.md +2 -1
- package/runtime/docker/packages/sandbox-docker/scripts/gh-shim +0 -0
- package/runtime/docker/packages/sandbox-docker/scripts/git-shim +53 -3
- 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-codex-hooks.json +1 -1
- 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 +468 -97
- package/runtime/e2b/custom-system-CLAUDE.md +6 -3
- package/runtime/e2b/gh-shim +0 -0
- package/runtime/e2b/git-shim +53 -3
- package/runtime/e2b/linear-shim +0 -0
- package/runtime/e2b/ntn-shim +0 -0
- package/runtime/e2b/scripts/build-template.sh +16 -0
- package/runtime/hetzner/agentbox-checkpoint-cleanup +0 -0
- package/runtime/hetzner/agentbox-codex-hooks.json +1 -1
- 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 +468 -97
- package/runtime/hetzner/custom-system-CLAUDE.md +1 -1
- package/runtime/hetzner/gh-shim +0 -0
- package/runtime/hetzner/git-shim +53 -3
- package/runtime/hetzner/linear-shim +0 -0
- package/runtime/hetzner/ntn-shim +0 -0
- package/runtime/hetzner/scripts/install-box.sh +5 -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/(dashboard)/settings/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]__0d1lmiq._.js +12 -12
- 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 +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__1qa4a0v._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/_0760z6y._.js +8 -8
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/_0ro6vh6._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/apps_hub_0b_hsjl._.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/380qcmusmigzz.js +1 -0
- package/runtime/hub/apps/hub/{auth-675P3LQS.js → auth-Q447765C.js} +2 -2
- package/runtime/hub/apps/hub/{auth-config-AOBEKRZQ.js → auth-config-SIL635ZD.js} +2 -2
- package/runtime/hub/apps/hub/{chunk-FSEPYTQ6.js → chunk-3VE7AYVK.js} +594 -145
- package/runtime/hub/apps/hub/{chunk-EXQCBM5Q.js → chunk-64WEKO34.js} +42 -11
- package/runtime/hub/apps/hub/{chunk-56YQBVN2.js → chunk-DZPQB2JZ.js} +1 -1
- package/runtime/hub/apps/hub/{chunk-7M6FXZIO.js → chunk-FGBXEXUV.js} +350 -292
- package/runtime/hub/apps/hub/{chunk-Z7ZAL24C.js → chunk-YVELHPNY.js} +218 -17
- package/runtime/hub/apps/hub/{dist-EKQHCXWE.js → dist-33ZNVTC6.js} +183 -49
- package/runtime/hub/apps/hub/{dist-V4TJ44MT.js → dist-4SXAJBOC.js} +195 -150
- package/runtime/hub/apps/hub/{dist-QIXUPGPP.js → dist-EPJFN2J3.js} +116 -86
- package/runtime/hub/apps/hub/{dist-STQK5XM6.js → dist-GF5EBRNG.js} +1 -1
- package/runtime/hub/apps/hub/{dist-JGZ55OIJ.js → dist-UJVIROA4.js} +19 -5
- package/runtime/hub/apps/hub/dist-XULFTIMT.js +2212 -0
- package/runtime/hub/apps/hub/{dist-GGWYKXJE.js → dist-YM5J25H6.js} +7 -3
- package/runtime/hub/apps/hub/{hub-token-2BZFBBW3.js → hub-token-UITZEWVP.js} +2 -2
- package/runtime/hub/apps/hub/package.json +1 -0
- package/runtime/hub/apps/hub/{prepared-state-BUO75YLZ-UICXTY25.js → prepared-state-BUO75YLZ-O4GZMDRF.js} +1 -1
- package/runtime/hub/apps/hub/server.js +17 -15
- package/runtime/relay/bin.cjs +275 -59
- package/runtime/vercel/agentbox-checkpoint-cleanup +0 -0
- package/runtime/vercel/agentbox-codex-hooks.json +1 -1
- 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 +468 -97
- package/runtime/vercel/custom-system-CLAUDE.md +3 -2
- package/runtime/vercel/gh-shim +0 -0
- package/runtime/vercel/git-shim +53 -3
- package/runtime/vercel/linear-shim +0 -0
- package/runtime/vercel/ntn-shim +0 -0
- package/runtime/vercel/scripts/provision.sh +16 -0
- package/dist/chunk-6KOQRSHH.js.map +0 -1
- package/dist/chunk-DADOEMXP.js.map +0 -1
- package/dist/chunk-FX32NZD4.js.map +0 -1
- package/dist/chunk-JNY5GPIM.js.map +0 -1
- package/dist/chunk-JYEZ6Q5M.js.map +0 -1
- package/dist/chunk-KY32JO6J.js.map +0 -1
- package/dist/chunk-QT3SHMLY.js.map +0 -1
- package/dist/chunk-YRTM3KNT.js.map +0 -1
- package/dist/dist-564EDHFF.js.map +0 -1
- package/dist/dist-EAR4BLL2.js.map +0 -1
- package/runtime/hub/apps/hub/.next/static/chunks/0joh_xsiowfc4.js +0 -1
- /package/dist/{_cloud-attach-D4OQO5AJ.js.map → _cloud-attach-T6GPR6LJ.js.map} +0 -0
- /package/dist/{dist-2BTJQUJS.js.map → dist-B7TNWGVG.js.map} +0 -0
- /package/dist/{dist-CAT2TN75.js.map → dist-KYV3LEHG.js.map} +0 -0
- /package/dist/{dist-O5Y4X4C5.js.map → dist-T5MXBZGP.js.map} +0 -0
- /package/dist/{dist-UDQMBWYW.js.map → dist-Z7KEPQC7.js.map} +0 -0
- /package/dist/{prepared-state-BUO75YLZ-PW64VQMT.js.map → prepared-state-BUO75YLZ-RQRFFBJW.js.map} +0 -0
- /package/runtime/hub/apps/hub/.next/static/{lOi70Di6lcnEBsUUHKrQ5 → 3tBexekuTKIr_6nriQjKE}/_buildManifest.js +0 -0
- /package/runtime/hub/apps/hub/.next/static/{lOi70Di6lcnEBsUUHKrQ5 → 3tBexekuTKIr_6nriQjKE}/_clientMiddlewareManifest.js +0 -0
- /package/runtime/hub/apps/hub/.next/static/{lOi70Di6lcnEBsUUHKrQ5 → 3tBexekuTKIr_6nriQjKE}/_ssgManifest.js +0 -0
|
@@ -202,6 +202,7 @@ import {
|
|
|
202
202
|
shellSessionName,
|
|
203
203
|
snapshotPathFor,
|
|
204
204
|
snapshotPresent,
|
|
205
|
+
stageItemsFromVolume,
|
|
205
206
|
startBox,
|
|
206
207
|
startClaudeSession,
|
|
207
208
|
startCodexSession,
|
|
@@ -219,11 +220,12 @@ import {
|
|
|
219
220
|
volumeExists,
|
|
220
221
|
volumeHasCodexAuth,
|
|
221
222
|
volumeHasOpencodeAuth,
|
|
223
|
+
volumeSettingsTarget,
|
|
222
224
|
volumeSizeBytes,
|
|
223
225
|
vscodeServerVolumeName,
|
|
224
226
|
waitForTmuxPaneContent,
|
|
225
227
|
warmUpClaudeCredentials
|
|
226
|
-
} from "./chunk-
|
|
228
|
+
} from "./chunk-FGBXEXUV.js";
|
|
227
229
|
import "./chunk-3LAHFDJF.js";
|
|
228
230
|
import {
|
|
229
231
|
AmbiguousBoxError,
|
|
@@ -272,9 +274,9 @@ import {
|
|
|
272
274
|
stageDynamicSyncTarball,
|
|
273
275
|
tagImage,
|
|
274
276
|
writePreparedDockerState
|
|
275
|
-
} from "./chunk-
|
|
277
|
+
} from "./chunk-3VE7AYVK.js";
|
|
276
278
|
import "./chunk-EFW34I43.js";
|
|
277
|
-
import "./chunk-
|
|
279
|
+
import "./chunk-64WEKO34.js";
|
|
278
280
|
import "./chunk-TZFWAJVB.js";
|
|
279
281
|
export {
|
|
280
282
|
AmbiguousBoxError,
|
|
@@ -523,6 +525,7 @@ export {
|
|
|
523
525
|
snapshotPathFor,
|
|
524
526
|
snapshotPresent,
|
|
525
527
|
stageDynamicSyncTarball,
|
|
528
|
+
stageItemsFromVolume,
|
|
526
529
|
startBox,
|
|
527
530
|
startClaudeSession,
|
|
528
531
|
startCodexSession,
|
|
@@ -541,6 +544,7 @@ export {
|
|
|
541
544
|
volumeExists,
|
|
542
545
|
volumeHasCodexAuth,
|
|
543
546
|
volumeHasOpencodeAuth,
|
|
547
|
+
volumeSettingsTarget,
|
|
544
548
|
volumeSizeBytes,
|
|
545
549
|
vscodeServerVolumeName,
|
|
546
550
|
waitForTmuxPaneContent,
|
|
@@ -1,8 +1,8 @@
|
|
|
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-
|
|
4
|
+
} from "./chunk-DZPQB2JZ.js";
|
|
5
|
+
import "./chunk-64WEKO34.js";
|
|
6
6
|
import "./chunk-TZFWAJVB.js";
|
|
7
7
|
|
|
8
8
|
// lib/hub-token.ts
|
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
"@agentbox/sandbox-cloud": "workspace:*",
|
|
27
27
|
"@agentbox/sandbox-core": "workspace:*",
|
|
28
28
|
"@agentbox/sandbox-daytona": "workspace:*",
|
|
29
|
+
"@agentbox/sandbox-digitalocean": "workspace:*",
|
|
29
30
|
"@agentbox/sandbox-docker": "workspace:*",
|
|
30
31
|
"@agentbox/sandbox-e2b": "workspace:*",
|
|
31
32
|
"@agentbox/sandbox-hetzner": "workspace:*",
|
|
@@ -1,12 +1,12 @@
|
|
|
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
|
hubProfile
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-DZPQB2JZ.js";
|
|
5
5
|
import {
|
|
6
6
|
baseFreshnessFromFingerprints,
|
|
7
7
|
currentCloudBaseFingerprint,
|
|
8
8
|
openWebAppOnVncScreen
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-YVELHPNY.js";
|
|
10
10
|
import {
|
|
11
11
|
deleteJob,
|
|
12
12
|
enqueuePrepareJob,
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
readJob,
|
|
21
21
|
startRelayDaemon,
|
|
22
22
|
writeQueueLoginCode
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-FGBXEXUV.js";
|
|
24
24
|
import "./chunk-3LAHFDJF.js";
|
|
25
25
|
import {
|
|
26
26
|
BOX_WORKSPACE,
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
secretsEnvPath,
|
|
40
40
|
setBoxDisplayName,
|
|
41
41
|
syncAgentboxSshConfig
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-3VE7AYVK.js";
|
|
43
43
|
import "./chunk-EFW34I43.js";
|
|
44
44
|
import {
|
|
45
45
|
PROVIDER_NAMES,
|
|
@@ -52,7 +52,7 @@ import {
|
|
|
52
52
|
registerProject,
|
|
53
53
|
resolveDefaultCheckpoint,
|
|
54
54
|
unregisterProject
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-64WEKO34.js";
|
|
56
56
|
import "./chunk-TZFWAJVB.js";
|
|
57
57
|
|
|
58
58
|
// server.ts
|
|
@@ -70,11 +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-
|
|
73
|
+
docker: () => import("./dist-YM5J25H6.js"),
|
|
74
|
+
daytona: () => import("./dist-EPJFN2J3.js"),
|
|
75
|
+
hetzner: () => import("./dist-33ZNVTC6.js"),
|
|
76
|
+
vercel: () => import("./dist-UJVIROA4.js"),
|
|
77
|
+
e2b: () => import("./dist-4SXAJBOC.js"),
|
|
78
|
+
digitalocean: () => import("./dist-XULFTIMT.js")
|
|
78
79
|
};
|
|
79
80
|
var prepareEnqueueChain = /* @__PURE__ */ new Map();
|
|
80
81
|
async function providerForBox(box) {
|
|
@@ -267,7 +268,8 @@ var PROVIDER_CRED_KEYS = {
|
|
|
267
268
|
e2b: ["E2B_API_KEY"],
|
|
268
269
|
daytona: ["DAYTONA_API_KEY", "DAYTONA_JWT_TOKEN"],
|
|
269
270
|
hetzner: ["HCLOUD_TOKEN"],
|
|
270
|
-
vercel: ["VERCEL_TOKEN", "VERCEL_OIDC_TOKEN", "VERCEL_AUTH_SOURCE"]
|
|
271
|
+
vercel: ["VERCEL_TOKEN", "VERCEL_OIDC_TOKEN", "VERCEL_AUTH_SOURCE"],
|
|
272
|
+
digitalocean: ["DIGITALOCEAN_TOKEN"]
|
|
271
273
|
};
|
|
272
274
|
function readSecretsKeys() {
|
|
273
275
|
const out = /* @__PURE__ */ new Set();
|
|
@@ -340,7 +342,7 @@ var freshnessCache = /* @__PURE__ */ new Map();
|
|
|
340
342
|
async function providerBaseFreshness(id, claudeInstall) {
|
|
341
343
|
if (id === "docker") {
|
|
342
344
|
try {
|
|
343
|
-
const { evaluateDockerBaseFreshness } = await import("./dist-
|
|
345
|
+
const { evaluateDockerBaseFreshness } = await import("./dist-YM5J25H6.js");
|
|
344
346
|
return await evaluateDockerBaseFreshness({ claudeInstall });
|
|
345
347
|
} catch {
|
|
346
348
|
return { state: "unknown" };
|
|
@@ -933,9 +935,9 @@ var host = process.env.AGENTBOX_HUB_HOST ?? "127.0.0.1";
|
|
|
933
935
|
process.env.AGENTBOX_HUB_PROFILE ??= host === "127.0.0.1" ? "localhost" : "hetzner";
|
|
934
936
|
if (host !== "127.0.0.1") process.env.AGENTBOX_HUB_AUTH ??= "on";
|
|
935
937
|
async function main() {
|
|
936
|
-
const { authMode } = await import("./auth-config-
|
|
938
|
+
const { authMode } = await import("./auth-config-SIL635ZD.js");
|
|
937
939
|
if (process.env.AGENTBOX_HUB_PROFILE === "localhost" && process.env.AGENTBOX_HUB_AUTH !== "off") {
|
|
938
|
-
const { ensureHubToken } = await import("./hub-token-
|
|
940
|
+
const { ensureHubToken } = await import("./hub-token-UITZEWVP.js");
|
|
939
941
|
process.env.AGENTBOX_HUB_TOKEN = await ensureHubToken();
|
|
940
942
|
}
|
|
941
943
|
const dir = import.meta.dirname;
|
|
@@ -965,7 +967,7 @@ async function main() {
|
|
|
965
967
|
globalThis.__AGENTBOX_HUB_NOTIFIER = daemon.handle.hubNotifier;
|
|
966
968
|
const mode = authMode();
|
|
967
969
|
if (mode === "password") {
|
|
968
|
-
const { ensureAuthReady } = await import("./auth-
|
|
970
|
+
const { ensureAuthReady } = await import("./auth-Q447765C.js");
|
|
969
971
|
await ensureAuthReady();
|
|
970
972
|
process.stdout.write("agentbox-hub: auth ready\n");
|
|
971
973
|
}
|