@madarco/agentbox 0.24.3 → 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.
Files changed (91) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist/{_cloud-attach-D5OC7DCC.js → _cloud-attach-ESCPOKG5.js} +5 -5
  3. package/dist/{chunk-DEDTPG2D.js → chunk-3MDYQROX.js} +5 -5
  4. package/dist/{chunk-SS6ZEKLL.js → chunk-4HPLS5HJ.js} +7 -4
  5. package/dist/chunk-4HPLS5HJ.js.map +1 -0
  6. package/dist/{chunk-3253DDXI.js → chunk-5JDOTQTM.js} +4 -4
  7. package/dist/{chunk-5KHEH47T.js → chunk-7DPDUZ7L.js} +2 -2
  8. package/dist/{chunk-24PXPJI3.js → chunk-CE3S7UDQ.js} +10 -10
  9. package/dist/{chunk-UIRBYL4G.js → chunk-H6A4BQMG.js} +9 -1
  10. package/dist/chunk-H6A4BQMG.js.map +1 -0
  11. package/dist/{chunk-WLHJZPFJ.js → chunk-LJMGHFLZ.js} +152 -3
  12. package/dist/chunk-LJMGHFLZ.js.map +1 -0
  13. package/dist/{chunk-5WF7PAH2.js → chunk-OSPM4Q5V.js} +3 -3
  14. package/dist/{chunk-QMA3DB5L.js → chunk-QHISF6O6.js} +3 -3
  15. package/dist/{chunk-LC4E2EIZ.js → chunk-RFRWS5CD.js} +2 -2
  16. package/dist/{dist-UWUTNRCK.js → dist-2N3XHMBQ.js} +6 -6
  17. package/dist/{dist-FWB3MIQ5.js → dist-3M53BF4E.js} +39 -58
  18. package/dist/dist-3M53BF4E.js.map +1 -0
  19. package/dist/{dist-TK3STVUP.js → dist-FGXCG4JY.js} +6 -6
  20. package/dist/{dist-T5MXBZGP.js → dist-HPPHBZTO.js} +2 -2
  21. package/dist/{dist-2JWYYJZR.js → dist-NOUPH5E6.js} +4 -4
  22. package/dist/{dist-3NFY6M53.js → dist-TRKHS6I7.js} +6 -6
  23. package/dist/{dist-72EYR5DW.js → dist-VFPT5TDH.js} +6 -6
  24. package/dist/index.js +22 -18
  25. package/dist/index.js.map +1 -1
  26. package/dist/{prepared-state-BUO75YLZ-RQRFFBJW.js → prepared-state-BUO75YLZ-46W2PAHH.js} +2 -2
  27. package/package.json +5 -5
  28. package/runtime/_shared/ctl.cjs +8 -0
  29. package/runtime/digitalocean/ctl.cjs +8 -0
  30. package/runtime/docker/packages/ctl/dist/bin.cjs +8 -0
  31. package/runtime/e2b/ctl.cjs +8 -0
  32. package/runtime/hetzner/ctl.cjs +8 -0
  33. package/runtime/hub/apps/hub/.next/BUILD_ID +1 -1
  34. package/runtime/hub/apps/hub/.next/build-manifest.json +3 -3
  35. package/runtime/hub/apps/hub/.next/server/app/(dashboard)/settings/page_client-reference-manifest.js +1 -1
  36. package/runtime/hub/apps/hub/.next/server/app/_global-error.html +1 -1
  37. package/runtime/hub/apps/hub/.next/server/app/_global-error.rsc +1 -1
  38. package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  39. package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  40. package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  41. package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  42. package/runtime/hub/apps/hub/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  43. package/runtime/hub/apps/hub/.next/server/chunks/[root-of-the-server]__0d1lmiq._.js +1 -1
  44. package/runtime/hub/apps/hub/.next/server/chunks/_0760z6y._.js +1 -1
  45. package/runtime/hub/apps/hub/.next/server/chunks/ssr/_0ro6vh6._.js +1 -1
  46. package/runtime/hub/apps/hub/.next/server/chunks/ssr/apps_hub_0b_hsjl._.js +1 -1
  47. package/runtime/hub/apps/hub/.next/server/middleware-build-manifest.js +3 -3
  48. package/runtime/hub/apps/hub/.next/server/pages/500.html +1 -1
  49. package/runtime/hub/apps/hub/.next/static/chunks/1z4elhg8gyq98.js +1 -0
  50. package/runtime/hub/apps/hub/{auth-Q447765C.js → auth-HY5K55Y5.js} +2 -2
  51. package/runtime/hub/apps/hub/{auth-config-SIL635ZD.js → auth-config-MNW2XGKK.js} +2 -2
  52. package/runtime/hub/apps/hub/{chunk-OJAHNFNV.js → chunk-5KMJIVZC.js} +6 -3
  53. package/runtime/hub/apps/hub/{chunk-IRIK4DQF.js → chunk-DNR2YM2G.js} +2 -2
  54. package/runtime/hub/apps/hub/{chunk-3VE7AYVK.js → chunk-EY6HEDTK.js} +4 -4
  55. package/runtime/hub/apps/hub/{chunk-DZPQB2JZ.js → chunk-PROXBLRJ.js} +1 -1
  56. package/runtime/hub/apps/hub/{chunk-64WEKO34.js → chunk-TRUQCO4U.js} +8 -0
  57. package/runtime/hub/apps/hub/{dist-PWBKGUDG.js → dist-3DCKZYID.js} +4 -4
  58. package/runtime/hub/apps/hub/{dist-6AEQJL7W.js → dist-KV5ESR24.js} +4 -4
  59. package/runtime/hub/apps/hub/{dist-PRUR2E5L.js → dist-M73U3ZDH.js} +4 -4
  60. package/runtime/hub/apps/hub/{dist-GF5EBRNG.js → dist-NTKPAYA3.js} +1 -1
  61. package/runtime/hub/apps/hub/{dist-7GTRUGLC.js → dist-RSWTJWRN.js} +3 -3
  62. package/runtime/hub/apps/hub/{dist-HHHK5LRX.js → dist-SX2NXGI6.js} +177 -57
  63. package/runtime/hub/apps/hub/{dist-DLPVQMKD.js → dist-YCRESLWD.js} +4 -4
  64. package/runtime/hub/apps/hub/{hub-token-UITZEWVP.js → hub-token-QKQWV2I6.js} +2 -2
  65. package/runtime/hub/apps/hub/{prepared-state-BUO75YLZ-O4GZMDRF.js → prepared-state-BUO75YLZ-KR4YLKDC.js} +1 -1
  66. package/runtime/hub/apps/hub/server.js +15 -15
  67. package/runtime/relay/bin.cjs +8 -0
  68. package/runtime/vercel/ctl.cjs +8 -0
  69. package/dist/chunk-SS6ZEKLL.js.map +0 -1
  70. package/dist/chunk-UIRBYL4G.js.map +0 -1
  71. package/dist/chunk-WLHJZPFJ.js.map +0 -1
  72. package/dist/dist-FWB3MIQ5.js.map +0 -1
  73. package/runtime/hub/apps/hub/.next/static/chunks/380qcmusmigzz.js +0 -1
  74. /package/dist/{_cloud-attach-D5OC7DCC.js.map → _cloud-attach-ESCPOKG5.js.map} +0 -0
  75. /package/dist/{chunk-DEDTPG2D.js.map → chunk-3MDYQROX.js.map} +0 -0
  76. /package/dist/{chunk-3253DDXI.js.map → chunk-5JDOTQTM.js.map} +0 -0
  77. /package/dist/{chunk-5KHEH47T.js.map → chunk-7DPDUZ7L.js.map} +0 -0
  78. /package/dist/{chunk-24PXPJI3.js.map → chunk-CE3S7UDQ.js.map} +0 -0
  79. /package/dist/{chunk-5WF7PAH2.js.map → chunk-OSPM4Q5V.js.map} +0 -0
  80. /package/dist/{chunk-QMA3DB5L.js.map → chunk-QHISF6O6.js.map} +0 -0
  81. /package/dist/{chunk-LC4E2EIZ.js.map → chunk-RFRWS5CD.js.map} +0 -0
  82. /package/dist/{dist-UWUTNRCK.js.map → dist-2N3XHMBQ.js.map} +0 -0
  83. /package/dist/{dist-TK3STVUP.js.map → dist-FGXCG4JY.js.map} +0 -0
  84. /package/dist/{dist-2JWYYJZR.js.map → dist-HPPHBZTO.js.map} +0 -0
  85. /package/dist/{dist-3NFY6M53.js.map → dist-NOUPH5E6.js.map} +0 -0
  86. /package/dist/{dist-72EYR5DW.js.map → dist-TRKHS6I7.js.map} +0 -0
  87. /package/dist/{dist-T5MXBZGP.js.map → dist-VFPT5TDH.js.map} +0 -0
  88. /package/dist/{prepared-state-BUO75YLZ-RQRFFBJW.js.map → prepared-state-BUO75YLZ-46W2PAHH.js.map} +0 -0
  89. /package/runtime/hub/apps/hub/.next/static/{4CStLAgdl_oxCRh8votRw → bwxNg9k-GQFyi2ouG8Aeh}/_buildManifest.js +0 -0
  90. /package/runtime/hub/apps/hub/.next/static/{4CStLAgdl_oxCRh8votRw → bwxNg9k-GQFyi2ouG8Aeh}/_clientMiddlewareManifest.js +0 -0
  91. /package/runtime/hub/apps/hub/.next/static/{4CStLAgdl_oxCRh8votRw → bwxNg9k-GQFyi2ouG8Aeh}/_ssgManifest.js +0 -0
package/CHANGELOG.md CHANGED
@@ -9,6 +9,17 @@ Entries are generated from the commit history with `/release-notes` and then
9
9
  hand-reviewed — they describe what changed for someone using the `agentbox`
10
10
  CLI, not the raw commits.
11
11
 
12
+ ## [0.24.4] - 2026-07-12
13
+
14
+ ### Added
15
+
16
+ - **DigitalOcean Projects** — `box.digitaloceanProject` (a project name or UUID)
17
+ places boxes in a specific DigitalOcean Project instead of the account's default;
18
+ pick it at `agentbox digitalocean login`, in the hub/app settings, or per repo in
19
+ `agentbox.yaml`. Unset keeps the old behavior.
20
+ - (Provider plugins) `@madarco/agentbox-provider-sdk` 2.2.0: `CloudProvisionRequest`
21
+ gains an optional `project` field. Additive; must be republished separately.
22
+
12
23
  ## [0.24.3] - 2026-07-12
13
24
 
14
25
  ### Fixed
@@ -4,10 +4,10 @@ import {
4
4
  cloudAgentAttach,
5
5
  cloudAgentStartDetached,
6
6
  verifyDetachedSession
7
- } from "./chunk-24PXPJI3.js";
8
- import "./chunk-5WF7PAH2.js";
9
- import "./chunk-UIRBYL4G.js";
10
- import "./chunk-DEDTPG2D.js";
7
+ } from "./chunk-CE3S7UDQ.js";
8
+ import "./chunk-OSPM4Q5V.js";
9
+ import "./chunk-H6A4BQMG.js";
10
+ import "./chunk-3MDYQROX.js";
11
11
  import "./chunk-G3H2L3O2.js";
12
12
  import "./chunk-WJFZJZIM.js";
13
13
  export {
@@ -16,4 +16,4 @@ export {
16
16
  cloudAgentStartDetached,
17
17
  verifyDetachedSession
18
18
  };
19
- //# sourceMappingURL=_cloud-attach-D5OC7DCC.js.map
19
+ //# sourceMappingURL=_cloud-attach-ESCPOKG5.js.map
@@ -3238,7 +3238,7 @@ import { dirname as dirname11, resolve as resolve3 } from "path";
3238
3238
  var DEFAULT_BOX_IMAGE = "agentbox/box:dev";
3239
3239
  async function resolveClaudeInstallMode() {
3240
3240
  try {
3241
- const { loadEffectiveConfig } = await import("./dist-T5MXBZGP.js");
3241
+ const { loadEffectiveConfig } = await import("./dist-HPPHBZTO.js");
3242
3242
  const cfg = await loadEffectiveConfig(process.cwd());
3243
3243
  return cfg.effective.box.claudeInstall;
3244
3244
  } catch {
@@ -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-BUO75YLZ-RQRFFBJW.js");
3355
+ const { writePreparedDockerState: writePreparedDockerState2 } = await import("./prepared-state-BUO75YLZ-46W2PAHH.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-BUO75YLZ-RQRFFBJW.js");
3382
+ const { computeDockerContextFingerprint: computeDockerContextFingerprint2, readPreparedDockerState: readPreparedDockerState2, preparedMatches: preparedMatches2 } = await import("./prepared-state-BUO75YLZ-46W2PAHH.js");
3383
3383
  const claudeInstall = opts.claudeInstall ?? await resolveClaudeInstallMode();
3384
3384
  const rawFingerprint = await computeDockerContextFingerprint2({
3385
3385
  contextDir: opts.contextDir
@@ -3429,7 +3429,7 @@ function classifyDockerBaseFreshness(input) {
3429
3429
  return { state: "fresh" };
3430
3430
  }
3431
3431
  async function evaluateDockerBaseFreshness(opts = {}) {
3432
- const { computeDockerContextFingerprint: computeDockerContextFingerprint2, readPreparedDockerState: readPreparedDockerState2 } = await import("./prepared-state-BUO75YLZ-RQRFFBJW.js");
3432
+ const { computeDockerContextFingerprint: computeDockerContextFingerprint2, readPreparedDockerState: readPreparedDockerState2 } = await import("./prepared-state-BUO75YLZ-46W2PAHH.js");
3433
3433
  const ref = opts.ref ?? DEFAULT_BOX_IMAGE;
3434
3434
  const imagePresent = await imageExists(ref);
3435
3435
  if (!imagePresent) return { state: "unprepared" };
@@ -3650,4 +3650,4 @@ export {
3650
3650
  writePreparedDockerState,
3651
3651
  preparedMatches
3652
3652
  };
3653
- //# sourceMappingURL=chunk-DEDTPG2D.js.map
3653
+ //# sourceMappingURL=chunk-3MDYQROX.js.map
@@ -22,13 +22,13 @@ import {
22
22
  readBoxStatus,
23
23
  registerBoxWithRelay,
24
24
  syncClaudeCredentials
25
- } from "./chunk-5WF7PAH2.js";
25
+ } from "./chunk-OSPM4Q5V.js";
26
26
  import {
27
27
  hashProjectPath,
28
28
  loadEffectiveConfig,
29
29
  projectDirSegment,
30
30
  sanitizeMnemonic
31
- } from "./chunk-UIRBYL4G.js";
31
+ } from "./chunk-H6A4BQMG.js";
32
32
  import {
33
33
  AGENT_SYNC_SPECS,
34
34
  BOX_DYNAMIC_SYNC_MANIFEST,
@@ -76,7 +76,7 @@ import {
76
76
  stageOpencodeStateForUpload,
77
77
  stageOpencodeStaticForUpload,
78
78
  writeCredentialBackup
79
- } from "./chunk-DEDTPG2D.js";
79
+ } from "./chunk-3MDYQROX.js";
80
80
 
81
81
  // ../../packages/sandbox-cloud/dist/index.js
82
82
  import { basename as basename2, resolve } from "path";
@@ -2280,6 +2280,8 @@ function createCloudProvider(backend, opts = {}) {
2280
2280
  const location = typeof locationOpt === "string" && locationOpt.trim() !== "" ? locationOpt.trim() : void 0;
2281
2281
  const inboundOpt = req.providerOptions?.["inbound"];
2282
2282
  const inbound = typeof inboundOpt === "string" && inboundOpt.trim() !== "" ? inboundOpt.trim() : void 0;
2283
+ const projectOpt = req.providerOptions?.["project"];
2284
+ const project = typeof projectOpt === "string" && projectOpt.trim() !== "" ? projectOpt.trim() : void 0;
2283
2285
  const relayToken = generateRelayToken();
2284
2286
  const bridgeToken = generateRelayToken();
2285
2287
  try {
@@ -2335,6 +2337,7 @@ function createCloudProvider(backend, opts = {}) {
2335
2337
  resources,
2336
2338
  size,
2337
2339
  location,
2340
+ project,
2338
2341
  inbound,
2339
2342
  timeoutMs,
2340
2343
  exposePorts: exposeServicePorts,
@@ -3072,4 +3075,4 @@ export {
3072
3075
  renderInnerCommand,
3073
3076
  openWebAppOnVncScreen
3074
3077
  };
3075
- //# sourceMappingURL=chunk-SS6ZEKLL.js.map
3078
+ //# sourceMappingURL=chunk-4HPLS5HJ.js.map