@blaxel/core 0.2.88 → 0.2.89

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.
@@ -22,8 +22,8 @@ function missingCredentialsMessage() {
22
22
  return "No Blaxel credentials found. Set the BL_API_KEY and BL_WORKSPACE environment variables, or run `bl login`.";
23
23
  }
24
24
  // Build info - these placeholders are replaced at build time by build:replace-imports
25
- const BUILD_VERSION = "0.2.88";
26
- const BUILD_COMMIT = "3d4dcbfdf0ac479adef35da9cd8523954af3e7f7";
25
+ const BUILD_VERSION = "0.2.89";
26
+ const BUILD_COMMIT = "c481e2f6670b3cef6832875dbc9f2bc6b0b198f4";
27
27
  const BUILD_SENTRY_DSN = "https://fd5e60e1c9820e1eef5ccebb84a07127@o4508714045276160.ingest.us.sentry.io/4510465864564736";
28
28
  const BLAXEL_API_VERSION = "2026-04-16";
29
29
  // Cache for config.yaml tracking value
@@ -270,6 +270,32 @@ class Settings {
270
270
  }
271
271
  return 2;
272
272
  }
273
+ get h2StreamWindowSize() {
274
+ if (typeof this.config.h2StreamWindowSize === "number") {
275
+ return this.config.h2StreamWindowSize;
276
+ }
277
+ const value = env.BL_H2_STREAM_WINDOW;
278
+ if (value) {
279
+ const parsed = parseInt(value, 10);
280
+ if (!Number.isNaN(parsed) && parsed > 0) {
281
+ return parsed;
282
+ }
283
+ }
284
+ return 16 * 1024 * 1024;
285
+ }
286
+ get h2ConnectionWindowSize() {
287
+ if (typeof this.config.h2ConnectionWindowSize === "number") {
288
+ return this.config.h2ConnectionWindowSize;
289
+ }
290
+ const value = env.BL_H2_CONNECTION_WINDOW;
291
+ if (value) {
292
+ const parsed = parseInt(value, 10);
293
+ if (!Number.isNaN(parsed) && parsed > 0) {
294
+ return parsed;
295
+ }
296
+ }
297
+ return 32 * 1024 * 1024;
298
+ }
273
299
  get fsPartRetries() {
274
300
  if (typeof this.config.fsPartRetries === "number") {
275
301
  return this.config.fsPartRetries;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blaxel/core",
3
- "version": "0.2.88",
3
+ "version": "0.2.89",
4
4
  "description": "Blaxel Core SDK for TypeScript",
5
5
  "license": "MIT",
6
6
  "author": "Blaxel, INC (https://blaxel.ai)",