@blaxel/core 0.3.22-preview.295 → 0.3.22-preview.296

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.
@@ -24,8 +24,8 @@ function missingCredentialsMessage() {
24
24
  return "No Blaxel credentials found. Set the BL_API_KEY and BL_WORKSPACE environment variables, or run `bl login`.";
25
25
  }
26
26
  // Build info - these placeholders are replaced at build time by build:replace-imports
27
- const BUILD_VERSION = "0.3.22-preview.295";
28
- const BUILD_COMMIT = "b3a3c720b8b461f985e37dbe11ff2219dcb53454";
27
+ const BUILD_VERSION = "0.3.22-preview.296";
28
+ const BUILD_COMMIT = "a65a57ef50380a21d37481404d9c834cbcb624b5";
29
29
  const BUILD_SENTRY_DSN = "https://fd5e60e1c9820e1eef5ccebb84a07127@o4508714045276160.ingest.us.sentry.io/4510465864564736";
30
30
  const BLAXEL_API_VERSION = "2026-04-28";
31
31
  // Bun < 1.3.11 never sends connection-level WINDOW_UPDATE: the pooled h2
@@ -217,8 +217,15 @@ export class SandboxInstance {
217
217
  /**
218
218
  * Fork this sandbox into a new sandbox or application.
219
219
  *
220
- * Pass `snapshotId` to fork from a specific snapshot (create a sandbox from a
221
- * snapshot) instead of the sandbox's live state.
220
+ * Forking into a sandbox copies the source sandbox's live state straight into
221
+ * the fork: no snapshot is taken, persisted, or left behind, and the returned
222
+ * `snapshotId` is empty.
223
+ *
224
+ * Pass `snapshotId` to fork from an existing snapshot instead of the source's
225
+ * live state (create a sandbox from a snapshot). Forking into an application
226
+ * (`targetType: "application"`) still goes through a snapshot, which is
227
+ * recorded because the application revision references it. In both of those
228
+ * cases the response carries the snapshot the fork came from.
222
229
  *
223
230
  * @param targetName - Name of the sandbox/application to create.
224
231
  * @param options - Fork options (target type, port, traffic, snapshot, ...).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blaxel/core",
3
- "version": "0.3.22-preview.295",
3
+ "version": "0.3.22-preview.296",
4
4
  "description": "Blaxel Core SDK for TypeScript",
5
5
  "license": "MIT",
6
6
  "author": "Blaxel, INC (https://blaxel.ai)",