@blaxel/core 0.2.56-dev.27 → 0.2.56

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.
@@ -1206,6 +1206,38 @@ export const deleteSandboxPreviewToken = (options) => {
1206
1206
  ...options
1207
1207
  });
1208
1208
  };
1209
+ /**
1210
+ * Start Sandbox
1211
+ * Starts a Sandbox by name.
1212
+ */
1213
+ export const startSandbox = (options) => {
1214
+ return (options.client ?? _heyApiClient).put({
1215
+ security: [
1216
+ {
1217
+ scheme: 'bearer',
1218
+ type: 'http'
1219
+ }
1220
+ ],
1221
+ url: '/sandboxes/{sandboxName}/start',
1222
+ ...options
1223
+ });
1224
+ };
1225
+ /**
1226
+ * Stop Sandbox
1227
+ * Stops a Sandbox by name.
1228
+ */
1229
+ export const stopSandbox = (options) => {
1230
+ return (options.client ?? _heyApiClient).put({
1231
+ security: [
1232
+ {
1233
+ scheme: 'bearer',
1234
+ type: 'http'
1235
+ }
1236
+ ],
1237
+ url: '/sandboxes/{sandboxName}/stop',
1238
+ ...options
1239
+ });
1240
+ };
1209
1241
  /**
1210
1242
  * Get workspace service accounts
1211
1243
  * Returns a list of all service accounts in the workspace.
@@ -3,8 +3,8 @@ import { authentication } from "../authentication/index.js";
3
3
  import { env } from "../common/env.js";
4
4
  import { fs, os, path } from "../common/node.js";
5
5
  // Build info - these placeholders are replaced at build time by build:replace-imports
6
- const BUILD_VERSION = "0.2.56-dev.27";
7
- const BUILD_COMMIT = "4c80cbaef8d12707f5d0ad6c2f95a13b8005af29";
6
+ const BUILD_VERSION = "0.2.56";
7
+ const BUILD_COMMIT = "d332a51ef561175a3dbf3d07dd2a79c5185679a4";
8
8
  const BUILD_SENTRY_DSN = "https://fd5e60e1c9820e1eef5ccebb84a07127@o4508714045276160.ingest.us.sentry.io/4510465864564736";
9
9
  // Cache for config.yaml tracking value
10
10
  let configTrackingValue = null;