@madarco/agentbox 0.24.2 → 0.24.4
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 +25 -0
- package/dist/{_cloud-attach-D5OC7DCC.js → _cloud-attach-ESCPOKG5.js} +5 -5
- package/dist/{chunk-DEDTPG2D.js → chunk-3MDYQROX.js} +5 -5
- package/dist/{chunk-SS6ZEKLL.js → chunk-4HPLS5HJ.js} +7 -4
- package/dist/chunk-4HPLS5HJ.js.map +1 -0
- package/dist/{chunk-3253DDXI.js → chunk-5JDOTQTM.js} +4 -4
- package/dist/{chunk-5KHEH47T.js → chunk-7DPDUZ7L.js} +2 -2
- package/dist/{chunk-24PXPJI3.js → chunk-CE3S7UDQ.js} +10 -10
- package/dist/{chunk-UIRBYL4G.js → chunk-H6A4BQMG.js} +9 -1
- package/dist/chunk-H6A4BQMG.js.map +1 -0
- package/dist/{chunk-WLHJZPFJ.js → chunk-LJMGHFLZ.js} +152 -3
- package/dist/chunk-LJMGHFLZ.js.map +1 -0
- package/dist/{chunk-5WF7PAH2.js → chunk-OSPM4Q5V.js} +3 -3
- package/dist/{chunk-QMA3DB5L.js → chunk-QHISF6O6.js} +3 -3
- package/dist/{chunk-LC4E2EIZ.js → chunk-RFRWS5CD.js} +2 -2
- package/dist/{dist-UWUTNRCK.js → dist-2N3XHMBQ.js} +6 -6
- package/dist/{dist-FWB3MIQ5.js → dist-3M53BF4E.js} +39 -58
- package/dist/dist-3M53BF4E.js.map +1 -0
- package/dist/{dist-TK3STVUP.js → dist-FGXCG4JY.js} +6 -6
- package/dist/{dist-T5MXBZGP.js → dist-HPPHBZTO.js} +2 -2
- package/dist/{dist-2JWYYJZR.js → dist-NOUPH5E6.js} +4 -4
- package/dist/{dist-3NFY6M53.js → dist-TRKHS6I7.js} +6 -6
- package/dist/{dist-72EYR5DW.js → dist-VFPT5TDH.js} +6 -6
- package/dist/index.js +35 -23
- package/dist/index.js.map +1 -1
- package/dist/{prepared-state-BUO75YLZ-RQRFFBJW.js → prepared-state-BUO75YLZ-46W2PAHH.js} +2 -2
- package/package.json +4 -4
- package/runtime/_shared/ctl.cjs +8 -0
- package/runtime/digitalocean/ctl.cjs +8 -0
- package/runtime/docker/packages/ctl/dist/bin.cjs +8 -0
- package/runtime/e2b/ctl.cjs +8 -0
- package/runtime/hetzner/ctl.cjs +8 -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 +1 -1
- 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/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/1z4elhg8gyq98.js +1 -0
- package/runtime/hub/apps/hub/{auth-Q447765C.js → auth-HY5K55Y5.js} +2 -2
- package/runtime/hub/apps/hub/{auth-config-SIL635ZD.js → auth-config-MNW2XGKK.js} +2 -2
- package/runtime/hub/apps/hub/{chunk-OJAHNFNV.js → chunk-5KMJIVZC.js} +6 -3
- package/runtime/hub/apps/hub/{chunk-IRIK4DQF.js → chunk-DNR2YM2G.js} +2 -2
- package/runtime/hub/apps/hub/{chunk-3VE7AYVK.js → chunk-EY6HEDTK.js} +4 -4
- package/runtime/hub/apps/hub/{chunk-DZPQB2JZ.js → chunk-PROXBLRJ.js} +1 -1
- package/runtime/hub/apps/hub/{chunk-64WEKO34.js → chunk-TRUQCO4U.js} +8 -0
- package/runtime/hub/apps/hub/{dist-PWBKGUDG.js → dist-3DCKZYID.js} +4 -4
- package/runtime/hub/apps/hub/{dist-6AEQJL7W.js → dist-KV5ESR24.js} +4 -4
- package/runtime/hub/apps/hub/{dist-PRUR2E5L.js → dist-M73U3ZDH.js} +4 -4
- package/runtime/hub/apps/hub/{dist-GF5EBRNG.js → dist-NTKPAYA3.js} +1 -1
- package/runtime/hub/apps/hub/{dist-7GTRUGLC.js → dist-RSWTJWRN.js} +3 -3
- package/runtime/hub/apps/hub/{dist-HHHK5LRX.js → dist-SX2NXGI6.js} +177 -57
- package/runtime/hub/apps/hub/{dist-DLPVQMKD.js → dist-YCRESLWD.js} +4 -4
- package/runtime/hub/apps/hub/{hub-token-UITZEWVP.js → hub-token-QKQWV2I6.js} +2 -2
- package/runtime/hub/apps/hub/{prepared-state-BUO75YLZ-O4GZMDRF.js → prepared-state-BUO75YLZ-KR4YLKDC.js} +1 -1
- package/runtime/hub/apps/hub/server.js +15 -15
- package/runtime/relay/bin.cjs +8 -0
- package/runtime/vercel/ctl.cjs +8 -0
- package/dist/chunk-SS6ZEKLL.js.map +0 -1
- package/dist/chunk-UIRBYL4G.js.map +0 -1
- package/dist/chunk-WLHJZPFJ.js.map +0 -1
- package/dist/dist-FWB3MIQ5.js.map +0 -1
- package/runtime/hub/apps/hub/.next/static/chunks/380qcmusmigzz.js +0 -1
- /package/dist/{_cloud-attach-D5OC7DCC.js.map → _cloud-attach-ESCPOKG5.js.map} +0 -0
- /package/dist/{chunk-DEDTPG2D.js.map → chunk-3MDYQROX.js.map} +0 -0
- /package/dist/{chunk-3253DDXI.js.map → chunk-5JDOTQTM.js.map} +0 -0
- /package/dist/{chunk-5KHEH47T.js.map → chunk-7DPDUZ7L.js.map} +0 -0
- /package/dist/{chunk-24PXPJI3.js.map → chunk-CE3S7UDQ.js.map} +0 -0
- /package/dist/{chunk-5WF7PAH2.js.map → chunk-OSPM4Q5V.js.map} +0 -0
- /package/dist/{chunk-QMA3DB5L.js.map → chunk-QHISF6O6.js.map} +0 -0
- /package/dist/{chunk-LC4E2EIZ.js.map → chunk-RFRWS5CD.js.map} +0 -0
- /package/dist/{dist-UWUTNRCK.js.map → dist-2N3XHMBQ.js.map} +0 -0
- /package/dist/{dist-TK3STVUP.js.map → dist-FGXCG4JY.js.map} +0 -0
- /package/dist/{dist-2JWYYJZR.js.map → dist-HPPHBZTO.js.map} +0 -0
- /package/dist/{dist-3NFY6M53.js.map → dist-NOUPH5E6.js.map} +0 -0
- /package/dist/{dist-72EYR5DW.js.map → dist-TRKHS6I7.js.map} +0 -0
- /package/dist/{dist-T5MXBZGP.js.map → dist-VFPT5TDH.js.map} +0 -0
- /package/dist/{prepared-state-BUO75YLZ-RQRFFBJW.js.map → prepared-state-BUO75YLZ-46W2PAHH.js.map} +0 -0
- /package/runtime/hub/apps/hub/.next/static/{qi16fW9z3QBAzMjpOdRMQ → bwxNg9k-GQFyi2ouG8Aeh}/_buildManifest.js +0 -0
- /package/runtime/hub/apps/hub/.next/static/{qi16fW9z3QBAzMjpOdRMQ → bwxNg9k-GQFyi2ouG8Aeh}/_clientMiddlewareManifest.js +0 -0
- /package/runtime/hub/apps/hub/.next/static/{qi16fW9z3QBAzMjpOdRMQ → bwxNg9k-GQFyi2ouG8Aeh}/_ssgManifest.js +0 -0
|
@@ -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-PROXBLRJ.js";
|
|
5
5
|
import {
|
|
6
6
|
baseFreshnessFromFingerprints,
|
|
7
7
|
currentCloudBaseFingerprint,
|
|
8
8
|
openWebAppOnVncScreen
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-5KMJIVZC.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-DNR2YM2G.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-EY6HEDTK.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-TRUQCO4U.js";
|
|
56
56
|
import "./chunk-TZFWAJVB.js";
|
|
57
57
|
|
|
58
58
|
// server.ts
|
|
@@ -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-RSWTJWRN.js"),
|
|
74
|
+
daytona: () => import("./dist-3DCKZYID.js"),
|
|
75
|
+
hetzner: () => import("./dist-YCRESLWD.js"),
|
|
76
|
+
vercel: () => import("./dist-M73U3ZDH.js"),
|
|
77
|
+
e2b: () => import("./dist-KV5ESR24.js"),
|
|
78
|
+
digitalocean: () => import("./dist-SX2NXGI6.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-RSWTJWRN.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-MNW2XGKK.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-QKQWV2I6.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-HY5K55Y5.js");
|
|
971
971
|
await ensureAuthReady();
|
|
972
972
|
process.stdout.write("agentbox-hub: auth ready\n");
|
|
973
973
|
}
|
package/runtime/relay/bin.cjs
CHANGED
|
@@ -18980,6 +18980,9 @@ var BUILT_IN_DEFAULTS = {
|
|
|
18980
18980
|
bundleDepth: void 0,
|
|
18981
18981
|
hetznerLocation: "nbg1",
|
|
18982
18982
|
digitaloceanRegion: "nyc3",
|
|
18983
|
+
// Empty = leave boxes in the account's default project (DigitalOcean's own
|
|
18984
|
+
// behavior). There is no sane default id to pick — it differs per account.
|
|
18985
|
+
digitaloceanProject: "",
|
|
18983
18986
|
vercelTimeoutMs: 27e5,
|
|
18984
18987
|
vercelNetworkPolicy: "",
|
|
18985
18988
|
e2bTimeoutMs: 27e5,
|
|
@@ -19230,6 +19233,11 @@ var KEY_REGISTRY = [
|
|
|
19230
19233
|
type: "string",
|
|
19231
19234
|
description: "DigitalOcean region new --provider digitalocean boxes are created in (e.g. `nyc3`, `nyc1`, `sfo3`, `ams3`, `fra1`). Default `nyc3`. Overridable per-create with `--location`. DigitalOcean-only; ignored by other providers."
|
|
19232
19235
|
},
|
|
19236
|
+
{
|
|
19237
|
+
key: "box.digitaloceanProject",
|
|
19238
|
+
type: "string",
|
|
19239
|
+
description: "DigitalOcean Project new --provider digitalocean boxes are placed in \u2014 a name or the project's UUID. Unset (the default) leaves boxes in the account's default project. Set it per repo via `agentbox.yaml`, or globally at `agentbox digitalocean login`. DigitalOcean-only; ignored by other providers."
|
|
19240
|
+
},
|
|
19233
19241
|
{
|
|
19234
19242
|
key: "box.vercelTimeoutMs",
|
|
19235
19243
|
type: "int",
|
package/runtime/vercel/ctl.cjs
CHANGED
|
@@ -20169,6 +20169,9 @@ var BUILT_IN_DEFAULTS = {
|
|
|
20169
20169
|
bundleDepth: void 0,
|
|
20170
20170
|
hetznerLocation: "nbg1",
|
|
20171
20171
|
digitaloceanRegion: "nyc3",
|
|
20172
|
+
// Empty = leave boxes in the account's default project (DigitalOcean's own
|
|
20173
|
+
// behavior). There is no sane default id to pick — it differs per account.
|
|
20174
|
+
digitaloceanProject: "",
|
|
20172
20175
|
vercelTimeoutMs: 27e5,
|
|
20173
20176
|
vercelNetworkPolicy: "",
|
|
20174
20177
|
e2bTimeoutMs: 27e5,
|
|
@@ -20419,6 +20422,11 @@ var KEY_REGISTRY = [
|
|
|
20419
20422
|
type: "string",
|
|
20420
20423
|
description: "DigitalOcean region new --provider digitalocean boxes are created in (e.g. `nyc3`, `nyc1`, `sfo3`, `ams3`, `fra1`). Default `nyc3`. Overridable per-create with `--location`. DigitalOcean-only; ignored by other providers."
|
|
20421
20424
|
},
|
|
20425
|
+
{
|
|
20426
|
+
key: "box.digitaloceanProject",
|
|
20427
|
+
type: "string",
|
|
20428
|
+
description: "DigitalOcean Project new --provider digitalocean boxes are placed in \u2014 a name or the project's UUID. Unset (the default) leaves boxes in the account's default project. Set it per repo via `agentbox.yaml`, or globally at `agentbox digitalocean login`. DigitalOcean-only; ignored by other providers."
|
|
20429
|
+
},
|
|
20422
20430
|
{
|
|
20423
20431
|
key: "box.vercelTimeoutMs",
|
|
20424
20432
|
type: "int",
|