@madarco/agentbox 0.25.0 → 0.25.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.
Files changed (63) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/dist/{_cloud-attach-W2CFNXKO.js → _cloud-attach-FGMI2ZHO.js} +4 -4
  3. package/dist/{chunk-GHFIKSBJ.js → chunk-3BR63LCB.js} +3 -3
  4. package/dist/{chunk-VZC5J44U.js → chunk-3PSRBK24.js} +3 -3
  5. package/dist/chunk-3PSRBK24.js.map +1 -0
  6. package/dist/{chunk-NH3W6HUZ.js → chunk-4DBLYT2F.js} +9 -9
  7. package/dist/{chunk-Y3OPQWAQ.js → chunk-4LS2TOF3.js} +11 -7
  8. package/dist/{chunk-Y3OPQWAQ.js.map → chunk-4LS2TOF3.js.map} +1 -1
  9. package/dist/{chunk-7PRLM3PH.js → chunk-5VNL6SHJ.js} +2 -2
  10. package/dist/{chunk-7C5MOA4Z.js → chunk-67VF2QZC.js} +2 -2
  11. package/dist/{chunk-4UNSBU5R.js → chunk-6GZK74GT.js} +2 -2
  12. package/dist/{chunk-LCZOQTIX.js → chunk-P5U6AP6K.js} +4 -4
  13. package/dist/{chunk-LU3WAHTU.js → chunk-ZTSVY3YL.js} +3 -3
  14. package/dist/{dist-I5OBPLP2.js → dist-4I7XHDC3.js} +5 -5
  15. package/dist/{dist-KL73Z37T.js → dist-5G42NFOG.js} +5 -5
  16. package/dist/{dist-3V5SLNK4.js → dist-AZUD2LUA.js} +5 -5
  17. package/dist/{dist-UB3PYSCG.js → dist-MEK44IS5.js} +5 -5
  18. package/dist/{dist-BIDAC4H4.js → dist-SN6ABGMD.js} +3 -3
  19. package/dist/{dist-IGQNVIV3.js → dist-X7R2EMJL.js} +5 -5
  20. package/dist/index.js +15 -15
  21. package/dist/{prepared-state-OBM2F7CU-DY7TZV4R.js → prepared-state-75DIZ55S-5UAKJX3L.js} +2 -2
  22. package/package.json +7 -7
  23. package/runtime/hub/apps/hub/.next/BUILD_ID +1 -1
  24. package/runtime/hub/apps/hub/.next/build-manifest.json +3 -3
  25. package/runtime/hub/apps/hub/.next/server/app/_global-error.html +1 -1
  26. package/runtime/hub/apps/hub/.next/server/app/_global-error.rsc +1 -1
  27. package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  28. package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  29. package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  30. package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  31. package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  32. package/runtime/hub/apps/hub/.next/server/middleware-build-manifest.js +3 -3
  33. package/runtime/hub/apps/hub/.next/server/pages/500.html +1 -1
  34. package/runtime/hub/apps/hub/{chunk-QBJOF5D3.js → chunk-23AU7VYS.js} +2 -2
  35. package/runtime/hub/apps/hub/{chunk-MA73PTOR.js → chunk-GARA7RQW.js} +2 -2
  36. package/runtime/hub/apps/hub/{chunk-LNHPLR3L.js → chunk-RSENJ2FT.js} +10 -6
  37. package/runtime/hub/apps/hub/{dist-ZVY2FWG6.js → dist-DZGSA3US.js} +3 -3
  38. package/runtime/hub/apps/hub/{dist-ERQDDSOY.js → dist-JVU3QCLG.js} +3 -3
  39. package/runtime/hub/apps/hub/{dist-SIQJD72C.js → dist-TP4SXMDY.js} +3 -3
  40. package/runtime/hub/apps/hub/{dist-26KVXHXV.js → dist-VWSHZIPN.js} +3 -3
  41. package/runtime/hub/apps/hub/{dist-7LB4D4ZQ.js → dist-WZKTIA2R.js} +3 -3
  42. package/runtime/hub/apps/hub/{dist-YZJA4WRV.js → dist-YWY2DSSL.js} +2 -2
  43. package/runtime/hub/apps/hub/{prepared-state-OBM2F7CU-ZEYFNYFI.js → prepared-state-75DIZ55S-JDILR4OP.js} +1 -1
  44. package/runtime/hub/apps/hub/server.js +10 -10
  45. package/dist/chunk-VZC5J44U.js.map +0 -1
  46. /package/dist/{_cloud-attach-W2CFNXKO.js.map → _cloud-attach-FGMI2ZHO.js.map} +0 -0
  47. /package/dist/{chunk-GHFIKSBJ.js.map → chunk-3BR63LCB.js.map} +0 -0
  48. /package/dist/{chunk-NH3W6HUZ.js.map → chunk-4DBLYT2F.js.map} +0 -0
  49. /package/dist/{chunk-7PRLM3PH.js.map → chunk-5VNL6SHJ.js.map} +0 -0
  50. /package/dist/{chunk-7C5MOA4Z.js.map → chunk-67VF2QZC.js.map} +0 -0
  51. /package/dist/{chunk-4UNSBU5R.js.map → chunk-6GZK74GT.js.map} +0 -0
  52. /package/dist/{chunk-LCZOQTIX.js.map → chunk-P5U6AP6K.js.map} +0 -0
  53. /package/dist/{chunk-LU3WAHTU.js.map → chunk-ZTSVY3YL.js.map} +0 -0
  54. /package/dist/{dist-3V5SLNK4.js.map → dist-4I7XHDC3.js.map} +0 -0
  55. /package/dist/{dist-KL73Z37T.js.map → dist-5G42NFOG.js.map} +0 -0
  56. /package/dist/{dist-BIDAC4H4.js.map → dist-AZUD2LUA.js.map} +0 -0
  57. /package/dist/{dist-UB3PYSCG.js.map → dist-MEK44IS5.js.map} +0 -0
  58. /package/dist/{dist-I5OBPLP2.js.map → dist-SN6ABGMD.js.map} +0 -0
  59. /package/dist/{dist-IGQNVIV3.js.map → dist-X7R2EMJL.js.map} +0 -0
  60. /package/dist/{prepared-state-OBM2F7CU-DY7TZV4R.js.map → prepared-state-75DIZ55S-5UAKJX3L.js.map} +0 -0
  61. /package/runtime/hub/apps/hub/.next/static/{c82uDoByt-dPQUHilRojD → fo5EgsHa6PFLTBagfLiuM}/_buildManifest.js +0 -0
  62. /package/runtime/hub/apps/hub/.next/static/{c82uDoByt-dPQUHilRojD → fo5EgsHa6PFLTBagfLiuM}/_clientMiddlewareManifest.js +0 -0
  63. /package/runtime/hub/apps/hub/.next/static/{c82uDoByt-dPQUHilRojD → fo5EgsHa6PFLTBagfLiuM}/_ssgManifest.js +0 -0
@@ -5,7 +5,7 @@ import {
5
5
  startClaudeSession,
6
6
  startCodexSession,
7
7
  startOpencodeSession
8
- } from "./chunk-VZC5J44U.js";
8
+ } from "./chunk-3PSRBK24.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-Y3OPQWAQ.js";
18
+ } from "./chunk-4LS2TOF3.js";
19
19
 
20
20
  // src/commands/_cloud-attach.ts
21
21
  import { spawn as spawn4 } from "child_process";
@@ -162,12 +162,12 @@ async function withFirewallRepair(provider, box, opts, attempt) {
162
162
  // src/provider/loaders.ts
163
163
  import { pathToFileURL } from "url";
164
164
  var IMPORTERS = {
165
- docker: () => import("./dist-BIDAC4H4.js"),
166
- daytona: () => import("./dist-KL73Z37T.js"),
167
- hetzner: () => import("./dist-3V5SLNK4.js"),
168
- vercel: () => import("./dist-I5OBPLP2.js"),
169
- e2b: () => import("./dist-UB3PYSCG.js"),
170
- digitalocean: () => import("./dist-IGQNVIV3.js")
165
+ docker: () => import("./dist-SN6ABGMD.js"),
166
+ daytona: () => import("./dist-5G42NFOG.js"),
167
+ hetzner: () => import("./dist-AZUD2LUA.js"),
168
+ vercel: () => import("./dist-4I7XHDC3.js"),
169
+ e2b: () => import("./dist-MEK44IS5.js"),
170
+ digitalocean: () => import("./dist-X7R2EMJL.js")
171
171
  };
172
172
  function pickProviderModule(mod, name) {
173
173
  const m = mod;
@@ -2797,4 +2797,4 @@ export {
2797
2797
  agentResumeArgs,
2798
2798
  restoreAgentSessions
2799
2799
  };
2800
- //# sourceMappingURL=chunk-NH3W6HUZ.js.map
2800
+ //# sourceMappingURL=chunk-4DBLYT2F.js.map
@@ -3232,7 +3232,7 @@ function registryRefForSha(sha, registry = BOX_IMAGE_REGISTRY) {
3232
3232
  return `${registry}:sha-${sha.slice(0, 16)}`;
3233
3233
  }
3234
3234
 
3235
- // ../../packages/sandbox-docker/dist/chunk-GVUUXWVG.js
3235
+ // ../../packages/sandbox-docker/dist/chunk-6T2XZZB5.js
3236
3236
  import { dirname as dirname23, resolve as resolve23 } from "path";
3237
3237
  import { fileURLToPath as fileURLToPath2 } from "url";
3238
3238
  import { execa as execa7 } from "execa";
@@ -3352,7 +3352,7 @@ async function buildImage(opts = {}) {
3352
3352
  return ref;
3353
3353
  }
3354
3354
  async function pullOrBuild(ref, fingerprint, opts = {}) {
3355
- const { writePreparedDockerState: writePreparedDockerState2 } = await import("./prepared-state-OBM2F7CU-DY7TZV4R.js");
3355
+ const { writePreparedDockerState: writePreparedDockerState2 } = await import("./prepared-state-75DIZ55S-5UAKJX3L.js");
3356
3356
  const registry = opts.registry ?? BOX_IMAGE_REGISTRY;
3357
3357
  const allowPull = opts.allowPull !== false;
3358
3358
  if (allowPull && registry && fingerprint) {
@@ -3379,7 +3379,7 @@ async function pullOrBuild(ref, fingerprint, opts = {}) {
3379
3379
  return { source: "built" };
3380
3380
  }
3381
3381
  async function ensureImage(ref = DEFAULT_BOX_IMAGE, opts = {}) {
3382
- const { computeDockerContextFingerprint: computeDockerContextFingerprint2, readPreparedDockerState: readPreparedDockerState2, preparedMatches: preparedMatches2 } = await import("./prepared-state-OBM2F7CU-DY7TZV4R.js");
3382
+ const { computeDockerContextFingerprint: computeDockerContextFingerprint2, readPreparedDockerState: readPreparedDockerState2, preparedMatches: preparedMatches2 } = await import("./prepared-state-75DIZ55S-5UAKJX3L.js");
3383
3383
  const claudeInstall = opts.claudeInstall ?? await resolveClaudeInstallMode();
3384
3384
  const rawFingerprint = await computeDockerContextFingerprint2({
3385
3385
  contextDir: opts.contextDir
@@ -3409,8 +3409,12 @@ async function ensureImage(ref = DEFAULT_BOX_IMAGE, opts = {}) {
3409
3409
  onProgress: opts.onProgress,
3410
3410
  dockerfile: opts.dockerfile,
3411
3411
  contextDir: opts.contextDir,
3412
- // The published GHCR image is native-only, so npm mode must build locally.
3413
- allowPull: npm ? false : opts.allowPull,
3412
+ // npm mode pulls too. CI publishes both install variants, and `fingerprint`
3413
+ // is already folded with the mode above — so the pull asks for the npm
3414
+ // image's own tag and hits. (It used to be native-only, which meant npm
3415
+ // users rebuilt the image locally on every first create, forever.) A tag
3416
+ // that genuinely isn't published still falls back to a local build.
3417
+ allowPull: opts.allowPull,
3414
3418
  registry: opts.registry,
3415
3419
  buildArgs: npm ? { AGENTBOX_CLAUDE_INSTALL: "npm" } : void 0
3416
3420
  });
@@ -3429,7 +3433,7 @@ function classifyDockerBaseFreshness(input) {
3429
3433
  return { state: "fresh" };
3430
3434
  }
3431
3435
  async function evaluateDockerBaseFreshness(opts = {}) {
3432
- const { computeDockerContextFingerprint: computeDockerContextFingerprint2, readPreparedDockerState: readPreparedDockerState2 } = await import("./prepared-state-OBM2F7CU-DY7TZV4R.js");
3436
+ const { computeDockerContextFingerprint: computeDockerContextFingerprint2, readPreparedDockerState: readPreparedDockerState2 } = await import("./prepared-state-75DIZ55S-5UAKJX3L.js");
3433
3437
  const ref = opts.ref ?? DEFAULT_BOX_IMAGE;
3434
3438
  const imagePresent = await imageExists(ref);
3435
3439
  if (!imagePresent) return { state: "unprepared" };
@@ -3650,4 +3654,4 @@ export {
3650
3654
  writePreparedDockerState,
3651
3655
  preparedMatches
3652
3656
  };
3653
- //# sourceMappingURL=chunk-Y3OPQWAQ.js.map
3657
+ //# sourceMappingURL=chunk-4LS2TOF3.js.map