@blaxel/core 0.2.56-dev.23 → 0.2.56-preview.28

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 (31) hide show
  1. package/dist/cjs/.tsbuildinfo +1 -1
  2. package/dist/cjs/client/sdk.gen.js +36 -2
  3. package/dist/cjs/common/settings.js +3 -3
  4. package/dist/cjs/types/client/sdk.gen.d.ts +11 -1
  5. package/dist/cjs/types/client/types.gen.d.ts +48 -0
  6. package/dist/cjs/types/sandbox/client/sdk.gen.d.ts +3 -3
  7. package/dist/cjs-browser/.tsbuildinfo +1 -1
  8. package/dist/cjs-browser/client/sdk.gen.js +36 -2
  9. package/dist/cjs-browser/common/settings.js +3 -3
  10. package/dist/cjs-browser/types/client/sdk.gen.d.ts +11 -1
  11. package/dist/cjs-browser/types/client/types.gen.d.ts +48 -0
  12. package/dist/cjs-browser/types/sandbox/client/sdk.gen.d.ts +3 -3
  13. package/dist/esm/.tsbuildinfo +1 -1
  14. package/dist/esm/client/sdk.gen.js +32 -0
  15. package/dist/esm/common/settings.js +3 -3
  16. package/dist/esm-browser/.tsbuildinfo +1 -1
  17. package/dist/esm-browser/client/sdk.gen.js +32 -0
  18. package/dist/esm-browser/common/settings.js +3 -3
  19. package/package.json +1 -2
  20. package/dist/cjs/common/sentry-browser.js +0 -27
  21. package/dist/cjs/common/version.js +0 -6
  22. package/dist/cjs/types/common/sentry-browser.d.ts +0 -12
  23. package/dist/cjs/types/common/version.d.ts +0 -2
  24. package/dist/cjs-browser/common/sentry-browser.js +0 -27
  25. package/dist/cjs-browser/common/version.js +0 -6
  26. package/dist/cjs-browser/types/common/sentry-browser.d.ts +0 -12
  27. package/dist/cjs-browser/types/common/version.d.ts +0 -2
  28. package/dist/esm/common/sentry-browser.js +0 -22
  29. package/dist/esm/common/version.js +0 -3
  30. package/dist/esm-browser/common/sentry-browser.js +0 -22
  31. package/dist/esm-browser/common/version.js +0 -3
@@ -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,9 +3,9 @@ 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.23";
7
- const BUILD_COMMIT = "d54548dc9e764e57728f9eda7721d5e50f11573a";
8
- const BUILD_SENTRY_DSN = "";
6
+ const BUILD_VERSION = "0.2.56-preview.28";
7
+ const BUILD_COMMIT = "d332a51ef561175a3dbf3d07dd2a79c5185679a4";
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;
11
11
  let configTrackingLoaded = false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blaxel/core",
3
- "version": "0.2.56-dev.23",
3
+ "version": "0.2.56-preview.28",
4
4
  "description": "Blaxel Core SDK for TypeScript",
5
5
  "license": "MIT",
6
6
  "author": "Blaxel, INC (https://blaxel.ai)",
@@ -53,7 +53,6 @@
53
53
  "dependencies": {
54
54
  "@hey-api/client-fetch": "^0.10.0",
55
55
  "@modelcontextprotocol/sdk": "^1.20.0",
56
- "@sentry/node": "^10.27.0",
57
56
  "axios": "^1.9.0",
58
57
  "dotenv": "^16.5.0",
59
58
  "form-data": "^4.0.2",
@@ -1,27 +0,0 @@
1
- "use strict";
2
- /* eslint-disable */
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.initSentry = initSentry;
5
- exports.flushSentry = flushSentry;
6
- exports.isSentryInitialized = isSentryInitialized;
7
- // Browser/Edge-compatible exports for Sentry
8
- // In browser/edge environments, @sentry/node is not available
9
- // All functions are no-ops
10
- /**
11
- * Initialize Sentry - no-op in browser/edge environments.
12
- */
13
- function initSentry() {
14
- // No-op in browser/edge environments
15
- }
16
- /**
17
- * Flush pending Sentry events - no-op in browser/edge environments.
18
- */
19
- async function flushSentry(_timeout = 2000) {
20
- // No-op in browser/edge environments
21
- }
22
- /**
23
- * Check if Sentry is initialized - always returns false in browser/edge environments.
24
- */
25
- function isSentryInitialized() {
26
- return false;
27
- }
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PACKAGE_COMMIT = exports.PACKAGE_VERSION = void 0;
4
- // This file is auto-generated during build. Do not edit manually.
5
- exports.PACKAGE_VERSION = "0.2.50";
6
- exports.PACKAGE_COMMIT = "4a74989dcb65a6ff8d826aed7976436c64554f6a";
@@ -1,12 +0,0 @@
1
- /**
2
- * Initialize Sentry - no-op in browser/edge environments.
3
- */
4
- export declare function initSentry(): void;
5
- /**
6
- * Flush pending Sentry events - no-op in browser/edge environments.
7
- */
8
- export declare function flushSentry(_timeout?: number): Promise<void>;
9
- /**
10
- * Check if Sentry is initialized - always returns false in browser/edge environments.
11
- */
12
- export declare function isSentryInitialized(): boolean;
@@ -1,2 +0,0 @@
1
- export declare const PACKAGE_VERSION = "0.2.50";
2
- export declare const PACKAGE_COMMIT = "4a74989dcb65a6ff8d826aed7976436c64554f6a";
@@ -1,27 +0,0 @@
1
- "use strict";
2
- /* eslint-disable */
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.initSentry = initSentry;
5
- exports.flushSentry = flushSentry;
6
- exports.isSentryInitialized = isSentryInitialized;
7
- // Browser/Edge-compatible exports for Sentry
8
- // In browser/edge environments, @sentry/node is not available
9
- // All functions are no-ops
10
- /**
11
- * Initialize Sentry - no-op in browser/edge environments.
12
- */
13
- function initSentry() {
14
- // No-op in browser/edge environments
15
- }
16
- /**
17
- * Flush pending Sentry events - no-op in browser/edge environments.
18
- */
19
- async function flushSentry(_timeout = 2000) {
20
- // No-op in browser/edge environments
21
- }
22
- /**
23
- * Check if Sentry is initialized - always returns false in browser/edge environments.
24
- */
25
- function isSentryInitialized() {
26
- return false;
27
- }
@@ -1,6 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PACKAGE_COMMIT = exports.PACKAGE_VERSION = void 0;
4
- // This file is auto-generated during build. Do not edit manually.
5
- exports.PACKAGE_VERSION = "0.2.50";
6
- exports.PACKAGE_COMMIT = "4a74989dcb65a6ff8d826aed7976436c64554f6a";
@@ -1,12 +0,0 @@
1
- /**
2
- * Initialize Sentry - no-op in browser/edge environments.
3
- */
4
- export declare function initSentry(): void;
5
- /**
6
- * Flush pending Sentry events - no-op in browser/edge environments.
7
- */
8
- export declare function flushSentry(_timeout?: number): Promise<void>;
9
- /**
10
- * Check if Sentry is initialized - always returns false in browser/edge environments.
11
- */
12
- export declare function isSentryInitialized(): boolean;
@@ -1,2 +0,0 @@
1
- export declare const PACKAGE_VERSION = "0.2.50";
2
- export declare const PACKAGE_COMMIT = "4a74989dcb65a6ff8d826aed7976436c64554f6a";
@@ -1,22 +0,0 @@
1
- /* eslint-disable */
2
- // Browser/Edge-compatible exports for Sentry
3
- // In browser/edge environments, @sentry/node is not available
4
- // All functions are no-ops
5
- /**
6
- * Initialize Sentry - no-op in browser/edge environments.
7
- */
8
- export function initSentry() {
9
- // No-op in browser/edge environments
10
- }
11
- /**
12
- * Flush pending Sentry events - no-op in browser/edge environments.
13
- */
14
- export async function flushSentry(_timeout = 2000) {
15
- // No-op in browser/edge environments
16
- }
17
- /**
18
- * Check if Sentry is initialized - always returns false in browser/edge environments.
19
- */
20
- export function isSentryInitialized() {
21
- return false;
22
- }
@@ -1,3 +0,0 @@
1
- // This file is auto-generated during build. Do not edit manually.
2
- export const PACKAGE_VERSION = "0.2.50";
3
- export const PACKAGE_COMMIT = "4a74989dcb65a6ff8d826aed7976436c64554f6a";
@@ -1,22 +0,0 @@
1
- /* eslint-disable */
2
- // Browser/Edge-compatible exports for Sentry
3
- // In browser/edge environments, @sentry/node is not available
4
- // All functions are no-ops
5
- /**
6
- * Initialize Sentry - no-op in browser/edge environments.
7
- */
8
- export function initSentry() {
9
- // No-op in browser/edge environments
10
- }
11
- /**
12
- * Flush pending Sentry events - no-op in browser/edge environments.
13
- */
14
- export async function flushSentry(_timeout = 2000) {
15
- // No-op in browser/edge environments
16
- }
17
- /**
18
- * Check if Sentry is initialized - always returns false in browser/edge environments.
19
- */
20
- export function isSentryInitialized() {
21
- return false;
22
- }
@@ -1,3 +0,0 @@
1
- // This file is auto-generated during build. Do not edit manually.
2
- export const PACKAGE_VERSION = "0.2.50";
3
- export const PACKAGE_COMMIT = "4a74989dcb65a6ff8d826aed7976436c64554f6a";