windmill-cli 1.454.1 → 1.455.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 (189) hide show
  1. package/esm/deps/jsr.io/@std/bytes/1.0.5/_types.js +2 -0
  2. package/esm/deps/jsr.io/@std/bytes/{1.0.4 → 1.0.5}/concat.js +1 -1
  3. package/esm/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.7}/_base32_common.js +1 -1
  4. package/esm/deps/jsr.io/@std/encoding/1.0.7/_types.js +2 -0
  5. package/esm/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.7}/_validate_binary_like.js +1 -1
  6. package/esm/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.7}/ascii85.js +1 -1
  7. package/esm/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.7}/base32.js +1 -1
  8. package/esm/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.7}/base58.js +1 -1
  9. package/esm/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.7}/base64.js +1 -1
  10. package/esm/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.7}/base64url.js +1 -1
  11. package/esm/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.7}/hex.js +1 -1
  12. package/esm/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.7}/mod.js +1 -1
  13. package/esm/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.7}/varint.js +1 -3
  14. package/esm/deps/jsr.io/@std/io/{0.225.1 → 0.225.2}/read_all.js +1 -1
  15. package/esm/deps/jsr.io/@std/log/{0.224.13 → 0.224.14}/console_handler.js +1 -1
  16. package/esm/deps/jsr.io/@std/log/{0.224.13 → 0.224.14}/file_handler.js +1 -1
  17. package/esm/deps/jsr.io/@std/log/{0.224.13 → 0.224.14}/mod.js +5 -1
  18. package/esm/deps/jsr.io/@std/log/{0.224.13 → 0.224.14}/rotating_file_handler.js +1 -1
  19. package/esm/deps.js +6 -6
  20. package/esm/gen/core/OpenAPI.js +1 -1
  21. package/esm/main.js +1 -1
  22. package/esm/script.js +23 -16
  23. package/esm/sync.js +208 -157
  24. package/esm/utils.js +7 -0
  25. package/package.json +1 -1
  26. package/types/conf.d.ts +1 -0
  27. package/types/conf.d.ts.map +1 -1
  28. package/types/deps/jsr.io/@std/bytes/1.0.5/_types.d.ts +9 -0
  29. package/types/deps/jsr.io/@std/bytes/1.0.5/_types.d.ts.map +1 -0
  30. package/types/deps/jsr.io/@std/bytes/{1.0.4 → 1.0.5}/concat.d.ts +3 -1
  31. package/types/deps/jsr.io/@std/bytes/1.0.5/concat.d.ts.map +1 -0
  32. package/types/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.7}/_base32_common.d.ts +2 -1
  33. package/types/deps/jsr.io/@std/encoding/1.0.7/_base32_common.d.ts.map +1 -0
  34. package/types/deps/jsr.io/@std/encoding/1.0.7/_types.d.ts +9 -0
  35. package/types/deps/jsr.io/@std/encoding/1.0.7/_types.d.ts.map +1 -0
  36. package/types/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.7}/_validate_binary_like.d.ts.map +1 -1
  37. package/types/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.7}/ascii85.d.ts +3 -1
  38. package/types/deps/jsr.io/@std/encoding/1.0.7/ascii85.d.ts.map +1 -0
  39. package/types/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.7}/base32.d.ts +3 -1
  40. package/types/deps/jsr.io/@std/encoding/1.0.7/base32.d.ts.map +1 -0
  41. package/types/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.7}/base58.d.ts +3 -1
  42. package/types/deps/jsr.io/@std/encoding/1.0.7/base58.d.ts.map +1 -0
  43. package/types/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.7}/base64.d.ts +3 -1
  44. package/types/deps/jsr.io/@std/encoding/1.0.7/base64.d.ts.map +1 -0
  45. package/types/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.7}/base64url.d.ts +3 -1
  46. package/types/deps/jsr.io/@std/encoding/1.0.7/base64url.d.ts.map +1 -0
  47. package/types/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.7}/hex.d.ts +3 -1
  48. package/types/deps/jsr.io/@std/encoding/1.0.7/hex.d.ts.map +1 -0
  49. package/types/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.7}/mod.d.ts.map +1 -1
  50. package/types/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.7}/varint.d.ts +3 -1
  51. package/types/deps/jsr.io/@std/encoding/1.0.7/varint.d.ts.map +1 -0
  52. package/types/deps/jsr.io/@std/fmt/{1.0.4 → 1.0.5}/colors.d.ts.map +1 -1
  53. package/types/deps/jsr.io/@std/fs/{1.0.10 → 1.0.11}/_create_walk_entry.d.ts.map +1 -1
  54. package/types/deps/jsr.io/@std/fs/{1.0.10 → 1.0.11}/_get_file_info_type.d.ts.map +1 -1
  55. package/types/deps/jsr.io/@std/fs/{1.0.10 → 1.0.11}/_is_same_path.d.ts.map +1 -1
  56. package/types/deps/jsr.io/@std/fs/{1.0.10 → 1.0.11}/_is_subdir.d.ts.map +1 -1
  57. package/types/deps/jsr.io/@std/fs/{1.0.10 → 1.0.11}/_to_path_string.d.ts.map +1 -1
  58. package/types/deps/jsr.io/@std/fs/{1.0.10 → 1.0.11}/copy.d.ts.map +1 -1
  59. package/types/deps/jsr.io/@std/fs/{1.0.10 → 1.0.11}/empty_dir.d.ts.map +1 -1
  60. package/types/deps/jsr.io/@std/fs/{1.0.10 → 1.0.11}/ensure_dir.d.ts.map +1 -1
  61. package/types/deps/jsr.io/@std/fs/{1.0.10 → 1.0.11}/ensure_file.d.ts.map +1 -1
  62. package/types/deps/jsr.io/@std/fs/{1.0.10 → 1.0.11}/ensure_link.d.ts.map +1 -1
  63. package/types/deps/jsr.io/@std/fs/{1.0.10 → 1.0.11}/ensure_symlink.d.ts.map +1 -1
  64. package/types/deps/jsr.io/@std/fs/{1.0.10 → 1.0.11}/eol.d.ts.map +1 -1
  65. package/types/deps/jsr.io/@std/fs/{1.0.10 → 1.0.11}/exists.d.ts.map +1 -1
  66. package/types/deps/jsr.io/@std/fs/{1.0.10 → 1.0.11}/expand_glob.d.ts.map +1 -1
  67. package/types/deps/jsr.io/@std/fs/{1.0.10 → 1.0.11}/mod.d.ts.map +1 -1
  68. package/types/deps/jsr.io/@std/fs/{1.0.10 → 1.0.11}/move.d.ts.map +1 -1
  69. package/types/deps/jsr.io/@std/fs/{1.0.10 → 1.0.11}/walk.d.ts.map +1 -1
  70. package/types/deps/jsr.io/@std/io/{0.225.1 → 0.225.2}/_constants.d.ts.map +1 -1
  71. package/types/deps/jsr.io/@std/io/{0.225.1 → 0.225.2}/copy.d.ts.map +1 -1
  72. package/types/deps/jsr.io/@std/io/{0.225.1 → 0.225.2}/read_all.d.ts.map +1 -1
  73. package/types/deps/jsr.io/@std/io/{0.225.1 → 0.225.2}/types.d.ts.map +1 -1
  74. package/types/deps/jsr.io/@std/io/{0.225.1 → 0.225.2}/write_all.d.ts.map +1 -1
  75. package/types/deps/jsr.io/@std/log/{0.224.13 → 0.224.14}/_config.d.ts.map +1 -1
  76. package/types/deps/jsr.io/@std/log/{0.224.13 → 0.224.14}/_file_handler_symbols.d.ts.map +1 -1
  77. package/types/deps/jsr.io/@std/log/{0.224.13 → 0.224.14}/_state.d.ts.map +1 -1
  78. package/types/deps/jsr.io/@std/log/{0.224.13 → 0.224.14}/base_handler.d.ts.map +1 -1
  79. package/types/deps/jsr.io/@std/log/{0.224.13 → 0.224.14}/console_handler.d.ts.map +1 -1
  80. package/types/deps/jsr.io/@std/log/{0.224.13 → 0.224.14}/critical.d.ts.map +1 -1
  81. package/types/deps/jsr.io/@std/log/{0.224.13 → 0.224.14}/debug.d.ts.map +1 -1
  82. package/types/deps/jsr.io/@std/log/{0.224.13 → 0.224.14}/error.d.ts.map +1 -1
  83. package/types/deps/jsr.io/@std/log/{0.224.13 → 0.224.14}/file_handler.d.ts.map +1 -1
  84. package/types/deps/jsr.io/@std/log/{0.224.13 → 0.224.14}/formatters.d.ts.map +1 -1
  85. package/types/deps/jsr.io/@std/log/{0.224.13 → 0.224.14}/get_logger.d.ts.map +1 -1
  86. package/types/deps/jsr.io/@std/log/{0.224.13 → 0.224.14}/info.d.ts.map +1 -1
  87. package/types/deps/jsr.io/@std/log/{0.224.13 → 0.224.14}/levels.d.ts.map +1 -1
  88. package/types/deps/jsr.io/@std/log/{0.224.13 → 0.224.14}/logger.d.ts.map +1 -1
  89. package/types/deps/jsr.io/@std/log/{0.224.13 → 0.224.14}/mod.d.ts +5 -1
  90. package/types/deps/jsr.io/@std/log/{0.224.13 → 0.224.14}/mod.d.ts.map +1 -1
  91. package/types/deps/jsr.io/@std/log/{0.224.13 → 0.224.14}/rotating_file_handler.d.ts.map +1 -1
  92. package/types/deps/jsr.io/@std/log/{0.224.13 → 0.224.14}/setup.d.ts.map +1 -1
  93. package/types/deps/jsr.io/@std/log/{0.224.13 → 0.224.14}/warn.d.ts.map +1 -1
  94. package/types/deps.d.ts +6 -6
  95. package/types/gen/types.gen.d.ts +1 -0
  96. package/types/gen/types.gen.d.ts.map +1 -1
  97. package/types/main.d.ts +1 -1
  98. package/types/script.d.ts.map +1 -1
  99. package/types/sync.d.ts +2 -0
  100. package/types/sync.d.ts.map +1 -1
  101. package/types/utils.d.ts +6 -0
  102. package/types/utils.d.ts.map +1 -1
  103. package/types/deps/jsr.io/@std/bytes/1.0.4/concat.d.ts.map +0 -1
  104. package/types/deps/jsr.io/@std/encoding/1.0.6/_base32_common.d.ts.map +0 -1
  105. package/types/deps/jsr.io/@std/encoding/1.0.6/ascii85.d.ts.map +0 -1
  106. package/types/deps/jsr.io/@std/encoding/1.0.6/base32.d.ts.map +0 -1
  107. package/types/deps/jsr.io/@std/encoding/1.0.6/base58.d.ts.map +0 -1
  108. package/types/deps/jsr.io/@std/encoding/1.0.6/base64.d.ts.map +0 -1
  109. package/types/deps/jsr.io/@std/encoding/1.0.6/base64url.d.ts.map +0 -1
  110. package/types/deps/jsr.io/@std/encoding/1.0.6/hex.d.ts.map +0 -1
  111. package/types/deps/jsr.io/@std/encoding/1.0.6/varint.d.ts.map +0 -1
  112. /package/esm/deps/jsr.io/@std/fmt/{1.0.4 → 1.0.5}/colors.js +0 -0
  113. /package/esm/deps/jsr.io/@std/fs/{1.0.10 → 1.0.11}/_create_walk_entry.js +0 -0
  114. /package/esm/deps/jsr.io/@std/fs/{1.0.10 → 1.0.11}/_get_file_info_type.js +0 -0
  115. /package/esm/deps/jsr.io/@std/fs/{1.0.10 → 1.0.11}/_is_same_path.js +0 -0
  116. /package/esm/deps/jsr.io/@std/fs/{1.0.10 → 1.0.11}/_is_subdir.js +0 -0
  117. /package/esm/deps/jsr.io/@std/fs/{1.0.10 → 1.0.11}/_to_path_string.js +0 -0
  118. /package/esm/deps/jsr.io/@std/fs/{1.0.10 → 1.0.11}/copy.js +0 -0
  119. /package/esm/deps/jsr.io/@std/fs/{1.0.10 → 1.0.11}/empty_dir.js +0 -0
  120. /package/esm/deps/jsr.io/@std/fs/{1.0.10 → 1.0.11}/ensure_dir.js +0 -0
  121. /package/esm/deps/jsr.io/@std/fs/{1.0.10 → 1.0.11}/ensure_file.js +0 -0
  122. /package/esm/deps/jsr.io/@std/fs/{1.0.10 → 1.0.11}/ensure_link.js +0 -0
  123. /package/esm/deps/jsr.io/@std/fs/{1.0.10 → 1.0.11}/ensure_symlink.js +0 -0
  124. /package/esm/deps/jsr.io/@std/fs/{1.0.10 → 1.0.11}/eol.js +0 -0
  125. /package/esm/deps/jsr.io/@std/fs/{1.0.10 → 1.0.11}/exists.js +0 -0
  126. /package/esm/deps/jsr.io/@std/fs/{1.0.10 → 1.0.11}/expand_glob.js +0 -0
  127. /package/esm/deps/jsr.io/@std/fs/{1.0.10 → 1.0.11}/mod.js +0 -0
  128. /package/esm/deps/jsr.io/@std/fs/{1.0.10 → 1.0.11}/move.js +0 -0
  129. /package/esm/deps/jsr.io/@std/fs/{1.0.10 → 1.0.11}/walk.js +0 -0
  130. /package/esm/deps/jsr.io/@std/io/{0.225.1 → 0.225.2}/_constants.js +0 -0
  131. /package/esm/deps/jsr.io/@std/io/{0.225.1 → 0.225.2}/copy.js +0 -0
  132. /package/esm/deps/jsr.io/@std/io/{0.225.1 → 0.225.2}/types.js +0 -0
  133. /package/esm/deps/jsr.io/@std/io/{0.225.1 → 0.225.2}/write_all.js +0 -0
  134. /package/esm/deps/jsr.io/@std/log/{0.224.13 → 0.224.14}/_config.js +0 -0
  135. /package/esm/deps/jsr.io/@std/log/{0.224.13 → 0.224.14}/_file_handler_symbols.js +0 -0
  136. /package/esm/deps/jsr.io/@std/log/{0.224.13 → 0.224.14}/_state.js +0 -0
  137. /package/esm/deps/jsr.io/@std/log/{0.224.13 → 0.224.14}/base_handler.js +0 -0
  138. /package/esm/deps/jsr.io/@std/log/{0.224.13 → 0.224.14}/critical.js +0 -0
  139. /package/esm/deps/jsr.io/@std/log/{0.224.13 → 0.224.14}/debug.js +0 -0
  140. /package/esm/deps/jsr.io/@std/log/{0.224.13 → 0.224.14}/error.js +0 -0
  141. /package/esm/deps/jsr.io/@std/log/{0.224.13 → 0.224.14}/formatters.js +0 -0
  142. /package/esm/deps/jsr.io/@std/log/{0.224.13 → 0.224.14}/get_logger.js +0 -0
  143. /package/esm/deps/jsr.io/@std/log/{0.224.13 → 0.224.14}/info.js +0 -0
  144. /package/esm/deps/jsr.io/@std/log/{0.224.13 → 0.224.14}/levels.js +0 -0
  145. /package/esm/deps/jsr.io/@std/log/{0.224.13 → 0.224.14}/logger.js +0 -0
  146. /package/esm/deps/jsr.io/@std/log/{0.224.13 → 0.224.14}/setup.js +0 -0
  147. /package/esm/deps/jsr.io/@std/log/{0.224.13 → 0.224.14}/warn.js +0 -0
  148. /package/types/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.7}/_validate_binary_like.d.ts +0 -0
  149. /package/types/deps/jsr.io/@std/encoding/{1.0.6 → 1.0.7}/mod.d.ts +0 -0
  150. /package/types/deps/jsr.io/@std/fmt/{1.0.4 → 1.0.5}/colors.d.ts +0 -0
  151. /package/types/deps/jsr.io/@std/fs/{1.0.10 → 1.0.11}/_create_walk_entry.d.ts +0 -0
  152. /package/types/deps/jsr.io/@std/fs/{1.0.10 → 1.0.11}/_get_file_info_type.d.ts +0 -0
  153. /package/types/deps/jsr.io/@std/fs/{1.0.10 → 1.0.11}/_is_same_path.d.ts +0 -0
  154. /package/types/deps/jsr.io/@std/fs/{1.0.10 → 1.0.11}/_is_subdir.d.ts +0 -0
  155. /package/types/deps/jsr.io/@std/fs/{1.0.10 → 1.0.11}/_to_path_string.d.ts +0 -0
  156. /package/types/deps/jsr.io/@std/fs/{1.0.10 → 1.0.11}/copy.d.ts +0 -0
  157. /package/types/deps/jsr.io/@std/fs/{1.0.10 → 1.0.11}/empty_dir.d.ts +0 -0
  158. /package/types/deps/jsr.io/@std/fs/{1.0.10 → 1.0.11}/ensure_dir.d.ts +0 -0
  159. /package/types/deps/jsr.io/@std/fs/{1.0.10 → 1.0.11}/ensure_file.d.ts +0 -0
  160. /package/types/deps/jsr.io/@std/fs/{1.0.10 → 1.0.11}/ensure_link.d.ts +0 -0
  161. /package/types/deps/jsr.io/@std/fs/{1.0.10 → 1.0.11}/ensure_symlink.d.ts +0 -0
  162. /package/types/deps/jsr.io/@std/fs/{1.0.10 → 1.0.11}/eol.d.ts +0 -0
  163. /package/types/deps/jsr.io/@std/fs/{1.0.10 → 1.0.11}/exists.d.ts +0 -0
  164. /package/types/deps/jsr.io/@std/fs/{1.0.10 → 1.0.11}/expand_glob.d.ts +0 -0
  165. /package/types/deps/jsr.io/@std/fs/{1.0.10 → 1.0.11}/mod.d.ts +0 -0
  166. /package/types/deps/jsr.io/@std/fs/{1.0.10 → 1.0.11}/move.d.ts +0 -0
  167. /package/types/deps/jsr.io/@std/fs/{1.0.10 → 1.0.11}/walk.d.ts +0 -0
  168. /package/types/deps/jsr.io/@std/io/{0.225.1 → 0.225.2}/_constants.d.ts +0 -0
  169. /package/types/deps/jsr.io/@std/io/{0.225.1 → 0.225.2}/copy.d.ts +0 -0
  170. /package/types/deps/jsr.io/@std/io/{0.225.1 → 0.225.2}/read_all.d.ts +0 -0
  171. /package/types/deps/jsr.io/@std/io/{0.225.1 → 0.225.2}/types.d.ts +0 -0
  172. /package/types/deps/jsr.io/@std/io/{0.225.1 → 0.225.2}/write_all.d.ts +0 -0
  173. /package/types/deps/jsr.io/@std/log/{0.224.13 → 0.224.14}/_config.d.ts +0 -0
  174. /package/types/deps/jsr.io/@std/log/{0.224.13 → 0.224.14}/_file_handler_symbols.d.ts +0 -0
  175. /package/types/deps/jsr.io/@std/log/{0.224.13 → 0.224.14}/_state.d.ts +0 -0
  176. /package/types/deps/jsr.io/@std/log/{0.224.13 → 0.224.14}/base_handler.d.ts +0 -0
  177. /package/types/deps/jsr.io/@std/log/{0.224.13 → 0.224.14}/console_handler.d.ts +0 -0
  178. /package/types/deps/jsr.io/@std/log/{0.224.13 → 0.224.14}/critical.d.ts +0 -0
  179. /package/types/deps/jsr.io/@std/log/{0.224.13 → 0.224.14}/debug.d.ts +0 -0
  180. /package/types/deps/jsr.io/@std/log/{0.224.13 → 0.224.14}/error.d.ts +0 -0
  181. /package/types/deps/jsr.io/@std/log/{0.224.13 → 0.224.14}/file_handler.d.ts +0 -0
  182. /package/types/deps/jsr.io/@std/log/{0.224.13 → 0.224.14}/formatters.d.ts +0 -0
  183. /package/types/deps/jsr.io/@std/log/{0.224.13 → 0.224.14}/get_logger.d.ts +0 -0
  184. /package/types/deps/jsr.io/@std/log/{0.224.13 → 0.224.14}/info.d.ts +0 -0
  185. /package/types/deps/jsr.io/@std/log/{0.224.13 → 0.224.14}/levels.d.ts +0 -0
  186. /package/types/deps/jsr.io/@std/log/{0.224.13 → 0.224.14}/logger.d.ts +0 -0
  187. /package/types/deps/jsr.io/@std/log/{0.224.13 → 0.224.14}/rotating_file_handler.d.ts +0 -0
  188. /package/types/deps/jsr.io/@std/log/{0.224.13 → 0.224.14}/setup.d.ts +0 -0
  189. /package/types/deps/jsr.io/@std/log/{0.224.13 → 0.224.14}/warn.d.ts +0 -0
@@ -0,0 +1,2 @@
1
+ // Copyright 2018-2025 the Deno authors. MIT license.
2
+ export {};
@@ -1,4 +1,4 @@
1
- // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
1
+ // Copyright 2018-2025 the Deno authors. MIT license.
2
2
  // This module is browser compatible.
3
3
  /**
4
4
  * Concatenate an array of byte slices into a single slice.
@@ -1,4 +1,4 @@
1
- // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
1
+ // Copyright 2018-2025 the Deno authors. MIT license.
2
2
  // Copyright (c) 2014 Jameson Little. MIT License.
3
3
  // This module is browser compatible.
4
4
  /**
@@ -0,0 +1,2 @@
1
+ // Copyright 2018-2025 the Deno authors. MIT license.
2
+ export {};
@@ -1,4 +1,4 @@
1
- // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
1
+ // Copyright 2018-2025 the Deno authors. MIT license.
2
2
  const encoder = new TextEncoder();
3
3
  function getTypeName(value) {
4
4
  const type = typeof value;
@@ -1,4 +1,4 @@
1
- // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
1
+ // Copyright 2018-2025 the Deno authors. MIT license.
2
2
  // This module is browser compatible.
3
3
  /**
4
4
  * Utilities for working with {@link https://en.wikipedia.org/wiki/Ascii85 | ascii85} encoding.
@@ -1,4 +1,4 @@
1
- // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
1
+ // Copyright 2018-2025 the Deno authors. MIT license.
2
2
  // Copyright (c) 2014 Jameson Little. MIT License.
3
3
  // This module is browser compatible.
4
4
  /**
@@ -1,4 +1,4 @@
1
- // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
1
+ // Copyright 2018-2025 the Deno authors. MIT license.
2
2
  // This module is browser compatible.
3
3
  /**
4
4
  * Utilities for
@@ -1,4 +1,4 @@
1
- // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
1
+ // Copyright 2018-2025 the Deno authors. MIT license.
2
2
  // This module is browser compatible.
3
3
  /**
4
4
  * Utilities for
@@ -1,4 +1,4 @@
1
- // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
1
+ // Copyright 2018-2025 the Deno authors. MIT license.
2
2
  // This module is browser compatible.
3
3
  /**
4
4
  * Utilities for
@@ -1,6 +1,6 @@
1
1
  // Copyright 2009 The Go Authors. All rights reserved.
2
2
  // https://github.com/golang/go/blob/master/LICENSE
3
- // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
3
+ // Copyright 2018-2025 the Deno authors. MIT license.
4
4
  // This module is browser compatible.
5
5
  /**
6
6
  * Port of the Go
@@ -1,4 +1,4 @@
1
- // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
1
+ // Copyright 2018-2025 the Deno authors. MIT license.
2
2
  /**
3
3
  * Utilities for encoding and decoding common formats like hex, base64, and varint.
4
4
  *
@@ -1,4 +1,4 @@
1
- // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
1
+ // Copyright 2018-2025 the Deno authors. MIT license.
2
2
  // Copyright 2020 Keith Cirkel. All rights reserved. MIT license.
3
3
  // Copyright 2023 Skye "MierenManz". All rights reserved. MIT license.
4
4
  /**
@@ -24,8 +24,6 @@
24
24
  *
25
25
  * @module
26
26
  */
27
- // This implementation is a port of https://deno.land/x/varint@v2.0.0 by @keithamus
28
- // This module is browser compatible.
29
27
  /**
30
28
  * The maximum value of an unsigned 64-bit integer.
31
29
  * Equivalent to `2n**64n - 1n`
@@ -1,6 +1,6 @@
1
1
  // Copyright 2018-2025 the Deno authors. MIT license.
2
2
  // This module is browser compatible.
3
- import { concat } from "../../bytes/1.0.4/concat.js";
3
+ import { concat } from "../../bytes/1.0.5/concat.js";
4
4
  import { DEFAULT_CHUNK_SIZE } from "./_constants.js";
5
5
  /**
6
6
  * Read {@linkcode Reader} `r` until EOF (`null`) and resolve to the content as
@@ -13,7 +13,7 @@ var _ConsoleHandler_useColors;
13
13
  // Copyright 2018-2025 the Deno authors. MIT license.
14
14
  // This module is browser compatible.
15
15
  import { LogLevels } from "./levels.js";
16
- import { blue, bold, red, yellow } from "../../fmt/1.0.4/colors.js";
16
+ import { blue, bold, red, yellow } from "../../fmt/1.0.5/colors.js";
17
17
  import { BaseHandler } from "./base_handler.js";
18
18
  function applyColors(msg, level) {
19
19
  switch (level) {
@@ -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.1/write_all.js";
11
+ import { writeAllSync } from "../../io/0.225.2/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.
@@ -1,8 +1,12 @@
1
1
  // Copyright 2018-2025 the Deno authors. MIT license.
2
2
  /**
3
- * Logging library with the support for terminal and file outputs. Also provides
3
+ * Logging library with support for terminal and file outputs. Also provides
4
4
  * interfaces for building custom loggers.
5
5
  *
6
+ * > [!IMPORTANT]
7
+ * > @std/log is [likely to be removed in the future](https://github.com/denoland/std/issues/6124).
8
+ * > Consider using [Open Telemetry](https://docs.deno.com/runtime/fundamentals/open_telemetry/).
9
+ *
6
10
  * ## Loggers
7
11
  *
8
12
  * Loggers are objects that you interact with. When you use a logger method it
@@ -12,7 +12,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
12
12
  var _RotatingFileHandler_maxBytes, _RotatingFileHandler_maxBackupCount, _RotatingFileHandler_currentFileSize;
13
13
  // Copyright 2018-2025 the Deno authors. MIT license.
14
14
  import * as dntShim from "../../../../../_dnt.shims.js";
15
- import { existsSync } from "../../fs/1.0.10/exists.js";
15
+ import { existsSync } from "../../fs/1.0.11/exists.js";
16
16
  import { FileHandler } from "./file_handler.js";
17
17
  import { encoderSymbol, filenameSymbol, fileSymbol, modeSymbol, openOptionsSymbol, } from "./_file_handler_symbols.js";
18
18
  /**
package/esm/deps.js CHANGED
@@ -12,14 +12,14 @@ export { NpmProvider } from "./deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-r
12
12
  export { Provider } from "./deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/upgrade/mod.js";
13
13
  export { CompletionsCommand } from "./deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/completions/mod.js";
14
14
  // std
15
- export { ensureDir } from "./deps/jsr.io/@std/fs/1.0.10/mod.js";
15
+ export { ensureDir } from "./deps/jsr.io/@std/fs/1.0.11/mod.js";
16
16
  export { SEPARATOR as SEP } from "./deps/jsr.io/@std/path/1.0.8/mod.js";
17
17
  export * as path from "./deps/jsr.io/@std/path/1.0.8/mod.js";
18
- export { encodeHex } from "./deps/jsr.io/@std/encoding/1.0.6/mod.js";
19
- export { writeAllSync } from "./deps/jsr.io/@std/io/0.225.1/write_all.js";
20
- export { copy } from "./deps/jsr.io/@std/io/0.225.1/copy.js";
21
- export { readAll } from "./deps/jsr.io/@std/io/0.225.1/read_all.js";
22
- export * as log from "./deps/jsr.io/@std/log/0.224.13/mod.js";
18
+ export { encodeHex } from "./deps/jsr.io/@std/encoding/1.0.7/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";
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.5/mod.js";
24
24
  import { parse as yamlParse } from "./deps/jsr.io/@std/yaml/1.0.5/mod.js";
25
25
  export async function yamlParseFile(path, options = {}) {
@@ -32,7 +32,7 @@ export const OpenAPI = {
32
32
  PASSWORD: undefined,
33
33
  TOKEN: getEnv("WM_TOKEN"),
34
34
  USERNAME: undefined,
35
- VERSION: '1.454.1',
35
+ VERSION: '1.455.0',
36
36
  WITH_CREDENTIALS: true,
37
37
  interceptors: {
38
38
  request: new Interceptors(),
package/esm/main.js CHANGED
@@ -33,7 +33,7 @@ export { flow, app, script, workspace, resource, user, variable, hub, folder, sc
33
33
  // console.error(JSON.stringify(event.error, null, 4));
34
34
  // }
35
35
  // });
36
- export const VERSION = "1.454.1";
36
+ export const VERSION = "1.455.0";
37
37
  const command = new Command()
38
38
  .name("wmill")
39
39
  .action(() => log.info(`Welcome to Windmill CLI ${VERSION}. Use -h for help.`))
package/esm/script.js CHANGED
@@ -85,11 +85,12 @@ export async function handleFile(path, workspace, alreadySynced, message, opts,
85
85
  if (codebase.customBundler) {
86
86
  log.info(`Using custom bundler ${codebase.customBundler} for ${path}`);
87
87
  bundleContent = execSync(codebase.customBundler + " " + path).toString();
88
- log.info("Custom bundler executed");
88
+ log.info("Custom bundler executed for " + path);
89
89
  }
90
90
  else {
91
91
  const esbuild = await import("esbuild");
92
- log.info(`Starting building the bundle for ${path}`);
92
+ log.info(`Started bundling ${path} ...`);
93
+ const startTime = performance.now();
93
94
  const out = await esbuild.build({
94
95
  entryPoints: [path],
95
96
  format: "cjs",
@@ -102,12 +103,14 @@ export async function handleFile(path, workspace, alreadySynced, message, opts,
102
103
  packages: "bundle",
103
104
  target: "node20.15.1",
104
105
  });
106
+ const endTime = performance.now();
105
107
  bundleContent = out.outputFiles[0].text;
106
- log.info("Bundle size: " + (bundleContent.length / 1024).toFixed(0) + "kB");
108
+ log.info(`Finished bundling ${path}: ${(bundleContent.length / 1024).toFixed(0)}kB (${(endTime - startTime).toFixed(0)}ms)`);
107
109
  }
108
110
  if (Array.isArray(codebase.assets) && codebase.assets.length > 0) {
109
111
  const archiveNpm = await import("@ayonli/jsext/archive");
110
- log.info(`Using the following asset configuration: ${JSON.stringify(codebase.assets)}`);
112
+ log.info(`Using the following asset configuration for ${path}: ${JSON.stringify(codebase.assets)}`);
113
+ const startTime = performance.now();
111
114
  const tarball = new archiveNpm.Tarball();
112
115
  tarball.append(new File([bundleContent], "main.js", { type: "text/plain" }));
113
116
  for (const asset of codebase.assets) {
@@ -116,10 +119,10 @@ export async function handleFile(path, workspace, alreadySynced, message, opts,
116
119
  const file = new File([blob], asset.to);
117
120
  tarball.append(file);
118
121
  }
119
- log.info("Tarball size: " + (tarball.size / 1024).toFixed(0) + "kB");
122
+ const endTime = performance.now();
123
+ log.info(`Finished creating tarball for ${path}: ${(tarball.size / 1024).toFixed(0)}kB (${(endTime - startTime).toFixed(0)}ms)`);
120
124
  bundleContent = tarball;
121
125
  }
122
- log.info(`Finished building the bundle for ${path}`);
123
126
  }
124
127
  let typed = opts?.skipScriptsMetadata ? undefined :
125
128
  (await parseMetadataFile(remotePath, opts
@@ -231,20 +234,22 @@ export async function handleFile(path, workspace, alreadySynced, message, opts,
231
234
  return true;
232
235
  }
233
236
  }
234
- log.info(colors.yellow.bold(`Creating script with a parent ${remotePath}`));
237
+ log.info(`Updating script ${remotePath} ...`);
235
238
  const body = {
236
239
  ...requestBodyCommon,
237
240
  parent_hash: remote.hash,
238
241
  };
239
- await createScript(bundleContent, workspaceId, body, workspace);
242
+ const execTime = await createScript(bundleContent, workspaceId, body, workspace);
243
+ log.info(colors.yellow.bold(`Updated script ${remotePath} (${execTime.toFixed(0)}ms)`));
240
244
  }
241
245
  else {
242
- log.info(colors.yellow.bold(`Creating script without parent ${remotePath}`));
246
+ log.info(`Creating new script ${remotePath} ...`);
243
247
  const body = {
244
248
  ...requestBodyCommon,
245
249
  parent_hash: undefined,
246
250
  };
247
- await createScript(bundleContent, workspaceId, body, workspace);
251
+ const execTime = await createScript(bundleContent, workspaceId, body, workspace);
252
+ log.info(colors.yellow.bold(`Created new script ${remotePath} (${execTime.toFixed(0)}ms)`));
248
253
  }
249
254
  return true;
250
255
  }
@@ -269,6 +274,7 @@ async function streamToBlob(stream) {
269
274
  return blob;
270
275
  }
271
276
  async function createScript(bundleContent, workspaceId, body, workspace) {
277
+ const start = performance.now();
272
278
  if (!bundleContent) {
273
279
  try {
274
280
  // no parent hash
@@ -278,7 +284,7 @@ async function createScript(bundleContent, workspaceId, body, workspace) {
278
284
  });
279
285
  }
280
286
  catch (e) {
281
- throw Error(`Script creation for ${body.path} with parent ${body.parent_hash} was not successful: ${e.body ?? e.message}`);
287
+ throw Error(`Script creation for ${body.path} with parent ${body.parent_hash} was not successful: ${e.body ?? e.message} `);
282
288
  }
283
289
  }
284
290
  else {
@@ -293,13 +299,14 @@ async function createScript(bundleContent, workspaceId, body, workspace) {
293
299
  "/scripts/create_snapshot";
294
300
  const req = await fetch(url, {
295
301
  method: "POST",
296
- headers: { Authorization: `Bearer ${workspace.token}` },
302
+ headers: { Authorization: `Bearer ${workspace.token} ` },
297
303
  body: form,
298
304
  });
299
305
  if (req.status != 201) {
300
- throw Error(`Script snapshot creation was not successful: ${req.status} - ${req.statusText} - ${await req.text()}`);
306
+ throw Error(`Script snapshot creation was not successful: ${req.status} - ${req.statusText} - ${await req.text()} `);
301
307
  }
302
308
  }
309
+ return performance.now() - start;
303
310
  }
304
311
  export async function findContentFile(filePath) {
305
312
  const candidates = filePath.endsWith("script.json")
@@ -648,7 +655,7 @@ export async function findGlobalDeps() {
648
655
  return { pkgs, reqs, composers };
649
656
  }
650
657
  async function generateMetadata(opts, scriptPath) {
651
- log.info("This command only works for workspace scripts, for flows inline scripts use `wmill flow generate-locks`");
658
+ log.info("This command only works for workspace scripts, for flows inline scripts use `wmill flow generate - locks`");
652
659
  if (scriptPath == "") {
653
660
  scriptPath = undefined;
654
661
  }
@@ -678,7 +685,7 @@ async function generateMetadata(opts, scriptPath) {
678
685
  const candidate = await generateScriptMetadataInternal(e, workspace, opts, true, true, globalDeps, codebases, false);
679
686
  if (candidate) {
680
687
  hasAny = true;
681
- log.info(colors.green(`+ ${candidate}`));
688
+ log.info(colors.green(`+ ${candidate} `));
682
689
  }
683
690
  }
684
691
  if (hasAny) {
@@ -719,7 +726,7 @@ const command = new Command()
719
726
  .option("--summary <summary:string>", "script summary")
720
727
  .option("--description <description:string>", "script description")
721
728
  .action(bootstrap)
722
- .command("generate-metadata", "re-generate the metadata file updating the lock and the script schema (for flows, use `wmill flow generate-locks`)")
729
+ .command("generate-metadata", "re-generate the metadata file updating the lock and the script schema (for flows, use `wmill flow generate - locks`)")
723
730
  .arguments("[script:file]")
724
731
  .option("--yes", "Skip confirmation prompt")
725
732
  .option("--lock-only", "re-generate only the lock")