windmill-cli 1.518.2 → 1.518.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (848) hide show
  1. package/esm/deps/jsr.io/@std/fs/1.0.16/_create_walk_entry.js +34 -0
  2. package/esm/deps/jsr.io/@std/fs/1.0.16/_is_same_path.js +17 -0
  3. package/esm/deps/jsr.io/@std/fs/1.0.16/_is_subdir.js +25 -0
  4. package/esm/deps/jsr.io/@std/fs/1.0.16/_to_path_string.js +13 -0
  5. package/esm/deps/jsr.io/@std/fs/1.0.16/copy.js +314 -0
  6. package/esm/deps/jsr.io/@std/fs/1.0.16/empty_dir.js +87 -0
  7. package/esm/deps/jsr.io/@std/fs/1.0.16/ensure_file.js +90 -0
  8. package/esm/deps/jsr.io/@std/fs/1.0.16/ensure_link.js +61 -0
  9. package/esm/deps/jsr.io/@std/fs/1.0.16/ensure_symlink.js +157 -0
  10. package/esm/deps/jsr.io/@std/fs/1.0.16/expand_glob.js +416 -0
  11. package/esm/deps/jsr.io/@std/fs/1.0.16/walk.js +846 -0
  12. package/esm/deps/jsr.io/@std/io/0.225.2/read_all.js +1 -1
  13. package/esm/deps/jsr.io/@std/log/0.224.14/console_handler.js +1 -1
  14. package/esm/deps/jsr.io/@std/log/0.224.14/rotating_file_handler.js +1 -1
  15. package/esm/deps/jsr.io/@std/path/1.0.8/_common/assert_path.js +7 -0
  16. package/esm/deps/jsr.io/@std/path/1.0.8/_common/basename.js +40 -0
  17. package/esm/deps/jsr.io/@std/path/1.0.8/_common/common.js +23 -0
  18. package/esm/deps/jsr.io/@std/path/1.0.8/_common/constants.js +46 -0
  19. package/esm/deps/jsr.io/@std/path/1.0.8/_common/dirname.js +8 -0
  20. package/esm/deps/jsr.io/@std/path/1.0.8/_common/format.js +19 -0
  21. package/esm/deps/jsr.io/@std/path/1.0.8/_common/from_file_url.js +9 -0
  22. package/esm/deps/jsr.io/@std/path/1.0.8/_common/glob_to_reg_exp.js +234 -0
  23. package/esm/deps/jsr.io/@std/path/1.0.8/_common/normalize.js +8 -0
  24. package/esm/deps/jsr.io/@std/path/1.0.8/_common/normalize_string.js +77 -0
  25. package/esm/deps/jsr.io/@std/path/1.0.8/_common/relative.js +9 -0
  26. package/esm/deps/jsr.io/@std/path/1.0.8/_common/strip_trailing_separators.js +19 -0
  27. package/esm/deps/jsr.io/@std/path/1.0.8/_common/to_file_url.js +15 -0
  28. package/esm/deps/jsr.io/@std/path/1.0.8/_os.js +9 -0
  29. package/esm/deps/jsr.io/@std/path/1.0.8/basename.js +36 -0
  30. package/esm/deps/jsr.io/@std/path/1.0.8/common.js +33 -0
  31. package/esm/deps/jsr.io/@std/path/1.0.8/constants.js +17 -0
  32. package/esm/deps/jsr.io/@std/path/1.0.8/dirname.js +29 -0
  33. package/esm/deps/jsr.io/@std/path/1.0.8/extname.js +29 -0
  34. package/esm/deps/jsr.io/@std/path/1.0.8/format.js +27 -0
  35. package/esm/deps/jsr.io/@std/path/1.0.8/from_file_url.js +28 -0
  36. package/esm/deps/jsr.io/@std/path/1.0.8/glob_to_regexp.js +83 -0
  37. package/esm/deps/jsr.io/@std/path/1.0.8/is_absolute.js +28 -0
  38. package/esm/deps/jsr.io/@std/path/1.0.8/is_glob.js +42 -0
  39. package/esm/deps/jsr.io/@std/path/1.0.8/join.js +29 -0
  40. package/esm/deps/jsr.io/@std/path/1.0.8/join_globs.js +34 -0
  41. package/esm/deps/jsr.io/@std/path/1.0.8/mod.js +57 -0
  42. package/esm/deps/jsr.io/@std/path/1.0.8/normalize.js +33 -0
  43. package/esm/deps/jsr.io/@std/path/1.0.8/normalize_glob.js +35 -0
  44. package/esm/deps/jsr.io/@std/path/1.0.8/parse.js +39 -0
  45. package/esm/deps/jsr.io/@std/path/1.0.8/posix/_util.js +8 -0
  46. package/esm/deps/jsr.io/@std/path/1.0.8/posix/basename.js +49 -0
  47. package/esm/deps/jsr.io/@std/path/1.0.8/posix/constants.js +14 -0
  48. package/esm/deps/jsr.io/@std/path/1.0.8/posix/dirname.js +62 -0
  49. package/esm/deps/jsr.io/@std/path/1.0.8/posix/extname.js +89 -0
  50. package/esm/deps/jsr.io/@std/path/1.0.8/posix/format.js +28 -0
  51. package/esm/deps/jsr.io/@std/path/1.0.8/posix/from_file_url.js +21 -0
  52. package/esm/deps/jsr.io/@std/path/1.0.8/posix/glob_to_regexp.js +82 -0
  53. package/esm/deps/jsr.io/@std/path/1.0.8/posix/is_absolute.js +23 -0
  54. package/esm/deps/jsr.io/@std/path/1.0.8/posix/join.js +42 -0
  55. package/esm/deps/jsr.io/@std/path/1.0.8/posix/join_globs.js +40 -0
  56. package/esm/deps/jsr.io/@std/path/1.0.8/posix/normalize.js +57 -0
  57. package/esm/deps/jsr.io/@std/path/1.0.8/posix/normalize_glob.js +32 -0
  58. package/esm/deps/jsr.io/@std/path/1.0.8/posix/parse.js +115 -0
  59. package/esm/deps/jsr.io/@std/path/1.0.8/posix/relative.js +106 -0
  60. package/esm/deps/jsr.io/@std/path/1.0.8/posix/resolve.js +59 -0
  61. package/esm/deps/jsr.io/@std/path/1.0.8/posix/to_file_url.js +27 -0
  62. package/esm/deps/jsr.io/@std/path/1.0.8/posix/to_namespaced_path.js +20 -0
  63. package/esm/deps/jsr.io/@std/path/1.0.8/relative.js +30 -0
  64. package/esm/deps/jsr.io/@std/path/1.0.8/resolve.js +30 -0
  65. package/esm/deps/jsr.io/@std/path/1.0.8/to_file_url.js +28 -0
  66. package/esm/deps/jsr.io/@std/path/1.0.8/to_namespaced_path.js +29 -0
  67. package/esm/deps/jsr.io/@std/path/1.0.8/types.js +3 -0
  68. package/esm/deps/jsr.io/@std/path/1.0.8/windows/_util.js +15 -0
  69. package/esm/deps/jsr.io/@std/path/1.0.8/windows/basename.js +44 -0
  70. package/esm/deps/jsr.io/@std/path/1.0.8/windows/constants.js +14 -0
  71. package/esm/deps/jsr.io/@std/path/1.0.8/windows/dirname.js +112 -0
  72. package/esm/deps/jsr.io/@std/path/1.0.8/windows/extname.js +81 -0
  73. package/esm/deps/jsr.io/@std/path/1.0.8/windows/format.js +28 -0
  74. package/esm/deps/jsr.io/@std/path/1.0.8/windows/from_file_url.js +30 -0
  75. package/esm/deps/jsr.io/@std/path/1.0.8/windows/glob_to_regexp.js +82 -0
  76. package/esm/deps/jsr.io/@std/path/1.0.8/windows/is_absolute.js +38 -0
  77. package/esm/deps/jsr.io/@std/path/1.0.8/windows/join.js +74 -0
  78. package/esm/deps/jsr.io/@std/path/1.0.8/windows/join_globs.js +41 -0
  79. package/esm/deps/jsr.io/@std/path/1.0.8/windows/normalize.js +134 -0
  80. package/esm/deps/jsr.io/@std/path/1.0.8/windows/normalize_glob.js +32 -0
  81. package/esm/deps/jsr.io/@std/path/1.0.8/windows/parse.js +176 -0
  82. package/esm/deps/jsr.io/@std/path/1.0.8/windows/relative.js +131 -0
  83. package/esm/deps/jsr.io/@std/path/1.0.8/windows/resolve.js +154 -0
  84. package/esm/deps/jsr.io/@std/path/1.0.8/windows/to_file_url.js +34 -0
  85. package/esm/deps/jsr.io/@std/path/1.0.8/windows/to_namespaced_path.js +49 -0
  86. package/esm/deps/jsr.io/@std/yaml/1.0.5/_chars.js +48 -0
  87. package/esm/deps/jsr.io/@std/yaml/1.0.5/_dumper_state.js +707 -0
  88. package/esm/deps/jsr.io/@std/yaml/1.0.5/_loader_state.js +1409 -0
  89. package/esm/deps/jsr.io/@std/yaml/1.0.5/_schema.js +112 -0
  90. package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/bool.js +32 -0
  91. package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/float.js +96 -0
  92. package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/int.js +159 -0
  93. package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/map.js +14 -0
  94. package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/merge.js +10 -0
  95. package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/nil.js +22 -0
  96. package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/omap.js +29 -0
  97. package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/pairs.js +19 -0
  98. package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/regexp.js +30 -0
  99. package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/seq.js +10 -0
  100. package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/set.js +14 -0
  101. package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/str.js +9 -0
  102. package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/timestamp.js +81 -0
  103. package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/undefined.js +20 -0
  104. package/esm/deps/jsr.io/@std/yaml/1.0.5/_type.js +6 -0
  105. package/esm/deps/jsr.io/@std/yaml/1.0.5/_utils.js +13 -0
  106. package/esm/deps/jsr.io/@std/yaml/1.0.5/mod.js +52 -0
  107. package/esm/deps/jsr.io/@std/yaml/1.0.5/parse.js +93 -0
  108. package/esm/deps/jsr.io/@std/yaml/1.0.5/stringify.js +33 -0
  109. package/esm/deps.js +5 -5
  110. package/esm/gen/services.gen.js +66 -0
  111. package/esm/src/commands/app/apps.js +124 -0
  112. package/esm/src/commands/dev/dev.js +145 -0
  113. package/esm/src/commands/flow/flow.js +236 -0
  114. package/esm/src/commands/folder/folder.js +101 -0
  115. package/esm/src/commands/gitsync-settings/converter.js +134 -0
  116. package/esm/src/commands/gitsync-settings/gitsync-settings.js +2 -0
  117. package/esm/src/commands/gitsync-settings/index.js +28 -0
  118. package/esm/src/commands/gitsync-settings/legacySettings.js +119 -0
  119. package/esm/src/commands/gitsync-settings/pull.js +372 -0
  120. package/esm/src/commands/gitsync-settings/push.js +263 -0
  121. package/esm/src/commands/gitsync-settings/types.js +37 -0
  122. package/esm/src/commands/gitsync-settings/utils.js +129 -0
  123. package/esm/src/commands/hub/hub.js +65 -0
  124. package/esm/src/commands/init/init.js +214 -0
  125. package/esm/src/commands/instance/instance.js +569 -0
  126. package/esm/src/commands/queues/queues.js +117 -0
  127. package/esm/src/commands/resource/resource.js +93 -0
  128. package/esm/src/commands/resource-type/resource-type.js +85 -0
  129. package/esm/src/commands/schedule/schedule.js +101 -0
  130. package/esm/src/commands/script/script.js +753 -0
  131. package/esm/src/commands/sync/pull.js +37 -0
  132. package/esm/src/commands/sync/sync.js +1563 -0
  133. package/esm/src/commands/trigger/trigger.js +182 -0
  134. package/esm/src/commands/user/user.js +428 -0
  135. package/esm/src/commands/variable/variable.js +121 -0
  136. package/esm/src/commands/worker-groups/worker_groups.js +96 -0
  137. package/esm/src/commands/workers/workers.js +79 -0
  138. package/esm/src/commands/workspace/workspace.js +348 -0
  139. package/esm/src/core/auth.js +40 -0
  140. package/esm/src/core/branch-profiles.js +46 -0
  141. package/esm/src/core/conf.js +162 -0
  142. package/esm/src/core/context.js +263 -0
  143. package/esm/src/core/login.js +100 -0
  144. package/esm/src/core/settings.js +432 -0
  145. package/esm/src/core/store.js +19 -0
  146. package/esm/src/main.js +174 -0
  147. package/esm/src/types.js +223 -0
  148. package/esm/src/utils/codebase.js +24 -0
  149. package/esm/src/utils/git.js +29 -0
  150. package/esm/src/utils/metadata.js +623 -0
  151. package/esm/src/utils/upgrade.js +48 -0
  152. package/esm/src/utils/utils.js +176 -0
  153. package/esm/windmill-utils-internal/src/config/config.js +190 -0
  154. package/esm/windmill-utils-internal/src/inline-scripts/extractor.js +13 -9
  155. package/esm/windmill-utils-internal/src/path-utils/path-assigner.js +25 -9
  156. package/package.json +6 -6
  157. package/types/deps/jsr.io/@std/bytes/1.0.5/_types.d.ts.map +1 -0
  158. package/types/deps/jsr.io/@std/bytes/1.0.5/concat.d.ts +21 -0
  159. package/types/deps/jsr.io/@std/bytes/1.0.5/concat.d.ts.map +1 -0
  160. package/types/deps/jsr.io/@std/fmt/1.0.6/colors.d.ts.map +1 -0
  161. package/types/deps/jsr.io/@std/fs/1.0.16/_create_walk_entry.d.ts.map +1 -0
  162. package/types/deps/jsr.io/@std/fs/1.0.16/_get_file_info_type.d.ts.map +1 -0
  163. package/types/deps/jsr.io/@std/fs/1.0.16/_is_same_path.d.ts.map +1 -0
  164. package/types/deps/jsr.io/@std/fs/1.0.16/_is_subdir.d.ts.map +1 -0
  165. package/types/deps/jsr.io/@std/fs/1.0.16/_to_path_string.d.ts.map +1 -0
  166. package/types/deps/jsr.io/@std/fs/1.0.16/copy.d.ts.map +1 -0
  167. package/types/deps/jsr.io/@std/fs/1.0.16/empty_dir.d.ts.map +1 -0
  168. package/types/deps/jsr.io/@std/fs/1.0.16/ensure_dir.d.ts.map +1 -0
  169. package/types/deps/jsr.io/@std/fs/1.0.16/ensure_file.d.ts.map +1 -0
  170. package/types/deps/jsr.io/@std/fs/1.0.16/ensure_link.d.ts.map +1 -0
  171. package/types/deps/jsr.io/@std/fs/1.0.16/ensure_symlink.d.ts.map +1 -0
  172. package/types/deps/jsr.io/@std/fs/1.0.16/eol.d.ts.map +1 -0
  173. package/types/deps/jsr.io/@std/fs/1.0.16/exists.d.ts.map +1 -0
  174. package/types/deps/jsr.io/@std/fs/1.0.16/expand_glob.d.ts +267 -0
  175. package/types/deps/jsr.io/@std/fs/1.0.16/expand_glob.d.ts.map +1 -0
  176. package/types/deps/jsr.io/@std/fs/1.0.16/mod.d.ts.map +1 -0
  177. package/types/deps/jsr.io/@std/fs/1.0.16/move.d.ts.map +1 -0
  178. package/types/deps/jsr.io/@std/fs/1.0.16/walk.d.ts.map +1 -0
  179. package/types/deps/jsr.io/@std/path/1.0.8/_common/assert_path.d.ts.map +1 -0
  180. package/types/deps/jsr.io/@std/path/1.0.8/_common/basename.d.ts.map +1 -0
  181. package/types/deps/jsr.io/@std/path/1.0.8/_common/common.d.ts.map +1 -0
  182. package/types/deps/jsr.io/@std/path/1.0.8/_common/constants.d.ts.map +1 -0
  183. package/types/deps/jsr.io/@std/path/1.0.8/_common/dirname.d.ts.map +1 -0
  184. package/types/deps/jsr.io/@std/path/1.0.8/_common/format.d.ts.map +1 -0
  185. package/types/deps/jsr.io/@std/path/1.0.8/_common/from_file_url.d.ts.map +1 -0
  186. package/types/deps/jsr.io/@std/path/1.0.8/_common/glob_to_reg_exp.d.ts.map +1 -0
  187. package/types/deps/jsr.io/@std/path/1.0.8/_common/normalize.d.ts.map +1 -0
  188. package/types/deps/jsr.io/@std/path/1.0.8/_common/normalize_string.d.ts.map +1 -0
  189. package/types/deps/jsr.io/@std/path/1.0.8/_common/relative.d.ts.map +1 -0
  190. package/types/deps/jsr.io/@std/path/1.0.8/_common/strip_trailing_separators.d.ts.map +1 -0
  191. package/types/deps/jsr.io/@std/path/1.0.8/_common/to_file_url.d.ts.map +1 -0
  192. package/types/deps/jsr.io/@std/path/1.0.8/_os.d.ts +2 -0
  193. package/types/deps/jsr.io/@std/path/1.0.8/_os.d.ts.map +1 -0
  194. package/types/deps/jsr.io/@std/path/1.0.8/basename.d.ts +28 -0
  195. package/types/deps/jsr.io/@std/path/1.0.8/basename.d.ts.map +1 -0
  196. package/types/deps/jsr.io/@std/path/1.0.8/common.d.ts.map +1 -0
  197. package/types/deps/jsr.io/@std/path/1.0.8/constants.d.ts.map +1 -0
  198. package/types/deps/jsr.io/@std/path/1.0.8/dirname.d.ts +23 -0
  199. package/types/deps/jsr.io/@std/path/1.0.8/dirname.d.ts.map +1 -0
  200. package/types/deps/jsr.io/@std/path/1.0.8/extname.d.ts +23 -0
  201. package/types/deps/jsr.io/@std/path/1.0.8/extname.d.ts.map +1 -0
  202. package/types/deps/jsr.io/@std/path/1.0.8/format.d.ts.map +1 -0
  203. package/types/deps/jsr.io/@std/path/1.0.8/from_file_url.d.ts.map +1 -0
  204. package/types/deps/jsr.io/@std/path/1.0.8/glob_to_regexp.d.ts.map +1 -0
  205. package/types/deps/jsr.io/@std/path/1.0.8/is_absolute.d.ts.map +1 -0
  206. package/types/deps/jsr.io/@std/path/1.0.8/is_glob.d.ts.map +1 -0
  207. package/types/deps/jsr.io/@std/path/1.0.8/join.d.ts +23 -0
  208. package/types/deps/jsr.io/@std/path/1.0.8/join.d.ts.map +1 -0
  209. package/types/deps/jsr.io/@std/path/1.0.8/join_globs.d.ts.map +1 -0
  210. package/types/deps/jsr.io/@std/path/1.0.8/mod.d.ts +54 -0
  211. package/types/deps/jsr.io/@std/path/1.0.8/mod.d.ts.map +1 -0
  212. package/types/deps/jsr.io/@std/path/1.0.8/normalize.d.ts +27 -0
  213. package/types/deps/jsr.io/@std/path/1.0.8/normalize.d.ts.map +1 -0
  214. package/types/deps/jsr.io/@std/path/1.0.8/normalize_glob.d.ts.map +1 -0
  215. package/types/deps/jsr.io/@std/path/1.0.8/parse.d.ts.map +1 -0
  216. package/types/deps/jsr.io/@std/path/1.0.8/posix/_util.d.ts.map +1 -0
  217. package/types/deps/jsr.io/@std/path/1.0.8/posix/basename.d.ts +40 -0
  218. package/types/deps/jsr.io/@std/path/1.0.8/posix/basename.d.ts.map +1 -0
  219. package/types/deps/jsr.io/@std/path/1.0.8/posix/constants.d.ts.map +1 -0
  220. package/types/deps/jsr.io/@std/path/1.0.8/posix/dirname.d.ts +32 -0
  221. package/types/deps/jsr.io/@std/path/1.0.8/posix/dirname.d.ts.map +1 -0
  222. package/types/deps/jsr.io/@std/path/1.0.8/posix/extname.d.ts +37 -0
  223. package/types/deps/jsr.io/@std/path/1.0.8/posix/extname.d.ts.map +1 -0
  224. package/types/deps/jsr.io/@std/path/1.0.8/posix/format.d.ts.map +1 -0
  225. package/types/deps/jsr.io/@std/path/1.0.8/posix/from_file_url.d.ts.map +1 -0
  226. package/types/deps/jsr.io/@std/path/1.0.8/posix/glob_to_regexp.d.ts.map +1 -0
  227. package/types/deps/jsr.io/@std/path/1.0.8/posix/is_absolute.d.ts.map +1 -0
  228. package/types/deps/jsr.io/@std/path/1.0.8/posix/join.d.ts +33 -0
  229. package/types/deps/jsr.io/@std/path/1.0.8/posix/join.d.ts.map +1 -0
  230. package/types/deps/jsr.io/@std/path/1.0.8/posix/join_globs.d.ts.map +1 -0
  231. package/types/deps/jsr.io/@std/path/1.0.8/posix/normalize.d.ts +40 -0
  232. package/types/deps/jsr.io/@std/path/1.0.8/posix/normalize.d.ts.map +1 -0
  233. package/types/deps/jsr.io/@std/path/1.0.8/posix/normalize_glob.d.ts.map +1 -0
  234. package/types/deps/jsr.io/@std/path/1.0.8/posix/parse.d.ts.map +1 -0
  235. package/types/deps/jsr.io/@std/path/1.0.8/posix/relative.d.ts.map +1 -0
  236. package/types/deps/jsr.io/@std/path/1.0.8/posix/resolve.d.ts.map +1 -0
  237. package/types/deps/jsr.io/@std/path/1.0.8/posix/to_file_url.d.ts.map +1 -0
  238. package/types/deps/jsr.io/@std/path/1.0.8/posix/to_namespaced_path.d.ts.map +1 -0
  239. package/types/deps/jsr.io/@std/path/1.0.8/relative.d.ts.map +1 -0
  240. package/types/deps/jsr.io/@std/path/1.0.8/resolve.d.ts.map +1 -0
  241. package/types/deps/jsr.io/@std/path/1.0.8/to_file_url.d.ts.map +1 -0
  242. package/types/deps/jsr.io/@std/path/1.0.8/to_namespaced_path.d.ts.map +1 -0
  243. package/types/deps/jsr.io/@std/path/1.0.8/types.d.ts.map +1 -0
  244. package/types/deps/jsr.io/@std/path/1.0.8/windows/_util.d.ts.map +1 -0
  245. package/types/deps/jsr.io/@std/path/1.0.8/windows/basename.d.ts +23 -0
  246. package/types/deps/jsr.io/@std/path/1.0.8/windows/basename.d.ts.map +1 -0
  247. package/types/deps/jsr.io/@std/path/1.0.8/windows/constants.d.ts.map +1 -0
  248. package/types/deps/jsr.io/@std/path/1.0.8/windows/dirname.d.ts +20 -0
  249. package/types/deps/jsr.io/@std/path/1.0.8/windows/dirname.d.ts.map +1 -0
  250. package/types/deps/jsr.io/@std/path/1.0.8/windows/extname.d.ts +20 -0
  251. package/types/deps/jsr.io/@std/path/1.0.8/windows/extname.d.ts.map +1 -0
  252. package/types/deps/jsr.io/@std/path/1.0.8/windows/format.d.ts.map +1 -0
  253. package/types/deps/jsr.io/@std/path/1.0.8/windows/from_file_url.d.ts.map +1 -0
  254. package/types/deps/jsr.io/@std/path/1.0.8/windows/glob_to_regexp.d.ts.map +1 -0
  255. package/types/deps/jsr.io/@std/path/1.0.8/windows/is_absolute.d.ts.map +1 -0
  256. package/types/deps/jsr.io/@std/path/1.0.8/windows/join.d.ts +20 -0
  257. package/types/deps/jsr.io/@std/path/1.0.8/windows/join.d.ts.map +1 -0
  258. package/types/deps/jsr.io/@std/path/1.0.8/windows/join_globs.d.ts.map +1 -0
  259. package/types/deps/jsr.io/@std/path/1.0.8/windows/normalize.d.ts +22 -0
  260. package/types/deps/jsr.io/@std/path/1.0.8/windows/normalize.d.ts.map +1 -0
  261. package/types/deps/jsr.io/@std/path/1.0.8/windows/normalize_glob.d.ts.map +1 -0
  262. package/types/deps/jsr.io/@std/path/1.0.8/windows/parse.d.ts.map +1 -0
  263. package/types/deps/jsr.io/@std/path/1.0.8/windows/relative.d.ts.map +1 -0
  264. package/types/deps/jsr.io/@std/path/1.0.8/windows/resolve.d.ts.map +1 -0
  265. package/types/deps/jsr.io/@std/path/1.0.8/windows/to_file_url.d.ts.map +1 -0
  266. package/types/deps/jsr.io/@std/path/1.0.8/windows/to_namespaced_path.d.ts.map +1 -0
  267. package/types/deps/jsr.io/@std/yaml/1.0.5/_chars.d.ts.map +1 -0
  268. package/types/deps/jsr.io/@std/yaml/1.0.5/_dumper_state.d.ts +99 -0
  269. package/types/deps/jsr.io/@std/yaml/1.0.5/_dumper_state.d.ts.map +1 -0
  270. package/types/deps/jsr.io/@std/yaml/1.0.5/_loader_state.d.ts +60 -0
  271. package/types/deps/jsr.io/@std/yaml/1.0.5/_loader_state.d.ts.map +1 -0
  272. package/types/deps/jsr.io/@std/yaml/1.0.5/_schema.d.ts.map +1 -0
  273. package/types/deps/jsr.io/@std/yaml/1.0.5/_type/binary.d.ts.map +1 -0
  274. package/types/deps/jsr.io/@std/yaml/1.0.5/_type/bool.d.ts.map +1 -0
  275. package/types/deps/jsr.io/@std/yaml/1.0.5/_type/float.d.ts.map +1 -0
  276. package/types/deps/jsr.io/@std/yaml/1.0.5/_type/int.d.ts.map +1 -0
  277. package/types/deps/jsr.io/@std/yaml/1.0.5/_type/map.d.ts.map +1 -0
  278. package/types/deps/jsr.io/@std/yaml/1.0.5/_type/merge.d.ts.map +1 -0
  279. package/types/deps/jsr.io/@std/yaml/1.0.5/_type/nil.d.ts.map +1 -0
  280. package/types/deps/jsr.io/@std/yaml/1.0.5/_type/omap.d.ts.map +1 -0
  281. package/types/deps/jsr.io/@std/yaml/1.0.5/_type/pairs.d.ts.map +1 -0
  282. package/types/deps/jsr.io/@std/yaml/1.0.5/_type/regexp.d.ts.map +1 -0
  283. package/types/deps/jsr.io/@std/yaml/1.0.5/_type/seq.d.ts.map +1 -0
  284. package/types/deps/jsr.io/@std/yaml/1.0.5/_type/set.d.ts.map +1 -0
  285. package/types/deps/jsr.io/@std/yaml/1.0.5/_type/str.d.ts.map +1 -0
  286. package/types/deps/jsr.io/@std/yaml/1.0.5/_type/timestamp.d.ts.map +1 -0
  287. package/types/deps/jsr.io/@std/yaml/1.0.5/_type/undefined.d.ts.map +1 -0
  288. package/types/deps/jsr.io/@std/yaml/1.0.5/_type.d.ts.map +1 -0
  289. package/types/deps/jsr.io/@std/yaml/1.0.5/_utils.d.ts.map +1 -0
  290. package/types/deps/jsr.io/@std/yaml/1.0.5/mod.d.ts.map +1 -0
  291. package/types/deps/jsr.io/@std/yaml/1.0.5/parse.d.ts.map +1 -0
  292. package/types/deps/jsr.io/@std/yaml/1.0.5/stringify.d.ts.map +1 -0
  293. package/types/deps.d.ts +5 -5
  294. package/types/gen/services.gen.d.ts +34 -1
  295. package/types/gen/services.gen.d.ts.map +1 -1
  296. package/types/gen/types.gen.d.ts +43 -3
  297. package/types/gen/types.gen.d.ts.map +1 -1
  298. package/types/src/commands/app/apps.d.ts +17 -0
  299. package/types/src/commands/app/apps.d.ts.map +1 -0
  300. package/types/src/commands/dev/dev.d.ts +12 -0
  301. package/types/src/commands/dev/dev.d.ts.map +1 -0
  302. package/types/src/commands/flow/flow.d.ts +28 -0
  303. package/types/src/commands/flow/flow.d.ts.map +1 -0
  304. package/types/src/commands/folder/folder.d.ts +19 -0
  305. package/types/src/commands/folder/folder.d.ts.map +1 -0
  306. package/types/src/commands/gitsync-settings/converter.d.ts +10 -0
  307. package/types/src/commands/gitsync-settings/converter.d.ts.map +1 -0
  308. package/types/src/commands/gitsync-settings/gitsync-settings.d.ts +3 -0
  309. package/types/src/commands/gitsync-settings/gitsync-settings.d.ts.map +1 -0
  310. package/types/src/commands/gitsync-settings/index.d.ts +25 -0
  311. package/types/src/commands/gitsync-settings/index.d.ts.map +1 -0
  312. package/types/src/commands/gitsync-settings/legacySettings.d.ts +4 -0
  313. package/types/src/commands/gitsync-settings/legacySettings.d.ts.map +1 -0
  314. package/types/src/commands/gitsync-settings/pull.d.ts +14 -0
  315. package/types/src/commands/gitsync-settings/pull.d.ts.map +1 -0
  316. package/types/src/commands/gitsync-settings/push.d.ts +10 -0
  317. package/types/src/commands/gitsync-settings/push.d.ts.map +1 -0
  318. package/types/src/commands/gitsync-settings/types.d.ts +35 -0
  319. package/types/src/commands/gitsync-settings/types.d.ts.map +1 -0
  320. package/types/src/commands/gitsync-settings/utils.d.ts +36 -0
  321. package/types/src/commands/gitsync-settings/utils.d.ts.map +1 -0
  322. package/types/src/commands/hub/hub.d.ts +12 -0
  323. package/types/src/commands/hub/hub.d.ts.map +1 -0
  324. package/types/src/commands/init/init.d.ts +34 -0
  325. package/types/src/commands/init/init.d.ts.map +1 -0
  326. package/types/src/commands/instance/instance.d.ts +46 -0
  327. package/types/src/commands/instance/instance.d.ts.map +1 -0
  328. package/types/src/commands/queues/queues.d.ts +14 -0
  329. package/types/src/commands/queues/queues.d.ts.map +1 -0
  330. package/types/src/commands/resource/resource.d.ts +18 -0
  331. package/types/src/commands/resource/resource.d.ts.map +1 -0
  332. package/types/src/commands/resource-type/resource-type.d.ts +16 -0
  333. package/types/src/commands/resource-type/resource-type.d.ts.map +1 -0
  334. package/types/src/commands/schedule/schedule.d.ts +21 -0
  335. package/types/src/commands/schedule/schedule.d.ts.map +1 -0
  336. package/types/src/commands/script/script.d.ts +51 -0
  337. package/types/src/commands/script/script.d.ts.map +1 -0
  338. package/types/src/commands/sync/pull.d.ts +12 -0
  339. package/types/src/commands/sync/pull.d.ts.map +1 -0
  340. package/types/src/commands/sync/sync.d.ts +128 -0
  341. package/types/src/commands/sync/sync.d.ts.map +1 -0
  342. package/types/src/commands/trigger/trigger.d.ts +24 -0
  343. package/types/src/commands/trigger/trigger.d.ts.map +1 -0
  344. package/types/src/commands/user/user.d.ts +34 -0
  345. package/types/src/commands/user/user.d.ts.map +1 -0
  346. package/types/src/commands/variable/variable.d.ts +23 -0
  347. package/types/src/commands/variable/variable.d.ts.map +1 -0
  348. package/types/src/commands/worker-groups/worker_groups.d.ts +23 -0
  349. package/types/src/commands/worker-groups/worker_groups.d.ts.map +1 -0
  350. package/types/src/commands/workers/workers.d.ts +14 -0
  351. package/types/src/commands/workers/workers.d.ts.map +1 -0
  352. package/types/src/commands/workspace/workspace.d.ts +30 -0
  353. package/types/src/commands/workspace/workspace.d.ts.map +1 -0
  354. package/types/src/core/auth.d.ts +8 -0
  355. package/types/src/core/auth.d.ts.map +1 -0
  356. package/types/src/core/branch-profiles.d.ts +12 -0
  357. package/types/src/core/branch-profiles.d.ts.map +1 -0
  358. package/types/src/core/conf.d.ts +64 -0
  359. package/types/src/core/conf.d.ts.map +1 -0
  360. package/types/src/core/context.d.ts +13 -0
  361. package/types/src/core/context.d.ts.map +1 -0
  362. package/types/src/core/login.d.ts +5 -0
  363. package/types/src/core/login.d.ts.map +1 -0
  364. package/types/src/core/settings.d.ts +30 -0
  365. package/types/src/core/settings.d.ts.map +1 -0
  366. package/types/src/core/store.d.ts +2 -0
  367. package/types/src/core/store.d.ts.map +1 -0
  368. package/types/src/guidance/flow_guidance.d.ts.map +1 -0
  369. package/types/src/guidance/script_guidance.d.ts.map +1 -0
  370. package/types/src/main.d.ts +74 -0
  371. package/types/src/main.d.ts.map +1 -0
  372. package/types/src/types.d.ts.map +1 -0
  373. package/types/src/utils/codebase.d.ts +6 -0
  374. package/types/src/utils/codebase.d.ts.map +1 -0
  375. package/types/src/utils/git.d.ts +3 -0
  376. package/types/src/utils/git.d.ts.map +1 -0
  377. package/types/src/utils/local_encryption.d.ts.map +1 -0
  378. package/types/src/utils/metadata.d.ts +52 -0
  379. package/types/src/utils/metadata.d.ts.map +1 -0
  380. package/types/src/utils/script_common.d.ts.map +1 -0
  381. package/types/src/utils/upgrade.d.ts +21 -0
  382. package/types/src/utils/upgrade.d.ts.map +1 -0
  383. package/types/src/utils/utils.d.ts +20 -0
  384. package/types/src/utils/utils.d.ts.map +1 -0
  385. package/types/windmill-utils-internal/src/config/config.d.ts +12 -0
  386. package/types/windmill-utils-internal/src/config/config.d.ts.map +1 -0
  387. package/types/windmill-utils-internal/src/gen/types.gen.d.ts +43 -3
  388. package/types/windmill-utils-internal/src/gen/types.gen.d.ts.map +1 -1
  389. package/types/windmill-utils-internal/src/inline-scripts/extractor.d.ts +1 -4
  390. package/types/windmill-utils-internal/src/inline-scripts/extractor.d.ts.map +1 -1
  391. package/types/windmill-utils-internal/src/path-utils/path-assigner.d.ts +6 -6
  392. package/types/windmill-utils-internal/src/path-utils/path-assigner.d.ts.map +1 -1
  393. package/esm/apps.js +0 -124
  394. package/esm/auth.js +0 -40
  395. package/esm/codebase.js +0 -24
  396. package/esm/conf.js +0 -78
  397. package/esm/context.js +0 -121
  398. package/esm/deps/jsr.io/@std/fs/1.0.19/_create_walk_entry.js +0 -34
  399. package/esm/deps/jsr.io/@std/fs/1.0.19/_is_same_path.js +0 -17
  400. package/esm/deps/jsr.io/@std/fs/1.0.19/_is_subdir.js +0 -25
  401. package/esm/deps/jsr.io/@std/fs/1.0.19/_to_path_string.js +0 -13
  402. package/esm/deps/jsr.io/@std/fs/1.0.19/copy.js +0 -313
  403. package/esm/deps/jsr.io/@std/fs/1.0.19/empty_dir.js +0 -87
  404. package/esm/deps/jsr.io/@std/fs/1.0.19/ensure_file.js +0 -90
  405. package/esm/deps/jsr.io/@std/fs/1.0.19/ensure_link.js +0 -61
  406. package/esm/deps/jsr.io/@std/fs/1.0.19/ensure_symlink.js +0 -156
  407. package/esm/deps/jsr.io/@std/fs/1.0.19/expand_glob.js +0 -415
  408. package/esm/deps/jsr.io/@std/fs/1.0.19/walk.js +0 -846
  409. package/esm/deps/jsr.io/@std/internal/1.0.10/_os.js +0 -12
  410. package/esm/deps/jsr.io/@std/internal/1.0.10/os.js +0 -5
  411. package/esm/deps/jsr.io/@std/path/1.1.1/_common/assert_path.js +0 -7
  412. package/esm/deps/jsr.io/@std/path/1.1.1/_common/basename.js +0 -40
  413. package/esm/deps/jsr.io/@std/path/1.1.1/_common/common.js +0 -23
  414. package/esm/deps/jsr.io/@std/path/1.1.1/_common/constants.js +0 -46
  415. package/esm/deps/jsr.io/@std/path/1.1.1/_common/dirname.js +0 -8
  416. package/esm/deps/jsr.io/@std/path/1.1.1/_common/format.js +0 -19
  417. package/esm/deps/jsr.io/@std/path/1.1.1/_common/from_file_url.js +0 -9
  418. package/esm/deps/jsr.io/@std/path/1.1.1/_common/glob_to_reg_exp.js +0 -234
  419. package/esm/deps/jsr.io/@std/path/1.1.1/_common/normalize.js +0 -8
  420. package/esm/deps/jsr.io/@std/path/1.1.1/_common/normalize_string.js +0 -77
  421. package/esm/deps/jsr.io/@std/path/1.1.1/_common/relative.js +0 -9
  422. package/esm/deps/jsr.io/@std/path/1.1.1/_common/strip_trailing_separators.js +0 -19
  423. package/esm/deps/jsr.io/@std/path/1.1.1/_common/to_file_url.js +0 -15
  424. package/esm/deps/jsr.io/@std/path/1.1.1/basename.js +0 -35
  425. package/esm/deps/jsr.io/@std/path/1.1.1/common.js +0 -33
  426. package/esm/deps/jsr.io/@std/path/1.1.1/constants.js +0 -17
  427. package/esm/deps/jsr.io/@std/path/1.1.1/dirname.js +0 -28
  428. package/esm/deps/jsr.io/@std/path/1.1.1/extname.js +0 -28
  429. package/esm/deps/jsr.io/@std/path/1.1.1/format.js +0 -27
  430. package/esm/deps/jsr.io/@std/path/1.1.1/from_file_url.js +0 -28
  431. package/esm/deps/jsr.io/@std/path/1.1.1/glob_to_regexp.js +0 -83
  432. package/esm/deps/jsr.io/@std/path/1.1.1/is_absolute.js +0 -28
  433. package/esm/deps/jsr.io/@std/path/1.1.1/is_glob.js +0 -42
  434. package/esm/deps/jsr.io/@std/path/1.1.1/join.js +0 -29
  435. package/esm/deps/jsr.io/@std/path/1.1.1/join_globs.js +0 -34
  436. package/esm/deps/jsr.io/@std/path/1.1.1/mod.js +0 -216
  437. package/esm/deps/jsr.io/@std/path/1.1.1/normalize.js +0 -32
  438. package/esm/deps/jsr.io/@std/path/1.1.1/normalize_glob.js +0 -35
  439. package/esm/deps/jsr.io/@std/path/1.1.1/parse.js +0 -39
  440. package/esm/deps/jsr.io/@std/path/1.1.1/posix/_util.js +0 -8
  441. package/esm/deps/jsr.io/@std/path/1.1.1/posix/basename.js +0 -52
  442. package/esm/deps/jsr.io/@std/path/1.1.1/posix/constants.js +0 -14
  443. package/esm/deps/jsr.io/@std/path/1.1.1/posix/dirname.js +0 -64
  444. package/esm/deps/jsr.io/@std/path/1.1.1/posix/extname.js +0 -93
  445. package/esm/deps/jsr.io/@std/path/1.1.1/posix/format.js +0 -28
  446. package/esm/deps/jsr.io/@std/path/1.1.1/posix/from_file_url.js +0 -21
  447. package/esm/deps/jsr.io/@std/path/1.1.1/posix/glob_to_regexp.js +0 -82
  448. package/esm/deps/jsr.io/@std/path/1.1.1/posix/is_absolute.js +0 -23
  449. package/esm/deps/jsr.io/@std/path/1.1.1/posix/join.js +0 -45
  450. package/esm/deps/jsr.io/@std/path/1.1.1/posix/join_globs.js +0 -40
  451. package/esm/deps/jsr.io/@std/path/1.1.1/posix/normalize.js +0 -58
  452. package/esm/deps/jsr.io/@std/path/1.1.1/posix/normalize_glob.js +0 -32
  453. package/esm/deps/jsr.io/@std/path/1.1.1/posix/parse.js +0 -115
  454. package/esm/deps/jsr.io/@std/path/1.1.1/posix/relative.js +0 -106
  455. package/esm/deps/jsr.io/@std/path/1.1.1/posix/resolve.js +0 -59
  456. package/esm/deps/jsr.io/@std/path/1.1.1/posix/to_file_url.js +0 -27
  457. package/esm/deps/jsr.io/@std/path/1.1.1/posix/to_namespaced_path.js +0 -20
  458. package/esm/deps/jsr.io/@std/path/1.1.1/relative.js +0 -30
  459. package/esm/deps/jsr.io/@std/path/1.1.1/resolve.js +0 -30
  460. package/esm/deps/jsr.io/@std/path/1.1.1/to_file_url.js +0 -28
  461. package/esm/deps/jsr.io/@std/path/1.1.1/to_namespaced_path.js +0 -29
  462. package/esm/deps/jsr.io/@std/path/1.1.1/types.js +0 -3
  463. package/esm/deps/jsr.io/@std/path/1.1.1/windows/_util.js +0 -15
  464. package/esm/deps/jsr.io/@std/path/1.1.1/windows/basename.js +0 -47
  465. package/esm/deps/jsr.io/@std/path/1.1.1/windows/constants.js +0 -14
  466. package/esm/deps/jsr.io/@std/path/1.1.1/windows/dirname.js +0 -113
  467. package/esm/deps/jsr.io/@std/path/1.1.1/windows/extname.js +0 -82
  468. package/esm/deps/jsr.io/@std/path/1.1.1/windows/format.js +0 -28
  469. package/esm/deps/jsr.io/@std/path/1.1.1/windows/from_file_url.js +0 -30
  470. package/esm/deps/jsr.io/@std/path/1.1.1/windows/glob_to_regexp.js +0 -82
  471. package/esm/deps/jsr.io/@std/path/1.1.1/windows/is_absolute.js +0 -38
  472. package/esm/deps/jsr.io/@std/path/1.1.1/windows/join.js +0 -77
  473. package/esm/deps/jsr.io/@std/path/1.1.1/windows/join_globs.js +0 -41
  474. package/esm/deps/jsr.io/@std/path/1.1.1/windows/normalize.js +0 -135
  475. package/esm/deps/jsr.io/@std/path/1.1.1/windows/normalize_glob.js +0 -32
  476. package/esm/deps/jsr.io/@std/path/1.1.1/windows/parse.js +0 -176
  477. package/esm/deps/jsr.io/@std/path/1.1.1/windows/relative.js +0 -131
  478. package/esm/deps/jsr.io/@std/path/1.1.1/windows/resolve.js +0 -154
  479. package/esm/deps/jsr.io/@std/path/1.1.1/windows/to_file_url.js +0 -34
  480. package/esm/deps/jsr.io/@std/path/1.1.1/windows/to_namespaced_path.js +0 -49
  481. package/esm/deps/jsr.io/@std/yaml/1.0.9/_chars.js +0 -48
  482. package/esm/deps/jsr.io/@std/yaml/1.0.9/_dumper_state.js +0 -716
  483. package/esm/deps/jsr.io/@std/yaml/1.0.9/_loader_state.js +0 -1427
  484. package/esm/deps/jsr.io/@std/yaml/1.0.9/_schema.js +0 -107
  485. package/esm/deps/jsr.io/@std/yaml/1.0.9/_type/bool.js +0 -32
  486. package/esm/deps/jsr.io/@std/yaml/1.0.9/_type/float.js +0 -96
  487. package/esm/deps/jsr.io/@std/yaml/1.0.9/_type/int.js +0 -159
  488. package/esm/deps/jsr.io/@std/yaml/1.0.9/_type/map.js +0 -14
  489. package/esm/deps/jsr.io/@std/yaml/1.0.9/_type/merge.js +0 -10
  490. package/esm/deps/jsr.io/@std/yaml/1.0.9/_type/nil.js +0 -22
  491. package/esm/deps/jsr.io/@std/yaml/1.0.9/_type/omap.js +0 -29
  492. package/esm/deps/jsr.io/@std/yaml/1.0.9/_type/pairs.js +0 -19
  493. package/esm/deps/jsr.io/@std/yaml/1.0.9/_type/regexp.js +0 -30
  494. package/esm/deps/jsr.io/@std/yaml/1.0.9/_type/seq.js +0 -10
  495. package/esm/deps/jsr.io/@std/yaml/1.0.9/_type/set.js +0 -14
  496. package/esm/deps/jsr.io/@std/yaml/1.0.9/_type/str.js +0 -9
  497. package/esm/deps/jsr.io/@std/yaml/1.0.9/_type/timestamp.js +0 -81
  498. package/esm/deps/jsr.io/@std/yaml/1.0.9/_type/undefined.js +0 -20
  499. package/esm/deps/jsr.io/@std/yaml/1.0.9/_type.js +0 -6
  500. package/esm/deps/jsr.io/@std/yaml/1.0.9/_utils.js +0 -13
  501. package/esm/deps/jsr.io/@std/yaml/1.0.9/mod.js +0 -52
  502. package/esm/deps/jsr.io/@std/yaml/1.0.9/parse.js +0 -93
  503. package/esm/deps/jsr.io/@std/yaml/1.0.9/stringify.js +0 -33
  504. package/esm/dev.js +0 -145
  505. package/esm/flow.js +0 -236
  506. package/esm/folder.js +0 -101
  507. package/esm/gitsync-settings.js +0 -984
  508. package/esm/hub.js +0 -65
  509. package/esm/instance.js +0 -569
  510. package/esm/login.js +0 -100
  511. package/esm/main.js +0 -337
  512. package/esm/metadata.js +0 -623
  513. package/esm/pull.js +0 -37
  514. package/esm/queues.js +0 -117
  515. package/esm/resource-type.js +0 -85
  516. package/esm/resource.js +0 -93
  517. package/esm/schedule.js +0 -101
  518. package/esm/script.js +0 -753
  519. package/esm/settings.js +0 -432
  520. package/esm/store.js +0 -76
  521. package/esm/sync.js +0 -1662
  522. package/esm/trigger.js +0 -182
  523. package/esm/types.js +0 -223
  524. package/esm/upgrade.js +0 -48
  525. package/esm/user.js +0 -428
  526. package/esm/utils.js +0 -168
  527. package/esm/variable.js +0 -121
  528. package/esm/worker_groups.js +0 -96
  529. package/esm/workers.js +0 -79
  530. package/esm/workspace.js +0 -314
  531. package/types/apps.d.ts +0 -17
  532. package/types/apps.d.ts.map +0 -1
  533. package/types/auth.d.ts +0 -8
  534. package/types/auth.d.ts.map +0 -1
  535. package/types/codebase.d.ts +0 -6
  536. package/types/codebase.d.ts.map +0 -1
  537. package/types/conf.d.ts +0 -55
  538. package/types/conf.d.ts.map +0 -1
  539. package/types/context.d.ts +0 -13
  540. package/types/context.d.ts.map +0 -1
  541. package/types/deps/jsr.io/@std/bytes/1.0.6/_types.d.ts.map +0 -1
  542. package/types/deps/jsr.io/@std/bytes/1.0.6/concat.d.ts +0 -21
  543. package/types/deps/jsr.io/@std/bytes/1.0.6/concat.d.ts.map +0 -1
  544. package/types/deps/jsr.io/@std/fmt/1.0.8/colors.d.ts.map +0 -1
  545. package/types/deps/jsr.io/@std/fs/1.0.19/_create_walk_entry.d.ts.map +0 -1
  546. package/types/deps/jsr.io/@std/fs/1.0.19/_get_file_info_type.d.ts.map +0 -1
  547. package/types/deps/jsr.io/@std/fs/1.0.19/_is_same_path.d.ts.map +0 -1
  548. package/types/deps/jsr.io/@std/fs/1.0.19/_is_subdir.d.ts.map +0 -1
  549. package/types/deps/jsr.io/@std/fs/1.0.19/_to_path_string.d.ts.map +0 -1
  550. package/types/deps/jsr.io/@std/fs/1.0.19/copy.d.ts.map +0 -1
  551. package/types/deps/jsr.io/@std/fs/1.0.19/empty_dir.d.ts.map +0 -1
  552. package/types/deps/jsr.io/@std/fs/1.0.19/ensure_dir.d.ts.map +0 -1
  553. package/types/deps/jsr.io/@std/fs/1.0.19/ensure_file.d.ts.map +0 -1
  554. package/types/deps/jsr.io/@std/fs/1.0.19/ensure_link.d.ts.map +0 -1
  555. package/types/deps/jsr.io/@std/fs/1.0.19/ensure_symlink.d.ts.map +0 -1
  556. package/types/deps/jsr.io/@std/fs/1.0.19/eol.d.ts.map +0 -1
  557. package/types/deps/jsr.io/@std/fs/1.0.19/exists.d.ts.map +0 -1
  558. package/types/deps/jsr.io/@std/fs/1.0.19/expand_glob.d.ts +0 -267
  559. package/types/deps/jsr.io/@std/fs/1.0.19/expand_glob.d.ts.map +0 -1
  560. package/types/deps/jsr.io/@std/fs/1.0.19/mod.d.ts.map +0 -1
  561. package/types/deps/jsr.io/@std/fs/1.0.19/move.d.ts.map +0 -1
  562. package/types/deps/jsr.io/@std/fs/1.0.19/walk.d.ts.map +0 -1
  563. package/types/deps/jsr.io/@std/internal/1.0.10/_os.d.ts +0 -2
  564. package/types/deps/jsr.io/@std/internal/1.0.10/_os.d.ts.map +0 -1
  565. package/types/deps/jsr.io/@std/internal/1.0.10/os.d.ts +0 -3
  566. package/types/deps/jsr.io/@std/internal/1.0.10/os.d.ts.map +0 -1
  567. package/types/deps/jsr.io/@std/path/1.1.1/_common/assert_path.d.ts.map +0 -1
  568. package/types/deps/jsr.io/@std/path/1.1.1/_common/basename.d.ts.map +0 -1
  569. package/types/deps/jsr.io/@std/path/1.1.1/_common/common.d.ts.map +0 -1
  570. package/types/deps/jsr.io/@std/path/1.1.1/_common/constants.d.ts.map +0 -1
  571. package/types/deps/jsr.io/@std/path/1.1.1/_common/dirname.d.ts.map +0 -1
  572. package/types/deps/jsr.io/@std/path/1.1.1/_common/format.d.ts.map +0 -1
  573. package/types/deps/jsr.io/@std/path/1.1.1/_common/from_file_url.d.ts.map +0 -1
  574. package/types/deps/jsr.io/@std/path/1.1.1/_common/glob_to_reg_exp.d.ts.map +0 -1
  575. package/types/deps/jsr.io/@std/path/1.1.1/_common/normalize.d.ts.map +0 -1
  576. package/types/deps/jsr.io/@std/path/1.1.1/_common/normalize_string.d.ts.map +0 -1
  577. package/types/deps/jsr.io/@std/path/1.1.1/_common/relative.d.ts.map +0 -1
  578. package/types/deps/jsr.io/@std/path/1.1.1/_common/strip_trailing_separators.d.ts.map +0 -1
  579. package/types/deps/jsr.io/@std/path/1.1.1/_common/to_file_url.d.ts.map +0 -1
  580. package/types/deps/jsr.io/@std/path/1.1.1/basename.d.ts +0 -27
  581. package/types/deps/jsr.io/@std/path/1.1.1/basename.d.ts.map +0 -1
  582. package/types/deps/jsr.io/@std/path/1.1.1/common.d.ts.map +0 -1
  583. package/types/deps/jsr.io/@std/path/1.1.1/constants.d.ts.map +0 -1
  584. package/types/deps/jsr.io/@std/path/1.1.1/dirname.d.ts +0 -22
  585. package/types/deps/jsr.io/@std/path/1.1.1/dirname.d.ts.map +0 -1
  586. package/types/deps/jsr.io/@std/path/1.1.1/extname.d.ts +0 -22
  587. package/types/deps/jsr.io/@std/path/1.1.1/extname.d.ts.map +0 -1
  588. package/types/deps/jsr.io/@std/path/1.1.1/format.d.ts.map +0 -1
  589. package/types/deps/jsr.io/@std/path/1.1.1/from_file_url.d.ts.map +0 -1
  590. package/types/deps/jsr.io/@std/path/1.1.1/glob_to_regexp.d.ts.map +0 -1
  591. package/types/deps/jsr.io/@std/path/1.1.1/is_absolute.d.ts.map +0 -1
  592. package/types/deps/jsr.io/@std/path/1.1.1/is_glob.d.ts.map +0 -1
  593. package/types/deps/jsr.io/@std/path/1.1.1/join.d.ts +0 -23
  594. package/types/deps/jsr.io/@std/path/1.1.1/join.d.ts.map +0 -1
  595. package/types/deps/jsr.io/@std/path/1.1.1/join_globs.d.ts.map +0 -1
  596. package/types/deps/jsr.io/@std/path/1.1.1/mod.d.ts +0 -213
  597. package/types/deps/jsr.io/@std/path/1.1.1/mod.d.ts.map +0 -1
  598. package/types/deps/jsr.io/@std/path/1.1.1/normalize.d.ts +0 -26
  599. package/types/deps/jsr.io/@std/path/1.1.1/normalize.d.ts.map +0 -1
  600. package/types/deps/jsr.io/@std/path/1.1.1/normalize_glob.d.ts.map +0 -1
  601. package/types/deps/jsr.io/@std/path/1.1.1/parse.d.ts.map +0 -1
  602. package/types/deps/jsr.io/@std/path/1.1.1/posix/_util.d.ts.map +0 -1
  603. package/types/deps/jsr.io/@std/path/1.1.1/posix/basename.d.ts +0 -39
  604. package/types/deps/jsr.io/@std/path/1.1.1/posix/basename.d.ts.map +0 -1
  605. package/types/deps/jsr.io/@std/path/1.1.1/posix/constants.d.ts.map +0 -1
  606. package/types/deps/jsr.io/@std/path/1.1.1/posix/dirname.d.ts +0 -30
  607. package/types/deps/jsr.io/@std/path/1.1.1/posix/dirname.d.ts.map +0 -1
  608. package/types/deps/jsr.io/@std/path/1.1.1/posix/extname.d.ts +0 -37
  609. package/types/deps/jsr.io/@std/path/1.1.1/posix/extname.d.ts.map +0 -1
  610. package/types/deps/jsr.io/@std/path/1.1.1/posix/format.d.ts.map +0 -1
  611. package/types/deps/jsr.io/@std/path/1.1.1/posix/from_file_url.d.ts.map +0 -1
  612. package/types/deps/jsr.io/@std/path/1.1.1/posix/glob_to_regexp.d.ts.map +0 -1
  613. package/types/deps/jsr.io/@std/path/1.1.1/posix/is_absolute.d.ts.map +0 -1
  614. package/types/deps/jsr.io/@std/path/1.1.1/posix/join.d.ts +0 -31
  615. package/types/deps/jsr.io/@std/path/1.1.1/posix/join.d.ts.map +0 -1
  616. package/types/deps/jsr.io/@std/path/1.1.1/posix/join_globs.d.ts.map +0 -1
  617. package/types/deps/jsr.io/@std/path/1.1.1/posix/normalize.d.ts +0 -37
  618. package/types/deps/jsr.io/@std/path/1.1.1/posix/normalize.d.ts.map +0 -1
  619. package/types/deps/jsr.io/@std/path/1.1.1/posix/normalize_glob.d.ts.map +0 -1
  620. package/types/deps/jsr.io/@std/path/1.1.1/posix/parse.d.ts.map +0 -1
  621. package/types/deps/jsr.io/@std/path/1.1.1/posix/relative.d.ts.map +0 -1
  622. package/types/deps/jsr.io/@std/path/1.1.1/posix/resolve.d.ts.map +0 -1
  623. package/types/deps/jsr.io/@std/path/1.1.1/posix/to_file_url.d.ts.map +0 -1
  624. package/types/deps/jsr.io/@std/path/1.1.1/posix/to_namespaced_path.d.ts.map +0 -1
  625. package/types/deps/jsr.io/@std/path/1.1.1/relative.d.ts.map +0 -1
  626. package/types/deps/jsr.io/@std/path/1.1.1/resolve.d.ts.map +0 -1
  627. package/types/deps/jsr.io/@std/path/1.1.1/to_file_url.d.ts.map +0 -1
  628. package/types/deps/jsr.io/@std/path/1.1.1/to_namespaced_path.d.ts.map +0 -1
  629. package/types/deps/jsr.io/@std/path/1.1.1/types.d.ts.map +0 -1
  630. package/types/deps/jsr.io/@std/path/1.1.1/windows/_util.d.ts.map +0 -1
  631. package/types/deps/jsr.io/@std/path/1.1.1/windows/basename.d.ts +0 -22
  632. package/types/deps/jsr.io/@std/path/1.1.1/windows/basename.d.ts.map +0 -1
  633. package/types/deps/jsr.io/@std/path/1.1.1/windows/constants.d.ts.map +0 -1
  634. package/types/deps/jsr.io/@std/path/1.1.1/windows/dirname.d.ts +0 -17
  635. package/types/deps/jsr.io/@std/path/1.1.1/windows/dirname.d.ts.map +0 -1
  636. package/types/deps/jsr.io/@std/path/1.1.1/windows/extname.d.ts +0 -17
  637. package/types/deps/jsr.io/@std/path/1.1.1/windows/extname.d.ts.map +0 -1
  638. package/types/deps/jsr.io/@std/path/1.1.1/windows/format.d.ts.map +0 -1
  639. package/types/deps/jsr.io/@std/path/1.1.1/windows/from_file_url.d.ts.map +0 -1
  640. package/types/deps/jsr.io/@std/path/1.1.1/windows/glob_to_regexp.d.ts.map +0 -1
  641. package/types/deps/jsr.io/@std/path/1.1.1/windows/is_absolute.d.ts.map +0 -1
  642. package/types/deps/jsr.io/@std/path/1.1.1/windows/join.d.ts +0 -18
  643. package/types/deps/jsr.io/@std/path/1.1.1/windows/join.d.ts.map +0 -1
  644. package/types/deps/jsr.io/@std/path/1.1.1/windows/join_globs.d.ts.map +0 -1
  645. package/types/deps/jsr.io/@std/path/1.1.1/windows/normalize.d.ts +0 -19
  646. package/types/deps/jsr.io/@std/path/1.1.1/windows/normalize.d.ts.map +0 -1
  647. package/types/deps/jsr.io/@std/path/1.1.1/windows/normalize_glob.d.ts.map +0 -1
  648. package/types/deps/jsr.io/@std/path/1.1.1/windows/parse.d.ts.map +0 -1
  649. package/types/deps/jsr.io/@std/path/1.1.1/windows/relative.d.ts.map +0 -1
  650. package/types/deps/jsr.io/@std/path/1.1.1/windows/resolve.d.ts.map +0 -1
  651. package/types/deps/jsr.io/@std/path/1.1.1/windows/to_file_url.d.ts.map +0 -1
  652. package/types/deps/jsr.io/@std/path/1.1.1/windows/to_namespaced_path.d.ts.map +0 -1
  653. package/types/deps/jsr.io/@std/yaml/1.0.9/_chars.d.ts.map +0 -1
  654. package/types/deps/jsr.io/@std/yaml/1.0.9/_dumper_state.d.ts +0 -106
  655. package/types/deps/jsr.io/@std/yaml/1.0.9/_dumper_state.d.ts.map +0 -1
  656. package/types/deps/jsr.io/@std/yaml/1.0.9/_loader_state.d.ts +0 -66
  657. package/types/deps/jsr.io/@std/yaml/1.0.9/_loader_state.d.ts.map +0 -1
  658. package/types/deps/jsr.io/@std/yaml/1.0.9/_schema.d.ts.map +0 -1
  659. package/types/deps/jsr.io/@std/yaml/1.0.9/_type/binary.d.ts.map +0 -1
  660. package/types/deps/jsr.io/@std/yaml/1.0.9/_type/bool.d.ts.map +0 -1
  661. package/types/deps/jsr.io/@std/yaml/1.0.9/_type/float.d.ts.map +0 -1
  662. package/types/deps/jsr.io/@std/yaml/1.0.9/_type/int.d.ts.map +0 -1
  663. package/types/deps/jsr.io/@std/yaml/1.0.9/_type/map.d.ts.map +0 -1
  664. package/types/deps/jsr.io/@std/yaml/1.0.9/_type/merge.d.ts.map +0 -1
  665. package/types/deps/jsr.io/@std/yaml/1.0.9/_type/nil.d.ts.map +0 -1
  666. package/types/deps/jsr.io/@std/yaml/1.0.9/_type/omap.d.ts.map +0 -1
  667. package/types/deps/jsr.io/@std/yaml/1.0.9/_type/pairs.d.ts.map +0 -1
  668. package/types/deps/jsr.io/@std/yaml/1.0.9/_type/regexp.d.ts.map +0 -1
  669. package/types/deps/jsr.io/@std/yaml/1.0.9/_type/seq.d.ts.map +0 -1
  670. package/types/deps/jsr.io/@std/yaml/1.0.9/_type/set.d.ts.map +0 -1
  671. package/types/deps/jsr.io/@std/yaml/1.0.9/_type/str.d.ts.map +0 -1
  672. package/types/deps/jsr.io/@std/yaml/1.0.9/_type/timestamp.d.ts.map +0 -1
  673. package/types/deps/jsr.io/@std/yaml/1.0.9/_type/undefined.d.ts.map +0 -1
  674. package/types/deps/jsr.io/@std/yaml/1.0.9/_type.d.ts.map +0 -1
  675. package/types/deps/jsr.io/@std/yaml/1.0.9/_utils.d.ts.map +0 -1
  676. package/types/deps/jsr.io/@std/yaml/1.0.9/mod.d.ts.map +0 -1
  677. package/types/deps/jsr.io/@std/yaml/1.0.9/parse.d.ts.map +0 -1
  678. package/types/deps/jsr.io/@std/yaml/1.0.9/stringify.d.ts.map +0 -1
  679. package/types/dev.d.ts +0 -12
  680. package/types/dev.d.ts.map +0 -1
  681. package/types/flow.d.ts +0 -28
  682. package/types/flow.d.ts.map +0 -1
  683. package/types/flow_guidance.d.ts.map +0 -1
  684. package/types/folder.d.ts +0 -19
  685. package/types/folder.d.ts.map +0 -1
  686. package/types/gitsync-settings.d.ts +0 -40
  687. package/types/gitsync-settings.d.ts.map +0 -1
  688. package/types/hub.d.ts +0 -12
  689. package/types/hub.d.ts.map +0 -1
  690. package/types/instance.d.ts +0 -46
  691. package/types/instance.d.ts.map +0 -1
  692. package/types/local_encryption.d.ts.map +0 -1
  693. package/types/login.d.ts +0 -5
  694. package/types/login.d.ts.map +0 -1
  695. package/types/main.d.ts +0 -70
  696. package/types/main.d.ts.map +0 -1
  697. package/types/metadata.d.ts +0 -52
  698. package/types/metadata.d.ts.map +0 -1
  699. package/types/pull.d.ts +0 -12
  700. package/types/pull.d.ts.map +0 -1
  701. package/types/queues.d.ts +0 -14
  702. package/types/queues.d.ts.map +0 -1
  703. package/types/resource-type.d.ts +0 -16
  704. package/types/resource-type.d.ts.map +0 -1
  705. package/types/resource.d.ts +0 -18
  706. package/types/resource.d.ts.map +0 -1
  707. package/types/schedule.d.ts +0 -21
  708. package/types/schedule.d.ts.map +0 -1
  709. package/types/script.d.ts +0 -51
  710. package/types/script.d.ts.map +0 -1
  711. package/types/script_common.d.ts.map +0 -1
  712. package/types/script_guidance.d.ts.map +0 -1
  713. package/types/settings.d.ts +0 -30
  714. package/types/settings.d.ts.map +0 -1
  715. package/types/store.d.ts +0 -3
  716. package/types/store.d.ts.map +0 -1
  717. package/types/sync.d.ts +0 -130
  718. package/types/sync.d.ts.map +0 -1
  719. package/types/trigger.d.ts +0 -24
  720. package/types/trigger.d.ts.map +0 -1
  721. package/types/types.d.ts.map +0 -1
  722. package/types/upgrade.d.ts +0 -21
  723. package/types/upgrade.d.ts.map +0 -1
  724. package/types/user.d.ts +0 -34
  725. package/types/user.d.ts.map +0 -1
  726. package/types/utils.d.ts +0 -19
  727. package/types/utils.d.ts.map +0 -1
  728. package/types/variable.d.ts +0 -23
  729. package/types/variable.d.ts.map +0 -1
  730. package/types/worker_groups.d.ts +0 -24
  731. package/types/worker_groups.d.ts.map +0 -1
  732. package/types/workers.d.ts +0 -14
  733. package/types/workers.d.ts.map +0 -1
  734. package/types/workspace.d.ts +0 -28
  735. package/types/workspace.d.ts.map +0 -1
  736. /package/esm/deps/jsr.io/@std/bytes/{1.0.6 → 1.0.5}/_types.js +0 -0
  737. /package/esm/deps/jsr.io/@std/bytes/{1.0.6 → 1.0.5}/concat.js +0 -0
  738. /package/esm/deps/jsr.io/@std/fmt/{1.0.8 → 1.0.6}/colors.js +0 -0
  739. /package/esm/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/_get_file_info_type.js +0 -0
  740. /package/esm/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/ensure_dir.js +0 -0
  741. /package/esm/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/eol.js +0 -0
  742. /package/esm/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/exists.js +0 -0
  743. /package/esm/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/mod.js +0 -0
  744. /package/esm/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/move.js +0 -0
  745. /package/esm/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/binary.js +0 -0
  746. /package/esm/{flow_guidance.js → src/guidance/flow_guidance.js} +0 -0
  747. /package/esm/{script_guidance.js → src/guidance/script_guidance.js} +0 -0
  748. /package/esm/{local_encryption.js → src/utils/local_encryption.js} +0 -0
  749. /package/esm/{script_common.js → src/utils/script_common.js} +0 -0
  750. /package/types/deps/jsr.io/@std/bytes/{1.0.6 → 1.0.5}/_types.d.ts +0 -0
  751. /package/types/deps/jsr.io/@std/fmt/{1.0.8 → 1.0.6}/colors.d.ts +0 -0
  752. /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/_create_walk_entry.d.ts +0 -0
  753. /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/_get_file_info_type.d.ts +0 -0
  754. /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/_is_same_path.d.ts +0 -0
  755. /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/_is_subdir.d.ts +0 -0
  756. /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/_to_path_string.d.ts +0 -0
  757. /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/copy.d.ts +0 -0
  758. /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/empty_dir.d.ts +0 -0
  759. /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/ensure_dir.d.ts +0 -0
  760. /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/ensure_file.d.ts +0 -0
  761. /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/ensure_link.d.ts +0 -0
  762. /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/ensure_symlink.d.ts +0 -0
  763. /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/eol.d.ts +0 -0
  764. /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/exists.d.ts +0 -0
  765. /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/mod.d.ts +0 -0
  766. /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/move.d.ts +0 -0
  767. /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/walk.d.ts +0 -0
  768. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/_common/assert_path.d.ts +0 -0
  769. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/_common/basename.d.ts +0 -0
  770. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/_common/common.d.ts +0 -0
  771. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/_common/constants.d.ts +0 -0
  772. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/_common/dirname.d.ts +0 -0
  773. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/_common/format.d.ts +0 -0
  774. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/_common/from_file_url.d.ts +0 -0
  775. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/_common/glob_to_reg_exp.d.ts +0 -0
  776. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/_common/normalize.d.ts +0 -0
  777. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/_common/normalize_string.d.ts +0 -0
  778. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/_common/relative.d.ts +0 -0
  779. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/_common/strip_trailing_separators.d.ts +0 -0
  780. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/_common/to_file_url.d.ts +0 -0
  781. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/common.d.ts +0 -0
  782. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/constants.d.ts +0 -0
  783. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/format.d.ts +0 -0
  784. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/from_file_url.d.ts +0 -0
  785. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/glob_to_regexp.d.ts +0 -0
  786. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/is_absolute.d.ts +0 -0
  787. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/is_glob.d.ts +0 -0
  788. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/join_globs.d.ts +0 -0
  789. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/normalize_glob.d.ts +0 -0
  790. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/parse.d.ts +0 -0
  791. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/posix/_util.d.ts +0 -0
  792. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/posix/constants.d.ts +0 -0
  793. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/posix/format.d.ts +0 -0
  794. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/posix/from_file_url.d.ts +0 -0
  795. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/posix/glob_to_regexp.d.ts +0 -0
  796. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/posix/is_absolute.d.ts +0 -0
  797. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/posix/join_globs.d.ts +0 -0
  798. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/posix/normalize_glob.d.ts +0 -0
  799. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/posix/parse.d.ts +0 -0
  800. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/posix/relative.d.ts +0 -0
  801. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/posix/resolve.d.ts +0 -0
  802. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/posix/to_file_url.d.ts +0 -0
  803. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/posix/to_namespaced_path.d.ts +0 -0
  804. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/relative.d.ts +0 -0
  805. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/resolve.d.ts +0 -0
  806. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/to_file_url.d.ts +0 -0
  807. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/to_namespaced_path.d.ts +0 -0
  808. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/types.d.ts +0 -0
  809. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/windows/_util.d.ts +0 -0
  810. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/windows/constants.d.ts +0 -0
  811. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/windows/format.d.ts +0 -0
  812. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/windows/from_file_url.d.ts +0 -0
  813. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/windows/glob_to_regexp.d.ts +0 -0
  814. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/windows/is_absolute.d.ts +0 -0
  815. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/windows/join_globs.d.ts +0 -0
  816. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/windows/normalize_glob.d.ts +0 -0
  817. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/windows/parse.d.ts +0 -0
  818. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/windows/relative.d.ts +0 -0
  819. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/windows/resolve.d.ts +0 -0
  820. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/windows/to_file_url.d.ts +0 -0
  821. /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/windows/to_namespaced_path.d.ts +0 -0
  822. /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_chars.d.ts +0 -0
  823. /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_schema.d.ts +0 -0
  824. /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/binary.d.ts +0 -0
  825. /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/bool.d.ts +0 -0
  826. /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/float.d.ts +0 -0
  827. /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/int.d.ts +0 -0
  828. /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/map.d.ts +0 -0
  829. /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/merge.d.ts +0 -0
  830. /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/nil.d.ts +0 -0
  831. /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/omap.d.ts +0 -0
  832. /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/pairs.d.ts +0 -0
  833. /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/regexp.d.ts +0 -0
  834. /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/seq.d.ts +0 -0
  835. /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/set.d.ts +0 -0
  836. /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/str.d.ts +0 -0
  837. /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/timestamp.d.ts +0 -0
  838. /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/undefined.d.ts +0 -0
  839. /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type.d.ts +0 -0
  840. /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_utils.d.ts +0 -0
  841. /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/mod.d.ts +0 -0
  842. /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/parse.d.ts +0 -0
  843. /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/stringify.d.ts +0 -0
  844. /package/types/{flow_guidance.d.ts → src/guidance/flow_guidance.d.ts} +0 -0
  845. /package/types/{script_guidance.d.ts → src/guidance/script_guidance.d.ts} +0 -0
  846. /package/types/{types.d.ts → src/types.d.ts} +0 -0
  847. /package/types/{local_encryption.d.ts → src/utils/local_encryption.d.ts} +0 -0
  848. /package/types/{script_common.d.ts → src/utils/script_common.d.ts} +0 -0
@@ -1,106 +0,0 @@
1
- // Copyright 2018-2025 the Deno authors. MIT license.
2
- // This module is browser compatible.
3
- import { isPosixPathSeparator } from "./_util.js";
4
- import { resolve } from "./resolve.js";
5
- import { assertArgs } from "../_common/relative.js";
6
- /**
7
- * Return the relative path from `from` to `to` based on current working directory.
8
- *
9
- * If `from` and `to` are the same, return an empty string.
10
- *
11
- * @example Usage
12
- * ```ts
13
- * import { relative } from "@std/path/posix/relative";
14
- * import { assertEquals } from "@std/assert";
15
- *
16
- * const path = relative("/data/orandea/test/aaa", "/data/orandea/impl/bbb");
17
- * assertEquals(path, "../../impl/bbb");
18
- * ```
19
- *
20
- * @param from The path to start from.
21
- * @param to The path to reach.
22
- * @returns The relative path.
23
- */
24
- export function relative(from, to) {
25
- assertArgs(from, to);
26
- from = resolve(from);
27
- to = resolve(to);
28
- if (from === to)
29
- return "";
30
- // Trim any leading backslashes
31
- let fromStart = 1;
32
- const fromEnd = from.length;
33
- for (; fromStart < fromEnd; ++fromStart) {
34
- if (!isPosixPathSeparator(from.charCodeAt(fromStart)))
35
- break;
36
- }
37
- const fromLen = fromEnd - fromStart;
38
- // Trim any leading backslashes
39
- let toStart = 1;
40
- const toEnd = to.length;
41
- for (; toStart < toEnd; ++toStart) {
42
- if (!isPosixPathSeparator(to.charCodeAt(toStart)))
43
- break;
44
- }
45
- const toLen = toEnd - toStart;
46
- // Compare paths to find the longest common path from root
47
- const length = fromLen < toLen ? fromLen : toLen;
48
- let lastCommonSep = -1;
49
- let i = 0;
50
- for (; i <= length; ++i) {
51
- if (i === length) {
52
- if (toLen > length) {
53
- if (isPosixPathSeparator(to.charCodeAt(toStart + i))) {
54
- // We get here if `from` is the exact base path for `to`.
55
- // For example: from='/foo/bar'; to='/foo/bar/baz'
56
- return to.slice(toStart + i + 1);
57
- }
58
- else if (i === 0) {
59
- // We get here if `from` is the root
60
- // For example: from='/'; to='/foo'
61
- return to.slice(toStart + i);
62
- }
63
- }
64
- else if (fromLen > length) {
65
- if (isPosixPathSeparator(from.charCodeAt(fromStart + i))) {
66
- // We get here if `to` is the exact base path for `from`.
67
- // For example: from='/foo/bar/baz'; to='/foo/bar'
68
- lastCommonSep = i;
69
- }
70
- else if (i === 0) {
71
- // We get here if `to` is the root.
72
- // For example: from='/foo'; to='/'
73
- lastCommonSep = 0;
74
- }
75
- }
76
- break;
77
- }
78
- const fromCode = from.charCodeAt(fromStart + i);
79
- const toCode = to.charCodeAt(toStart + i);
80
- if (fromCode !== toCode)
81
- break;
82
- else if (isPosixPathSeparator(fromCode))
83
- lastCommonSep = i;
84
- }
85
- let out = "";
86
- // Generate the relative path based on the path difference between `to`
87
- // and `from`
88
- for (i = fromStart + lastCommonSep + 1; i <= fromEnd; ++i) {
89
- if (i === fromEnd || isPosixPathSeparator(from.charCodeAt(i))) {
90
- if (out.length === 0)
91
- out += "..";
92
- else
93
- out += "/..";
94
- }
95
- }
96
- // Lastly, append the rest of the destination (`to`) path that comes after
97
- // the common path parts
98
- if (out.length > 0)
99
- return out + to.slice(toStart + lastCommonSep);
100
- else {
101
- toStart += lastCommonSep;
102
- if (isPosixPathSeparator(to.charCodeAt(toStart)))
103
- ++toStart;
104
- return to.slice(toStart);
105
- }
106
- }
@@ -1,59 +0,0 @@
1
- // Copyright 2018-2025 the Deno authors. MIT license.
2
- // This module is browser compatible.
3
- import * as dntShim from "../../../../../../_dnt.shims.js";
4
- import { normalizeString } from "../_common/normalize_string.js";
5
- import { assertPath } from "../_common/assert_path.js";
6
- import { isPosixPathSeparator } from "./_util.js";
7
- /**
8
- * Resolves path segments into a `path`.
9
- *
10
- * @example Usage
11
- * ```ts
12
- * import { resolve } from "@std/path/posix/resolve";
13
- * import { assertEquals } from "@std/assert";
14
- *
15
- * const path = resolve("/foo", "bar", "baz/asdf", "quux", "..");
16
- * assertEquals(path, "/foo/bar/baz/asdf");
17
- * ```
18
- *
19
- * @param pathSegments The path segments to resolve.
20
- * @returns The resolved path.
21
- */
22
- export function resolve(...pathSegments) {
23
- let resolvedPath = "";
24
- let resolvedAbsolute = false;
25
- for (let i = pathSegments.length - 1; i >= -1 && !resolvedAbsolute; i--) {
26
- let path;
27
- if (i >= 0)
28
- path = pathSegments[i];
29
- else {
30
- // deno-lint-ignore no-explicit-any
31
- const { Deno } = dntShim.dntGlobalThis;
32
- if (typeof Deno?.cwd !== "function") {
33
- throw new TypeError("Resolved a relative path without a current working directory (CWD)");
34
- }
35
- path = Deno.cwd();
36
- }
37
- assertPath(path);
38
- // Skip empty entries
39
- if (path.length === 0) {
40
- continue;
41
- }
42
- resolvedPath = `${path}/${resolvedPath}`;
43
- resolvedAbsolute = isPosixPathSeparator(path.charCodeAt(0));
44
- }
45
- // At this point the path should be resolved to a full absolute path, but
46
- // handle relative paths to be safe (might happen when Deno.cwd() fails)
47
- // Normalize the path
48
- resolvedPath = normalizeString(resolvedPath, !resolvedAbsolute, "/", isPosixPathSeparator);
49
- if (resolvedAbsolute) {
50
- if (resolvedPath.length > 0)
51
- return `/${resolvedPath}`;
52
- else
53
- return "/";
54
- }
55
- else if (resolvedPath.length > 0)
56
- return resolvedPath;
57
- else
58
- return ".";
59
- }
@@ -1,27 +0,0 @@
1
- // Copyright 2018-2025 the Deno authors. MIT license.
2
- // This module is browser compatible.
3
- import { encodeWhitespace } from "../_common/to_file_url.js";
4
- import { isAbsolute } from "./is_absolute.js";
5
- /**
6
- * Converts a path string to a file URL.
7
- *
8
- * @example Usage
9
- * ```ts
10
- * import { toFileUrl } from "@std/path/posix/to-file-url";
11
- * import { assertEquals } from "@std/assert";
12
- *
13
- * assertEquals(toFileUrl("/home/foo"), new URL("file:///home/foo"));
14
- * assertEquals(toFileUrl("/home/foo bar"), new URL("file:///home/foo%20bar"));
15
- * ```
16
- *
17
- * @param path The path to convert.
18
- * @returns The file URL.
19
- */
20
- export function toFileUrl(path) {
21
- if (!isAbsolute(path)) {
22
- throw new TypeError(`Path must be absolute: received "${path}"`);
23
- }
24
- const url = new URL("file:///");
25
- url.pathname = encodeWhitespace(path.replace(/%/g, "%25").replace(/\\/g, "%5C"));
26
- return url;
27
- }
@@ -1,20 +0,0 @@
1
- // Copyright 2018-2025 the Deno authors. MIT license.
2
- // This module is browser compatible.
3
- /**
4
- * Converts a path to a namespaced path. This function returns the path as is on posix.
5
- *
6
- * @example Usage
7
- * ```ts
8
- * import { toNamespacedPath } from "@std/path/posix/to-namespaced-path";
9
- * import { assertEquals } from "@std/assert";
10
- *
11
- * assertEquals(toNamespacedPath("/home/foo"), "/home/foo");
12
- * ```
13
- *
14
- * @param path The path.
15
- * @returns The namespaced path.
16
- */
17
- export function toNamespacedPath(path) {
18
- // Non-op on posix systems
19
- return path;
20
- }
@@ -1,30 +0,0 @@
1
- // Copyright 2018-2025 the Deno authors. MIT license.
2
- // This module is browser compatible.
3
- import { isWindows } from "../../internal/1.0.10/os.js";
4
- import { relative as posixRelative } from "./posix/relative.js";
5
- import { relative as windowsRelative } from "./windows/relative.js";
6
- /**
7
- * Return the relative path from `from` to `to` based on current working
8
- * directory.
9
- *
10
- * @example Usage
11
- * ```ts
12
- * import { relative } from "@std/path/relative";
13
- * import { assertEquals } from "@std/assert";
14
- *
15
- * if (Deno.build.os === "windows") {
16
- * const path = relative("C:\\foobar\\test\\aaa", "C:\\foobar\\impl\\bbb");
17
- * assertEquals(path, "..\\..\\impl\\bbb");
18
- * } else {
19
- * const path = relative("/data/foobar/test/aaa", "/data/foobar/impl/bbb");
20
- * assertEquals(path, "../../impl/bbb");
21
- * }
22
- * ```
23
- *
24
- * @param from Path in current working directory.
25
- * @param to Path in current working directory.
26
- * @returns The relative path from `from` to `to`.
27
- */
28
- export function relative(from, to) {
29
- return isWindows ? windowsRelative(from, to) : posixRelative(from, to);
30
- }
@@ -1,30 +0,0 @@
1
- // Copyright 2018-2025 the Deno authors. MIT license.
2
- // This module is browser compatible.
3
- import { isWindows } from "../../internal/1.0.10/os.js";
4
- import { resolve as posixResolve } from "./posix/resolve.js";
5
- import { resolve as windowsResolve } from "./windows/resolve.js";
6
- /**
7
- * Resolves path segments into a path.
8
- *
9
- * @example Usage
10
- * ```ts
11
- * import { resolve } from "@std/path/resolve";
12
- * import { assertEquals } from "@std/assert";
13
- *
14
- * if (Deno.build.os === "windows") {
15
- * assertEquals(resolve("C:\\foo", "bar", "baz"), "C:\\foo\\bar\\baz");
16
- * assertEquals(resolve("C:\\foo", "C:\\bar", "baz"), "C:\\bar\\baz");
17
- * } else {
18
- * assertEquals(resolve("/foo", "bar", "baz"), "/foo/bar/baz");
19
- * assertEquals(resolve("/foo", "/bar", "baz"), "/bar/baz");
20
- * }
21
- * ```
22
- *
23
- * @param pathSegments Path segments to process to path.
24
- * @returns The resolved path.
25
- */
26
- export function resolve(...pathSegments) {
27
- return isWindows
28
- ? windowsResolve(...pathSegments)
29
- : posixResolve(...pathSegments);
30
- }
@@ -1,28 +0,0 @@
1
- // Copyright 2018-2025 the Deno authors. MIT license.
2
- // This module is browser compatible.
3
- import { isWindows } from "../../internal/1.0.10/os.js";
4
- import { toFileUrl as posixToFileUrl } from "./posix/to_file_url.js";
5
- import { toFileUrl as windowsToFileUrl } from "./windows/to_file_url.js";
6
- /**
7
- * Converts a path string to a file URL.
8
- *
9
- * @example Usage
10
- * ```ts
11
- * import { toFileUrl } from "@std/path/to-file-url";
12
- * import { assertEquals } from "@std/assert";
13
- *
14
- * if (Deno.build.os === "windows") {
15
- * assertEquals(toFileUrl("\\home\\foo"), new URL("file:///home/foo"));
16
- * assertEquals(toFileUrl("C:\\Users\\foo"), new URL("file:///C:/Users/foo"));
17
- * assertEquals(toFileUrl("\\\\127.0.0.1\\home\\foo"), new URL("file://127.0.0.1/home/foo"));
18
- * } else {
19
- * assertEquals(toFileUrl("/home/foo"), new URL("file:///home/foo"));
20
- * }
21
- * ```
22
- *
23
- * @param path Path to convert to file URL.
24
- * @returns The file URL equivalent to the path.
25
- */
26
- export function toFileUrl(path) {
27
- return isWindows ? windowsToFileUrl(path) : posixToFileUrl(path);
28
- }
@@ -1,29 +0,0 @@
1
- // Copyright 2018-2025 the Deno authors. MIT license.
2
- // This module is browser compatible.
3
- import { isWindows } from "../../internal/1.0.10/os.js";
4
- import { toNamespacedPath as posixToNamespacedPath } from "./posix/to_namespaced_path.js";
5
- import { toNamespacedPath as windowsToNamespacedPath } from "./windows/to_namespaced_path.js";
6
- /**
7
- * Resolves path to a namespace path. This is a no-op on
8
- * non-windows systems.
9
- *
10
- * @example Usage
11
- * ```ts
12
- * import { toNamespacedPath } from "@std/path/to-namespaced-path";
13
- * import { assertEquals } from "@std/assert";
14
- *
15
- * if (Deno.build.os === "windows") {
16
- * assertEquals(toNamespacedPath("C:\\foo\\bar"), "\\\\?\\C:\\foo\\bar");
17
- * } else {
18
- * assertEquals(toNamespacedPath("/foo/bar"), "/foo/bar");
19
- * }
20
- * ```
21
- *
22
- * @param path Path to resolve to namespace.
23
- * @returns The resolved namespace path.
24
- */
25
- export function toNamespacedPath(path) {
26
- return isWindows
27
- ? windowsToNamespacedPath(path)
28
- : posixToNamespacedPath(path);
29
- }
@@ -1,3 +0,0 @@
1
- // Copyright 2018-2025 the Deno authors. MIT license.
2
- // This module is browser compatible.
3
- export {};
@@ -1,15 +0,0 @@
1
- // Copyright 2018-2025 the Deno authors. MIT license.
2
- // Copyright the Browserify authors. MIT License.
3
- // Ported from https://github.com/browserify/path-browserify/
4
- // This module is browser compatible.
5
- import { CHAR_BACKWARD_SLASH, CHAR_FORWARD_SLASH, CHAR_LOWERCASE_A, CHAR_LOWERCASE_Z, CHAR_UPPERCASE_A, CHAR_UPPERCASE_Z, } from "../_common/constants.js";
6
- export function isPosixPathSeparator(code) {
7
- return code === CHAR_FORWARD_SLASH;
8
- }
9
- export function isPathSeparator(code) {
10
- return code === CHAR_FORWARD_SLASH || code === CHAR_BACKWARD_SLASH;
11
- }
12
- export function isWindowsDeviceRoot(code) {
13
- return ((code >= CHAR_LOWERCASE_A && code <= CHAR_LOWERCASE_Z) ||
14
- (code >= CHAR_UPPERCASE_A && code <= CHAR_UPPERCASE_Z));
15
- }
@@ -1,47 +0,0 @@
1
- // Copyright 2018-2025 the Deno authors. MIT license.
2
- // This module is browser compatible.
3
- import { assertArgs, lastPathSegment, stripSuffix, } from "../_common/basename.js";
4
- import { CHAR_COLON } from "../_common/constants.js";
5
- import { stripTrailingSeparators } from "../_common/strip_trailing_separators.js";
6
- import { isPathSeparator, isWindowsDeviceRoot } from "./_util.js";
7
- import { fromFileUrl } from "./from_file_url.js";
8
- /**
9
- * Return the last portion of a `path`.
10
- * Trailing directory separators are ignored, and optional suffix is removed.
11
- *
12
- * @example Usage
13
- * ```ts
14
- * import { basename } from "@std/path/windows/basename";
15
- * import { assertEquals } from "@std/assert";
16
- *
17
- * assertEquals(basename("C:\\user\\Documents\\"), "Documents");
18
- * assertEquals(basename("C:\\user\\Documents\\image.png"), "image.png");
19
- * assertEquals(basename("C:\\user\\Documents\\image.png", ".png"), "image");
20
- * assertEquals(basename(new URL("file:///C:/user/Documents/image.png")), "image.png");
21
- * assertEquals(basename(new URL("file:///C:/user/Documents/image.png"), ".png"), "image");
22
- * ```
23
- *
24
- * @param path The path to extract the name from.
25
- * @param suffix The suffix to remove from extracted name.
26
- * @returns The extracted name.
27
- */
28
- export function basename(path, suffix = "") {
29
- if (path instanceof URL) {
30
- path = fromFileUrl(path);
31
- }
32
- assertArgs(path, suffix);
33
- // Check for a drive letter prefix so as not to mistake the following
34
- // path separator as an extra separator at the end of the path that can be
35
- // disregarded
36
- let start = 0;
37
- if (path.length >= 2) {
38
- const drive = path.charCodeAt(0);
39
- if (isWindowsDeviceRoot(drive)) {
40
- if (path.charCodeAt(1) === CHAR_COLON)
41
- start = 2;
42
- }
43
- }
44
- const lastSegment = lastPathSegment(path, isPathSeparator, start);
45
- const strippedSegment = stripTrailingSeparators(lastSegment, isPathSeparator);
46
- return suffix ? stripSuffix(strippedSegment, suffix) : strippedSegment;
47
- }
@@ -1,14 +0,0 @@
1
- // Copyright 2018-2025 the Deno authors. MIT license.
2
- // This module is browser compatible.
3
- /**
4
- * The character used to separate entries in the PATH environment variable.
5
- */
6
- export const DELIMITER = ";";
7
- /**
8
- * The character used to separate components of a file path.
9
- */
10
- export const SEPARATOR = "\\";
11
- /**
12
- * A regular expression that matches one or more path separators.
13
- */
14
- export const SEPARATOR_PATTERN = /[\\/]+/;
@@ -1,113 +0,0 @@
1
- // Copyright 2018-2025 the Deno authors. MIT license.
2
- // This module is browser compatible.
3
- import { assertArg } from "../_common/dirname.js";
4
- import { CHAR_COLON } from "../_common/constants.js";
5
- import { stripTrailingSeparators } from "../_common/strip_trailing_separators.js";
6
- import { isPathSeparator, isPosixPathSeparator, isWindowsDeviceRoot, } from "./_util.js";
7
- import { fromFileUrl } from "./from_file_url.js";
8
- /**
9
- * Return the directory path of a `path`.
10
- *
11
- * @example Usage
12
- * ```ts
13
- * import { dirname } from "@std/path/windows/dirname";
14
- * import { assertEquals } from "@std/assert";
15
- *
16
- * assertEquals(dirname("C:\\foo\\bar\\baz.ext"), "C:\\foo\\bar");
17
- * assertEquals(dirname(new URL("file:///C:/foo/bar/baz.ext")), "C:\\foo\\bar");
18
- * ```
19
- *
20
- * @param path The path to get the directory from.
21
- * @returns The directory path.
22
- */
23
- export function dirname(path) {
24
- if (path instanceof URL) {
25
- path = fromFileUrl(path);
26
- }
27
- assertArg(path);
28
- const len = path.length;
29
- let rootEnd = -1;
30
- let end = -1;
31
- let matchedSlash = true;
32
- let offset = 0;
33
- const code = path.charCodeAt(0);
34
- // Try to match a root
35
- if (len > 1) {
36
- if (isPathSeparator(code)) {
37
- // Possible UNC root
38
- rootEnd = offset = 1;
39
- if (isPathSeparator(path.charCodeAt(1))) {
40
- // Matched double path separator at beginning
41
- let j = 2;
42
- let last = j;
43
- // Match 1 or more non-path separators
44
- for (; j < len; ++j) {
45
- if (isPathSeparator(path.charCodeAt(j)))
46
- break;
47
- }
48
- if (j < len && j !== last) {
49
- // Matched!
50
- last = j;
51
- // Match 1 or more path separators
52
- for (; j < len; ++j) {
53
- if (!isPathSeparator(path.charCodeAt(j)))
54
- break;
55
- }
56
- if (j < len && j !== last) {
57
- // Matched!
58
- last = j;
59
- // Match 1 or more non-path separators
60
- for (; j < len; ++j) {
61
- if (isPathSeparator(path.charCodeAt(j)))
62
- break;
63
- }
64
- if (j === len) {
65
- // We matched a UNC root only
66
- return path;
67
- }
68
- if (j !== last) {
69
- // We matched a UNC root with leftovers
70
- // Offset by 1 to include the separator after the UNC root to
71
- // treat it as a "normal root" on top of a (UNC) root
72
- rootEnd = offset = j + 1;
73
- }
74
- }
75
- }
76
- }
77
- }
78
- else if (isWindowsDeviceRoot(code)) {
79
- // Possible device root
80
- if (path.charCodeAt(1) === CHAR_COLON) {
81
- rootEnd = offset = 2;
82
- if (len > 2) {
83
- if (isPathSeparator(path.charCodeAt(2)))
84
- rootEnd = offset = 3;
85
- }
86
- }
87
- }
88
- }
89
- else if (isPathSeparator(code)) {
90
- // `path` contains just a path separator, exit early to avoid
91
- // unnecessary work
92
- return path;
93
- }
94
- for (let i = len - 1; i >= offset; --i) {
95
- if (isPathSeparator(path.charCodeAt(i))) {
96
- if (!matchedSlash) {
97
- end = i;
98
- break;
99
- }
100
- }
101
- else {
102
- // We saw the first non-path separator
103
- matchedSlash = false;
104
- }
105
- }
106
- if (end === -1) {
107
- if (rootEnd === -1)
108
- return ".";
109
- else
110
- end = rootEnd;
111
- }
112
- return stripTrailingSeparators(path.slice(0, end), isPosixPathSeparator);
113
- }
@@ -1,82 +0,0 @@
1
- // Copyright 2018-2025 the Deno authors. MIT license.
2
- // This module is browser compatible.
3
- import { CHAR_COLON, CHAR_DOT } from "../_common/constants.js";
4
- import { assertPath } from "../_common/assert_path.js";
5
- import { isPathSeparator, isWindowsDeviceRoot } from "./_util.js";
6
- import { fromFileUrl } from "./from_file_url.js";
7
- /**
8
- * Return the extension of the `path` with leading period.
9
- *
10
- * @example Usage
11
- * ```ts
12
- * import { extname } from "@std/path/windows/extname";
13
- * import { assertEquals } from "@std/assert";
14
- *
15
- * assertEquals(extname("file.ts"), ".ts");
16
- * assertEquals(extname(new URL("file:///C:/foo/bar/baz.ext")), ".ext");
17
- * ```
18
- *
19
- * @param path The path to get the extension from.
20
- * @returns The extension of the `path`.
21
- */
22
- export function extname(path) {
23
- if (path instanceof URL) {
24
- path = fromFileUrl(path);
25
- }
26
- assertPath(path);
27
- let start = 0;
28
- let startDot = -1;
29
- let startPart = 0;
30
- let end = -1;
31
- let matchedSlash = true;
32
- // Track the state of characters (if any) we see before our first dot and
33
- // after any path separator we find
34
- let preDotState = 0;
35
- // Check for a drive letter prefix so as not to mistake the following
36
- // path separator as an extra separator at the end of the path that can be
37
- // disregarded
38
- if (path.length >= 2 &&
39
- path.charCodeAt(1) === CHAR_COLON &&
40
- isWindowsDeviceRoot(path.charCodeAt(0))) {
41
- start = startPart = 2;
42
- }
43
- for (let i = path.length - 1; i >= start; --i) {
44
- const code = path.charCodeAt(i);
45
- if (isPathSeparator(code)) {
46
- // If we reached a path separator that was not part of a set of path
47
- // separators at the end of the string, stop now
48
- if (!matchedSlash) {
49
- startPart = i + 1;
50
- break;
51
- }
52
- continue;
53
- }
54
- if (end === -1) {
55
- // We saw the first non-path separator, mark this as the end of our
56
- // extension
57
- matchedSlash = false;
58
- end = i + 1;
59
- }
60
- if (code === CHAR_DOT) {
61
- // If this is our first dot, mark it as the start of our extension
62
- if (startDot === -1)
63
- startDot = i;
64
- else if (preDotState !== 1)
65
- preDotState = 1;
66
- }
67
- else if (startDot !== -1) {
68
- // We saw a non-dot and non-path separator before our dot, so we should
69
- // have a good chance at having a non-empty extension
70
- preDotState = -1;
71
- }
72
- }
73
- if (startDot === -1 ||
74
- end === -1 ||
75
- // We saw a non-dot character immediately before the dot
76
- preDotState === 0 ||
77
- // The (right-most) trimmed path component is exactly '..'
78
- (preDotState === 1 && startDot === end - 1 && startDot === startPart + 1)) {
79
- return "";
80
- }
81
- return path.slice(startDot, end);
82
- }
@@ -1,28 +0,0 @@
1
- // Copyright 2018-2025 the Deno authors. MIT license.
2
- // This module is browser compatible.
3
- import { _format, assertArg } from "../_common/format.js";
4
- /**
5
- * Generate a path from `ParsedPath` object.
6
- *
7
- * @example Usage
8
- * ```ts
9
- * import { format } from "@std/path/windows/format";
10
- * import { assertEquals } from "@std/assert";
11
- *
12
- * const path = format({
13
- * root: "C:\\",
14
- * dir: "C:\\path\\dir",
15
- * base: "file.txt",
16
- * ext: ".txt",
17
- * name: "file"
18
- * });
19
- * assertEquals(path, "C:\\path\\dir\\file.txt");
20
- * ```
21
- *
22
- * @param pathObject The path object to format.
23
- * @returns The formatted path.
24
- */
25
- export function format(pathObject) {
26
- assertArg(pathObject);
27
- return _format("\\", pathObject);
28
- }