@blaxel/core 0.2.62 → 0.2.63-dev.68

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.
@@ -9,8 +9,8 @@ const index_js_1 = require("../authentication/index.js");
9
9
  const env_js_1 = require("../common/env.js");
10
10
  const node_js_1 = require("../common/node.js");
11
11
  // Build info - these placeholders are replaced at build time by build:replace-imports
12
- const BUILD_VERSION = "0.2.62";
13
- const BUILD_COMMIT = "2658def5b7af94a41f1c1c03f3776f2c20ed5187";
12
+ const BUILD_VERSION = "0.2.63-dev.68";
13
+ const BUILD_COMMIT = "f1f44f77869fa950066eca1e644a8576434a9225";
14
14
  const BUILD_SENTRY_DSN = "https://fd5e60e1c9820e1eef5ccebb84a07127@o4508714045276160.ingest.us.sentry.io/4510465864564736";
15
15
  // Cache for config.yaml tracking value
16
16
  let configTrackingValue = null;
@@ -123,9 +123,16 @@ export type ProcessRequest = {
123
123
  env?: {
124
124
  [key: string]: string;
125
125
  };
126
+ /**
127
+ * Disable scale-to-zero while process runs. Default timeout is 600s (10 minutes). Set timeout to 0 for infinite.
128
+ */
129
+ keepAlive?: boolean;
126
130
  maxRestarts?: number;
127
131
  name?: string;
128
132
  restartOnFailure?: boolean;
133
+ /**
134
+ * Timeout in seconds. When keepAlive is true, defaults to 600s (10 minutes). Set to 0 for infinite (no auto-kill).
135
+ */
129
136
  timeout?: number;
130
137
  waitForCompletion?: boolean;
131
138
  waitForPorts?: Array<number>;
@@ -135,6 +142,10 @@ export type ProcessResponse = {
135
142
  command: string;
136
143
  completedAt: string;
137
144
  exitCode: number;
145
+ /**
146
+ * Whether scale-to-zero is disabled for this process
147
+ */
148
+ keepAlive?: boolean;
138
149
  logs: string;
139
150
  maxRestarts?: number;
140
151
  name: string;