@alva-ai/toolkit 0.18.0 → 0.19.0
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.
- package/dist/browser.global.js +2 -2
- package/dist/browser.global.js.map +1 -1
- package/dist/cli.d.ts +12 -0
- package/dist/cli.js +17 -1
- package/dist/cli.js.map +1 -1
- package/dist/index.cjs +2 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +12 -0
- package/dist/index.d.ts +12 -0
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -199,6 +199,11 @@ interface CronjobCreateRequest {
|
|
|
199
199
|
push_notify?: boolean;
|
|
200
200
|
/** Override per-cronjob V8 heap limit (MB). Valid range 1–2046. */
|
|
201
201
|
max_heap_size_mb?: number;
|
|
202
|
+
/**
|
|
203
|
+
* Maximum wall-clock execution time in seconds. Valid range 1–3600.
|
|
204
|
+
* Omitted means the server uses its default (1800 seconds).
|
|
205
|
+
*/
|
|
206
|
+
execution_timeout_seconds?: number;
|
|
202
207
|
/**
|
|
203
208
|
* Run the cronjob under a restricted service-account identity (an SA id
|
|
204
209
|
* owned by the caller) instead of the owner (#602). Omitted ⇒ runs as owner.
|
|
@@ -224,6 +229,8 @@ interface Cronjob {
|
|
|
224
229
|
push_notify: boolean;
|
|
225
230
|
/** Per-cronjob V8 heap cap (MB). null when using the server default. */
|
|
226
231
|
max_heap_size_mb: number | null;
|
|
232
|
+
/** Effective wall-clock execution timeout in seconds. */
|
|
233
|
+
execution_timeout_seconds: number;
|
|
227
234
|
/**
|
|
228
235
|
* SA id the cronjob runs as, or "0" when it runs as the owner (#602).
|
|
229
236
|
* A string: snowflake int64 ids overflow JS number precision.
|
|
@@ -259,6 +266,11 @@ interface CronjobUpdateRequest {
|
|
|
259
266
|
push_notify?: boolean;
|
|
260
267
|
/** Override per-cronjob V8 heap limit (MB). Valid range 1–2046. */
|
|
261
268
|
max_heap_size_mb?: number;
|
|
269
|
+
/**
|
|
270
|
+
* Maximum wall-clock execution time in seconds. Valid range 1–3600.
|
|
271
|
+
* Omitted means the existing value is preserved.
|
|
272
|
+
*/
|
|
273
|
+
execution_timeout_seconds?: number;
|
|
262
274
|
/**
|
|
263
275
|
* Re-point the cronjob at a service-account identity, or "0" to clear it back
|
|
264
276
|
* to the owner (#602). Omitted ⇒ run_as unchanged.
|
package/dist/index.d.ts
CHANGED
|
@@ -199,6 +199,11 @@ interface CronjobCreateRequest {
|
|
|
199
199
|
push_notify?: boolean;
|
|
200
200
|
/** Override per-cronjob V8 heap limit (MB). Valid range 1–2046. */
|
|
201
201
|
max_heap_size_mb?: number;
|
|
202
|
+
/**
|
|
203
|
+
* Maximum wall-clock execution time in seconds. Valid range 1–3600.
|
|
204
|
+
* Omitted means the server uses its default (1800 seconds).
|
|
205
|
+
*/
|
|
206
|
+
execution_timeout_seconds?: number;
|
|
202
207
|
/**
|
|
203
208
|
* Run the cronjob under a restricted service-account identity (an SA id
|
|
204
209
|
* owned by the caller) instead of the owner (#602). Omitted ⇒ runs as owner.
|
|
@@ -224,6 +229,8 @@ interface Cronjob {
|
|
|
224
229
|
push_notify: boolean;
|
|
225
230
|
/** Per-cronjob V8 heap cap (MB). null when using the server default. */
|
|
226
231
|
max_heap_size_mb: number | null;
|
|
232
|
+
/** Effective wall-clock execution timeout in seconds. */
|
|
233
|
+
execution_timeout_seconds: number;
|
|
227
234
|
/**
|
|
228
235
|
* SA id the cronjob runs as, or "0" when it runs as the owner (#602).
|
|
229
236
|
* A string: snowflake int64 ids overflow JS number precision.
|
|
@@ -259,6 +266,11 @@ interface CronjobUpdateRequest {
|
|
|
259
266
|
push_notify?: boolean;
|
|
260
267
|
/** Override per-cronjob V8 heap limit (MB). Valid range 1–2046. */
|
|
261
268
|
max_heap_size_mb?: number;
|
|
269
|
+
/**
|
|
270
|
+
* Maximum wall-clock execution time in seconds. Valid range 1–3600.
|
|
271
|
+
* Omitted means the existing value is preserved.
|
|
272
|
+
*/
|
|
273
|
+
execution_timeout_seconds?: number;
|
|
262
274
|
/**
|
|
263
275
|
* Re-point the cronjob at a service-account identity, or "0" to clear it back
|
|
264
276
|
* to the owner (#602). Omitted ⇒ run_as unchanged.
|
package/dist/index.js
CHANGED
|
@@ -222,6 +222,7 @@ var DeployResource = class {
|
|
|
222
222
|
args: params.args,
|
|
223
223
|
push_notify: params.push_notify,
|
|
224
224
|
max_heap_size_mb: params.max_heap_size_mb,
|
|
225
|
+
execution_timeout_seconds: params.execution_timeout_seconds,
|
|
225
226
|
run_as_user_id: params.run_as_user_id,
|
|
226
227
|
start_at: params.start_at,
|
|
227
228
|
end_at: params.end_at,
|
|
@@ -3713,7 +3714,7 @@ var installPlaybookRuntime = (targetWindow) => {
|
|
|
3713
3714
|
};
|
|
3714
3715
|
|
|
3715
3716
|
// src/index.ts
|
|
3716
|
-
var VERSION = true ? "0.
|
|
3717
|
+
var VERSION = true ? "0.19.0" : "dev";
|
|
3717
3718
|
export {
|
|
3718
3719
|
AlertsResource,
|
|
3719
3720
|
AlvaClient,
|