windmill-cli 1.585.1 → 1.586.1

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 (479) hide show
  1. package/esm/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/_create_walk_entry.js +2 -2
  2. package/esm/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/_is_same_path.js +1 -1
  3. package/esm/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/_is_subdir.js +2 -2
  4. package/esm/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/_to_path_string.js +1 -1
  5. package/esm/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/copy.js +5 -4
  6. package/esm/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/empty_dir.js +1 -1
  7. package/esm/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/ensure_file.js +1 -1
  8. package/esm/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/ensure_link.js +1 -1
  9. package/esm/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/ensure_symlink.js +4 -3
  10. package/esm/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/expand_glob.js +12 -36
  11. package/esm/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/move.js +1 -2
  12. package/esm/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/walk.js +1 -1
  13. package/esm/deps/jsr.io/@std/io/0.225.2/read_all.js +1 -1
  14. package/esm/deps/jsr.io/@std/log/0.224.14/console_handler.js +1 -1
  15. package/esm/deps/jsr.io/@std/log/0.224.14/rotating_file_handler.js +1 -1
  16. package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/_common/assert_path.js +1 -1
  17. package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/_common/basename.js +1 -1
  18. package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/_common/common.js +1 -1
  19. package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/_common/constants.js +1 -1
  20. package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/_common/dirname.js +1 -1
  21. package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/_common/format.js +1 -1
  22. package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/_common/from_file_url.js +1 -1
  23. package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/_common/glob_to_reg_exp.js +1 -1
  24. package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/_common/normalize.js +1 -1
  25. package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/_common/normalize_string.js +1 -1
  26. package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/_common/relative.js +1 -1
  27. package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/_common/strip_trailing_separators.js +1 -1
  28. package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/_common/to_file_url.js +1 -1
  29. package/esm/deps/jsr.io/@std/path/1.0.8/_os.js +9 -0
  30. package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/basename.js +5 -4
  31. package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/common.js +1 -1
  32. package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/constants.js +2 -2
  33. package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/dirname.js +5 -4
  34. package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/extname.js +5 -4
  35. package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/format.js +2 -2
  36. package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/from_file_url.js +2 -2
  37. package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/glob_to_regexp.js +2 -2
  38. package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/is_absolute.js +2 -2
  39. package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/is_glob.js +2 -2
  40. package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/join.js +7 -7
  41. package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/join_globs.js +2 -2
  42. package/esm/deps/jsr.io/@std/path/1.0.8/mod.js +57 -0
  43. package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/normalize.js +5 -4
  44. package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/normalize_glob.js +2 -2
  45. package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/parse.js +2 -2
  46. package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/_util.js +1 -1
  47. package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/basename.js +4 -7
  48. package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/constants.js +1 -1
  49. package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/dirname.js +4 -6
  50. package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/extname.js +4 -8
  51. package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/format.js +1 -1
  52. package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/from_file_url.js +1 -1
  53. package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/glob_to_regexp.js +1 -1
  54. package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/is_absolute.js +1 -1
  55. package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/join.js +8 -11
  56. package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/join_globs.js +1 -1
  57. package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/normalize.js +6 -7
  58. package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/normalize_glob.js +1 -1
  59. package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/parse.js +1 -1
  60. package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/relative.js +1 -1
  61. package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/resolve.js +1 -1
  62. package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/to_file_url.js +1 -1
  63. package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/to_namespaced_path.js +1 -1
  64. package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/relative.js +2 -2
  65. package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/resolve.js +2 -2
  66. package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/to_file_url.js +2 -2
  67. package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/to_namespaced_path.js +2 -2
  68. package/esm/deps/jsr.io/@std/path/1.0.8/types.js +3 -0
  69. package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/_util.js +1 -1
  70. package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/basename.js +4 -7
  71. package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/constants.js +1 -1
  72. package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/dirname.js +6 -7
  73. package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/extname.js +6 -7
  74. package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/format.js +1 -1
  75. package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/from_file_url.js +1 -1
  76. package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/glob_to_regexp.js +1 -1
  77. package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/is_absolute.js +1 -1
  78. package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/join.js +7 -10
  79. package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/join_globs.js +1 -1
  80. package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/normalize.js +6 -7
  81. package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/normalize_glob.js +1 -1
  82. package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/parse.js +1 -1
  83. package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/relative.js +1 -1
  84. package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/resolve.js +1 -1
  85. package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/to_file_url.js +1 -1
  86. package/esm/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/to_namespaced_path.js +1 -1
  87. package/esm/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/_chars.js +1 -1
  88. package/esm/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/_dumper_state.js +5 -14
  89. package/esm/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/_loader_state.js +150 -168
  90. package/esm/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/_schema.js +6 -11
  91. package/esm/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/_type/bool.js +1 -1
  92. package/esm/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/_type/float.js +1 -1
  93. package/esm/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/_type/int.js +1 -1
  94. package/esm/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/_type/map.js +1 -1
  95. package/esm/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/_type/merge.js +1 -1
  96. package/esm/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/_type/nil.js +1 -1
  97. package/esm/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/_type/omap.js +1 -1
  98. package/esm/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/_type/pairs.js +1 -1
  99. package/esm/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/_type/regexp.js +1 -1
  100. package/esm/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/_type/seq.js +1 -1
  101. package/esm/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/_type/set.js +1 -1
  102. package/esm/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/_type/str.js +1 -1
  103. package/esm/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/_type/timestamp.js +1 -1
  104. package/esm/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/_type/undefined.js +1 -1
  105. package/esm/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/_type.js +1 -1
  106. package/esm/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/_utils.js +1 -1
  107. package/esm/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/mod.js +1 -1
  108. package/esm/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/parse.js +1 -1
  109. package/esm/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/stringify.js +1 -1
  110. package/esm/deps/jsr.io/@windmill-labs/shared-utils/1.0.10/lib.es.js +1522 -0
  111. package/esm/deps.js +6 -6
  112. package/esm/gen/core/OpenAPI.js +1 -1
  113. package/esm/gen/services.gen.js +138 -0
  114. package/esm/src/commands/app/app_metadata.js +287 -0
  115. package/esm/src/commands/app/apps.js +65 -31
  116. package/esm/src/commands/app/bundle.js +249 -0
  117. package/esm/src/commands/app/dev.js +591 -0
  118. package/esm/src/commands/app/metadata.js +1 -0
  119. package/esm/src/commands/app/raw_apps.js +212 -0
  120. package/esm/src/commands/app/wmillTsDev.js +89 -0
  121. package/esm/src/commands/dependencies/dependencies.js +66 -0
  122. package/esm/src/commands/dev/dev.js +1 -1
  123. package/esm/src/commands/flow/flow.js +4 -5
  124. package/esm/src/commands/flow/flow_metadata.js +140 -0
  125. package/esm/src/commands/script/script.js +30 -42
  126. package/esm/src/commands/sync/pull.js +5 -3
  127. package/esm/src/commands/sync/sync.js +264 -76
  128. package/esm/src/commands/workspace/fork.js +6 -8
  129. package/esm/src/commands/workspace/workspace.js +7 -4
  130. package/esm/src/core/conf.js +5 -1
  131. package/esm/src/core/context.js +57 -47
  132. package/esm/src/main.js +3 -1
  133. package/esm/src/types.js +33 -16
  134. package/esm/src/utils/codebase.js +14 -5
  135. package/esm/src/utils/metadata.js +58 -178
  136. package/esm/src/utils/script_common.js +5 -5
  137. package/esm/src/utils/utils.js +21 -9
  138. package/package.json +6 -4
  139. package/types/deps/jsr.io/@std/bytes/{1.0.6 → 1.0.5}/_types.d.ts.map +1 -1
  140. package/types/deps/jsr.io/@std/bytes/{1.0.6 → 1.0.5}/concat.d.ts +1 -1
  141. package/types/deps/jsr.io/@std/bytes/{1.0.6 → 1.0.5}/concat.d.ts.map +1 -1
  142. package/types/deps/jsr.io/@std/fmt/{1.0.8 → 1.0.6}/colors.d.ts.map +1 -1
  143. package/types/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/_create_walk_entry.d.ts.map +1 -1
  144. package/types/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/_get_file_info_type.d.ts.map +1 -1
  145. package/types/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/_is_same_path.d.ts.map +1 -1
  146. package/types/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/_is_subdir.d.ts.map +1 -1
  147. package/types/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/_to_path_string.d.ts.map +1 -1
  148. package/types/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/copy.d.ts.map +1 -1
  149. package/types/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/empty_dir.d.ts.map +1 -1
  150. package/types/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/ensure_dir.d.ts.map +1 -1
  151. package/types/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/ensure_file.d.ts.map +1 -1
  152. package/types/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/ensure_link.d.ts.map +1 -1
  153. package/types/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/ensure_symlink.d.ts.map +1 -1
  154. package/types/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/eol.d.ts.map +1 -1
  155. package/types/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/exists.d.ts.map +1 -1
  156. package/types/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/expand_glob.d.ts +1 -1
  157. package/types/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/expand_glob.d.ts.map +1 -1
  158. package/types/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/mod.d.ts.map +1 -1
  159. package/types/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/move.d.ts.map +1 -1
  160. package/types/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/walk.d.ts.map +1 -1
  161. package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/_common/assert_path.d.ts.map +1 -1
  162. package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/_common/basename.d.ts.map +1 -1
  163. package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/_common/common.d.ts.map +1 -1
  164. package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/_common/constants.d.ts.map +1 -1
  165. package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/_common/dirname.d.ts.map +1 -1
  166. package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/_common/format.d.ts.map +1 -1
  167. package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/_common/from_file_url.d.ts.map +1 -1
  168. package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/_common/glob_to_reg_exp.d.ts.map +1 -1
  169. package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/_common/normalize.d.ts.map +1 -1
  170. package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/_common/normalize_string.d.ts.map +1 -1
  171. package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/_common/relative.d.ts.map +1 -1
  172. package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/_common/strip_trailing_separators.d.ts.map +1 -1
  173. package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/_common/to_file_url.d.ts.map +1 -1
  174. package/types/deps/jsr.io/@std/path/1.0.8/_os.d.ts +2 -0
  175. package/types/deps/jsr.io/@std/path/1.0.8/_os.d.ts.map +1 -0
  176. package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/basename.d.ts +4 -3
  177. package/types/deps/jsr.io/@std/path/1.0.8/basename.d.ts.map +1 -0
  178. package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/common.d.ts.map +1 -1
  179. package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/constants.d.ts.map +1 -1
  180. package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/dirname.d.ts +4 -3
  181. package/types/deps/jsr.io/@std/path/1.0.8/dirname.d.ts.map +1 -0
  182. package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/extname.d.ts +4 -3
  183. package/types/deps/jsr.io/@std/path/1.0.8/extname.d.ts.map +1 -0
  184. package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/format.d.ts.map +1 -1
  185. package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/from_file_url.d.ts.map +1 -1
  186. package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/glob_to_regexp.d.ts.map +1 -1
  187. package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/is_absolute.d.ts.map +1 -1
  188. package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/is_glob.d.ts.map +1 -1
  189. package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/join.d.ts +4 -4
  190. package/types/deps/jsr.io/@std/path/1.0.8/join.d.ts.map +1 -0
  191. package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/join_globs.d.ts.map +1 -1
  192. package/types/deps/jsr.io/@std/path/1.0.8/mod.d.ts +54 -0
  193. package/types/deps/jsr.io/@std/path/1.0.8/mod.d.ts.map +1 -0
  194. package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/normalize.d.ts +4 -3
  195. package/types/deps/jsr.io/@std/path/1.0.8/normalize.d.ts.map +1 -0
  196. package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/normalize_glob.d.ts.map +1 -1
  197. package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/parse.d.ts.map +1 -1
  198. package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/_util.d.ts.map +1 -1
  199. package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/basename.d.ts +4 -3
  200. package/types/deps/jsr.io/@std/path/1.0.8/posix/basename.d.ts.map +1 -0
  201. package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/constants.d.ts.map +1 -1
  202. package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/dirname.d.ts +4 -2
  203. package/types/deps/jsr.io/@std/path/1.0.8/posix/dirname.d.ts.map +1 -0
  204. package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/extname.d.ts +4 -4
  205. package/types/deps/jsr.io/@std/path/1.0.8/posix/extname.d.ts.map +1 -0
  206. package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/format.d.ts.map +1 -1
  207. package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/from_file_url.d.ts.map +1 -1
  208. package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/glob_to_regexp.d.ts.map +1 -1
  209. package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/is_absolute.d.ts.map +1 -1
  210. package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/join.d.ts +6 -4
  211. package/types/deps/jsr.io/@std/path/1.0.8/posix/join.d.ts.map +1 -0
  212. package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/join_globs.d.ts.map +1 -1
  213. package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/normalize.d.ts +6 -3
  214. package/types/deps/jsr.io/@std/path/1.0.8/posix/normalize.d.ts.map +1 -0
  215. package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/normalize_glob.d.ts.map +1 -1
  216. package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/parse.d.ts.map +1 -1
  217. package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/relative.d.ts.map +1 -1
  218. package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/resolve.d.ts.map +1 -1
  219. package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/to_file_url.d.ts.map +1 -1
  220. package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/to_namespaced_path.d.ts.map +1 -1
  221. package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/relative.d.ts.map +1 -1
  222. package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/resolve.d.ts.map +1 -1
  223. package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/to_file_url.d.ts.map +1 -1
  224. package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/to_namespaced_path.d.ts.map +1 -1
  225. package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/types.d.ts.map +1 -1
  226. package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/_util.d.ts.map +1 -1
  227. package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/basename.d.ts +4 -3
  228. package/types/deps/jsr.io/@std/path/1.0.8/windows/basename.d.ts.map +1 -0
  229. package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/constants.d.ts.map +1 -1
  230. package/types/deps/jsr.io/@std/path/1.0.8/windows/dirname.d.ts +20 -0
  231. package/types/deps/jsr.io/@std/path/1.0.8/windows/dirname.d.ts.map +1 -0
  232. package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/extname.d.ts +6 -3
  233. package/types/deps/jsr.io/@std/path/1.0.8/windows/extname.d.ts.map +1 -0
  234. package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/format.d.ts.map +1 -1
  235. package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/from_file_url.d.ts.map +1 -1
  236. package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/glob_to_regexp.d.ts.map +1 -1
  237. package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/is_absolute.d.ts.map +1 -1
  238. package/types/deps/jsr.io/@std/path/1.0.8/windows/join.d.ts +20 -0
  239. package/types/deps/jsr.io/@std/path/1.0.8/windows/join.d.ts.map +1 -0
  240. package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/join_globs.d.ts.map +1 -1
  241. package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/normalize.d.ts +6 -3
  242. package/types/deps/jsr.io/@std/path/1.0.8/windows/normalize.d.ts.map +1 -0
  243. package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/normalize_glob.d.ts.map +1 -1
  244. package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/parse.d.ts.map +1 -1
  245. package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/relative.d.ts.map +1 -1
  246. package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/resolve.d.ts.map +1 -1
  247. package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/to_file_url.d.ts.map +1 -1
  248. package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/to_namespaced_path.d.ts.map +1 -1
  249. package/types/deps/jsr.io/@std/yaml/1.0.5/_chars.d.ts.map +1 -0
  250. package/types/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/_dumper_state.d.ts +1 -8
  251. package/types/deps/jsr.io/@std/yaml/1.0.5/_dumper_state.d.ts.map +1 -0
  252. package/types/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/_loader_state.d.ts +8 -14
  253. package/types/deps/jsr.io/@std/yaml/1.0.5/_loader_state.d.ts.map +1 -0
  254. package/types/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/_schema.d.ts +3 -7
  255. package/types/deps/jsr.io/@std/yaml/1.0.5/_schema.d.ts.map +1 -0
  256. package/types/deps/jsr.io/@std/yaml/1.0.5/_type/binary.d.ts.map +1 -0
  257. package/types/deps/jsr.io/@std/yaml/1.0.5/_type/bool.d.ts.map +1 -0
  258. package/types/deps/jsr.io/@std/yaml/1.0.5/_type/float.d.ts.map +1 -0
  259. package/types/deps/jsr.io/@std/yaml/1.0.5/_type/int.d.ts.map +1 -0
  260. package/types/deps/jsr.io/@std/yaml/1.0.5/_type/map.d.ts.map +1 -0
  261. package/types/deps/jsr.io/@std/yaml/1.0.5/_type/merge.d.ts.map +1 -0
  262. package/types/deps/jsr.io/@std/yaml/1.0.5/_type/nil.d.ts.map +1 -0
  263. package/types/deps/jsr.io/@std/yaml/1.0.5/_type/omap.d.ts.map +1 -0
  264. package/types/deps/jsr.io/@std/yaml/1.0.5/_type/pairs.d.ts.map +1 -0
  265. package/types/deps/jsr.io/@std/yaml/1.0.5/_type/regexp.d.ts.map +1 -0
  266. package/types/deps/jsr.io/@std/yaml/1.0.5/_type/seq.d.ts.map +1 -0
  267. package/types/deps/jsr.io/@std/yaml/1.0.5/_type/set.d.ts.map +1 -0
  268. package/types/deps/jsr.io/@std/yaml/1.0.5/_type/str.d.ts.map +1 -0
  269. package/types/deps/jsr.io/@std/yaml/1.0.5/_type/timestamp.d.ts.map +1 -0
  270. package/types/deps/jsr.io/@std/yaml/1.0.5/_type/undefined.d.ts.map +1 -0
  271. package/types/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/_type.d.ts +0 -16
  272. package/types/deps/jsr.io/@std/yaml/1.0.5/_type.d.ts.map +1 -0
  273. package/types/deps/jsr.io/@std/yaml/1.0.5/_utils.d.ts.map +1 -0
  274. package/types/deps/jsr.io/@std/yaml/1.0.5/mod.d.ts.map +1 -0
  275. package/types/deps/jsr.io/@std/yaml/1.0.5/parse.d.ts.map +1 -0
  276. package/types/deps/jsr.io/@std/yaml/1.0.5/stringify.d.ts.map +1 -0
  277. package/types/deps/jsr.io/@windmill-labs/shared-utils/1.0.10/lib.es.d.ts +7 -0
  278. package/types/deps/jsr.io/@windmill-labs/shared-utils/1.0.10/lib.es.d.ts.map +1 -0
  279. package/types/deps.d.ts +6 -6
  280. package/types/deps.d.ts.map +1 -1
  281. package/types/gen/services.gen.d.ts +66 -1
  282. package/types/gen/services.gen.d.ts.map +1 -1
  283. package/types/gen/types.gen.d.ts +73 -0
  284. package/types/gen/types.gen.d.ts.map +1 -1
  285. package/types/src/commands/app/app_metadata.d.ts +26 -0
  286. package/types/src/commands/app/app_metadata.d.ts.map +1 -0
  287. package/types/src/commands/app/apps.d.ts +10 -1
  288. package/types/src/commands/app/apps.d.ts.map +1 -1
  289. package/types/src/commands/app/bundle.d.ts +70 -0
  290. package/types/src/commands/app/bundle.d.ts.map +1 -0
  291. package/types/src/commands/app/dev.d.ts +18 -0
  292. package/types/src/commands/app/dev.d.ts.map +1 -0
  293. package/types/src/commands/app/metadata.d.ts +20 -0
  294. package/types/src/commands/app/metadata.d.ts.map +1 -0
  295. package/types/src/commands/app/raw_apps.d.ts +18 -0
  296. package/types/src/commands/app/raw_apps.d.ts.map +1 -0
  297. package/types/src/commands/app/wmillTsDev.d.ts +2 -0
  298. package/types/src/commands/app/wmillTsDev.d.ts.map +1 -0
  299. package/types/src/commands/dependencies/dependencies.d.ts +15 -0
  300. package/types/src/commands/dependencies/dependencies.d.ts.map +1 -0
  301. package/types/src/commands/flow/flow.d.ts.map +1 -1
  302. package/types/src/commands/flow/flow_metadata.d.ts +8 -0
  303. package/types/src/commands/flow/flow_metadata.d.ts.map +1 -0
  304. package/types/src/commands/script/script.d.ts +4 -5
  305. package/types/src/commands/script/script.d.ts.map +1 -1
  306. package/types/src/commands/sync/pull.d.ts +1 -1
  307. package/types/src/commands/sync/pull.d.ts.map +1 -1
  308. package/types/src/commands/sync/sync.d.ts +7 -1
  309. package/types/src/commands/sync/sync.d.ts.map +1 -1
  310. package/types/src/commands/workspace/fork.d.ts.map +1 -1
  311. package/types/src/commands/workspace/workspace.d.ts.map +1 -1
  312. package/types/src/core/conf.d.ts +8 -1
  313. package/types/src/core/conf.d.ts.map +1 -1
  314. package/types/src/core/context.d.ts.map +1 -1
  315. package/types/src/main.d.ts +1 -1
  316. package/types/src/main.d.ts.map +1 -1
  317. package/types/src/types.d.ts +1 -1
  318. package/types/src/types.d.ts.map +1 -1
  319. package/types/src/utils/codebase.d.ts.map +1 -1
  320. package/types/src/utils/metadata.d.ts +8 -9
  321. package/types/src/utils/metadata.d.ts.map +1 -1
  322. package/types/src/utils/script_common.d.ts +6 -6
  323. package/types/src/utils/script_common.d.ts.map +1 -1
  324. package/types/src/utils/utils.d.ts +2 -0
  325. package/types/src/utils/utils.d.ts.map +1 -1
  326. package/types/windmill-utils-internal/src/gen/types.gen.d.ts +73 -0
  327. package/types/windmill-utils-internal/src/gen/types.gen.d.ts.map +1 -1
  328. package/esm/deps/jsr.io/@std/internal/1.0.12/_os.js +0 -12
  329. package/esm/deps/jsr.io/@std/internal/1.0.12/os.js +0 -5
  330. package/esm/deps/jsr.io/@std/path/1.1.3/mod.js +0 -216
  331. package/esm/deps/jsr.io/@std/path/1.1.3/types.js +0 -3
  332. package/types/deps/jsr.io/@std/internal/1.0.12/_os.d.ts +0 -2
  333. package/types/deps/jsr.io/@std/internal/1.0.12/_os.d.ts.map +0 -1
  334. package/types/deps/jsr.io/@std/internal/1.0.12/os.d.ts +0 -3
  335. package/types/deps/jsr.io/@std/internal/1.0.12/os.d.ts.map +0 -1
  336. package/types/deps/jsr.io/@std/path/1.1.3/basename.d.ts.map +0 -1
  337. package/types/deps/jsr.io/@std/path/1.1.3/dirname.d.ts.map +0 -1
  338. package/types/deps/jsr.io/@std/path/1.1.3/extname.d.ts.map +0 -1
  339. package/types/deps/jsr.io/@std/path/1.1.3/join.d.ts.map +0 -1
  340. package/types/deps/jsr.io/@std/path/1.1.3/mod.d.ts +0 -213
  341. package/types/deps/jsr.io/@std/path/1.1.3/mod.d.ts.map +0 -1
  342. package/types/deps/jsr.io/@std/path/1.1.3/normalize.d.ts.map +0 -1
  343. package/types/deps/jsr.io/@std/path/1.1.3/posix/basename.d.ts.map +0 -1
  344. package/types/deps/jsr.io/@std/path/1.1.3/posix/dirname.d.ts.map +0 -1
  345. package/types/deps/jsr.io/@std/path/1.1.3/posix/extname.d.ts.map +0 -1
  346. package/types/deps/jsr.io/@std/path/1.1.3/posix/join.d.ts.map +0 -1
  347. package/types/deps/jsr.io/@std/path/1.1.3/posix/normalize.d.ts.map +0 -1
  348. package/types/deps/jsr.io/@std/path/1.1.3/windows/basename.d.ts.map +0 -1
  349. package/types/deps/jsr.io/@std/path/1.1.3/windows/dirname.d.ts +0 -17
  350. package/types/deps/jsr.io/@std/path/1.1.3/windows/dirname.d.ts.map +0 -1
  351. package/types/deps/jsr.io/@std/path/1.1.3/windows/extname.d.ts.map +0 -1
  352. package/types/deps/jsr.io/@std/path/1.1.3/windows/join.d.ts +0 -18
  353. package/types/deps/jsr.io/@std/path/1.1.3/windows/join.d.ts.map +0 -1
  354. package/types/deps/jsr.io/@std/path/1.1.3/windows/normalize.d.ts.map +0 -1
  355. package/types/deps/jsr.io/@std/yaml/1.0.10/_chars.d.ts.map +0 -1
  356. package/types/deps/jsr.io/@std/yaml/1.0.10/_dumper_state.d.ts.map +0 -1
  357. package/types/deps/jsr.io/@std/yaml/1.0.10/_loader_state.d.ts.map +0 -1
  358. package/types/deps/jsr.io/@std/yaml/1.0.10/_schema.d.ts.map +0 -1
  359. package/types/deps/jsr.io/@std/yaml/1.0.10/_type/binary.d.ts.map +0 -1
  360. package/types/deps/jsr.io/@std/yaml/1.0.10/_type/bool.d.ts.map +0 -1
  361. package/types/deps/jsr.io/@std/yaml/1.0.10/_type/float.d.ts.map +0 -1
  362. package/types/deps/jsr.io/@std/yaml/1.0.10/_type/int.d.ts.map +0 -1
  363. package/types/deps/jsr.io/@std/yaml/1.0.10/_type/map.d.ts.map +0 -1
  364. package/types/deps/jsr.io/@std/yaml/1.0.10/_type/merge.d.ts.map +0 -1
  365. package/types/deps/jsr.io/@std/yaml/1.0.10/_type/nil.d.ts.map +0 -1
  366. package/types/deps/jsr.io/@std/yaml/1.0.10/_type/omap.d.ts.map +0 -1
  367. package/types/deps/jsr.io/@std/yaml/1.0.10/_type/pairs.d.ts.map +0 -1
  368. package/types/deps/jsr.io/@std/yaml/1.0.10/_type/regexp.d.ts.map +0 -1
  369. package/types/deps/jsr.io/@std/yaml/1.0.10/_type/seq.d.ts.map +0 -1
  370. package/types/deps/jsr.io/@std/yaml/1.0.10/_type/set.d.ts.map +0 -1
  371. package/types/deps/jsr.io/@std/yaml/1.0.10/_type/str.d.ts.map +0 -1
  372. package/types/deps/jsr.io/@std/yaml/1.0.10/_type/timestamp.d.ts.map +0 -1
  373. package/types/deps/jsr.io/@std/yaml/1.0.10/_type/undefined.d.ts.map +0 -1
  374. package/types/deps/jsr.io/@std/yaml/1.0.10/_type.d.ts.map +0 -1
  375. package/types/deps/jsr.io/@std/yaml/1.0.10/_utils.d.ts.map +0 -1
  376. package/types/deps/jsr.io/@std/yaml/1.0.10/mod.d.ts.map +0 -1
  377. package/types/deps/jsr.io/@std/yaml/1.0.10/parse.d.ts.map +0 -1
  378. package/types/deps/jsr.io/@std/yaml/1.0.10/stringify.d.ts.map +0 -1
  379. /package/esm/deps/jsr.io/@std/bytes/{1.0.6 → 1.0.5}/_types.js +0 -0
  380. /package/esm/deps/jsr.io/@std/bytes/{1.0.6 → 1.0.5}/concat.js +0 -0
  381. /package/esm/deps/jsr.io/@std/fmt/{1.0.8 → 1.0.6}/colors.js +0 -0
  382. /package/esm/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/_get_file_info_type.js +0 -0
  383. /package/esm/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/ensure_dir.js +0 -0
  384. /package/esm/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/eol.js +0 -0
  385. /package/esm/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/exists.js +0 -0
  386. /package/esm/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/mod.js +0 -0
  387. /package/esm/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/_type/binary.js +0 -0
  388. /package/types/deps/jsr.io/@std/bytes/{1.0.6 → 1.0.5}/_types.d.ts +0 -0
  389. /package/types/deps/jsr.io/@std/fmt/{1.0.8 → 1.0.6}/colors.d.ts +0 -0
  390. /package/types/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/_create_walk_entry.d.ts +0 -0
  391. /package/types/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/_get_file_info_type.d.ts +0 -0
  392. /package/types/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/_is_same_path.d.ts +0 -0
  393. /package/types/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/_is_subdir.d.ts +0 -0
  394. /package/types/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/_to_path_string.d.ts +0 -0
  395. /package/types/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/copy.d.ts +0 -0
  396. /package/types/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/empty_dir.d.ts +0 -0
  397. /package/types/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/ensure_dir.d.ts +0 -0
  398. /package/types/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/ensure_file.d.ts +0 -0
  399. /package/types/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/ensure_link.d.ts +0 -0
  400. /package/types/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/ensure_symlink.d.ts +0 -0
  401. /package/types/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/eol.d.ts +0 -0
  402. /package/types/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/exists.d.ts +0 -0
  403. /package/types/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/mod.d.ts +0 -0
  404. /package/types/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/move.d.ts +0 -0
  405. /package/types/deps/jsr.io/@std/fs/{1.0.20 → 1.0.16}/walk.d.ts +0 -0
  406. /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/_common/assert_path.d.ts +0 -0
  407. /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/_common/basename.d.ts +0 -0
  408. /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/_common/common.d.ts +0 -0
  409. /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/_common/constants.d.ts +0 -0
  410. /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/_common/dirname.d.ts +0 -0
  411. /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/_common/format.d.ts +0 -0
  412. /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/_common/from_file_url.d.ts +0 -0
  413. /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/_common/glob_to_reg_exp.d.ts +0 -0
  414. /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/_common/normalize.d.ts +0 -0
  415. /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/_common/normalize_string.d.ts +0 -0
  416. /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/_common/relative.d.ts +0 -0
  417. /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/_common/strip_trailing_separators.d.ts +0 -0
  418. /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/_common/to_file_url.d.ts +0 -0
  419. /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/common.d.ts +0 -0
  420. /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/constants.d.ts +0 -0
  421. /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/format.d.ts +0 -0
  422. /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/from_file_url.d.ts +0 -0
  423. /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/glob_to_regexp.d.ts +0 -0
  424. /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/is_absolute.d.ts +0 -0
  425. /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/is_glob.d.ts +0 -0
  426. /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/join_globs.d.ts +0 -0
  427. /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/normalize_glob.d.ts +0 -0
  428. /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/parse.d.ts +0 -0
  429. /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/_util.d.ts +0 -0
  430. /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/constants.d.ts +0 -0
  431. /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/format.d.ts +0 -0
  432. /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/from_file_url.d.ts +0 -0
  433. /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/glob_to_regexp.d.ts +0 -0
  434. /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/is_absolute.d.ts +0 -0
  435. /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/join_globs.d.ts +0 -0
  436. /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/normalize_glob.d.ts +0 -0
  437. /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/parse.d.ts +0 -0
  438. /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/relative.d.ts +0 -0
  439. /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/resolve.d.ts +0 -0
  440. /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/to_file_url.d.ts +0 -0
  441. /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/posix/to_namespaced_path.d.ts +0 -0
  442. /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/relative.d.ts +0 -0
  443. /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/resolve.d.ts +0 -0
  444. /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/to_file_url.d.ts +0 -0
  445. /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/to_namespaced_path.d.ts +0 -0
  446. /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/types.d.ts +0 -0
  447. /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/_util.d.ts +0 -0
  448. /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/constants.d.ts +0 -0
  449. /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/format.d.ts +0 -0
  450. /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/from_file_url.d.ts +0 -0
  451. /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/glob_to_regexp.d.ts +0 -0
  452. /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/is_absolute.d.ts +0 -0
  453. /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/join_globs.d.ts +0 -0
  454. /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/normalize_glob.d.ts +0 -0
  455. /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/parse.d.ts +0 -0
  456. /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/relative.d.ts +0 -0
  457. /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/resolve.d.ts +0 -0
  458. /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/to_file_url.d.ts +0 -0
  459. /package/types/deps/jsr.io/@std/path/{1.1.3 → 1.0.8}/windows/to_namespaced_path.d.ts +0 -0
  460. /package/types/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/_chars.d.ts +0 -0
  461. /package/types/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/_type/binary.d.ts +0 -0
  462. /package/types/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/_type/bool.d.ts +0 -0
  463. /package/types/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/_type/float.d.ts +0 -0
  464. /package/types/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/_type/int.d.ts +0 -0
  465. /package/types/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/_type/map.d.ts +0 -0
  466. /package/types/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/_type/merge.d.ts +0 -0
  467. /package/types/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/_type/nil.d.ts +0 -0
  468. /package/types/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/_type/omap.d.ts +0 -0
  469. /package/types/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/_type/pairs.d.ts +0 -0
  470. /package/types/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/_type/regexp.d.ts +0 -0
  471. /package/types/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/_type/seq.d.ts +0 -0
  472. /package/types/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/_type/set.d.ts +0 -0
  473. /package/types/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/_type/str.d.ts +0 -0
  474. /package/types/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/_type/timestamp.d.ts +0 -0
  475. /package/types/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/_type/undefined.d.ts +0 -0
  476. /package/types/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/_utils.d.ts +0 -0
  477. /package/types/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/mod.d.ts +0 -0
  478. /package/types/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/parse.d.ts +0 -0
  479. /package/types/deps/jsr.io/@std/yaml/{1.0.10 → 1.0.5}/stringify.d.ts +0 -0
@@ -8,9 +8,9 @@ import * as wmill from "../../../gen/services.gen.js";
8
8
  import * as specificItems from "../../core/specific_items.js";
9
9
  import { getCurrentGitBranch } from "../../utils/git.js";
10
10
  import { defaultScriptMetadata, scriptBootstrapCode, } from "../../../bootstrap/script_bootstrap.js";
11
- import { generateScriptMetadataInternal, parseMetadataFile, } from "../../utils/metadata.js";
12
- import { inferContentTypeFromFilePath, languagesWithRawReqsSupport, } from "../../utils/script_common.js";
13
- import { elementsToMap, findCodebase, readDirRecursiveWithIgnore, yamlOptions, } from "../sync/sync.js";
11
+ import { generateScriptMetadataInternal, getRawWorkspaceDependencies, parseMetadataFile, } from "../../utils/metadata.js";
12
+ import { inferContentTypeFromFilePath, } from "../../utils/script_common.js";
13
+ import { elementsToMap, findCodebase, yamlOptions, } from "../sync/sync.js";
14
14
  import { ignoreF } from "../sync/sync.js";
15
15
  import { FSFSElement } from "../sync/sync.js";
16
16
  import { mergeConfigWithConfigFile, readConfigFile, } from "../../core/conf.js";
@@ -32,8 +32,7 @@ async function push(opts, filePath) {
32
32
  }
33
33
  await requireLogin(opts);
34
34
  const codebases = await listSyncCodebases(opts);
35
- const globalDeps = await findGlobalDeps();
36
- await handleFile(filePath, workspace, [], undefined, opts, globalDeps, codebases);
35
+ await handleFile(filePath, workspace, [], undefined, opts, await getRawWorkspaceDependencies(), codebases);
37
36
  log.info(colors.bold.underline.green(`Script ${filePath} pushed`));
38
37
  }
39
38
  export async function findResourceFile(path) {
@@ -68,18 +67,18 @@ export async function findResourceFile(path) {
68
67
  }
69
68
  return validCandidates[0];
70
69
  }
71
- export async function handleScriptMetadata(path, workspace, alreadySynced, message, globalDeps, codebases, opts) {
70
+ export async function handleScriptMetadata(path, workspace, alreadySynced, message, rawWorkspaceDependencies, codebases, opts) {
72
71
  if (path.endsWith(".script.json") ||
73
72
  path.endsWith(".script.yaml") ||
74
73
  path.endsWith(".script.lock")) {
75
74
  const contentPath = await findContentFile(path);
76
- return handleFile(contentPath, workspace, alreadySynced, message, opts, globalDeps, codebases);
75
+ return handleFile(contentPath, workspace, alreadySynced, message, opts, rawWorkspaceDependencies, codebases);
77
76
  }
78
77
  else {
79
78
  return false;
80
79
  }
81
80
  }
82
- export async function handleFile(path, workspace, alreadySynced, message, opts, globalDeps, codebases) {
81
+ export async function handleFile(path, workspace, alreadySynced, message, opts, rawWorkspaceDependencies, codebases) {
83
82
  if (!path.includes(".inline_script.") &&
84
83
  exts.some((exts) => path.endsWith(exts))) {
85
84
  if (alreadySynced.includes(path)) {
@@ -98,7 +97,9 @@ export async function handleFile(path, workspace, alreadySynced, message, opts,
98
97
  let outputFiles = [];
99
98
  if (codebase.customBundler) {
100
99
  log.info(`Using custom bundler ${codebase.customBundler} for ${path}`);
101
- bundleContent = execSync(codebase.customBundler + " " + path, { maxBuffer: 1024 * 1024 * 50 }).toString();
100
+ bundleContent = execSync(codebase.customBundler + " " + path, {
101
+ maxBuffer: 1024 * 1024 * 50,
102
+ }).toString();
102
103
  log.info("Custom bundler executed for " + path);
103
104
  }
104
105
  else {
@@ -115,24 +116,31 @@ export async function handleFile(path, workspace, alreadySynced, message, opts,
115
116
  inject: codebase.inject,
116
117
  define: codebase.define,
117
118
  loader: codebase.loader ?? { ".node": "file" },
118
- outdir: '/',
119
+ outdir: "/",
119
120
  platform: "node",
120
121
  packages: "bundle",
121
122
  target: format == "cjs" ? "node20.15.1" : "esnext",
123
+ banner: codebase.banner,
124
+ // ...(codebase.banner != null && { banner: codebase.banner }),
122
125
  });
123
126
  const endTime = performance.now();
124
127
  bundleContent = out.outputFiles[0].text;
125
- outputFiles = out.outputFiles;
128
+ outputFiles = out.outputFiles ?? [];
129
+ if (outputFiles.length == 0) {
130
+ throw new Error(`No output files found for ${path}`);
131
+ }
126
132
  log.info(`Finished bundling ${path}: ${(bundleContent.length / 1024).toFixed(0)}kB (${(endTime - startTime).toFixed(0)}ms)`);
127
133
  }
128
134
  if (outputFiles.length > 1) {
129
135
  const archiveNpm = await import("@ayonli/jsext/archive");
130
- log.info(`Found multiple output files for ${path}, creating a tarball... ${outputFiles.map((file) => file.path).join(", ")}`);
136
+ log.info(`Found multiple output files for ${path}, creating a tarball... ${outputFiles
137
+ .map((file) => file.path)
138
+ .join(", ")}`);
131
139
  forceTar = true;
132
140
  const startTime = performance.now();
133
141
  const tarball = new archiveNpm.Tarball();
134
142
  const mainPath = path.split(SEP).pop()?.split(".")[0] + ".js";
135
- const content = outputFiles.find((file) => file.path == "/" + mainPath)?.text ?? '';
143
+ const content = outputFiles.find((file) => file.path == "/" + mainPath)?.text ?? "";
136
144
  log.info(`Main content: ${content.length}chars`);
137
145
  tarball.append(new File([content], "main.js", { type: "text/plain" }));
138
146
  for (const file of outputFiles) {
@@ -174,8 +182,8 @@ export async function handleFile(path, workspace, alreadySynced, message, opts,
174
182
  path,
175
183
  workspaceRemote: workspace,
176
184
  schemaOnly: codebase ? true : undefined,
177
- globalDeps,
178
- codebases
185
+ rawWorkspaceDependencies,
186
+ codebases,
179
187
  }
180
188
  : undefined))?.payload;
181
189
  const workspaceId = workspace.workspaceId;
@@ -242,6 +250,7 @@ export async function handleFile(path, workspace, alreadySynced, message, opts,
242
250
  timeout: typed?.timeout,
243
251
  on_behalf_of_email: typed?.on_behalf_of_email,
244
252
  };
253
+ // console.log(requestBodyCommon.codebase);
245
254
  // log.info(JSON.stringify(requestBodyCommon, null, 2))
246
255
  // log.info(JSON.stringify(opts, null, 2))
247
256
  if (remote) {
@@ -693,29 +702,6 @@ async function bootstrap(opts, scriptPath, language) {
693
702
  createNew: true,
694
703
  });
695
704
  }
696
- export async function findGlobalDeps() {
697
- var globalDeps = new Map();
698
- const els = await FSFSElement(dntShim.Deno.cwd(), [], false);
699
- for await (const entry of readDirRecursiveWithIgnore((p, isDir) => {
700
- p = SEP + p;
701
- return (!isDir &&
702
- // Skip if the filename is not one of lockfile names
703
- !languagesWithRawReqsSupport.some((lockfile) => p.endsWith(SEP + lockfile.rrFilename)));
704
- }, els)) {
705
- if (entry.isDirectory || entry.ignored)
706
- continue;
707
- const content = await entry.getContentText();
708
- // Iterate over available languages to find which lockfile
709
- languagesWithRawReqsSupport.map((lock) => {
710
- if (entry.path.endsWith(lock.rrFilename)) {
711
- const current = globalDeps.get(lock) ?? {};
712
- current[entry.path.substring(0, entry.path.length - lock.rrFilename.length)] = content;
713
- globalDeps.set(lock, current);
714
- }
715
- });
716
- }
717
- return globalDeps;
718
- }
719
705
  async function generateMetadata(opts, scriptPath) {
720
706
  log.info("This command only works for workspace scripts, for flows inline scripts use `wmill flow generate-locks`");
721
707
  if (scriptPath == "") {
@@ -728,12 +714,13 @@ async function generateMetadata(opts, scriptPath) {
728
714
  await requireLogin(opts);
729
715
  opts = await mergeConfigWithConfigFile(opts);
730
716
  const codebases = await listSyncCodebases(opts);
731
- const globalDeps = await findGlobalDeps();
717
+ const rawWorkspaceDependencies = await getRawWorkspaceDependencies();
732
718
  if (scriptPath) {
733
719
  // read script metadata file
734
- await generateScriptMetadataInternal(scriptPath, workspace, opts, false, false, globalDeps, codebases, false);
720
+ await generateScriptMetadataInternal(scriptPath, workspace, opts, false, false, rawWorkspaceDependencies, codebases, false);
735
721
  }
736
722
  else {
723
+ // TODO: test this as well.
737
724
  const ignore = await ignoreF(opts);
738
725
  const elems = await elementsToMap(await FSFSElement(dntShim.Deno.cwd(), codebases, false), (p, isD) => {
739
726
  return ((!isD && !exts.some((ext) => p.endsWith(ext))) ||
@@ -744,7 +731,7 @@ async function generateMetadata(opts, scriptPath) {
744
731
  let hasAny = false;
745
732
  log.info("Generating metadata for all stale scripts:");
746
733
  for (const e of Object.keys(elems)) {
747
- const candidate = await generateScriptMetadataInternal(e, workspace, opts, true, true, globalDeps, codebases, false);
734
+ const candidate = await generateScriptMetadataInternal(e, workspace, opts, true, true, rawWorkspaceDependencies, codebases, false);
748
735
  if (candidate) {
749
736
  hasAny = true;
750
737
  log.info(colors.green(`+ ${candidate} `));
@@ -767,8 +754,9 @@ async function generateMetadata(opts, scriptPath) {
767
754
  log.info(colors.green.bold("No metadata to update"));
768
755
  return;
769
756
  }
757
+ // TODO: test this
770
758
  for (const e of Object.keys(elems)) {
771
- await generateScriptMetadataInternal(e, workspace, opts, false, true, globalDeps, codebases, false);
759
+ await generateScriptMetadataInternal(e, workspace, opts, false, true, rawWorkspaceDependencies, codebases, false);
772
760
  }
773
761
  }
774
762
  }
@@ -1,6 +1,6 @@
1
1
  import { colors, Command, JSZip, log } from "../../../deps.js";
2
2
  import { getHeaders } from "../../utils/utils.js";
3
- export async function downloadZip(workspace, plainSecrets, skipVariables, skipResources, skipResourceTypes, skipSecrets, includeSchedules, includeTriggers, includeUsers, includeGroups, includeSettings, includeKey, defaultTs) {
3
+ export async function downloadZip(workspace, plainSecrets, skipVariables, skipResources, skipResourceTypes, skipSecrets, includeSchedules, includeTriggers, includeUsers, includeGroups, includeSettings, includeKey, skipWorkspaceDependencies, defaultTs) {
4
4
  const requestHeaders = new Headers();
5
5
  requestHeaders.set("Authorization", "Bearer " + workspace.token);
6
6
  requestHeaders.set("Content-Type", "application/octet-stream");
@@ -10,10 +10,12 @@ export async function downloadZip(workspace, plainSecrets, skipVariables, skipRe
10
10
  requestHeaders.set(key, value);
11
11
  }
12
12
  }
13
- const zipResponse = await fetch(workspace.remote +
13
+ const includeWorkspaceDependenciesValue = !(skipWorkspaceDependencies ?? false);
14
+ const url = workspace.remote +
14
15
  "api/w/" +
15
16
  workspace.workspaceId +
16
- `/workspaces/tarball?archive_type=zip&plain_secret=${plainSecrets ?? false}&skip_variables=${skipVariables ?? false}&skip_resources=${skipResources ?? false}&skip_secrets=${skipSecrets ?? false}&include_schedules=${includeSchedules ?? false}&include_triggers=${includeTriggers ?? false}&include_users=${includeUsers ?? false}&include_groups=${includeGroups ?? false}&include_settings=${includeSettings ?? false}&include_key=${includeKey ?? false}&default_ts=${defaultTs ?? "bun"}&skip_resource_types=${skipResourceTypes ?? false}`, {
17
+ `/workspaces/tarball?archive_type=zip&plain_secret=${plainSecrets ?? false}&skip_variables=${skipVariables ?? false}&skip_resources=${skipResources ?? false}&skip_secrets=${skipSecrets ?? false}&include_schedules=${includeSchedules ?? false}&include_triggers=${includeTriggers ?? false}&include_users=${includeUsers ?? false}&include_groups=${includeGroups ?? false}&include_settings=${includeSettings ?? false}&include_key=${includeKey ?? false}&include_workspace_dependencies=${includeWorkspaceDependenciesValue}&default_ts=${defaultTs ?? "bun"}&skip_resource_types=${skipResourceTypes ?? false}`;
18
+ const zipResponse = await fetch(url, {
17
19
  headers: requestHeaders,
18
20
  method: "GET",
19
21
  });