windmill-cli 1.622.0 → 1.623.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 (29) hide show
  1. package/esm/deps/jsr.io/@std/io/{0.225.2 → 0.225.3}/_constants.js +1 -1
  2. package/esm/deps/jsr.io/@std/io/{0.225.2 → 0.225.3}/copy.js +1 -1
  3. package/esm/deps/jsr.io/@std/io/{0.225.2 → 0.225.3}/read_all.js +1 -1
  4. package/esm/deps/jsr.io/@std/io/{0.225.2 → 0.225.3}/types.js +1 -1
  5. package/esm/deps/jsr.io/@std/io/{0.225.2 → 0.225.3}/write_all.js +1 -1
  6. package/esm/deps/jsr.io/@std/log/0.224.14/file_handler.js +1 -1
  7. package/esm/deps.js +3 -3
  8. package/esm/gen/core/OpenAPI.js +1 -1
  9. package/esm/src/commands/script/script.js +3 -1
  10. package/esm/src/main.js +1 -1
  11. package/package.json +1 -1
  12. package/types/deps/jsr.io/@std/io/{0.225.2 → 0.225.3}/_constants.d.ts.map +1 -1
  13. package/types/deps/jsr.io/@std/io/{0.225.2 → 0.225.3}/copy.d.ts.map +1 -1
  14. package/types/deps/jsr.io/@std/io/{0.225.2 → 0.225.3}/read_all.d.ts.map +1 -1
  15. package/types/deps/jsr.io/@std/io/{0.225.2 → 0.225.3}/types.d.ts.map +1 -1
  16. package/types/deps/jsr.io/@std/io/{0.225.2 → 0.225.3}/write_all.d.ts +1 -0
  17. package/types/deps/jsr.io/@std/io/0.225.3/write_all.d.ts.map +1 -0
  18. package/types/deps.d.ts +3 -3
  19. package/types/gen/types.gen.d.ts +2 -2
  20. package/types/gen/types.gen.d.ts.map +1 -1
  21. package/types/src/commands/script/script.d.ts.map +1 -1
  22. package/types/src/main.d.ts +1 -1
  23. package/types/windmill-utils-internal/src/gen/types.gen.d.ts +2 -2
  24. package/types/windmill-utils-internal/src/gen/types.gen.d.ts.map +1 -1
  25. package/types/deps/jsr.io/@std/io/0.225.2/write_all.d.ts.map +0 -1
  26. /package/types/deps/jsr.io/@std/io/{0.225.2 → 0.225.3}/_constants.d.ts +0 -0
  27. /package/types/deps/jsr.io/@std/io/{0.225.2 → 0.225.3}/copy.d.ts +0 -0
  28. /package/types/deps/jsr.io/@std/io/{0.225.2 → 0.225.3}/read_all.d.ts +0 -0
  29. /package/types/deps/jsr.io/@std/io/{0.225.2 → 0.225.3}/types.d.ts +0 -0
@@ -1,4 +1,4 @@
1
- // Copyright 2018-2025 the Deno authors. MIT license.
1
+ // Copyright 2018-2026 the Deno authors. MIT license.
2
2
  // This module is browser compatible.
3
3
  export const DEFAULT_CHUNK_SIZE = 16_640;
4
4
  export const DEFAULT_BUFFER_SIZE = 32 * 1024;
@@ -1,4 +1,4 @@
1
- // Copyright 2018-2025 the Deno authors. MIT license.
1
+ // Copyright 2018-2026 the Deno authors. MIT license.
2
2
  // This module is browser compatible.
3
3
  import { DEFAULT_BUFFER_SIZE } from "./_constants.js";
4
4
  import { writeAll } from "./write_all.js";
@@ -1,4 +1,4 @@
1
- // Copyright 2018-2025 the Deno authors. MIT license.
1
+ // Copyright 2018-2026 the Deno authors. MIT license.
2
2
  // This module is browser compatible.
3
3
  import { concat } from "../../bytes/1.0.6/concat.js";
4
4
  import { DEFAULT_CHUNK_SIZE } from "./_constants.js";
@@ -1,4 +1,4 @@
1
- // Copyright 2018-2025 the Deno authors. MIT license.
1
+ // Copyright 2018-2026 the Deno authors. MIT license.
2
2
  // This module is browser compatible.
3
3
  /**
4
4
  * A enum which defines the seek mode for IO related APIs that support
@@ -1,4 +1,4 @@
1
- // Copyright 2018-2025 the Deno authors. MIT license.
1
+ // Copyright 2018-2026 the Deno authors. MIT license.
2
2
  // This module is browser compatible.
3
3
  /**
4
4
  * Write all the content of the array buffer (`arr`) to the writer (`w`).
@@ -8,7 +8,7 @@ var _FileHandler_instances, _FileHandler_unloadCallback, _FileHandler_resetBuffe
8
8
  import * as dntShim from "../../../../../_dnt.shims.js";
9
9
  import { LogLevels } from "./levels.js";
10
10
  import { BaseHandler } from "./base_handler.js";
11
- import { writeAllSync } from "../../io/0.225.2/write_all.js";
11
+ import { writeAllSync } from "../../io/0.225.3/write_all.js";
12
12
  import { bufSymbol, encoderSymbol, filenameSymbol, fileSymbol, modeSymbol, openOptionsSymbol, pointerSymbol, } from "./_file_handler_symbols.js";
13
13
  /**
14
14
  * A file-based log handler that writes log messages to a specified file with buffering and optional modes.
package/esm/deps.js CHANGED
@@ -16,9 +16,9 @@ export { ensureDir } from "./deps/jsr.io/@std/fs/1.0.22/mod.js";
16
16
  export { SEPARATOR as SEP } from "./deps/jsr.io/@std/path/1.1.4/mod.js";
17
17
  export * as path from "./deps/jsr.io/@std/path/1.1.4/mod.js";
18
18
  export { encodeHex } from "./deps/jsr.io/@std/encoding/1.0.4/mod.js";
19
- export { writeAllSync } from "./deps/jsr.io/@std/io/0.225.2/write_all.js";
20
- export { copy } from "./deps/jsr.io/@std/io/0.225.2/copy.js";
21
- export { readAll } from "./deps/jsr.io/@std/io/0.225.2/read_all.js";
19
+ export { writeAllSync } from "./deps/jsr.io/@std/io/0.225.3/write_all.js";
20
+ export { copy } from "./deps/jsr.io/@std/io/0.225.3/copy.js";
21
+ export { readAll } from "./deps/jsr.io/@std/io/0.225.3/read_all.js";
22
22
  export * as log from "./deps/jsr.io/@std/log/0.224.14/mod.js";
23
23
  export { stringify as yamlStringify } from "./deps/jsr.io/@std/yaml/1.0.11/mod.js";
24
24
  import { parse as yamlParse } from "./deps/jsr.io/@std/yaml/1.0.11/mod.js";
@@ -32,7 +32,7 @@ export const OpenAPI = {
32
32
  PASSWORD: undefined,
33
33
  TOKEN: getEnv("WM_TOKEN"),
34
34
  USERNAME: undefined,
35
- VERSION: '1.622.0',
35
+ VERSION: '1.623.0',
36
36
  WITH_CREDENTIALS: true,
37
37
  interceptors: {
38
38
  request: new Interceptors(),
@@ -274,6 +274,7 @@ export async function handleFile(path, workspace, alreadySynced, message, opts,
274
274
  codebase: await codebase?.getDigest(forceTar),
275
275
  timeout: typed?.timeout,
276
276
  on_behalf_of_email: typed?.on_behalf_of_email,
277
+ envs: typed?.envs,
277
278
  };
278
279
  // console.log(requestBodyCommon.codebase);
279
280
  // log.info(JSON.stringify(requestBodyCommon, null, 2))
@@ -311,7 +312,8 @@ export async function handleFile(path, workspace, alreadySynced, message, opts,
311
312
  typed.debounce_key == remote["debounce_key"] &&
312
313
  typed.debounce_delay_s == remote["debounce_delay_s"] &&
313
314
  typed.codebase == remote.codebase &&
314
- typed.on_behalf_of_email == remote.on_behalf_of_email)) {
315
+ typed.on_behalf_of_email == remote.on_behalf_of_email &&
316
+ deepEqual(typed.envs, remote.envs))) {
315
317
  log.info(colors.green(`Script ${remotePath} is up to date`));
316
318
  return true;
317
319
  }
package/esm/src/main.js CHANGED
@@ -46,7 +46,7 @@ export { flow, app, script, workspace, resource, resourceType, user, variable, h
46
46
  // console.error(JSON.stringify(event.error, null, 4));
47
47
  // }
48
48
  // });
49
- export const VERSION = "1.622.0";
49
+ export const VERSION = "1.623.0";
50
50
  // Re-exported from constants.ts to maintain backwards compatibility
51
51
  export { WM_FORK_PREFIX } from "./core/constants.js";
52
52
  const command = new Command()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "windmill-cli",
3
- "version": "1.622.0",
3
+ "version": "1.623.0",
4
4
  "description": "CLI for Windmill",
5
5
  "repository": {
6
6
  "type": "git",
@@ -1 +1 @@
1
- {"version":3,"file":"_constants.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/io/0.225.2/_constants.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,kBAAkB,QAAS,CAAC;AACzC,eAAO,MAAM,mBAAmB,QAAY,CAAC"}
1
+ {"version":3,"file":"_constants.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/io/0.225.3/_constants.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,kBAAkB,QAAS,CAAC;AACzC,eAAO,MAAM,mBAAmB,QAAY,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"copy.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/io/0.225.2/copy.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AAEjD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAsB,IAAI,CACxB,GAAG,EAAE,MAAM,EACX,GAAG,EAAE,MAAM,EACX,OAAO,CAAC,EAAE;IACR,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,GACA,OAAO,CAAC,MAAM,CAAC,CAUjB"}
1
+ {"version":3,"file":"copy.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/io/0.225.3/copy.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AAEjD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAsB,IAAI,CACxB,GAAG,EAAE,MAAM,EACX,GAAG,EAAE,MAAM,EACX,OAAO,CAAC,EAAE;IACR,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,GACA,OAAO,CAAC,MAAM,CAAC,CAUjB"}
@@ -1 +1 @@
1
- {"version":3,"file":"read_all.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/io/0.225.2/read_all.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAErD;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAsB,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,UAAU,CAAC,CAcjE;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,WAAW,CAAC,MAAM,EAAE,UAAU,GAAG,UAAU,CAc1D"}
1
+ {"version":3,"file":"read_all.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/io/0.225.3/read_all.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAErD;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAsB,OAAO,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,UAAU,CAAC,CAcjE;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,WAAW,CAAC,MAAM,EAAE,UAAU,GAAG,UAAU,CAc1D"}
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/io/0.225.2/types.ts"],"names":[],"mappings":"AAGA;;;GAGG;AACH,MAAM,WAAW,MAAM;IACrB;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACH,IAAI,CAAC,CAAC,EAAE,UAAU,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAAC;CAC7C;AAED;;;GAGG;AACH,MAAM,WAAW,UAAU;IACzB;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,QAAQ,CAAC,CAAC,EAAE,UAAU,GAAG,MAAM,GAAG,IAAI,CAAC;CACxC;AAED;;;GAGG;AACH,MAAM,WAAW,MAAM;IACrB;;;;;;;;OAQG;IACH,KAAK,CAAC,CAAC,EAAE,UAAU,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;CACvC;AACD;;;GAGG;AACH,MAAM,WAAW,UAAU;IACzB;;;;;;;;OAQG;IACH,SAAS,CAAC,CAAC,EAAE,UAAU,GAAG,MAAM,CAAC;CAClC;AAED;;;GAGG;AACH,MAAM,WAAW,MAAM;IACrB,gEAAgE;IAChE,KAAK,IAAI,IAAI,CAAC;CACf;AAED;;;GAGG;AACH,oBAAY,QAAQ;IAElB,KAAK,IAAI;IAET,OAAO,IAAI;IAEX,GAAG,IAAI;CACR;AAED;;;GAGG;AACH,MAAM,WAAW,MAAM;IACrB;;;;;;;;;;;OAWG;IACH,IAAI,CAAC,MAAM,EAAE,MAAM,G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CAAC;CAClE;AAED;;;GAGG;AACH,MAAM,WAAW,UAAU;IACzB;;;;;;;;;;OAUG;IACH,QAAQ,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,EAAE,MAAM,EAAE,QAAQ,GAAG,MAAM,CAAC;CAC7D"}
@@ -1,4 +1,5 @@
1
1
  import type { Writer, WriterSync } from "./types.js";
2
+ export type { Writer, WriterSync } from "./types.js";
2
3
  /**
3
4
  * Write all the content of the array buffer (`arr`) to the writer (`w`).
4
5
  *
@@ -0,0 +1 @@
1
+ {"version":3,"file":"write_all.d.ts","sourceRoot":"","sources":["../../../../../../src/deps/jsr.io/@std/io/0.225.3/write_all.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAErD,YAAY,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAErD;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAsB,QAAQ,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,iBAK9D;AAED;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,wBAAgB,YAAY,CAAC,MAAM,EAAE,UAAU,EAAE,IAAI,EAAE,UAAU,QAKhE"}
package/types/deps.d.ts CHANGED
@@ -13,9 +13,9 @@ export { ensureDir } from "./deps/jsr.io/@std/fs/1.0.22/mod.js";
13
13
  export { SEPARATOR as SEP } from "./deps/jsr.io/@std/path/1.1.4/mod.js";
14
14
  export * as path from "./deps/jsr.io/@std/path/1.1.4/mod.js";
15
15
  export { encodeHex } from "./deps/jsr.io/@std/encoding/1.0.4/mod.js";
16
- export { writeAllSync } from "./deps/jsr.io/@std/io/0.225.2/write_all.js";
17
- export { copy } from "./deps/jsr.io/@std/io/0.225.2/copy.js";
18
- export { readAll } from "./deps/jsr.io/@std/io/0.225.2/read_all.js";
16
+ export { writeAllSync } from "./deps/jsr.io/@std/io/0.225.3/write_all.js";
17
+ export { copy } from "./deps/jsr.io/@std/io/0.225.3/copy.js";
18
+ export { readAll } from "./deps/jsr.io/@std/io/0.225.3/read_all.js";
19
19
  export * as log from "./deps/jsr.io/@std/log/0.224.14/mod.js";
20
20
  export { stringify as yamlStringify } from "./deps/jsr.io/@std/yaml/1.0.11/mod.js";
21
21
  import { ParseOptions } from "./deps/jsr.io/@std/yaml/1.0.11/mod.js";
@@ -3117,7 +3117,7 @@ export type WorkspaceItemDiff = {
3117
3117
  /**
3118
3118
  * Type of the item
3119
3119
  */
3120
- kind: 'script' | 'flow' | 'app' | 'resource' | 'variable';
3120
+ kind: 'script' | 'flow' | 'app' | 'resource' | 'variable' | 'resource_type';
3121
3121
  /**
3122
3122
  * Path of the item in the workspace
3123
3123
  */
@@ -3146,7 +3146,7 @@ export type WorkspaceItemDiff = {
3146
3146
  /**
3147
3147
  * Type of the item
3148
3148
  */
3149
- export type kind3 = 'script' | 'flow' | 'app' | 'resource' | 'variable';
3149
+ export type kind3 = 'script' | 'flow' | 'app' | 'resource' | 'variable' | 'resource_type';
3150
3150
  export type CompareSummary = {
3151
3151
  /**
3152
3152
  * Total number of items with differences