windmill-cli 1.791.0 → 1.792.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.
Files changed (2) hide show
  1. package/esm/main.js +21 -5
  2. package/package.json +1 -1
package/esm/main.js CHANGED
@@ -16784,7 +16784,7 @@ var init_OpenAPI = __esm(() => {
16784
16784
  PASSWORD: undefined,
16785
16785
  TOKEN: getEnv3("WM_TOKEN"),
16786
16786
  USERNAME: undefined,
16787
- VERSION: "1.791.0",
16787
+ VERSION: "1.792.0",
16788
16788
  WITH_CREDENTIALS: true,
16789
16789
  interceptors: {
16790
16790
  request: new Interceptors,
@@ -17321,6 +17321,7 @@ __export(exports_services_gen, {
17321
17321
  listSchedulesWithJobs: () => listSchedulesWithJobs,
17322
17322
  listSchedules: () => listSchedules,
17323
17323
  listRunnables: () => listRunnables,
17324
+ listRunAssets: () => listRunAssets,
17324
17325
  listResourceTypeNames: () => listResourceTypeNames,
17325
17326
  listResourceType: () => listResourceType,
17326
17327
  listResourceNames: () => listResourceNames,
@@ -26206,6 +26207,15 @@ var backendVersion = () => {
26206
26207
  id: data3.id
26207
26208
  }
26208
26209
  });
26210
+ }, listRunAssets = (data3) => {
26211
+ return request(OpenAPI, {
26212
+ method: "GET",
26213
+ url: "/w/{workspace}/jobs/run_assets/{id}",
26214
+ path: {
26215
+ workspace: data3.workspace,
26216
+ id: data3.id
26217
+ }
26218
+ });
26209
26219
  }, listAssetPartitionsInRange = (data3) => {
26210
26220
  return request(OpenAPI, {
26211
26221
  method: "GET",
@@ -26797,6 +26807,7 @@ __export(exports_gen, {
26797
26807
  listSchedulesWithJobs: () => listSchedulesWithJobs,
26798
26808
  listSchedules: () => listSchedules,
26799
26809
  listRunnables: () => listRunnables,
26810
+ listRunAssets: () => listRunAssets,
26800
26811
  listResourceTypeNames: () => listResourceTypeNames,
26801
26812
  listResourceType: () => listResourceType,
26802
26813
  listResourceNames: () => listResourceNames,
@@ -27484,7 +27495,7 @@ var init_auth = __esm(async () => {
27484
27495
  });
27485
27496
 
27486
27497
  // src/core/constants.ts
27487
- var WM_FORK_PREFIX = "wm-fork", VERSION = "1.791.0";
27498
+ var WM_FORK_PREFIX = "wm-fork", VERSION = "1.792.0";
27488
27499
 
27489
27500
  // src/utils/git.ts
27490
27501
  var exports_git = {};
@@ -65403,7 +65414,7 @@ var init_openflow = __esm(() => {
65403
65414
  openflow_default = {
65404
65415
  openapi: "3.0.3",
65405
65416
  info: {
65406
- version: "1.791.0",
65417
+ version: "1.792.0",
65407
65418
  title: "OpenFlow Spec",
65408
65419
  contact: {
65409
65420
  name: "Ruben Fiszel",
@@ -71291,6 +71302,7 @@ async function handleFile(path10, workspace, alreadySynced, message, opts, rawWo
71291
71302
  ws_error_handler_muted: typed?.ws_error_handler_muted,
71292
71303
  dedicated_worker: typed?.dedicated_worker,
71293
71304
  cache_ttl: typed?.cache_ttl,
71305
+ cache_ignore_s3_path: typed?.cache_ignore_s3_path,
71294
71306
  concurrency_time_window_s: normConcurrencyTimeWindowS,
71295
71307
  concurrent_limit: normConcurrentLimit,
71296
71308
  deployment_message: message,
@@ -71301,8 +71313,12 @@ async function handleFile(path10, workspace, alreadySynced, message, opts, rawWo
71301
71313
  concurrency_key: typed?.concurrency_key,
71302
71314
  debounce_key: typed?.debounce_key,
71303
71315
  debounce_delay_s: typed?.debounce_delay_s,
71316
+ debounce_args_to_accumulate: typed?.debounce_args_to_accumulate,
71317
+ max_total_debouncing_time: typed?.max_total_debouncing_time,
71318
+ max_total_debounces_amount: typed?.max_total_debounces_amount,
71304
71319
  codebase: await codebase?.getDigest(forceTar),
71305
71320
  timeout: nonePositiveInt(typed?.timeout),
71321
+ delete_after_secs: typed?.delete_after_secs,
71306
71322
  on_behalf_of_email: typed?.on_behalf_of_email,
71307
71323
  envs: typed?.envs,
71308
71324
  modules,
@@ -71321,8 +71337,8 @@ async function handleFile(path10, workspace, alreadySynced, message, opts, rawWo
71321
71337
  }
71322
71338
  if (remote) {
71323
71339
  if (content === remote.content) {
71324
- if (typed == undefined || typed.description === remote.description && typed.summary === remote.summary && typed.kind == remote.kind && !remote.archived && (Array.isArray(remote?.lock) ? remote?.lock?.join(`
71325
- `) : remote?.lock ?? "").trim() == (typed?.lock ?? "").trim() && deepEqual(typed.schema, remote.schema) && typed.tag == remote.tag && (typed.ws_error_handler_muted ?? false) == remote.ws_error_handler_muted && typed.dedicated_worker == remote.dedicated_worker && typed.cache_ttl == remote.cache_ttl && normConcurrencyTimeWindowS == normalizeConcurrency(remote.concurrent_limit, remote.concurrency_time_window_s)[1] && normConcurrentLimit == normalizeConcurrency(remote.concurrent_limit)[0] && Boolean(typed.restart_unless_cancelled) == Boolean(remote.restart_unless_cancelled) && Boolean(typed.visible_to_runner_only) == Boolean(remote.visible_to_runner_only) && Boolean(typed.has_preprocessor) == Boolean(remote.has_preprocessor) && typed.priority == Boolean(remote.priority) && nonePositiveInt(typed.timeout) == nonePositiveInt(remote.timeout) && typed.concurrency_key == remote["concurrency_key"] && typed.debounce_key == remote["debounce_key"] && typed.debounce_delay_s == remote["debounce_delay_s"] && typed.codebase == remote.codebase && (hasOnBehalfOf ? true : typed.on_behalf_of_email == remote.on_behalf_of_email) && deepEqual(typed.envs, remote.envs) && deepEqual(modules ?? null, remote.modules ?? null)) {
71340
+ if (typed == undefined || typed.description === remote.description && typed.summary === remote.summary && typed.kind == remote.kind && language == (remote.language === "bunnative" ? "bun" : remote.language) && !remote.archived && (Array.isArray(remote?.lock) ? remote?.lock?.join(`
71341
+ `) : remote?.lock ?? "").trim() == (typed?.lock ?? "").trim() && deepEqual(typed.schema, remote.schema) && typed.tag == remote.tag && (typed.ws_error_handler_muted ?? false) == remote.ws_error_handler_muted && typed.dedicated_worker == remote.dedicated_worker && typed.cache_ttl == remote.cache_ttl && Boolean(typed.cache_ignore_s3_path) == Boolean(remote.cache_ignore_s3_path) && normConcurrencyTimeWindowS == normalizeConcurrency(remote.concurrent_limit, remote.concurrency_time_window_s)[1] && normConcurrentLimit == normalizeConcurrency(remote.concurrent_limit)[0] && Boolean(typed.restart_unless_cancelled) == Boolean(remote.restart_unless_cancelled) && Boolean(typed.visible_to_runner_only) == Boolean(remote.visible_to_runner_only) && Boolean(typed.has_preprocessor) == Boolean(remote.has_preprocessor) && typed.priority == remote.priority && nonePositiveInt(typed.timeout) == nonePositiveInt(remote.timeout) && typed.delete_after_secs == remote.delete_after_secs && typed.concurrency_key == remote["concurrency_key"] && typed.debounce_key == remote["debounce_key"] && typed.debounce_delay_s == remote["debounce_delay_s"] && deepEqual(typed.debounce_args_to_accumulate ?? null, remote.debounce_args_to_accumulate ?? null) && typed.max_total_debouncing_time == remote.max_total_debouncing_time && typed.max_total_debounces_amount == remote.max_total_debounces_amount && typed.codebase == remote.codebase && (hasOnBehalfOf ? true : typed.on_behalf_of_email == remote.on_behalf_of_email) && deepEqual(typed.envs, remote.envs) && deepEqual(typed.labels ?? null, remote.labels ?? null) && deepEqual(modules ?? null, remote.modules ?? null)) {
71326
71342
  info(colors.green(`Script ${remotePath} is up to date`));
71327
71343
  await applyExtraPermsDiff(workspaceId, "script", remotePath.replaceAll(SEP6, "/"), typed?.extra_perms, remote?.extra_perms);
71328
71344
  return true;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "windmill-cli",
3
- "version": "1.791.0",
3
+ "version": "1.792.0",
4
4
  "description": "CLI for Windmill",
5
5
  "license": "Apache 2.0",
6
6
  "type": "module",