@madarco/agentbox 0.25.1 → 0.26.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 +48 -0
- package/README.md +8 -7
- package/dist/{_cloud-attach-FGMI2ZHO.js → _cloud-attach-7WRQH6XZ.js} +5 -5
- package/dist/{chunk-5VNL6SHJ.js → chunk-7ZZAZPYX.js} +3 -3
- package/dist/{chunk-ZTSVY3YL.js → chunk-BA2VLJVU.js} +3 -3
- package/dist/{chunk-3BR63LCB.js → chunk-DJQMK4RN.js} +12 -4
- package/dist/chunk-DJQMK4RN.js.map +1 -0
- package/dist/{chunk-6GZK74GT.js → chunk-DQHMDDAT.js} +2 -2
- package/dist/{chunk-P5U6AP6K.js → chunk-I2OAJS3L.js} +40 -377
- package/dist/{chunk-P5U6AP6K.js.map → chunk-I2OAJS3L.js.map} +1 -1
- package/dist/{chunk-5F5SOSDY.js → chunk-JGZSA5ZI.js} +72 -23
- package/dist/chunk-JGZSA5ZI.js.map +1 -0
- package/dist/{chunk-67VF2QZC.js → chunk-K5KOLYIL.js} +3 -3
- package/dist/{chunk-4LS2TOF3.js → chunk-PK2QF4IR.js} +569 -195
- package/dist/chunk-PK2QF4IR.js.map +1 -0
- package/dist/{chunk-3PSRBK24.js → chunk-UIFL7F2G.js} +54 -37
- package/dist/chunk-UIFL7F2G.js.map +1 -0
- package/dist/{chunk-4DBLYT2F.js → chunk-ZY7M7MXH.js} +41 -16
- package/dist/chunk-ZY7M7MXH.js.map +1 -0
- package/dist/chunk-ZYKNSHOH.js +259 -0
- package/dist/chunk-ZYKNSHOH.js.map +1 -0
- package/dist/{dist-X7R2EMJL.js → dist-5IICYSR6.js} +42 -374
- package/dist/{dist-X7R2EMJL.js.map → dist-5IICYSR6.js.map} +1 -1
- package/dist/{dist-5G42NFOG.js → dist-AR5CHRSV.js} +86 -45
- package/dist/{dist-5G42NFOG.js.map → dist-AR5CHRSV.js.map} +1 -1
- package/dist/{dist-AZUD2LUA.js → dist-DTNYMBQ5.js} +12 -12
- package/dist/{dist-MEK44IS5.js → dist-K4LNH3EC.js} +6 -6
- package/dist/{dist-SN6ABGMD.js → dist-POVRY7HO.js} +8 -4
- package/dist/{dist-SBDYDH7H.js → dist-U2SVLJUQ.js} +4 -2
- package/dist/{dist-4I7XHDC3.js → dist-XYY6SIKG.js} +6 -6
- package/dist/dist-YA7EXBGG.js +809 -0
- package/dist/dist-YA7EXBGG.js.map +1 -0
- package/dist/index.js +971 -591
- package/dist/index.js.map +1 -1
- package/dist/{prepared-state-75DIZ55S-5UAKJX3L.js → prepared-state-75DIZ55S-W6NU3S3B.js} +2 -2
- package/package.json +8 -7
- package/runtime/_shared/ctl.cjs +83 -36
- package/runtime/digitalocean/ctl.cjs +83 -36
- package/runtime/docker/packages/ctl/dist/bin.cjs +83 -36
- package/runtime/e2b/ctl.cjs +83 -36
- package/runtime/hetzner/ctl.cjs +83 -36
- 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/(auth)/api/auth/[...all]/route.js +1 -1
- package/runtime/hub/apps/hub/.next/server/app/(auth)/api/auth/[...all]/route.js.nft.json +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/0-fj_better-auth_dist_adapters_kysely-adapter_index_mjs_0btft52._.js +3 -0
- package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0d1lmiq._.js +5 -5
- 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]__1-9g0ae._.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]__19pc87s._.js → [root-of-the-server]__1k8g143._.js} +2 -2
- 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 +4 -4
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/09xn_next_dist_0xy-j7z._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/09xn_next_dist_esm_build_templates_app-page_010858m.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/09xn_next_dist_esm_build_templates_app-page_04zwxnx.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/09xn_next_dist_esm_build_templates_app-page_06exuc7.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/09xn_next_dist_esm_build_templates_app-page_0f2ldrt.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/09xn_next_dist_esm_build_templates_app-page_0f2tzep.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/09xn_next_dist_esm_build_templates_app-page_116nh32.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/09xn_next_dist_esm_build_templates_app-page_11dyjcb.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/09xn_next_dist_esm_build_templates_app-page_1_4knli.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/[root-of-the-server]__08-1wwu._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/[root-of-the-server]__0c9mbcn._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/[root-of-the-server]__0gdfxj4._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/[root-of-the-server]__0kc-hwp._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/[root-of-the-server]__0lu73p6._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/[root-of-the-server]__10bfmwi._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/[root-of-the-server]__18qvdzb._.js +1 -1
- package/runtime/hub/apps/hub/.next/server/chunks/ssr/[root-of-the-server]__1l2urlw._.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-MVL4NCQC.js → auth-DC44GQZY.js} +2 -2
- package/runtime/hub/apps/hub/{auth-config-GRIXACTV.js → auth-config-LALRDYDO.js} +2 -2
- package/runtime/hub/apps/hub/{chunk-JLG5JJXD.js → chunk-3FJNKSNZ.js} +1 -1
- package/runtime/hub/apps/hub/{chunk-RSENJ2FT.js → chunk-4QY2VZCF.js} +502 -132
- package/runtime/hub/apps/hub/{chunk-23AU7VYS.js → chunk-BARD2DI6.js} +11 -3
- package/runtime/hub/apps/hub/{chunk-V3OMPMI3.js → chunk-QSMPSV5Z.js} +70 -21
- package/runtime/hub/apps/hub/{chunk-GARA7RQW.js → chunk-XZZXPEVV.js} +57 -36
- package/runtime/hub/apps/hub/{dist-WZKTIA2R.js → dist-3ENKQN5G.js} +35 -365
- package/runtime/hub/apps/hub/{dist-TP4SXMDY.js → dist-6VGJOQYK.js} +84 -43
- package/runtime/hub/apps/hub/{dist-JVU3QCLG.js → dist-AE6IV4FV.js} +4 -4
- package/runtime/hub/apps/hub/{dist-IZ2JCN5R.js → dist-EQV4L7KP.js} +3 -1
- package/runtime/hub/apps/hub/dist-NNBELNA7.js +1017 -0
- package/runtime/hub/apps/hub/{dist-DZGSA3US.js → dist-RJJ2SDYO.js} +4 -4
- package/runtime/hub/apps/hub/{dist-VWSHZIPN.js → dist-TU7D6UTB.js} +37 -366
- package/runtime/hub/apps/hub/{dist-YWY2DSSL.js → dist-WAZKGVYL.js} +7 -3
- package/runtime/hub/apps/hub/{hub-token-BJG6Q5II.js → hub-token-COBZGSLS.js} +2 -2
- package/runtime/hub/apps/hub/package.json +1 -0
- package/runtime/hub/apps/hub/{prepared-state-75DIZ55S-JDILR4OP.js → prepared-state-75DIZ55S-NYEDSU2U.js} +1 -1
- package/runtime/hub/apps/hub/server.js +20 -16
- package/runtime/relay/bin.cjs +57 -20
- package/runtime/vercel/ctl.cjs +83 -36
- package/dist/chunk-3BR63LCB.js.map +0 -1
- package/dist/chunk-3PSRBK24.js.map +0 -1
- package/dist/chunk-4DBLYT2F.js.map +0 -1
- package/dist/chunk-4LS2TOF3.js.map +0 -1
- package/dist/chunk-5F5SOSDY.js.map +0 -1
- package/runtime/hub/apps/hub/.next/server/chunks/0zhp_better-auth_dist_adapters_kysely-adapter_index_mjs_1rl4qnh._.js +0 -3
- /package/dist/{_cloud-attach-FGMI2ZHO.js.map → _cloud-attach-7WRQH6XZ.js.map} +0 -0
- /package/dist/{chunk-5VNL6SHJ.js.map → chunk-7ZZAZPYX.js.map} +0 -0
- /package/dist/{chunk-ZTSVY3YL.js.map → chunk-BA2VLJVU.js.map} +0 -0
- /package/dist/{chunk-6GZK74GT.js.map → chunk-DQHMDDAT.js.map} +0 -0
- /package/dist/{chunk-67VF2QZC.js.map → chunk-K5KOLYIL.js.map} +0 -0
- /package/dist/{dist-4I7XHDC3.js.map → dist-DTNYMBQ5.js.map} +0 -0
- /package/dist/{dist-MEK44IS5.js.map → dist-K4LNH3EC.js.map} +0 -0
- /package/dist/{dist-AZUD2LUA.js.map → dist-POVRY7HO.js.map} +0 -0
- /package/dist/{dist-SBDYDH7H.js.map → dist-U2SVLJUQ.js.map} +0 -0
- /package/dist/{dist-SN6ABGMD.js.map → dist-XYY6SIKG.js.map} +0 -0
- /package/dist/{prepared-state-75DIZ55S-5UAKJX3L.js.map → prepared-state-75DIZ55S-W6NU3S3B.js.map} +0 -0
- /package/runtime/hub/apps/hub/.next/static/{fo5EgsHa6PFLTBagfLiuM → mJYh9UHTsLaGGyRjBSvme}/_buildManifest.js +0 -0
- /package/runtime/hub/apps/hub/.next/static/{fo5EgsHa6PFLTBagfLiuM → mJYh9UHTsLaGGyRjBSvme}/_clientMiddlewareManifest.js +0 -0
- /package/runtime/hub/apps/hub/.next/static/{fo5EgsHa6PFLTBagfLiuM → mJYh9UHTsLaGGyRjBSvme}/_ssgManifest.js +0 -0
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
projectDirSegment,
|
|
9
9
|
sanitizeMnemonic,
|
|
10
10
|
setConfigValue
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-JGZSA5ZI.js";
|
|
12
12
|
import {
|
|
13
13
|
AmbiguousBoxError,
|
|
14
14
|
BOX_HOME,
|
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
syncAgentboxSshConfig,
|
|
71
71
|
trustWorkspace,
|
|
72
72
|
writeClaudeMergedRegistries
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-PK2QF4IR.js";
|
|
74
74
|
|
|
75
75
|
// ../../packages/sandbox-docker/dist/index.js
|
|
76
76
|
import { spawnSync } from "child_process";
|
|
@@ -257,7 +257,7 @@ function parseBackoff(raw, where) {
|
|
|
257
257
|
if (!isPlainObject2(raw)) {
|
|
258
258
|
throw new ConfigError(`${where}.backoff must be a mapping`);
|
|
259
259
|
}
|
|
260
|
-
|
|
260
|
+
warnUnknownKeys(raw, BACKOFF_KEYS, `${where}.backoff`);
|
|
261
261
|
const initialMs = parseNonNegativeInt(
|
|
262
262
|
raw.initial_ms,
|
|
263
263
|
`${where}.backoff.initial_ms`,
|
|
@@ -270,10 +270,13 @@ function parseBackoff(raw, where) {
|
|
|
270
270
|
}
|
|
271
271
|
return { initialMs, maxMs, factor };
|
|
272
272
|
}
|
|
273
|
-
|
|
273
|
+
var unknownKeyWarnings = [];
|
|
274
|
+
function warnUnknownKeys(obj, allowed, where) {
|
|
274
275
|
for (const key of Object.keys(obj)) {
|
|
275
276
|
if (!allowed.has(key)) {
|
|
276
|
-
|
|
277
|
+
unknownKeyWarnings.push(
|
|
278
|
+
`${where} has unknown key "${key}" \u2014 ignored (typo, or written by a newer agentbox)`
|
|
279
|
+
);
|
|
277
280
|
}
|
|
278
281
|
}
|
|
279
282
|
}
|
|
@@ -339,7 +342,7 @@ function parseReadyWhen(raw, where) {
|
|
|
339
342
|
if (!isPlainObject2(raw)) {
|
|
340
343
|
throw new ConfigError(`${where}.ready_when must be a mapping`);
|
|
341
344
|
}
|
|
342
|
-
|
|
345
|
+
warnUnknownKeys(raw, PROBE_KEYS, `${where}.ready_when`);
|
|
343
346
|
const kinds = [];
|
|
344
347
|
if (raw.port !== void 0) kinds.push("port");
|
|
345
348
|
if (raw.log_match !== void 0) kinds.push("log_match");
|
|
@@ -498,7 +501,7 @@ function parseImage(raw, where, defaultName) {
|
|
|
498
501
|
if (!isPlainObject2(raw)) {
|
|
499
502
|
throw new ConfigError(`${where}.image must be an image ref string or a mapping`);
|
|
500
503
|
}
|
|
501
|
-
|
|
504
|
+
warnUnknownKeys(raw, IMAGE_KEYS, `${where}.image`);
|
|
502
505
|
const name = assertString(raw.name, `${where}.image.name`).trim();
|
|
503
506
|
if (name.length === 0) throw new ConfigError(`${where}.image.name must not be empty`);
|
|
504
507
|
const ports = parsePorts(raw.ports, `${where}.image`);
|
|
@@ -522,7 +525,7 @@ function parseExpose(raw, where) {
|
|
|
522
525
|
if (!isPlainObject2(raw)) {
|
|
523
526
|
throw new ConfigError(`${where}.expose must be a mapping`);
|
|
524
527
|
}
|
|
525
|
-
|
|
528
|
+
warnUnknownKeys(raw, EXPOSE_KEYS, `${where}.expose`);
|
|
526
529
|
if (raw.port === void 0) {
|
|
527
530
|
throw new ConfigError(`${where}.expose.port is required`);
|
|
528
531
|
}
|
|
@@ -546,7 +549,7 @@ function parseService(name, raw) {
|
|
|
546
549
|
if (!isPlainObject2(raw)) {
|
|
547
550
|
throw new ConfigError(`${where} must be a mapping`);
|
|
548
551
|
}
|
|
549
|
-
|
|
552
|
+
warnUnknownKeys(raw, SERVICE_KEYS, where);
|
|
550
553
|
const hasImage = raw.image !== void 0 && raw.image !== null;
|
|
551
554
|
const hasCommand = raw.command !== void 0 && raw.command !== null;
|
|
552
555
|
if (hasImage && hasCommand) {
|
|
@@ -617,7 +620,7 @@ function parseTask(name, raw) {
|
|
|
617
620
|
if (!isPlainObject2(raw)) {
|
|
618
621
|
throw new ConfigError(`${where} must be a mapping`);
|
|
619
622
|
}
|
|
620
|
-
|
|
623
|
+
warnUnknownKeys(raw, TASK_KEYS, where);
|
|
621
624
|
const command = parseCommand(raw.command, where);
|
|
622
625
|
const cwd = raw.cwd === void 0 ? void 0 : assertString(raw.cwd, `${where}.cwd`);
|
|
623
626
|
const env = parseEnv(raw.env, where);
|
|
@@ -687,17 +690,20 @@ function validateUnitGraph(tasks, services) {
|
|
|
687
690
|
}
|
|
688
691
|
}
|
|
689
692
|
function parseConfig(text) {
|
|
693
|
+
unknownKeyWarnings = [];
|
|
690
694
|
let doc;
|
|
691
695
|
try {
|
|
692
696
|
doc = parseYaml2(text);
|
|
693
697
|
} catch (err) {
|
|
694
698
|
throw new ConfigError(`yaml parse error: ${err instanceof Error ? err.message : String(err)}`);
|
|
695
699
|
}
|
|
696
|
-
if (doc === null || doc === void 0)
|
|
700
|
+
if (doc === null || doc === void 0) {
|
|
701
|
+
return { services: [], tasks: [], replacements: {}, warnings: [] };
|
|
702
|
+
}
|
|
697
703
|
if (!isPlainObject2(doc)) {
|
|
698
704
|
throw new ConfigError("top-level config must be a mapping");
|
|
699
705
|
}
|
|
700
|
-
|
|
706
|
+
warnUnknownKeys(doc, TOP_LEVEL_KEYS, "(root)");
|
|
701
707
|
const services = [];
|
|
702
708
|
const servicesRaw = doc.services;
|
|
703
709
|
if (servicesRaw !== void 0 && servicesRaw !== null) {
|
|
@@ -743,7 +749,7 @@ function parseConfig(text) {
|
|
|
743
749
|
} catch (err) {
|
|
744
750
|
throw new ConfigError(err instanceof Error ? err.message : String(err));
|
|
745
751
|
}
|
|
746
|
-
return { services, tasks, replacements };
|
|
752
|
+
return { services, tasks, replacements, warnings: unknownKeyWarnings };
|
|
747
753
|
}
|
|
748
754
|
async function loadConfig(path) {
|
|
749
755
|
let text;
|
|
@@ -751,7 +757,7 @@ async function loadConfig(path) {
|
|
|
751
757
|
text = await readFile2(path, "utf8");
|
|
752
758
|
} catch (err) {
|
|
753
759
|
if (err.code === "ENOENT") {
|
|
754
|
-
return { services: [], tasks: [], replacements: {} };
|
|
760
|
+
return { services: [], tasks: [], replacements: {}, warnings: [] };
|
|
755
761
|
}
|
|
756
762
|
throw err;
|
|
757
763
|
}
|
|
@@ -1526,7 +1532,7 @@ function rowToEvent(r) {
|
|
|
1526
1532
|
};
|
|
1527
1533
|
}
|
|
1528
1534
|
|
|
1529
|
-
// ../../packages/relay/dist/chunk-
|
|
1535
|
+
// ../../packages/relay/dist/chunk-GEIE6TWJ.js
|
|
1530
1536
|
import { execa } from "execa";
|
|
1531
1537
|
import { createHash, randomBytes } from "crypto";
|
|
1532
1538
|
|
|
@@ -1800,7 +1806,7 @@ function isBodyAssignment(token) {
|
|
|
1800
1806
|
}
|
|
1801
1807
|
var ALL_CONNECTORS = [notionConnector, linearConnector];
|
|
1802
1808
|
|
|
1803
|
-
// ../../packages/relay/dist/chunk-
|
|
1809
|
+
// ../../packages/relay/dist/chunk-GEIE6TWJ.js
|
|
1804
1810
|
import { execa as execa2 } from "execa";
|
|
1805
1811
|
import { spawn as spawn4 } from "child_process";
|
|
1806
1812
|
import { randomBytes as randomBytes2 } from "crypto";
|
|
@@ -8612,7 +8618,30 @@ async function dockerChecks() {
|
|
|
8612
8618
|
];
|
|
8613
8619
|
}
|
|
8614
8620
|
const cliRes = { label: "docker cli", status: "ok", detail: cli };
|
|
8615
|
-
const info
|
|
8621
|
+
const [info, img, vols, portless] = await Promise.all([
|
|
8622
|
+
// Daemon reachability. On Linux the most common failure is not a stopped
|
|
8623
|
+
// daemon but the user missing from the `docker` group — `docker info` then
|
|
8624
|
+
// exits non-zero with "permission denied" on the socket.
|
|
8625
|
+
execa20("docker", ["info"], { reject: false }),
|
|
8626
|
+
imageInfo(DEFAULT_BOX_IMAGE).then(
|
|
8627
|
+
(i) => ({ ok: true, i }),
|
|
8628
|
+
(err) => ({ ok: false, err })
|
|
8629
|
+
),
|
|
8630
|
+
Promise.all(
|
|
8631
|
+
[SHARED_CLAUDE_VOLUME, SHARED_CODEX_VOLUME, SHARED_OPENCODE_VOLUME].map(async (n) => ({
|
|
8632
|
+
name: n,
|
|
8633
|
+
exists: await volumeExists(n).catch(() => false)
|
|
8634
|
+
}))
|
|
8635
|
+
),
|
|
8636
|
+
// OrbStack serves per-box .orb.local URLs natively; Portless only matters on
|
|
8637
|
+
// plain Docker Desktop / Linux docker engine — so the engine decides whether
|
|
8638
|
+
// the row exists at all.
|
|
8639
|
+
(async () => {
|
|
8640
|
+
const engine = await detectEngine().catch(() => "other");
|
|
8641
|
+
if (engine === "orbstack") return null;
|
|
8642
|
+
return portlessDoctorRow(await detectPortless());
|
|
8643
|
+
})()
|
|
8644
|
+
]);
|
|
8616
8645
|
if (info.exitCode !== 0) {
|
|
8617
8646
|
const permDenied = `${info.stderr ?? ""}`.toLowerCase().includes("permission denied");
|
|
8618
8647
|
let hint;
|
|
@@ -8634,22 +8663,12 @@ async function dockerChecks() {
|
|
|
8634
8663
|
];
|
|
8635
8664
|
}
|
|
8636
8665
|
const daemonRes = { label: "docker daemon", status: "ok", detail: "reachable" };
|
|
8637
|
-
|
|
8638
|
-
|
|
8639
|
-
|
|
8640
|
-
|
|
8641
|
-
|
|
8642
|
-
|
|
8643
|
-
detail: `${DEFAULT_BOX_IMAGE} not built`,
|
|
8644
|
-
hint: "run `agentbox prepare --provider docker` (or let the wizard do it)"
|
|
8645
|
-
};
|
|
8646
|
-
} catch (err) {
|
|
8647
|
-
imgRes = { label: "box image", status: "warn", detail: errSummary(err) };
|
|
8648
|
-
}
|
|
8649
|
-
const volNames = [SHARED_CLAUDE_VOLUME, SHARED_CODEX_VOLUME, SHARED_OPENCODE_VOLUME];
|
|
8650
|
-
const vols = await Promise.all(
|
|
8651
|
-
volNames.map(async (n) => ({ name: n, exists: await volumeExists(n).catch(() => false) }))
|
|
8652
|
-
);
|
|
8666
|
+
const imgRes = !img.ok ? { label: "box image", status: "warn", detail: errSummary(img.err) } : img.i.exists ? { label: "box image", status: "ok", detail: `${DEFAULT_BOX_IMAGE} built` } : {
|
|
8667
|
+
label: "box image",
|
|
8668
|
+
status: "warn",
|
|
8669
|
+
detail: `${DEFAULT_BOX_IMAGE} not built`,
|
|
8670
|
+
hint: "run `agentbox prepare --provider docker` (or let the wizard do it)"
|
|
8671
|
+
};
|
|
8653
8672
|
const present = vols.filter((v) => v.exists).length;
|
|
8654
8673
|
const volRes = {
|
|
8655
8674
|
label: "shared volumes",
|
|
@@ -8657,9 +8676,7 @@ async function dockerChecks() {
|
|
|
8657
8676
|
detail: `${String(present)}/${String(vols.length)} present (seeded lazily)`
|
|
8658
8677
|
};
|
|
8659
8678
|
const results = [cliRes, daemonRes, imgRes, volRes];
|
|
8660
|
-
if (
|
|
8661
|
-
results.push(portlessDoctorRow(await detectPortless()));
|
|
8662
|
-
}
|
|
8679
|
+
if (portless) results.push(portless);
|
|
8663
8680
|
return results;
|
|
8664
8681
|
}
|
|
8665
8682
|
var providerModule = {
|
|
@@ -9320,4 +9337,4 @@ export {
|
|
|
9320
9337
|
ensureBoxBrowser,
|
|
9321
9338
|
ensureBoxBrowserShowingApp
|
|
9322
9339
|
};
|
|
9323
|
-
//# sourceMappingURL=chunk-
|
|
9340
|
+
//# sourceMappingURL=chunk-UIFL7F2G.js.map
|