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.
- package/esm/deps/jsr.io/@std/fs/1.0.16/_create_walk_entry.js +34 -0
- package/esm/deps/jsr.io/@std/fs/1.0.16/_is_same_path.js +17 -0
- package/esm/deps/jsr.io/@std/fs/1.0.16/_is_subdir.js +25 -0
- package/esm/deps/jsr.io/@std/fs/1.0.16/_to_path_string.js +13 -0
- package/esm/deps/jsr.io/@std/fs/1.0.16/copy.js +314 -0
- package/esm/deps/jsr.io/@std/fs/1.0.16/empty_dir.js +87 -0
- package/esm/deps/jsr.io/@std/fs/1.0.16/ensure_file.js +90 -0
- package/esm/deps/jsr.io/@std/fs/1.0.16/ensure_link.js +61 -0
- package/esm/deps/jsr.io/@std/fs/1.0.16/ensure_symlink.js +157 -0
- package/esm/deps/jsr.io/@std/fs/1.0.16/expand_glob.js +416 -0
- package/esm/deps/jsr.io/@std/fs/1.0.16/walk.js +846 -0
- package/esm/deps/jsr.io/@std/io/0.225.2/read_all.js +1 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/console_handler.js +1 -1
- package/esm/deps/jsr.io/@std/log/0.224.14/rotating_file_handler.js +1 -1
- package/esm/deps/jsr.io/@std/path/1.0.8/_common/assert_path.js +7 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/_common/basename.js +40 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/_common/common.js +23 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/_common/constants.js +46 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/_common/dirname.js +8 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/_common/format.js +19 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/_common/from_file_url.js +9 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/_common/glob_to_reg_exp.js +234 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/_common/normalize.js +8 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/_common/normalize_string.js +77 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/_common/relative.js +9 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/_common/strip_trailing_separators.js +19 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/_common/to_file_url.js +15 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/_os.js +9 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/basename.js +36 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/common.js +33 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/constants.js +17 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/dirname.js +29 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/extname.js +29 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/format.js +27 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/from_file_url.js +28 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/glob_to_regexp.js +83 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/is_absolute.js +28 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/is_glob.js +42 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/join.js +29 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/join_globs.js +34 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/mod.js +57 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/normalize.js +33 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/normalize_glob.js +35 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/parse.js +39 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/_util.js +8 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/basename.js +49 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/constants.js +14 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/dirname.js +62 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/extname.js +89 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/format.js +28 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/from_file_url.js +21 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/glob_to_regexp.js +82 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/is_absolute.js +23 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/join.js +42 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/join_globs.js +40 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/normalize.js +57 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/normalize_glob.js +32 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/parse.js +115 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/relative.js +106 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/resolve.js +59 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/to_file_url.js +27 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/posix/to_namespaced_path.js +20 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/relative.js +30 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/resolve.js +30 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/to_file_url.js +28 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/to_namespaced_path.js +29 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/types.js +3 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/_util.js +15 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/basename.js +44 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/constants.js +14 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/dirname.js +112 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/extname.js +81 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/format.js +28 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/from_file_url.js +30 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/glob_to_regexp.js +82 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/is_absolute.js +38 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/join.js +74 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/join_globs.js +41 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/normalize.js +134 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/normalize_glob.js +32 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/parse.js +176 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/relative.js +131 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/resolve.js +154 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/to_file_url.js +34 -0
- package/esm/deps/jsr.io/@std/path/1.0.8/windows/to_namespaced_path.js +49 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_chars.js +48 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_dumper_state.js +707 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_loader_state.js +1409 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_schema.js +112 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/bool.js +32 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/float.js +96 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/int.js +159 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/map.js +14 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/merge.js +10 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/nil.js +22 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/omap.js +29 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/pairs.js +19 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/regexp.js +30 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/seq.js +10 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/set.js +14 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/str.js +9 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/timestamp.js +81 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_type/undefined.js +20 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_type.js +6 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/_utils.js +13 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/mod.js +52 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/parse.js +93 -0
- package/esm/deps/jsr.io/@std/yaml/1.0.5/stringify.js +33 -0
- package/esm/deps.js +5 -5
- package/esm/gen/services.gen.js +66 -0
- package/esm/src/commands/app/apps.js +124 -0
- package/esm/src/commands/dev/dev.js +145 -0
- package/esm/src/commands/flow/flow.js +236 -0
- package/esm/src/commands/folder/folder.js +101 -0
- package/esm/src/commands/gitsync-settings/converter.js +134 -0
- package/esm/src/commands/gitsync-settings/gitsync-settings.js +2 -0
- package/esm/src/commands/gitsync-settings/index.js +28 -0
- package/esm/src/commands/gitsync-settings/legacySettings.js +119 -0
- package/esm/src/commands/gitsync-settings/pull.js +372 -0
- package/esm/src/commands/gitsync-settings/push.js +263 -0
- package/esm/src/commands/gitsync-settings/types.js +37 -0
- package/esm/src/commands/gitsync-settings/utils.js +129 -0
- package/esm/src/commands/hub/hub.js +65 -0
- package/esm/src/commands/init/init.js +214 -0
- package/esm/src/commands/instance/instance.js +569 -0
- package/esm/src/commands/queues/queues.js +117 -0
- package/esm/src/commands/resource/resource.js +93 -0
- package/esm/src/commands/resource-type/resource-type.js +85 -0
- package/esm/src/commands/schedule/schedule.js +101 -0
- package/esm/src/commands/script/script.js +753 -0
- package/esm/src/commands/sync/pull.js +37 -0
- package/esm/src/commands/sync/sync.js +1563 -0
- package/esm/src/commands/trigger/trigger.js +182 -0
- package/esm/src/commands/user/user.js +428 -0
- package/esm/src/commands/variable/variable.js +121 -0
- package/esm/src/commands/worker-groups/worker_groups.js +96 -0
- package/esm/src/commands/workers/workers.js +79 -0
- package/esm/src/commands/workspace/workspace.js +348 -0
- package/esm/src/core/auth.js +40 -0
- package/esm/src/core/branch-profiles.js +46 -0
- package/esm/src/core/conf.js +162 -0
- package/esm/src/core/context.js +263 -0
- package/esm/src/core/login.js +100 -0
- package/esm/src/core/settings.js +432 -0
- package/esm/src/core/store.js +19 -0
- package/esm/src/main.js +174 -0
- package/esm/src/types.js +223 -0
- package/esm/src/utils/codebase.js +24 -0
- package/esm/src/utils/git.js +29 -0
- package/esm/src/utils/metadata.js +623 -0
- package/esm/src/utils/upgrade.js +48 -0
- package/esm/src/utils/utils.js +176 -0
- package/esm/windmill-utils-internal/src/config/config.js +190 -0
- package/esm/windmill-utils-internal/src/inline-scripts/extractor.js +13 -9
- package/esm/windmill-utils-internal/src/path-utils/path-assigner.js +25 -9
- package/package.json +6 -6
- package/types/deps/jsr.io/@std/bytes/1.0.5/_types.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/bytes/1.0.5/concat.d.ts +21 -0
- package/types/deps/jsr.io/@std/bytes/1.0.5/concat.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/fmt/1.0.6/colors.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/fs/1.0.16/_create_walk_entry.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/fs/1.0.16/_get_file_info_type.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/fs/1.0.16/_is_same_path.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/fs/1.0.16/_is_subdir.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/fs/1.0.16/_to_path_string.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/fs/1.0.16/copy.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/fs/1.0.16/empty_dir.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/fs/1.0.16/ensure_dir.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/fs/1.0.16/ensure_file.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/fs/1.0.16/ensure_link.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/fs/1.0.16/ensure_symlink.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/fs/1.0.16/eol.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/fs/1.0.16/exists.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/fs/1.0.16/expand_glob.d.ts +267 -0
- package/types/deps/jsr.io/@std/fs/1.0.16/expand_glob.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/fs/1.0.16/mod.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/fs/1.0.16/move.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/fs/1.0.16/walk.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/_common/assert_path.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/_common/basename.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/_common/common.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/_common/constants.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/_common/dirname.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/_common/format.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/_common/from_file_url.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/_common/glob_to_reg_exp.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/_common/normalize.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/_common/normalize_string.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/_common/relative.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/_common/strip_trailing_separators.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/_common/to_file_url.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/_os.d.ts +2 -0
- package/types/deps/jsr.io/@std/path/1.0.8/_os.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/basename.d.ts +28 -0
- package/types/deps/jsr.io/@std/path/1.0.8/basename.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/common.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/constants.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/dirname.d.ts +23 -0
- package/types/deps/jsr.io/@std/path/1.0.8/dirname.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/extname.d.ts +23 -0
- package/types/deps/jsr.io/@std/path/1.0.8/extname.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/format.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/from_file_url.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/glob_to_regexp.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/is_absolute.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/is_glob.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/join.d.ts +23 -0
- package/types/deps/jsr.io/@std/path/1.0.8/join.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/join_globs.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/mod.d.ts +54 -0
- package/types/deps/jsr.io/@std/path/1.0.8/mod.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/normalize.d.ts +27 -0
- package/types/deps/jsr.io/@std/path/1.0.8/normalize.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/normalize_glob.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/parse.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/posix/_util.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/posix/basename.d.ts +40 -0
- package/types/deps/jsr.io/@std/path/1.0.8/posix/basename.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/posix/constants.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/posix/dirname.d.ts +32 -0
- package/types/deps/jsr.io/@std/path/1.0.8/posix/dirname.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/posix/extname.d.ts +37 -0
- package/types/deps/jsr.io/@std/path/1.0.8/posix/extname.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/posix/format.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/posix/from_file_url.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/posix/glob_to_regexp.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/posix/is_absolute.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/posix/join.d.ts +33 -0
- package/types/deps/jsr.io/@std/path/1.0.8/posix/join.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/posix/join_globs.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/posix/normalize.d.ts +40 -0
- package/types/deps/jsr.io/@std/path/1.0.8/posix/normalize.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/posix/normalize_glob.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/posix/parse.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/posix/relative.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/posix/resolve.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/posix/to_file_url.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/posix/to_namespaced_path.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/relative.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/resolve.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/to_file_url.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/to_namespaced_path.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/types.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/windows/_util.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/windows/basename.d.ts +23 -0
- package/types/deps/jsr.io/@std/path/1.0.8/windows/basename.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/windows/constants.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/windows/dirname.d.ts +20 -0
- package/types/deps/jsr.io/@std/path/1.0.8/windows/dirname.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/windows/extname.d.ts +20 -0
- package/types/deps/jsr.io/@std/path/1.0.8/windows/extname.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/windows/format.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/windows/from_file_url.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/windows/glob_to_regexp.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/windows/is_absolute.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/windows/join.d.ts +20 -0
- package/types/deps/jsr.io/@std/path/1.0.8/windows/join.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/windows/join_globs.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/windows/normalize.d.ts +22 -0
- package/types/deps/jsr.io/@std/path/1.0.8/windows/normalize.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/windows/normalize_glob.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/windows/parse.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/windows/relative.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/windows/resolve.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/windows/to_file_url.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/path/1.0.8/windows/to_namespaced_path.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/1.0.5/_chars.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/1.0.5/_dumper_state.d.ts +99 -0
- package/types/deps/jsr.io/@std/yaml/1.0.5/_dumper_state.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/1.0.5/_loader_state.d.ts +60 -0
- package/types/deps/jsr.io/@std/yaml/1.0.5/_loader_state.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/1.0.5/_schema.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/1.0.5/_type/binary.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/1.0.5/_type/bool.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/1.0.5/_type/float.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/1.0.5/_type/int.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/1.0.5/_type/map.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/1.0.5/_type/merge.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/1.0.5/_type/nil.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/1.0.5/_type/omap.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/1.0.5/_type/pairs.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/1.0.5/_type/regexp.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/1.0.5/_type/seq.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/1.0.5/_type/set.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/1.0.5/_type/str.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/1.0.5/_type/timestamp.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/1.0.5/_type/undefined.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/1.0.5/_type.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/1.0.5/_utils.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/1.0.5/mod.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/1.0.5/parse.d.ts.map +1 -0
- package/types/deps/jsr.io/@std/yaml/1.0.5/stringify.d.ts.map +1 -0
- package/types/deps.d.ts +5 -5
- package/types/gen/services.gen.d.ts +34 -1
- package/types/gen/services.gen.d.ts.map +1 -1
- package/types/gen/types.gen.d.ts +43 -3
- package/types/gen/types.gen.d.ts.map +1 -1
- package/types/src/commands/app/apps.d.ts +17 -0
- package/types/src/commands/app/apps.d.ts.map +1 -0
- package/types/src/commands/dev/dev.d.ts +12 -0
- package/types/src/commands/dev/dev.d.ts.map +1 -0
- package/types/src/commands/flow/flow.d.ts +28 -0
- package/types/src/commands/flow/flow.d.ts.map +1 -0
- package/types/src/commands/folder/folder.d.ts +19 -0
- package/types/src/commands/folder/folder.d.ts.map +1 -0
- package/types/src/commands/gitsync-settings/converter.d.ts +10 -0
- package/types/src/commands/gitsync-settings/converter.d.ts.map +1 -0
- package/types/src/commands/gitsync-settings/gitsync-settings.d.ts +3 -0
- package/types/src/commands/gitsync-settings/gitsync-settings.d.ts.map +1 -0
- package/types/src/commands/gitsync-settings/index.d.ts +25 -0
- package/types/src/commands/gitsync-settings/index.d.ts.map +1 -0
- package/types/src/commands/gitsync-settings/legacySettings.d.ts +4 -0
- package/types/src/commands/gitsync-settings/legacySettings.d.ts.map +1 -0
- package/types/src/commands/gitsync-settings/pull.d.ts +14 -0
- package/types/src/commands/gitsync-settings/pull.d.ts.map +1 -0
- package/types/src/commands/gitsync-settings/push.d.ts +10 -0
- package/types/src/commands/gitsync-settings/push.d.ts.map +1 -0
- package/types/src/commands/gitsync-settings/types.d.ts +35 -0
- package/types/src/commands/gitsync-settings/types.d.ts.map +1 -0
- package/types/src/commands/gitsync-settings/utils.d.ts +36 -0
- package/types/src/commands/gitsync-settings/utils.d.ts.map +1 -0
- package/types/src/commands/hub/hub.d.ts +12 -0
- package/types/src/commands/hub/hub.d.ts.map +1 -0
- package/types/src/commands/init/init.d.ts +34 -0
- package/types/src/commands/init/init.d.ts.map +1 -0
- package/types/src/commands/instance/instance.d.ts +46 -0
- package/types/src/commands/instance/instance.d.ts.map +1 -0
- package/types/src/commands/queues/queues.d.ts +14 -0
- package/types/src/commands/queues/queues.d.ts.map +1 -0
- package/types/src/commands/resource/resource.d.ts +18 -0
- package/types/src/commands/resource/resource.d.ts.map +1 -0
- package/types/src/commands/resource-type/resource-type.d.ts +16 -0
- package/types/src/commands/resource-type/resource-type.d.ts.map +1 -0
- package/types/src/commands/schedule/schedule.d.ts +21 -0
- package/types/src/commands/schedule/schedule.d.ts.map +1 -0
- package/types/src/commands/script/script.d.ts +51 -0
- package/types/src/commands/script/script.d.ts.map +1 -0
- package/types/src/commands/sync/pull.d.ts +12 -0
- package/types/src/commands/sync/pull.d.ts.map +1 -0
- package/types/src/commands/sync/sync.d.ts +128 -0
- package/types/src/commands/sync/sync.d.ts.map +1 -0
- package/types/src/commands/trigger/trigger.d.ts +24 -0
- package/types/src/commands/trigger/trigger.d.ts.map +1 -0
- package/types/src/commands/user/user.d.ts +34 -0
- package/types/src/commands/user/user.d.ts.map +1 -0
- package/types/src/commands/variable/variable.d.ts +23 -0
- package/types/src/commands/variable/variable.d.ts.map +1 -0
- package/types/src/commands/worker-groups/worker_groups.d.ts +23 -0
- package/types/src/commands/worker-groups/worker_groups.d.ts.map +1 -0
- package/types/src/commands/workers/workers.d.ts +14 -0
- package/types/src/commands/workers/workers.d.ts.map +1 -0
- package/types/src/commands/workspace/workspace.d.ts +30 -0
- package/types/src/commands/workspace/workspace.d.ts.map +1 -0
- package/types/src/core/auth.d.ts +8 -0
- package/types/src/core/auth.d.ts.map +1 -0
- package/types/src/core/branch-profiles.d.ts +12 -0
- package/types/src/core/branch-profiles.d.ts.map +1 -0
- package/types/src/core/conf.d.ts +64 -0
- package/types/src/core/conf.d.ts.map +1 -0
- package/types/src/core/context.d.ts +13 -0
- package/types/src/core/context.d.ts.map +1 -0
- package/types/src/core/login.d.ts +5 -0
- package/types/src/core/login.d.ts.map +1 -0
- package/types/src/core/settings.d.ts +30 -0
- package/types/src/core/settings.d.ts.map +1 -0
- package/types/src/core/store.d.ts +2 -0
- package/types/src/core/store.d.ts.map +1 -0
- package/types/src/guidance/flow_guidance.d.ts.map +1 -0
- package/types/src/guidance/script_guidance.d.ts.map +1 -0
- package/types/src/main.d.ts +74 -0
- package/types/src/main.d.ts.map +1 -0
- package/types/src/types.d.ts.map +1 -0
- package/types/src/utils/codebase.d.ts +6 -0
- package/types/src/utils/codebase.d.ts.map +1 -0
- package/types/src/utils/git.d.ts +3 -0
- package/types/src/utils/git.d.ts.map +1 -0
- package/types/src/utils/local_encryption.d.ts.map +1 -0
- package/types/src/utils/metadata.d.ts +52 -0
- package/types/src/utils/metadata.d.ts.map +1 -0
- package/types/src/utils/script_common.d.ts.map +1 -0
- package/types/src/utils/upgrade.d.ts +21 -0
- package/types/src/utils/upgrade.d.ts.map +1 -0
- package/types/src/utils/utils.d.ts +20 -0
- package/types/src/utils/utils.d.ts.map +1 -0
- package/types/windmill-utils-internal/src/config/config.d.ts +12 -0
- package/types/windmill-utils-internal/src/config/config.d.ts.map +1 -0
- package/types/windmill-utils-internal/src/gen/types.gen.d.ts +43 -3
- package/types/windmill-utils-internal/src/gen/types.gen.d.ts.map +1 -1
- package/types/windmill-utils-internal/src/inline-scripts/extractor.d.ts +1 -4
- package/types/windmill-utils-internal/src/inline-scripts/extractor.d.ts.map +1 -1
- package/types/windmill-utils-internal/src/path-utils/path-assigner.d.ts +6 -6
- package/types/windmill-utils-internal/src/path-utils/path-assigner.d.ts.map +1 -1
- package/esm/apps.js +0 -124
- package/esm/auth.js +0 -40
- package/esm/codebase.js +0 -24
- package/esm/conf.js +0 -78
- package/esm/context.js +0 -121
- package/esm/deps/jsr.io/@std/fs/1.0.19/_create_walk_entry.js +0 -34
- package/esm/deps/jsr.io/@std/fs/1.0.19/_is_same_path.js +0 -17
- package/esm/deps/jsr.io/@std/fs/1.0.19/_is_subdir.js +0 -25
- package/esm/deps/jsr.io/@std/fs/1.0.19/_to_path_string.js +0 -13
- package/esm/deps/jsr.io/@std/fs/1.0.19/copy.js +0 -313
- package/esm/deps/jsr.io/@std/fs/1.0.19/empty_dir.js +0 -87
- package/esm/deps/jsr.io/@std/fs/1.0.19/ensure_file.js +0 -90
- package/esm/deps/jsr.io/@std/fs/1.0.19/ensure_link.js +0 -61
- package/esm/deps/jsr.io/@std/fs/1.0.19/ensure_symlink.js +0 -156
- package/esm/deps/jsr.io/@std/fs/1.0.19/expand_glob.js +0 -415
- package/esm/deps/jsr.io/@std/fs/1.0.19/walk.js +0 -846
- package/esm/deps/jsr.io/@std/internal/1.0.10/_os.js +0 -12
- package/esm/deps/jsr.io/@std/internal/1.0.10/os.js +0 -5
- package/esm/deps/jsr.io/@std/path/1.1.1/_common/assert_path.js +0 -7
- package/esm/deps/jsr.io/@std/path/1.1.1/_common/basename.js +0 -40
- package/esm/deps/jsr.io/@std/path/1.1.1/_common/common.js +0 -23
- package/esm/deps/jsr.io/@std/path/1.1.1/_common/constants.js +0 -46
- package/esm/deps/jsr.io/@std/path/1.1.1/_common/dirname.js +0 -8
- package/esm/deps/jsr.io/@std/path/1.1.1/_common/format.js +0 -19
- package/esm/deps/jsr.io/@std/path/1.1.1/_common/from_file_url.js +0 -9
- package/esm/deps/jsr.io/@std/path/1.1.1/_common/glob_to_reg_exp.js +0 -234
- package/esm/deps/jsr.io/@std/path/1.1.1/_common/normalize.js +0 -8
- package/esm/deps/jsr.io/@std/path/1.1.1/_common/normalize_string.js +0 -77
- package/esm/deps/jsr.io/@std/path/1.1.1/_common/relative.js +0 -9
- package/esm/deps/jsr.io/@std/path/1.1.1/_common/strip_trailing_separators.js +0 -19
- package/esm/deps/jsr.io/@std/path/1.1.1/_common/to_file_url.js +0 -15
- package/esm/deps/jsr.io/@std/path/1.1.1/basename.js +0 -35
- package/esm/deps/jsr.io/@std/path/1.1.1/common.js +0 -33
- package/esm/deps/jsr.io/@std/path/1.1.1/constants.js +0 -17
- package/esm/deps/jsr.io/@std/path/1.1.1/dirname.js +0 -28
- package/esm/deps/jsr.io/@std/path/1.1.1/extname.js +0 -28
- package/esm/deps/jsr.io/@std/path/1.1.1/format.js +0 -27
- package/esm/deps/jsr.io/@std/path/1.1.1/from_file_url.js +0 -28
- package/esm/deps/jsr.io/@std/path/1.1.1/glob_to_regexp.js +0 -83
- package/esm/deps/jsr.io/@std/path/1.1.1/is_absolute.js +0 -28
- package/esm/deps/jsr.io/@std/path/1.1.1/is_glob.js +0 -42
- package/esm/deps/jsr.io/@std/path/1.1.1/join.js +0 -29
- package/esm/deps/jsr.io/@std/path/1.1.1/join_globs.js +0 -34
- package/esm/deps/jsr.io/@std/path/1.1.1/mod.js +0 -216
- package/esm/deps/jsr.io/@std/path/1.1.1/normalize.js +0 -32
- package/esm/deps/jsr.io/@std/path/1.1.1/normalize_glob.js +0 -35
- package/esm/deps/jsr.io/@std/path/1.1.1/parse.js +0 -39
- package/esm/deps/jsr.io/@std/path/1.1.1/posix/_util.js +0 -8
- package/esm/deps/jsr.io/@std/path/1.1.1/posix/basename.js +0 -52
- package/esm/deps/jsr.io/@std/path/1.1.1/posix/constants.js +0 -14
- package/esm/deps/jsr.io/@std/path/1.1.1/posix/dirname.js +0 -64
- package/esm/deps/jsr.io/@std/path/1.1.1/posix/extname.js +0 -93
- package/esm/deps/jsr.io/@std/path/1.1.1/posix/format.js +0 -28
- package/esm/deps/jsr.io/@std/path/1.1.1/posix/from_file_url.js +0 -21
- package/esm/deps/jsr.io/@std/path/1.1.1/posix/glob_to_regexp.js +0 -82
- package/esm/deps/jsr.io/@std/path/1.1.1/posix/is_absolute.js +0 -23
- package/esm/deps/jsr.io/@std/path/1.1.1/posix/join.js +0 -45
- package/esm/deps/jsr.io/@std/path/1.1.1/posix/join_globs.js +0 -40
- package/esm/deps/jsr.io/@std/path/1.1.1/posix/normalize.js +0 -58
- package/esm/deps/jsr.io/@std/path/1.1.1/posix/normalize_glob.js +0 -32
- package/esm/deps/jsr.io/@std/path/1.1.1/posix/parse.js +0 -115
- package/esm/deps/jsr.io/@std/path/1.1.1/posix/relative.js +0 -106
- package/esm/deps/jsr.io/@std/path/1.1.1/posix/resolve.js +0 -59
- package/esm/deps/jsr.io/@std/path/1.1.1/posix/to_file_url.js +0 -27
- package/esm/deps/jsr.io/@std/path/1.1.1/posix/to_namespaced_path.js +0 -20
- package/esm/deps/jsr.io/@std/path/1.1.1/relative.js +0 -30
- package/esm/deps/jsr.io/@std/path/1.1.1/resolve.js +0 -30
- package/esm/deps/jsr.io/@std/path/1.1.1/to_file_url.js +0 -28
- package/esm/deps/jsr.io/@std/path/1.1.1/to_namespaced_path.js +0 -29
- package/esm/deps/jsr.io/@std/path/1.1.1/types.js +0 -3
- package/esm/deps/jsr.io/@std/path/1.1.1/windows/_util.js +0 -15
- package/esm/deps/jsr.io/@std/path/1.1.1/windows/basename.js +0 -47
- package/esm/deps/jsr.io/@std/path/1.1.1/windows/constants.js +0 -14
- package/esm/deps/jsr.io/@std/path/1.1.1/windows/dirname.js +0 -113
- package/esm/deps/jsr.io/@std/path/1.1.1/windows/extname.js +0 -82
- package/esm/deps/jsr.io/@std/path/1.1.1/windows/format.js +0 -28
- package/esm/deps/jsr.io/@std/path/1.1.1/windows/from_file_url.js +0 -30
- package/esm/deps/jsr.io/@std/path/1.1.1/windows/glob_to_regexp.js +0 -82
- package/esm/deps/jsr.io/@std/path/1.1.1/windows/is_absolute.js +0 -38
- package/esm/deps/jsr.io/@std/path/1.1.1/windows/join.js +0 -77
- package/esm/deps/jsr.io/@std/path/1.1.1/windows/join_globs.js +0 -41
- package/esm/deps/jsr.io/@std/path/1.1.1/windows/normalize.js +0 -135
- package/esm/deps/jsr.io/@std/path/1.1.1/windows/normalize_glob.js +0 -32
- package/esm/deps/jsr.io/@std/path/1.1.1/windows/parse.js +0 -176
- package/esm/deps/jsr.io/@std/path/1.1.1/windows/relative.js +0 -131
- package/esm/deps/jsr.io/@std/path/1.1.1/windows/resolve.js +0 -154
- package/esm/deps/jsr.io/@std/path/1.1.1/windows/to_file_url.js +0 -34
- package/esm/deps/jsr.io/@std/path/1.1.1/windows/to_namespaced_path.js +0 -49
- package/esm/deps/jsr.io/@std/yaml/1.0.9/_chars.js +0 -48
- package/esm/deps/jsr.io/@std/yaml/1.0.9/_dumper_state.js +0 -716
- package/esm/deps/jsr.io/@std/yaml/1.0.9/_loader_state.js +0 -1427
- package/esm/deps/jsr.io/@std/yaml/1.0.9/_schema.js +0 -107
- package/esm/deps/jsr.io/@std/yaml/1.0.9/_type/bool.js +0 -32
- package/esm/deps/jsr.io/@std/yaml/1.0.9/_type/float.js +0 -96
- package/esm/deps/jsr.io/@std/yaml/1.0.9/_type/int.js +0 -159
- package/esm/deps/jsr.io/@std/yaml/1.0.9/_type/map.js +0 -14
- package/esm/deps/jsr.io/@std/yaml/1.0.9/_type/merge.js +0 -10
- package/esm/deps/jsr.io/@std/yaml/1.0.9/_type/nil.js +0 -22
- package/esm/deps/jsr.io/@std/yaml/1.0.9/_type/omap.js +0 -29
- package/esm/deps/jsr.io/@std/yaml/1.0.9/_type/pairs.js +0 -19
- package/esm/deps/jsr.io/@std/yaml/1.0.9/_type/regexp.js +0 -30
- package/esm/deps/jsr.io/@std/yaml/1.0.9/_type/seq.js +0 -10
- package/esm/deps/jsr.io/@std/yaml/1.0.9/_type/set.js +0 -14
- package/esm/deps/jsr.io/@std/yaml/1.0.9/_type/str.js +0 -9
- package/esm/deps/jsr.io/@std/yaml/1.0.9/_type/timestamp.js +0 -81
- package/esm/deps/jsr.io/@std/yaml/1.0.9/_type/undefined.js +0 -20
- package/esm/deps/jsr.io/@std/yaml/1.0.9/_type.js +0 -6
- package/esm/deps/jsr.io/@std/yaml/1.0.9/_utils.js +0 -13
- package/esm/deps/jsr.io/@std/yaml/1.0.9/mod.js +0 -52
- package/esm/deps/jsr.io/@std/yaml/1.0.9/parse.js +0 -93
- package/esm/deps/jsr.io/@std/yaml/1.0.9/stringify.js +0 -33
- package/esm/dev.js +0 -145
- package/esm/flow.js +0 -236
- package/esm/folder.js +0 -101
- package/esm/gitsync-settings.js +0 -984
- package/esm/hub.js +0 -65
- package/esm/instance.js +0 -569
- package/esm/login.js +0 -100
- package/esm/main.js +0 -337
- package/esm/metadata.js +0 -623
- package/esm/pull.js +0 -37
- package/esm/queues.js +0 -117
- package/esm/resource-type.js +0 -85
- package/esm/resource.js +0 -93
- package/esm/schedule.js +0 -101
- package/esm/script.js +0 -753
- package/esm/settings.js +0 -432
- package/esm/store.js +0 -76
- package/esm/sync.js +0 -1662
- package/esm/trigger.js +0 -182
- package/esm/types.js +0 -223
- package/esm/upgrade.js +0 -48
- package/esm/user.js +0 -428
- package/esm/utils.js +0 -168
- package/esm/variable.js +0 -121
- package/esm/worker_groups.js +0 -96
- package/esm/workers.js +0 -79
- package/esm/workspace.js +0 -314
- package/types/apps.d.ts +0 -17
- package/types/apps.d.ts.map +0 -1
- package/types/auth.d.ts +0 -8
- package/types/auth.d.ts.map +0 -1
- package/types/codebase.d.ts +0 -6
- package/types/codebase.d.ts.map +0 -1
- package/types/conf.d.ts +0 -55
- package/types/conf.d.ts.map +0 -1
- package/types/context.d.ts +0 -13
- package/types/context.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/bytes/1.0.6/_types.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/bytes/1.0.6/concat.d.ts +0 -21
- package/types/deps/jsr.io/@std/bytes/1.0.6/concat.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/fmt/1.0.8/colors.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/fs/1.0.19/_create_walk_entry.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/fs/1.0.19/_get_file_info_type.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/fs/1.0.19/_is_same_path.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/fs/1.0.19/_is_subdir.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/fs/1.0.19/_to_path_string.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/fs/1.0.19/copy.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/fs/1.0.19/empty_dir.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/fs/1.0.19/ensure_dir.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/fs/1.0.19/ensure_file.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/fs/1.0.19/ensure_link.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/fs/1.0.19/ensure_symlink.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/fs/1.0.19/eol.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/fs/1.0.19/exists.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/fs/1.0.19/expand_glob.d.ts +0 -267
- package/types/deps/jsr.io/@std/fs/1.0.19/expand_glob.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/fs/1.0.19/mod.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/fs/1.0.19/move.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/fs/1.0.19/walk.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/internal/1.0.10/_os.d.ts +0 -2
- package/types/deps/jsr.io/@std/internal/1.0.10/_os.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/internal/1.0.10/os.d.ts +0 -3
- package/types/deps/jsr.io/@std/internal/1.0.10/os.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/_common/assert_path.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/_common/basename.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/_common/common.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/_common/constants.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/_common/dirname.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/_common/format.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/_common/from_file_url.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/_common/glob_to_reg_exp.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/_common/normalize.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/_common/normalize_string.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/_common/relative.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/_common/strip_trailing_separators.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/_common/to_file_url.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/basename.d.ts +0 -27
- package/types/deps/jsr.io/@std/path/1.1.1/basename.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/common.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/constants.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/dirname.d.ts +0 -22
- package/types/deps/jsr.io/@std/path/1.1.1/dirname.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/extname.d.ts +0 -22
- package/types/deps/jsr.io/@std/path/1.1.1/extname.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/format.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/from_file_url.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/glob_to_regexp.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/is_absolute.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/is_glob.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/join.d.ts +0 -23
- package/types/deps/jsr.io/@std/path/1.1.1/join.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/join_globs.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/mod.d.ts +0 -213
- package/types/deps/jsr.io/@std/path/1.1.1/mod.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/normalize.d.ts +0 -26
- package/types/deps/jsr.io/@std/path/1.1.1/normalize.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/normalize_glob.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/parse.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/posix/_util.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/posix/basename.d.ts +0 -39
- package/types/deps/jsr.io/@std/path/1.1.1/posix/basename.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/posix/constants.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/posix/dirname.d.ts +0 -30
- package/types/deps/jsr.io/@std/path/1.1.1/posix/dirname.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/posix/extname.d.ts +0 -37
- package/types/deps/jsr.io/@std/path/1.1.1/posix/extname.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/posix/format.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/posix/from_file_url.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/posix/glob_to_regexp.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/posix/is_absolute.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/posix/join.d.ts +0 -31
- package/types/deps/jsr.io/@std/path/1.1.1/posix/join.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/posix/join_globs.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/posix/normalize.d.ts +0 -37
- package/types/deps/jsr.io/@std/path/1.1.1/posix/normalize.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/posix/normalize_glob.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/posix/parse.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/posix/relative.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/posix/resolve.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/posix/to_file_url.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/posix/to_namespaced_path.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/relative.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/resolve.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/to_file_url.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/to_namespaced_path.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/types.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/windows/_util.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/windows/basename.d.ts +0 -22
- package/types/deps/jsr.io/@std/path/1.1.1/windows/basename.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/windows/constants.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/windows/dirname.d.ts +0 -17
- package/types/deps/jsr.io/@std/path/1.1.1/windows/dirname.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/windows/extname.d.ts +0 -17
- package/types/deps/jsr.io/@std/path/1.1.1/windows/extname.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/windows/format.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/windows/from_file_url.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/windows/glob_to_regexp.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/windows/is_absolute.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/windows/join.d.ts +0 -18
- package/types/deps/jsr.io/@std/path/1.1.1/windows/join.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/windows/join_globs.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/windows/normalize.d.ts +0 -19
- package/types/deps/jsr.io/@std/path/1.1.1/windows/normalize.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/windows/normalize_glob.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/windows/parse.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/windows/relative.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/windows/resolve.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/windows/to_file_url.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.1/windows/to_namespaced_path.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.9/_chars.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.9/_dumper_state.d.ts +0 -106
- package/types/deps/jsr.io/@std/yaml/1.0.9/_dumper_state.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.9/_loader_state.d.ts +0 -66
- package/types/deps/jsr.io/@std/yaml/1.0.9/_loader_state.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.9/_schema.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.9/_type/binary.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.9/_type/bool.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.9/_type/float.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.9/_type/int.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.9/_type/map.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.9/_type/merge.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.9/_type/nil.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.9/_type/omap.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.9/_type/pairs.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.9/_type/regexp.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.9/_type/seq.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.9/_type/set.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.9/_type/str.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.9/_type/timestamp.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.9/_type/undefined.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.9/_type.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.9/_utils.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.9/mod.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.9/parse.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.9/stringify.d.ts.map +0 -1
- package/types/dev.d.ts +0 -12
- package/types/dev.d.ts.map +0 -1
- package/types/flow.d.ts +0 -28
- package/types/flow.d.ts.map +0 -1
- package/types/flow_guidance.d.ts.map +0 -1
- package/types/folder.d.ts +0 -19
- package/types/folder.d.ts.map +0 -1
- package/types/gitsync-settings.d.ts +0 -40
- package/types/gitsync-settings.d.ts.map +0 -1
- package/types/hub.d.ts +0 -12
- package/types/hub.d.ts.map +0 -1
- package/types/instance.d.ts +0 -46
- package/types/instance.d.ts.map +0 -1
- package/types/local_encryption.d.ts.map +0 -1
- package/types/login.d.ts +0 -5
- package/types/login.d.ts.map +0 -1
- package/types/main.d.ts +0 -70
- package/types/main.d.ts.map +0 -1
- package/types/metadata.d.ts +0 -52
- package/types/metadata.d.ts.map +0 -1
- package/types/pull.d.ts +0 -12
- package/types/pull.d.ts.map +0 -1
- package/types/queues.d.ts +0 -14
- package/types/queues.d.ts.map +0 -1
- package/types/resource-type.d.ts +0 -16
- package/types/resource-type.d.ts.map +0 -1
- package/types/resource.d.ts +0 -18
- package/types/resource.d.ts.map +0 -1
- package/types/schedule.d.ts +0 -21
- package/types/schedule.d.ts.map +0 -1
- package/types/script.d.ts +0 -51
- package/types/script.d.ts.map +0 -1
- package/types/script_common.d.ts.map +0 -1
- package/types/script_guidance.d.ts.map +0 -1
- package/types/settings.d.ts +0 -30
- package/types/settings.d.ts.map +0 -1
- package/types/store.d.ts +0 -3
- package/types/store.d.ts.map +0 -1
- package/types/sync.d.ts +0 -130
- package/types/sync.d.ts.map +0 -1
- package/types/trigger.d.ts +0 -24
- package/types/trigger.d.ts.map +0 -1
- package/types/types.d.ts.map +0 -1
- package/types/upgrade.d.ts +0 -21
- package/types/upgrade.d.ts.map +0 -1
- package/types/user.d.ts +0 -34
- package/types/user.d.ts.map +0 -1
- package/types/utils.d.ts +0 -19
- package/types/utils.d.ts.map +0 -1
- package/types/variable.d.ts +0 -23
- package/types/variable.d.ts.map +0 -1
- package/types/worker_groups.d.ts +0 -24
- package/types/worker_groups.d.ts.map +0 -1
- package/types/workers.d.ts +0 -14
- package/types/workers.d.ts.map +0 -1
- package/types/workspace.d.ts +0 -28
- package/types/workspace.d.ts.map +0 -1
- /package/esm/deps/jsr.io/@std/bytes/{1.0.6 → 1.0.5}/_types.js +0 -0
- /package/esm/deps/jsr.io/@std/bytes/{1.0.6 → 1.0.5}/concat.js +0 -0
- /package/esm/deps/jsr.io/@std/fmt/{1.0.8 → 1.0.6}/colors.js +0 -0
- /package/esm/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/_get_file_info_type.js +0 -0
- /package/esm/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/ensure_dir.js +0 -0
- /package/esm/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/eol.js +0 -0
- /package/esm/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/exists.js +0 -0
- /package/esm/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/mod.js +0 -0
- /package/esm/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/move.js +0 -0
- /package/esm/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/binary.js +0 -0
- /package/esm/{flow_guidance.js → src/guidance/flow_guidance.js} +0 -0
- /package/esm/{script_guidance.js → src/guidance/script_guidance.js} +0 -0
- /package/esm/{local_encryption.js → src/utils/local_encryption.js} +0 -0
- /package/esm/{script_common.js → src/utils/script_common.js} +0 -0
- /package/types/deps/jsr.io/@std/bytes/{1.0.6 → 1.0.5}/_types.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fmt/{1.0.8 → 1.0.6}/colors.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/_create_walk_entry.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/_get_file_info_type.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/_is_same_path.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/_is_subdir.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/_to_path_string.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/copy.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/empty_dir.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/ensure_dir.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/ensure_file.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/ensure_link.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/ensure_symlink.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/eol.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/exists.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/mod.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/move.d.ts +0 -0
- /package/types/deps/jsr.io/@std/fs/{1.0.19 → 1.0.16}/walk.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/_common/assert_path.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/_common/basename.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/_common/common.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/_common/constants.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/_common/dirname.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/_common/format.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/_common/from_file_url.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/_common/glob_to_reg_exp.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/_common/normalize.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/_common/normalize_string.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/_common/relative.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/_common/strip_trailing_separators.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/_common/to_file_url.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/common.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/constants.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/format.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/from_file_url.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/glob_to_regexp.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/is_absolute.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/is_glob.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/join_globs.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/normalize_glob.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/parse.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/posix/_util.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/posix/constants.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/posix/format.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/posix/from_file_url.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/posix/glob_to_regexp.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/posix/is_absolute.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/posix/join_globs.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/posix/normalize_glob.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/posix/parse.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/posix/relative.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/posix/resolve.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/posix/to_file_url.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/posix/to_namespaced_path.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/relative.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/resolve.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/to_file_url.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/to_namespaced_path.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/types.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/windows/_util.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/windows/constants.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/windows/format.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/windows/from_file_url.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/windows/glob_to_regexp.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/windows/is_absolute.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/windows/join_globs.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/windows/normalize_glob.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/windows/parse.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/windows/relative.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/windows/resolve.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/windows/to_file_url.d.ts +0 -0
- /package/types/deps/jsr.io/@std/path/{1.1.1 → 1.0.8}/windows/to_namespaced_path.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_chars.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_schema.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/binary.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/bool.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/float.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/int.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/map.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/merge.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/nil.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/omap.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/pairs.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/regexp.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/seq.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/set.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/str.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/timestamp.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type/undefined.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_type.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/_utils.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/mod.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/parse.d.ts +0 -0
- /package/types/deps/jsr.io/@std/yaml/{1.0.9 → 1.0.5}/stringify.d.ts +0 -0
- /package/types/{flow_guidance.d.ts → src/guidance/flow_guidance.d.ts} +0 -0
- /package/types/{script_guidance.d.ts → src/guidance/script_guidance.d.ts} +0 -0
- /package/types/{types.d.ts → src/types.d.ts} +0 -0
- /package/types/{local_encryption.d.ts → src/utils/local_encryption.d.ts} +0 -0
- /package/types/{script_common.d.ts → src/utils/script_common.d.ts} +0 -0
|
@@ -0,0 +1,236 @@
|
|
|
1
|
+
// deno-lint-ignore-file no-explicit-any
|
|
2
|
+
import * as dntShim from "../../../_dnt.shims.js";
|
|
3
|
+
import { isSuperset } from "../../types.js";
|
|
4
|
+
import { Confirm, SEP, log, yamlStringify } from "../../../deps.js";
|
|
5
|
+
import { colors, Command, Table, yamlParseFile } from "../../../deps.js";
|
|
6
|
+
import * as wmill from "../../../gen/services.gen.js";
|
|
7
|
+
import { requireLogin } from "../../core/auth.js";
|
|
8
|
+
import { resolveWorkspace, validatePath } from "../../core/context.js";
|
|
9
|
+
import { resolve, track_job } from "../script/script.js";
|
|
10
|
+
import { defaultFlowDefinition } from "../../../bootstrap/flow_bootstrap.js";
|
|
11
|
+
import { generateFlowLockInternal } from "../../utils/metadata.js";
|
|
12
|
+
import { mergeConfigWithConfigFile } from "../../core/conf.js";
|
|
13
|
+
import { FSFSElement, elementsToMap, ignoreF } from "../sync/sync.js";
|
|
14
|
+
import { replaceInlineScripts } from "../../../windmill-utils-internal/src/inline-scripts/replacer.js";
|
|
15
|
+
const alreadySynced = [];
|
|
16
|
+
export async function pushFlow(workspace, remotePath, localPath, message) {
|
|
17
|
+
if (alreadySynced.includes(localPath)) {
|
|
18
|
+
return;
|
|
19
|
+
}
|
|
20
|
+
alreadySynced.push(localPath);
|
|
21
|
+
remotePath = remotePath.replaceAll(SEP, "/");
|
|
22
|
+
let flow = undefined;
|
|
23
|
+
try {
|
|
24
|
+
flow = await wmill.getFlowByPath({
|
|
25
|
+
workspace: workspace,
|
|
26
|
+
path: remotePath,
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
catch {
|
|
30
|
+
// flow doesn't exist
|
|
31
|
+
}
|
|
32
|
+
if (!localPath.endsWith(SEP)) {
|
|
33
|
+
localPath += SEP;
|
|
34
|
+
}
|
|
35
|
+
const localFlow = (await yamlParseFile(localPath + "flow.yaml"));
|
|
36
|
+
await replaceInlineScripts(localFlow.value.modules, async (path) => await dntShim.Deno.readTextFile(localPath + path), log, localPath, SEP);
|
|
37
|
+
if (flow) {
|
|
38
|
+
if (isSuperset(localFlow, flow)) {
|
|
39
|
+
log.info(colors.green(`Flow ${remotePath} is up to date`));
|
|
40
|
+
return;
|
|
41
|
+
}
|
|
42
|
+
log.info(colors.bold.yellow(`Updating flow ${remotePath}...`));
|
|
43
|
+
await wmill.updateFlow({
|
|
44
|
+
workspace: workspace,
|
|
45
|
+
path: remotePath.replaceAll(SEP, "/"),
|
|
46
|
+
requestBody: {
|
|
47
|
+
path: remotePath.replaceAll(SEP, "/"),
|
|
48
|
+
deployment_message: message,
|
|
49
|
+
...localFlow,
|
|
50
|
+
},
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
else {
|
|
54
|
+
log.info(colors.bold.yellow("Creating new flow..."));
|
|
55
|
+
try {
|
|
56
|
+
await wmill.createFlow({
|
|
57
|
+
workspace: workspace,
|
|
58
|
+
requestBody: {
|
|
59
|
+
path: remotePath.replaceAll(SEP, "/"),
|
|
60
|
+
deployment_message: message,
|
|
61
|
+
...localFlow,
|
|
62
|
+
},
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
catch (e) {
|
|
66
|
+
throw new Error(
|
|
67
|
+
//@ts-ignore
|
|
68
|
+
`Failed to create flow ${remotePath}: ${e.body ?? e.message}`);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
async function push(opts, filePath, remotePath) {
|
|
73
|
+
if (!validatePath(remotePath)) {
|
|
74
|
+
return;
|
|
75
|
+
}
|
|
76
|
+
const workspace = await resolveWorkspace(opts);
|
|
77
|
+
await requireLogin(opts);
|
|
78
|
+
await pushFlow(workspace.workspaceId, remotePath, filePath);
|
|
79
|
+
log.info(colors.bold.underline.green("Flow pushed"));
|
|
80
|
+
}
|
|
81
|
+
async function list(opts) {
|
|
82
|
+
const workspace = await resolveWorkspace(opts);
|
|
83
|
+
await requireLogin(opts);
|
|
84
|
+
let page = 0;
|
|
85
|
+
const perPage = 10;
|
|
86
|
+
const total = [];
|
|
87
|
+
while (true) {
|
|
88
|
+
const res = await wmill.listFlows({
|
|
89
|
+
workspace: workspace.workspaceId,
|
|
90
|
+
page,
|
|
91
|
+
perPage,
|
|
92
|
+
showArchived: opts.showArchived ?? false,
|
|
93
|
+
includeDraftOnly: opts.includeDraftOnly ?? false,
|
|
94
|
+
});
|
|
95
|
+
page += 1;
|
|
96
|
+
total.push(...res);
|
|
97
|
+
if (res.length < perPage) {
|
|
98
|
+
break;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
new Table()
|
|
102
|
+
.header(["path", "summary", "edited by"])
|
|
103
|
+
.padding(2)
|
|
104
|
+
.border(true)
|
|
105
|
+
.body(total.map((x) => [x.path, x.summary, x.edited_by]))
|
|
106
|
+
.render();
|
|
107
|
+
}
|
|
108
|
+
async function run(opts, path) {
|
|
109
|
+
const workspace = await resolveWorkspace(opts);
|
|
110
|
+
await requireLogin(opts);
|
|
111
|
+
const input = opts.data ? await resolve(opts.data) : {};
|
|
112
|
+
const id = await wmill.runFlowByPath({
|
|
113
|
+
workspace: workspace.workspaceId,
|
|
114
|
+
path,
|
|
115
|
+
requestBody: input,
|
|
116
|
+
});
|
|
117
|
+
let i = 0;
|
|
118
|
+
while (true) {
|
|
119
|
+
const jobInfo = await wmill.getJob({
|
|
120
|
+
workspace: workspace.workspaceId,
|
|
121
|
+
id,
|
|
122
|
+
});
|
|
123
|
+
if (jobInfo.flow_status.modules.length <= i) {
|
|
124
|
+
break;
|
|
125
|
+
}
|
|
126
|
+
const module = jobInfo.flow_status.modules[i];
|
|
127
|
+
if (module.job) {
|
|
128
|
+
if (!opts.silent) {
|
|
129
|
+
log.info("====== Job " + (i + 1) + " ======");
|
|
130
|
+
await track_job(workspace.workspaceId, module.job);
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
else {
|
|
134
|
+
if (!opts.silent) {
|
|
135
|
+
log.info(module.type);
|
|
136
|
+
}
|
|
137
|
+
await new Promise((resolve, _) => setTimeout(() => resolve(undefined), 100));
|
|
138
|
+
continue;
|
|
139
|
+
}
|
|
140
|
+
i++;
|
|
141
|
+
}
|
|
142
|
+
if (!opts.silent) {
|
|
143
|
+
log.info(colors.green.underline.bold("Flow ran to completion"));
|
|
144
|
+
log.info("\n");
|
|
145
|
+
}
|
|
146
|
+
const jobInfo = await wmill.getCompletedJob({
|
|
147
|
+
workspace: workspace.workspaceId,
|
|
148
|
+
id,
|
|
149
|
+
});
|
|
150
|
+
log.info(jobInfo.result ?? {});
|
|
151
|
+
}
|
|
152
|
+
async function generateLocks(opts, folder) {
|
|
153
|
+
const useRawReqs = opts.useRawRequirements || dntShim.Deno.env.get("USE_RAW_REQUIREMENTS") === "true";
|
|
154
|
+
const workspace = await resolveWorkspace(opts);
|
|
155
|
+
await requireLogin(opts);
|
|
156
|
+
opts = await mergeConfigWithConfigFile(opts);
|
|
157
|
+
if (folder) {
|
|
158
|
+
// read script metadata file
|
|
159
|
+
await generateFlowLockInternal(folder, false, workspace, opts, undefined, undefined, useRawReqs);
|
|
160
|
+
}
|
|
161
|
+
else {
|
|
162
|
+
const ignore = await ignoreF(opts);
|
|
163
|
+
const elems = Object.keys(await elementsToMap(await FSFSElement(dntShim.Deno.cwd(), [], true), (p, isD) => {
|
|
164
|
+
return (ignore(p, isD) ||
|
|
165
|
+
(!isD &&
|
|
166
|
+
!p.endsWith(SEP + "flow.yaml") &&
|
|
167
|
+
!p.endsWith(SEP + "flow.json")));
|
|
168
|
+
}, false, {})).map((x) => x.substring(0, x.lastIndexOf(SEP)));
|
|
169
|
+
let hasAny = false;
|
|
170
|
+
for (const folder of elems) {
|
|
171
|
+
const candidate = await generateFlowLockInternal(folder, true, workspace, opts, undefined, undefined, useRawReqs);
|
|
172
|
+
if (candidate) {
|
|
173
|
+
hasAny = true;
|
|
174
|
+
log.info(colors.green(`+ ${candidate}`));
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
if (hasAny) {
|
|
178
|
+
if (!opts.yes &&
|
|
179
|
+
!(await Confirm.prompt({
|
|
180
|
+
message: "Update the locks of the inline scripts of the above flows?",
|
|
181
|
+
default: true,
|
|
182
|
+
}))) {
|
|
183
|
+
return;
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
else {
|
|
187
|
+
log.info(colors.green.bold("No locks to update"));
|
|
188
|
+
return;
|
|
189
|
+
}
|
|
190
|
+
for (const folder of elems) {
|
|
191
|
+
await generateFlowLockInternal(folder, false, workspace, opts, undefined, undefined, useRawReqs);
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
export function bootstrap(opts, flowPath) {
|
|
196
|
+
if (!validatePath(flowPath)) {
|
|
197
|
+
return;
|
|
198
|
+
}
|
|
199
|
+
const flowDirFullPath = `${flowPath}.flow`;
|
|
200
|
+
dntShim.Deno.mkdirSync(flowDirFullPath, { recursive: false });
|
|
201
|
+
const newFlowDefinition = defaultFlowDefinition();
|
|
202
|
+
if (opts.summary !== undefined) {
|
|
203
|
+
newFlowDefinition.summary = opts.summary;
|
|
204
|
+
}
|
|
205
|
+
if (opts.description !== undefined) {
|
|
206
|
+
newFlowDefinition.description = opts.description;
|
|
207
|
+
}
|
|
208
|
+
const newFlowDefinitionYaml = yamlStringify(newFlowDefinition);
|
|
209
|
+
const flowYamlPath = `${flowDirFullPath}/flow.yaml`;
|
|
210
|
+
dntShim.Deno.writeTextFile(flowYamlPath, newFlowDefinitionYaml, { createNew: true });
|
|
211
|
+
}
|
|
212
|
+
const command = new Command()
|
|
213
|
+
.description("flow related commands")
|
|
214
|
+
.option("--show-archived", "Enable archived scripts in output")
|
|
215
|
+
.action(list)
|
|
216
|
+
.command("push", "push a local flow spec. This overrides any remote versions.")
|
|
217
|
+
.arguments("<file_path:string> <remote_path:string>")
|
|
218
|
+
.action(push)
|
|
219
|
+
.command("run", "run a flow by path.")
|
|
220
|
+
.arguments("<path:string>")
|
|
221
|
+
.option("-d --data <data:string>", "Inputs specified as a JSON string or a file using @<filename> or stdin using @-.")
|
|
222
|
+
.option("-s --silent", "Do not ouput anything other then the final output. Useful for scripting.")
|
|
223
|
+
.action(run)
|
|
224
|
+
.command("generate-locks", "re-generate the lock files of all inline scripts of all updated flows")
|
|
225
|
+
.arguments("[flow:file]")
|
|
226
|
+
.option("--yes", "Skip confirmation prompt")
|
|
227
|
+
.option("-r --use-raw-requirements", "Use raw requirements (requirements.txt, go.mod, package.json, etc) instead of generating them on the server (can also be set with USE_RAW_REQUIREMENTS=true environment variable)")
|
|
228
|
+
.option("-i --includes <patterns:file[]>", "Comma separated patterns to specify which file to take into account (among files that are compatible with windmill). Patterns can include * (any string until '/') and ** (any string)")
|
|
229
|
+
.option("-e --excludes <patterns:file[]>", "Comma separated patterns to specify which file to NOT take into account.")
|
|
230
|
+
.action(generateLocks)
|
|
231
|
+
.command("bootstrap", "create a new empty flow")
|
|
232
|
+
.arguments("<flow_path:string>")
|
|
233
|
+
.option("--summary <summary:string>", "script summary")
|
|
234
|
+
.option("--description <description:string>", "script description")
|
|
235
|
+
.action(bootstrap);
|
|
236
|
+
export default command;
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
// deno-lint-ignore-file no-explicit-any
|
|
2
|
+
import * as dntShim from "../../../_dnt.shims.js";
|
|
3
|
+
import { colors, Command, log, SEP, Table } from "../../../deps.js";
|
|
4
|
+
import * as wmill from "../../../gen/services.gen.js";
|
|
5
|
+
import { requireLogin } from "../../core/auth.js";
|
|
6
|
+
import { resolveWorkspace, validatePath } from "../../core/context.js";
|
|
7
|
+
import { isSuperset, parseFromFile } from "../../types.js";
|
|
8
|
+
async function list(opts) {
|
|
9
|
+
const workspace = await resolveWorkspace(opts);
|
|
10
|
+
await requireLogin(opts);
|
|
11
|
+
const folders = await wmill.listFolders({
|
|
12
|
+
workspace: workspace.workspaceId,
|
|
13
|
+
});
|
|
14
|
+
new Table()
|
|
15
|
+
.header(["Name", "Owners", "Extra Perms"])
|
|
16
|
+
.padding(2)
|
|
17
|
+
.border(true)
|
|
18
|
+
.body(folders.map((x) => [
|
|
19
|
+
x.name,
|
|
20
|
+
x.owners?.join(",") ?? "-",
|
|
21
|
+
JSON.stringify(x.extra_perms ?? {}),
|
|
22
|
+
]))
|
|
23
|
+
.render();
|
|
24
|
+
}
|
|
25
|
+
export async function pushFolder(workspace, name, folder, localFolder) {
|
|
26
|
+
if (name.startsWith(SEP)) {
|
|
27
|
+
name = name.substring(1);
|
|
28
|
+
}
|
|
29
|
+
if (name.startsWith("f" + SEP)) {
|
|
30
|
+
name = name.substring(2);
|
|
31
|
+
}
|
|
32
|
+
name = name.split(SEP)[0];
|
|
33
|
+
log.debug(`Processing local folder ${name}`);
|
|
34
|
+
// deleting old app if it exists in raw mode
|
|
35
|
+
try {
|
|
36
|
+
folder = await wmill.getFolder({ workspace, name });
|
|
37
|
+
log.debug(`Folder ${name} exists on remote`);
|
|
38
|
+
}
|
|
39
|
+
catch {
|
|
40
|
+
log.debug(`Folder ${name} does not exist on remote`);
|
|
41
|
+
//ignore
|
|
42
|
+
}
|
|
43
|
+
if (folder) {
|
|
44
|
+
if (isSuperset(localFolder, folder)) {
|
|
45
|
+
log.debug(`Folder ${name} is up to date`);
|
|
46
|
+
return;
|
|
47
|
+
}
|
|
48
|
+
log.debug(`Folder ${name} is not up-to-date, updating...`);
|
|
49
|
+
try {
|
|
50
|
+
await wmill.updateFolder({
|
|
51
|
+
workspace: workspace,
|
|
52
|
+
name: name,
|
|
53
|
+
requestBody: {
|
|
54
|
+
...localFolder,
|
|
55
|
+
},
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
catch (e) {
|
|
59
|
+
//@ts-ignore
|
|
60
|
+
console.error(e.body);
|
|
61
|
+
throw e;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
else {
|
|
65
|
+
console.log(colors.bold.yellow("Creating new folder: " + name));
|
|
66
|
+
try {
|
|
67
|
+
await wmill.createFolder({
|
|
68
|
+
workspace: workspace,
|
|
69
|
+
requestBody: {
|
|
70
|
+
name: name,
|
|
71
|
+
...localFolder,
|
|
72
|
+
},
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
catch (e) {
|
|
76
|
+
//@ts-ignore
|
|
77
|
+
throw Error(`Failed to create folder ${name}: ${e.body ?? e.message}`);
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
async function push(opts, filePath, remotePath) {
|
|
82
|
+
const workspace = await resolveWorkspace(opts);
|
|
83
|
+
await requireLogin(opts);
|
|
84
|
+
if (!validatePath(remotePath)) {
|
|
85
|
+
return;
|
|
86
|
+
}
|
|
87
|
+
const fstat = await dntShim.Deno.stat(filePath);
|
|
88
|
+
if (!fstat.isFile) {
|
|
89
|
+
throw new Error("file path must refer to a file.");
|
|
90
|
+
}
|
|
91
|
+
console.log(colors.bold.yellow("Pushing folder..."));
|
|
92
|
+
await pushFolder(workspace.workspaceId, remotePath, undefined, parseFromFile(filePath));
|
|
93
|
+
console.log(colors.bold.underline.green("Folder pushed"));
|
|
94
|
+
}
|
|
95
|
+
const command = new Command()
|
|
96
|
+
.description("folder related commands")
|
|
97
|
+
.action(list)
|
|
98
|
+
.command("push", "push a local folder spec. This overrides any remote versions.")
|
|
99
|
+
.arguments("<file_path:string> <remote_path:string>")
|
|
100
|
+
.action(push);
|
|
101
|
+
export default command;
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
// Helper to compare string arrays (used for includes/excludes/extraIncludes)
|
|
2
|
+
function arraysEqual(arr1, arr2) {
|
|
3
|
+
if (arr1.length !== arr2.length) {
|
|
4
|
+
return false;
|
|
5
|
+
}
|
|
6
|
+
const sorted1 = [...arr1].sort();
|
|
7
|
+
const sorted2 = [...arr2].sort();
|
|
8
|
+
return sorted1.every((item, index) => item === sorted2[index]);
|
|
9
|
+
}
|
|
10
|
+
export class GitSyncSettingsConverter {
|
|
11
|
+
// Convert backend include_type array to SyncOptions boolean flags
|
|
12
|
+
static fromBackendFormat(settings) {
|
|
13
|
+
const includeTypes = settings.include_type || [];
|
|
14
|
+
const result = {
|
|
15
|
+
includes: settings.include_path || [],
|
|
16
|
+
excludes: settings.exclude_path || [],
|
|
17
|
+
skipScripts: !includeTypes.includes("script"),
|
|
18
|
+
skipFlows: !includeTypes.includes("flow"),
|
|
19
|
+
skipApps: !includeTypes.includes("app"),
|
|
20
|
+
skipFolders: !includeTypes.includes("folder"),
|
|
21
|
+
skipVariables: !includeTypes.includes("variable"),
|
|
22
|
+
skipResources: !includeTypes.includes("resource"),
|
|
23
|
+
skipResourceTypes: !includeTypes.includes("resourcetype"),
|
|
24
|
+
skipSecrets: !includeTypes.includes("secret"),
|
|
25
|
+
includeSchedules: includeTypes.includes("schedule"),
|
|
26
|
+
includeTriggers: includeTypes.includes("trigger"),
|
|
27
|
+
includeUsers: includeTypes.includes("user"),
|
|
28
|
+
includeGroups: includeTypes.includes("group"),
|
|
29
|
+
includeSettings: includeTypes.includes("settings"),
|
|
30
|
+
includeKey: includeTypes.includes("key"),
|
|
31
|
+
};
|
|
32
|
+
// Only include extraIncludes if it has content
|
|
33
|
+
if (settings.extra_include_path && settings.extra_include_path.length > 0) {
|
|
34
|
+
result.extraIncludes = settings.extra_include_path;
|
|
35
|
+
}
|
|
36
|
+
return result;
|
|
37
|
+
}
|
|
38
|
+
// Convert SyncOptions boolean flags to backend include_type array
|
|
39
|
+
static toBackendFormat(opts) {
|
|
40
|
+
const includeTypes = [];
|
|
41
|
+
if (!opts.skipScripts)
|
|
42
|
+
includeTypes.push("script");
|
|
43
|
+
if (!opts.skipFlows)
|
|
44
|
+
includeTypes.push("flow");
|
|
45
|
+
if (!opts.skipApps)
|
|
46
|
+
includeTypes.push("app");
|
|
47
|
+
if (!opts.skipFolders)
|
|
48
|
+
includeTypes.push("folder");
|
|
49
|
+
if (!opts.skipVariables)
|
|
50
|
+
includeTypes.push("variable");
|
|
51
|
+
if (!opts.skipResources)
|
|
52
|
+
includeTypes.push("resource");
|
|
53
|
+
if (!opts.skipResourceTypes)
|
|
54
|
+
includeTypes.push("resourcetype");
|
|
55
|
+
if (!opts.skipSecrets)
|
|
56
|
+
includeTypes.push("secret");
|
|
57
|
+
if (opts.includeSchedules)
|
|
58
|
+
includeTypes.push("schedule");
|
|
59
|
+
if (opts.includeTriggers)
|
|
60
|
+
includeTypes.push("trigger");
|
|
61
|
+
if (opts.includeUsers)
|
|
62
|
+
includeTypes.push("user");
|
|
63
|
+
if (opts.includeGroups)
|
|
64
|
+
includeTypes.push("group");
|
|
65
|
+
if (opts.includeSettings)
|
|
66
|
+
includeTypes.push("settings");
|
|
67
|
+
if (opts.includeKey)
|
|
68
|
+
includeTypes.push("key");
|
|
69
|
+
const result = {
|
|
70
|
+
include_path: opts.includes || [],
|
|
71
|
+
include_type: includeTypes,
|
|
72
|
+
};
|
|
73
|
+
// Only include optional arrays if they have content
|
|
74
|
+
if (opts.excludes && opts.excludes.length > 0) {
|
|
75
|
+
result.exclude_path = opts.excludes;
|
|
76
|
+
}
|
|
77
|
+
if (opts.extraIncludes && opts.extraIncludes.length > 0) {
|
|
78
|
+
result.extra_include_path = opts.extraIncludes;
|
|
79
|
+
}
|
|
80
|
+
return result;
|
|
81
|
+
}
|
|
82
|
+
// Normalize SyncOptions for semantic comparison - treat undefined values as their defaults
|
|
83
|
+
static normalize(opts) {
|
|
84
|
+
return {
|
|
85
|
+
...opts,
|
|
86
|
+
includes: opts.includes || [],
|
|
87
|
+
excludes: opts.excludes || [],
|
|
88
|
+
extraIncludes: opts.extraIncludes || [],
|
|
89
|
+
skipVariables: opts.skipVariables ?? false,
|
|
90
|
+
skipResources: opts.skipResources ?? false,
|
|
91
|
+
skipResourceTypes: opts.skipResourceTypes ?? false,
|
|
92
|
+
skipSecrets: opts.skipSecrets ?? true,
|
|
93
|
+
skipScripts: opts.skipScripts ?? false,
|
|
94
|
+
skipFlows: opts.skipFlows ?? false,
|
|
95
|
+
skipApps: opts.skipApps ?? false,
|
|
96
|
+
skipFolders: opts.skipFolders ?? false,
|
|
97
|
+
includeSchedules: opts.includeSchedules ?? false,
|
|
98
|
+
includeTriggers: opts.includeTriggers ?? false,
|
|
99
|
+
includeUsers: opts.includeUsers ?? false,
|
|
100
|
+
includeGroups: opts.includeGroups ?? false,
|
|
101
|
+
includeSettings: opts.includeSettings ?? false,
|
|
102
|
+
includeKey: opts.includeKey ?? false,
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
// Extract only git-sync relevant fields for comparison
|
|
106
|
+
static extractGitSyncFields(opts) {
|
|
107
|
+
return {
|
|
108
|
+
includes: opts.includes || [],
|
|
109
|
+
excludes: opts.excludes || [],
|
|
110
|
+
extraIncludes: opts.extraIncludes || [],
|
|
111
|
+
skipScripts: opts.skipScripts,
|
|
112
|
+
skipFlows: opts.skipFlows,
|
|
113
|
+
skipApps: opts.skipApps,
|
|
114
|
+
skipFolders: opts.skipFolders,
|
|
115
|
+
skipVariables: opts.skipVariables,
|
|
116
|
+
skipResources: opts.skipResources,
|
|
117
|
+
skipResourceTypes: opts.skipResourceTypes,
|
|
118
|
+
skipSecrets: opts.skipSecrets,
|
|
119
|
+
includeSchedules: opts.includeSchedules,
|
|
120
|
+
includeTriggers: opts.includeTriggers,
|
|
121
|
+
includeUsers: opts.includeUsers,
|
|
122
|
+
includeGroups: opts.includeGroups,
|
|
123
|
+
includeSettings: opts.includeSettings,
|
|
124
|
+
includeKey: opts.includeKey,
|
|
125
|
+
};
|
|
126
|
+
}
|
|
127
|
+
// Check if two values are different, with special handling for arrays
|
|
128
|
+
static isDifferent(value1, value2) {
|
|
129
|
+
if (Array.isArray(value1) && Array.isArray(value2)) {
|
|
130
|
+
return !arraysEqual(value1, value2);
|
|
131
|
+
}
|
|
132
|
+
return value1 !== value2;
|
|
133
|
+
}
|
|
134
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { Command } from "../../../deps.js";
|
|
2
|
+
import { pullGitSyncSettings } from "./pull.js";
|
|
3
|
+
import { pushGitSyncSettings } from "./push.js";
|
|
4
|
+
const command = new Command()
|
|
5
|
+
.description("Manage git-sync settings between local wmill.yaml and Windmill backend")
|
|
6
|
+
.command("pull")
|
|
7
|
+
.description("Pull git-sync settings from Windmill backend to local wmill.yaml")
|
|
8
|
+
.option("--repository <repo:string>", "Specify repository path (e.g., u/user/repo)")
|
|
9
|
+
.option("--default", "Write settings to top-level defaults instead of overrides")
|
|
10
|
+
.option("--replace", "Replace existing settings (non-interactive mode)")
|
|
11
|
+
.option("--override", "Add branch-specific override (non-interactive mode)")
|
|
12
|
+
.option("--diff", "Show differences without applying changes")
|
|
13
|
+
.option("--json-output", "Output in JSON format")
|
|
14
|
+
.option("--with-backend-settings <json:string>", "Use provided JSON settings instead of querying backend (for testing)")
|
|
15
|
+
.option("--yes", "Skip interactive prompts and use default behavior")
|
|
16
|
+
.option("--promotion <branch:string>", "Use promotionOverrides from the specified branch instead of regular overrides")
|
|
17
|
+
.action(pullGitSyncSettings)
|
|
18
|
+
.command("push")
|
|
19
|
+
.description("Push git-sync settings from local wmill.yaml to Windmill backend")
|
|
20
|
+
.option("--repository <repo:string>", "Specify repository path (e.g., u/user/repo)")
|
|
21
|
+
.option("--diff", "Show what would be pushed without applying changes")
|
|
22
|
+
.option("--json-output", "Output in JSON format")
|
|
23
|
+
.option("--with-backend-settings <json:string>", "Use provided JSON settings instead of querying backend (for testing)")
|
|
24
|
+
.option("--yes", "Skip interactive prompts and use default behavior")
|
|
25
|
+
.option("--promotion <branch:string>", "Use promotionOverrides from the specified branch instead of regular overrides")
|
|
26
|
+
.action(pushGitSyncSettings);
|
|
27
|
+
export { pullGitSyncSettings, pushGitSyncSettings };
|
|
28
|
+
export default command;
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import * as dntShim from "../../../_dnt.shims.js";
|
|
2
|
+
import { colors, Confirm } from "../../../deps.js";
|
|
3
|
+
import * as wmill from "../../../gen/services.gen.js";
|
|
4
|
+
// Shared migration function for legacy repositories
|
|
5
|
+
export async function handleLegacyRepositoryMigration(selectedRepo, gitSyncSettings, workspace, opts, operationName = "operation") {
|
|
6
|
+
if (selectedRepo.settings) {
|
|
7
|
+
return selectedRepo; // Already migrated
|
|
8
|
+
}
|
|
9
|
+
// This repository is in legacy format - handle migration
|
|
10
|
+
if (!gitSyncSettings.include_path || !gitSyncSettings.include_type) {
|
|
11
|
+
throw new Error(`Repository "${selectedRepo.git_repo_resource_path}" has legacy format but workspace-level include_path or include_type is missing. This indicates corrupted git-sync settings.`);
|
|
12
|
+
}
|
|
13
|
+
const workspaceIncludePath = gitSyncSettings.include_path;
|
|
14
|
+
const workspaceIncludeType = gitSyncSettings.include_type;
|
|
15
|
+
if (dntShim.Deno.stdout.isTerminal() && !opts.yes) {
|
|
16
|
+
// Interactive mode - show migration prompt
|
|
17
|
+
console.log(colors.yellow('\n⚠️ Legacy git-sync settings detected!'));
|
|
18
|
+
console.log(`\nRepository "${selectedRepo.git_repo_resource_path}" has legacy settings format.`);
|
|
19
|
+
console.log('The new format allows per-repository filter configuration.');
|
|
20
|
+
if (operationName === "push") {
|
|
21
|
+
console.log('This repository must be migrated before pushing settings.\n');
|
|
22
|
+
}
|
|
23
|
+
else {
|
|
24
|
+
console.log('\n');
|
|
25
|
+
}
|
|
26
|
+
console.log(colors.bold('Current workspace-level settings:'));
|
|
27
|
+
console.log(` Include paths: ${workspaceIncludePath.join(', ')}`);
|
|
28
|
+
console.log(` Include types: ${workspaceIncludeType.join(', ')}\n`);
|
|
29
|
+
// Show what the migration will do
|
|
30
|
+
let finalIncludeType = [...workspaceIncludeType];
|
|
31
|
+
if (selectedRepo.exclude_types_override && selectedRepo.exclude_types_override.length > 0) {
|
|
32
|
+
const originalCount = finalIncludeType.length;
|
|
33
|
+
finalIncludeType = finalIncludeType.filter(type => !selectedRepo.exclude_types_override.includes(type));
|
|
34
|
+
const excludedCount = originalCount - finalIncludeType.length;
|
|
35
|
+
console.log(colors.yellow(`Repository excludes ${excludedCount} types: ${selectedRepo.exclude_types_override.join(', ')}`));
|
|
36
|
+
}
|
|
37
|
+
console.log(colors.bold('\nAfter migration, repository will have:'));
|
|
38
|
+
console.log(` Include paths: ${workspaceIncludePath.join(', ')}`);
|
|
39
|
+
console.log(` Include types: ${finalIncludeType.join(', ')}\n`);
|
|
40
|
+
const confirm = await Confirm.prompt({
|
|
41
|
+
message: operationName === "push"
|
|
42
|
+
? 'Do you want to migrate this repository before pushing?'
|
|
43
|
+
: 'Do you want to migrate this repository?',
|
|
44
|
+
default: true
|
|
45
|
+
});
|
|
46
|
+
if (!confirm) {
|
|
47
|
+
const message = operationName === "push"
|
|
48
|
+
? '\n⚠️ Migration skipped. Cannot push to legacy repository.'
|
|
49
|
+
: '\n⚠️ Migration skipped. You can migrate later via the UI.';
|
|
50
|
+
console.log(colors.yellow(message));
|
|
51
|
+
if (operationName === "push") {
|
|
52
|
+
return null; // Signal to exit push operation
|
|
53
|
+
}
|
|
54
|
+
throw new Error('Migration cancelled by user');
|
|
55
|
+
}
|
|
56
|
+
// Perform the migration
|
|
57
|
+
let migratedIncludeType = [...workspaceIncludeType];
|
|
58
|
+
if (selectedRepo.exclude_types_override && selectedRepo.exclude_types_override.length > 0) {
|
|
59
|
+
migratedIncludeType = migratedIncludeType.filter(type => !selectedRepo.exclude_types_override.includes(type));
|
|
60
|
+
}
|
|
61
|
+
const migratedRepo = {
|
|
62
|
+
...selectedRepo,
|
|
63
|
+
settings: {
|
|
64
|
+
include_path: [...workspaceIncludePath],
|
|
65
|
+
include_type: migratedIncludeType,
|
|
66
|
+
exclude_path: [],
|
|
67
|
+
extra_include_path: []
|
|
68
|
+
}
|
|
69
|
+
};
|
|
70
|
+
// Remove the old field
|
|
71
|
+
delete migratedRepo.exclude_types_override;
|
|
72
|
+
// Update the backend with migrated repository
|
|
73
|
+
const updatedRepositories = gitSyncSettings.repositories.map((repo) => {
|
|
74
|
+
if (repo.git_repo_resource_path === selectedRepo.git_repo_resource_path) {
|
|
75
|
+
return migratedRepo;
|
|
76
|
+
}
|
|
77
|
+
return repo;
|
|
78
|
+
});
|
|
79
|
+
await wmill.editWorkspaceGitSyncConfig({
|
|
80
|
+
workspace: workspace.workspaceId,
|
|
81
|
+
requestBody: {
|
|
82
|
+
git_sync_settings: {
|
|
83
|
+
repositories: updatedRepositories,
|
|
84
|
+
// Keep workspace-level settings if other repos are still legacy
|
|
85
|
+
...(gitSyncSettings.repositories.some((r) => r.git_repo_resource_path !== selectedRepo.git_repo_resource_path && !r.settings) && {
|
|
86
|
+
include_path: workspaceIncludePath,
|
|
87
|
+
include_type: workspaceIncludeType
|
|
88
|
+
})
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
});
|
|
92
|
+
console.log(colors.green('\n✓ Repository migration completed successfully!'));
|
|
93
|
+
if (operationName === "push") {
|
|
94
|
+
console.log('Now proceeding with push operation...\n');
|
|
95
|
+
}
|
|
96
|
+
return migratedRepo;
|
|
97
|
+
}
|
|
98
|
+
else {
|
|
99
|
+
// Non-interactive mode - show error
|
|
100
|
+
console.error(colors.red('\n❌ Legacy git-sync settings detected!'));
|
|
101
|
+
console.error(`\nRepository "${selectedRepo.git_repo_resource_path}" has legacy settings format.`);
|
|
102
|
+
if (operationName === "push") {
|
|
103
|
+
console.error('This repository must be migrated before pushing settings.');
|
|
104
|
+
}
|
|
105
|
+
console.error('Please choose one of the following options:\n');
|
|
106
|
+
console.error('1. Go to the Windmill UI > Workspace Settings > Git Sync');
|
|
107
|
+
console.error(' Review and save this repository to migrate to the new format.\n');
|
|
108
|
+
console.error('2. Run this command in interactive mode (with TTY) to migrate.');
|
|
109
|
+
console.error(` Example: wmill gitsync-settings ${operationName}\n`);
|
|
110
|
+
if (operationName === "push") {
|
|
111
|
+
console.error('3. Pull settings first to migrate: wmill gitsync-settings pull\n');
|
|
112
|
+
}
|
|
113
|
+
else {
|
|
114
|
+
console.error('3. Push local settings to override backend settings:');
|
|
115
|
+
console.error(' wmill gitsync-settings push\n');
|
|
116
|
+
}
|
|
117
|
+
dntShim.Deno.exit(1);
|
|
118
|
+
}
|
|
119
|
+
}
|