windmill-cli 1.518.2 → 1.518.3

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 (848) hide show
  1. package/esm/deps/jsr.io/@std/fs/1.0.16/_create_walk_entry.js +34 -0
  2. package/esm/deps/jsr.io/@std/fs/1.0.16/_is_same_path.js +17 -0
  3. package/esm/deps/jsr.io/@std/fs/1.0.16/_is_subdir.js +25 -0
  4. package/esm/deps/jsr.io/@std/fs/1.0.16/_to_path_string.js +13 -0
  5. package/esm/deps/jsr.io/@std/fs/1.0.16/copy.js +314 -0
  6. package/esm/deps/jsr.io/@std/fs/1.0.16/empty_dir.js +87 -0
  7. package/esm/deps/jsr.io/@std/fs/1.0.16/ensure_file.js +90 -0
  8. package/esm/deps/jsr.io/@std/fs/1.0.16/ensure_link.js +61 -0
  9. package/esm/deps/jsr.io/@std/fs/1.0.16/ensure_symlink.js +157 -0
  10. package/esm/deps/jsr.io/@std/fs/1.0.16/expand_glob.js +416 -0
  11. package/esm/deps/jsr.io/@std/fs/1.0.16/walk.js +846 -0
  12. package/esm/deps/jsr.io/@std/io/0.225.2/read_all.js +1 -1
  13. package/esm/deps/jsr.io/@std/log/0.224.14/console_handler.js +1 -1
  14. package/esm/deps/jsr.io/@std/log/0.224.14/rotating_file_handler.js +1 -1
  15. package/esm/deps/jsr.io/@std/path/1.0.8/_common/assert_path.js +7 -0
  16. package/esm/deps/jsr.io/@std/path/1.0.8/_common/basename.js +40 -0
  17. package/esm/deps/jsr.io/@std/path/1.0.8/_common/common.js +23 -0
  18. package/esm/deps/jsr.io/@std/path/1.0.8/_common/constants.js +46 -0
  19. package/esm/deps/jsr.io/@std/path/1.0.8/_common/dirname.js +8 -0
  20. package/esm/deps/jsr.io/@std/path/1.0.8/_common/format.js +19 -0
  21. package/esm/deps/jsr.io/@std/path/1.0.8/_common/from_file_url.js +9 -0
  22. package/esm/deps/jsr.io/@std/path/1.0.8/_common/glob_to_reg_exp.js +234 -0
  23. package/esm/deps/jsr.io/@std/path/1.0.8/_common/normalize.js +8 -0
  24. package/esm/deps/jsr.io/@std/path/1.0.8/_common/normalize_string.js +77 -0
  25. package/esm/deps/jsr.io/@std/path/1.0.8/_common/relative.js +9 -0
  26. package/esm/deps/jsr.io/@std/path/1.0.8/_common/strip_trailing_separators.js +19 -0
  27. package/esm/deps/jsr.io/@std/path/1.0.8/_common/to_file_url.js +15 -0
  28. package/esm/deps/jsr.io/@std/path/1.0.8/_os.js +9 -0
  29. package/esm/deps/jsr.io/@std/path/1.0.8/basename.js +36 -0
  30. package/esm/deps/jsr.io/@std/path/1.0.8/common.js +33 -0
  31. package/esm/deps/jsr.io/@std/path/1.0.8/constants.js +17 -0
  32. package/esm/deps/jsr.io/@std/path/1.0.8/dirname.js +29 -0
  33. package/esm/deps/jsr.io/@std/path/1.0.8/extname.js +29 -0
  34. package/esm/deps/jsr.io/@std/path/1.0.8/format.js +27 -0
  35. package/esm/deps/jsr.io/@std/path/1.0.8/from_file_url.js +28 -0
  36. package/esm/deps/jsr.io/@std/path/1.0.8/glob_to_regexp.js +83 -0
  37. package/esm/deps/jsr.io/@std/path/1.0.8/is_absolute.js +28 -0
  38. package/esm/deps/jsr.io/@std/path/1.0.8/is_glob.js +42 -0
  39. package/esm/deps/jsr.io/@std/path/1.0.8/join.js +29 -0
  40. package/esm/deps/jsr.io/@std/path/1.0.8/join_globs.js +34 -0
  41. package/esm/deps/jsr.io/@std/path/1.0.8/mod.js +57 -0
  42. package/esm/deps/jsr.io/@std/path/1.0.8/normalize.js +33 -0
  43. package/esm/deps/jsr.io/@std/path/1.0.8/normalize_glob.js +35 -0
  44. package/esm/deps/jsr.io/@std/path/1.0.8/parse.js +39 -0
  45. package/esm/deps/jsr.io/@std/path/1.0.8/posix/_util.js +8 -0
  46. package/esm/deps/jsr.io/@std/path/1.0.8/posix/basename.js +49 -0
  47. package/esm/deps/jsr.io/@std/path/1.0.8/posix/constants.js +14 -0
  48. package/esm/deps/jsr.io/@std/path/1.0.8/posix/dirname.js +62 -0
  49. package/esm/deps/jsr.io/@std/path/1.0.8/posix/extname.js +89 -0
  50. package/esm/deps/jsr.io/@std/path/1.0.8/posix/format.js +28 -0
  51. package/esm/deps/jsr.io/@std/path/1.0.8/posix/from_file_url.js +21 -0
  52. package/esm/deps/jsr.io/@std/path/1.0.8/posix/glob_to_regexp.js +82 -0
  53. package/esm/deps/jsr.io/@std/path/1.0.8/posix/is_absolute.js +23 -0
  54. package/esm/deps/jsr.io/@std/path/1.0.8/posix/join.js +42 -0
  55. package/esm/deps/jsr.io/@std/path/1.0.8/posix/join_globs.js +40 -0
  56. package/esm/deps/jsr.io/@std/path/1.0.8/posix/normalize.js +57 -0
  57. package/esm/deps/jsr.io/@std/path/1.0.8/posix/normalize_glob.js +32 -0
  58. package/esm/deps/jsr.io/@std/path/1.0.8/posix/parse.js +115 -0
  59. package/esm/deps/jsr.io/@std/path/1.0.8/posix/relative.js +106 -0
  60. package/esm/deps/jsr.io/@std/path/1.0.8/posix/resolve.js +59 -0
  61. package/esm/deps/jsr.io/@std/path/1.0.8/posix/to_file_url.js +27 -0
  62. package/esm/deps/jsr.io/@std/path/1.0.8/posix/to_namespaced_path.js +20 -0
  63. package/esm/deps/jsr.io/@std/path/1.0.8/relative.js +30 -0
  64. package/esm/deps/jsr.io/@std/path/1.0.8/resolve.js +30 -0
  65. package/esm/deps/jsr.io/@std/path/1.0.8/to_file_url.js +28 -0
  66. package/esm/deps/jsr.io/@std/path/1.0.8/to_namespaced_path.js +29 -0
  67. package/esm/deps/jsr.io/@std/path/1.0.8/types.js +3 -0
  68. package/esm/deps/jsr.io/@std/path/1.0.8/windows/_util.js +15 -0
  69. package/esm/deps/jsr.io/@std/path/1.0.8/windows/basename.js +44 -0
  70. package/esm/deps/jsr.io/@std/path/1.0.8/windows/constants.js +14 -0
  71. package/esm/deps/jsr.io/@std/path/1.0.8/windows/dirname.js +112 -0
  72. package/esm/deps/jsr.io/@std/path/1.0.8/windows/extname.js +81 -0
  73. package/esm/deps/jsr.io/@std/path/1.0.8/windows/format.js +28 -0
  74. package/esm/deps/jsr.io/@std/path/1.0.8/windows/from_file_url.js +30 -0
  75. package/esm/deps/jsr.io/@std/path/1.0.8/windows/glob_to_regexp.js +82 -0
  76. package/esm/deps/jsr.io/@std/path/1.0.8/windows/is_absolute.js +38 -0
  77. package/esm/deps/jsr.io/@std/path/1.0.8/windows/join.js +74 -0
  78. package/esm/deps/jsr.io/@std/path/1.0.8/windows/join_globs.js +41 -0
  79. package/esm/deps/jsr.io/@std/path/1.0.8/windows/normalize.js +134 -0
  80. package/esm/deps/jsr.io/@std/path/1.0.8/windows/normalize_glob.js +32 -0
  81. package/esm/deps/jsr.io/@std/path/1.0.8/windows/parse.js +176 -0
  82. package/esm/deps/jsr.io/@std/path/1.0.8/windows/relative.js +131 -0
  83. package/esm/deps/jsr.io/@std/path/1.0.8/windows/resolve.js +154 -0
  84. package/esm/deps/jsr.io/@std/path/1.0.8/windows/to_file_url.js +34 -0
  85. package/esm/deps/jsr.io/@std/path/1.0.8/windows/to_namespaced_path.js +49 -0
  86. package/esm/deps/jsr.io/@std/yaml/1.0.5/_chars.js +48 -0
  87. package/esm/deps/jsr.io/@std/yaml/1.0.5/_dumper_state.js +707 -0
  88. package/esm/deps/jsr.io/@std/yaml/1.0.5/_loader_state.js +1409 -0
  89. package/esm/deps/jsr.io/@std/yaml/1.0.5/_schema.js +112 -0
  90. package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/bool.js +32 -0
  91. package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/float.js +96 -0
  92. package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/int.js +159 -0
  93. package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/map.js +14 -0
  94. package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/merge.js +10 -0
  95. package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/nil.js +22 -0
  96. package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/omap.js +29 -0
  97. package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/pairs.js +19 -0
  98. package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/regexp.js +30 -0
  99. package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/seq.js +10 -0
  100. package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/set.js +14 -0
  101. package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/str.js +9 -0
  102. package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/timestamp.js +81 -0
  103. package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/undefined.js +20 -0
  104. package/esm/deps/jsr.io/@std/yaml/1.0.5/_type.js +6 -0
  105. package/esm/deps/jsr.io/@std/yaml/1.0.5/_utils.js +13 -0
  106. package/esm/deps/jsr.io/@std/yaml/1.0.5/mod.js +52 -0
  107. package/esm/deps/jsr.io/@std/yaml/1.0.5/parse.js +93 -0
  108. package/esm/deps/jsr.io/@std/yaml/1.0.5/stringify.js +33 -0
  109. package/esm/deps.js +5 -5
  110. package/esm/gen/services.gen.js +66 -0
  111. package/esm/src/commands/app/apps.js +124 -0
  112. package/esm/src/commands/dev/dev.js +145 -0
  113. package/esm/src/commands/flow/flow.js +236 -0
  114. package/esm/src/commands/folder/folder.js +101 -0
  115. package/esm/src/commands/gitsync-settings/converter.js +134 -0
  116. package/esm/src/commands/gitsync-settings/gitsync-settings.js +2 -0
  117. package/esm/src/commands/gitsync-settings/index.js +28 -0
  118. package/esm/src/commands/gitsync-settings/legacySettings.js +119 -0
  119. package/esm/src/commands/gitsync-settings/pull.js +372 -0
  120. package/esm/src/commands/gitsync-settings/push.js +263 -0
  121. package/esm/src/commands/gitsync-settings/types.js +37 -0
  122. package/esm/src/commands/gitsync-settings/utils.js +129 -0
  123. package/esm/src/commands/hub/hub.js +65 -0
  124. package/esm/src/commands/init/init.js +214 -0
  125. package/esm/src/commands/instance/instance.js +569 -0
  126. package/esm/src/commands/queues/queues.js +117 -0
  127. package/esm/src/commands/resource/resource.js +93 -0
  128. package/esm/src/commands/resource-type/resource-type.js +85 -0
  129. package/esm/src/commands/schedule/schedule.js +101 -0
  130. package/esm/src/commands/script/script.js +753 -0
  131. package/esm/src/commands/sync/pull.js +37 -0
  132. package/esm/src/commands/sync/sync.js +1563 -0
  133. package/esm/src/commands/trigger/trigger.js +182 -0
  134. package/esm/src/commands/user/user.js +428 -0
  135. package/esm/src/commands/variable/variable.js +121 -0
  136. package/esm/src/commands/worker-groups/worker_groups.js +96 -0
  137. package/esm/src/commands/workers/workers.js +79 -0
  138. package/esm/src/commands/workspace/workspace.js +348 -0
  139. package/esm/src/core/auth.js +40 -0
  140. package/esm/src/core/branch-profiles.js +46 -0
  141. package/esm/src/core/conf.js +162 -0
  142. package/esm/src/core/context.js +263 -0
  143. package/esm/src/core/login.js +100 -0
  144. package/esm/src/core/settings.js +432 -0
  145. package/esm/src/core/store.js +19 -0
  146. package/esm/src/main.js +174 -0
  147. package/esm/src/types.js +223 -0
  148. package/esm/src/utils/codebase.js +24 -0
  149. package/esm/src/utils/git.js +29 -0
  150. package/esm/src/utils/metadata.js +623 -0
  151. package/esm/src/utils/upgrade.js +48 -0
  152. package/esm/src/utils/utils.js +176 -0
  153. package/esm/windmill-utils-internal/src/config/config.js +190 -0
  154. package/esm/windmill-utils-internal/src/inline-scripts/extractor.js +13 -9
  155. package/esm/windmill-utils-internal/src/path-utils/path-assigner.js +25 -9
  156. package/package.json +6 -6
  157. package/types/deps/jsr.io/@std/bytes/1.0.5/_types.d.ts.map +1 -0
  158. package/types/deps/jsr.io/@std/bytes/1.0.5/concat.d.ts +21 -0
  159. package/types/deps/jsr.io/@std/bytes/1.0.5/concat.d.ts.map +1 -0
  160. package/types/deps/jsr.io/@std/fmt/1.0.6/colors.d.ts.map +1 -0
  161. package/types/deps/jsr.io/@std/fs/1.0.16/_create_walk_entry.d.ts.map +1 -0
  162. package/types/deps/jsr.io/@std/fs/1.0.16/_get_file_info_type.d.ts.map +1 -0
  163. package/types/deps/jsr.io/@std/fs/1.0.16/_is_same_path.d.ts.map +1 -0
  164. package/types/deps/jsr.io/@std/fs/1.0.16/_is_subdir.d.ts.map +1 -0
  165. package/types/deps/jsr.io/@std/fs/1.0.16/_to_path_string.d.ts.map +1 -0
  166. package/types/deps/jsr.io/@std/fs/1.0.16/copy.d.ts.map +1 -0
  167. package/types/deps/jsr.io/@std/fs/1.0.16/empty_dir.d.ts.map +1 -0
  168. package/types/deps/jsr.io/@std/fs/1.0.16/ensure_dir.d.ts.map +1 -0
  169. package/types/deps/jsr.io/@std/fs/1.0.16/ensure_file.d.ts.map +1 -0
  170. package/types/deps/jsr.io/@std/fs/1.0.16/ensure_link.d.ts.map +1 -0
  171. package/types/deps/jsr.io/@std/fs/1.0.16/ensure_symlink.d.ts.map +1 -0
  172. package/types/deps/jsr.io/@std/fs/1.0.16/eol.d.ts.map +1 -0
  173. package/types/deps/jsr.io/@std/fs/1.0.16/exists.d.ts.map +1 -0
  174. package/types/deps/jsr.io/@std/fs/1.0.16/expand_glob.d.ts +267 -0
  175. package/types/deps/jsr.io/@std/fs/1.0.16/expand_glob.d.ts.map +1 -0
  176. package/types/deps/jsr.io/@std/fs/1.0.16/mod.d.ts.map +1 -0
  177. package/types/deps/jsr.io/@std/fs/1.0.16/move.d.ts.map +1 -0
  178. package/types/deps/jsr.io/@std/fs/1.0.16/walk.d.ts.map +1 -0
  179. package/types/deps/jsr.io/@std/path/1.0.8/_common/assert_path.d.ts.map +1 -0
  180. package/types/deps/jsr.io/@std/path/1.0.8/_common/basename.d.ts.map +1 -0
  181. package/types/deps/jsr.io/@std/path/1.0.8/_common/common.d.ts.map +1 -0
  182. package/types/deps/jsr.io/@std/path/1.0.8/_common/constants.d.ts.map +1 -0
  183. package/types/deps/jsr.io/@std/path/1.0.8/_common/dirname.d.ts.map +1 -0
  184. package/types/deps/jsr.io/@std/path/1.0.8/_common/format.d.ts.map +1 -0
  185. package/types/deps/jsr.io/@std/path/1.0.8/_common/from_file_url.d.ts.map +1 -0
  186. package/types/deps/jsr.io/@std/path/1.0.8/_common/glob_to_reg_exp.d.ts.map +1 -0
  187. package/types/deps/jsr.io/@std/path/1.0.8/_common/normalize.d.ts.map +1 -0
  188. package/types/deps/jsr.io/@std/path/1.0.8/_common/normalize_string.d.ts.map +1 -0
  189. package/types/deps/jsr.io/@std/path/1.0.8/_common/relative.d.ts.map +1 -0
  190. package/types/deps/jsr.io/@std/path/1.0.8/_common/strip_trailing_separators.d.ts.map +1 -0
  191. package/types/deps/jsr.io/@std/path/1.0.8/_common/to_file_url.d.ts.map +1 -0
  192. package/types/deps/jsr.io/@std/path/1.0.8/_os.d.ts +2 -0
  193. package/types/deps/jsr.io/@std/path/1.0.8/_os.d.ts.map +1 -0
  194. package/types/deps/jsr.io/@std/path/1.0.8/basename.d.ts +28 -0
  195. package/types/deps/jsr.io/@std/path/1.0.8/basename.d.ts.map +1 -0
  196. package/types/deps/jsr.io/@std/path/1.0.8/common.d.ts.map +1 -0
  197. package/types/deps/jsr.io/@std/path/1.0.8/constants.d.ts.map +1 -0
  198. package/types/deps/jsr.io/@std/path/1.0.8/dirname.d.ts +23 -0
  199. package/types/deps/jsr.io/@std/path/1.0.8/dirname.d.ts.map +1 -0
  200. package/types/deps/jsr.io/@std/path/1.0.8/extname.d.ts +23 -0
  201. package/types/deps/jsr.io/@std/path/1.0.8/extname.d.ts.map +1 -0
  202. package/types/deps/jsr.io/@std/path/1.0.8/format.d.ts.map +1 -0
  203. package/types/deps/jsr.io/@std/path/1.0.8/from_file_url.d.ts.map +1 -0
  204. package/types/deps/jsr.io/@std/path/1.0.8/glob_to_regexp.d.ts.map +1 -0
  205. package/types/deps/jsr.io/@std/path/1.0.8/is_absolute.d.ts.map +1 -0
  206. package/types/deps/jsr.io/@std/path/1.0.8/is_glob.d.ts.map +1 -0
  207. package/types/deps/jsr.io/@std/path/1.0.8/join.d.ts +23 -0
  208. package/types/deps/jsr.io/@std/path/1.0.8/join.d.ts.map +1 -0
  209. package/types/deps/jsr.io/@std/path/1.0.8/join_globs.d.ts.map +1 -0
  210. package/types/deps/jsr.io/@std/path/1.0.8/mod.d.ts +54 -0
  211. package/types/deps/jsr.io/@std/path/1.0.8/mod.d.ts.map +1 -0
  212. package/types/deps/jsr.io/@std/path/1.0.8/normalize.d.ts +27 -0
  213. package/types/deps/jsr.io/@std/path/1.0.8/normalize.d.ts.map +1 -0
  214. package/types/deps/jsr.io/@std/path/1.0.8/normalize_glob.d.ts.map +1 -0
  215. package/types/deps/jsr.io/@std/path/1.0.8/parse.d.ts.map +1 -0
  216. package/types/deps/jsr.io/@std/path/1.0.8/posix/_util.d.ts.map +1 -0
  217. package/types/deps/jsr.io/@std/path/1.0.8/posix/basename.d.ts +40 -0
  218. package/types/deps/jsr.io/@std/path/1.0.8/posix/basename.d.ts.map +1 -0
  219. package/types/deps/jsr.io/@std/path/1.0.8/posix/constants.d.ts.map +1 -0
  220. package/types/deps/jsr.io/@std/path/1.0.8/posix/dirname.d.ts +32 -0
  221. package/types/deps/jsr.io/@std/path/1.0.8/posix/dirname.d.ts.map +1 -0
  222. package/types/deps/jsr.io/@std/path/1.0.8/posix/extname.d.ts +37 -0
  223. package/types/deps/jsr.io/@std/path/1.0.8/posix/extname.d.ts.map +1 -0
  224. package/types/deps/jsr.io/@std/path/1.0.8/posix/format.d.ts.map +1 -0
  225. package/types/deps/jsr.io/@std/path/1.0.8/posix/from_file_url.d.ts.map +1 -0
  226. package/types/deps/jsr.io/@std/path/1.0.8/posix/glob_to_regexp.d.ts.map +1 -0
  227. package/types/deps/jsr.io/@std/path/1.0.8/posix/is_absolute.d.ts.map +1 -0
  228. package/types/deps/jsr.io/@std/path/1.0.8/posix/join.d.ts +33 -0
  229. package/types/deps/jsr.io/@std/path/1.0.8/posix/join.d.ts.map +1 -0
  230. package/types/deps/jsr.io/@std/path/1.0.8/posix/join_globs.d.ts.map +1 -0
  231. package/types/deps/jsr.io/@std/path/1.0.8/posix/normalize.d.ts +40 -0
  232. package/types/deps/jsr.io/@std/path/1.0.8/posix/normalize.d.ts.map +1 -0
  233. package/types/deps/jsr.io/@std/path/1.0.8/posix/normalize_glob.d.ts.map +1 -0
  234. package/types/deps/jsr.io/@std/path/1.0.8/posix/parse.d.ts.map +1 -0
  235. package/types/deps/jsr.io/@std/path/1.0.8/posix/relative.d.ts.map +1 -0
  236. package/types/deps/jsr.io/@std/path/1.0.8/posix/resolve.d.ts.map +1 -0
  237. package/types/deps/jsr.io/@std/path/1.0.8/posix/to_file_url.d.ts.map +1 -0
  238. package/types/deps/jsr.io/@std/path/1.0.8/posix/to_namespaced_path.d.ts.map +1 -0
  239. package/types/deps/jsr.io/@std/path/1.0.8/relative.d.ts.map +1 -0
  240. package/types/deps/jsr.io/@std/path/1.0.8/resolve.d.ts.map +1 -0
  241. package/types/deps/jsr.io/@std/path/1.0.8/to_file_url.d.ts.map +1 -0
  242. package/types/deps/jsr.io/@std/path/1.0.8/to_namespaced_path.d.ts.map +1 -0
  243. package/types/deps/jsr.io/@std/path/1.0.8/types.d.ts.map +1 -0
  244. package/types/deps/jsr.io/@std/path/1.0.8/windows/_util.d.ts.map +1 -0
  245. package/types/deps/jsr.io/@std/path/1.0.8/windows/basename.d.ts +23 -0
  246. package/types/deps/jsr.io/@std/path/1.0.8/windows/basename.d.ts.map +1 -0
  247. package/types/deps/jsr.io/@std/path/1.0.8/windows/constants.d.ts.map +1 -0
  248. package/types/deps/jsr.io/@std/path/1.0.8/windows/dirname.d.ts +20 -0
  249. package/types/deps/jsr.io/@std/path/1.0.8/windows/dirname.d.ts.map +1 -0
  250. package/types/deps/jsr.io/@std/path/1.0.8/windows/extname.d.ts +20 -0
  251. package/types/deps/jsr.io/@std/path/1.0.8/windows/extname.d.ts.map +1 -0
  252. package/types/deps/jsr.io/@std/path/1.0.8/windows/format.d.ts.map +1 -0
  253. package/types/deps/jsr.io/@std/path/1.0.8/windows/from_file_url.d.ts.map +1 -0
  254. package/types/deps/jsr.io/@std/path/1.0.8/windows/glob_to_regexp.d.ts.map +1 -0
  255. package/types/deps/jsr.io/@std/path/1.0.8/windows/is_absolute.d.ts.map +1 -0
  256. package/types/deps/jsr.io/@std/path/1.0.8/windows/join.d.ts +20 -0
  257. package/types/deps/jsr.io/@std/path/1.0.8/windows/join.d.ts.map +1 -0
  258. package/types/deps/jsr.io/@std/path/1.0.8/windows/join_globs.d.ts.map +1 -0
  259. package/types/deps/jsr.io/@std/path/1.0.8/windows/normalize.d.ts +22 -0
  260. package/types/deps/jsr.io/@std/path/1.0.8/windows/normalize.d.ts.map +1 -0
  261. package/types/deps/jsr.io/@std/path/1.0.8/windows/normalize_glob.d.ts.map +1 -0
  262. package/types/deps/jsr.io/@std/path/1.0.8/windows/parse.d.ts.map +1 -0
  263. package/types/deps/jsr.io/@std/path/1.0.8/windows/relative.d.ts.map +1 -0
  264. package/types/deps/jsr.io/@std/path/1.0.8/windows/resolve.d.ts.map +1 -0
  265. package/types/deps/jsr.io/@std/path/1.0.8/windows/to_file_url.d.ts.map +1 -0
  266. package/types/deps/jsr.io/@std/path/1.0.8/windows/to_namespaced_path.d.ts.map +1 -0
  267. package/types/deps/jsr.io/@std/yaml/1.0.5/_chars.d.ts.map +1 -0
  268. package/types/deps/jsr.io/@std/yaml/1.0.5/_dumper_state.d.ts +99 -0
  269. package/types/deps/jsr.io/@std/yaml/1.0.5/_dumper_state.d.ts.map +1 -0
  270. package/types/deps/jsr.io/@std/yaml/1.0.5/_loader_state.d.ts +60 -0
  271. package/types/deps/jsr.io/@std/yaml/1.0.5/_loader_state.d.ts.map +1 -0
  272. package/types/deps/jsr.io/@std/yaml/1.0.5/_schema.d.ts.map +1 -0
  273. package/types/deps/jsr.io/@std/yaml/1.0.5/_type/binary.d.ts.map +1 -0
  274. package/types/deps/jsr.io/@std/yaml/1.0.5/_type/bool.d.ts.map +1 -0
  275. package/types/deps/jsr.io/@std/yaml/1.0.5/_type/float.d.ts.map +1 -0
  276. package/types/deps/jsr.io/@std/yaml/1.0.5/_type/int.d.ts.map +1 -0
  277. package/types/deps/jsr.io/@std/yaml/1.0.5/_type/map.d.ts.map +1 -0
  278. package/types/deps/jsr.io/@std/yaml/1.0.5/_type/merge.d.ts.map +1 -0
  279. package/types/deps/jsr.io/@std/yaml/1.0.5/_type/nil.d.ts.map +1 -0
  280. package/types/deps/jsr.io/@std/yaml/1.0.5/_type/omap.d.ts.map +1 -0
  281. package/types/deps/jsr.io/@std/yaml/1.0.5/_type/pairs.d.ts.map +1 -0
  282. package/types/deps/jsr.io/@std/yaml/1.0.5/_type/regexp.d.ts.map +1 -0
  283. package/types/deps/jsr.io/@std/yaml/1.0.5/_type/seq.d.ts.map +1 -0
  284. package/types/deps/jsr.io/@std/yaml/1.0.5/_type/set.d.ts.map +1 -0
  285. package/types/deps/jsr.io/@std/yaml/1.0.5/_type/str.d.ts.map +1 -0
  286. package/types/deps/jsr.io/@std/yaml/1.0.5/_type/timestamp.d.ts.map +1 -0
  287. package/types/deps/jsr.io/@std/yaml/1.0.5/_type/undefined.d.ts.map +1 -0
  288. package/types/deps/jsr.io/@std/yaml/1.0.5/_type.d.ts.map +1 -0
  289. package/types/deps/jsr.io/@std/yaml/1.0.5/_utils.d.ts.map +1 -0
  290. package/types/deps/jsr.io/@std/yaml/1.0.5/mod.d.ts.map +1 -0
  291. package/types/deps/jsr.io/@std/yaml/1.0.5/parse.d.ts.map +1 -0
  292. package/types/deps/jsr.io/@std/yaml/1.0.5/stringify.d.ts.map +1 -0
  293. package/types/deps.d.ts +5 -5
  294. package/types/gen/services.gen.d.ts +34 -1
  295. package/types/gen/services.gen.d.ts.map +1 -1
  296. package/types/gen/types.gen.d.ts +43 -3
  297. package/types/gen/types.gen.d.ts.map +1 -1
  298. package/types/src/commands/app/apps.d.ts +17 -0
  299. package/types/src/commands/app/apps.d.ts.map +1 -0
  300. package/types/src/commands/dev/dev.d.ts +12 -0
  301. package/types/src/commands/dev/dev.d.ts.map +1 -0
  302. package/types/src/commands/flow/flow.d.ts +28 -0
  303. package/types/src/commands/flow/flow.d.ts.map +1 -0
  304. package/types/src/commands/folder/folder.d.ts +19 -0
  305. package/types/src/commands/folder/folder.d.ts.map +1 -0
  306. package/types/src/commands/gitsync-settings/converter.d.ts +10 -0
  307. package/types/src/commands/gitsync-settings/converter.d.ts.map +1 -0
  308. package/types/src/commands/gitsync-settings/gitsync-settings.d.ts +3 -0
  309. package/types/src/commands/gitsync-settings/gitsync-settings.d.ts.map +1 -0
  310. package/types/src/commands/gitsync-settings/index.d.ts +25 -0
  311. package/types/src/commands/gitsync-settings/index.d.ts.map +1 -0
  312. package/types/src/commands/gitsync-settings/legacySettings.d.ts +4 -0
  313. package/types/src/commands/gitsync-settings/legacySettings.d.ts.map +1 -0
  314. package/types/src/commands/gitsync-settings/pull.d.ts +14 -0
  315. package/types/src/commands/gitsync-settings/pull.d.ts.map +1 -0
  316. package/types/src/commands/gitsync-settings/push.d.ts +10 -0
  317. package/types/src/commands/gitsync-settings/push.d.ts.map +1 -0
  318. package/types/src/commands/gitsync-settings/types.d.ts +35 -0
  319. package/types/src/commands/gitsync-settings/types.d.ts.map +1 -0
  320. package/types/src/commands/gitsync-settings/utils.d.ts +36 -0
  321. package/types/src/commands/gitsync-settings/utils.d.ts.map +1 -0
  322. package/types/src/commands/hub/hub.d.ts +12 -0
  323. package/types/src/commands/hub/hub.d.ts.map +1 -0
  324. package/types/src/commands/init/init.d.ts +34 -0
  325. package/types/src/commands/init/init.d.ts.map +1 -0
  326. package/types/src/commands/instance/instance.d.ts +46 -0
  327. package/types/src/commands/instance/instance.d.ts.map +1 -0
  328. package/types/src/commands/queues/queues.d.ts +14 -0
  329. package/types/src/commands/queues/queues.d.ts.map +1 -0
  330. package/types/src/commands/resource/resource.d.ts +18 -0
  331. package/types/src/commands/resource/resource.d.ts.map +1 -0
  332. package/types/src/commands/resource-type/resource-type.d.ts +16 -0
  333. package/types/src/commands/resource-type/resource-type.d.ts.map +1 -0
  334. package/types/src/commands/schedule/schedule.d.ts +21 -0
  335. package/types/src/commands/schedule/schedule.d.ts.map +1 -0
  336. package/types/src/commands/script/script.d.ts +51 -0
  337. package/types/src/commands/script/script.d.ts.map +1 -0
  338. package/types/src/commands/sync/pull.d.ts +12 -0
  339. package/types/src/commands/sync/pull.d.ts.map +1 -0
  340. package/types/src/commands/sync/sync.d.ts +128 -0
  341. package/types/src/commands/sync/sync.d.ts.map +1 -0
  342. package/types/src/commands/trigger/trigger.d.ts +24 -0
  343. package/types/src/commands/trigger/trigger.d.ts.map +1 -0
  344. package/types/src/commands/user/user.d.ts +34 -0
  345. package/types/src/commands/user/user.d.ts.map +1 -0
  346. package/types/src/commands/variable/variable.d.ts +23 -0
  347. package/types/src/commands/variable/variable.d.ts.map +1 -0
  348. package/types/src/commands/worker-groups/worker_groups.d.ts +23 -0
  349. package/types/src/commands/worker-groups/worker_groups.d.ts.map +1 -0
  350. package/types/src/commands/workers/workers.d.ts +14 -0
  351. package/types/src/commands/workers/workers.d.ts.map +1 -0
  352. package/types/src/commands/workspace/workspace.d.ts +30 -0
  353. package/types/src/commands/workspace/workspace.d.ts.map +1 -0
  354. package/types/src/core/auth.d.ts +8 -0
  355. package/types/src/core/auth.d.ts.map +1 -0
  356. package/types/src/core/branch-profiles.d.ts +12 -0
  357. package/types/src/core/branch-profiles.d.ts.map +1 -0
  358. package/types/src/core/conf.d.ts +64 -0
  359. package/types/src/core/conf.d.ts.map +1 -0
  360. package/types/src/core/context.d.ts +13 -0
  361. package/types/src/core/context.d.ts.map +1 -0
  362. package/types/src/core/login.d.ts +5 -0
  363. package/types/src/core/login.d.ts.map +1 -0
  364. package/types/src/core/settings.d.ts +30 -0
  365. package/types/src/core/settings.d.ts.map +1 -0
  366. package/types/src/core/store.d.ts +2 -0
  367. package/types/src/core/store.d.ts.map +1 -0
  368. package/types/src/guidance/flow_guidance.d.ts.map +1 -0
  369. package/types/src/guidance/script_guidance.d.ts.map +1 -0
  370. package/types/src/main.d.ts +74 -0
  371. package/types/src/main.d.ts.map +1 -0
  372. package/types/src/types.d.ts.map +1 -0
  373. package/types/src/utils/codebase.d.ts +6 -0
  374. package/types/src/utils/codebase.d.ts.map +1 -0
  375. package/types/src/utils/git.d.ts +3 -0
  376. package/types/src/utils/git.d.ts.map +1 -0
  377. package/types/src/utils/local_encryption.d.ts.map +1 -0
  378. package/types/src/utils/metadata.d.ts +52 -0
  379. package/types/src/utils/metadata.d.ts.map +1 -0
  380. package/types/src/utils/script_common.d.ts.map +1 -0
  381. package/types/src/utils/upgrade.d.ts +21 -0
  382. package/types/src/utils/upgrade.d.ts.map +1 -0
  383. package/types/src/utils/utils.d.ts +20 -0
  384. package/types/src/utils/utils.d.ts.map +1 -0
  385. package/types/windmill-utils-internal/src/config/config.d.ts +12 -0
  386. package/types/windmill-utils-internal/src/config/config.d.ts.map +1 -0
  387. package/types/windmill-utils-internal/src/gen/types.gen.d.ts +43 -3
  388. package/types/windmill-utils-internal/src/gen/types.gen.d.ts.map +1 -1
  389. package/types/windmill-utils-internal/src/inline-scripts/extractor.d.ts +1 -4
  390. package/types/windmill-utils-internal/src/inline-scripts/extractor.d.ts.map +1 -1
  391. package/types/windmill-utils-internal/src/path-utils/path-assigner.d.ts +6 -6
  392. package/types/windmill-utils-internal/src/path-utils/path-assigner.d.ts.map +1 -1
  393. package/esm/apps.js +0 -124
  394. package/esm/auth.js +0 -40
  395. package/esm/codebase.js +0 -24
  396. package/esm/conf.js +0 -78
  397. package/esm/context.js +0 -121
  398. package/esm/deps/jsr.io/@std/fs/1.0.19/_create_walk_entry.js +0 -34
  399. package/esm/deps/jsr.io/@std/fs/1.0.19/_is_same_path.js +0 -17
  400. package/esm/deps/jsr.io/@std/fs/1.0.19/_is_subdir.js +0 -25
  401. package/esm/deps/jsr.io/@std/fs/1.0.19/_to_path_string.js +0 -13
  402. package/esm/deps/jsr.io/@std/fs/1.0.19/copy.js +0 -313
  403. package/esm/deps/jsr.io/@std/fs/1.0.19/empty_dir.js +0 -87
  404. package/esm/deps/jsr.io/@std/fs/1.0.19/ensure_file.js +0 -90
  405. package/esm/deps/jsr.io/@std/fs/1.0.19/ensure_link.js +0 -61
  406. package/esm/deps/jsr.io/@std/fs/1.0.19/ensure_symlink.js +0 -156
  407. package/esm/deps/jsr.io/@std/fs/1.0.19/expand_glob.js +0 -415
  408. package/esm/deps/jsr.io/@std/fs/1.0.19/walk.js +0 -846
  409. package/esm/deps/jsr.io/@std/internal/1.0.10/_os.js +0 -12
  410. package/esm/deps/jsr.io/@std/internal/1.0.10/os.js +0 -5
  411. package/esm/deps/jsr.io/@std/path/1.1.1/_common/assert_path.js +0 -7
  412. package/esm/deps/jsr.io/@std/path/1.1.1/_common/basename.js +0 -40
  413. package/esm/deps/jsr.io/@std/path/1.1.1/_common/common.js +0 -23
  414. package/esm/deps/jsr.io/@std/path/1.1.1/_common/constants.js +0 -46
  415. package/esm/deps/jsr.io/@std/path/1.1.1/_common/dirname.js +0 -8
  416. package/esm/deps/jsr.io/@std/path/1.1.1/_common/format.js +0 -19
  417. package/esm/deps/jsr.io/@std/path/1.1.1/_common/from_file_url.js +0 -9
  418. package/esm/deps/jsr.io/@std/path/1.1.1/_common/glob_to_reg_exp.js +0 -234
  419. package/esm/deps/jsr.io/@std/path/1.1.1/_common/normalize.js +0 -8
  420. package/esm/deps/jsr.io/@std/path/1.1.1/_common/normalize_string.js +0 -77
  421. package/esm/deps/jsr.io/@std/path/1.1.1/_common/relative.js +0 -9
  422. package/esm/deps/jsr.io/@std/path/1.1.1/_common/strip_trailing_separators.js +0 -19
  423. package/esm/deps/jsr.io/@std/path/1.1.1/_common/to_file_url.js +0 -15
  424. package/esm/deps/jsr.io/@std/path/1.1.1/basename.js +0 -35
  425. package/esm/deps/jsr.io/@std/path/1.1.1/common.js +0 -33
  426. package/esm/deps/jsr.io/@std/path/1.1.1/constants.js +0 -17
  427. package/esm/deps/jsr.io/@std/path/1.1.1/dirname.js +0 -28
  428. package/esm/deps/jsr.io/@std/path/1.1.1/extname.js +0 -28
  429. package/esm/deps/jsr.io/@std/path/1.1.1/format.js +0 -27
  430. package/esm/deps/jsr.io/@std/path/1.1.1/from_file_url.js +0 -28
  431. package/esm/deps/jsr.io/@std/path/1.1.1/glob_to_regexp.js +0 -83
  432. package/esm/deps/jsr.io/@std/path/1.1.1/is_absolute.js +0 -28
  433. package/esm/deps/jsr.io/@std/path/1.1.1/is_glob.js +0 -42
  434. package/esm/deps/jsr.io/@std/path/1.1.1/join.js +0 -29
  435. package/esm/deps/jsr.io/@std/path/1.1.1/join_globs.js +0 -34
  436. package/esm/deps/jsr.io/@std/path/1.1.1/mod.js +0 -216
  437. package/esm/deps/jsr.io/@std/path/1.1.1/normalize.js +0 -32
  438. package/esm/deps/jsr.io/@std/path/1.1.1/normalize_glob.js +0 -35
  439. package/esm/deps/jsr.io/@std/path/1.1.1/parse.js +0 -39
  440. package/esm/deps/jsr.io/@std/path/1.1.1/posix/_util.js +0 -8
  441. package/esm/deps/jsr.io/@std/path/1.1.1/posix/basename.js +0 -52
  442. package/esm/deps/jsr.io/@std/path/1.1.1/posix/constants.js +0 -14
  443. package/esm/deps/jsr.io/@std/path/1.1.1/posix/dirname.js +0 -64
  444. package/esm/deps/jsr.io/@std/path/1.1.1/posix/extname.js +0 -93
  445. package/esm/deps/jsr.io/@std/path/1.1.1/posix/format.js +0 -28
  446. package/esm/deps/jsr.io/@std/path/1.1.1/posix/from_file_url.js +0 -21
  447. package/esm/deps/jsr.io/@std/path/1.1.1/posix/glob_to_regexp.js +0 -82
  448. package/esm/deps/jsr.io/@std/path/1.1.1/posix/is_absolute.js +0 -23
  449. package/esm/deps/jsr.io/@std/path/1.1.1/posix/join.js +0 -45
  450. package/esm/deps/jsr.io/@std/path/1.1.1/posix/join_globs.js +0 -40
  451. package/esm/deps/jsr.io/@std/path/1.1.1/posix/normalize.js +0 -58
  452. package/esm/deps/jsr.io/@std/path/1.1.1/posix/normalize_glob.js +0 -32
  453. package/esm/deps/jsr.io/@std/path/1.1.1/posix/parse.js +0 -115
  454. package/esm/deps/jsr.io/@std/path/1.1.1/posix/relative.js +0 -106
  455. package/esm/deps/jsr.io/@std/path/1.1.1/posix/resolve.js +0 -59
  456. package/esm/deps/jsr.io/@std/path/1.1.1/posix/to_file_url.js +0 -27
  457. package/esm/deps/jsr.io/@std/path/1.1.1/posix/to_namespaced_path.js +0 -20
  458. package/esm/deps/jsr.io/@std/path/1.1.1/relative.js +0 -30
  459. package/esm/deps/jsr.io/@std/path/1.1.1/resolve.js +0 -30
  460. package/esm/deps/jsr.io/@std/path/1.1.1/to_file_url.js +0 -28
  461. package/esm/deps/jsr.io/@std/path/1.1.1/to_namespaced_path.js +0 -29
  462. package/esm/deps/jsr.io/@std/path/1.1.1/types.js +0 -3
  463. package/esm/deps/jsr.io/@std/path/1.1.1/windows/_util.js +0 -15
  464. package/esm/deps/jsr.io/@std/path/1.1.1/windows/basename.js +0 -47
  465. package/esm/deps/jsr.io/@std/path/1.1.1/windows/constants.js +0 -14
  466. package/esm/deps/jsr.io/@std/path/1.1.1/windows/dirname.js +0 -113
  467. package/esm/deps/jsr.io/@std/path/1.1.1/windows/extname.js +0 -82
  468. package/esm/deps/jsr.io/@std/path/1.1.1/windows/format.js +0 -28
  469. package/esm/deps/jsr.io/@std/path/1.1.1/windows/from_file_url.js +0 -30
  470. package/esm/deps/jsr.io/@std/path/1.1.1/windows/glob_to_regexp.js +0 -82
  471. package/esm/deps/jsr.io/@std/path/1.1.1/windows/is_absolute.js +0 -38
  472. package/esm/deps/jsr.io/@std/path/1.1.1/windows/join.js +0 -77
  473. package/esm/deps/jsr.io/@std/path/1.1.1/windows/join_globs.js +0 -41
  474. package/esm/deps/jsr.io/@std/path/1.1.1/windows/normalize.js +0 -135
  475. package/esm/deps/jsr.io/@std/path/1.1.1/windows/normalize_glob.js +0 -32
  476. package/esm/deps/jsr.io/@std/path/1.1.1/windows/parse.js +0 -176
  477. package/esm/deps/jsr.io/@std/path/1.1.1/windows/relative.js +0 -131
  478. package/esm/deps/jsr.io/@std/path/1.1.1/windows/resolve.js +0 -154
  479. package/esm/deps/jsr.io/@std/path/1.1.1/windows/to_file_url.js +0 -34
  480. package/esm/deps/jsr.io/@std/path/1.1.1/windows/to_namespaced_path.js +0 -49
  481. package/esm/deps/jsr.io/@std/yaml/1.0.9/_chars.js +0 -48
  482. package/esm/deps/jsr.io/@std/yaml/1.0.9/_dumper_state.js +0 -716
  483. package/esm/deps/jsr.io/@std/yaml/1.0.9/_loader_state.js +0 -1427
  484. package/esm/deps/jsr.io/@std/yaml/1.0.9/_schema.js +0 -107
  485. package/esm/deps/jsr.io/@std/yaml/1.0.9/_type/bool.js +0 -32
  486. package/esm/deps/jsr.io/@std/yaml/1.0.9/_type/float.js +0 -96
  487. package/esm/deps/jsr.io/@std/yaml/1.0.9/_type/int.js +0 -159
  488. package/esm/deps/jsr.io/@std/yaml/1.0.9/_type/map.js +0 -14
  489. package/esm/deps/jsr.io/@std/yaml/1.0.9/_type/merge.js +0 -10
  490. package/esm/deps/jsr.io/@std/yaml/1.0.9/_type/nil.js +0 -22
  491. package/esm/deps/jsr.io/@std/yaml/1.0.9/_type/omap.js +0 -29
  492. package/esm/deps/jsr.io/@std/yaml/1.0.9/_type/pairs.js +0 -19
  493. package/esm/deps/jsr.io/@std/yaml/1.0.9/_type/regexp.js +0 -30
  494. package/esm/deps/jsr.io/@std/yaml/1.0.9/_type/seq.js +0 -10
  495. package/esm/deps/jsr.io/@std/yaml/1.0.9/_type/set.js +0 -14
  496. package/esm/deps/jsr.io/@std/yaml/1.0.9/_type/str.js +0 -9
  497. package/esm/deps/jsr.io/@std/yaml/1.0.9/_type/timestamp.js +0 -81
  498. package/esm/deps/jsr.io/@std/yaml/1.0.9/_type/undefined.js +0 -20
  499. package/esm/deps/jsr.io/@std/yaml/1.0.9/_type.js +0 -6
  500. package/esm/deps/jsr.io/@std/yaml/1.0.9/_utils.js +0 -13
  501. package/esm/deps/jsr.io/@std/yaml/1.0.9/mod.js +0 -52
  502. package/esm/deps/jsr.io/@std/yaml/1.0.9/parse.js +0 -93
  503. package/esm/deps/jsr.io/@std/yaml/1.0.9/stringify.js +0 -33
  504. package/esm/dev.js +0 -145
  505. package/esm/flow.js +0 -236
  506. package/esm/folder.js +0 -101
  507. package/esm/gitsync-settings.js +0 -984
  508. package/esm/hub.js +0 -65
  509. package/esm/instance.js +0 -569
  510. package/esm/login.js +0 -100
  511. package/esm/main.js +0 -337
  512. package/esm/metadata.js +0 -623
  513. package/esm/pull.js +0 -37
  514. package/esm/queues.js +0 -117
  515. package/esm/resource-type.js +0 -85
  516. package/esm/resource.js +0 -93
  517. package/esm/schedule.js +0 -101
  518. package/esm/script.js +0 -753
  519. package/esm/settings.js +0 -432
  520. package/esm/store.js +0 -76
  521. package/esm/sync.js +0 -1662
  522. package/esm/trigger.js +0 -182
  523. package/esm/types.js +0 -223
  524. package/esm/upgrade.js +0 -48
  525. package/esm/user.js +0 -428
  526. package/esm/utils.js +0 -168
  527. package/esm/variable.js +0 -121
  528. package/esm/worker_groups.js +0 -96
  529. package/esm/workers.js +0 -79
  530. package/esm/workspace.js +0 -314
  531. package/types/apps.d.ts +0 -17
  532. package/types/apps.d.ts.map +0 -1
  533. package/types/auth.d.ts +0 -8
  534. package/types/auth.d.ts.map +0 -1
  535. package/types/codebase.d.ts +0 -6
  536. package/types/codebase.d.ts.map +0 -1
  537. package/types/conf.d.ts +0 -55
  538. package/types/conf.d.ts.map +0 -1
  539. package/types/context.d.ts +0 -13
  540. package/types/context.d.ts.map +0 -1
  541. package/types/deps/jsr.io/@std/bytes/1.0.6/_types.d.ts.map +0 -1
  542. package/types/deps/jsr.io/@std/bytes/1.0.6/concat.d.ts +0 -21
  543. package/types/deps/jsr.io/@std/bytes/1.0.6/concat.d.ts.map +0 -1
  544. package/types/deps/jsr.io/@std/fmt/1.0.8/colors.d.ts.map +0 -1
  545. package/types/deps/jsr.io/@std/fs/1.0.19/_create_walk_entry.d.ts.map +0 -1
  546. package/types/deps/jsr.io/@std/fs/1.0.19/_get_file_info_type.d.ts.map +0 -1
  547. package/types/deps/jsr.io/@std/fs/1.0.19/_is_same_path.d.ts.map +0 -1
  548. package/types/deps/jsr.io/@std/fs/1.0.19/_is_subdir.d.ts.map +0 -1
  549. package/types/deps/jsr.io/@std/fs/1.0.19/_to_path_string.d.ts.map +0 -1
  550. package/types/deps/jsr.io/@std/fs/1.0.19/copy.d.ts.map +0 -1
  551. package/types/deps/jsr.io/@std/fs/1.0.19/empty_dir.d.ts.map +0 -1
  552. package/types/deps/jsr.io/@std/fs/1.0.19/ensure_dir.d.ts.map +0 -1
  553. package/types/deps/jsr.io/@std/fs/1.0.19/ensure_file.d.ts.map +0 -1
  554. package/types/deps/jsr.io/@std/fs/1.0.19/ensure_link.d.ts.map +0 -1
  555. package/types/deps/jsr.io/@std/fs/1.0.19/ensure_symlink.d.ts.map +0 -1
  556. package/types/deps/jsr.io/@std/fs/1.0.19/eol.d.ts.map +0 -1
  557. package/types/deps/jsr.io/@std/fs/1.0.19/exists.d.ts.map +0 -1
  558. package/types/deps/jsr.io/@std/fs/1.0.19/expand_glob.d.ts +0 -267
  559. package/types/deps/jsr.io/@std/fs/1.0.19/expand_glob.d.ts.map +0 -1
  560. package/types/deps/jsr.io/@std/fs/1.0.19/mod.d.ts.map +0 -1
  561. package/types/deps/jsr.io/@std/fs/1.0.19/move.d.ts.map +0 -1
  562. package/types/deps/jsr.io/@std/fs/1.0.19/walk.d.ts.map +0 -1
  563. package/types/deps/jsr.io/@std/internal/1.0.10/_os.d.ts +0 -2
  564. package/types/deps/jsr.io/@std/internal/1.0.10/_os.d.ts.map +0 -1
  565. package/types/deps/jsr.io/@std/internal/1.0.10/os.d.ts +0 -3
  566. package/types/deps/jsr.io/@std/internal/1.0.10/os.d.ts.map +0 -1
  567. package/types/deps/jsr.io/@std/path/1.1.1/_common/assert_path.d.ts.map +0 -1
  568. package/types/deps/jsr.io/@std/path/1.1.1/_common/basename.d.ts.map +0 -1
  569. package/types/deps/jsr.io/@std/path/1.1.1/_common/common.d.ts.map +0 -1
  570. package/types/deps/jsr.io/@std/path/1.1.1/_common/constants.d.ts.map +0 -1
  571. package/types/deps/jsr.io/@std/path/1.1.1/_common/dirname.d.ts.map +0 -1
  572. package/types/deps/jsr.io/@std/path/1.1.1/_common/format.d.ts.map +0 -1
  573. package/types/deps/jsr.io/@std/path/1.1.1/_common/from_file_url.d.ts.map +0 -1
  574. package/types/deps/jsr.io/@std/path/1.1.1/_common/glob_to_reg_exp.d.ts.map +0 -1
  575. package/types/deps/jsr.io/@std/path/1.1.1/_common/normalize.d.ts.map +0 -1
  576. package/types/deps/jsr.io/@std/path/1.1.1/_common/normalize_string.d.ts.map +0 -1
  577. package/types/deps/jsr.io/@std/path/1.1.1/_common/relative.d.ts.map +0 -1
  578. package/types/deps/jsr.io/@std/path/1.1.1/_common/strip_trailing_separators.d.ts.map +0 -1
  579. package/types/deps/jsr.io/@std/path/1.1.1/_common/to_file_url.d.ts.map +0 -1
  580. package/types/deps/jsr.io/@std/path/1.1.1/basename.d.ts +0 -27
  581. package/types/deps/jsr.io/@std/path/1.1.1/basename.d.ts.map +0 -1
  582. package/types/deps/jsr.io/@std/path/1.1.1/common.d.ts.map +0 -1
  583. package/types/deps/jsr.io/@std/path/1.1.1/constants.d.ts.map +0 -1
  584. package/types/deps/jsr.io/@std/path/1.1.1/dirname.d.ts +0 -22
  585. package/types/deps/jsr.io/@std/path/1.1.1/dirname.d.ts.map +0 -1
  586. package/types/deps/jsr.io/@std/path/1.1.1/extname.d.ts +0 -22
  587. package/types/deps/jsr.io/@std/path/1.1.1/extname.d.ts.map +0 -1
  588. package/types/deps/jsr.io/@std/path/1.1.1/format.d.ts.map +0 -1
  589. package/types/deps/jsr.io/@std/path/1.1.1/from_file_url.d.ts.map +0 -1
  590. package/types/deps/jsr.io/@std/path/1.1.1/glob_to_regexp.d.ts.map +0 -1
  591. package/types/deps/jsr.io/@std/path/1.1.1/is_absolute.d.ts.map +0 -1
  592. package/types/deps/jsr.io/@std/path/1.1.1/is_glob.d.ts.map +0 -1
  593. package/types/deps/jsr.io/@std/path/1.1.1/join.d.ts +0 -23
  594. package/types/deps/jsr.io/@std/path/1.1.1/join.d.ts.map +0 -1
  595. package/types/deps/jsr.io/@std/path/1.1.1/join_globs.d.ts.map +0 -1
  596. package/types/deps/jsr.io/@std/path/1.1.1/mod.d.ts +0 -213
  597. package/types/deps/jsr.io/@std/path/1.1.1/mod.d.ts.map +0 -1
  598. package/types/deps/jsr.io/@std/path/1.1.1/normalize.d.ts +0 -26
  599. package/types/deps/jsr.io/@std/path/1.1.1/normalize.d.ts.map +0 -1
  600. package/types/deps/jsr.io/@std/path/1.1.1/normalize_glob.d.ts.map +0 -1
  601. package/types/deps/jsr.io/@std/path/1.1.1/parse.d.ts.map +0 -1
  602. package/types/deps/jsr.io/@std/path/1.1.1/posix/_util.d.ts.map +0 -1
  603. package/types/deps/jsr.io/@std/path/1.1.1/posix/basename.d.ts +0 -39
  604. package/types/deps/jsr.io/@std/path/1.1.1/posix/basename.d.ts.map +0 -1
  605. package/types/deps/jsr.io/@std/path/1.1.1/posix/constants.d.ts.map +0 -1
  606. package/types/deps/jsr.io/@std/path/1.1.1/posix/dirname.d.ts +0 -30
  607. package/types/deps/jsr.io/@std/path/1.1.1/posix/dirname.d.ts.map +0 -1
  608. package/types/deps/jsr.io/@std/path/1.1.1/posix/extname.d.ts +0 -37
  609. package/types/deps/jsr.io/@std/path/1.1.1/posix/extname.d.ts.map +0 -1
  610. package/types/deps/jsr.io/@std/path/1.1.1/posix/format.d.ts.map +0 -1
  611. package/types/deps/jsr.io/@std/path/1.1.1/posix/from_file_url.d.ts.map +0 -1
  612. package/types/deps/jsr.io/@std/path/1.1.1/posix/glob_to_regexp.d.ts.map +0 -1
  613. package/types/deps/jsr.io/@std/path/1.1.1/posix/is_absolute.d.ts.map +0 -1
  614. package/types/deps/jsr.io/@std/path/1.1.1/posix/join.d.ts +0 -31
  615. package/types/deps/jsr.io/@std/path/1.1.1/posix/join.d.ts.map +0 -1
  616. package/types/deps/jsr.io/@std/path/1.1.1/posix/join_globs.d.ts.map +0 -1
  617. package/types/deps/jsr.io/@std/path/1.1.1/posix/normalize.d.ts +0 -37
  618. package/types/deps/jsr.io/@std/path/1.1.1/posix/normalize.d.ts.map +0 -1
  619. package/types/deps/jsr.io/@std/path/1.1.1/posix/normalize_glob.d.ts.map +0 -1
  620. package/types/deps/jsr.io/@std/path/1.1.1/posix/parse.d.ts.map +0 -1
  621. package/types/deps/jsr.io/@std/path/1.1.1/posix/relative.d.ts.map +0 -1
  622. package/types/deps/jsr.io/@std/path/1.1.1/posix/resolve.d.ts.map +0 -1
  623. package/types/deps/jsr.io/@std/path/1.1.1/posix/to_file_url.d.ts.map +0 -1
  624. package/types/deps/jsr.io/@std/path/1.1.1/posix/to_namespaced_path.d.ts.map +0 -1
  625. package/types/deps/jsr.io/@std/path/1.1.1/relative.d.ts.map +0 -1
  626. package/types/deps/jsr.io/@std/path/1.1.1/resolve.d.ts.map +0 -1
  627. package/types/deps/jsr.io/@std/path/1.1.1/to_file_url.d.ts.map +0 -1
  628. package/types/deps/jsr.io/@std/path/1.1.1/to_namespaced_path.d.ts.map +0 -1
  629. package/types/deps/jsr.io/@std/path/1.1.1/types.d.ts.map +0 -1
  630. package/types/deps/jsr.io/@std/path/1.1.1/windows/_util.d.ts.map +0 -1
  631. package/types/deps/jsr.io/@std/path/1.1.1/windows/basename.d.ts +0 -22
  632. package/types/deps/jsr.io/@std/path/1.1.1/windows/basename.d.ts.map +0 -1
  633. package/types/deps/jsr.io/@std/path/1.1.1/windows/constants.d.ts.map +0 -1
  634. package/types/deps/jsr.io/@std/path/1.1.1/windows/dirname.d.ts +0 -17
  635. package/types/deps/jsr.io/@std/path/1.1.1/windows/dirname.d.ts.map +0 -1
  636. package/types/deps/jsr.io/@std/path/1.1.1/windows/extname.d.ts +0 -17
  637. package/types/deps/jsr.io/@std/path/1.1.1/windows/extname.d.ts.map +0 -1
  638. package/types/deps/jsr.io/@std/path/1.1.1/windows/format.d.ts.map +0 -1
  639. package/types/deps/jsr.io/@std/path/1.1.1/windows/from_file_url.d.ts.map +0 -1
  640. package/types/deps/jsr.io/@std/path/1.1.1/windows/glob_to_regexp.d.ts.map +0 -1
  641. package/types/deps/jsr.io/@std/path/1.1.1/windows/is_absolute.d.ts.map +0 -1
  642. package/types/deps/jsr.io/@std/path/1.1.1/windows/join.d.ts +0 -18
  643. package/types/deps/jsr.io/@std/path/1.1.1/windows/join.d.ts.map +0 -1
  644. package/types/deps/jsr.io/@std/path/1.1.1/windows/join_globs.d.ts.map +0 -1
  645. package/types/deps/jsr.io/@std/path/1.1.1/windows/normalize.d.ts +0 -19
  646. package/types/deps/jsr.io/@std/path/1.1.1/windows/normalize.d.ts.map +0 -1
  647. package/types/deps/jsr.io/@std/path/1.1.1/windows/normalize_glob.d.ts.map +0 -1
  648. package/types/deps/jsr.io/@std/path/1.1.1/windows/parse.d.ts.map +0 -1
  649. package/types/deps/jsr.io/@std/path/1.1.1/windows/relative.d.ts.map +0 -1
  650. package/types/deps/jsr.io/@std/path/1.1.1/windows/resolve.d.ts.map +0 -1
  651. package/types/deps/jsr.io/@std/path/1.1.1/windows/to_file_url.d.ts.map +0 -1
  652. package/types/deps/jsr.io/@std/path/1.1.1/windows/to_namespaced_path.d.ts.map +0 -1
  653. package/types/deps/jsr.io/@std/yaml/1.0.9/_chars.d.ts.map +0 -1
  654. package/types/deps/jsr.io/@std/yaml/1.0.9/_dumper_state.d.ts +0 -106
  655. package/types/deps/jsr.io/@std/yaml/1.0.9/_dumper_state.d.ts.map +0 -1
  656. package/types/deps/jsr.io/@std/yaml/1.0.9/_loader_state.d.ts +0 -66
  657. package/types/deps/jsr.io/@std/yaml/1.0.9/_loader_state.d.ts.map +0 -1
  658. package/types/deps/jsr.io/@std/yaml/1.0.9/_schema.d.ts.map +0 -1
  659. package/types/deps/jsr.io/@std/yaml/1.0.9/_type/binary.d.ts.map +0 -1
  660. package/types/deps/jsr.io/@std/yaml/1.0.9/_type/bool.d.ts.map +0 -1
  661. package/types/deps/jsr.io/@std/yaml/1.0.9/_type/float.d.ts.map +0 -1
  662. package/types/deps/jsr.io/@std/yaml/1.0.9/_type/int.d.ts.map +0 -1
  663. package/types/deps/jsr.io/@std/yaml/1.0.9/_type/map.d.ts.map +0 -1
  664. package/types/deps/jsr.io/@std/yaml/1.0.9/_type/merge.d.ts.map +0 -1
  665. package/types/deps/jsr.io/@std/yaml/1.0.9/_type/nil.d.ts.map +0 -1
  666. package/types/deps/jsr.io/@std/yaml/1.0.9/_type/omap.d.ts.map +0 -1
  667. package/types/deps/jsr.io/@std/yaml/1.0.9/_type/pairs.d.ts.map +0 -1
  668. package/types/deps/jsr.io/@std/yaml/1.0.9/_type/regexp.d.ts.map +0 -1
  669. package/types/deps/jsr.io/@std/yaml/1.0.9/_type/seq.d.ts.map +0 -1
  670. package/types/deps/jsr.io/@std/yaml/1.0.9/_type/set.d.ts.map +0 -1
  671. package/types/deps/jsr.io/@std/yaml/1.0.9/_type/str.d.ts.map +0 -1
  672. package/types/deps/jsr.io/@std/yaml/1.0.9/_type/timestamp.d.ts.map +0 -1
  673. package/types/deps/jsr.io/@std/yaml/1.0.9/_type/undefined.d.ts.map +0 -1
  674. package/types/deps/jsr.io/@std/yaml/1.0.9/_type.d.ts.map +0 -1
  675. package/types/deps/jsr.io/@std/yaml/1.0.9/_utils.d.ts.map +0 -1
  676. package/types/deps/jsr.io/@std/yaml/1.0.9/mod.d.ts.map +0 -1
  677. package/types/deps/jsr.io/@std/yaml/1.0.9/parse.d.ts.map +0 -1
  678. package/types/deps/jsr.io/@std/yaml/1.0.9/stringify.d.ts.map +0 -1
  679. package/types/dev.d.ts +0 -12
  680. package/types/dev.d.ts.map +0 -1
  681. package/types/flow.d.ts +0 -28
  682. package/types/flow.d.ts.map +0 -1
  683. package/types/flow_guidance.d.ts.map +0 -1
  684. package/types/folder.d.ts +0 -19
  685. package/types/folder.d.ts.map +0 -1
  686. package/types/gitsync-settings.d.ts +0 -40
  687. package/types/gitsync-settings.d.ts.map +0 -1
  688. package/types/hub.d.ts +0 -12
  689. package/types/hub.d.ts.map +0 -1
  690. package/types/instance.d.ts +0 -46
  691. package/types/instance.d.ts.map +0 -1
  692. package/types/local_encryption.d.ts.map +0 -1
  693. package/types/login.d.ts +0 -5
  694. package/types/login.d.ts.map +0 -1
  695. package/types/main.d.ts +0 -70
  696. package/types/main.d.ts.map +0 -1
  697. package/types/metadata.d.ts +0 -52
  698. package/types/metadata.d.ts.map +0 -1
  699. package/types/pull.d.ts +0 -12
  700. package/types/pull.d.ts.map +0 -1
  701. package/types/queues.d.ts +0 -14
  702. package/types/queues.d.ts.map +0 -1
  703. package/types/resource-type.d.ts +0 -16
  704. package/types/resource-type.d.ts.map +0 -1
  705. package/types/resource.d.ts +0 -18
  706. package/types/resource.d.ts.map +0 -1
  707. package/types/schedule.d.ts +0 -21
  708. package/types/schedule.d.ts.map +0 -1
  709. package/types/script.d.ts +0 -51
  710. package/types/script.d.ts.map +0 -1
  711. package/types/script_common.d.ts.map +0 -1
  712. package/types/script_guidance.d.ts.map +0 -1
  713. package/types/settings.d.ts +0 -30
  714. package/types/settings.d.ts.map +0 -1
  715. package/types/store.d.ts +0 -3
  716. package/types/store.d.ts.map +0 -1
  717. package/types/sync.d.ts +0 -130
  718. package/types/sync.d.ts.map +0 -1
  719. package/types/trigger.d.ts +0 -24
  720. package/types/trigger.d.ts.map +0 -1
  721. package/types/types.d.ts.map +0 -1
  722. package/types/upgrade.d.ts +0 -21
  723. package/types/upgrade.d.ts.map +0 -1
  724. package/types/user.d.ts +0 -34
  725. package/types/user.d.ts.map +0 -1
  726. package/types/utils.d.ts +0 -19
  727. package/types/utils.d.ts.map +0 -1
  728. package/types/variable.d.ts +0 -23
  729. package/types/variable.d.ts.map +0 -1
  730. package/types/worker_groups.d.ts +0 -24
  731. package/types/worker_groups.d.ts.map +0 -1
  732. package/types/workers.d.ts +0 -14
  733. package/types/workers.d.ts.map +0 -1
  734. package/types/workspace.d.ts +0 -28
  735. package/types/workspace.d.ts.map +0 -1
  736. /package/esm/deps/jsr.io/@std/bytes/{1.0.6 → 1.0.5}/_types.js +0 -0
  737. /package/esm/deps/jsr.io/@std/bytes/{1.0.6 → 1.0.5}/concat.js +0 -0
  738. /package/esm/deps/jsr.io/@std/fmt/{1.0.8 → 1.0.6}/colors.js +0 -0
  739. /package/esm/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/_get_file_info_type.js +0 -0
  740. /package/esm/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/ensure_dir.js +0 -0
  741. /package/esm/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/eol.js +0 -0
  742. /package/esm/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/exists.js +0 -0
  743. /package/esm/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/mod.js +0 -0
  744. /package/esm/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/move.js +0 -0
  745. /package/esm/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/binary.js +0 -0
  746. /package/esm/{flow_guidance.js → src/guidance/flow_guidance.js} +0 -0
  747. /package/esm/{script_guidance.js → src/guidance/script_guidance.js} +0 -0
  748. /package/esm/{local_encryption.js → src/utils/local_encryption.js} +0 -0
  749. /package/esm/{script_common.js → src/utils/script_common.js} +0 -0
  750. /package/types/deps/jsr.io/@std/bytes/{1.0.6 → 1.0.5}/_types.d.ts +0 -0
  751. /package/types/deps/jsr.io/@std/fmt/{1.0.8 → 1.0.6}/colors.d.ts +0 -0
  752. /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/_create_walk_entry.d.ts +0 -0
  753. /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/_get_file_info_type.d.ts +0 -0
  754. /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/_is_same_path.d.ts +0 -0
  755. /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/_is_subdir.d.ts +0 -0
  756. /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/_to_path_string.d.ts +0 -0
  757. /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/copy.d.ts +0 -0
  758. /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/empty_dir.d.ts +0 -0
  759. /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/ensure_dir.d.ts +0 -0
  760. /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/ensure_file.d.ts +0 -0
  761. /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/ensure_link.d.ts +0 -0
  762. /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/ensure_symlink.d.ts +0 -0
  763. /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/eol.d.ts +0 -0
  764. /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/exists.d.ts +0 -0
  765. /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/mod.d.ts +0 -0
  766. /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/move.d.ts +0 -0
  767. /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/walk.d.ts +0 -0
  768. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/_common/assert_path.d.ts +0 -0
  769. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/_common/basename.d.ts +0 -0
  770. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/_common/common.d.ts +0 -0
  771. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/_common/constants.d.ts +0 -0
  772. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/_common/dirname.d.ts +0 -0
  773. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/_common/format.d.ts +0 -0
  774. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/_common/from_file_url.d.ts +0 -0
  775. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/_common/glob_to_reg_exp.d.ts +0 -0
  776. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/_common/normalize.d.ts +0 -0
  777. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/_common/normalize_string.d.ts +0 -0
  778. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/_common/relative.d.ts +0 -0
  779. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/_common/strip_trailing_separators.d.ts +0 -0
  780. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/_common/to_file_url.d.ts +0 -0
  781. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/common.d.ts +0 -0
  782. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/constants.d.ts +0 -0
  783. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/format.d.ts +0 -0
  784. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/from_file_url.d.ts +0 -0
  785. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/glob_to_regexp.d.ts +0 -0
  786. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/is_absolute.d.ts +0 -0
  787. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/is_glob.d.ts +0 -0
  788. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/join_globs.d.ts +0 -0
  789. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/normalize_glob.d.ts +0 -0
  790. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/parse.d.ts +0 -0
  791. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/posix/_util.d.ts +0 -0
  792. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/posix/constants.d.ts +0 -0
  793. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/posix/format.d.ts +0 -0
  794. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/posix/from_file_url.d.ts +0 -0
  795. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/posix/glob_to_regexp.d.ts +0 -0
  796. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/posix/is_absolute.d.ts +0 -0
  797. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/posix/join_globs.d.ts +0 -0
  798. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/posix/normalize_glob.d.ts +0 -0
  799. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/posix/parse.d.ts +0 -0
  800. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/posix/relative.d.ts +0 -0
  801. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/posix/resolve.d.ts +0 -0
  802. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/posix/to_file_url.d.ts +0 -0
  803. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/posix/to_namespaced_path.d.ts +0 -0
  804. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/relative.d.ts +0 -0
  805. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/resolve.d.ts +0 -0
  806. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/to_file_url.d.ts +0 -0
  807. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/to_namespaced_path.d.ts +0 -0
  808. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/types.d.ts +0 -0
  809. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/windows/_util.d.ts +0 -0
  810. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/windows/constants.d.ts +0 -0
  811. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/windows/format.d.ts +0 -0
  812. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/windows/from_file_url.d.ts +0 -0
  813. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/windows/glob_to_regexp.d.ts +0 -0
  814. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/windows/is_absolute.d.ts +0 -0
  815. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/windows/join_globs.d.ts +0 -0
  816. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/windows/normalize_glob.d.ts +0 -0
  817. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/windows/parse.d.ts +0 -0
  818. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/windows/relative.d.ts +0 -0
  819. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/windows/resolve.d.ts +0 -0
  820. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/windows/to_file_url.d.ts +0 -0
  821. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/windows/to_namespaced_path.d.ts +0 -0
  822. /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_chars.d.ts +0 -0
  823. /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_schema.d.ts +0 -0
  824. /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/binary.d.ts +0 -0
  825. /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/bool.d.ts +0 -0
  826. /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/float.d.ts +0 -0
  827. /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/int.d.ts +0 -0
  828. /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/map.d.ts +0 -0
  829. /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/merge.d.ts +0 -0
  830. /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/nil.d.ts +0 -0
  831. /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/omap.d.ts +0 -0
  832. /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/pairs.d.ts +0 -0
  833. /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/regexp.d.ts +0 -0
  834. /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/seq.d.ts +0 -0
  835. /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/set.d.ts +0 -0
  836. /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/str.d.ts +0 -0
  837. /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/timestamp.d.ts +0 -0
  838. /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/undefined.d.ts +0 -0
  839. /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type.d.ts +0 -0
  840. /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_utils.d.ts +0 -0
  841. /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/mod.d.ts +0 -0
  842. /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/parse.d.ts +0 -0
  843. /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/stringify.d.ts +0 -0
  844. /package/types/{flow_guidance.d.ts → src/guidance/flow_guidance.d.ts} +0 -0
  845. /package/types/{script_guidance.d.ts → src/guidance/script_guidance.d.ts} +0 -0
  846. /package/types/{types.d.ts → src/types.d.ts} +0 -0
  847. /package/types/{local_encryption.d.ts → src/utils/local_encryption.d.ts} +0 -0
  848. /package/types/{script_common.d.ts → src/utils/script_common.d.ts} +0 -0
@@ -0,0 +1,707 @@
1
+ // Ported from js-yaml v3.13.1:
2
+ // https://github.com/nodeca/js-yaml/commit/665aadda42349dcae869f12040d9b10ef18d12da
3
+ // Copyright 2011-2015 by Vitaly Puzrin. All rights reserved. MIT license.
4
+ // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
5
+ import { AMPERSAND, ASTERISK, BOM, COLON, COMMA, COMMERCIAL_AT, DOUBLE_QUOTE, EXCLAMATION, GRAVE_ACCENT, GREATER_THAN, isWhiteSpace, LEFT_CURLY_BRACKET, LEFT_SQUARE_BRACKET, LINE_FEED, MINUS, PERCENT, QUESTION, RIGHT_CURLY_BRACKET, RIGHT_SQUARE_BRACKET, SHARP, SINGLE_QUOTE, VERTICAL_LINE, } from "./_chars.js";
6
+ import { DEFAULT_SCHEMA } from "./_schema.js";
7
+ import { isObject } from "./_utils.js";
8
+ const STYLE_PLAIN = 1;
9
+ const STYLE_SINGLE = 2;
10
+ const STYLE_LITERAL = 3;
11
+ const STYLE_FOLDED = 4;
12
+ const STYLE_DOUBLE = 5;
13
+ const LEADING_SPACE_REGEXP = /^\n* /;
14
+ const ESCAPE_SEQUENCES = new Map([
15
+ [0x00, "\\0"],
16
+ [0x07, "\\a"],
17
+ [0x08, "\\b"],
18
+ [0x09, "\\t"],
19
+ [0x0a, "\\n"],
20
+ [0x0b, "\\v"],
21
+ [0x0c, "\\f"],
22
+ [0x0d, "\\r"],
23
+ [0x1b, "\\e"],
24
+ [0x22, '\\"'],
25
+ [0x5c, "\\\\"],
26
+ [0x85, "\\N"],
27
+ [0xa0, "\\_"],
28
+ [0x2028, "\\L"],
29
+ [0x2029, "\\P"],
30
+ ]);
31
+ const DEPRECATED_BOOLEANS_SYNTAX = [
32
+ "y",
33
+ "Y",
34
+ "yes",
35
+ "Yes",
36
+ "YES",
37
+ "on",
38
+ "On",
39
+ "ON",
40
+ "n",
41
+ "N",
42
+ "no",
43
+ "No",
44
+ "NO",
45
+ "off",
46
+ "Off",
47
+ "OFF",
48
+ ];
49
+ /**
50
+ * Encodes a Unicode character code point as a hexadecimal escape sequence.
51
+ */
52
+ function charCodeToHexString(charCode) {
53
+ const hexString = charCode.toString(16).toUpperCase();
54
+ if (charCode <= 0xff)
55
+ return `\\x${hexString.padStart(2, "0")}`;
56
+ if (charCode <= 0xffff)
57
+ return `\\u${hexString.padStart(4, "0")}`;
58
+ if (charCode <= 0xffffffff)
59
+ return `\\U${hexString.padStart(8, "0")}`;
60
+ throw new Error("Code point within a string may not be greater than 0xFFFFFFFF");
61
+ }
62
+ function createStyleMap(map) {
63
+ const result = new Map();
64
+ for (let tag of Object.keys(map)) {
65
+ const style = String(map[tag]);
66
+ if (tag.slice(0, 2) === "!!") {
67
+ tag = `tag:yaml.org,2002:${tag.slice(2)}`;
68
+ }
69
+ result.set(tag, style);
70
+ }
71
+ return result;
72
+ }
73
+ // Indents every line in a string. Empty lines (\n only) are not indented.
74
+ function indentString(string, spaces) {
75
+ const indent = " ".repeat(spaces);
76
+ return string
77
+ .split("\n")
78
+ .map((line) => line.length ? indent + line : line)
79
+ .join("\n");
80
+ }
81
+ function generateNextLine(indent, level) {
82
+ return `\n${" ".repeat(indent * level)}`;
83
+ }
84
+ /**
85
+ * @link https://yaml.org/spec/1.2.2/ 5.1. Character Set
86
+ * @return `true` if the character is printable without escaping, `false` otherwise.
87
+ */
88
+ function isPrintable(c) {
89
+ return ((0x00020 <= c && c <= 0x00007e) ||
90
+ (0x000a1 <= c && c <= 0x00d7ff && c !== 0x2028 && c !== 0x2029) ||
91
+ (0x0e000 <= c && c <= 0x00fffd && c !== BOM) ||
92
+ (0x10000 <= c && c <= 0x10ffff));
93
+ }
94
+ /**
95
+ * @return `true` if value is allowed after the first character in plain style, `false` otherwise.
96
+ */
97
+ function isPlainSafe(c) {
98
+ return (isPrintable(c) &&
99
+ c !== BOM &&
100
+ c !== COMMA &&
101
+ c !== LEFT_SQUARE_BRACKET &&
102
+ c !== RIGHT_SQUARE_BRACKET &&
103
+ c !== LEFT_CURLY_BRACKET &&
104
+ c !== RIGHT_CURLY_BRACKET &&
105
+ c !== COLON &&
106
+ c !== SHARP);
107
+ }
108
+ /**
109
+ * @return `true` if value is allowed as the first character in plain style, `false` otherwise.
110
+ */
111
+ function isPlainSafeFirst(c) {
112
+ return (isPlainSafe(c) &&
113
+ !isWhiteSpace(c) &&
114
+ c !== MINUS &&
115
+ c !== QUESTION &&
116
+ c !== AMPERSAND &&
117
+ c !== ASTERISK &&
118
+ c !== EXCLAMATION &&
119
+ c !== VERTICAL_LINE &&
120
+ c !== GREATER_THAN &&
121
+ c !== SINGLE_QUOTE &&
122
+ c !== DOUBLE_QUOTE &&
123
+ c !== PERCENT &&
124
+ c !== COMMERCIAL_AT &&
125
+ c !== GRAVE_ACCENT);
126
+ }
127
+ // Determines whether block indentation indicator is required.
128
+ function needIndentIndicator(string) {
129
+ return LEADING_SPACE_REGEXP.test(string);
130
+ }
131
+ // Determines which scalar styles are possible and returns the preferred style.
132
+ // lineWidth = -1 => no limit.
133
+ // Pre-conditions: str.length > 0.
134
+ // Post-conditions:
135
+ // STYLE_PLAIN or STYLE_SINGLE => no \n are in the string.
136
+ // STYLE_LITERAL => no lines are suitable for folding (or lineWidth is -1).
137
+ // STYLE_FOLDED => a line > lineWidth and can be folded (and lineWidth !== -1).
138
+ function chooseScalarStyle(string, singleLineOnly, indentPerLevel, lineWidth, implicitTypes) {
139
+ const shouldTrackWidth = lineWidth !== -1;
140
+ let hasLineBreak = false;
141
+ let hasFoldableLine = false; // only checked if shouldTrackWidth
142
+ let previousLineBreak = -1; // count the first line correctly
143
+ let plain = isPlainSafeFirst(string.charCodeAt(0)) &&
144
+ !isWhiteSpace(string.charCodeAt(string.length - 1));
145
+ let char;
146
+ let i;
147
+ if (singleLineOnly) {
148
+ // Case: no block styles.
149
+ // Check for disallowed characters to rule out plain and single.
150
+ for (i = 0; i < string.length; i++) {
151
+ char = string.charCodeAt(i);
152
+ if (!isPrintable(char)) {
153
+ return STYLE_DOUBLE;
154
+ }
155
+ plain = plain && isPlainSafe(char);
156
+ }
157
+ }
158
+ else {
159
+ // Case: block styles permitted.
160
+ for (i = 0; i < string.length; i++) {
161
+ char = string.charCodeAt(i);
162
+ if (char === LINE_FEED) {
163
+ hasLineBreak = true;
164
+ // Check if any line can be folded.
165
+ if (shouldTrackWidth) {
166
+ hasFoldableLine = hasFoldableLine ||
167
+ // Foldable line = too long, and not more-indented.
168
+ (i - previousLineBreak - 1 > lineWidth &&
169
+ string[previousLineBreak + 1] !== " ");
170
+ previousLineBreak = i;
171
+ }
172
+ }
173
+ else if (!isPrintable(char)) {
174
+ return STYLE_DOUBLE;
175
+ }
176
+ plain = plain && isPlainSafe(char);
177
+ }
178
+ // in case the end is missing a \n
179
+ hasFoldableLine = hasFoldableLine ||
180
+ (shouldTrackWidth &&
181
+ i - previousLineBreak - 1 > lineWidth &&
182
+ string[previousLineBreak + 1] !== " ");
183
+ }
184
+ // Although every style can represent \n without escaping, prefer block styles
185
+ // for multiline, since they're more readable and they don't add empty lines.
186
+ // Also prefer folding a super-long line.
187
+ if (!hasLineBreak && !hasFoldableLine) {
188
+ // Strings interpretable as another type have to be quoted;
189
+ // e.g. the string 'true' vs. the boolean true.
190
+ return plain && !implicitTypes.some((type) => type.resolve(string))
191
+ ? STYLE_PLAIN
192
+ : STYLE_SINGLE;
193
+ }
194
+ // Edge case: block indentation indicator can only have one digit.
195
+ if (indentPerLevel > 9 && needIndentIndicator(string)) {
196
+ return STYLE_DOUBLE;
197
+ }
198
+ // At this point we know block styles are valid.
199
+ // Prefer literal style unless we want to fold.
200
+ return hasFoldableLine ? STYLE_FOLDED : STYLE_LITERAL;
201
+ }
202
+ // Greedy line breaking.
203
+ // Picks the longest line under the limit each time,
204
+ // otherwise settles for the shortest line over the limit.
205
+ // NB. More-indented lines *cannot* be folded, as that would add an extra \n.
206
+ function foldLine(line, width) {
207
+ if (line === "" || line[0] === " ")
208
+ return line;
209
+ // Since a more-indented line adds a \n, breaks can't be followed by a space.
210
+ const breakRegExp = / [^ ]/g; // note: the match index will always be <= length-2.
211
+ // start is an inclusive index. end, curr, and next are exclusive.
212
+ let start = 0;
213
+ let end;
214
+ let curr = 0;
215
+ let next = 0;
216
+ const lines = [];
217
+ // Invariants: 0 <= start <= length-1.
218
+ // 0 <= curr <= next <= max(0, length-2). curr - start <= width.
219
+ // Inside the loop:
220
+ // A match implies length >= 2, so curr and next are <= length-2.
221
+ for (const match of line.matchAll(breakRegExp)) {
222
+ next = match.index;
223
+ // maintain invariant: curr - start <= width
224
+ if (next - start > width) {
225
+ end = curr > start ? curr : next; // derive end <= length-2
226
+ lines.push(line.slice(start, end));
227
+ // skip the space that was output as \n
228
+ start = end + 1; // derive start <= length-1
229
+ }
230
+ curr = next;
231
+ }
232
+ // By the invariants, start <= length-1, so there is something left over.
233
+ // It is either the whole string or a part starting from non-whitespace.
234
+ // Insert a break if the remainder is too long and there is a break available.
235
+ if (line.length - start > width && curr > start) {
236
+ lines.push(line.slice(start, curr));
237
+ lines.push(line.slice(curr + 1));
238
+ }
239
+ else {
240
+ lines.push(line.slice(start));
241
+ }
242
+ return lines.join("\n");
243
+ }
244
+ function trimTrailingNewline(string) {
245
+ return string.at(-1) === "\n" ? string.slice(0, -1) : string;
246
+ }
247
+ // Note: a long line without a suitable break point will exceed the width limit.
248
+ // Pre-conditions: every char in str isPrintable, str.length > 0, width > 0.
249
+ function foldString(string, width) {
250
+ // In folded style, $k$ consecutive newlines output as $k+1$ newlines—
251
+ // unless they're before or after a more-indented line, or at the very
252
+ // beginning or end, in which case $k$ maps to $k$.
253
+ // Therefore, parse each chunk as newline(s) followed by a content line.
254
+ const lineRe = /(\n+)([^\n]*)/g;
255
+ // first line (possibly an empty line)
256
+ let result = (() => {
257
+ let nextLF = string.indexOf("\n");
258
+ nextLF = nextLF !== -1 ? nextLF : string.length;
259
+ lineRe.lastIndex = nextLF;
260
+ return foldLine(string.slice(0, nextLF), width);
261
+ })();
262
+ // If we haven't reached the first content line yet, don't add an extra \n.
263
+ let prevMoreIndented = string[0] === "\n" || string[0] === " ";
264
+ let moreIndented;
265
+ // rest of the lines
266
+ let match;
267
+ // tslint:disable-next-line:no-conditional-assignment
268
+ while ((match = lineRe.exec(string))) {
269
+ const prefix = match[1];
270
+ const line = match[2] || "";
271
+ moreIndented = line[0] === " ";
272
+ result += prefix +
273
+ (!prevMoreIndented && !moreIndented && line !== "" ? "\n" : "") +
274
+ foldLine(line, width);
275
+ prevMoreIndented = moreIndented;
276
+ }
277
+ return result;
278
+ }
279
+ // Escapes a double-quoted string.
280
+ function escapeString(string) {
281
+ let result = "";
282
+ let char;
283
+ let nextChar;
284
+ let escapeSeq;
285
+ for (let i = 0; i < string.length; i++) {
286
+ char = string.charCodeAt(i);
287
+ // Check for surrogate pairs (reference Unicode 3.0 section "3.7 Surrogates").
288
+ if (char >= 0xd800 && char <= 0xdbff /* high surrogate */) {
289
+ nextChar = string.charCodeAt(i + 1);
290
+ if (nextChar >= 0xdc00 && nextChar <= 0xdfff /* low surrogate */) {
291
+ // Combine the surrogate pair and store it escaped.
292
+ result += charCodeToHexString((char - 0xd800) * 0x400 + nextChar - 0xdc00 + 0x10000);
293
+ // Advance index one extra since we already used that char here.
294
+ i++;
295
+ continue;
296
+ }
297
+ }
298
+ escapeSeq = ESCAPE_SEQUENCES.get(char);
299
+ result += !escapeSeq && isPrintable(char)
300
+ ? string[i]
301
+ : escapeSeq || charCodeToHexString(char);
302
+ }
303
+ return result;
304
+ }
305
+ // Pre-conditions: string is valid for a block scalar, 1 <= indentPerLevel <= 9.
306
+ function blockHeader(string, indentPerLevel) {
307
+ const indentIndicator = needIndentIndicator(string)
308
+ ? String(indentPerLevel)
309
+ : "";
310
+ // note the special case: the string '\n' counts as a "trailing" empty line.
311
+ const clip = string[string.length - 1] === "\n";
312
+ const keep = clip && (string[string.length - 2] === "\n" || string === "\n");
313
+ const chomp = keep ? "+" : clip ? "" : "-";
314
+ return `${indentIndicator}${chomp}\n`;
315
+ }
316
+ function inspectNode(object, objects, duplicateObjects) {
317
+ if (!isObject(object))
318
+ return;
319
+ if (objects.has(object)) {
320
+ duplicateObjects.add(object);
321
+ return;
322
+ }
323
+ objects.add(object);
324
+ const entries = Array.isArray(object) ? object : Object.values(object);
325
+ for (const value of entries) {
326
+ inspectNode(value, objects, duplicateObjects);
327
+ }
328
+ }
329
+ export class DumperState {
330
+ constructor({ schema = DEFAULT_SCHEMA, indent = 2, arrayIndent = true, skipInvalid = false, flowLevel = -1, styles = undefined, sortKeys = false, lineWidth = 80, useAnchors = true, compatMode = true, condenseFlow = false, }) {
331
+ Object.defineProperty(this, "indent", {
332
+ enumerable: true,
333
+ configurable: true,
334
+ writable: true,
335
+ value: void 0
336
+ });
337
+ Object.defineProperty(this, "arrayIndent", {
338
+ enumerable: true,
339
+ configurable: true,
340
+ writable: true,
341
+ value: void 0
342
+ });
343
+ Object.defineProperty(this, "skipInvalid", {
344
+ enumerable: true,
345
+ configurable: true,
346
+ writable: true,
347
+ value: void 0
348
+ });
349
+ Object.defineProperty(this, "flowLevel", {
350
+ enumerable: true,
351
+ configurable: true,
352
+ writable: true,
353
+ value: void 0
354
+ });
355
+ Object.defineProperty(this, "sortKeys", {
356
+ enumerable: true,
357
+ configurable: true,
358
+ writable: true,
359
+ value: void 0
360
+ });
361
+ Object.defineProperty(this, "lineWidth", {
362
+ enumerable: true,
363
+ configurable: true,
364
+ writable: true,
365
+ value: void 0
366
+ });
367
+ Object.defineProperty(this, "useAnchors", {
368
+ enumerable: true,
369
+ configurable: true,
370
+ writable: true,
371
+ value: void 0
372
+ });
373
+ Object.defineProperty(this, "compatMode", {
374
+ enumerable: true,
375
+ configurable: true,
376
+ writable: true,
377
+ value: void 0
378
+ });
379
+ Object.defineProperty(this, "condenseFlow", {
380
+ enumerable: true,
381
+ configurable: true,
382
+ writable: true,
383
+ value: void 0
384
+ });
385
+ Object.defineProperty(this, "implicitTypes", {
386
+ enumerable: true,
387
+ configurable: true,
388
+ writable: true,
389
+ value: void 0
390
+ });
391
+ Object.defineProperty(this, "explicitTypes", {
392
+ enumerable: true,
393
+ configurable: true,
394
+ writable: true,
395
+ value: void 0
396
+ });
397
+ Object.defineProperty(this, "duplicates", {
398
+ enumerable: true,
399
+ configurable: true,
400
+ writable: true,
401
+ value: []
402
+ });
403
+ Object.defineProperty(this, "usedDuplicates", {
404
+ enumerable: true,
405
+ configurable: true,
406
+ writable: true,
407
+ value: new Set()
408
+ });
409
+ Object.defineProperty(this, "styleMap", {
410
+ enumerable: true,
411
+ configurable: true,
412
+ writable: true,
413
+ value: new Map()
414
+ });
415
+ this.indent = Math.max(1, indent);
416
+ this.arrayIndent = arrayIndent;
417
+ this.skipInvalid = skipInvalid;
418
+ this.flowLevel = flowLevel;
419
+ if (styles)
420
+ this.styleMap = createStyleMap(styles);
421
+ this.sortKeys = sortKeys;
422
+ this.lineWidth = lineWidth;
423
+ this.useAnchors = useAnchors;
424
+ this.compatMode = compatMode;
425
+ this.condenseFlow = condenseFlow;
426
+ this.implicitTypes = schema.implicitTypes;
427
+ this.explicitTypes = schema.explicitTypes;
428
+ }
429
+ // Note: line breaking/folding is implemented for only the folded style.
430
+ // NB. We drop the last trailing newline (if any) of a returned block scalar
431
+ // since the dumper adds its own newline. This always works:
432
+ // • No ending newline => unaffected; already using strip "-" chomping.
433
+ // • Ending newline => removed then restored.
434
+ // Importantly, this keeps the "+" chomp indicator from gaining an extra line.
435
+ stringifyScalar(string, { level, isKey }) {
436
+ if (string.length === 0) {
437
+ return "''";
438
+ }
439
+ if (this.compatMode && DEPRECATED_BOOLEANS_SYNTAX.includes(string)) {
440
+ return `'${string}'`;
441
+ }
442
+ const indent = this.indent * Math.max(1, level); // no 0-indent scalars
443
+ // As indentation gets deeper, let the width decrease monotonically
444
+ // to the lower bound min(this.lineWidth, 40).
445
+ // Note that this implies
446
+ // this.lineWidth ≤ 40 + this.indent: width is fixed at the lower bound.
447
+ // this.lineWidth > 40 + this.indent: width decreases until the lower
448
+ // bound.
449
+ // This behaves better than a constant minimum width which disallows
450
+ // narrower options, or an indent threshold which causes the width
451
+ // to suddenly increase.
452
+ const lineWidth = this.lineWidth === -1
453
+ ? -1
454
+ : Math.max(Math.min(this.lineWidth, 40), this.lineWidth - indent);
455
+ // Without knowing if keys are implicit/explicit,
456
+ // assume implicit for safety.
457
+ const singleLineOnly = isKey ||
458
+ // No block styles in flow mode.
459
+ (this.flowLevel > -1 && level >= this.flowLevel);
460
+ const scalarStyle = chooseScalarStyle(string, singleLineOnly, this.indent, lineWidth, this.implicitTypes);
461
+ switch (scalarStyle) {
462
+ case STYLE_PLAIN:
463
+ return string;
464
+ case STYLE_SINGLE:
465
+ return `'${string.replace(/'/g, "''")}'`;
466
+ case STYLE_LITERAL:
467
+ return `|${blockHeader(string, this.indent)}${trimTrailingNewline(indentString(string, indent))}`;
468
+ case STYLE_FOLDED:
469
+ return `>${blockHeader(string, this.indent)}${trimTrailingNewline(indentString(foldString(string, lineWidth), indent))}`;
470
+ case STYLE_DOUBLE:
471
+ return `"${escapeString(string)}"`;
472
+ default:
473
+ throw new TypeError("Invalid scalar style should be unreachable: please file a bug report against Deno at https://github.com/denoland/std/issues");
474
+ }
475
+ }
476
+ stringifyFlowSequence(array, { level }) {
477
+ const results = [];
478
+ for (const value of array) {
479
+ const string = this.stringifyNode(value, {
480
+ level,
481
+ block: false,
482
+ compact: false,
483
+ isKey: false,
484
+ });
485
+ if (string === null)
486
+ continue;
487
+ results.push(string);
488
+ }
489
+ const separator = this.condenseFlow ? "," : ", ";
490
+ return `[${results.join(separator)}]`;
491
+ }
492
+ stringifyBlockSequence(array, { level, compact }) {
493
+ const whitespace = generateNextLine(this.indent, level);
494
+ const prefix = compact ? "" : whitespace;
495
+ const results = [];
496
+ for (const value of array) {
497
+ const string = this.stringifyNode(value, {
498
+ level: level + 1,
499
+ block: true,
500
+ compact: true,
501
+ isKey: false,
502
+ });
503
+ if (string === null)
504
+ continue;
505
+ const linePrefix = LINE_FEED === string.charCodeAt(0) ? "-" : "- ";
506
+ results.push(`${linePrefix}${string}`);
507
+ }
508
+ return results.length ? prefix + results.join(whitespace) : "[]";
509
+ }
510
+ stringifyFlowMapping(object, { level }) {
511
+ const quote = this.condenseFlow ? '"' : "";
512
+ const separator = this.condenseFlow ? ":" : ": ";
513
+ const results = [];
514
+ for (const [key, value] of Object.entries(object)) {
515
+ const keyString = this.stringifyNode(key, {
516
+ level,
517
+ block: false,
518
+ compact: false,
519
+ isKey: false,
520
+ });
521
+ if (keyString === null)
522
+ continue; // Skip this pair because of invalid key;
523
+ const valueString = this.stringifyNode(value, {
524
+ level,
525
+ block: false,
526
+ compact: false,
527
+ isKey: false,
528
+ });
529
+ if (valueString === null)
530
+ continue; // Skip this pair because of invalid value.
531
+ const keyPrefix = keyString.length > 1024 ? "? " : "";
532
+ results.push(quote + keyPrefix + keyString + quote + separator + valueString);
533
+ }
534
+ return `{${results.join(", ")}}`;
535
+ }
536
+ stringifyBlockMapping(object, { tag, level, compact }) {
537
+ const keys = Object.keys(object);
538
+ // Allow sorting keys so that the output file is deterministic
539
+ if (this.sortKeys === true) {
540
+ // Default sorting
541
+ keys.sort();
542
+ }
543
+ else if (typeof this.sortKeys === "function") {
544
+ // Custom sort function
545
+ keys.sort(this.sortKeys);
546
+ }
547
+ else if (this.sortKeys) {
548
+ // Something is wrong
549
+ throw new TypeError(`"sortKeys" must be a boolean or a function: received ${typeof this
550
+ .sortKeys}`);
551
+ }
552
+ const separator = generateNextLine(this.indent, level);
553
+ const results = [];
554
+ for (const key of keys) {
555
+ const value = object[key];
556
+ const keyString = this.stringifyNode(key, {
557
+ level: level + 1,
558
+ block: true,
559
+ compact: true,
560
+ isKey: true,
561
+ });
562
+ if (keyString === null)
563
+ continue; // Skip this pair because of invalid key.
564
+ const explicitPair = (tag !== null && tag !== "?") ||
565
+ (keyString.length > 1024);
566
+ const valueString = this.stringifyNode(value, {
567
+ level: level + 1,
568
+ block: true,
569
+ compact: explicitPair,
570
+ isKey: false,
571
+ });
572
+ if (valueString === null)
573
+ continue; // Skip this pair because of invalid value.
574
+ let pairBuffer = "";
575
+ if (explicitPair) {
576
+ pairBuffer += keyString.charCodeAt(0) === LINE_FEED ? "?" : "? ";
577
+ }
578
+ pairBuffer += keyString;
579
+ if (explicitPair)
580
+ pairBuffer += separator;
581
+ pairBuffer += valueString.charCodeAt(0) === LINE_FEED ? ":" : ": ";
582
+ pairBuffer += valueString;
583
+ results.push(pairBuffer);
584
+ }
585
+ const prefix = compact ? "" : separator;
586
+ return results.length ? prefix + results.join(separator) : "{}"; // Empty mapping if no valid pairs.
587
+ }
588
+ getTypeRepresentation(type, value) {
589
+ if (!type.represent)
590
+ return value;
591
+ const style = this.styleMap.get(type.tag) ??
592
+ type.defaultStyle;
593
+ if (typeof type.represent === "function") {
594
+ return type.represent(value, style);
595
+ }
596
+ const represent = type.represent[style];
597
+ if (!represent) {
598
+ throw new TypeError(`!<${type.tag}> tag resolver accepts not "${style}" style`);
599
+ }
600
+ return represent(value, style);
601
+ }
602
+ detectType(value) {
603
+ for (const type of this.implicitTypes) {
604
+ if (type.predicate?.(value)) {
605
+ value = this.getTypeRepresentation(type, value);
606
+ return { tag: "?", value };
607
+ }
608
+ }
609
+ for (const type of this.explicitTypes) {
610
+ if (type.predicate?.(value)) {
611
+ value = this.getTypeRepresentation(type, value);
612
+ return { tag: type.tag, value };
613
+ }
614
+ }
615
+ return { tag: null, value };
616
+ }
617
+ // Serializes `object` and writes it to global `result`.
618
+ // Returns true on success, or false on invalid object.
619
+ stringifyNode(value, { level, block, compact, isKey }) {
620
+ const result = this.detectType(value);
621
+ const tag = result.tag;
622
+ value = result.value;
623
+ if (block) {
624
+ block = this.flowLevel < 0 || this.flowLevel > level;
625
+ }
626
+ if (typeof value === "string" || value instanceof String) {
627
+ value = value instanceof String ? value.valueOf() : value;
628
+ if (tag !== "?") {
629
+ value = this.stringifyScalar(value, { level, isKey });
630
+ }
631
+ }
632
+ else if (isObject(value)) {
633
+ const duplicateIndex = this.duplicates.indexOf(value);
634
+ const duplicate = duplicateIndex !== -1;
635
+ if (duplicate) {
636
+ if (this.usedDuplicates.has(value))
637
+ return `*ref_${duplicateIndex}`;
638
+ this.usedDuplicates.add(value);
639
+ }
640
+ if ((tag !== null && tag !== "?") ||
641
+ duplicate ||
642
+ (this.indent !== 2 && level > 0)) {
643
+ compact = false;
644
+ }
645
+ if (Array.isArray(value)) {
646
+ const arrayLevel = !this.arrayIndent && level > 0 ? level - 1 : level;
647
+ if (block && value.length !== 0) {
648
+ value = this.stringifyBlockSequence(value, {
649
+ level: arrayLevel,
650
+ compact,
651
+ });
652
+ if (duplicate) {
653
+ value = `&ref_${duplicateIndex}${value}`;
654
+ }
655
+ }
656
+ else {
657
+ value = this.stringifyFlowSequence(value, { level: arrayLevel });
658
+ if (duplicate) {
659
+ value = `&ref_${duplicateIndex} ${value}`;
660
+ }
661
+ }
662
+ }
663
+ else {
664
+ if (block && Object.keys(value).length !== 0) {
665
+ value = this.stringifyBlockMapping(value, { tag, level, compact });
666
+ if (duplicate) {
667
+ value = `&ref_${duplicateIndex}${value}`;
668
+ }
669
+ }
670
+ else {
671
+ value = this.stringifyFlowMapping(value, { level });
672
+ if (duplicate) {
673
+ value = `&ref_${duplicateIndex} ${value}`;
674
+ }
675
+ }
676
+ }
677
+ }
678
+ else {
679
+ if (this.skipInvalid)
680
+ return null;
681
+ throw new TypeError(`Cannot stringify ${typeof value}`);
682
+ }
683
+ if (tag !== null && tag !== "?") {
684
+ value = `!<${tag}> ${value}`;
685
+ }
686
+ return value;
687
+ }
688
+ stringify(value) {
689
+ if (this.useAnchors) {
690
+ const values = new Set();
691
+ const duplicateObjects = new Set();
692
+ inspectNode(value, values, duplicateObjects);
693
+ this.duplicates = [...duplicateObjects];
694
+ this.usedDuplicates = new Set();
695
+ }
696
+ const string = this.stringifyNode(value, {
697
+ level: 0,
698
+ block: true,
699
+ compact: true,
700
+ isKey: false,
701
+ });
702
+ if (string !== null) {
703
+ return `${string}\n`;
704
+ }
705
+ return "";
706
+ }
707
+ }