@boxes-dev/dvb-runtime 1.0.800 → 1.0.802

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/dist/bin/dvb.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  "use strict";
3
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="fe2b50b2-7087-52e2-a287-be4827a15373")}catch(e){}}();
3
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="af96325a-4057-53db-ae64-2b693b26556b")}catch(e){}}();
4
4
 
5
5
  var __create = Object.create;
6
6
  var __defProp = Object.defineProperty;
@@ -75471,8 +75471,8 @@ var init_otel = __esm({
75471
75471
  return trimmed && trimmed.length > 0 ? trimmed : void 0;
75472
75472
  };
75473
75473
  readBuildMetadata = () => {
75474
- const rawPackageVersion = "1.0.800";
75475
- const rawGitSha = "8493b92aa81d4bdb515e46773ddf237d6d6af1d7";
75474
+ const rawPackageVersion = "1.0.802";
75475
+ const rawGitSha = "676f747b7769c8df9d9e6ce1856cdc13d28fee9b";
75476
75476
  const packageVersion = typeof rawPackageVersion === "string" ? rawPackageVersion : void 0;
75477
75477
  const gitSha = typeof rawGitSha === "string" ? rawGitSha : void 0;
75478
75478
  return { packageVersion, gitSha };
@@ -107836,9 +107836,9 @@ var init_sentry = __esm({
107836
107836
  uncaughtExceptionMonitorInstalled = false;
107837
107837
  currentDevboxSentryUser = null;
107838
107838
  readBuildMetadata2 = () => {
107839
- const rawPackageVersion = "1.0.800";
107840
- const rawGitSha = "8493b92aa81d4bdb515e46773ddf237d6d6af1d7";
107841
- const rawSentryRelease = "boxes-dev-dvb@1.0.800+8493b92aa81d4bdb515e46773ddf237d6d6af1d7";
107839
+ const rawPackageVersion = "1.0.802";
107840
+ const rawGitSha = "676f747b7769c8df9d9e6ce1856cdc13d28fee9b";
107841
+ const rawSentryRelease = "boxes-dev-dvb@1.0.802+676f747b7769c8df9d9e6ce1856cdc13d28fee9b";
107842
107842
  const packageVersion = typeof rawPackageVersion === "string" ? rawPackageVersion : void 0;
107843
107843
  const gitSha = typeof rawGitSha === "string" ? rawGitSha : void 0;
107844
107844
  const sentryRelease = typeof rawSentryRelease === "string" ? rawSentryRelease : void 0;
@@ -115064,7 +115064,7 @@ var init_packageVersion = __esm({
115064
115064
  return import_node_path20.default.join(process.cwd(), "dvb");
115065
115065
  };
115066
115066
  readEmbeddedPackageVersion = () => {
115067
- const raw = "1.0.800";
115067
+ const raw = "1.0.802";
115068
115068
  return trimVersion(raw);
115069
115069
  };
115070
115070
  readNearestPackageMetadata = (basePath) => {
@@ -131056,8 +131056,7 @@ var init_controlPlane = __esm({
131056
131056
  };
131057
131057
  buildRecoveredManagedCheckpointResponse = ({
131058
131058
  baseline,
131059
- current,
131060
- comment
131059
+ current
131061
131060
  }) => {
131062
131061
  if (!baseline || !current) {
131063
131062
  return null;
@@ -131070,8 +131069,7 @@ var init_controlPlane = __esm({
131070
131069
  id: current.latestCheckpointId,
131071
131070
  checkpoint_id: current.latestCheckpointId,
131072
131071
  provider: current.provider,
131073
- provider_checkpoint_id: current.latestCheckpointId,
131074
- ...typeof comment === "string" ? { comment } : {}
131072
+ provider_checkpoint_id: current.latestCheckpointId
131075
131073
  }
131076
131074
  ];
131077
131075
  };
@@ -131106,7 +131104,6 @@ var init_controlPlane = __esm({
131106
131104
  recoverManagedCheckpointAfterDisconnect = async ({
131107
131105
  token,
131108
131106
  alias,
131109
- comment,
131110
131107
  baseline,
131111
131108
  maxAttempts = 12,
131112
131109
  pollMs = 1e3,
@@ -131128,8 +131125,7 @@ var init_controlPlane = __esm({
131128
131125
  const current = await readManagedCheckpointRecoveryState(token, alias);
131129
131126
  const recovered = buildRecoveredManagedCheckpointResponse({
131130
131127
  baseline,
131131
- current,
131132
- ...typeof comment === "string" ? { comment } : {}
131128
+ current
131133
131129
  });
131134
131130
  if (recovered) {
131135
131131
  logger2.warn("control_plane_checkpoint_recovered_after_disconnect", {
@@ -131305,7 +131301,7 @@ var init_controlPlane = __esm({
131305
131301
  trafficAccessToken
131306
131302
  };
131307
131303
  };
131308
- createManagedCheckpoint = async (token, alias, comment) => {
131304
+ createManagedCheckpoint = async (token, alias) => {
131309
131305
  const baseline = await readManagedCheckpointRecoveryState(token, alias).catch(
131310
131306
  (error3) => {
131311
131307
  logger2.warn("control_plane_checkpoint_recovery_baseline_failed", {
@@ -131318,8 +131314,7 @@ var init_controlPlane = __esm({
131318
131314
  try {
131319
131315
  return await withConvexClient(token, async (client) => {
131320
131316
  const response = await client.action(managedDevboxCreateCheckpoint, {
131321
- alias,
131322
- ...typeof comment === "string" ? { comment } : {}
131317
+ alias
131323
131318
  });
131324
131319
  return normalizeManagedCheckpointResponse(response);
131325
131320
  });
@@ -131330,8 +131325,7 @@ var init_controlPlane = __esm({
131330
131325
  const recovered = await recoverManagedCheckpointAfterDisconnect({
131331
131326
  token,
131332
131327
  alias,
131333
- baseline,
131334
- ...typeof comment === "string" ? { comment } : {}
131328
+ baseline
131335
131329
  });
131336
131330
  if (recovered) {
131337
131331
  return recovered;
@@ -138173,19 +138167,14 @@ var init_catalog = __esm({
138173
138167
  name: "checkpoint",
138174
138168
  category: "Devboxes",
138175
138169
  summary: "Capture a devbox checkpoint",
138176
- usage: ["dvb checkpoint [<box>] [--comment <text>] [--json]"],
138170
+ usage: ["dvb checkpoint [<box>] [--json]"],
138177
138171
  arguments: [
138178
138172
  arg("box", "Target devbox alias", {
138179
138173
  required: false,
138180
138174
  completion: "boxes"
138181
138175
  })
138182
138176
  ],
138183
- options: [
138184
- flag("comment", "Optional checkpoint note", {
138185
- valueName: "text"
138186
- }),
138187
- flag("json", "Output JSON")
138188
- ],
138177
+ options: [flag("json", "Output JSON")],
138189
138178
  notes: [
138190
138179
  "Currently supported for checkpoint-enabled devboxes only.",
138191
138180
  "Captures a fresh checkpoint and stores it as the latest recorded restore point for later `dvb fork` restores."
@@ -172354,13 +172343,9 @@ var init_e2bRuntime = __esm({
172354
172343
  bootstrapIdentityByAlias.set(alias, pending);
172355
172344
  await pending;
172356
172345
  };
172357
- const createCheckpoint = async (name, checkpointOptions) => {
172346
+ const createCheckpoint = async (name) => {
172358
172347
  const alias = requireAlias(name);
172359
- return await createManagedCheckpoint(
172360
- controlPlaneToken,
172361
- alias,
172362
- checkpointOptions?.comment
172363
- );
172348
+ return await createManagedCheckpoint(controlPlaneToken, alias);
172364
172349
  };
172365
172350
  const keepAlive = async (name, keepAliveOptions) => {
172366
172351
  const alias = requireAlias(name);
@@ -174878,17 +174863,14 @@ var init_checkpoint = __esm({
174878
174863
  args,
174879
174864
  commandPath: ["checkpoint"],
174880
174865
  flagLabel: "checkpoint",
174881
- boolean: ["json"],
174882
- string: ["comment"]
174866
+ boolean: ["json"]
174883
174867
  });
174884
174868
  if (positionals.length > 1) {
174885
174869
  throw usageError(["checkpoint"], `Unexpected argument: ${positionals[1]}`);
174886
174870
  }
174887
174871
  const target = positionals[0];
174888
- const comment = readStringFlag(flags, "comment")?.trim();
174889
174872
  return {
174890
174873
  ...target ? { target } : {},
174891
- ...comment ? { comment } : {},
174892
174874
  json: readBooleanFlag(flags, "json")
174893
174875
  };
174894
174876
  };
@@ -174948,8 +174930,7 @@ var init_checkpoint = __esm({
174948
174930
  status.stage(`Creating checkpoint for ${resolved.alias}`);
174949
174931
  const result = await createManagedCheckpoint(
174950
174932
  controlPlaneToken,
174951
- resolved.alias,
174952
- parsed.comment
174933
+ resolved.alias
174953
174934
  );
174954
174935
  const record = result[0];
174955
174936
  const checkpointId = record ? extractCheckpointId(record) : null;
@@ -174965,8 +174946,7 @@ var init_checkpoint = __esm({
174965
174946
  alias: resolved.alias,
174966
174947
  checkpointId,
174967
174948
  provider: record.provider ?? "e2b",
174968
- providerCheckpointId: record.provider_checkpoint_id?.trim() || checkpointId,
174969
- ...record.comment?.trim() ? { comment: record.comment.trim() } : {}
174949
+ providerCheckpointId: record.provider_checkpoint_id?.trim() || checkpointId
174970
174950
  },
174971
174951
  null,
174972
174952
  2
@@ -182889,7 +182869,7 @@ var init_managedCodex = __esm({
182889
182869
  import_node_path40 = __toESM(require("node:path"), 1);
182890
182870
  init_devboxCore();
182891
182871
  init_setupTooling();
182892
- MANAGED_CODEX_VERSION = "0.138.0";
182872
+ MANAGED_CODEX_VERSION = "0.144.0";
182893
182873
  MANAGED_CODEX_INSTALL_MANIFEST_DIR = "managed-codex-install";
182894
182874
  MANAGED_CODEX_INSTALL_MANIFEST_FILES = [
182895
182875
  "package.json",
@@ -209724,4 +209704,4 @@ platform/platform.js:
209724
209704
  */
209725
209705
  //# sourceMappingURL=dvb.cjs.map
209726
209706
 
209727
- //# debugId=fe2b50b2-7087-52e2-a287-be4827a15373
209707
+ //# debugId=af96325a-4057-53db-ae64-2b693b26556b