windmill-cli 1.518.1 → 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 (849) 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/core/OpenAPI.js +1 -1
  111. package/esm/gen/services.gen.js +66 -0
  112. package/esm/src/commands/app/apps.js +124 -0
  113. package/esm/src/commands/dev/dev.js +145 -0
  114. package/esm/src/commands/flow/flow.js +236 -0
  115. package/esm/src/commands/folder/folder.js +101 -0
  116. package/esm/src/commands/gitsync-settings/converter.js +134 -0
  117. package/esm/src/commands/gitsync-settings/gitsync-settings.js +2 -0
  118. package/esm/src/commands/gitsync-settings/index.js +28 -0
  119. package/esm/src/commands/gitsync-settings/legacySettings.js +119 -0
  120. package/esm/src/commands/gitsync-settings/pull.js +372 -0
  121. package/esm/src/commands/gitsync-settings/push.js +263 -0
  122. package/esm/src/commands/gitsync-settings/types.js +37 -0
  123. package/esm/src/commands/gitsync-settings/utils.js +129 -0
  124. package/esm/src/commands/hub/hub.js +65 -0
  125. package/esm/src/commands/init/init.js +214 -0
  126. package/esm/src/commands/instance/instance.js +569 -0
  127. package/esm/src/commands/queues/queues.js +117 -0
  128. package/esm/src/commands/resource/resource.js +93 -0
  129. package/esm/src/commands/resource-type/resource-type.js +85 -0
  130. package/esm/src/commands/schedule/schedule.js +101 -0
  131. package/esm/src/commands/script/script.js +753 -0
  132. package/esm/src/commands/sync/pull.js +37 -0
  133. package/esm/src/commands/sync/sync.js +1563 -0
  134. package/esm/src/commands/trigger/trigger.js +182 -0
  135. package/esm/src/commands/user/user.js +428 -0
  136. package/esm/src/commands/variable/variable.js +121 -0
  137. package/esm/src/commands/worker-groups/worker_groups.js +96 -0
  138. package/esm/src/commands/workers/workers.js +79 -0
  139. package/esm/src/commands/workspace/workspace.js +348 -0
  140. package/esm/src/core/auth.js +40 -0
  141. package/esm/src/core/branch-profiles.js +46 -0
  142. package/esm/src/core/conf.js +162 -0
  143. package/esm/src/core/context.js +263 -0
  144. package/esm/src/core/login.js +100 -0
  145. package/esm/src/core/settings.js +432 -0
  146. package/esm/src/core/store.js +19 -0
  147. package/esm/src/main.js +174 -0
  148. package/esm/src/types.js +223 -0
  149. package/esm/src/utils/codebase.js +24 -0
  150. package/esm/src/utils/git.js +29 -0
  151. package/esm/src/utils/metadata.js +623 -0
  152. package/esm/src/utils/upgrade.js +48 -0
  153. package/esm/src/utils/utils.js +176 -0
  154. package/esm/windmill-utils-internal/src/config/config.js +190 -0
  155. package/esm/windmill-utils-internal/src/inline-scripts/extractor.js +13 -9
  156. package/esm/windmill-utils-internal/src/path-utils/path-assigner.js +25 -9
  157. package/package.json +6 -6
  158. package/types/deps/jsr.io/@std/bytes/1.0.5/_types.d.ts.map +1 -0
  159. package/types/deps/jsr.io/@std/bytes/1.0.5/concat.d.ts +21 -0
  160. package/types/deps/jsr.io/@std/bytes/1.0.5/concat.d.ts.map +1 -0
  161. package/types/deps/jsr.io/@std/fmt/1.0.6/colors.d.ts.map +1 -0
  162. package/types/deps/jsr.io/@std/fs/1.0.16/_create_walk_entry.d.ts.map +1 -0
  163. package/types/deps/jsr.io/@std/fs/1.0.16/_get_file_info_type.d.ts.map +1 -0
  164. package/types/deps/jsr.io/@std/fs/1.0.16/_is_same_path.d.ts.map +1 -0
  165. package/types/deps/jsr.io/@std/fs/1.0.16/_is_subdir.d.ts.map +1 -0
  166. package/types/deps/jsr.io/@std/fs/1.0.16/_to_path_string.d.ts.map +1 -0
  167. package/types/deps/jsr.io/@std/fs/1.0.16/copy.d.ts.map +1 -0
  168. package/types/deps/jsr.io/@std/fs/1.0.16/empty_dir.d.ts.map +1 -0
  169. package/types/deps/jsr.io/@std/fs/1.0.16/ensure_dir.d.ts.map +1 -0
  170. package/types/deps/jsr.io/@std/fs/1.0.16/ensure_file.d.ts.map +1 -0
  171. package/types/deps/jsr.io/@std/fs/1.0.16/ensure_link.d.ts.map +1 -0
  172. package/types/deps/jsr.io/@std/fs/1.0.16/ensure_symlink.d.ts.map +1 -0
  173. package/types/deps/jsr.io/@std/fs/1.0.16/eol.d.ts.map +1 -0
  174. package/types/deps/jsr.io/@std/fs/1.0.16/exists.d.ts.map +1 -0
  175. package/types/deps/jsr.io/@std/fs/1.0.16/expand_glob.d.ts +267 -0
  176. package/types/deps/jsr.io/@std/fs/1.0.16/expand_glob.d.ts.map +1 -0
  177. package/types/deps/jsr.io/@std/fs/1.0.16/mod.d.ts.map +1 -0
  178. package/types/deps/jsr.io/@std/fs/1.0.16/move.d.ts.map +1 -0
  179. package/types/deps/jsr.io/@std/fs/1.0.16/walk.d.ts.map +1 -0
  180. package/types/deps/jsr.io/@std/path/1.0.8/_common/assert_path.d.ts.map +1 -0
  181. package/types/deps/jsr.io/@std/path/1.0.8/_common/basename.d.ts.map +1 -0
  182. package/types/deps/jsr.io/@std/path/1.0.8/_common/common.d.ts.map +1 -0
  183. package/types/deps/jsr.io/@std/path/1.0.8/_common/constants.d.ts.map +1 -0
  184. package/types/deps/jsr.io/@std/path/1.0.8/_common/dirname.d.ts.map +1 -0
  185. package/types/deps/jsr.io/@std/path/1.0.8/_common/format.d.ts.map +1 -0
  186. package/types/deps/jsr.io/@std/path/1.0.8/_common/from_file_url.d.ts.map +1 -0
  187. package/types/deps/jsr.io/@std/path/1.0.8/_common/glob_to_reg_exp.d.ts.map +1 -0
  188. package/types/deps/jsr.io/@std/path/1.0.8/_common/normalize.d.ts.map +1 -0
  189. package/types/deps/jsr.io/@std/path/1.0.8/_common/normalize_string.d.ts.map +1 -0
  190. package/types/deps/jsr.io/@std/path/1.0.8/_common/relative.d.ts.map +1 -0
  191. package/types/deps/jsr.io/@std/path/1.0.8/_common/strip_trailing_separators.d.ts.map +1 -0
  192. package/types/deps/jsr.io/@std/path/1.0.8/_common/to_file_url.d.ts.map +1 -0
  193. package/types/deps/jsr.io/@std/path/1.0.8/_os.d.ts +2 -0
  194. package/types/deps/jsr.io/@std/path/1.0.8/_os.d.ts.map +1 -0
  195. package/types/deps/jsr.io/@std/path/1.0.8/basename.d.ts +28 -0
  196. package/types/deps/jsr.io/@std/path/1.0.8/basename.d.ts.map +1 -0
  197. package/types/deps/jsr.io/@std/path/1.0.8/common.d.ts.map +1 -0
  198. package/types/deps/jsr.io/@std/path/1.0.8/constants.d.ts.map +1 -0
  199. package/types/deps/jsr.io/@std/path/1.0.8/dirname.d.ts +23 -0
  200. package/types/deps/jsr.io/@std/path/1.0.8/dirname.d.ts.map +1 -0
  201. package/types/deps/jsr.io/@std/path/1.0.8/extname.d.ts +23 -0
  202. package/types/deps/jsr.io/@std/path/1.0.8/extname.d.ts.map +1 -0
  203. package/types/deps/jsr.io/@std/path/1.0.8/format.d.ts.map +1 -0
  204. package/types/deps/jsr.io/@std/path/1.0.8/from_file_url.d.ts.map +1 -0
  205. package/types/deps/jsr.io/@std/path/1.0.8/glob_to_regexp.d.ts.map +1 -0
  206. package/types/deps/jsr.io/@std/path/1.0.8/is_absolute.d.ts.map +1 -0
  207. package/types/deps/jsr.io/@std/path/1.0.8/is_glob.d.ts.map +1 -0
  208. package/types/deps/jsr.io/@std/path/1.0.8/join.d.ts +23 -0
  209. package/types/deps/jsr.io/@std/path/1.0.8/join.d.ts.map +1 -0
  210. package/types/deps/jsr.io/@std/path/1.0.8/join_globs.d.ts.map +1 -0
  211. package/types/deps/jsr.io/@std/path/1.0.8/mod.d.ts +54 -0
  212. package/types/deps/jsr.io/@std/path/1.0.8/mod.d.ts.map +1 -0
  213. package/types/deps/jsr.io/@std/path/1.0.8/normalize.d.ts +27 -0
  214. package/types/deps/jsr.io/@std/path/1.0.8/normalize.d.ts.map +1 -0
  215. package/types/deps/jsr.io/@std/path/1.0.8/normalize_glob.d.ts.map +1 -0
  216. package/types/deps/jsr.io/@std/path/1.0.8/parse.d.ts.map +1 -0
  217. package/types/deps/jsr.io/@std/path/1.0.8/posix/_util.d.ts.map +1 -0
  218. package/types/deps/jsr.io/@std/path/1.0.8/posix/basename.d.ts +40 -0
  219. package/types/deps/jsr.io/@std/path/1.0.8/posix/basename.d.ts.map +1 -0
  220. package/types/deps/jsr.io/@std/path/1.0.8/posix/constants.d.ts.map +1 -0
  221. package/types/deps/jsr.io/@std/path/1.0.8/posix/dirname.d.ts +32 -0
  222. package/types/deps/jsr.io/@std/path/1.0.8/posix/dirname.d.ts.map +1 -0
  223. package/types/deps/jsr.io/@std/path/1.0.8/posix/extname.d.ts +37 -0
  224. package/types/deps/jsr.io/@std/path/1.0.8/posix/extname.d.ts.map +1 -0
  225. package/types/deps/jsr.io/@std/path/1.0.8/posix/format.d.ts.map +1 -0
  226. package/types/deps/jsr.io/@std/path/1.0.8/posix/from_file_url.d.ts.map +1 -0
  227. package/types/deps/jsr.io/@std/path/1.0.8/posix/glob_to_regexp.d.ts.map +1 -0
  228. package/types/deps/jsr.io/@std/path/1.0.8/posix/is_absolute.d.ts.map +1 -0
  229. package/types/deps/jsr.io/@std/path/1.0.8/posix/join.d.ts +33 -0
  230. package/types/deps/jsr.io/@std/path/1.0.8/posix/join.d.ts.map +1 -0
  231. package/types/deps/jsr.io/@std/path/1.0.8/posix/join_globs.d.ts.map +1 -0
  232. package/types/deps/jsr.io/@std/path/1.0.8/posix/normalize.d.ts +40 -0
  233. package/types/deps/jsr.io/@std/path/1.0.8/posix/normalize.d.ts.map +1 -0
  234. package/types/deps/jsr.io/@std/path/1.0.8/posix/normalize_glob.d.ts.map +1 -0
  235. package/types/deps/jsr.io/@std/path/1.0.8/posix/parse.d.ts.map +1 -0
  236. package/types/deps/jsr.io/@std/path/1.0.8/posix/relative.d.ts.map +1 -0
  237. package/types/deps/jsr.io/@std/path/1.0.8/posix/resolve.d.ts.map +1 -0
  238. package/types/deps/jsr.io/@std/path/1.0.8/posix/to_file_url.d.ts.map +1 -0
  239. package/types/deps/jsr.io/@std/path/1.0.8/posix/to_namespaced_path.d.ts.map +1 -0
  240. package/types/deps/jsr.io/@std/path/1.0.8/relative.d.ts.map +1 -0
  241. package/types/deps/jsr.io/@std/path/1.0.8/resolve.d.ts.map +1 -0
  242. package/types/deps/jsr.io/@std/path/1.0.8/to_file_url.d.ts.map +1 -0
  243. package/types/deps/jsr.io/@std/path/1.0.8/to_namespaced_path.d.ts.map +1 -0
  244. package/types/deps/jsr.io/@std/path/1.0.8/types.d.ts.map +1 -0
  245. package/types/deps/jsr.io/@std/path/1.0.8/windows/_util.d.ts.map +1 -0
  246. package/types/deps/jsr.io/@std/path/1.0.8/windows/basename.d.ts +23 -0
  247. package/types/deps/jsr.io/@std/path/1.0.8/windows/basename.d.ts.map +1 -0
  248. package/types/deps/jsr.io/@std/path/1.0.8/windows/constants.d.ts.map +1 -0
  249. package/types/deps/jsr.io/@std/path/1.0.8/windows/dirname.d.ts +20 -0
  250. package/types/deps/jsr.io/@std/path/1.0.8/windows/dirname.d.ts.map +1 -0
  251. package/types/deps/jsr.io/@std/path/1.0.8/windows/extname.d.ts +20 -0
  252. package/types/deps/jsr.io/@std/path/1.0.8/windows/extname.d.ts.map +1 -0
  253. package/types/deps/jsr.io/@std/path/1.0.8/windows/format.d.ts.map +1 -0
  254. package/types/deps/jsr.io/@std/path/1.0.8/windows/from_file_url.d.ts.map +1 -0
  255. package/types/deps/jsr.io/@std/path/1.0.8/windows/glob_to_regexp.d.ts.map +1 -0
  256. package/types/deps/jsr.io/@std/path/1.0.8/windows/is_absolute.d.ts.map +1 -0
  257. package/types/deps/jsr.io/@std/path/1.0.8/windows/join.d.ts +20 -0
  258. package/types/deps/jsr.io/@std/path/1.0.8/windows/join.d.ts.map +1 -0
  259. package/types/deps/jsr.io/@std/path/1.0.8/windows/join_globs.d.ts.map +1 -0
  260. package/types/deps/jsr.io/@std/path/1.0.8/windows/normalize.d.ts +22 -0
  261. package/types/deps/jsr.io/@std/path/1.0.8/windows/normalize.d.ts.map +1 -0
  262. package/types/deps/jsr.io/@std/path/1.0.8/windows/normalize_glob.d.ts.map +1 -0
  263. package/types/deps/jsr.io/@std/path/1.0.8/windows/parse.d.ts.map +1 -0
  264. package/types/deps/jsr.io/@std/path/1.0.8/windows/relative.d.ts.map +1 -0
  265. package/types/deps/jsr.io/@std/path/1.0.8/windows/resolve.d.ts.map +1 -0
  266. package/types/deps/jsr.io/@std/path/1.0.8/windows/to_file_url.d.ts.map +1 -0
  267. package/types/deps/jsr.io/@std/path/1.0.8/windows/to_namespaced_path.d.ts.map +1 -0
  268. package/types/deps/jsr.io/@std/yaml/1.0.5/_chars.d.ts.map +1 -0
  269. package/types/deps/jsr.io/@std/yaml/1.0.5/_dumper_state.d.ts +99 -0
  270. package/types/deps/jsr.io/@std/yaml/1.0.5/_dumper_state.d.ts.map +1 -0
  271. package/types/deps/jsr.io/@std/yaml/1.0.5/_loader_state.d.ts +60 -0
  272. package/types/deps/jsr.io/@std/yaml/1.0.5/_loader_state.d.ts.map +1 -0
  273. package/types/deps/jsr.io/@std/yaml/1.0.5/_schema.d.ts.map +1 -0
  274. package/types/deps/jsr.io/@std/yaml/1.0.5/_type/binary.d.ts.map +1 -0
  275. package/types/deps/jsr.io/@std/yaml/1.0.5/_type/bool.d.ts.map +1 -0
  276. package/types/deps/jsr.io/@std/yaml/1.0.5/_type/float.d.ts.map +1 -0
  277. package/types/deps/jsr.io/@std/yaml/1.0.5/_type/int.d.ts.map +1 -0
  278. package/types/deps/jsr.io/@std/yaml/1.0.5/_type/map.d.ts.map +1 -0
  279. package/types/deps/jsr.io/@std/yaml/1.0.5/_type/merge.d.ts.map +1 -0
  280. package/types/deps/jsr.io/@std/yaml/1.0.5/_type/nil.d.ts.map +1 -0
  281. package/types/deps/jsr.io/@std/yaml/1.0.5/_type/omap.d.ts.map +1 -0
  282. package/types/deps/jsr.io/@std/yaml/1.0.5/_type/pairs.d.ts.map +1 -0
  283. package/types/deps/jsr.io/@std/yaml/1.0.5/_type/regexp.d.ts.map +1 -0
  284. package/types/deps/jsr.io/@std/yaml/1.0.5/_type/seq.d.ts.map +1 -0
  285. package/types/deps/jsr.io/@std/yaml/1.0.5/_type/set.d.ts.map +1 -0
  286. package/types/deps/jsr.io/@std/yaml/1.0.5/_type/str.d.ts.map +1 -0
  287. package/types/deps/jsr.io/@std/yaml/1.0.5/_type/timestamp.d.ts.map +1 -0
  288. package/types/deps/jsr.io/@std/yaml/1.0.5/_type/undefined.d.ts.map +1 -0
  289. package/types/deps/jsr.io/@std/yaml/1.0.5/_type.d.ts.map +1 -0
  290. package/types/deps/jsr.io/@std/yaml/1.0.5/_utils.d.ts.map +1 -0
  291. package/types/deps/jsr.io/@std/yaml/1.0.5/mod.d.ts.map +1 -0
  292. package/types/deps/jsr.io/@std/yaml/1.0.5/parse.d.ts.map +1 -0
  293. package/types/deps/jsr.io/@std/yaml/1.0.5/stringify.d.ts.map +1 -0
  294. package/types/deps.d.ts +5 -5
  295. package/types/gen/services.gen.d.ts +34 -1
  296. package/types/gen/services.gen.d.ts.map +1 -1
  297. package/types/gen/types.gen.d.ts +43 -3
  298. package/types/gen/types.gen.d.ts.map +1 -1
  299. package/types/src/commands/app/apps.d.ts +17 -0
  300. package/types/src/commands/app/apps.d.ts.map +1 -0
  301. package/types/src/commands/dev/dev.d.ts +12 -0
  302. package/types/src/commands/dev/dev.d.ts.map +1 -0
  303. package/types/src/commands/flow/flow.d.ts +28 -0
  304. package/types/src/commands/flow/flow.d.ts.map +1 -0
  305. package/types/src/commands/folder/folder.d.ts +19 -0
  306. package/types/src/commands/folder/folder.d.ts.map +1 -0
  307. package/types/src/commands/gitsync-settings/converter.d.ts +10 -0
  308. package/types/src/commands/gitsync-settings/converter.d.ts.map +1 -0
  309. package/types/src/commands/gitsync-settings/gitsync-settings.d.ts +3 -0
  310. package/types/src/commands/gitsync-settings/gitsync-settings.d.ts.map +1 -0
  311. package/types/src/commands/gitsync-settings/index.d.ts +25 -0
  312. package/types/src/commands/gitsync-settings/index.d.ts.map +1 -0
  313. package/types/src/commands/gitsync-settings/legacySettings.d.ts +4 -0
  314. package/types/src/commands/gitsync-settings/legacySettings.d.ts.map +1 -0
  315. package/types/src/commands/gitsync-settings/pull.d.ts +14 -0
  316. package/types/src/commands/gitsync-settings/pull.d.ts.map +1 -0
  317. package/types/src/commands/gitsync-settings/push.d.ts +10 -0
  318. package/types/src/commands/gitsync-settings/push.d.ts.map +1 -0
  319. package/types/src/commands/gitsync-settings/types.d.ts +35 -0
  320. package/types/src/commands/gitsync-settings/types.d.ts.map +1 -0
  321. package/types/src/commands/gitsync-settings/utils.d.ts +36 -0
  322. package/types/src/commands/gitsync-settings/utils.d.ts.map +1 -0
  323. package/types/src/commands/hub/hub.d.ts +12 -0
  324. package/types/src/commands/hub/hub.d.ts.map +1 -0
  325. package/types/src/commands/init/init.d.ts +34 -0
  326. package/types/src/commands/init/init.d.ts.map +1 -0
  327. package/types/src/commands/instance/instance.d.ts +46 -0
  328. package/types/src/commands/instance/instance.d.ts.map +1 -0
  329. package/types/src/commands/queues/queues.d.ts +14 -0
  330. package/types/src/commands/queues/queues.d.ts.map +1 -0
  331. package/types/src/commands/resource/resource.d.ts +18 -0
  332. package/types/src/commands/resource/resource.d.ts.map +1 -0
  333. package/types/src/commands/resource-type/resource-type.d.ts +16 -0
  334. package/types/src/commands/resource-type/resource-type.d.ts.map +1 -0
  335. package/types/src/commands/schedule/schedule.d.ts +21 -0
  336. package/types/src/commands/schedule/schedule.d.ts.map +1 -0
  337. package/types/src/commands/script/script.d.ts +51 -0
  338. package/types/src/commands/script/script.d.ts.map +1 -0
  339. package/types/src/commands/sync/pull.d.ts +12 -0
  340. package/types/src/commands/sync/pull.d.ts.map +1 -0
  341. package/types/src/commands/sync/sync.d.ts +128 -0
  342. package/types/src/commands/sync/sync.d.ts.map +1 -0
  343. package/types/src/commands/trigger/trigger.d.ts +24 -0
  344. package/types/src/commands/trigger/trigger.d.ts.map +1 -0
  345. package/types/src/commands/user/user.d.ts +34 -0
  346. package/types/src/commands/user/user.d.ts.map +1 -0
  347. package/types/src/commands/variable/variable.d.ts +23 -0
  348. package/types/src/commands/variable/variable.d.ts.map +1 -0
  349. package/types/src/commands/worker-groups/worker_groups.d.ts +23 -0
  350. package/types/src/commands/worker-groups/worker_groups.d.ts.map +1 -0
  351. package/types/src/commands/workers/workers.d.ts +14 -0
  352. package/types/src/commands/workers/workers.d.ts.map +1 -0
  353. package/types/src/commands/workspace/workspace.d.ts +30 -0
  354. package/types/src/commands/workspace/workspace.d.ts.map +1 -0
  355. package/types/src/core/auth.d.ts +8 -0
  356. package/types/src/core/auth.d.ts.map +1 -0
  357. package/types/src/core/branch-profiles.d.ts +12 -0
  358. package/types/src/core/branch-profiles.d.ts.map +1 -0
  359. package/types/src/core/conf.d.ts +64 -0
  360. package/types/src/core/conf.d.ts.map +1 -0
  361. package/types/src/core/context.d.ts +13 -0
  362. package/types/src/core/context.d.ts.map +1 -0
  363. package/types/src/core/login.d.ts +5 -0
  364. package/types/src/core/login.d.ts.map +1 -0
  365. package/types/src/core/settings.d.ts +30 -0
  366. package/types/src/core/settings.d.ts.map +1 -0
  367. package/types/src/core/store.d.ts +2 -0
  368. package/types/src/core/store.d.ts.map +1 -0
  369. package/types/src/guidance/flow_guidance.d.ts.map +1 -0
  370. package/types/src/guidance/script_guidance.d.ts.map +1 -0
  371. package/types/src/main.d.ts +74 -0
  372. package/types/src/main.d.ts.map +1 -0
  373. package/types/src/types.d.ts.map +1 -0
  374. package/types/src/utils/codebase.d.ts +6 -0
  375. package/types/src/utils/codebase.d.ts.map +1 -0
  376. package/types/src/utils/git.d.ts +3 -0
  377. package/types/src/utils/git.d.ts.map +1 -0
  378. package/types/src/utils/local_encryption.d.ts.map +1 -0
  379. package/types/src/utils/metadata.d.ts +52 -0
  380. package/types/src/utils/metadata.d.ts.map +1 -0
  381. package/types/src/utils/script_common.d.ts.map +1 -0
  382. package/types/src/utils/upgrade.d.ts +21 -0
  383. package/types/src/utils/upgrade.d.ts.map +1 -0
  384. package/types/src/utils/utils.d.ts +20 -0
  385. package/types/src/utils/utils.d.ts.map +1 -0
  386. package/types/windmill-utils-internal/src/config/config.d.ts +12 -0
  387. package/types/windmill-utils-internal/src/config/config.d.ts.map +1 -0
  388. package/types/windmill-utils-internal/src/gen/types.gen.d.ts +43 -3
  389. package/types/windmill-utils-internal/src/gen/types.gen.d.ts.map +1 -1
  390. package/types/windmill-utils-internal/src/inline-scripts/extractor.d.ts +1 -4
  391. package/types/windmill-utils-internal/src/inline-scripts/extractor.d.ts.map +1 -1
  392. package/types/windmill-utils-internal/src/path-utils/path-assigner.d.ts +6 -6
  393. package/types/windmill-utils-internal/src/path-utils/path-assigner.d.ts.map +1 -1
  394. package/esm/apps.js +0 -124
  395. package/esm/auth.js +0 -40
  396. package/esm/codebase.js +0 -24
  397. package/esm/conf.js +0 -78
  398. package/esm/context.js +0 -121
  399. package/esm/deps/jsr.io/@std/fs/1.0.19/_create_walk_entry.js +0 -34
  400. package/esm/deps/jsr.io/@std/fs/1.0.19/_is_same_path.js +0 -17
  401. package/esm/deps/jsr.io/@std/fs/1.0.19/_is_subdir.js +0 -25
  402. package/esm/deps/jsr.io/@std/fs/1.0.19/_to_path_string.js +0 -13
  403. package/esm/deps/jsr.io/@std/fs/1.0.19/copy.js +0 -313
  404. package/esm/deps/jsr.io/@std/fs/1.0.19/empty_dir.js +0 -87
  405. package/esm/deps/jsr.io/@std/fs/1.0.19/ensure_file.js +0 -90
  406. package/esm/deps/jsr.io/@std/fs/1.0.19/ensure_link.js +0 -61
  407. package/esm/deps/jsr.io/@std/fs/1.0.19/ensure_symlink.js +0 -156
  408. package/esm/deps/jsr.io/@std/fs/1.0.19/expand_glob.js +0 -415
  409. package/esm/deps/jsr.io/@std/fs/1.0.19/walk.js +0 -846
  410. package/esm/deps/jsr.io/@std/internal/1.0.10/_os.js +0 -12
  411. package/esm/deps/jsr.io/@std/internal/1.0.10/os.js +0 -5
  412. package/esm/deps/jsr.io/@std/path/1.1.1/_common/assert_path.js +0 -7
  413. package/esm/deps/jsr.io/@std/path/1.1.1/_common/basename.js +0 -40
  414. package/esm/deps/jsr.io/@std/path/1.1.1/_common/common.js +0 -23
  415. package/esm/deps/jsr.io/@std/path/1.1.1/_common/constants.js +0 -46
  416. package/esm/deps/jsr.io/@std/path/1.1.1/_common/dirname.js +0 -8
  417. package/esm/deps/jsr.io/@std/path/1.1.1/_common/format.js +0 -19
  418. package/esm/deps/jsr.io/@std/path/1.1.1/_common/from_file_url.js +0 -9
  419. package/esm/deps/jsr.io/@std/path/1.1.1/_common/glob_to_reg_exp.js +0 -234
  420. package/esm/deps/jsr.io/@std/path/1.1.1/_common/normalize.js +0 -8
  421. package/esm/deps/jsr.io/@std/path/1.1.1/_common/normalize_string.js +0 -77
  422. package/esm/deps/jsr.io/@std/path/1.1.1/_common/relative.js +0 -9
  423. package/esm/deps/jsr.io/@std/path/1.1.1/_common/strip_trailing_separators.js +0 -19
  424. package/esm/deps/jsr.io/@std/path/1.1.1/_common/to_file_url.js +0 -15
  425. package/esm/deps/jsr.io/@std/path/1.1.1/basename.js +0 -35
  426. package/esm/deps/jsr.io/@std/path/1.1.1/common.js +0 -33
  427. package/esm/deps/jsr.io/@std/path/1.1.1/constants.js +0 -17
  428. package/esm/deps/jsr.io/@std/path/1.1.1/dirname.js +0 -28
  429. package/esm/deps/jsr.io/@std/path/1.1.1/extname.js +0 -28
  430. package/esm/deps/jsr.io/@std/path/1.1.1/format.js +0 -27
  431. package/esm/deps/jsr.io/@std/path/1.1.1/from_file_url.js +0 -28
  432. package/esm/deps/jsr.io/@std/path/1.1.1/glob_to_regexp.js +0 -83
  433. package/esm/deps/jsr.io/@std/path/1.1.1/is_absolute.js +0 -28
  434. package/esm/deps/jsr.io/@std/path/1.1.1/is_glob.js +0 -42
  435. package/esm/deps/jsr.io/@std/path/1.1.1/join.js +0 -29
  436. package/esm/deps/jsr.io/@std/path/1.1.1/join_globs.js +0 -34
  437. package/esm/deps/jsr.io/@std/path/1.1.1/mod.js +0 -216
  438. package/esm/deps/jsr.io/@std/path/1.1.1/normalize.js +0 -32
  439. package/esm/deps/jsr.io/@std/path/1.1.1/normalize_glob.js +0 -35
  440. package/esm/deps/jsr.io/@std/path/1.1.1/parse.js +0 -39
  441. package/esm/deps/jsr.io/@std/path/1.1.1/posix/_util.js +0 -8
  442. package/esm/deps/jsr.io/@std/path/1.1.1/posix/basename.js +0 -52
  443. package/esm/deps/jsr.io/@std/path/1.1.1/posix/constants.js +0 -14
  444. package/esm/deps/jsr.io/@std/path/1.1.1/posix/dirname.js +0 -64
  445. package/esm/deps/jsr.io/@std/path/1.1.1/posix/extname.js +0 -93
  446. package/esm/deps/jsr.io/@std/path/1.1.1/posix/format.js +0 -28
  447. package/esm/deps/jsr.io/@std/path/1.1.1/posix/from_file_url.js +0 -21
  448. package/esm/deps/jsr.io/@std/path/1.1.1/posix/glob_to_regexp.js +0 -82
  449. package/esm/deps/jsr.io/@std/path/1.1.1/posix/is_absolute.js +0 -23
  450. package/esm/deps/jsr.io/@std/path/1.1.1/posix/join.js +0 -45
  451. package/esm/deps/jsr.io/@std/path/1.1.1/posix/join_globs.js +0 -40
  452. package/esm/deps/jsr.io/@std/path/1.1.1/posix/normalize.js +0 -58
  453. package/esm/deps/jsr.io/@std/path/1.1.1/posix/normalize_glob.js +0 -32
  454. package/esm/deps/jsr.io/@std/path/1.1.1/posix/parse.js +0 -115
  455. package/esm/deps/jsr.io/@std/path/1.1.1/posix/relative.js +0 -106
  456. package/esm/deps/jsr.io/@std/path/1.1.1/posix/resolve.js +0 -59
  457. package/esm/deps/jsr.io/@std/path/1.1.1/posix/to_file_url.js +0 -27
  458. package/esm/deps/jsr.io/@std/path/1.1.1/posix/to_namespaced_path.js +0 -20
  459. package/esm/deps/jsr.io/@std/path/1.1.1/relative.js +0 -30
  460. package/esm/deps/jsr.io/@std/path/1.1.1/resolve.js +0 -30
  461. package/esm/deps/jsr.io/@std/path/1.1.1/to_file_url.js +0 -28
  462. package/esm/deps/jsr.io/@std/path/1.1.1/to_namespaced_path.js +0 -29
  463. package/esm/deps/jsr.io/@std/path/1.1.1/types.js +0 -3
  464. package/esm/deps/jsr.io/@std/path/1.1.1/windows/_util.js +0 -15
  465. package/esm/deps/jsr.io/@std/path/1.1.1/windows/basename.js +0 -47
  466. package/esm/deps/jsr.io/@std/path/1.1.1/windows/constants.js +0 -14
  467. package/esm/deps/jsr.io/@std/path/1.1.1/windows/dirname.js +0 -113
  468. package/esm/deps/jsr.io/@std/path/1.1.1/windows/extname.js +0 -82
  469. package/esm/deps/jsr.io/@std/path/1.1.1/windows/format.js +0 -28
  470. package/esm/deps/jsr.io/@std/path/1.1.1/windows/from_file_url.js +0 -30
  471. package/esm/deps/jsr.io/@std/path/1.1.1/windows/glob_to_regexp.js +0 -82
  472. package/esm/deps/jsr.io/@std/path/1.1.1/windows/is_absolute.js +0 -38
  473. package/esm/deps/jsr.io/@std/path/1.1.1/windows/join.js +0 -77
  474. package/esm/deps/jsr.io/@std/path/1.1.1/windows/join_globs.js +0 -41
  475. package/esm/deps/jsr.io/@std/path/1.1.1/windows/normalize.js +0 -135
  476. package/esm/deps/jsr.io/@std/path/1.1.1/windows/normalize_glob.js +0 -32
  477. package/esm/deps/jsr.io/@std/path/1.1.1/windows/parse.js +0 -176
  478. package/esm/deps/jsr.io/@std/path/1.1.1/windows/relative.js +0 -131
  479. package/esm/deps/jsr.io/@std/path/1.1.1/windows/resolve.js +0 -154
  480. package/esm/deps/jsr.io/@std/path/1.1.1/windows/to_file_url.js +0 -34
  481. package/esm/deps/jsr.io/@std/path/1.1.1/windows/to_namespaced_path.js +0 -49
  482. package/esm/deps/jsr.io/@std/yaml/1.0.9/_chars.js +0 -48
  483. package/esm/deps/jsr.io/@std/yaml/1.0.9/_dumper_state.js +0 -716
  484. package/esm/deps/jsr.io/@std/yaml/1.0.9/_loader_state.js +0 -1427
  485. package/esm/deps/jsr.io/@std/yaml/1.0.9/_schema.js +0 -107
  486. package/esm/deps/jsr.io/@std/yaml/1.0.9/_type/bool.js +0 -32
  487. package/esm/deps/jsr.io/@std/yaml/1.0.9/_type/float.js +0 -96
  488. package/esm/deps/jsr.io/@std/yaml/1.0.9/_type/int.js +0 -159
  489. package/esm/deps/jsr.io/@std/yaml/1.0.9/_type/map.js +0 -14
  490. package/esm/deps/jsr.io/@std/yaml/1.0.9/_type/merge.js +0 -10
  491. package/esm/deps/jsr.io/@std/yaml/1.0.9/_type/nil.js +0 -22
  492. package/esm/deps/jsr.io/@std/yaml/1.0.9/_type/omap.js +0 -29
  493. package/esm/deps/jsr.io/@std/yaml/1.0.9/_type/pairs.js +0 -19
  494. package/esm/deps/jsr.io/@std/yaml/1.0.9/_type/regexp.js +0 -30
  495. package/esm/deps/jsr.io/@std/yaml/1.0.9/_type/seq.js +0 -10
  496. package/esm/deps/jsr.io/@std/yaml/1.0.9/_type/set.js +0 -14
  497. package/esm/deps/jsr.io/@std/yaml/1.0.9/_type/str.js +0 -9
  498. package/esm/deps/jsr.io/@std/yaml/1.0.9/_type/timestamp.js +0 -81
  499. package/esm/deps/jsr.io/@std/yaml/1.0.9/_type/undefined.js +0 -20
  500. package/esm/deps/jsr.io/@std/yaml/1.0.9/_type.js +0 -6
  501. package/esm/deps/jsr.io/@std/yaml/1.0.9/_utils.js +0 -13
  502. package/esm/deps/jsr.io/@std/yaml/1.0.9/mod.js +0 -52
  503. package/esm/deps/jsr.io/@std/yaml/1.0.9/parse.js +0 -93
  504. package/esm/deps/jsr.io/@std/yaml/1.0.9/stringify.js +0 -33
  505. package/esm/dev.js +0 -145
  506. package/esm/flow.js +0 -236
  507. package/esm/folder.js +0 -101
  508. package/esm/gitsync-settings.js +0 -984
  509. package/esm/hub.js +0 -65
  510. package/esm/instance.js +0 -569
  511. package/esm/login.js +0 -100
  512. package/esm/main.js +0 -337
  513. package/esm/metadata.js +0 -623
  514. package/esm/pull.js +0 -37
  515. package/esm/queues.js +0 -117
  516. package/esm/resource-type.js +0 -85
  517. package/esm/resource.js +0 -93
  518. package/esm/schedule.js +0 -101
  519. package/esm/script.js +0 -753
  520. package/esm/settings.js +0 -432
  521. package/esm/store.js +0 -76
  522. package/esm/sync.js +0 -1662
  523. package/esm/trigger.js +0 -182
  524. package/esm/types.js +0 -223
  525. package/esm/upgrade.js +0 -48
  526. package/esm/user.js +0 -428
  527. package/esm/utils.js +0 -168
  528. package/esm/variable.js +0 -121
  529. package/esm/worker_groups.js +0 -96
  530. package/esm/workers.js +0 -79
  531. package/esm/workspace.js +0 -314
  532. package/types/apps.d.ts +0 -17
  533. package/types/apps.d.ts.map +0 -1
  534. package/types/auth.d.ts +0 -8
  535. package/types/auth.d.ts.map +0 -1
  536. package/types/codebase.d.ts +0 -6
  537. package/types/codebase.d.ts.map +0 -1
  538. package/types/conf.d.ts +0 -55
  539. package/types/conf.d.ts.map +0 -1
  540. package/types/context.d.ts +0 -13
  541. package/types/context.d.ts.map +0 -1
  542. package/types/deps/jsr.io/@std/bytes/1.0.6/_types.d.ts.map +0 -1
  543. package/types/deps/jsr.io/@std/bytes/1.0.6/concat.d.ts +0 -21
  544. package/types/deps/jsr.io/@std/bytes/1.0.6/concat.d.ts.map +0 -1
  545. package/types/deps/jsr.io/@std/fmt/1.0.8/colors.d.ts.map +0 -1
  546. package/types/deps/jsr.io/@std/fs/1.0.19/_create_walk_entry.d.ts.map +0 -1
  547. package/types/deps/jsr.io/@std/fs/1.0.19/_get_file_info_type.d.ts.map +0 -1
  548. package/types/deps/jsr.io/@std/fs/1.0.19/_is_same_path.d.ts.map +0 -1
  549. package/types/deps/jsr.io/@std/fs/1.0.19/_is_subdir.d.ts.map +0 -1
  550. package/types/deps/jsr.io/@std/fs/1.0.19/_to_path_string.d.ts.map +0 -1
  551. package/types/deps/jsr.io/@std/fs/1.0.19/copy.d.ts.map +0 -1
  552. package/types/deps/jsr.io/@std/fs/1.0.19/empty_dir.d.ts.map +0 -1
  553. package/types/deps/jsr.io/@std/fs/1.0.19/ensure_dir.d.ts.map +0 -1
  554. package/types/deps/jsr.io/@std/fs/1.0.19/ensure_file.d.ts.map +0 -1
  555. package/types/deps/jsr.io/@std/fs/1.0.19/ensure_link.d.ts.map +0 -1
  556. package/types/deps/jsr.io/@std/fs/1.0.19/ensure_symlink.d.ts.map +0 -1
  557. package/types/deps/jsr.io/@std/fs/1.0.19/eol.d.ts.map +0 -1
  558. package/types/deps/jsr.io/@std/fs/1.0.19/exists.d.ts.map +0 -1
  559. package/types/deps/jsr.io/@std/fs/1.0.19/expand_glob.d.ts +0 -267
  560. package/types/deps/jsr.io/@std/fs/1.0.19/expand_glob.d.ts.map +0 -1
  561. package/types/deps/jsr.io/@std/fs/1.0.19/mod.d.ts.map +0 -1
  562. package/types/deps/jsr.io/@std/fs/1.0.19/move.d.ts.map +0 -1
  563. package/types/deps/jsr.io/@std/fs/1.0.19/walk.d.ts.map +0 -1
  564. package/types/deps/jsr.io/@std/internal/1.0.10/_os.d.ts +0 -2
  565. package/types/deps/jsr.io/@std/internal/1.0.10/_os.d.ts.map +0 -1
  566. package/types/deps/jsr.io/@std/internal/1.0.10/os.d.ts +0 -3
  567. package/types/deps/jsr.io/@std/internal/1.0.10/os.d.ts.map +0 -1
  568. package/types/deps/jsr.io/@std/path/1.1.1/_common/assert_path.d.ts.map +0 -1
  569. package/types/deps/jsr.io/@std/path/1.1.1/_common/basename.d.ts.map +0 -1
  570. package/types/deps/jsr.io/@std/path/1.1.1/_common/common.d.ts.map +0 -1
  571. package/types/deps/jsr.io/@std/path/1.1.1/_common/constants.d.ts.map +0 -1
  572. package/types/deps/jsr.io/@std/path/1.1.1/_common/dirname.d.ts.map +0 -1
  573. package/types/deps/jsr.io/@std/path/1.1.1/_common/format.d.ts.map +0 -1
  574. package/types/deps/jsr.io/@std/path/1.1.1/_common/from_file_url.d.ts.map +0 -1
  575. package/types/deps/jsr.io/@std/path/1.1.1/_common/glob_to_reg_exp.d.ts.map +0 -1
  576. package/types/deps/jsr.io/@std/path/1.1.1/_common/normalize.d.ts.map +0 -1
  577. package/types/deps/jsr.io/@std/path/1.1.1/_common/normalize_string.d.ts.map +0 -1
  578. package/types/deps/jsr.io/@std/path/1.1.1/_common/relative.d.ts.map +0 -1
  579. package/types/deps/jsr.io/@std/path/1.1.1/_common/strip_trailing_separators.d.ts.map +0 -1
  580. package/types/deps/jsr.io/@std/path/1.1.1/_common/to_file_url.d.ts.map +0 -1
  581. package/types/deps/jsr.io/@std/path/1.1.1/basename.d.ts +0 -27
  582. package/types/deps/jsr.io/@std/path/1.1.1/basename.d.ts.map +0 -1
  583. package/types/deps/jsr.io/@std/path/1.1.1/common.d.ts.map +0 -1
  584. package/types/deps/jsr.io/@std/path/1.1.1/constants.d.ts.map +0 -1
  585. package/types/deps/jsr.io/@std/path/1.1.1/dirname.d.ts +0 -22
  586. package/types/deps/jsr.io/@std/path/1.1.1/dirname.d.ts.map +0 -1
  587. package/types/deps/jsr.io/@std/path/1.1.1/extname.d.ts +0 -22
  588. package/types/deps/jsr.io/@std/path/1.1.1/extname.d.ts.map +0 -1
  589. package/types/deps/jsr.io/@std/path/1.1.1/format.d.ts.map +0 -1
  590. package/types/deps/jsr.io/@std/path/1.1.1/from_file_url.d.ts.map +0 -1
  591. package/types/deps/jsr.io/@std/path/1.1.1/glob_to_regexp.d.ts.map +0 -1
  592. package/types/deps/jsr.io/@std/path/1.1.1/is_absolute.d.ts.map +0 -1
  593. package/types/deps/jsr.io/@std/path/1.1.1/is_glob.d.ts.map +0 -1
  594. package/types/deps/jsr.io/@std/path/1.1.1/join.d.ts +0 -23
  595. package/types/deps/jsr.io/@std/path/1.1.1/join.d.ts.map +0 -1
  596. package/types/deps/jsr.io/@std/path/1.1.1/join_globs.d.ts.map +0 -1
  597. package/types/deps/jsr.io/@std/path/1.1.1/mod.d.ts +0 -213
  598. package/types/deps/jsr.io/@std/path/1.1.1/mod.d.ts.map +0 -1
  599. package/types/deps/jsr.io/@std/path/1.1.1/normalize.d.ts +0 -26
  600. package/types/deps/jsr.io/@std/path/1.1.1/normalize.d.ts.map +0 -1
  601. package/types/deps/jsr.io/@std/path/1.1.1/normalize_glob.d.ts.map +0 -1
  602. package/types/deps/jsr.io/@std/path/1.1.1/parse.d.ts.map +0 -1
  603. package/types/deps/jsr.io/@std/path/1.1.1/posix/_util.d.ts.map +0 -1
  604. package/types/deps/jsr.io/@std/path/1.1.1/posix/basename.d.ts +0 -39
  605. package/types/deps/jsr.io/@std/path/1.1.1/posix/basename.d.ts.map +0 -1
  606. package/types/deps/jsr.io/@std/path/1.1.1/posix/constants.d.ts.map +0 -1
  607. package/types/deps/jsr.io/@std/path/1.1.1/posix/dirname.d.ts +0 -30
  608. package/types/deps/jsr.io/@std/path/1.1.1/posix/dirname.d.ts.map +0 -1
  609. package/types/deps/jsr.io/@std/path/1.1.1/posix/extname.d.ts +0 -37
  610. package/types/deps/jsr.io/@std/path/1.1.1/posix/extname.d.ts.map +0 -1
  611. package/types/deps/jsr.io/@std/path/1.1.1/posix/format.d.ts.map +0 -1
  612. package/types/deps/jsr.io/@std/path/1.1.1/posix/from_file_url.d.ts.map +0 -1
  613. package/types/deps/jsr.io/@std/path/1.1.1/posix/glob_to_regexp.d.ts.map +0 -1
  614. package/types/deps/jsr.io/@std/path/1.1.1/posix/is_absolute.d.ts.map +0 -1
  615. package/types/deps/jsr.io/@std/path/1.1.1/posix/join.d.ts +0 -31
  616. package/types/deps/jsr.io/@std/path/1.1.1/posix/join.d.ts.map +0 -1
  617. package/types/deps/jsr.io/@std/path/1.1.1/posix/join_globs.d.ts.map +0 -1
  618. package/types/deps/jsr.io/@std/path/1.1.1/posix/normalize.d.ts +0 -37
  619. package/types/deps/jsr.io/@std/path/1.1.1/posix/normalize.d.ts.map +0 -1
  620. package/types/deps/jsr.io/@std/path/1.1.1/posix/normalize_glob.d.ts.map +0 -1
  621. package/types/deps/jsr.io/@std/path/1.1.1/posix/parse.d.ts.map +0 -1
  622. package/types/deps/jsr.io/@std/path/1.1.1/posix/relative.d.ts.map +0 -1
  623. package/types/deps/jsr.io/@std/path/1.1.1/posix/resolve.d.ts.map +0 -1
  624. package/types/deps/jsr.io/@std/path/1.1.1/posix/to_file_url.d.ts.map +0 -1
  625. package/types/deps/jsr.io/@std/path/1.1.1/posix/to_namespaced_path.d.ts.map +0 -1
  626. package/types/deps/jsr.io/@std/path/1.1.1/relative.d.ts.map +0 -1
  627. package/types/deps/jsr.io/@std/path/1.1.1/resolve.d.ts.map +0 -1
  628. package/types/deps/jsr.io/@std/path/1.1.1/to_file_url.d.ts.map +0 -1
  629. package/types/deps/jsr.io/@std/path/1.1.1/to_namespaced_path.d.ts.map +0 -1
  630. package/types/deps/jsr.io/@std/path/1.1.1/types.d.ts.map +0 -1
  631. package/types/deps/jsr.io/@std/path/1.1.1/windows/_util.d.ts.map +0 -1
  632. package/types/deps/jsr.io/@std/path/1.1.1/windows/basename.d.ts +0 -22
  633. package/types/deps/jsr.io/@std/path/1.1.1/windows/basename.d.ts.map +0 -1
  634. package/types/deps/jsr.io/@std/path/1.1.1/windows/constants.d.ts.map +0 -1
  635. package/types/deps/jsr.io/@std/path/1.1.1/windows/dirname.d.ts +0 -17
  636. package/types/deps/jsr.io/@std/path/1.1.1/windows/dirname.d.ts.map +0 -1
  637. package/types/deps/jsr.io/@std/path/1.1.1/windows/extname.d.ts +0 -17
  638. package/types/deps/jsr.io/@std/path/1.1.1/windows/extname.d.ts.map +0 -1
  639. package/types/deps/jsr.io/@std/path/1.1.1/windows/format.d.ts.map +0 -1
  640. package/types/deps/jsr.io/@std/path/1.1.1/windows/from_file_url.d.ts.map +0 -1
  641. package/types/deps/jsr.io/@std/path/1.1.1/windows/glob_to_regexp.d.ts.map +0 -1
  642. package/types/deps/jsr.io/@std/path/1.1.1/windows/is_absolute.d.ts.map +0 -1
  643. package/types/deps/jsr.io/@std/path/1.1.1/windows/join.d.ts +0 -18
  644. package/types/deps/jsr.io/@std/path/1.1.1/windows/join.d.ts.map +0 -1
  645. package/types/deps/jsr.io/@std/path/1.1.1/windows/join_globs.d.ts.map +0 -1
  646. package/types/deps/jsr.io/@std/path/1.1.1/windows/normalize.d.ts +0 -19
  647. package/types/deps/jsr.io/@std/path/1.1.1/windows/normalize.d.ts.map +0 -1
  648. package/types/deps/jsr.io/@std/path/1.1.1/windows/normalize_glob.d.ts.map +0 -1
  649. package/types/deps/jsr.io/@std/path/1.1.1/windows/parse.d.ts.map +0 -1
  650. package/types/deps/jsr.io/@std/path/1.1.1/windows/relative.d.ts.map +0 -1
  651. package/types/deps/jsr.io/@std/path/1.1.1/windows/resolve.d.ts.map +0 -1
  652. package/types/deps/jsr.io/@std/path/1.1.1/windows/to_file_url.d.ts.map +0 -1
  653. package/types/deps/jsr.io/@std/path/1.1.1/windows/to_namespaced_path.d.ts.map +0 -1
  654. package/types/deps/jsr.io/@std/yaml/1.0.9/_chars.d.ts.map +0 -1
  655. package/types/deps/jsr.io/@std/yaml/1.0.9/_dumper_state.d.ts +0 -106
  656. package/types/deps/jsr.io/@std/yaml/1.0.9/_dumper_state.d.ts.map +0 -1
  657. package/types/deps/jsr.io/@std/yaml/1.0.9/_loader_state.d.ts +0 -66
  658. package/types/deps/jsr.io/@std/yaml/1.0.9/_loader_state.d.ts.map +0 -1
  659. package/types/deps/jsr.io/@std/yaml/1.0.9/_schema.d.ts.map +0 -1
  660. package/types/deps/jsr.io/@std/yaml/1.0.9/_type/binary.d.ts.map +0 -1
  661. package/types/deps/jsr.io/@std/yaml/1.0.9/_type/bool.d.ts.map +0 -1
  662. package/types/deps/jsr.io/@std/yaml/1.0.9/_type/float.d.ts.map +0 -1
  663. package/types/deps/jsr.io/@std/yaml/1.0.9/_type/int.d.ts.map +0 -1
  664. package/types/deps/jsr.io/@std/yaml/1.0.9/_type/map.d.ts.map +0 -1
  665. package/types/deps/jsr.io/@std/yaml/1.0.9/_type/merge.d.ts.map +0 -1
  666. package/types/deps/jsr.io/@std/yaml/1.0.9/_type/nil.d.ts.map +0 -1
  667. package/types/deps/jsr.io/@std/yaml/1.0.9/_type/omap.d.ts.map +0 -1
  668. package/types/deps/jsr.io/@std/yaml/1.0.9/_type/pairs.d.ts.map +0 -1
  669. package/types/deps/jsr.io/@std/yaml/1.0.9/_type/regexp.d.ts.map +0 -1
  670. package/types/deps/jsr.io/@std/yaml/1.0.9/_type/seq.d.ts.map +0 -1
  671. package/types/deps/jsr.io/@std/yaml/1.0.9/_type/set.d.ts.map +0 -1
  672. package/types/deps/jsr.io/@std/yaml/1.0.9/_type/str.d.ts.map +0 -1
  673. package/types/deps/jsr.io/@std/yaml/1.0.9/_type/timestamp.d.ts.map +0 -1
  674. package/types/deps/jsr.io/@std/yaml/1.0.9/_type/undefined.d.ts.map +0 -1
  675. package/types/deps/jsr.io/@std/yaml/1.0.9/_type.d.ts.map +0 -1
  676. package/types/deps/jsr.io/@std/yaml/1.0.9/_utils.d.ts.map +0 -1
  677. package/types/deps/jsr.io/@std/yaml/1.0.9/mod.d.ts.map +0 -1
  678. package/types/deps/jsr.io/@std/yaml/1.0.9/parse.d.ts.map +0 -1
  679. package/types/deps/jsr.io/@std/yaml/1.0.9/stringify.d.ts.map +0 -1
  680. package/types/dev.d.ts +0 -12
  681. package/types/dev.d.ts.map +0 -1
  682. package/types/flow.d.ts +0 -28
  683. package/types/flow.d.ts.map +0 -1
  684. package/types/flow_guidance.d.ts.map +0 -1
  685. package/types/folder.d.ts +0 -19
  686. package/types/folder.d.ts.map +0 -1
  687. package/types/gitsync-settings.d.ts +0 -40
  688. package/types/gitsync-settings.d.ts.map +0 -1
  689. package/types/hub.d.ts +0 -12
  690. package/types/hub.d.ts.map +0 -1
  691. package/types/instance.d.ts +0 -46
  692. package/types/instance.d.ts.map +0 -1
  693. package/types/local_encryption.d.ts.map +0 -1
  694. package/types/login.d.ts +0 -5
  695. package/types/login.d.ts.map +0 -1
  696. package/types/main.d.ts +0 -70
  697. package/types/main.d.ts.map +0 -1
  698. package/types/metadata.d.ts +0 -52
  699. package/types/metadata.d.ts.map +0 -1
  700. package/types/pull.d.ts +0 -12
  701. package/types/pull.d.ts.map +0 -1
  702. package/types/queues.d.ts +0 -14
  703. package/types/queues.d.ts.map +0 -1
  704. package/types/resource-type.d.ts +0 -16
  705. package/types/resource-type.d.ts.map +0 -1
  706. package/types/resource.d.ts +0 -18
  707. package/types/resource.d.ts.map +0 -1
  708. package/types/schedule.d.ts +0 -21
  709. package/types/schedule.d.ts.map +0 -1
  710. package/types/script.d.ts +0 -51
  711. package/types/script.d.ts.map +0 -1
  712. package/types/script_common.d.ts.map +0 -1
  713. package/types/script_guidance.d.ts.map +0 -1
  714. package/types/settings.d.ts +0 -30
  715. package/types/settings.d.ts.map +0 -1
  716. package/types/store.d.ts +0 -3
  717. package/types/store.d.ts.map +0 -1
  718. package/types/sync.d.ts +0 -130
  719. package/types/sync.d.ts.map +0 -1
  720. package/types/trigger.d.ts +0 -24
  721. package/types/trigger.d.ts.map +0 -1
  722. package/types/types.d.ts.map +0 -1
  723. package/types/upgrade.d.ts +0 -21
  724. package/types/upgrade.d.ts.map +0 -1
  725. package/types/user.d.ts +0 -34
  726. package/types/user.d.ts.map +0 -1
  727. package/types/utils.d.ts +0 -19
  728. package/types/utils.d.ts.map +0 -1
  729. package/types/variable.d.ts +0 -23
  730. package/types/variable.d.ts.map +0 -1
  731. package/types/worker_groups.d.ts +0 -24
  732. package/types/worker_groups.d.ts.map +0 -1
  733. package/types/workers.d.ts +0 -14
  734. package/types/workers.d.ts.map +0 -1
  735. package/types/workspace.d.ts +0 -28
  736. package/types/workspace.d.ts.map +0 -1
  737. /package/esm/deps/jsr.io/@std/bytes/{1.0.6 → 1.0.5}/_types.js +0 -0
  738. /package/esm/deps/jsr.io/@std/bytes/{1.0.6 → 1.0.5}/concat.js +0 -0
  739. /package/esm/deps/jsr.io/@std/fmt/{1.0.8 → 1.0.6}/colors.js +0 -0
  740. /package/esm/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/_get_file_info_type.js +0 -0
  741. /package/esm/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/ensure_dir.js +0 -0
  742. /package/esm/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/eol.js +0 -0
  743. /package/esm/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/exists.js +0 -0
  744. /package/esm/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/mod.js +0 -0
  745. /package/esm/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/move.js +0 -0
  746. /package/esm/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/binary.js +0 -0
  747. /package/esm/{flow_guidance.js → src/guidance/flow_guidance.js} +0 -0
  748. /package/esm/{script_guidance.js → src/guidance/script_guidance.js} +0 -0
  749. /package/esm/{local_encryption.js → src/utils/local_encryption.js} +0 -0
  750. /package/esm/{script_common.js → src/utils/script_common.js} +0 -0
  751. /package/types/deps/jsr.io/@std/bytes/{1.0.6 → 1.0.5}/_types.d.ts +0 -0
  752. /package/types/deps/jsr.io/@std/fmt/{1.0.8 → 1.0.6}/colors.d.ts +0 -0
  753. /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/_create_walk_entry.d.ts +0 -0
  754. /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/_get_file_info_type.d.ts +0 -0
  755. /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/_is_same_path.d.ts +0 -0
  756. /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/_is_subdir.d.ts +0 -0
  757. /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/_to_path_string.d.ts +0 -0
  758. /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/copy.d.ts +0 -0
  759. /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/empty_dir.d.ts +0 -0
  760. /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/ensure_dir.d.ts +0 -0
  761. /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/ensure_file.d.ts +0 -0
  762. /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/ensure_link.d.ts +0 -0
  763. /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/ensure_symlink.d.ts +0 -0
  764. /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/eol.d.ts +0 -0
  765. /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/exists.d.ts +0 -0
  766. /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/mod.d.ts +0 -0
  767. /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/move.d.ts +0 -0
  768. /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/walk.d.ts +0 -0
  769. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/_common/assert_path.d.ts +0 -0
  770. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/_common/basename.d.ts +0 -0
  771. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/_common/common.d.ts +0 -0
  772. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/_common/constants.d.ts +0 -0
  773. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/_common/dirname.d.ts +0 -0
  774. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/_common/format.d.ts +0 -0
  775. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/_common/from_file_url.d.ts +0 -0
  776. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/_common/glob_to_reg_exp.d.ts +0 -0
  777. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/_common/normalize.d.ts +0 -0
  778. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/_common/normalize_string.d.ts +0 -0
  779. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/_common/relative.d.ts +0 -0
  780. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/_common/strip_trailing_separators.d.ts +0 -0
  781. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/_common/to_file_url.d.ts +0 -0
  782. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/common.d.ts +0 -0
  783. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/constants.d.ts +0 -0
  784. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/format.d.ts +0 -0
  785. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/from_file_url.d.ts +0 -0
  786. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/glob_to_regexp.d.ts +0 -0
  787. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/is_absolute.d.ts +0 -0
  788. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/is_glob.d.ts +0 -0
  789. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/join_globs.d.ts +0 -0
  790. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/normalize_glob.d.ts +0 -0
  791. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/parse.d.ts +0 -0
  792. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/posix/_util.d.ts +0 -0
  793. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/posix/constants.d.ts +0 -0
  794. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/posix/format.d.ts +0 -0
  795. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/posix/from_file_url.d.ts +0 -0
  796. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/posix/glob_to_regexp.d.ts +0 -0
  797. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/posix/is_absolute.d.ts +0 -0
  798. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/posix/join_globs.d.ts +0 -0
  799. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/posix/normalize_glob.d.ts +0 -0
  800. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/posix/parse.d.ts +0 -0
  801. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/posix/relative.d.ts +0 -0
  802. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/posix/resolve.d.ts +0 -0
  803. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/posix/to_file_url.d.ts +0 -0
  804. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/posix/to_namespaced_path.d.ts +0 -0
  805. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/relative.d.ts +0 -0
  806. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/resolve.d.ts +0 -0
  807. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/to_file_url.d.ts +0 -0
  808. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/to_namespaced_path.d.ts +0 -0
  809. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/types.d.ts +0 -0
  810. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/windows/_util.d.ts +0 -0
  811. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/windows/constants.d.ts +0 -0
  812. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/windows/format.d.ts +0 -0
  813. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/windows/from_file_url.d.ts +0 -0
  814. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/windows/glob_to_regexp.d.ts +0 -0
  815. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/windows/is_absolute.d.ts +0 -0
  816. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/windows/join_globs.d.ts +0 -0
  817. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/windows/normalize_glob.d.ts +0 -0
  818. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/windows/parse.d.ts +0 -0
  819. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/windows/relative.d.ts +0 -0
  820. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/windows/resolve.d.ts +0 -0
  821. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/windows/to_file_url.d.ts +0 -0
  822. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/windows/to_namespaced_path.d.ts +0 -0
  823. /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_chars.d.ts +0 -0
  824. /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_schema.d.ts +0 -0
  825. /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/binary.d.ts +0 -0
  826. /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/bool.d.ts +0 -0
  827. /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/float.d.ts +0 -0
  828. /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/int.d.ts +0 -0
  829. /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/map.d.ts +0 -0
  830. /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/merge.d.ts +0 -0
  831. /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/nil.d.ts +0 -0
  832. /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/omap.d.ts +0 -0
  833. /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/pairs.d.ts +0 -0
  834. /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/regexp.d.ts +0 -0
  835. /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/seq.d.ts +0 -0
  836. /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/set.d.ts +0 -0
  837. /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/str.d.ts +0 -0
  838. /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/timestamp.d.ts +0 -0
  839. /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/undefined.d.ts +0 -0
  840. /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type.d.ts +0 -0
  841. /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_utils.d.ts +0 -0
  842. /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/mod.d.ts +0 -0
  843. /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/parse.d.ts +0 -0
  844. /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/stringify.d.ts +0 -0
  845. /package/types/{flow_guidance.d.ts → src/guidance/flow_guidance.d.ts} +0 -0
  846. /package/types/{script_guidance.d.ts → src/guidance/script_guidance.d.ts} +0 -0
  847. /package/types/{types.d.ts → src/types.d.ts} +0 -0
  848. /package/types/{local_encryption.d.ts → src/utils/local_encryption.d.ts} +0 -0
  849. /package/types/{script_common.d.ts → src/utils/script_common.d.ts} +0 -0
@@ -0,0 +1,1409 @@
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
+ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {
6
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
7
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
8
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
9
+ };
10
+ var _LoaderState_instances, _LoaderState_createError;
11
+ import { AMPERSAND, ASTERISK, BACKSLASH, CARRIAGE_RETURN, COLON, COMMA, COMMERCIAL_AT, DOT, DOUBLE_QUOTE, EXCLAMATION, GRAVE_ACCENT, GREATER_THAN, isEOL, isFlowIndicator, isWhiteSpace, isWhiteSpaceOrEOL, LEFT_CURLY_BRACKET, LEFT_SQUARE_BRACKET, LINE_FEED, MINUS, PERCENT, PLUS, QUESTION, RIGHT_CURLY_BRACKET, RIGHT_SQUARE_BRACKET, SHARP, SINGLE_QUOTE, SMALLER_THAN, SPACE, VERTICAL_LINE, } from "./_chars.js";
12
+ import { DEFAULT_SCHEMA } from "./_schema.js";
13
+ import { isObject, isPlainObject } from "./_utils.js";
14
+ const CONTEXT_FLOW_IN = 1;
15
+ const CONTEXT_FLOW_OUT = 2;
16
+ const CONTEXT_BLOCK_IN = 3;
17
+ const CONTEXT_BLOCK_OUT = 4;
18
+ const CHOMPING_CLIP = 1;
19
+ const CHOMPING_STRIP = 2;
20
+ const CHOMPING_KEEP = 3;
21
+ const PATTERN_NON_PRINTABLE =
22
+ // deno-lint-ignore no-control-regex
23
+ /[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/;
24
+ const PATTERN_NON_ASCII_LINE_BREAKS = /[\x85\u2028\u2029]/;
25
+ const PATTERN_FLOW_INDICATORS = /[,\[\]\{\}]/;
26
+ const PATTERN_TAG_HANDLE = /^(?:!|!!|![a-z\-]+!)$/i;
27
+ const PATTERN_TAG_URI = /^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;
28
+ const ESCAPED_HEX_LENGTHS = new Map([
29
+ [0x78, 2], // x
30
+ [0x75, 4], // u
31
+ [0x55, 8], // U
32
+ ]);
33
+ const SIMPLE_ESCAPE_SEQUENCES = new Map([
34
+ [0x30, "\x00"], // 0
35
+ [0x61, "\x07"], // a
36
+ [0x62, "\x08"], // b
37
+ [0x74, "\x09"], // t
38
+ [0x09, "\x09"], // Tab
39
+ [0x6e, "\x0A"], // n
40
+ [0x76, "\x0B"], // v
41
+ [0x66, "\x0C"], // f
42
+ [0x72, "\x0D"], // r
43
+ [0x65, "\x1B"], // e
44
+ [0x20, " "], // Space
45
+ [0x22, '"'], // "
46
+ [0x2f, "/"], // /
47
+ [0x5c, "\\"], // \
48
+ [0x4e, "\x85"], // N
49
+ [0x5f, "\xA0"], // _
50
+ [0x4c, "\u2028"], // L
51
+ [0x50, "\u2029"], // P
52
+ ]);
53
+ /**
54
+ * Converts a hexadecimal character code to its decimal value.
55
+ */
56
+ function hexCharCodeToNumber(charCode) {
57
+ // Check if the character code is in the range for '0' to '9'
58
+ if (0x30 <= charCode && charCode <= 0x39)
59
+ return charCode - 0x30; // Convert '0'-'9' to 0-9
60
+ // Normalize the character code to lowercase if it's a letter
61
+ const lc = charCode | 0x20;
62
+ // Check if the character code is in the range for 'a' to 'f'
63
+ if (0x61 <= lc && lc <= 0x66)
64
+ return lc - 0x61 + 10; // Convert 'a'-'f' to 10-15
65
+ return -1;
66
+ }
67
+ /**
68
+ * Converts a decimal character code to its decimal value.
69
+ */
70
+ function decimalCharCodeToNumber(charCode) {
71
+ // Check if the character code is in the range for '0' to '9'
72
+ if (0x30 <= charCode && charCode <= 0x39)
73
+ return charCode - 0x30; // Convert '0'-'9' to 0-9
74
+ return -1;
75
+ }
76
+ /**
77
+ * Converts a Unicode code point to a string.
78
+ */
79
+ function codepointToChar(codepoint) {
80
+ // Check if the code point is within the Basic Multilingual Plane (BMP)
81
+ if (codepoint <= 0xffff)
82
+ return String.fromCharCode(codepoint); // Convert BMP code point to character
83
+ // Encode UTF-16 surrogate pair for code points beyond BMP
84
+ // Reference: https://en.wikipedia.org/wiki/UTF-16#Code_points_U.2B010000_to_U.2B10FFFF
85
+ return String.fromCharCode(((codepoint - 0x010000) >> 10) + 0xd800, // High surrogate
86
+ ((codepoint - 0x010000) & 0x03ff) + 0xdc00);
87
+ }
88
+ const INDENT = 4;
89
+ const MAX_LENGTH = 75;
90
+ const DELIMITERS = "\x00\r\n\x85\u2028\u2029";
91
+ function getSnippet(buffer, position) {
92
+ if (!buffer)
93
+ return null;
94
+ let start = position;
95
+ let end = position;
96
+ let head = "";
97
+ let tail = "";
98
+ while (start > 0 && !DELIMITERS.includes(buffer.charAt(start - 1))) {
99
+ start--;
100
+ if (position - start > MAX_LENGTH / 2 - 1) {
101
+ head = " ... ";
102
+ start += 5;
103
+ break;
104
+ }
105
+ }
106
+ while (end < buffer.length && !DELIMITERS.includes(buffer.charAt(end))) {
107
+ end++;
108
+ if (end - position > MAX_LENGTH / 2 - 1) {
109
+ tail = " ... ";
110
+ end -= 5;
111
+ break;
112
+ }
113
+ }
114
+ const snippet = buffer.slice(start, end);
115
+ const indent = " ".repeat(INDENT);
116
+ const caretIndent = " ".repeat(INDENT + position - start + head.length);
117
+ return `${indent + head + snippet + tail}\n${caretIndent}^`;
118
+ }
119
+ function markToString(buffer, position, line, column) {
120
+ let where = `at line ${line + 1}, column ${column + 1}`;
121
+ const snippet = getSnippet(buffer, position);
122
+ if (snippet)
123
+ where += `:\n${snippet}`;
124
+ return where;
125
+ }
126
+ export class LoaderState {
127
+ constructor(input, { schema = DEFAULT_SCHEMA, onWarning, allowDuplicateKeys = false, }) {
128
+ _LoaderState_instances.add(this);
129
+ Object.defineProperty(this, "input", {
130
+ enumerable: true,
131
+ configurable: true,
132
+ writable: true,
133
+ value: void 0
134
+ });
135
+ Object.defineProperty(this, "length", {
136
+ enumerable: true,
137
+ configurable: true,
138
+ writable: true,
139
+ value: void 0
140
+ });
141
+ Object.defineProperty(this, "lineIndent", {
142
+ enumerable: true,
143
+ configurable: true,
144
+ writable: true,
145
+ value: 0
146
+ });
147
+ Object.defineProperty(this, "lineStart", {
148
+ enumerable: true,
149
+ configurable: true,
150
+ writable: true,
151
+ value: 0
152
+ });
153
+ Object.defineProperty(this, "position", {
154
+ enumerable: true,
155
+ configurable: true,
156
+ writable: true,
157
+ value: 0
158
+ });
159
+ Object.defineProperty(this, "line", {
160
+ enumerable: true,
161
+ configurable: true,
162
+ writable: true,
163
+ value: 0
164
+ });
165
+ Object.defineProperty(this, "onWarning", {
166
+ enumerable: true,
167
+ configurable: true,
168
+ writable: true,
169
+ value: void 0
170
+ });
171
+ Object.defineProperty(this, "allowDuplicateKeys", {
172
+ enumerable: true,
173
+ configurable: true,
174
+ writable: true,
175
+ value: void 0
176
+ });
177
+ Object.defineProperty(this, "implicitTypes", {
178
+ enumerable: true,
179
+ configurable: true,
180
+ writable: true,
181
+ value: void 0
182
+ });
183
+ Object.defineProperty(this, "typeMap", {
184
+ enumerable: true,
185
+ configurable: true,
186
+ writable: true,
187
+ value: void 0
188
+ });
189
+ Object.defineProperty(this, "version", {
190
+ enumerable: true,
191
+ configurable: true,
192
+ writable: true,
193
+ value: void 0
194
+ });
195
+ Object.defineProperty(this, "checkLineBreaks", {
196
+ enumerable: true,
197
+ configurable: true,
198
+ writable: true,
199
+ value: false
200
+ });
201
+ Object.defineProperty(this, "tagMap", {
202
+ enumerable: true,
203
+ configurable: true,
204
+ writable: true,
205
+ value: new Map()
206
+ });
207
+ Object.defineProperty(this, "anchorMap", {
208
+ enumerable: true,
209
+ configurable: true,
210
+ writable: true,
211
+ value: new Map()
212
+ });
213
+ Object.defineProperty(this, "tag", {
214
+ enumerable: true,
215
+ configurable: true,
216
+ writable: true,
217
+ value: void 0
218
+ });
219
+ Object.defineProperty(this, "anchor", {
220
+ enumerable: true,
221
+ configurable: true,
222
+ writable: true,
223
+ value: void 0
224
+ });
225
+ Object.defineProperty(this, "kind", {
226
+ enumerable: true,
227
+ configurable: true,
228
+ writable: true,
229
+ value: void 0
230
+ });
231
+ Object.defineProperty(this, "result", {
232
+ enumerable: true,
233
+ configurable: true,
234
+ writable: true,
235
+ value: ""
236
+ });
237
+ this.input = input;
238
+ this.onWarning = onWarning;
239
+ this.allowDuplicateKeys = allowDuplicateKeys;
240
+ this.implicitTypes = schema.implicitTypes;
241
+ this.typeMap = schema.typeMap;
242
+ this.length = input.length;
243
+ this.version = null;
244
+ this.readIndent();
245
+ }
246
+ readIndent() {
247
+ let char = this.peek();
248
+ while (char === SPACE) {
249
+ this.lineIndent += 1;
250
+ char = this.next();
251
+ }
252
+ }
253
+ peek(offset = 0) {
254
+ return this.input.charCodeAt(this.position + offset);
255
+ }
256
+ next() {
257
+ this.position += 1;
258
+ return this.peek();
259
+ }
260
+ throwError(message) {
261
+ throw __classPrivateFieldGet(this, _LoaderState_instances, "m", _LoaderState_createError).call(this, message);
262
+ }
263
+ dispatchWarning(message) {
264
+ const error = __classPrivateFieldGet(this, _LoaderState_instances, "m", _LoaderState_createError).call(this, message);
265
+ this.onWarning?.(error);
266
+ }
267
+ yamlDirectiveHandler(...args) {
268
+ if (this.version !== null) {
269
+ return this.throwError("Cannot handle YAML directive: duplication of %YAML directive");
270
+ }
271
+ if (args.length !== 1) {
272
+ return this.throwError("Cannot handle YAML directive: YAML directive accepts exactly one argument");
273
+ }
274
+ const match = /^([0-9]+)\.([0-9]+)$/.exec(args[0]);
275
+ if (match === null) {
276
+ return this.throwError("Cannot handle YAML directive: ill-formed argument");
277
+ }
278
+ const major = parseInt(match[1], 10);
279
+ const minor = parseInt(match[2], 10);
280
+ if (major !== 1) {
281
+ return this.throwError("Cannot handle YAML directive: unacceptable YAML version");
282
+ }
283
+ this.version = args[0] ?? null;
284
+ this.checkLineBreaks = minor < 2;
285
+ if (minor !== 1 && minor !== 2) {
286
+ return this.dispatchWarning("Cannot handle YAML directive: unsupported YAML version");
287
+ }
288
+ }
289
+ tagDirectiveHandler(...args) {
290
+ if (args.length !== 2) {
291
+ return this.throwError(`Cannot handle tag directive: directive accepts exactly two arguments, received ${args.length}`);
292
+ }
293
+ const handle = args[0];
294
+ const prefix = args[1];
295
+ if (!PATTERN_TAG_HANDLE.test(handle)) {
296
+ return this.throwError(`Cannot handle tag directive: ill-formed handle (first argument) in "${handle}"`);
297
+ }
298
+ if (this.tagMap.has(handle)) {
299
+ return this.throwError(`Cannot handle tag directive: previously declared suffix for "${handle}" tag handle`);
300
+ }
301
+ if (!PATTERN_TAG_URI.test(prefix)) {
302
+ return this.throwError("Cannot handle tag directive: ill-formed tag prefix (second argument) of the TAG directive");
303
+ }
304
+ this.tagMap.set(handle, prefix);
305
+ }
306
+ captureSegment(start, end, checkJson) {
307
+ let result;
308
+ if (start < end) {
309
+ result = this.input.slice(start, end);
310
+ if (checkJson) {
311
+ for (let position = 0; position < result.length; position++) {
312
+ const character = result.charCodeAt(position);
313
+ if (!(character === 0x09 ||
314
+ (0x20 <= character && character <= 0x10ffff))) {
315
+ return this.throwError(`Expected valid JSON character: received "${character}"`);
316
+ }
317
+ }
318
+ }
319
+ else if (PATTERN_NON_PRINTABLE.test(result)) {
320
+ return this.throwError("Stream contains non-printable characters");
321
+ }
322
+ this.result += result;
323
+ }
324
+ }
325
+ readBlockSequence(nodeIndent) {
326
+ let line;
327
+ let following;
328
+ let detected = false;
329
+ let ch;
330
+ const tag = this.tag;
331
+ const anchor = this.anchor;
332
+ const result = [];
333
+ if (this.anchor !== null && typeof this.anchor !== "undefined") {
334
+ this.anchorMap.set(this.anchor, result);
335
+ }
336
+ ch = this.peek();
337
+ while (ch !== 0) {
338
+ if (ch !== MINUS) {
339
+ break;
340
+ }
341
+ following = this.peek(1);
342
+ if (!isWhiteSpaceOrEOL(following)) {
343
+ break;
344
+ }
345
+ detected = true;
346
+ this.position++;
347
+ if (this.skipSeparationSpace(true, -1)) {
348
+ if (this.lineIndent <= nodeIndent) {
349
+ result.push(null);
350
+ ch = this.peek();
351
+ continue;
352
+ }
353
+ }
354
+ line = this.line;
355
+ this.composeNode(nodeIndent, CONTEXT_BLOCK_IN, false, true);
356
+ result.push(this.result);
357
+ this.skipSeparationSpace(true, -1);
358
+ ch = this.peek();
359
+ if ((this.line === line || this.lineIndent > nodeIndent) && ch !== 0) {
360
+ return this.throwError("Cannot read block sequence: bad indentation of a sequence entry");
361
+ }
362
+ else if (this.lineIndent < nodeIndent) {
363
+ break;
364
+ }
365
+ }
366
+ if (detected) {
367
+ this.tag = tag;
368
+ this.anchor = anchor;
369
+ this.kind = "sequence";
370
+ this.result = result;
371
+ return true;
372
+ }
373
+ return false;
374
+ }
375
+ mergeMappings(destination, source, overridableKeys) {
376
+ if (!isObject(source)) {
377
+ return this.throwError("Cannot merge mappings: the provided source object is unacceptable");
378
+ }
379
+ for (const [key, value] of Object.entries(source)) {
380
+ if (Object.hasOwn(destination, key))
381
+ continue;
382
+ Object.defineProperty(destination, key, {
383
+ value,
384
+ writable: true,
385
+ enumerable: true,
386
+ configurable: true,
387
+ });
388
+ overridableKeys.add(key);
389
+ }
390
+ }
391
+ storeMappingPair(result, overridableKeys, keyTag, keyNode, valueNode, startLine, startPos) {
392
+ // The output is a plain object here, so keys can only be strings.
393
+ // We need to convert keyNode to a string, but doing so can hang the process
394
+ // (deeply nested arrays that explode exponentially using aliases).
395
+ if (Array.isArray(keyNode)) {
396
+ keyNode = Array.prototype.slice.call(keyNode);
397
+ for (let index = 0; index < keyNode.length; index++) {
398
+ if (Array.isArray(keyNode[index])) {
399
+ return this.throwError("Cannot store mapping pair: nested arrays are not supported inside keys");
400
+ }
401
+ if (typeof keyNode === "object" && isPlainObject(keyNode[index])) {
402
+ keyNode[index] = "[object Object]";
403
+ }
404
+ }
405
+ }
406
+ // Avoid code execution in load() via toString property
407
+ // (still use its own toString for arrays, timestamps,
408
+ // and whatever user schema extensions happen to have @@toStringTag)
409
+ if (typeof keyNode === "object" && isPlainObject(keyNode)) {
410
+ keyNode = "[object Object]";
411
+ }
412
+ keyNode = String(keyNode);
413
+ if (keyTag === "tag:yaml.org,2002:merge") {
414
+ if (Array.isArray(valueNode)) {
415
+ for (let index = 0; index < valueNode.length; index++) {
416
+ this.mergeMappings(result, valueNode[index], overridableKeys);
417
+ }
418
+ }
419
+ else {
420
+ this.mergeMappings(result, valueNode, overridableKeys);
421
+ }
422
+ }
423
+ else {
424
+ if (!this.allowDuplicateKeys &&
425
+ !overridableKeys.has(keyNode) &&
426
+ Object.hasOwn(result, keyNode)) {
427
+ this.line = startLine || this.line;
428
+ this.position = startPos || this.position;
429
+ return this.throwError("Cannot store mapping pair: duplicated key");
430
+ }
431
+ Object.defineProperty(result, keyNode, {
432
+ value: valueNode,
433
+ writable: true,
434
+ enumerable: true,
435
+ configurable: true,
436
+ });
437
+ overridableKeys.delete(keyNode);
438
+ }
439
+ return result;
440
+ }
441
+ readLineBreak() {
442
+ const ch = this.peek();
443
+ if (ch === LINE_FEED) {
444
+ this.position++;
445
+ }
446
+ else if (ch === CARRIAGE_RETURN) {
447
+ this.position++;
448
+ if (this.peek() === LINE_FEED) {
449
+ this.position++;
450
+ }
451
+ }
452
+ else {
453
+ return this.throwError("Cannot read line: line break not found");
454
+ }
455
+ this.line += 1;
456
+ this.lineStart = this.position;
457
+ }
458
+ skipSeparationSpace(allowComments, checkIndent) {
459
+ let lineBreaks = 0;
460
+ let ch = this.peek();
461
+ while (ch !== 0) {
462
+ while (isWhiteSpace(ch)) {
463
+ ch = this.next();
464
+ }
465
+ if (allowComments && ch === SHARP) {
466
+ do {
467
+ ch = this.next();
468
+ } while (ch !== LINE_FEED && ch !== CARRIAGE_RETURN && ch !== 0);
469
+ }
470
+ if (isEOL(ch)) {
471
+ this.readLineBreak();
472
+ ch = this.peek();
473
+ lineBreaks++;
474
+ this.lineIndent = 0;
475
+ this.readIndent();
476
+ ch = this.peek();
477
+ }
478
+ else {
479
+ break;
480
+ }
481
+ }
482
+ if (checkIndent !== -1 &&
483
+ lineBreaks !== 0 &&
484
+ this.lineIndent < checkIndent) {
485
+ this.dispatchWarning("deficient indentation");
486
+ }
487
+ return lineBreaks;
488
+ }
489
+ testDocumentSeparator() {
490
+ let ch = this.peek();
491
+ // Condition this.position === this.lineStart is tested
492
+ // in parent on each call, for efficiency. No needs to test here again.
493
+ if ((ch === MINUS || ch === DOT) &&
494
+ ch === this.peek(1) &&
495
+ ch === this.peek(2)) {
496
+ ch = this.peek(3);
497
+ if (ch === 0 || isWhiteSpaceOrEOL(ch)) {
498
+ return true;
499
+ }
500
+ }
501
+ return false;
502
+ }
503
+ writeFoldedLines(count) {
504
+ if (count === 1) {
505
+ this.result += " ";
506
+ }
507
+ else if (count > 1) {
508
+ this.result += "\n".repeat(count - 1);
509
+ }
510
+ }
511
+ readPlainScalar(nodeIndent, withinFlowCollection) {
512
+ const kind = this.kind;
513
+ const result = this.result;
514
+ let ch = this.peek();
515
+ if (isWhiteSpaceOrEOL(ch) ||
516
+ isFlowIndicator(ch) ||
517
+ ch === SHARP ||
518
+ ch === AMPERSAND ||
519
+ ch === ASTERISK ||
520
+ ch === EXCLAMATION ||
521
+ ch === VERTICAL_LINE ||
522
+ ch === GREATER_THAN ||
523
+ ch === SINGLE_QUOTE ||
524
+ ch === DOUBLE_QUOTE ||
525
+ ch === PERCENT ||
526
+ ch === COMMERCIAL_AT ||
527
+ ch === GRAVE_ACCENT) {
528
+ return false;
529
+ }
530
+ let following;
531
+ if (ch === QUESTION || ch === MINUS) {
532
+ following = this.peek(1);
533
+ if (isWhiteSpaceOrEOL(following) ||
534
+ (withinFlowCollection && isFlowIndicator(following))) {
535
+ return false;
536
+ }
537
+ }
538
+ this.kind = "scalar";
539
+ this.result = "";
540
+ let captureEnd = this.position;
541
+ let captureStart = this.position;
542
+ let hasPendingContent = false;
543
+ let line = 0;
544
+ while (ch !== 0) {
545
+ if (ch === COLON) {
546
+ following = this.peek(1);
547
+ if (isWhiteSpaceOrEOL(following) ||
548
+ (withinFlowCollection && isFlowIndicator(following))) {
549
+ break;
550
+ }
551
+ }
552
+ else if (ch === SHARP) {
553
+ const preceding = this.peek(-1);
554
+ if (isWhiteSpaceOrEOL(preceding)) {
555
+ break;
556
+ }
557
+ }
558
+ else if ((this.position === this.lineStart && this.testDocumentSeparator()) ||
559
+ (withinFlowCollection && isFlowIndicator(ch))) {
560
+ break;
561
+ }
562
+ else if (isEOL(ch)) {
563
+ line = this.line;
564
+ const lineStart = this.lineStart;
565
+ const lineIndent = this.lineIndent;
566
+ this.skipSeparationSpace(false, -1);
567
+ if (this.lineIndent >= nodeIndent) {
568
+ hasPendingContent = true;
569
+ ch = this.peek();
570
+ continue;
571
+ }
572
+ else {
573
+ this.position = captureEnd;
574
+ this.line = line;
575
+ this.lineStart = lineStart;
576
+ this.lineIndent = lineIndent;
577
+ break;
578
+ }
579
+ }
580
+ if (hasPendingContent) {
581
+ this.captureSegment(captureStart, captureEnd, false);
582
+ this.writeFoldedLines(this.line - line);
583
+ captureStart = captureEnd = this.position;
584
+ hasPendingContent = false;
585
+ }
586
+ if (!isWhiteSpace(ch)) {
587
+ captureEnd = this.position + 1;
588
+ }
589
+ ch = this.next();
590
+ }
591
+ this.captureSegment(captureStart, captureEnd, false);
592
+ if (this.result) {
593
+ return true;
594
+ }
595
+ this.kind = kind;
596
+ this.result = result;
597
+ return false;
598
+ }
599
+ readSingleQuotedScalar(nodeIndent) {
600
+ let ch;
601
+ let captureStart;
602
+ let captureEnd;
603
+ ch = this.peek();
604
+ if (ch !== SINGLE_QUOTE) {
605
+ return false;
606
+ }
607
+ this.kind = "scalar";
608
+ this.result = "";
609
+ this.position++;
610
+ captureStart = captureEnd = this.position;
611
+ while ((ch = this.peek()) !== 0) {
612
+ if (ch === SINGLE_QUOTE) {
613
+ this.captureSegment(captureStart, this.position, true);
614
+ ch = this.next();
615
+ if (ch === SINGLE_QUOTE) {
616
+ captureStart = this.position;
617
+ this.position++;
618
+ captureEnd = this.position;
619
+ }
620
+ else {
621
+ return true;
622
+ }
623
+ }
624
+ else if (isEOL(ch)) {
625
+ this.captureSegment(captureStart, captureEnd, true);
626
+ this.writeFoldedLines(this.skipSeparationSpace(false, nodeIndent));
627
+ captureStart = captureEnd = this.position;
628
+ }
629
+ else if (this.position === this.lineStart &&
630
+ this.testDocumentSeparator()) {
631
+ return this.throwError("Unexpected end of the document within a single quoted scalar");
632
+ }
633
+ else {
634
+ this.position++;
635
+ captureEnd = this.position;
636
+ }
637
+ }
638
+ return this.throwError("Unexpected end of the stream within a single quoted scalar");
639
+ }
640
+ readDoubleQuotedScalar(nodeIndent) {
641
+ let ch = this.peek();
642
+ if (ch !== DOUBLE_QUOTE) {
643
+ return false;
644
+ }
645
+ this.kind = "scalar";
646
+ this.result = "";
647
+ this.position++;
648
+ let captureEnd = this.position;
649
+ let captureStart = this.position;
650
+ let tmp;
651
+ while ((ch = this.peek()) !== 0) {
652
+ if (ch === DOUBLE_QUOTE) {
653
+ this.captureSegment(captureStart, this.position, true);
654
+ this.position++;
655
+ return true;
656
+ }
657
+ if (ch === BACKSLASH) {
658
+ this.captureSegment(captureStart, this.position, true);
659
+ ch = this.next();
660
+ if (isEOL(ch)) {
661
+ this.skipSeparationSpace(false, nodeIndent);
662
+ }
663
+ else if (ch < 256 && SIMPLE_ESCAPE_SEQUENCES.has(ch)) {
664
+ this.result += SIMPLE_ESCAPE_SEQUENCES.get(ch);
665
+ this.position++;
666
+ }
667
+ else if ((tmp = ESCAPED_HEX_LENGTHS.get(ch) ?? 0) > 0) {
668
+ let hexLength = tmp;
669
+ let hexResult = 0;
670
+ for (; hexLength > 0; hexLength--) {
671
+ ch = this.next();
672
+ if ((tmp = hexCharCodeToNumber(ch)) >= 0) {
673
+ hexResult = (hexResult << 4) + tmp;
674
+ }
675
+ else {
676
+ return this.throwError("Cannot read double quoted scalar: expected hexadecimal character");
677
+ }
678
+ }
679
+ this.result += codepointToChar(hexResult);
680
+ this.position++;
681
+ }
682
+ else {
683
+ return this.throwError("Cannot read double quoted scalar: unknown escape sequence");
684
+ }
685
+ captureStart = captureEnd = this.position;
686
+ }
687
+ else if (isEOL(ch)) {
688
+ this.captureSegment(captureStart, captureEnd, true);
689
+ this.writeFoldedLines(this.skipSeparationSpace(false, nodeIndent));
690
+ captureStart = captureEnd = this.position;
691
+ }
692
+ else if (this.position === this.lineStart &&
693
+ this.testDocumentSeparator()) {
694
+ return this.throwError("Unexpected end of the document within a double quoted scalar");
695
+ }
696
+ else {
697
+ this.position++;
698
+ captureEnd = this.position;
699
+ }
700
+ }
701
+ return this.throwError("Unexpected end of the stream within a double quoted scalar");
702
+ }
703
+ readFlowCollection(nodeIndent) {
704
+ let ch = this.peek();
705
+ let terminator;
706
+ let isMapping = true;
707
+ let result = {};
708
+ if (ch === LEFT_SQUARE_BRACKET) {
709
+ terminator = RIGHT_SQUARE_BRACKET;
710
+ isMapping = false;
711
+ result = [];
712
+ }
713
+ else if (ch === LEFT_CURLY_BRACKET) {
714
+ terminator = RIGHT_CURLY_BRACKET;
715
+ }
716
+ else {
717
+ return false;
718
+ }
719
+ if (this.anchor !== null && typeof this.anchor !== "undefined") {
720
+ this.anchorMap.set(this.anchor, result);
721
+ }
722
+ ch = this.next();
723
+ const tag = this.tag;
724
+ const anchor = this.anchor;
725
+ let readNext = true;
726
+ let valueNode = null;
727
+ let keyNode = null;
728
+ let keyTag = null;
729
+ let isExplicitPair = false;
730
+ let isPair = false;
731
+ let following = 0;
732
+ let line = 0;
733
+ const overridableKeys = new Set();
734
+ while (ch !== 0) {
735
+ this.skipSeparationSpace(true, nodeIndent);
736
+ ch = this.peek();
737
+ if (ch === terminator) {
738
+ this.position++;
739
+ this.tag = tag;
740
+ this.anchor = anchor;
741
+ this.kind = isMapping ? "mapping" : "sequence";
742
+ this.result = result;
743
+ return true;
744
+ }
745
+ if (!readNext) {
746
+ return this.throwError("Cannot read flow collection: missing comma between flow collection entries");
747
+ }
748
+ keyTag = keyNode = valueNode = null;
749
+ isPair = isExplicitPair = false;
750
+ if (ch === QUESTION) {
751
+ following = this.peek(1);
752
+ if (isWhiteSpaceOrEOL(following)) {
753
+ isPair = isExplicitPair = true;
754
+ this.position++;
755
+ this.skipSeparationSpace(true, nodeIndent);
756
+ }
757
+ }
758
+ line = this.line;
759
+ this.composeNode(nodeIndent, CONTEXT_FLOW_IN, false, true);
760
+ keyTag = this.tag || null;
761
+ keyNode = this.result;
762
+ this.skipSeparationSpace(true, nodeIndent);
763
+ ch = this.peek();
764
+ if ((isExplicitPair || this.line === line) && ch === COLON) {
765
+ isPair = true;
766
+ ch = this.next();
767
+ this.skipSeparationSpace(true, nodeIndent);
768
+ this.composeNode(nodeIndent, CONTEXT_FLOW_IN, false, true);
769
+ valueNode = this.result;
770
+ }
771
+ if (isMapping) {
772
+ this.storeMappingPair(result, overridableKeys, keyTag, keyNode, valueNode);
773
+ }
774
+ else if (isPair) {
775
+ result.push(this.storeMappingPair({}, overridableKeys, keyTag, keyNode, valueNode));
776
+ }
777
+ else {
778
+ result.push(keyNode);
779
+ }
780
+ this.skipSeparationSpace(true, nodeIndent);
781
+ ch = this.peek();
782
+ if (ch === COMMA) {
783
+ readNext = true;
784
+ ch = this.next();
785
+ }
786
+ else {
787
+ readNext = false;
788
+ }
789
+ }
790
+ return this.throwError("Cannot read flow collection: unexpected end of the stream within a flow collection");
791
+ }
792
+ // Handles block scaler styles: e.g. '|', '>', '|-' and '>-'.
793
+ // https://yaml.org/spec/1.2.2/#81-block-scalar-styles
794
+ readBlockScalar(nodeIndent) {
795
+ let chomping = CHOMPING_CLIP;
796
+ let didReadContent = false;
797
+ let detectedIndent = false;
798
+ let textIndent = nodeIndent;
799
+ let emptyLines = 0;
800
+ let atMoreIndented = false;
801
+ let ch = this.peek();
802
+ let folding = false;
803
+ if (ch === VERTICAL_LINE) {
804
+ folding = false;
805
+ }
806
+ else if (ch === GREATER_THAN) {
807
+ folding = true;
808
+ }
809
+ else {
810
+ return false;
811
+ }
812
+ this.kind = "scalar";
813
+ this.result = "";
814
+ let tmp = 0;
815
+ while (ch !== 0) {
816
+ ch = this.next();
817
+ if (ch === PLUS || ch === MINUS) {
818
+ if (CHOMPING_CLIP === chomping) {
819
+ chomping = ch === PLUS ? CHOMPING_KEEP : CHOMPING_STRIP;
820
+ }
821
+ else {
822
+ return this.throwError("Cannot read block: chomping mode identifier repeated");
823
+ }
824
+ }
825
+ else if ((tmp = decimalCharCodeToNumber(ch)) >= 0) {
826
+ if (tmp === 0) {
827
+ return this.throwError("Cannot read block: indentation width must be greater than 0");
828
+ }
829
+ else if (!detectedIndent) {
830
+ textIndent = nodeIndent + tmp - 1;
831
+ detectedIndent = true;
832
+ }
833
+ else {
834
+ return this.throwError("Cannot read block: indentation width identifier repeated");
835
+ }
836
+ }
837
+ else {
838
+ break;
839
+ }
840
+ }
841
+ if (isWhiteSpace(ch)) {
842
+ do {
843
+ ch = this.next();
844
+ } while (isWhiteSpace(ch));
845
+ if (ch === SHARP) {
846
+ do {
847
+ ch = this.next();
848
+ } while (!isEOL(ch) && ch !== 0);
849
+ }
850
+ }
851
+ while (ch !== 0) {
852
+ this.readLineBreak();
853
+ this.lineIndent = 0;
854
+ ch = this.peek();
855
+ while ((!detectedIndent || this.lineIndent < textIndent) &&
856
+ ch === SPACE) {
857
+ this.lineIndent++;
858
+ ch = this.next();
859
+ }
860
+ if (!detectedIndent && this.lineIndent > textIndent) {
861
+ textIndent = this.lineIndent;
862
+ }
863
+ if (isEOL(ch)) {
864
+ emptyLines++;
865
+ continue;
866
+ }
867
+ // End of the scalar.
868
+ if (this.lineIndent < textIndent) {
869
+ // Perform the chomping.
870
+ if (chomping === CHOMPING_KEEP) {
871
+ this.result += "\n".repeat(didReadContent ? 1 + emptyLines : emptyLines);
872
+ }
873
+ else if (chomping === CHOMPING_CLIP) {
874
+ if (didReadContent) {
875
+ // i.e. only if the scalar is not empty.
876
+ this.result += "\n";
877
+ }
878
+ }
879
+ // Break this `while` cycle and go to the function's epilogue.
880
+ break;
881
+ }
882
+ // Folded style: use fancy rules to handle line breaks.
883
+ if (folding) {
884
+ // Lines starting with white space characters (more-indented lines) are not folded.
885
+ if (isWhiteSpace(ch)) {
886
+ atMoreIndented = true;
887
+ // except for the first content line (cf. Example 8.1)
888
+ this.result += "\n".repeat(didReadContent ? 1 + emptyLines : emptyLines);
889
+ // End of more-indented block.
890
+ }
891
+ else if (atMoreIndented) {
892
+ atMoreIndented = false;
893
+ this.result += "\n".repeat(emptyLines + 1);
894
+ // Just one line break - perceive as the same line.
895
+ }
896
+ else if (emptyLines === 0) {
897
+ if (didReadContent) {
898
+ // i.e. only if we have already read some scalar content.
899
+ this.result += " ";
900
+ }
901
+ // Several line breaks - perceive as different lines.
902
+ }
903
+ else {
904
+ this.result += "\n".repeat(emptyLines);
905
+ }
906
+ // Literal style: just add exact number of line breaks between content lines.
907
+ }
908
+ else {
909
+ // Keep all line breaks except the header line break.
910
+ this.result += "\n".repeat(didReadContent ? 1 + emptyLines : emptyLines);
911
+ }
912
+ didReadContent = true;
913
+ detectedIndent = true;
914
+ emptyLines = 0;
915
+ const captureStart = this.position;
916
+ while (!isEOL(ch) && ch !== 0) {
917
+ ch = this.next();
918
+ }
919
+ this.captureSegment(captureStart, this.position, false);
920
+ }
921
+ return true;
922
+ }
923
+ readBlockMapping(nodeIndent, flowIndent) {
924
+ const tag = this.tag;
925
+ const anchor = this.anchor;
926
+ const result = {};
927
+ const overridableKeys = new Set();
928
+ let following;
929
+ let allowCompact = false;
930
+ let line;
931
+ let pos;
932
+ let keyTag = null;
933
+ let keyNode = null;
934
+ let valueNode = null;
935
+ let atExplicitKey = false;
936
+ let detected = false;
937
+ let ch;
938
+ if (this.anchor !== null && typeof this.anchor !== "undefined") {
939
+ this.anchorMap.set(this.anchor, result);
940
+ }
941
+ ch = this.peek();
942
+ while (ch !== 0) {
943
+ following = this.peek(1);
944
+ line = this.line; // Save the current line.
945
+ pos = this.position;
946
+ //
947
+ // Explicit notation case. There are two separate blocks:
948
+ // first for the key (denoted by "?") and second for the value (denoted by ":")
949
+ //
950
+ if ((ch === QUESTION || ch === COLON) && isWhiteSpaceOrEOL(following)) {
951
+ if (ch === QUESTION) {
952
+ if (atExplicitKey) {
953
+ this.storeMappingPair(result, overridableKeys, keyTag, keyNode, null);
954
+ keyTag = keyNode = valueNode = null;
955
+ }
956
+ detected = true;
957
+ atExplicitKey = true;
958
+ allowCompact = true;
959
+ }
960
+ else if (atExplicitKey) {
961
+ // i.e. 0x3A/* : */ === character after the explicit key.
962
+ atExplicitKey = false;
963
+ allowCompact = true;
964
+ }
965
+ else {
966
+ return this.throwError("Cannot read block as explicit mapping pair is incomplete: a key node is missed or followed by a non-tabulated empty line");
967
+ }
968
+ this.position += 1;
969
+ ch = following;
970
+ //
971
+ // Implicit notation case. Flow-style node as the key first, then ":", and the value.
972
+ //
973
+ }
974
+ else if (this.composeNode(flowIndent, CONTEXT_FLOW_OUT, false, true)) {
975
+ if (this.line === line) {
976
+ ch = this.peek();
977
+ while (isWhiteSpace(ch)) {
978
+ ch = this.next();
979
+ }
980
+ if (ch === COLON) {
981
+ ch = this.next();
982
+ if (!isWhiteSpaceOrEOL(ch)) {
983
+ return this.throwError("Cannot read block: a whitespace character is expected after the key-value separator within a block mapping");
984
+ }
985
+ if (atExplicitKey) {
986
+ this.storeMappingPair(result, overridableKeys, keyTag, keyNode, null);
987
+ keyTag = keyNode = valueNode = null;
988
+ }
989
+ detected = true;
990
+ atExplicitKey = false;
991
+ allowCompact = false;
992
+ keyTag = this.tag;
993
+ keyNode = this.result;
994
+ }
995
+ else if (detected) {
996
+ return this.throwError("Cannot read an implicit mapping pair: missing colon");
997
+ }
998
+ else {
999
+ this.tag = tag;
1000
+ this.anchor = anchor;
1001
+ return true; // Keep the result of `composeNode`.
1002
+ }
1003
+ }
1004
+ else if (detected) {
1005
+ return this.throwError("Cannot read a block mapping entry: a multiline key may not be an implicit key");
1006
+ }
1007
+ else {
1008
+ this.tag = tag;
1009
+ this.anchor = anchor;
1010
+ return true; // Keep the result of `composeNode`.
1011
+ }
1012
+ }
1013
+ else {
1014
+ break; // Reading is done. Go to the epilogue.
1015
+ }
1016
+ //
1017
+ // Common reading code for both explicit and implicit notations.
1018
+ //
1019
+ if (this.line === line || this.lineIndent > nodeIndent) {
1020
+ if (this.composeNode(nodeIndent, CONTEXT_BLOCK_OUT, true, allowCompact)) {
1021
+ if (atExplicitKey) {
1022
+ keyNode = this.result;
1023
+ }
1024
+ else {
1025
+ valueNode = this.result;
1026
+ }
1027
+ }
1028
+ if (!atExplicitKey) {
1029
+ this.storeMappingPair(result, overridableKeys, keyTag, keyNode, valueNode, line, pos);
1030
+ keyTag = keyNode = valueNode = null;
1031
+ }
1032
+ this.skipSeparationSpace(true, -1);
1033
+ ch = this.peek();
1034
+ }
1035
+ if (this.lineIndent > nodeIndent && ch !== 0) {
1036
+ return this.throwError("Cannot read block: bad indentation of a mapping entry");
1037
+ }
1038
+ else if (this.lineIndent < nodeIndent) {
1039
+ break;
1040
+ }
1041
+ }
1042
+ //
1043
+ // Epilogue.
1044
+ //
1045
+ // Special case: last mapping's node contains only the key in explicit notation.
1046
+ if (atExplicitKey) {
1047
+ this.storeMappingPair(result, overridableKeys, keyTag, keyNode, null);
1048
+ }
1049
+ // Expose the resulting mapping.
1050
+ if (detected) {
1051
+ this.tag = tag;
1052
+ this.anchor = anchor;
1053
+ this.kind = "mapping";
1054
+ this.result = result;
1055
+ }
1056
+ return detected;
1057
+ }
1058
+ readTagProperty() {
1059
+ let position;
1060
+ let isVerbatim = false;
1061
+ let isNamed = false;
1062
+ let tagHandle = "";
1063
+ let tagName;
1064
+ let ch;
1065
+ ch = this.peek();
1066
+ if (ch !== EXCLAMATION)
1067
+ return false;
1068
+ if (this.tag !== null) {
1069
+ return this.throwError("Cannot read tag property: duplication of a tag property");
1070
+ }
1071
+ ch = this.next();
1072
+ if (ch === SMALLER_THAN) {
1073
+ isVerbatim = true;
1074
+ ch = this.next();
1075
+ }
1076
+ else if (ch === EXCLAMATION) {
1077
+ isNamed = true;
1078
+ tagHandle = "!!";
1079
+ ch = this.next();
1080
+ }
1081
+ else {
1082
+ tagHandle = "!";
1083
+ }
1084
+ position = this.position;
1085
+ if (isVerbatim) {
1086
+ do {
1087
+ ch = this.next();
1088
+ } while (ch !== 0 && ch !== GREATER_THAN);
1089
+ if (this.position < this.length) {
1090
+ tagName = this.input.slice(position, this.position);
1091
+ ch = this.next();
1092
+ }
1093
+ else {
1094
+ return this.throwError("Cannot read tag property: unexpected end of stream");
1095
+ }
1096
+ }
1097
+ else {
1098
+ while (ch !== 0 && !isWhiteSpaceOrEOL(ch)) {
1099
+ if (ch === EXCLAMATION) {
1100
+ if (!isNamed) {
1101
+ tagHandle = this.input.slice(position - 1, this.position + 1);
1102
+ if (!PATTERN_TAG_HANDLE.test(tagHandle)) {
1103
+ return this.throwError("Cannot read tag property: named tag handle contains invalid characters");
1104
+ }
1105
+ isNamed = true;
1106
+ position = this.position + 1;
1107
+ }
1108
+ else {
1109
+ return this.throwError("Cannot read tag property: tag suffix cannot contain an exclamation mark");
1110
+ }
1111
+ }
1112
+ ch = this.next();
1113
+ }
1114
+ tagName = this.input.slice(position, this.position);
1115
+ if (PATTERN_FLOW_INDICATORS.test(tagName)) {
1116
+ return this.throwError("Cannot read tag property: tag suffix cannot contain flow indicator characters");
1117
+ }
1118
+ }
1119
+ if (tagName && !PATTERN_TAG_URI.test(tagName)) {
1120
+ return this.throwError(`Cannot read tag property: invalid characters in tag name "${tagName}"`);
1121
+ }
1122
+ if (isVerbatim) {
1123
+ this.tag = tagName;
1124
+ }
1125
+ else if (this.tagMap.has(tagHandle)) {
1126
+ this.tag = this.tagMap.get(tagHandle) + tagName;
1127
+ }
1128
+ else if (tagHandle === "!") {
1129
+ this.tag = `!${tagName}`;
1130
+ }
1131
+ else if (tagHandle === "!!") {
1132
+ this.tag = `tag:yaml.org,2002:${tagName}`;
1133
+ }
1134
+ else {
1135
+ return this.throwError(`Cannot read tag property: undeclared tag handle "${tagHandle}"`);
1136
+ }
1137
+ return true;
1138
+ }
1139
+ readAnchorProperty() {
1140
+ let ch = this.peek();
1141
+ if (ch !== AMPERSAND)
1142
+ return false;
1143
+ if (this.anchor !== null) {
1144
+ return this.throwError("Cannot read anchor property: duplicate anchor property");
1145
+ }
1146
+ ch = this.next();
1147
+ const position = this.position;
1148
+ while (ch !== 0 && !isWhiteSpaceOrEOL(ch) && !isFlowIndicator(ch)) {
1149
+ ch = this.next();
1150
+ }
1151
+ if (this.position === position) {
1152
+ return this.throwError("Cannot read anchor property: name of an anchor node must contain at least one character");
1153
+ }
1154
+ this.anchor = this.input.slice(position, this.position);
1155
+ return true;
1156
+ }
1157
+ readAlias() {
1158
+ if (this.peek() !== ASTERISK)
1159
+ return false;
1160
+ let ch = this.next();
1161
+ const position = this.position;
1162
+ while (ch !== 0 && !isWhiteSpaceOrEOL(ch) && !isFlowIndicator(ch)) {
1163
+ ch = this.next();
1164
+ }
1165
+ if (this.position === position) {
1166
+ return this.throwError("Cannot read alias: alias name must contain at least one character");
1167
+ }
1168
+ const alias = this.input.slice(position, this.position);
1169
+ if (!this.anchorMap.has(alias)) {
1170
+ return this.throwError(`Cannot read alias: unidentified alias "${alias}"`);
1171
+ }
1172
+ this.result = this.anchorMap.get(alias);
1173
+ this.skipSeparationSpace(true, -1);
1174
+ return true;
1175
+ }
1176
+ composeNode(parentIndent, nodeContext, allowToSeek, allowCompact) {
1177
+ let allowBlockScalars;
1178
+ let allowBlockCollections;
1179
+ let indentStatus = 1; // 1: this>parent, 0: this=parent, -1: this<parent
1180
+ let atNewLine = false;
1181
+ let hasContent = false;
1182
+ let type;
1183
+ let flowIndent;
1184
+ let blockIndent;
1185
+ this.tag = null;
1186
+ this.anchor = null;
1187
+ this.kind = null;
1188
+ this.result = null;
1189
+ const allowBlockStyles = (allowBlockScalars =
1190
+ allowBlockCollections =
1191
+ CONTEXT_BLOCK_OUT === nodeContext || CONTEXT_BLOCK_IN === nodeContext);
1192
+ if (allowToSeek) {
1193
+ if (this.skipSeparationSpace(true, -1)) {
1194
+ atNewLine = true;
1195
+ if (this.lineIndent > parentIndent) {
1196
+ indentStatus = 1;
1197
+ }
1198
+ else if (this.lineIndent === parentIndent) {
1199
+ indentStatus = 0;
1200
+ }
1201
+ else if (this.lineIndent < parentIndent) {
1202
+ indentStatus = -1;
1203
+ }
1204
+ }
1205
+ }
1206
+ if (indentStatus === 1) {
1207
+ while (this.readTagProperty() || this.readAnchorProperty()) {
1208
+ if (this.skipSeparationSpace(true, -1)) {
1209
+ atNewLine = true;
1210
+ allowBlockCollections = allowBlockStyles;
1211
+ if (this.lineIndent > parentIndent) {
1212
+ indentStatus = 1;
1213
+ }
1214
+ else if (this.lineIndent === parentIndent) {
1215
+ indentStatus = 0;
1216
+ }
1217
+ else if (this.lineIndent < parentIndent) {
1218
+ indentStatus = -1;
1219
+ }
1220
+ }
1221
+ else {
1222
+ allowBlockCollections = false;
1223
+ }
1224
+ }
1225
+ }
1226
+ if (allowBlockCollections) {
1227
+ allowBlockCollections = atNewLine || allowCompact;
1228
+ }
1229
+ if (indentStatus === 1 || CONTEXT_BLOCK_OUT === nodeContext) {
1230
+ const cond = CONTEXT_FLOW_IN === nodeContext ||
1231
+ CONTEXT_FLOW_OUT === nodeContext;
1232
+ flowIndent = cond ? parentIndent : parentIndent + 1;
1233
+ blockIndent = this.position - this.lineStart;
1234
+ if (indentStatus === 1) {
1235
+ if ((allowBlockCollections &&
1236
+ (this.readBlockSequence(blockIndent) ||
1237
+ this.readBlockMapping(blockIndent, flowIndent))) ||
1238
+ this.readFlowCollection(flowIndent)) {
1239
+ hasContent = true;
1240
+ }
1241
+ else {
1242
+ if ((allowBlockScalars && this.readBlockScalar(flowIndent)) ||
1243
+ this.readSingleQuotedScalar(flowIndent) ||
1244
+ this.readDoubleQuotedScalar(flowIndent)) {
1245
+ hasContent = true;
1246
+ }
1247
+ else if (this.readAlias()) {
1248
+ hasContent = true;
1249
+ if (this.tag !== null || this.anchor !== null) {
1250
+ return this.throwError("Cannot compose node: alias node should not have any properties");
1251
+ }
1252
+ }
1253
+ else if (this.readPlainScalar(flowIndent, CONTEXT_FLOW_IN === nodeContext)) {
1254
+ hasContent = true;
1255
+ if (this.tag === null) {
1256
+ this.tag = "?";
1257
+ }
1258
+ }
1259
+ if (this.anchor !== null) {
1260
+ this.anchorMap.set(this.anchor, this.result);
1261
+ }
1262
+ }
1263
+ }
1264
+ else if (indentStatus === 0) {
1265
+ // Special case: block sequences are allowed to have same indentation level as the parent.
1266
+ // http://www.yaml.org/spec/1.2/spec.html#id2799784
1267
+ hasContent = allowBlockCollections &&
1268
+ this.readBlockSequence(blockIndent);
1269
+ }
1270
+ }
1271
+ if (this.tag !== null && this.tag !== "!") {
1272
+ if (this.tag === "?") {
1273
+ for (let typeIndex = 0; typeIndex < this.implicitTypes.length; typeIndex++) {
1274
+ type = this.implicitTypes[typeIndex];
1275
+ // Implicit resolving is not allowed for non-scalar types, and '?'
1276
+ // non-specific tag is only assigned to plain scalars. So, it isn't
1277
+ // needed to check for 'kind' conformity.
1278
+ if (type.resolve(this.result)) {
1279
+ // `state.result` updated in resolver if matched
1280
+ this.result = type.construct(this.result);
1281
+ this.tag = type.tag;
1282
+ if (this.anchor !== null) {
1283
+ this.anchorMap.set(this.anchor, this.result);
1284
+ }
1285
+ break;
1286
+ }
1287
+ }
1288
+ }
1289
+ else if (this.typeMap[this.kind ?? "fallback"].has(this.tag)) {
1290
+ const map = this.typeMap[this.kind ?? "fallback"];
1291
+ type = map.get(this.tag);
1292
+ if (this.result !== null && type.kind !== this.kind) {
1293
+ return this.throwError(`Unacceptable node kind for !<${this.tag}> tag: it should be "${type.kind}", not "${this.kind}"`);
1294
+ }
1295
+ if (!type.resolve(this.result)) {
1296
+ // `state.result` updated in resolver if matched
1297
+ return this.throwError(`Cannot resolve a node with !<${this.tag}> explicit tag`);
1298
+ }
1299
+ else {
1300
+ this.result = type.construct(this.result);
1301
+ if (this.anchor !== null) {
1302
+ this.anchorMap.set(this.anchor, this.result);
1303
+ }
1304
+ }
1305
+ }
1306
+ else {
1307
+ return this.throwError(`Cannot resolve unknown tag !<${this.tag}>`);
1308
+ }
1309
+ }
1310
+ return this.tag !== null || this.anchor !== null || hasContent;
1311
+ }
1312
+ readDocument() {
1313
+ const documentStart = this.position;
1314
+ let position;
1315
+ let directiveName;
1316
+ let directiveArgs;
1317
+ let hasDirectives = false;
1318
+ let ch;
1319
+ this.version = null;
1320
+ this.checkLineBreaks = false;
1321
+ this.tagMap = new Map();
1322
+ this.anchorMap = new Map();
1323
+ while ((ch = this.peek()) !== 0) {
1324
+ this.skipSeparationSpace(true, -1);
1325
+ ch = this.peek();
1326
+ if (this.lineIndent > 0 || ch !== PERCENT) {
1327
+ break;
1328
+ }
1329
+ hasDirectives = true;
1330
+ ch = this.next();
1331
+ position = this.position;
1332
+ while (ch !== 0 && !isWhiteSpaceOrEOL(ch)) {
1333
+ ch = this.next();
1334
+ }
1335
+ directiveName = this.input.slice(position, this.position);
1336
+ directiveArgs = [];
1337
+ if (directiveName.length < 1) {
1338
+ return this.throwError("Cannot read document: directive name length must be greater than zero");
1339
+ }
1340
+ while (ch !== 0) {
1341
+ while (isWhiteSpace(ch)) {
1342
+ ch = this.next();
1343
+ }
1344
+ if (ch === SHARP) {
1345
+ do {
1346
+ ch = this.next();
1347
+ } while (ch !== 0 && !isEOL(ch));
1348
+ break;
1349
+ }
1350
+ if (isEOL(ch))
1351
+ break;
1352
+ position = this.position;
1353
+ while (ch !== 0 && !isWhiteSpaceOrEOL(ch)) {
1354
+ ch = this.next();
1355
+ }
1356
+ directiveArgs.push(this.input.slice(position, this.position));
1357
+ }
1358
+ if (ch !== 0)
1359
+ this.readLineBreak();
1360
+ switch (directiveName) {
1361
+ case "YAML":
1362
+ this.yamlDirectiveHandler(...directiveArgs);
1363
+ break;
1364
+ case "TAG":
1365
+ this.tagDirectiveHandler(...directiveArgs);
1366
+ break;
1367
+ default:
1368
+ this.dispatchWarning(`unknown document directive "${directiveName}"`);
1369
+ break;
1370
+ }
1371
+ }
1372
+ this.skipSeparationSpace(true, -1);
1373
+ if (this.lineIndent === 0 &&
1374
+ this.peek() === MINUS &&
1375
+ this.peek(1) === MINUS &&
1376
+ this.peek(2) === MINUS) {
1377
+ this.position += 3;
1378
+ this.skipSeparationSpace(true, -1);
1379
+ }
1380
+ else if (hasDirectives) {
1381
+ return this.throwError("Cannot read document: directives end mark is expected");
1382
+ }
1383
+ this.composeNode(this.lineIndent - 1, CONTEXT_BLOCK_OUT, false, true);
1384
+ this.skipSeparationSpace(true, -1);
1385
+ if (this.checkLineBreaks &&
1386
+ PATTERN_NON_ASCII_LINE_BREAKS.test(this.input.slice(documentStart, this.position))) {
1387
+ this.dispatchWarning("non-ASCII line breaks are interpreted as content");
1388
+ }
1389
+ if (this.position === this.lineStart && this.testDocumentSeparator()) {
1390
+ if (this.peek() === DOT) {
1391
+ this.position += 3;
1392
+ this.skipSeparationSpace(true, -1);
1393
+ }
1394
+ }
1395
+ else if (this.position < this.length - 1) {
1396
+ return this.throwError("Cannot read document: end of the stream or a document separator is expected");
1397
+ }
1398
+ return this.result;
1399
+ }
1400
+ *readDocuments() {
1401
+ while (this.position < this.length - 1) {
1402
+ yield this.readDocument();
1403
+ }
1404
+ }
1405
+ }
1406
+ _LoaderState_instances = new WeakSet(), _LoaderState_createError = function _LoaderState_createError(message) {
1407
+ const mark = markToString(this.input, this.position, this.line, this.position - this.lineStart);
1408
+ return new SyntaxError(`${message} ${mark}`);
1409
+ };