windmill-cli 1.641.0 → 1.643.0
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/main.js +78213 -0
- package/package.json +23 -36
- package/esm/_dnt.polyfills.js +0 -250
- package/esm/_dnt.shims.js +0 -61
- package/esm/bootstrap/common.js +0 -1
- package/esm/bootstrap/flow_bootstrap.js +0 -17
- package/esm/bootstrap/script_bootstrap.js +0 -103
- package/esm/deps/jsr.io/@std/assert/1.0.0-rc.2/equal.js +0 -113
- package/esm/deps/jsr.io/@std/bytes/1.0.6/_types.js +0 -2
- package/esm/deps/jsr.io/@std/bytes/1.0.6/concat.js +0 -32
- package/esm/deps/jsr.io/@std/cli/1.0.0-rc.2/_data.js +0 -17
- package/esm/deps/jsr.io/@std/cli/1.0.0-rc.2/_run_length.js +0 -34
- package/esm/deps/jsr.io/@std/cli/1.0.0-rc.2/unicode_width.js +0 -74
- package/esm/deps/jsr.io/@std/encoding/1.0.0-rc.2/_validate_binary_like.js +0 -26
- package/esm/deps/jsr.io/@std/encoding/1.0.0-rc.2/base64.js +0 -163
- package/esm/deps/jsr.io/@std/encoding/1.0.4/_base32_common.js +0 -183
- package/esm/deps/jsr.io/@std/encoding/1.0.4/_validate_binary_like.js +0 -26
- package/esm/deps/jsr.io/@std/encoding/1.0.4/ascii85.js +0 -152
- package/esm/deps/jsr.io/@std/encoding/1.0.4/base32.js +0 -69
- package/esm/deps/jsr.io/@std/encoding/1.0.4/base32_stream.js +0 -92
- package/esm/deps/jsr.io/@std/encoding/1.0.4/base32hex.js +0 -77
- package/esm/deps/jsr.io/@std/encoding/1.0.4/base32hex_stream.js +0 -92
- package/esm/deps/jsr.io/@std/encoding/1.0.4/base58.js +0 -131
- package/esm/deps/jsr.io/@std/encoding/1.0.4/base64.js +0 -163
- package/esm/deps/jsr.io/@std/encoding/1.0.4/base64_stream.js +0 -92
- package/esm/deps/jsr.io/@std/encoding/1.0.4/base64url.js +0 -81
- package/esm/deps/jsr.io/@std/encoding/1.0.4/base64url_stream.js +0 -93
- package/esm/deps/jsr.io/@std/encoding/1.0.4/hex.js +0 -109
- package/esm/deps/jsr.io/@std/encoding/1.0.4/hex_stream.js +0 -81
- package/esm/deps/jsr.io/@std/encoding/1.0.4/mod.js +0 -28
- package/esm/deps/jsr.io/@std/encoding/1.0.4/varint.js +0 -207
- package/esm/deps/jsr.io/@std/fmt/0.225.6/colors.js +0 -916
- package/esm/deps/jsr.io/@std/fmt/1.0.9/colors.js +0 -903
- package/esm/deps/jsr.io/@std/fs/1.0.23/_create_walk_entry.js +0 -34
- package/esm/deps/jsr.io/@std/fs/1.0.23/_get_file_info_type.js +0 -18
- package/esm/deps/jsr.io/@std/fs/1.0.23/_is_same_path.js +0 -17
- package/esm/deps/jsr.io/@std/fs/1.0.23/_is_subdir.js +0 -25
- package/esm/deps/jsr.io/@std/fs/1.0.23/_to_path_string.js +0 -13
- package/esm/deps/jsr.io/@std/fs/1.0.23/copy.js +0 -313
- package/esm/deps/jsr.io/@std/fs/1.0.23/empty_dir.js +0 -87
- package/esm/deps/jsr.io/@std/fs/1.0.23/ensure_dir.js +0 -102
- package/esm/deps/jsr.io/@std/fs/1.0.23/ensure_file.js +0 -90
- package/esm/deps/jsr.io/@std/fs/1.0.23/ensure_link.js +0 -61
- package/esm/deps/jsr.io/@std/fs/1.0.23/ensure_symlink.js +0 -156
- package/esm/deps/jsr.io/@std/fs/1.0.23/eol.js +0 -67
- package/esm/deps/jsr.io/@std/fs/1.0.23/exists.js +0 -271
- package/esm/deps/jsr.io/@std/fs/1.0.23/expand_glob.js +0 -442
- package/esm/deps/jsr.io/@std/fs/1.0.23/mod.js +0 -29
- package/esm/deps/jsr.io/@std/fs/1.0.23/move.js +0 -142
- package/esm/deps/jsr.io/@std/fs/1.0.23/walk.js +0 -846
- package/esm/deps/jsr.io/@std/internal/1.0.12/_os.js +0 -12
- package/esm/deps/jsr.io/@std/internal/1.0.12/os.js +0 -5
- package/esm/deps/jsr.io/@std/io/0.224.9/types.js +0 -15
- package/esm/deps/jsr.io/@std/io/0.225.3/_constants.js +0 -4
- package/esm/deps/jsr.io/@std/io/0.225.3/copy.js +0 -36
- package/esm/deps/jsr.io/@std/io/0.225.3/read_all.js +0 -72
- package/esm/deps/jsr.io/@std/io/0.225.3/types.js +0 -15
- package/esm/deps/jsr.io/@std/io/0.225.3/write_all.js +0 -61
- package/esm/deps/jsr.io/@std/log/0.224.14/_config.js +0 -14
- package/esm/deps/jsr.io/@std/log/0.224.14/_file_handler_symbols.js +0 -8
- package/esm/deps/jsr.io/@std/log/0.224.14/_state.js +0 -7
- package/esm/deps/jsr.io/@std/log/0.224.14/base_handler.js +0 -331
- package/esm/deps/jsr.io/@std/log/0.224.14/console_handler.js +0 -112
- package/esm/deps/jsr.io/@std/log/0.224.14/critical.js +0 -11
- package/esm/deps/jsr.io/@std/log/0.224.14/debug.js +0 -11
- package/esm/deps/jsr.io/@std/log/0.224.14/error.js +0 -11
- package/esm/deps/jsr.io/@std/log/0.224.14/file_handler.js +0 -267
- package/esm/deps/jsr.io/@std/log/0.224.14/formatters.js +0 -45
- package/esm/deps/jsr.io/@std/log/0.224.14/get_logger.js +0 -75
- package/esm/deps/jsr.io/@std/log/0.224.14/info.js +0 -11
- package/esm/deps/jsr.io/@std/log/0.224.14/levels.js +0 -45
- package/esm/deps/jsr.io/@std/log/0.224.14/logger.js +0 -525
- package/esm/deps/jsr.io/@std/log/0.224.14/mod.js +0 -394
- package/esm/deps/jsr.io/@std/log/0.224.14/rotating_file_handler.js +0 -125
- package/esm/deps/jsr.io/@std/log/0.224.14/setup.js +0 -41
- package/esm/deps/jsr.io/@std/log/0.224.14/warn.js +0 -11
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/_common/assert_path.js +0 -7
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/_common/basename.js +0 -40
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/_common/common.js +0 -23
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/_common/constants.js +0 -46
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/_common/dirname.js +0 -8
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/_common/format.js +0 -19
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/_common/from_file_url.js +0 -9
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/_common/glob_to_reg_exp.js +0 -234
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/_common/normalize.js +0 -8
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/_common/normalize_string.js +0 -77
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/_common/relative.js +0 -9
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/_common/strip_trailing_separators.js +0 -19
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/_common/to_file_url.js +0 -15
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/_interface.js +0 -3
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/_os.js +0 -14
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/basename.js +0 -33
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/common.js +0 -33
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/constants.js +0 -17
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/dirname.js +0 -26
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/extname.js +0 -26
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/format.js +0 -27
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/from_file_url.js +0 -28
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/glob_to_regexp.js +0 -83
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/is_absolute.js +0 -28
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/is_glob.js +0 -42
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/join.js +0 -26
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/join_globs.js +0 -34
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/mod.js +0 -54
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/normalize.js +0 -30
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/normalize_glob.js +0 -35
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/parse.js +0 -39
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/_util.js +0 -8
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/basename.js +0 -29
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/constants.js +0 -14
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/dirname.js +0 -47
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/extname.js +0 -70
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/format.js +0 -28
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/from_file_url.js +0 -21
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/glob_to_regexp.js +0 -82
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/is_absolute.js +0 -23
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/join.js +0 -26
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/join_globs.js +0 -39
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/normalize.js +0 -36
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/normalize_glob.js +0 -31
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/parse.js +0 -115
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/relative.js +0 -106
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/resolve.js +0 -59
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/to_file_url.js +0 -27
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/posix/to_namespaced_path.js +0 -20
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/relative.js +0 -30
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/resolve.js +0 -30
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/to_file_url.js +0 -28
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/to_namespaced_path.js +0 -29
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/_util.js +0 -15
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/basename.js +0 -41
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/constants.js +0 -14
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/dirname.js +0 -109
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/extname.js +0 -78
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/format.js +0 -28
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/from_file_url.js +0 -30
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/glob_to_regexp.js +0 -82
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/is_absolute.js +0 -38
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/join.js +0 -71
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/join_globs.js +0 -40
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/normalize.js +0 -131
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/normalize_glob.js +0 -31
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/parse.js +0 -176
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/relative.js +0 -131
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/resolve.js +0 -154
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/to_file_url.js +0 -34
- package/esm/deps/jsr.io/@std/path/1.0.0-rc.2/windows/to_namespaced_path.js +0 -49
- package/esm/deps/jsr.io/@std/path/1.1.4/_common/assert_path.js +0 -7
- package/esm/deps/jsr.io/@std/path/1.1.4/_common/basename.js +0 -40
- package/esm/deps/jsr.io/@std/path/1.1.4/_common/common.js +0 -23
- package/esm/deps/jsr.io/@std/path/1.1.4/_common/constants.js +0 -46
- package/esm/deps/jsr.io/@std/path/1.1.4/_common/dirname.js +0 -8
- package/esm/deps/jsr.io/@std/path/1.1.4/_common/format.js +0 -19
- package/esm/deps/jsr.io/@std/path/1.1.4/_common/from_file_url.js +0 -9
- package/esm/deps/jsr.io/@std/path/1.1.4/_common/glob_to_reg_exp.js +0 -235
- package/esm/deps/jsr.io/@std/path/1.1.4/_common/normalize.js +0 -8
- package/esm/deps/jsr.io/@std/path/1.1.4/_common/normalize_string.js +0 -77
- package/esm/deps/jsr.io/@std/path/1.1.4/_common/relative.js +0 -9
- package/esm/deps/jsr.io/@std/path/1.1.4/_common/strip_trailing_separators.js +0 -19
- package/esm/deps/jsr.io/@std/path/1.1.4/_common/to_file_url.js +0 -15
- package/esm/deps/jsr.io/@std/path/1.1.4/basename.js +0 -35
- package/esm/deps/jsr.io/@std/path/1.1.4/common.js +0 -33
- package/esm/deps/jsr.io/@std/path/1.1.4/constants.js +0 -17
- package/esm/deps/jsr.io/@std/path/1.1.4/dirname.js +0 -28
- package/esm/deps/jsr.io/@std/path/1.1.4/extname.js +0 -28
- package/esm/deps/jsr.io/@std/path/1.1.4/format.js +0 -27
- package/esm/deps/jsr.io/@std/path/1.1.4/from_file_url.js +0 -28
- package/esm/deps/jsr.io/@std/path/1.1.4/glob_to_regexp.js +0 -83
- package/esm/deps/jsr.io/@std/path/1.1.4/is_absolute.js +0 -28
- package/esm/deps/jsr.io/@std/path/1.1.4/is_glob.js +0 -42
- package/esm/deps/jsr.io/@std/path/1.1.4/join.js +0 -29
- package/esm/deps/jsr.io/@std/path/1.1.4/join_globs.js +0 -34
- package/esm/deps/jsr.io/@std/path/1.1.4/mod.js +0 -216
- package/esm/deps/jsr.io/@std/path/1.1.4/normalize.js +0 -32
- package/esm/deps/jsr.io/@std/path/1.1.4/normalize_glob.js +0 -35
- package/esm/deps/jsr.io/@std/path/1.1.4/parse.js +0 -39
- package/esm/deps/jsr.io/@std/path/1.1.4/posix/_util.js +0 -8
- package/esm/deps/jsr.io/@std/path/1.1.4/posix/basename.js +0 -52
- package/esm/deps/jsr.io/@std/path/1.1.4/posix/constants.js +0 -14
- package/esm/deps/jsr.io/@std/path/1.1.4/posix/dirname.js +0 -64
- package/esm/deps/jsr.io/@std/path/1.1.4/posix/extname.js +0 -93
- package/esm/deps/jsr.io/@std/path/1.1.4/posix/format.js +0 -28
- package/esm/deps/jsr.io/@std/path/1.1.4/posix/from_file_url.js +0 -21
- package/esm/deps/jsr.io/@std/path/1.1.4/posix/glob_to_regexp.js +0 -82
- package/esm/deps/jsr.io/@std/path/1.1.4/posix/is_absolute.js +0 -23
- package/esm/deps/jsr.io/@std/path/1.1.4/posix/join.js +0 -45
- package/esm/deps/jsr.io/@std/path/1.1.4/posix/join_globs.js +0 -40
- package/esm/deps/jsr.io/@std/path/1.1.4/posix/normalize.js +0 -58
- package/esm/deps/jsr.io/@std/path/1.1.4/posix/normalize_glob.js +0 -32
- package/esm/deps/jsr.io/@std/path/1.1.4/posix/parse.js +0 -115
- package/esm/deps/jsr.io/@std/path/1.1.4/posix/relative.js +0 -106
- package/esm/deps/jsr.io/@std/path/1.1.4/posix/resolve.js +0 -59
- package/esm/deps/jsr.io/@std/path/1.1.4/posix/to_file_url.js +0 -27
- package/esm/deps/jsr.io/@std/path/1.1.4/posix/to_namespaced_path.js +0 -20
- package/esm/deps/jsr.io/@std/path/1.1.4/relative.js +0 -30
- package/esm/deps/jsr.io/@std/path/1.1.4/resolve.js +0 -30
- package/esm/deps/jsr.io/@std/path/1.1.4/to_file_url.js +0 -28
- package/esm/deps/jsr.io/@std/path/1.1.4/to_namespaced_path.js +0 -29
- package/esm/deps/jsr.io/@std/path/1.1.4/types.js +0 -3
- package/esm/deps/jsr.io/@std/path/1.1.4/windows/_util.js +0 -15
- package/esm/deps/jsr.io/@std/path/1.1.4/windows/basename.js +0 -47
- package/esm/deps/jsr.io/@std/path/1.1.4/windows/constants.js +0 -14
- package/esm/deps/jsr.io/@std/path/1.1.4/windows/dirname.js +0 -113
- package/esm/deps/jsr.io/@std/path/1.1.4/windows/extname.js +0 -82
- package/esm/deps/jsr.io/@std/path/1.1.4/windows/format.js +0 -28
- package/esm/deps/jsr.io/@std/path/1.1.4/windows/from_file_url.js +0 -30
- package/esm/deps/jsr.io/@std/path/1.1.4/windows/glob_to_regexp.js +0 -82
- package/esm/deps/jsr.io/@std/path/1.1.4/windows/is_absolute.js +0 -38
- package/esm/deps/jsr.io/@std/path/1.1.4/windows/join.js +0 -77
- package/esm/deps/jsr.io/@std/path/1.1.4/windows/join_globs.js +0 -41
- package/esm/deps/jsr.io/@std/path/1.1.4/windows/normalize.js +0 -135
- package/esm/deps/jsr.io/@std/path/1.1.4/windows/normalize_glob.js +0 -32
- package/esm/deps/jsr.io/@std/path/1.1.4/windows/parse.js +0 -176
- package/esm/deps/jsr.io/@std/path/1.1.4/windows/relative.js +0 -131
- package/esm/deps/jsr.io/@std/path/1.1.4/windows/resolve.js +0 -154
- package/esm/deps/jsr.io/@std/path/1.1.4/windows/to_file_url.js +0 -34
- package/esm/deps/jsr.io/@std/path/1.1.4/windows/to_namespaced_path.js +0 -49
- package/esm/deps/jsr.io/@std/text/1.0.0-rc.1/closest_string.js +0 -52
- package/esm/deps/jsr.io/@std/text/1.0.0-rc.1/levenshtein_distance.js +0 -40
- package/esm/deps/jsr.io/@std/yaml/1.0.12/_chars.js +0 -48
- package/esm/deps/jsr.io/@std/yaml/1.0.12/_dumper_state.js +0 -712
- package/esm/deps/jsr.io/@std/yaml/1.0.12/_loader_state.js +0 -1445
- package/esm/deps/jsr.io/@std/yaml/1.0.12/_schema.js +0 -117
- package/esm/deps/jsr.io/@std/yaml/1.0.12/_type/binary.js +0 -103
- package/esm/deps/jsr.io/@std/yaml/1.0.12/_type/bool.js +0 -32
- package/esm/deps/jsr.io/@std/yaml/1.0.12/_type/float.js +0 -96
- package/esm/deps/jsr.io/@std/yaml/1.0.12/_type/int.js +0 -159
- package/esm/deps/jsr.io/@std/yaml/1.0.12/_type/map.js +0 -14
- package/esm/deps/jsr.io/@std/yaml/1.0.12/_type/merge.js +0 -10
- package/esm/deps/jsr.io/@std/yaml/1.0.12/_type/nil.js +0 -22
- package/esm/deps/jsr.io/@std/yaml/1.0.12/_type/omap.js +0 -29
- package/esm/deps/jsr.io/@std/yaml/1.0.12/_type/pairs.js +0 -19
- package/esm/deps/jsr.io/@std/yaml/1.0.12/_type/regexp.js +0 -30
- package/esm/deps/jsr.io/@std/yaml/1.0.12/_type/seq.js +0 -10
- package/esm/deps/jsr.io/@std/yaml/1.0.12/_type/set.js +0 -14
- package/esm/deps/jsr.io/@std/yaml/1.0.12/_type/str.js +0 -9
- package/esm/deps/jsr.io/@std/yaml/1.0.12/_type/timestamp.js +0 -81
- package/esm/deps/jsr.io/@std/yaml/1.0.12/_type/undefined.js +0 -20
- package/esm/deps/jsr.io/@std/yaml/1.0.12/_type.js +0 -6
- package/esm/deps/jsr.io/@std/yaml/1.0.12/_utils.js +0 -13
- package/esm/deps/jsr.io/@std/yaml/1.0.12/mod.js +0 -52
- package/esm/deps/jsr.io/@std/yaml/1.0.12/parse.js +0 -91
- package/esm/deps/jsr.io/@std/yaml/1.0.12/stringify.js +0 -33
- package/esm/deps/jsr.io/@windmill-labs/cliffy-ansi/1.0.0-rc.5/ansi_escapes.js +0 -218
- package/esm/deps/jsr.io/@windmill-labs/cliffy-ansi/1.0.0-rc.5/chain.js +0 -1
- package/esm/deps/jsr.io/@windmill-labs/cliffy-ansi/1.0.0-rc.5/colors.js +0 -48
- package/esm/deps/jsr.io/@windmill-labs/cliffy-ansi/1.0.0-rc.5/cursor_position.js +0 -31
- package/esm/deps/jsr.io/@windmill-labs/cliffy-ansi/1.0.0-rc.5/tty.js +0 -61
- package/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/_argument_types.js +0 -1
- package/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/_errors.js +0 -155
- package/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/_spread.js +0 -1
- package/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/_type_utils.js +0 -1
- package/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/_utils.js +0 -125
- package/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/command.js +0 -1789
- package/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/completions/_bash_completions_generator.js +0 -211
- package/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/completions/_fish_completions_generator.js +0 -151
- package/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/completions/_zsh_completions_generator.js +0 -314
- package/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/completions/bash.js +0 -39
- package/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/completions/complete.js +0 -32
- package/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/completions/completions_command.js +0 -47
- package/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/completions/fish.js +0 -39
- package/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/completions/mod.js +0 -4
- package/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/completions/zsh.js +0 -39
- package/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/deprecated.js +0 -2
- package/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/help/_help_generator.js +0 -320
- package/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/mod.js +0 -13
- package/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/type.js +0 -27
- package/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/types/action_list.js +0 -20
- package/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/types/boolean.js +0 -13
- package/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/types/child_command.js +0 -27
- package/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/types/command.js +0 -9
- package/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/types/enum.js +0 -29
- package/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/types/file.js +0 -12
- package/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/types/integer.js +0 -9
- package/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/types/number.js +0 -9
- package/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/types/string.js +0 -9
- package/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/types.js +0 -2
- package/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/upgrade/_check_version.js +0 -21
- package/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/upgrade/get_runtime.js +0 -20
- package/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/upgrade/logger.js +0 -15
- package/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/upgrade/mod.js +0 -2
- package/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/upgrade/provider/npm.js +0 -60
- package/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/upgrade/provider.js +0 -118
- package/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/upgrade/runtime/bun_runtime.js +0 -21
- package/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/upgrade/runtime/deno_runtime.js +0 -34
- package/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/upgrade/runtime/node_runtime.js +0 -29
- package/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/upgrade/runtime.js +0 -3
- package/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/upgrade/spinner.js +0 -198
- package/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/upgrade/upgrade.js +0 -42
- package/esm/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/upgrade/upgrade_command.js +0 -133
- package/esm/deps/jsr.io/@windmill-labs/cliffy-flags/1.0.0-rc.5/_errors.js +0 -117
- package/esm/deps/jsr.io/@windmill-labs/cliffy-flags/1.0.0-rc.5/_utils.js +0 -89
- package/esm/deps/jsr.io/@windmill-labs/cliffy-flags/1.0.0-rc.5/_validate_flags.js +0 -155
- package/esm/deps/jsr.io/@windmill-labs/cliffy-flags/1.0.0-rc.5/deprecated.js +0 -9
- package/esm/deps/jsr.io/@windmill-labs/cliffy-flags/1.0.0-rc.5/flags.js +0 -401
- package/esm/deps/jsr.io/@windmill-labs/cliffy-flags/1.0.0-rc.5/mod.js +0 -7
- package/esm/deps/jsr.io/@windmill-labs/cliffy-flags/1.0.0-rc.5/types/boolean.js +0 -11
- package/esm/deps/jsr.io/@windmill-labs/cliffy-flags/1.0.0-rc.5/types/integer.js +0 -9
- package/esm/deps/jsr.io/@windmill-labs/cliffy-flags/1.0.0-rc.5/types/number.js +0 -9
- package/esm/deps/jsr.io/@windmill-labs/cliffy-flags/1.0.0-rc.5/types/string.js +0 -4
- package/esm/deps/jsr.io/@windmill-labs/cliffy-flags/1.0.0-rc.5/types.js +0 -1
- package/esm/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/exit.js +0 -15
- package/esm/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/get_args.js +0 -10
- package/esm/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/get_columns.js +0 -23
- package/esm/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/get_env.js +0 -17
- package/esm/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/get_os.js +0 -18
- package/esm/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/inspect.js +0 -11
- package/esm/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/is_directory.js +0 -16
- package/esm/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/is_terminal.js +0 -18
- package/esm/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/no_color.js +0 -16
- package/esm/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/read.js +0 -35
- package/esm/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/read_dir.js +0 -23
- package/esm/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/read_sync.js +0 -28
- package/esm/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/set_raw.js +0 -20
- package/esm/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/stat.js +0 -21
- package/esm/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/write_sync.js +0 -20
- package/esm/deps/jsr.io/@windmill-labs/cliffy-keycode/1.0.0-rc.5/_key_codes.js +0 -103
- package/esm/deps/jsr.io/@windmill-labs/cliffy-keycode/1.0.0-rc.5/key_code.js +0 -235
- package/esm/deps/jsr.io/@windmill-labs/cliffy-keycode/1.0.0-rc.5/mod.js +0 -1
- package/esm/deps/jsr.io/@windmill-labs/cliffy-prompt/1.0.0-rc.6/_figures.js +0 -63
- package/esm/deps/jsr.io/@windmill-labs/cliffy-prompt/1.0.0-rc.6/_generic_input.js +0 -112
- package/esm/deps/jsr.io/@windmill-labs/cliffy-prompt/1.0.0-rc.6/_generic_list.js +0 -523
- package/esm/deps/jsr.io/@windmill-labs/cliffy-prompt/1.0.0-rc.6/_generic_prompt.js +0 -284
- package/esm/deps/jsr.io/@windmill-labs/cliffy-prompt/1.0.0-rc.6/_generic_suggestions.js +0 -424
- package/esm/deps/jsr.io/@windmill-labs/cliffy-prompt/1.0.0-rc.6/_utils.js +0 -5
- package/esm/deps/jsr.io/@windmill-labs/cliffy-prompt/1.0.0-rc.6/confirm.js +0 -117
- package/esm/deps/jsr.io/@windmill-labs/cliffy-prompt/1.0.0-rc.6/input.js +0 -88
- package/esm/deps/jsr.io/@windmill-labs/cliffy-prompt/1.0.0-rc.6/secret.js +0 -96
- package/esm/deps/jsr.io/@windmill-labs/cliffy-prompt/1.0.0-rc.6/select.js +0 -184
- package/esm/deps/jsr.io/@windmill-labs/cliffy-table/1.0.0-rc.5/_layout.js +0 -546
- package/esm/deps/jsr.io/@windmill-labs/cliffy-table/1.0.0-rc.5/_utils.js +0 -71
- package/esm/deps/jsr.io/@windmill-labs/cliffy-table/1.0.0-rc.5/border.js +0 -18
- package/esm/deps/jsr.io/@windmill-labs/cliffy-table/1.0.0-rc.5/cell.js +0 -199
- package/esm/deps/jsr.io/@windmill-labs/cliffy-table/1.0.0-rc.5/column.js +0 -85
- package/esm/deps/jsr.io/@windmill-labs/cliffy-table/1.0.0-rc.5/consume_words.js +0 -64
- package/esm/deps/jsr.io/@windmill-labs/cliffy-table/1.0.0-rc.5/mod.js +0 -6
- package/esm/deps/jsr.io/@windmill-labs/cliffy-table/1.0.0-rc.5/row.js +0 -90
- package/esm/deps/jsr.io/@windmill-labs/cliffy-table/1.0.0-rc.5/table.js +0 -304
- package/esm/deps/jsr.io/@windmill-labs/shared-utils/1.0.12/lib.es.js +0 -1689
- package/esm/deps.js +0 -68
- package/esm/gen/core/ApiError.js +0 -41
- package/esm/gen/core/ApiRequestOptions.js +0 -1
- package/esm/gen/core/ApiResult.js +0 -1
- package/esm/gen/core/CancelablePromise.js +0 -130
- package/esm/gen/core/OpenAPI.js +0 -41
- package/esm/gen/core/request.js +0 -305
- package/esm/gen/index.js +0 -6
- package/esm/gen/services.gen.js +0 -12750
- package/esm/gen/types.gen.js +0 -2
- package/esm/package.json +0 -3
- package/esm/src/commands/app/app.js +0 -211
- package/esm/src/commands/app/app_metadata.js +0 -542
- package/esm/src/commands/app/bundle.js +0 -253
- package/esm/src/commands/app/dev.js +0 -1289
- package/esm/src/commands/app/generate_agents.js +0 -219
- package/esm/src/commands/app/lint.js +0 -162
- package/esm/src/commands/app/metadata.js +0 -1
- package/esm/src/commands/app/new.js +0 -537
- package/esm/src/commands/app/raw_apps.js +0 -385
- package/esm/src/commands/app/wmillTsDev.js +0 -128
- package/esm/src/commands/dependencies/dependencies.js +0 -71
- package/esm/src/commands/dev/dev.js +0 -146
- package/esm/src/commands/flow/flow.js +0 -290
- package/esm/src/commands/flow/flow_metadata.js +0 -156
- package/esm/src/commands/folder/folder.js +0 -101
- package/esm/src/commands/gitsync-settings/converter.js +0 -134
- package/esm/src/commands/gitsync-settings/gitsync-settings.js +0 -28
- package/esm/src/commands/gitsync-settings/legacySettings.js +0 -119
- package/esm/src/commands/gitsync-settings/pull.js +0 -369
- package/esm/src/commands/gitsync-settings/push.js +0 -261
- package/esm/src/commands/gitsync-settings/types.js +0 -37
- package/esm/src/commands/gitsync-settings/utils.js +0 -129
- package/esm/src/commands/hub/hub.js +0 -94
- package/esm/src/commands/init/init.js +0 -259
- package/esm/src/commands/instance/instance.js +0 -586
- package/esm/src/commands/jobs/jobs.js +0 -186
- package/esm/src/commands/lint/lint.js +0 -600
- package/esm/src/commands/queues/queues.js +0 -117
- package/esm/src/commands/resource/resource.js +0 -117
- package/esm/src/commands/resource-type/resource-type.js +0 -112
- package/esm/src/commands/schedule/schedule.js +0 -101
- package/esm/src/commands/script/script.js +0 -997
- package/esm/src/commands/sync/global.js +0 -23
- package/esm/src/commands/sync/pull.js +0 -39
- package/esm/src/commands/sync/sync.js +0 -2309
- package/esm/src/commands/trigger/trigger.js +0 -269
- package/esm/src/commands/user/user.js +0 -428
- package/esm/src/commands/variable/variable.js +0 -121
- package/esm/src/commands/worker-groups/worker-groups.js +0 -96
- package/esm/src/commands/workers/workers.js +0 -79
- package/esm/src/commands/workspace/fork.js +0 -131
- package/esm/src/commands/workspace/workspace.js +0 -403
- package/esm/src/core/auth.js +0 -40
- package/esm/src/core/branch-profiles.js +0 -46
- package/esm/src/core/conf.js +0 -335
- package/esm/src/core/constants.js +0 -5
- package/esm/src/core/context.js +0 -326
- package/esm/src/core/login.js +0 -100
- package/esm/src/core/settings.js +0 -496
- package/esm/src/core/specific_items.js +0 -318
- package/esm/src/core/store.js +0 -19
- package/esm/src/guidance/core.js +0 -57
- package/esm/src/guidance/skills.js +0 -5742
- package/esm/src/main.js +0 -203
- package/esm/src/types.js +0 -315
- package/esm/src/utils/codebase.js +0 -38
- package/esm/src/utils/git.js +0 -51
- package/esm/src/utils/local_encryption.js +0 -70
- package/esm/src/utils/metadata.js +0 -672
- package/esm/src/utils/resource_folders.js +0 -367
- package/esm/src/utils/resource_types.js +0 -32
- package/esm/src/utils/script_common.js +0 -91
- package/esm/src/utils/upgrade.js +0 -48
- package/esm/src/utils/utils.js +0 -234
- package/esm/wasm/csharp/windmill_parser_wasm.js +0 -103
- package/esm/wasm/csharp/windmill_parser_wasm_bg.wasm +0 -0
- package/esm/wasm/go/windmill_parser_wasm.js +0 -103
- package/esm/wasm/go/windmill_parser_wasm_bg.wasm +0 -0
- package/esm/wasm/java/windmill_parser_wasm.js +0 -103
- package/esm/wasm/java/windmill_parser_wasm_bg.wasm +0 -0
- package/esm/wasm/nu/windmill_parser_wasm.js +0 -106
- package/esm/wasm/nu/windmill_parser_wasm_bg.wasm +0 -0
- package/esm/wasm/php/windmill_parser_wasm.js +0 -112
- package/esm/wasm/php/windmill_parser_wasm_bg.wasm +0 -0
- package/esm/wasm/py/windmill_parser_wasm.js +0 -131
- package/esm/wasm/py/windmill_parser_wasm_bg.wasm +0 -0
- package/esm/wasm/regex/windmill_parser_wasm.js +0 -311
- package/esm/wasm/regex/windmill_parser_wasm_bg.wasm +0 -0
- package/esm/wasm/ruby/windmill_parser_wasm.js +0 -103
- package/esm/wasm/ruby/windmill_parser_wasm_bg.wasm +0 -0
- package/esm/wasm/rust/windmill_parser_wasm.js +0 -86
- package/esm/wasm/rust/windmill_parser_wasm_bg.wasm +0 -0
- package/esm/wasm/ts/windmill_parser_wasm.js +0 -438
- package/esm/wasm/ts/windmill_parser_wasm_bg.wasm +0 -0
- package/esm/wasm/yaml/windmill_parser_wasm.js +0 -103
- package/esm/wasm/yaml/windmill_parser_wasm_bg.wasm +0 -0
- package/esm/windmill-utils-internal/src/config/config.js +0 -190
- package/esm/windmill-utils-internal/src/gen/types.gen.js +0 -2
- package/esm/windmill-utils-internal/src/inline-scripts/extractor.js +0 -109
- package/esm/windmill-utils-internal/src/inline-scripts/replacer.js +0 -85
- package/esm/windmill-utils-internal/src/parse/parse-schema.js +0 -254
- package/esm/windmill-utils-internal/src/path-utils/path-assigner.js +0 -159
- package/types/_dnt.polyfills.d.ts +0 -124
- package/types/_dnt.polyfills.d.ts.map +0 -1
- package/types/_dnt.shims.d.ts +0 -6
- package/types/_dnt.shims.d.ts.map +0 -1
- package/types/bootstrap/common.d.ts +0 -51
- package/types/bootstrap/common.d.ts.map +0 -1
- package/types/bootstrap/flow_bootstrap.d.ts +0 -20
- package/types/bootstrap/flow_bootstrap.d.ts.map +0 -1
- package/types/bootstrap/script_bootstrap.d.ts +0 -42
- package/types/bootstrap/script_bootstrap.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/assert/1.0.0-rc.2/equal.d.ts +0 -17
- package/types/deps/jsr.io/@std/assert/1.0.0-rc.2/equal.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/bytes/1.0.6/_types.d.ts +0 -9
- 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/cli/1.0.0-rc.2/_data.d.ts +0 -9
- package/types/deps/jsr.io/@std/cli/1.0.0-rc.2/_data.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/cli/1.0.0-rc.2/_run_length.d.ts +0 -9
- package/types/deps/jsr.io/@std/cli/1.0.0-rc.2/_run_length.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/cli/1.0.0-rc.2/unicode_width.d.ts +0 -40
- package/types/deps/jsr.io/@std/cli/1.0.0-rc.2/unicode_width.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/encoding/1.0.0-rc.2/_validate_binary_like.d.ts +0 -2
- package/types/deps/jsr.io/@std/encoding/1.0.0-rc.2/_validate_binary_like.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/encoding/1.0.0-rc.2/base64.d.ts +0 -38
- package/types/deps/jsr.io/@std/encoding/1.0.0-rc.2/base64.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/encoding/1.0.4/_base32_common.d.ts +0 -17
- package/types/deps/jsr.io/@std/encoding/1.0.4/_base32_common.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/encoding/1.0.4/_validate_binary_like.d.ts +0 -2
- package/types/deps/jsr.io/@std/encoding/1.0.4/_validate_binary_like.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/encoding/1.0.4/ascii85.d.ts +0 -59
- package/types/deps/jsr.io/@std/encoding/1.0.4/ascii85.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/encoding/1.0.4/base32.d.ts +0 -38
- package/types/deps/jsr.io/@std/encoding/1.0.4/base32.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/encoding/1.0.4/base32_stream.d.ts +0 -48
- package/types/deps/jsr.io/@std/encoding/1.0.4/base32_stream.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/encoding/1.0.4/base32hex.d.ts +0 -42
- package/types/deps/jsr.io/@std/encoding/1.0.4/base32hex.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/encoding/1.0.4/base32hex_stream.d.ts +0 -48
- package/types/deps/jsr.io/@std/encoding/1.0.4/base32hex_stream.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/encoding/1.0.4/base58.d.ts +0 -38
- package/types/deps/jsr.io/@std/encoding/1.0.4/base58.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/encoding/1.0.4/base64.d.ts +0 -38
- package/types/deps/jsr.io/@std/encoding/1.0.4/base64.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/encoding/1.0.4/base64_stream.d.ts +0 -48
- package/types/deps/jsr.io/@std/encoding/1.0.4/base64_stream.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/encoding/1.0.4/base64url.d.ts +0 -38
- package/types/deps/jsr.io/@std/encoding/1.0.4/base64url.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/encoding/1.0.4/base64url_stream.d.ts +0 -49
- package/types/deps/jsr.io/@std/encoding/1.0.4/base64url_stream.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/encoding/1.0.4/hex.d.ts +0 -37
- package/types/deps/jsr.io/@std/encoding/1.0.4/hex.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/encoding/1.0.4/hex_stream.d.ts +0 -48
- package/types/deps/jsr.io/@std/encoding/1.0.4/hex_stream.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/encoding/1.0.4/mod.d.ts +0 -28
- package/types/deps/jsr.io/@std/encoding/1.0.4/mod.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/encoding/1.0.4/varint.d.ts +0 -118
- package/types/deps/jsr.io/@std/encoding/1.0.4/varint.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/fmt/0.225.6/colors.d.ts +0 -716
- package/types/deps/jsr.io/@std/fmt/0.225.6/colors.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/fmt/1.0.9/colors.d.ts +0 -700
- package/types/deps/jsr.io/@std/fmt/1.0.9/colors.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/fs/1.0.23/_create_walk_entry.d.ts +0 -14
- package/types/deps/jsr.io/@std/fs/1.0.23/_create_walk_entry.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/fs/1.0.23/_get_file_info_type.d.ts +0 -13
- package/types/deps/jsr.io/@std/fs/1.0.23/_get_file_info_type.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/fs/1.0.23/_is_same_path.d.ts +0 -10
- package/types/deps/jsr.io/@std/fs/1.0.23/_is_same_path.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/fs/1.0.23/_is_subdir.d.ts +0 -12
- package/types/deps/jsr.io/@std/fs/1.0.23/_is_subdir.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/fs/1.0.23/_to_path_string.d.ts +0 -9
- package/types/deps/jsr.io/@std/fs/1.0.23/_to_path_string.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/fs/1.0.23/copy.d.ts +0 -117
- package/types/deps/jsr.io/@std/fs/1.0.23/copy.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/fs/1.0.23/empty_dir.d.ts +0 -48
- package/types/deps/jsr.io/@std/fs/1.0.23/empty_dir.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/fs/1.0.23/ensure_dir.d.ts +0 -49
- package/types/deps/jsr.io/@std/fs/1.0.23/ensure_dir.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/fs/1.0.23/ensure_file.d.ts +0 -47
- package/types/deps/jsr.io/@std/fs/1.0.23/ensure_file.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/fs/1.0.23/ensure_link.d.ts +0 -49
- package/types/deps/jsr.io/@std/fs/1.0.23/ensure_link.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/fs/1.0.23/ensure_symlink.d.ts +0 -70
- package/types/deps/jsr.io/@std/fs/1.0.23/ensure_symlink.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/fs/1.0.23/eol.d.ts +0 -52
- package/types/deps/jsr.io/@std/fs/1.0.23/eol.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/fs/1.0.23/exists.d.ts +0 -218
- package/types/deps/jsr.io/@std/fs/1.0.23/exists.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/fs/1.0.23/expand_glob.d.ts +0 -267
- package/types/deps/jsr.io/@std/fs/1.0.23/expand_glob.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/fs/1.0.23/mod.d.ts +0 -29
- package/types/deps/jsr.io/@std/fs/1.0.23/mod.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/fs/1.0.23/move.d.ts +0 -86
- package/types/deps/jsr.io/@std/fs/1.0.23/move.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/fs/1.0.23/walk.d.ts +0 -777
- package/types/deps/jsr.io/@std/fs/1.0.23/walk.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/internal/1.0.12/_os.d.ts +0 -2
- package/types/deps/jsr.io/@std/internal/1.0.12/_os.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/internal/1.0.12/os.d.ts +0 -3
- package/types/deps/jsr.io/@std/internal/1.0.12/os.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/io/0.224.9/types.d.ts +0 -146
- package/types/deps/jsr.io/@std/io/0.224.9/types.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/io/0.225.3/_constants.d.ts +0 -3
- package/types/deps/jsr.io/@std/io/0.225.3/_constants.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/io/0.225.3/copy.d.ts +0 -25
- package/types/deps/jsr.io/@std/io/0.225.3/copy.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/io/0.225.3/read_all.d.ts +0 -42
- package/types/deps/jsr.io/@std/io/0.225.3/read_all.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/io/0.225.3/types.d.ts +0 -146
- package/types/deps/jsr.io/@std/io/0.225.3/types.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/io/0.225.3/write_all.d.ts +0 -52
- package/types/deps/jsr.io/@std/io/0.225.3/write_all.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/log/0.224.14/_config.d.ts +0 -4
- package/types/deps/jsr.io/@std/log/0.224.14/_config.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/log/0.224.14/_file_handler_symbols.d.ts +0 -8
- package/types/deps/jsr.io/@std/log/0.224.14/_file_handler_symbols.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/log/0.224.14/_state.d.ts +0 -8
- package/types/deps/jsr.io/@std/log/0.224.14/_state.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/log/0.224.14/base_handler.d.ts +0 -326
- package/types/deps/jsr.io/@std/log/0.224.14/base_handler.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/log/0.224.14/console_handler.d.ts +0 -76
- package/types/deps/jsr.io/@std/log/0.224.14/console_handler.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/log/0.224.14/critical.d.ts +0 -53
- package/types/deps/jsr.io/@std/log/0.224.14/critical.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/log/0.224.14/debug.d.ts +0 -105
- package/types/deps/jsr.io/@std/log/0.224.14/debug.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/log/0.224.14/error.d.ts +0 -53
- package/types/deps/jsr.io/@std/log/0.224.14/error.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/log/0.224.14/file_handler.d.ts +0 -200
- package/types/deps/jsr.io/@std/log/0.224.14/file_handler.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/log/0.224.14/formatters.d.ts +0 -34
- package/types/deps/jsr.io/@std/log/0.224.14/formatters.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/log/0.224.14/get_logger.d.ts +0 -59
- package/types/deps/jsr.io/@std/log/0.224.14/get_logger.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/log/0.224.14/info.d.ts +0 -53
- package/types/deps/jsr.io/@std/log/0.224.14/info.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/log/0.224.14/levels.d.ts +0 -28
- package/types/deps/jsr.io/@std/log/0.224.14/levels.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/log/0.224.14/logger.d.ts +0 -622
- package/types/deps/jsr.io/@std/log/0.224.14/logger.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/log/0.224.14/mod.d.ts +0 -394
- package/types/deps/jsr.io/@std/log/0.224.14/mod.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/log/0.224.14/rotating_file_handler.d.ts +0 -53
- package/types/deps/jsr.io/@std/log/0.224.14/rotating_file_handler.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/log/0.224.14/setup.d.ts +0 -4
- package/types/deps/jsr.io/@std/log/0.224.14/setup.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/log/0.224.14/warn.d.ts +0 -53
- package/types/deps/jsr.io/@std/log/0.224.14/warn.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/_common/assert_path.d.ts +0 -2
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/_common/assert_path.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/_common/basename.d.ts +0 -4
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/_common/basename.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/_common/common.d.ts +0 -2
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/_common/common.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/_common/constants.d.ts +0 -40
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/_common/constants.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/_common/dirname.d.ts +0 -2
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/_common/dirname.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/_common/format.d.ts +0 -4
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/_common/format.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/_common/from_file_url.d.ts +0 -2
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/_common/from_file_url.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/_common/glob_to_reg_exp.d.ts +0 -34
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/_common/glob_to_reg_exp.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/_common/normalize.d.ts +0 -2
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/_common/normalize.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/_common/normalize_string.d.ts +0 -2
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/_common/normalize_string.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/_common/relative.d.ts +0 -2
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/_common/relative.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/_common/strip_trailing_separators.d.ts +0 -2
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/_common/strip_trailing_separators.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/_common/to_file_url.d.ts +0 -2
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/_common/to_file_url.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/_interface.d.ts +0 -42
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/_interface.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/_os.d.ts +0 -2
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/_os.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/basename.d.ts +0 -25
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/basename.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/common.d.ts +0 -28
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/common.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/constants.d.ts +0 -15
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/constants.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/dirname.d.ts +0 -20
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/dirname.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/extname.d.ts +0 -20
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/extname.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/format.d.ts +0 -22
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/format.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/from_file_url.d.ts +0 -22
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/from_file_url.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/glob_to_regexp.d.ts +0 -79
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/glob_to_regexp.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/is_absolute.d.ts +0 -22
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/is_absolute.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/is_glob.d.ts +0 -17
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/is_glob.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/join.d.ts +0 -20
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/join.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/join_globs.d.ts +0 -28
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/join_globs.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/mod.d.ts +0 -51
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/mod.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/normalize.d.ts +0 -24
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/normalize.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/normalize_glob.d.ts +0 -29
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/normalize_glob.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/parse.d.ts +0 -35
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/parse.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/posix/_util.d.ts +0 -2
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/posix/_util.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/posix/basename.d.ts +0 -20
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/posix/basename.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/posix/constants.d.ts +0 -13
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/posix/constants.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/posix/dirname.d.ts +0 -17
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/posix/dirname.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/posix/extname.d.ts +0 -18
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/posix/extname.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/posix/format.d.ts +0 -24
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/posix/format.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/posix/from_file_url.d.ts +0 -16
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/posix/from_file_url.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/posix/glob_to_regexp.d.ts +0 -72
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/posix/glob_to_regexp.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/posix/is_absolute.d.ts +0 -17
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/posix/is_absolute.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/posix/join.d.ts +0 -17
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/posix/join.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/posix/join_globs.d.ts +0 -20
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/posix/join_globs.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/posix/normalize.d.ts +0 -19
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/posix/normalize.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/posix/normalize_glob.d.ts +0 -20
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/posix/normalize_glob.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/posix/parse.d.ts +0 -25
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/posix/parse.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/posix/relative.d.ts +0 -20
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/posix/relative.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/posix/resolve.d.ts +0 -17
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/posix/resolve.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/posix/to_file_url.d.ts +0 -17
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/posix/to_file_url.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/posix/to_namespaced_path.d.ts +0 -16
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/posix/to_namespaced_path.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/relative.d.ts +0 -24
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/relative.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/resolve.d.ts +0 -22
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/resolve.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/to_file_url.d.ts +0 -22
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/to_file_url.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/to_namespaced_path.d.ts +0 -21
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/to_namespaced_path.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/windows/_util.d.ts +0 -4
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/windows/_util.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/windows/basename.d.ts +0 -20
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/windows/basename.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/windows/constants.d.ts +0 -13
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/windows/constants.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/windows/dirname.d.ts +0 -17
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/windows/dirname.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/windows/extname.d.ts +0 -17
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/windows/extname.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/windows/format.d.ts +0 -24
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/windows/format.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/windows/from_file_url.d.ts +0 -18
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/windows/from_file_url.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/windows/glob_to_regexp.d.ts +0 -71
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/windows/glob_to_regexp.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/windows/is_absolute.d.ts +0 -17
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/windows/is_absolute.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/windows/join.d.ts +0 -17
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/windows/join.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/windows/join_globs.d.ts +0 -21
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/windows/join_globs.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/windows/normalize.d.ts +0 -19
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/windows/normalize.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/windows/normalize_glob.d.ts +0 -20
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/windows/normalize_glob.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/windows/parse.d.ts +0 -25
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/windows/parse.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/windows/relative.d.ts +0 -23
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/windows/relative.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/windows/resolve.d.ts +0 -17
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/windows/resolve.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/windows/to_file_url.d.ts +0 -17
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/windows/to_file_url.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/windows/to_namespaced_path.d.ts +0 -17
- package/types/deps/jsr.io/@std/path/1.0.0-rc.2/windows/to_namespaced_path.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.4/_common/assert_path.d.ts +0 -2
- package/types/deps/jsr.io/@std/path/1.1.4/_common/assert_path.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.4/_common/basename.d.ts +0 -4
- package/types/deps/jsr.io/@std/path/1.1.4/_common/basename.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.4/_common/common.d.ts +0 -2
- package/types/deps/jsr.io/@std/path/1.1.4/_common/common.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.4/_common/constants.d.ts +0 -40
- package/types/deps/jsr.io/@std/path/1.1.4/_common/constants.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.4/_common/dirname.d.ts +0 -2
- package/types/deps/jsr.io/@std/path/1.1.4/_common/dirname.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.4/_common/format.d.ts +0 -4
- package/types/deps/jsr.io/@std/path/1.1.4/_common/format.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.4/_common/from_file_url.d.ts +0 -2
- package/types/deps/jsr.io/@std/path/1.1.4/_common/from_file_url.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.4/_common/glob_to_reg_exp.d.ts +0 -35
- package/types/deps/jsr.io/@std/path/1.1.4/_common/glob_to_reg_exp.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.4/_common/normalize.d.ts +0 -2
- package/types/deps/jsr.io/@std/path/1.1.4/_common/normalize.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.4/_common/normalize_string.d.ts +0 -2
- package/types/deps/jsr.io/@std/path/1.1.4/_common/normalize_string.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.4/_common/relative.d.ts +0 -2
- package/types/deps/jsr.io/@std/path/1.1.4/_common/relative.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.4/_common/strip_trailing_separators.d.ts +0 -2
- package/types/deps/jsr.io/@std/path/1.1.4/_common/strip_trailing_separators.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.4/_common/to_file_url.d.ts +0 -2
- package/types/deps/jsr.io/@std/path/1.1.4/_common/to_file_url.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.4/basename.d.ts +0 -27
- package/types/deps/jsr.io/@std/path/1.1.4/basename.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.4/common.d.ts +0 -28
- package/types/deps/jsr.io/@std/path/1.1.4/common.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.4/constants.d.ts +0 -15
- package/types/deps/jsr.io/@std/path/1.1.4/constants.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.4/dirname.d.ts +0 -22
- package/types/deps/jsr.io/@std/path/1.1.4/dirname.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.4/extname.d.ts +0 -22
- package/types/deps/jsr.io/@std/path/1.1.4/extname.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.4/format.d.ts +0 -22
- package/types/deps/jsr.io/@std/path/1.1.4/format.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.4/from_file_url.d.ts +0 -22
- package/types/deps/jsr.io/@std/path/1.1.4/from_file_url.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.4/glob_to_regexp.d.ts +0 -77
- package/types/deps/jsr.io/@std/path/1.1.4/glob_to_regexp.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.4/is_absolute.d.ts +0 -22
- package/types/deps/jsr.io/@std/path/1.1.4/is_absolute.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.4/is_glob.d.ts +0 -17
- package/types/deps/jsr.io/@std/path/1.1.4/is_glob.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.4/join.d.ts +0 -23
- package/types/deps/jsr.io/@std/path/1.1.4/join.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.4/join_globs.d.ts +0 -28
- package/types/deps/jsr.io/@std/path/1.1.4/join_globs.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.4/mod.d.ts +0 -213
- package/types/deps/jsr.io/@std/path/1.1.4/mod.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.4/normalize.d.ts +0 -26
- package/types/deps/jsr.io/@std/path/1.1.4/normalize.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.4/normalize_glob.d.ts +0 -29
- package/types/deps/jsr.io/@std/path/1.1.4/normalize_glob.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.4/parse.d.ts +0 -35
- package/types/deps/jsr.io/@std/path/1.1.4/parse.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.4/posix/_util.d.ts +0 -2
- package/types/deps/jsr.io/@std/path/1.1.4/posix/_util.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.4/posix/basename.d.ts +0 -39
- package/types/deps/jsr.io/@std/path/1.1.4/posix/basename.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.4/posix/constants.d.ts +0 -13
- package/types/deps/jsr.io/@std/path/1.1.4/posix/constants.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.4/posix/dirname.d.ts +0 -30
- package/types/deps/jsr.io/@std/path/1.1.4/posix/dirname.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.4/posix/extname.d.ts +0 -37
- package/types/deps/jsr.io/@std/path/1.1.4/posix/extname.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.4/posix/format.d.ts +0 -24
- package/types/deps/jsr.io/@std/path/1.1.4/posix/format.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.4/posix/from_file_url.d.ts +0 -16
- package/types/deps/jsr.io/@std/path/1.1.4/posix/from_file_url.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.4/posix/glob_to_regexp.d.ts +0 -72
- package/types/deps/jsr.io/@std/path/1.1.4/posix/glob_to_regexp.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.4/posix/is_absolute.d.ts +0 -17
- package/types/deps/jsr.io/@std/path/1.1.4/posix/is_absolute.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.4/posix/join.d.ts +0 -31
- package/types/deps/jsr.io/@std/path/1.1.4/posix/join.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.4/posix/join_globs.d.ts +0 -20
- package/types/deps/jsr.io/@std/path/1.1.4/posix/join_globs.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.4/posix/normalize.d.ts +0 -37
- package/types/deps/jsr.io/@std/path/1.1.4/posix/normalize.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.4/posix/normalize_glob.d.ts +0 -20
- package/types/deps/jsr.io/@std/path/1.1.4/posix/normalize_glob.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.4/posix/parse.d.ts +0 -25
- package/types/deps/jsr.io/@std/path/1.1.4/posix/parse.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.4/posix/relative.d.ts +0 -20
- package/types/deps/jsr.io/@std/path/1.1.4/posix/relative.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.4/posix/resolve.d.ts +0 -17
- package/types/deps/jsr.io/@std/path/1.1.4/posix/resolve.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.4/posix/to_file_url.d.ts +0 -17
- package/types/deps/jsr.io/@std/path/1.1.4/posix/to_file_url.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.4/posix/to_namespaced_path.d.ts +0 -16
- package/types/deps/jsr.io/@std/path/1.1.4/posix/to_namespaced_path.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.4/relative.d.ts +0 -24
- package/types/deps/jsr.io/@std/path/1.1.4/relative.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.4/resolve.d.ts +0 -22
- package/types/deps/jsr.io/@std/path/1.1.4/resolve.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.4/to_file_url.d.ts +0 -22
- package/types/deps/jsr.io/@std/path/1.1.4/to_file_url.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.4/to_namespaced_path.d.ts +0 -21
- package/types/deps/jsr.io/@std/path/1.1.4/to_namespaced_path.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.4/types.d.ts +0 -38
- package/types/deps/jsr.io/@std/path/1.1.4/types.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.4/windows/_util.d.ts +0 -4
- package/types/deps/jsr.io/@std/path/1.1.4/windows/_util.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.4/windows/basename.d.ts +0 -22
- package/types/deps/jsr.io/@std/path/1.1.4/windows/basename.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.4/windows/constants.d.ts +0 -13
- package/types/deps/jsr.io/@std/path/1.1.4/windows/constants.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.4/windows/dirname.d.ts +0 -17
- package/types/deps/jsr.io/@std/path/1.1.4/windows/dirname.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.4/windows/extname.d.ts +0 -17
- package/types/deps/jsr.io/@std/path/1.1.4/windows/extname.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.4/windows/format.d.ts +0 -24
- package/types/deps/jsr.io/@std/path/1.1.4/windows/format.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.4/windows/from_file_url.d.ts +0 -18
- package/types/deps/jsr.io/@std/path/1.1.4/windows/from_file_url.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.4/windows/glob_to_regexp.d.ts +0 -71
- package/types/deps/jsr.io/@std/path/1.1.4/windows/glob_to_regexp.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.4/windows/is_absolute.d.ts +0 -17
- package/types/deps/jsr.io/@std/path/1.1.4/windows/is_absolute.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.4/windows/join.d.ts +0 -18
- package/types/deps/jsr.io/@std/path/1.1.4/windows/join.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.4/windows/join_globs.d.ts +0 -21
- package/types/deps/jsr.io/@std/path/1.1.4/windows/join_globs.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.4/windows/normalize.d.ts +0 -19
- package/types/deps/jsr.io/@std/path/1.1.4/windows/normalize.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.4/windows/normalize_glob.d.ts +0 -20
- package/types/deps/jsr.io/@std/path/1.1.4/windows/normalize_glob.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.4/windows/parse.d.ts +0 -25
- package/types/deps/jsr.io/@std/path/1.1.4/windows/parse.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.4/windows/relative.d.ts +0 -23
- package/types/deps/jsr.io/@std/path/1.1.4/windows/relative.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.4/windows/resolve.d.ts +0 -17
- package/types/deps/jsr.io/@std/path/1.1.4/windows/resolve.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.4/windows/to_file_url.d.ts +0 -17
- package/types/deps/jsr.io/@std/path/1.1.4/windows/to_file_url.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/path/1.1.4/windows/to_namespaced_path.d.ts +0 -17
- package/types/deps/jsr.io/@std/path/1.1.4/windows/to_namespaced_path.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/text/1.0.0-rc.1/closest_string.d.ts +0 -29
- package/types/deps/jsr.io/@std/text/1.0.0-rc.1/closest_string.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/text/1.0.0-rc.1/levenshtein_distance.d.ts +0 -18
- package/types/deps/jsr.io/@std/text/1.0.0-rc.1/levenshtein_distance.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.12/_chars.d.ts +0 -33
- package/types/deps/jsr.io/@std/yaml/1.0.12/_chars.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.12/_dumper_state.d.ts +0 -106
- package/types/deps/jsr.io/@std/yaml/1.0.12/_dumper_state.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.12/_loader_state.d.ts +0 -64
- package/types/deps/jsr.io/@std/yaml/1.0.12/_loader_state.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.12/_schema.d.ts +0 -44
- package/types/deps/jsr.io/@std/yaml/1.0.12/_schema.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.12/_type/binary.d.ts +0 -3
- package/types/deps/jsr.io/@std/yaml/1.0.12/_type/binary.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.12/_type/bool.d.ts +0 -3
- package/types/deps/jsr.io/@std/yaml/1.0.12/_type/bool.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.12/_type/float.d.ts +0 -3
- package/types/deps/jsr.io/@std/yaml/1.0.12/_type/float.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.12/_type/int.d.ts +0 -3
- package/types/deps/jsr.io/@std/yaml/1.0.12/_type/int.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.12/_type/map.d.ts +0 -3
- package/types/deps/jsr.io/@std/yaml/1.0.12/_type/map.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.12/_type/merge.d.ts +0 -3
- package/types/deps/jsr.io/@std/yaml/1.0.12/_type/merge.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.12/_type/nil.d.ts +0 -3
- package/types/deps/jsr.io/@std/yaml/1.0.12/_type/nil.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.12/_type/omap.d.ts +0 -3
- package/types/deps/jsr.io/@std/yaml/1.0.12/_type/omap.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.12/_type/pairs.d.ts +0 -3
- package/types/deps/jsr.io/@std/yaml/1.0.12/_type/pairs.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.12/_type/regexp.d.ts +0 -3
- package/types/deps/jsr.io/@std/yaml/1.0.12/_type/regexp.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.12/_type/seq.d.ts +0 -3
- package/types/deps/jsr.io/@std/yaml/1.0.12/_type/seq.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.12/_type/set.d.ts +0 -3
- package/types/deps/jsr.io/@std/yaml/1.0.12/_type/set.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.12/_type/str.d.ts +0 -3
- package/types/deps/jsr.io/@std/yaml/1.0.12/_type/str.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.12/_type/timestamp.d.ts +0 -3
- package/types/deps/jsr.io/@std/yaml/1.0.12/_type/timestamp.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.12/_type/undefined.d.ts +0 -3
- package/types/deps/jsr.io/@std/yaml/1.0.12/_type/undefined.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.12/_type.d.ts +0 -32
- package/types/deps/jsr.io/@std/yaml/1.0.12/_type.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.12/_utils.d.ts +0 -4
- package/types/deps/jsr.io/@std/yaml/1.0.12/_utils.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.12/mod.d.ts +0 -50
- package/types/deps/jsr.io/@std/yaml/1.0.12/mod.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.12/parse.d.ts +0 -76
- package/types/deps/jsr.io/@std/yaml/1.0.12/parse.d.ts.map +0 -1
- package/types/deps/jsr.io/@std/yaml/1.0.12/stringify.d.ts +0 -100
- package/types/deps/jsr.io/@std/yaml/1.0.12/stringify.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-ansi/1.0.0-rc.5/ansi_escapes.d.ts +0 -135
- package/types/deps/jsr.io/@windmill-labs/cliffy-ansi/1.0.0-rc.5/ansi_escapes.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-ansi/1.0.0-rc.5/chain.d.ts +0 -137
- package/types/deps/jsr.io/@windmill-labs/cliffy-ansi/1.0.0-rc.5/chain.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-ansi/1.0.0-rc.5/colors.d.ts +0 -39
- package/types/deps/jsr.io/@windmill-labs/cliffy-ansi/1.0.0-rc.5/colors.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-ansi/1.0.0-rc.5/cursor_position.d.ts +0 -28
- package/types/deps/jsr.io/@windmill-labs/cliffy-ansi/1.0.0-rc.5/cursor_position.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-ansi/1.0.0-rc.5/tty.d.ts +0 -37
- package/types/deps/jsr.io/@windmill-labs/cliffy-ansi/1.0.0-rc.5/tty.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/_argument_types.d.ts +0 -157
- package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/_argument_types.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/_errors.d.ts +0 -77
- package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/_errors.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/_spread.d.ts +0 -16
- package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/_spread.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/_type_utils.d.ts +0 -9
- package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/_type_utils.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/_utils.d.ts +0 -37
- package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/_utils.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/command.d.ts +0 -815
- package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/command.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/completions/_bash_completions_generator.d.ts +0 -19
- package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/completions/_bash_completions_generator.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/completions/_fish_completions_generator.d.ts +0 -16
- package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/completions/_fish_completions_generator.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/completions/_zsh_completions_generator.d.ts +0 -23
- package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/completions/_zsh_completions_generator.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/completions/bash.d.ts +0 -9
- package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/completions/bash.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/completions/complete.d.ts +0 -9
- package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/completions/complete.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/completions/completions_command.d.ts +0 -9
- package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/completions/completions_command.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/completions/fish.d.ts +0 -9
- package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/completions/fish.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/completions/mod.d.ts +0 -5
- package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/completions/mod.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/completions/zsh.d.ts +0 -9
- package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/completions/zsh.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/deprecated.d.ts +0 -46
- package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/deprecated.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/help/_help_generator.d.ts +0 -28
- package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/help/_help_generator.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/mod.d.ts +0 -15
- package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/mod.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/type.d.ts +0 -45
- package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/type.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/types/action_list.d.ts +0 -10
- package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/types/action_list.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/types/boolean.d.ts +0 -10
- package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/types/boolean.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/types/child_command.d.ts +0 -10
- package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/types/child_command.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/types/command.d.ts +0 -8
- package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/types/command.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/types/enum.d.ts +0 -11
- package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/types/enum.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/types/file.d.ts +0 -6
- package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/types/file.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/types/integer.d.ts +0 -8
- package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/types/integer.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/types/number.d.ts +0 -8
- package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/types/number.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/types/string.d.ts +0 -8
- package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/types/string.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/types.d.ts +0 -119
- package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/types.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/upgrade/_check_version.d.ts +0 -4
- package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/upgrade/_check_version.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/upgrade/get_runtime.d.ts +0 -11
- package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/upgrade/get_runtime.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/upgrade/logger.d.ts +0 -13
- package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/upgrade/logger.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/upgrade/mod.d.ts +0 -3
- package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/upgrade/mod.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/upgrade/provider/npm.d.ts +0 -19
- package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/upgrade/provider/npm.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/upgrade/provider.d.ts +0 -66
- package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/upgrade/provider.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/upgrade/runtime/bun_runtime.d.ts +0 -6
- package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/upgrade/runtime/bun_runtime.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/upgrade/runtime/deno_runtime.d.ts +0 -14
- package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/upgrade/runtime/deno_runtime.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/upgrade/runtime/node_runtime.d.ts +0 -7
- package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/upgrade/runtime/node_runtime.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/upgrade/runtime.d.ts +0 -12
- package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/upgrade/runtime.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/upgrade/spinner.d.ts +0 -156
- package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/upgrade/spinner.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/upgrade/upgrade.d.ts +0 -27
- package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/upgrade/upgrade.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/upgrade/upgrade_command.d.ts +0 -52
- package/types/deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/upgrade/upgrade_command.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-flags/1.0.0-rc.5/_errors.d.ts +0 -61
- package/types/deps/jsr.io/@windmill-labs/cliffy-flags/1.0.0-rc.5/_errors.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-flags/1.0.0-rc.5/_utils.d.ts +0 -17
- package/types/deps/jsr.io/@windmill-labs/cliffy-flags/1.0.0-rc.5/_utils.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-flags/1.0.0-rc.5/_validate_flags.d.ts +0 -11
- package/types/deps/jsr.io/@windmill-labs/cliffy-flags/1.0.0-rc.5/_validate_flags.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-flags/1.0.0-rc.5/deprecated.d.ts +0 -25
- package/types/deps/jsr.io/@windmill-labs/cliffy-flags/1.0.0-rc.5/deprecated.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-flags/1.0.0-rc.5/flags.d.ts +0 -35
- package/types/deps/jsr.io/@windmill-labs/cliffy-flags/1.0.0-rc.5/flags.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-flags/1.0.0-rc.5/mod.d.ts +0 -9
- package/types/deps/jsr.io/@windmill-labs/cliffy-flags/1.0.0-rc.5/mod.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-flags/1.0.0-rc.5/types/boolean.d.ts +0 -4
- package/types/deps/jsr.io/@windmill-labs/cliffy-flags/1.0.0-rc.5/types/boolean.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-flags/1.0.0-rc.5/types/integer.d.ts +0 -4
- package/types/deps/jsr.io/@windmill-labs/cliffy-flags/1.0.0-rc.5/types/integer.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-flags/1.0.0-rc.5/types/number.d.ts +0 -4
- package/types/deps/jsr.io/@windmill-labs/cliffy-flags/1.0.0-rc.5/types/number.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-flags/1.0.0-rc.5/types/string.d.ts +0 -4
- package/types/deps/jsr.io/@windmill-labs/cliffy-flags/1.0.0-rc.5/types/string.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-flags/1.0.0-rc.5/types.d.ts +0 -137
- package/types/deps/jsr.io/@windmill-labs/cliffy-flags/1.0.0-rc.5/types.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/exit.d.ts +0 -8
- package/types/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/exit.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/get_args.d.ts +0 -7
- package/types/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/get_args.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/get_columns.d.ts +0 -2
- package/types/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/get_columns.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/get_env.d.ts +0 -8
- package/types/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/get_env.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/get_os.d.ts +0 -7
- package/types/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/get_os.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/inspect.d.ts +0 -2
- package/types/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/inspect.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/is_directory.d.ts +0 -8
- package/types/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/is_directory.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/is_terminal.d.ts +0 -7
- package/types/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/is_terminal.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/no_color.d.ts +0 -7
- package/types/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/no_color.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/read.d.ts +0 -8
- package/types/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/read.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/read_dir.d.ts +0 -4
- package/types/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/read_dir.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/read_sync.d.ts +0 -8
- package/types/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/read_sync.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/set_raw.d.ts +0 -11
- package/types/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/set_raw.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/stat.d.ts +0 -4
- package/types/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/stat.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/write_sync.d.ts +0 -8
- package/types/deps/jsr.io/@windmill-labs/cliffy-internal/1.0.0-rc.5/runtime/write_sync.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-keycode/1.0.0-rc.5/_key_codes.d.ts +0 -9
- package/types/deps/jsr.io/@windmill-labs/cliffy-keycode/1.0.0-rc.5/_key_codes.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-keycode/1.0.0-rc.5/key_code.d.ts +0 -37
- package/types/deps/jsr.io/@windmill-labs/cliffy-keycode/1.0.0-rc.5/key_code.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-keycode/1.0.0-rc.5/mod.d.ts +0 -2
- package/types/deps/jsr.io/@windmill-labs/cliffy-keycode/1.0.0-rc.5/mod.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-prompt/1.0.0-rc.6/_figures.d.ts +0 -34
- package/types/deps/jsr.io/@windmill-labs/cliffy-prompt/1.0.0-rc.6/_figures.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-prompt/1.0.0-rc.6/_generic_input.d.ts +0 -49
- package/types/deps/jsr.io/@windmill-labs/cliffy-prompt/1.0.0-rc.6/_generic_input.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-prompt/1.0.0-rc.6/_generic_list.d.ts +0 -190
- package/types/deps/jsr.io/@windmill-labs/cliffy-prompt/1.0.0-rc.6/_generic_list.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-prompt/1.0.0-rc.6/_generic_prompt.d.ts +0 -142
- package/types/deps/jsr.io/@windmill-labs/cliffy-prompt/1.0.0-rc.6/_generic_prompt.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-prompt/1.0.0-rc.6/_generic_suggestions.d.ts +0 -115
- package/types/deps/jsr.io/@windmill-labs/cliffy-prompt/1.0.0-rc.6/_generic_suggestions.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-prompt/1.0.0-rc.6/_utils.d.ts +0 -4
- package/types/deps/jsr.io/@windmill-labs/cliffy-prompt/1.0.0-rc.6/_utils.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-prompt/1.0.0-rc.6/confirm.d.ts +0 -66
- package/types/deps/jsr.io/@windmill-labs/cliffy-prompt/1.0.0-rc.6/confirm.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-prompt/1.0.0-rc.6/input.d.ts +0 -64
- package/types/deps/jsr.io/@windmill-labs/cliffy-prompt/1.0.0-rc.6/input.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-prompt/1.0.0-rc.6/secret.d.ts +0 -74
- package/types/deps/jsr.io/@windmill-labs/cliffy-prompt/1.0.0-rc.6/secret.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-prompt/1.0.0-rc.6/select.d.ts +0 -142
- package/types/deps/jsr.io/@windmill-labs/cliffy-prompt/1.0.0-rc.6/select.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-table/1.0.0-rc.5/_layout.d.ts +0 -104
- package/types/deps/jsr.io/@windmill-labs/cliffy-table/1.0.0-rc.5/_layout.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-table/1.0.0-rc.5/_utils.d.ts +0 -29
- package/types/deps/jsr.io/@windmill-labs/cliffy-table/1.0.0-rc.5/_utils.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-table/1.0.0-rc.5/border.d.ts +0 -23
- package/types/deps/jsr.io/@windmill-labs/cliffy-table/1.0.0-rc.5/border.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-table/1.0.0-rc.5/cell.d.ts +0 -157
- package/types/deps/jsr.io/@windmill-labs/cliffy-table/1.0.0-rc.5/cell.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-table/1.0.0-rc.5/column.d.ts +0 -62
- package/types/deps/jsr.io/@windmill-labs/cliffy-table/1.0.0-rc.5/column.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-table/1.0.0-rc.5/consume_words.d.ts +0 -30
- package/types/deps/jsr.io/@windmill-labs/cliffy-table/1.0.0-rc.5/consume_words.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-table/1.0.0-rc.5/mod.d.ts +0 -7
- package/types/deps/jsr.io/@windmill-labs/cliffy-table/1.0.0-rc.5/mod.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-table/1.0.0-rc.5/row.d.ts +0 -71
- package/types/deps/jsr.io/@windmill-labs/cliffy-table/1.0.0-rc.5/row.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/cliffy-table/1.0.0-rc.5/table.d.ts +0 -192
- package/types/deps/jsr.io/@windmill-labs/cliffy-table/1.0.0-rc.5/table.d.ts.map +0 -1
- package/types/deps/jsr.io/@windmill-labs/shared-utils/1.0.12/lib.es.d.ts +0 -7
- package/types/deps/jsr.io/@windmill-labs/shared-utils/1.0.12/lib.es.d.ts.map +0 -1
- package/types/deps.d.ts +0 -35
- package/types/deps.d.ts.map +0 -1
- package/types/gen/core/ApiError.d.ts +0 -11
- package/types/gen/core/ApiError.d.ts.map +0 -1
- package/types/gen/core/ApiRequestOptions.d.ts +0 -15
- package/types/gen/core/ApiRequestOptions.d.ts.map +0 -1
- package/types/gen/core/ApiResult.d.ts +0 -8
- package/types/gen/core/ApiResult.d.ts.map +0 -1
- package/types/gen/core/CancelablePromise.d.ts +0 -27
- package/types/gen/core/CancelablePromise.d.ts.map +0 -1
- package/types/gen/core/OpenAPI.d.ts +0 -28
- package/types/gen/core/OpenAPI.d.ts.map +0 -1
- package/types/gen/core/request.d.ts +0 -30
- package/types/gen/core/request.d.ts.map +0 -1
- package/types/gen/index.d.ts +0 -6
- package/types/gen/index.d.ts.map +0 -1
- package/types/gen/services.gen.d.ts +0 -6251
- package/types/gen/services.gen.d.ts.map +0 -1
- package/types/gen/types.gen.d.ts +0 -11952
- package/types/gen/types.gen.d.ts.map +0 -1
- package/types/src/commands/app/app.d.ts +0 -28
- package/types/src/commands/app/app.d.ts.map +0 -1
- package/types/src/commands/app/app_metadata.d.ts +0 -38
- package/types/src/commands/app/app_metadata.d.ts.map +0 -1
- package/types/src/commands/app/bundle.d.ts +0 -70
- package/types/src/commands/app/bundle.d.ts.map +0 -1
- package/types/src/commands/app/dev.d.ts +0 -18
- package/types/src/commands/app/dev.d.ts.map +0 -1
- package/types/src/commands/app/generate_agents.d.ts +0 -15
- package/types/src/commands/app/generate_agents.d.ts.map +0 -1
- package/types/src/commands/app/lint.d.ts +0 -12
- package/types/src/commands/app/lint.d.ts.map +0 -1
- package/types/src/commands/app/metadata.d.ts +0 -19
- package/types/src/commands/app/metadata.d.ts.map +0 -1
- package/types/src/commands/app/new.d.ts +0 -10
- package/types/src/commands/app/new.d.ts.map +0 -1
- package/types/src/commands/app/raw_apps.d.ts +0 -44
- package/types/src/commands/app/raw_apps.d.ts.map +0 -1
- package/types/src/commands/app/wmillTsDev.d.ts +0 -2
- package/types/src/commands/app/wmillTsDev.d.ts.map +0 -1
- package/types/src/commands/dependencies/dependencies.d.ts +0 -11
- package/types/src/commands/dependencies/dependencies.d.ts.map +0 -1
- package/types/src/commands/dev/dev.d.ts +0 -12
- package/types/src/commands/dev/dev.d.ts.map +0 -1
- package/types/src/commands/flow/flow.d.ts +0 -28
- package/types/src/commands/flow/flow.d.ts.map +0 -1
- package/types/src/commands/flow/flow_metadata.d.ts +0 -8
- package/types/src/commands/flow/flow_metadata.d.ts.map +0 -1
- package/types/src/commands/folder/folder.d.ts +0 -19
- package/types/src/commands/folder/folder.d.ts.map +0 -1
- package/types/src/commands/gitsync-settings/converter.d.ts +0 -10
- package/types/src/commands/gitsync-settings/converter.d.ts.map +0 -1
- package/types/src/commands/gitsync-settings/gitsync-settings.d.ts +0 -25
- package/types/src/commands/gitsync-settings/gitsync-settings.d.ts.map +0 -1
- package/types/src/commands/gitsync-settings/legacySettings.d.ts +0 -4
- package/types/src/commands/gitsync-settings/legacySettings.d.ts.map +0 -1
- package/types/src/commands/gitsync-settings/pull.d.ts +0 -14
- package/types/src/commands/gitsync-settings/pull.d.ts.map +0 -1
- package/types/src/commands/gitsync-settings/push.d.ts +0 -10
- package/types/src/commands/gitsync-settings/push.d.ts.map +0 -1
- package/types/src/commands/gitsync-settings/types.d.ts +0 -35
- package/types/src/commands/gitsync-settings/types.d.ts.map +0 -1
- package/types/src/commands/gitsync-settings/utils.d.ts +0 -36
- package/types/src/commands/gitsync-settings/utils.d.ts.map +0 -1
- package/types/src/commands/hub/hub.d.ts +0 -12
- package/types/src/commands/hub/hub.d.ts.map +0 -1
- package/types/src/commands/init/init.d.ts +0 -34
- package/types/src/commands/init/init.d.ts.map +0 -1
- package/types/src/commands/instance/instance.d.ts +0 -50
- package/types/src/commands/instance/instance.d.ts.map +0 -1
- package/types/src/commands/jobs/jobs.d.ts +0 -28
- package/types/src/commands/jobs/jobs.d.ts.map +0 -1
- package/types/src/commands/lint/lint.d.ts +0 -62
- package/types/src/commands/lint/lint.d.ts.map +0 -1
- package/types/src/commands/queues/queues.d.ts +0 -14
- package/types/src/commands/queues/queues.d.ts.map +0 -1
- package/types/src/commands/resource/resource.d.ts +0 -18
- package/types/src/commands/resource/resource.d.ts.map +0 -1
- package/types/src/commands/resource-type/resource-type.d.ts +0 -18
- package/types/src/commands/resource-type/resource-type.d.ts.map +0 -1
- package/types/src/commands/schedule/schedule.d.ts +0 -21
- package/types/src/commands/schedule/schedule.d.ts.map +0 -1
- package/types/src/commands/script/script.d.ts +0 -72
- package/types/src/commands/script/script.d.ts.map +0 -1
- package/types/src/commands/sync/global.d.ts +0 -3
- package/types/src/commands/sync/global.d.ts.map +0 -1
- package/types/src/commands/sync/pull.d.ts +0 -12
- package/types/src/commands/sync/pull.d.ts.map +0 -1
- package/types/src/commands/sync/sync.d.ts +0 -164
- package/types/src/commands/sync/sync.d.ts.map +0 -1
- package/types/src/commands/trigger/trigger.d.ts +0 -27
- package/types/src/commands/trigger/trigger.d.ts.map +0 -1
- package/types/src/commands/user/user.d.ts +0 -34
- package/types/src/commands/user/user.d.ts.map +0 -1
- package/types/src/commands/variable/variable.d.ts +0 -23
- package/types/src/commands/variable/variable.d.ts.map +0 -1
- package/types/src/commands/worker-groups/worker-groups.d.ts +0 -23
- package/types/src/commands/worker-groups/worker-groups.d.ts.map +0 -1
- package/types/src/commands/workers/workers.d.ts +0 -14
- package/types/src/commands/workers/workers.d.ts.map +0 -1
- package/types/src/commands/workspace/fork.d.ts +0 -9
- package/types/src/commands/workspace/fork.d.ts.map +0 -1
- package/types/src/commands/workspace/workspace.d.ts +0 -32
- package/types/src/commands/workspace/workspace.d.ts.map +0 -1
- package/types/src/core/auth.d.ts +0 -8
- package/types/src/core/auth.d.ts.map +0 -1
- package/types/src/core/branch-profiles.d.ts +0 -12
- package/types/src/core/branch-profiles.d.ts.map +0 -1
- package/types/src/core/conf.d.ts +0 -116
- package/types/src/core/conf.d.ts.map +0 -1
- package/types/src/core/constants.d.ts +0 -6
- package/types/src/core/constants.d.ts.map +0 -1
- package/types/src/core/context.d.ts +0 -14
- package/types/src/core/context.d.ts.map +0 -1
- package/types/src/core/login.d.ts +0 -5
- package/types/src/core/login.d.ts.map +0 -1
- package/types/src/core/settings.d.ts +0 -46
- package/types/src/core/settings.d.ts.map +0 -1
- package/types/src/core/specific_items.d.ts +0 -45
- package/types/src/core/specific_items.d.ts.map +0 -1
- package/types/src/core/store.d.ts +0 -2
- package/types/src/core/store.d.ts.map +0 -1
- package/types/src/guidance/core.d.ts +0 -13
- package/types/src/guidance/core.d.ts.map +0 -1
- package/types/src/guidance/skills.d.ts +0 -15
- package/types/src/guidance/skills.d.ts.map +0 -1
- package/types/src/main.d.ts +0 -76
- package/types/src/main.d.ts.map +0 -1
- package/types/src/types.d.ts +0 -58
- package/types/src/types.d.ts.map +0 -1
- package/types/src/utils/codebase.d.ts +0 -6
- package/types/src/utils/codebase.d.ts.map +0 -1
- package/types/src/utils/git.d.ts +0 -5
- package/types/src/utils/git.d.ts.map +0 -1
- package/types/src/utils/local_encryption.d.ts +0 -3
- package/types/src/utils/local_encryption.d.ts.map +0 -1
- package/types/src/utils/metadata.d.ts +0 -84
- package/types/src/utils/metadata.d.ts.map +0 -1
- package/types/src/utils/resource_folders.d.ts +0 -169
- package/types/src/utils/resource_folders.d.ts.map +0 -1
- package/types/src/utils/resource_types.d.ts +0 -3
- package/types/src/utils/resource_types.d.ts.map +0 -1
- package/types/src/utils/script_common.d.ts +0 -22
- package/types/src/utils/script_common.d.ts.map +0 -1
- package/types/src/utils/upgrade.d.ts +0 -21
- package/types/src/utils/upgrade.d.ts.map +0 -1
- package/types/src/utils/utils.d.ts +0 -34
- package/types/src/utils/utils.d.ts.map +0 -1
- package/types/wasm/csharp/windmill_parser_wasm.d.ts +0 -7
- package/types/wasm/csharp/windmill_parser_wasm.d.ts.map +0 -1
- package/types/wasm/go/windmill_parser_wasm.d.ts +0 -7
- package/types/wasm/go/windmill_parser_wasm.d.ts.map +0 -1
- package/types/wasm/java/windmill_parser_wasm.d.ts +0 -7
- package/types/wasm/java/windmill_parser_wasm.d.ts.map +0 -1
- package/types/wasm/nu/windmill_parser_wasm.d.ts +0 -7
- package/types/wasm/nu/windmill_parser_wasm.d.ts.map +0 -1
- package/types/wasm/php/windmill_parser_wasm.d.ts +0 -8
- package/types/wasm/php/windmill_parser_wasm.d.ts.map +0 -1
- package/types/wasm/py/windmill_parser_wasm.d.ts +0 -13
- package/types/wasm/py/windmill_parser_wasm.d.ts.map +0 -1
- package/types/wasm/regex/windmill_parser_wasm.d.ts +0 -62
- package/types/wasm/regex/windmill_parser_wasm.d.ts.map +0 -1
- package/types/wasm/ruby/windmill_parser_wasm.d.ts +0 -7
- package/types/wasm/ruby/windmill_parser_wasm.d.ts.map +0 -1
- package/types/wasm/rust/windmill_parser_wasm.d.ts +0 -8
- package/types/wasm/rust/windmill_parser_wasm.d.ts.map +0 -1
- package/types/wasm/ts/windmill_parser_wasm.d.ts +0 -23
- package/types/wasm/ts/windmill_parser_wasm.d.ts.map +0 -1
- package/types/wasm/yaml/windmill_parser_wasm.d.ts +0 -7
- package/types/wasm/yaml/windmill_parser_wasm.d.ts.map +0 -1
- package/types/windmill-utils-internal/src/config/config.d.ts +0 -12
- package/types/windmill-utils-internal/src/config/config.d.ts.map +0 -1
- package/types/windmill-utils-internal/src/gen/types.gen.d.ts +0 -11952
- package/types/windmill-utils-internal/src/gen/types.gen.d.ts.map +0 -1
- package/types/windmill-utils-internal/src/inline-scripts/extractor.d.ts +0 -44
- package/types/windmill-utils-internal/src/inline-scripts/extractor.d.ts.map +0 -1
- package/types/windmill-utils-internal/src/inline-scripts/replacer.d.ts +0 -17
- package/types/windmill-utils-internal/src/inline-scripts/replacer.d.ts.map +0 -1
- package/types/windmill-utils-internal/src/parse/parse-schema.d.ts +0 -99
- package/types/windmill-utils-internal/src/parse/parse-schema.d.ts.map +0 -1
- package/types/windmill-utils-internal/src/path-utils/path-assigner.d.ts +0 -59
- package/types/windmill-utils-internal/src/path-utils/path-assigner.d.ts.map +0 -1
|
@@ -1,1289 +0,0 @@
|
|
|
1
|
-
// deno-lint-ignore-file no-explicit-any
|
|
2
|
-
import * as dntShim from "../../../_dnt.shims.js";
|
|
3
|
-
import { colors, Command, getPort, log, open, SEP, windmillUtils, yamlParseFile, } from "../../../deps.js";
|
|
4
|
-
import * as http from "node:http";
|
|
5
|
-
import * as fs from "node:fs";
|
|
6
|
-
import * as path from "node:path";
|
|
7
|
-
import process from "node:process";
|
|
8
|
-
import { writeFileSync } from "node:fs";
|
|
9
|
-
import { WebSocket, WebSocketServer } from "ws";
|
|
10
|
-
import { createFrameworkPlugins, detectFrameworks, ensureNodeModules, getDevBuildOptions, } from "./bundle.js";
|
|
11
|
-
import { wmillTsDev as wmillTs } from "./wmillTsDev.js";
|
|
12
|
-
import * as wmill from "../../../gen/services.gen.js";
|
|
13
|
-
import { resolveWorkspace } from "../../core/context.js";
|
|
14
|
-
import { requireLogin } from "../../core/auth.js";
|
|
15
|
-
import { GLOBAL_CONFIG_OPT } from "../../core/conf.js";
|
|
16
|
-
import { replaceInlineScripts, repopulateFields } from "./app.js";
|
|
17
|
-
import { APP_BACKEND_FOLDER, inferRunnableSchemaFromFile, } from "./app_metadata.js";
|
|
18
|
-
import { loadRunnablesFromBackend } from "./raw_apps.js";
|
|
19
|
-
import { regenerateAgentDocs } from "./generate_agents.js";
|
|
20
|
-
import { getFolderSuffix, hasFolderSuffix, loadNonDottedPathsSetting, } from "../../utils/resource_folders.js";
|
|
21
|
-
const DEFAULT_PORT = 4000;
|
|
22
|
-
const DEFAULT_HOST = "localhost";
|
|
23
|
-
// HTML template with live reload and SQL migration modal
|
|
24
|
-
const createHTML = (jsPath, cssPath) => `
|
|
25
|
-
<!DOCTYPE html>
|
|
26
|
-
<html lang="en">
|
|
27
|
-
<head>
|
|
28
|
-
<meta charset="UTF-8">
|
|
29
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
30
|
-
<title>Windmill App Dev Preview</title>
|
|
31
|
-
<link rel="stylesheet" href="${cssPath}">
|
|
32
|
-
<style>
|
|
33
|
-
* {
|
|
34
|
-
margin: 0;
|
|
35
|
-
padding: 0;
|
|
36
|
-
box-sizing: border-box;
|
|
37
|
-
}
|
|
38
|
-
body {
|
|
39
|
-
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
|
|
40
|
-
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
|
|
41
|
-
-webkit-font-smoothing: antialiased;
|
|
42
|
-
-moz-osx-font-smoothing: grayscale;
|
|
43
|
-
}
|
|
44
|
-
#root {
|
|
45
|
-
width: 100%;
|
|
46
|
-
height: 100vh;
|
|
47
|
-
}
|
|
48
|
-
/* SQL Migration Modal Styles */
|
|
49
|
-
.sql-modal-overlay {
|
|
50
|
-
display: none;
|
|
51
|
-
position: fixed;
|
|
52
|
-
top: 0;
|
|
53
|
-
left: 0;
|
|
54
|
-
width: 100%;
|
|
55
|
-
height: 100%;
|
|
56
|
-
background: rgba(0, 0, 0, 0.5);
|
|
57
|
-
z-index: 10000;
|
|
58
|
-
justify-content: center;
|
|
59
|
-
align-items: center;
|
|
60
|
-
}
|
|
61
|
-
.sql-modal-overlay.visible {
|
|
62
|
-
display: flex;
|
|
63
|
-
}
|
|
64
|
-
.sql-modal {
|
|
65
|
-
background: white;
|
|
66
|
-
border-radius: 8px;
|
|
67
|
-
max-width: 700px;
|
|
68
|
-
width: 90%;
|
|
69
|
-
max-height: 80vh;
|
|
70
|
-
display: flex;
|
|
71
|
-
flex-direction: column;
|
|
72
|
-
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
|
|
73
|
-
}
|
|
74
|
-
.sql-modal-header {
|
|
75
|
-
padding: 16px 20px;
|
|
76
|
-
border-bottom: 1px solid #e0e0e0;
|
|
77
|
-
display: flex;
|
|
78
|
-
justify-content: space-between;
|
|
79
|
-
align-items: center;
|
|
80
|
-
}
|
|
81
|
-
.sql-modal-header h2 {
|
|
82
|
-
margin: 0;
|
|
83
|
-
font-size: 18px;
|
|
84
|
-
color: #333;
|
|
85
|
-
}
|
|
86
|
-
.sql-modal-header .close-btn {
|
|
87
|
-
background: none;
|
|
88
|
-
border: none;
|
|
89
|
-
font-size: 24px;
|
|
90
|
-
cursor: pointer;
|
|
91
|
-
color: #666;
|
|
92
|
-
}
|
|
93
|
-
.sql-modal-body {
|
|
94
|
-
padding: 20px;
|
|
95
|
-
overflow-y: auto;
|
|
96
|
-
flex: 1;
|
|
97
|
-
}
|
|
98
|
-
.sql-modal-body p {
|
|
99
|
-
margin-bottom: 12px;
|
|
100
|
-
color: #555;
|
|
101
|
-
}
|
|
102
|
-
.sql-modal-body pre {
|
|
103
|
-
background: #f5f5f5;
|
|
104
|
-
padding: 12px;
|
|
105
|
-
border-radius: 4px;
|
|
106
|
-
overflow-x: auto;
|
|
107
|
-
font-size: 13px;
|
|
108
|
-
max-height: 300px;
|
|
109
|
-
overflow-y: auto;
|
|
110
|
-
}
|
|
111
|
-
.sql-modal-footer {
|
|
112
|
-
padding: 16px 20px;
|
|
113
|
-
border-top: 1px solid #e0e0e0;
|
|
114
|
-
display: flex;
|
|
115
|
-
justify-content: flex-end;
|
|
116
|
-
gap: 12px;
|
|
117
|
-
}
|
|
118
|
-
.sql-modal-footer button {
|
|
119
|
-
padding: 10px 20px;
|
|
120
|
-
border-radius: 4px;
|
|
121
|
-
cursor: pointer;
|
|
122
|
-
font-size: 14px;
|
|
123
|
-
}
|
|
124
|
-
.sql-modal-footer .cancel-btn {
|
|
125
|
-
background: #f0f0f0;
|
|
126
|
-
border: 1px solid #ccc;
|
|
127
|
-
color: #333;
|
|
128
|
-
}
|
|
129
|
-
.sql-modal-footer .apply-btn {
|
|
130
|
-
background: #3b82f6;
|
|
131
|
-
border: none;
|
|
132
|
-
color: white;
|
|
133
|
-
}
|
|
134
|
-
.sql-modal-footer .apply-btn:hover {
|
|
135
|
-
background: #2563eb;
|
|
136
|
-
}
|
|
137
|
-
.sql-modal-footer .apply-btn:disabled {
|
|
138
|
-
background: #9ca3af;
|
|
139
|
-
cursor: not-allowed;
|
|
140
|
-
}
|
|
141
|
-
.sql-result {
|
|
142
|
-
margin-top: 12px;
|
|
143
|
-
padding: 12px;
|
|
144
|
-
border-radius: 4px;
|
|
145
|
-
}
|
|
146
|
-
.sql-result.success {
|
|
147
|
-
background: #dcfce7;
|
|
148
|
-
color: #166534;
|
|
149
|
-
}
|
|
150
|
-
.sql-result.error {
|
|
151
|
-
background: #fee2e2;
|
|
152
|
-
color: #991b1b;
|
|
153
|
-
}
|
|
154
|
-
</style>
|
|
155
|
-
</head>
|
|
156
|
-
<body>
|
|
157
|
-
<div id="root"></div>
|
|
158
|
-
<!-- SQL Migration Modal -->
|
|
159
|
-
<div id="sql-modal-overlay" class="sql-modal-overlay">
|
|
160
|
-
<div class="sql-modal">
|
|
161
|
-
<div class="sql-modal-header">
|
|
162
|
-
<h2>Apply SQL Migration</h2>
|
|
163
|
-
<button class="close-btn" onclick="closeSqlModal()">×</button>
|
|
164
|
-
</div>
|
|
165
|
-
<div class="sql-modal-body">
|
|
166
|
-
<p><strong>File:</strong> <span id="sql-file-name"></span></p>
|
|
167
|
-
<p><strong>Datatable:</strong> <span id="sql-datatable"></span></p>
|
|
168
|
-
<p><strong>SQL to execute:</strong></p>
|
|
169
|
-
<pre id="sql-content"></pre>
|
|
170
|
-
<div id="sql-result"></div>
|
|
171
|
-
</div>
|
|
172
|
-
<div class="sql-modal-footer">
|
|
173
|
-
<button class="cancel-btn" onclick="closeSqlModal()">Cancel</button>
|
|
174
|
-
<button class="apply-btn" id="apply-sql-btn" onclick="applySql()">Apply SQL</button>
|
|
175
|
-
</div>
|
|
176
|
-
</div>
|
|
177
|
-
</div>
|
|
178
|
-
<script src="${jsPath}"></script>
|
|
179
|
-
<script>
|
|
180
|
-
// Live reload via EventSource
|
|
181
|
-
const evtSource = new EventSource('/__events');
|
|
182
|
-
evtSource.addEventListener('change', () => {
|
|
183
|
-
console.log('🔄 Files changed, reloading...');
|
|
184
|
-
location.reload();
|
|
185
|
-
});
|
|
186
|
-
evtSource.addEventListener('error', () => {
|
|
187
|
-
console.log('⚠️ Lost connection to dev server, retrying...');
|
|
188
|
-
});
|
|
189
|
-
|
|
190
|
-
// SQL Migration Modal handling
|
|
191
|
-
let pendingSqlMigration = null;
|
|
192
|
-
let sqlWebSocket = null;
|
|
193
|
-
let closeModalTimeout = null;
|
|
194
|
-
|
|
195
|
-
function initSqlWebSocket() {
|
|
196
|
-
const wsProtocol = location.protocol === 'https:' ? 'wss:' : 'ws:';
|
|
197
|
-
sqlWebSocket = new WebSocket(wsProtocol + '//' + location.host);
|
|
198
|
-
|
|
199
|
-
sqlWebSocket.onmessage = (event) => {
|
|
200
|
-
const data = JSON.parse(event.data);
|
|
201
|
-
if (data.type === 'sqlMigration') {
|
|
202
|
-
showSqlModal(data);
|
|
203
|
-
} else if (data.type === 'sqlMigrationResult') {
|
|
204
|
-
showSqlResult(data);
|
|
205
|
-
}
|
|
206
|
-
};
|
|
207
|
-
|
|
208
|
-
sqlWebSocket.onclose = () => {
|
|
209
|
-
// Reconnect after a delay
|
|
210
|
-
setTimeout(initSqlWebSocket, 1000);
|
|
211
|
-
};
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
function showSqlModal(data) {
|
|
215
|
-
// Cancel any pending close from a previous migration's success
|
|
216
|
-
if (closeModalTimeout) {
|
|
217
|
-
clearTimeout(closeModalTimeout);
|
|
218
|
-
closeModalTimeout = null;
|
|
219
|
-
}
|
|
220
|
-
pendingSqlMigration = data;
|
|
221
|
-
document.getElementById('sql-file-name').textContent = data.fileName;
|
|
222
|
-
document.getElementById('sql-datatable').textContent = data.datatable || 'Not configured';
|
|
223
|
-
document.getElementById('sql-content').textContent = data.sql;
|
|
224
|
-
document.getElementById('sql-result').innerHTML = '';
|
|
225
|
-
document.getElementById('sql-result').className = 'sql-result';
|
|
226
|
-
document.getElementById('apply-sql-btn').disabled = !data.datatable;
|
|
227
|
-
document.getElementById('apply-sql-btn').textContent = 'Apply SQL';
|
|
228
|
-
document.getElementById('sql-modal-overlay').classList.add('visible');
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
function closeSqlModal(skip = true) {
|
|
232
|
-
if (skip && pendingSqlMigration && sqlWebSocket) {
|
|
233
|
-
// Notify server that user skipped this file
|
|
234
|
-
sqlWebSocket.send(JSON.stringify({
|
|
235
|
-
type: 'skipSqlMigration',
|
|
236
|
-
fileName: pendingSqlMigration.fileName
|
|
237
|
-
}));
|
|
238
|
-
}
|
|
239
|
-
document.getElementById('sql-modal-overlay').classList.remove('visible');
|
|
240
|
-
pendingSqlMigration = null;
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
function applySql() {
|
|
244
|
-
if (!pendingSqlMigration || !sqlWebSocket) return;
|
|
245
|
-
|
|
246
|
-
document.getElementById('apply-sql-btn').disabled = true;
|
|
247
|
-
document.getElementById('apply-sql-btn').textContent = 'Applying...';
|
|
248
|
-
|
|
249
|
-
sqlWebSocket.send(JSON.stringify({
|
|
250
|
-
type: 'applySqlMigration',
|
|
251
|
-
fileName: pendingSqlMigration.fileName,
|
|
252
|
-
sql: pendingSqlMigration.sql,
|
|
253
|
-
datatable: pendingSqlMigration.datatable
|
|
254
|
-
}));
|
|
255
|
-
}
|
|
256
|
-
|
|
257
|
-
function showSqlResult(data) {
|
|
258
|
-
const resultDiv = document.getElementById('sql-result');
|
|
259
|
-
if (data.error) {
|
|
260
|
-
resultDiv.className = 'sql-result error';
|
|
261
|
-
resultDiv.innerHTML = '<strong>Error:</strong> ' + escapeHtml(data.message);
|
|
262
|
-
document.getElementById('apply-sql-btn').disabled = false;
|
|
263
|
-
document.getElementById('apply-sql-btn').textContent = 'Apply SQL';
|
|
264
|
-
} else {
|
|
265
|
-
resultDiv.className = 'sql-result success';
|
|
266
|
-
resultDiv.innerHTML = '<strong>Success!</strong> SQL applied and file deleted.';
|
|
267
|
-
// Auto-close after success (don't send skip since server already handled it)
|
|
268
|
-
// Save timeout ID so it can be cancelled if a new migration arrives
|
|
269
|
-
closeModalTimeout = setTimeout(() => {
|
|
270
|
-
closeModalTimeout = null;
|
|
271
|
-
closeSqlModal(false);
|
|
272
|
-
}, 1500);
|
|
273
|
-
}
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
function escapeHtml(text) {
|
|
277
|
-
const div = document.createElement('div');
|
|
278
|
-
div.textContent = text;
|
|
279
|
-
return div.innerHTML;
|
|
280
|
-
}
|
|
281
|
-
|
|
282
|
-
// Initialize WebSocket for SQL migrations
|
|
283
|
-
initSqlWebSocket();
|
|
284
|
-
</script>
|
|
285
|
-
</body>
|
|
286
|
-
</html>
|
|
287
|
-
`;
|
|
288
|
-
async function dev(opts, appFolder) {
|
|
289
|
-
GLOBAL_CONFIG_OPT.noCdToRoot = true;
|
|
290
|
-
// Search for wmill.yaml by traversing upward (without git root constraint)
|
|
291
|
-
// to initialize nonDottedPaths setting before using folder suffix functions
|
|
292
|
-
await loadNonDottedPathsSetting();
|
|
293
|
-
// Resolve target directory from argument or use current directory
|
|
294
|
-
const originalCwd = process.cwd();
|
|
295
|
-
let targetDir = originalCwd;
|
|
296
|
-
if (appFolder) {
|
|
297
|
-
targetDir = path.isAbsolute(appFolder)
|
|
298
|
-
? appFolder
|
|
299
|
-
: path.join(originalCwd, appFolder);
|
|
300
|
-
if (!fs.existsSync(targetDir)) {
|
|
301
|
-
log.error(colors.red(`Error: Directory not found: ${targetDir}`));
|
|
302
|
-
dntShim.Deno.exit(1);
|
|
303
|
-
}
|
|
304
|
-
}
|
|
305
|
-
// Validate that target is a .raw_app folder
|
|
306
|
-
const targetDirName = path.basename(targetDir);
|
|
307
|
-
if (!hasFolderSuffix(targetDirName, "raw_app")) {
|
|
308
|
-
log.error(colors.red(`Error: The dev command must be run inside a ${getFolderSuffix("raw_app")} folder.\n` +
|
|
309
|
-
`Target directory: ${targetDirName}\n` +
|
|
310
|
-
`Please navigate to a folder ending with '${getFolderSuffix("raw_app")}' or specify one as argument.`));
|
|
311
|
-
dntShim.Deno.exit(1);
|
|
312
|
-
}
|
|
313
|
-
// Check for raw_app.yaml in target directory
|
|
314
|
-
const rawAppPath = path.join(targetDir, "raw_app.yaml");
|
|
315
|
-
if (!fs.existsSync(rawAppPath)) {
|
|
316
|
-
log.error(colors.red(`Error: raw_app.yaml not found in ${targetDir}.\n` +
|
|
317
|
-
`The dev command requires a ${getFolderSuffix("raw_app")} folder containing a raw_app.yaml file.`));
|
|
318
|
-
dntShim.Deno.exit(1);
|
|
319
|
-
}
|
|
320
|
-
// Resolve workspace and authenticate (from original cwd to find wmill.yaml)
|
|
321
|
-
const workspace = await resolveWorkspace(opts);
|
|
322
|
-
await requireLogin(opts);
|
|
323
|
-
const workspaceId = workspace.workspaceId;
|
|
324
|
-
// Change to target directory for the rest of the command
|
|
325
|
-
if (appFolder) {
|
|
326
|
-
process.chdir(targetDir);
|
|
327
|
-
}
|
|
328
|
-
// Load app path from raw_app.yaml
|
|
329
|
-
const rawApp = (await yamlParseFile(rawAppPath));
|
|
330
|
-
const appPath = rawApp?.custom_path ?? "u/unknown/newapp";
|
|
331
|
-
// Dynamically import esbuild only when the dev command is called
|
|
332
|
-
const esbuild = await import("esbuild");
|
|
333
|
-
const port = opts.port ??
|
|
334
|
-
(await getPort.default({
|
|
335
|
-
port: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10].map((p) => p + DEFAULT_PORT),
|
|
336
|
-
}));
|
|
337
|
-
const host = opts.host ?? DEFAULT_HOST;
|
|
338
|
-
const shouldOpen = opts.open ?? true;
|
|
339
|
-
// Detect frameworks to determine default entry point
|
|
340
|
-
const frameworks = detectFrameworks(process.cwd());
|
|
341
|
-
const defaultEntry = frameworks.svelte || frameworks.vue
|
|
342
|
-
? "index.ts"
|
|
343
|
-
: "index.tsx";
|
|
344
|
-
const entryPoint = opts.entry ?? defaultEntry;
|
|
345
|
-
// Verify entry point exists
|
|
346
|
-
if (!fs.existsSync(entryPoint)) {
|
|
347
|
-
log.error(colors.red(`Entry point "${entryPoint}" not found. Please specify a valid entry point with --entry.`));
|
|
348
|
-
dntShim.Deno.exit(1);
|
|
349
|
-
}
|
|
350
|
-
// Ensure node_modules exists
|
|
351
|
-
const appDir = path.dirname(entryPoint) || process.cwd();
|
|
352
|
-
await ensureNodeModules(appDir);
|
|
353
|
-
// In-memory cache of inferred schemas (runnableId -> schema)
|
|
354
|
-
// Used to generate wmill.d.ts without modifying raw_app.yaml
|
|
355
|
-
const inferredSchemas = {};
|
|
356
|
-
genRunnablesTs(inferredSchemas);
|
|
357
|
-
// Ensure dist directory exists
|
|
358
|
-
const distDir = path.join(process.cwd(), "dist");
|
|
359
|
-
if (!fs.existsSync(distDir)) {
|
|
360
|
-
fs.mkdirSync(distDir);
|
|
361
|
-
}
|
|
362
|
-
// SSE clients for live reload
|
|
363
|
-
const clients = [];
|
|
364
|
-
function notifyClients() {
|
|
365
|
-
clients.forEach((client) => {
|
|
366
|
-
client.write(`event: change\ndata: reload\n\n`);
|
|
367
|
-
});
|
|
368
|
-
}
|
|
369
|
-
const buildOptions = getDevBuildOptions(entryPoint);
|
|
370
|
-
// Load framework-specific plugins (svelte, vue) based on package.json
|
|
371
|
-
const frameworkPlugins = await createFrameworkPlugins(appDir);
|
|
372
|
-
const wmillPlugin = {
|
|
373
|
-
name: "wmill-virtual",
|
|
374
|
-
setup(build) {
|
|
375
|
-
// Intercept imports of wmill with various path formats:
|
|
376
|
-
// - wmill, wmill.ts (bare import)
|
|
377
|
-
// - /wmill, /wmill.ts (absolute)
|
|
378
|
-
// - ./wmill, ./wmill.ts (same directory)
|
|
379
|
-
// - ../wmill, ../../wmill, etc. (parent directories)
|
|
380
|
-
build.onResolve({ filter: /^(\.\.\/)+wmill(\.ts)?$|^(\.\/|\/)?wmill(\.ts)?$/ }, (args) => {
|
|
381
|
-
log.info(colors.yellow(`[wmill-virtual] Intercepted: ${args.path}`));
|
|
382
|
-
return {
|
|
383
|
-
path: args.path,
|
|
384
|
-
namespace: "wmill-virtual",
|
|
385
|
-
};
|
|
386
|
-
});
|
|
387
|
-
// Provide the virtual module content
|
|
388
|
-
build.onLoad({ filter: /.*/, namespace: "wmill-virtual" }, (args) => {
|
|
389
|
-
const contents = wmillTs(port);
|
|
390
|
-
log.info(colors.yellow(`[wmill-virtual] Loading virtual module: ${args.path}`));
|
|
391
|
-
log.info(colors.gray(`[wmill-virtual] Exports: ${contents.match(/export (const|function) \w+/g)?.join(", ") ??
|
|
392
|
-
"none"}`));
|
|
393
|
-
return {
|
|
394
|
-
contents,
|
|
395
|
-
loader: "ts",
|
|
396
|
-
};
|
|
397
|
-
});
|
|
398
|
-
},
|
|
399
|
-
};
|
|
400
|
-
// Create esbuild context
|
|
401
|
-
const ctx = await esbuild.context({
|
|
402
|
-
...buildOptions,
|
|
403
|
-
plugins: [
|
|
404
|
-
...frameworkPlugins,
|
|
405
|
-
{
|
|
406
|
-
name: "notify-on-rebuild",
|
|
407
|
-
setup(build) {
|
|
408
|
-
build.onEnd((result) => {
|
|
409
|
-
if (result.errors.length === 0) {
|
|
410
|
-
log.info(colors.green("✅ Build succeeded, notifying clients..."));
|
|
411
|
-
notifyClients();
|
|
412
|
-
}
|
|
413
|
-
else {
|
|
414
|
-
log.error(colors.red("❌ Build failed:"));
|
|
415
|
-
result.errors.forEach((error) => {
|
|
416
|
-
log.error(colors.red(error.text));
|
|
417
|
-
});
|
|
418
|
-
}
|
|
419
|
-
});
|
|
420
|
-
},
|
|
421
|
-
},
|
|
422
|
-
wmillPlugin,
|
|
423
|
-
],
|
|
424
|
-
});
|
|
425
|
-
// Start watching
|
|
426
|
-
await ctx.watch();
|
|
427
|
-
log.info(colors.blue("👀 Watching for file changes...\n"));
|
|
428
|
-
// Initial build
|
|
429
|
-
await ctx.rebuild();
|
|
430
|
-
// Watch runnables folder for changes
|
|
431
|
-
const runnablesPath = path.join(process.cwd(), APP_BACKEND_FOLDER);
|
|
432
|
-
let runnablesWatcher;
|
|
433
|
-
if (fs.existsSync(runnablesPath)) {
|
|
434
|
-
log.info(colors.blue(`👁️ Watching runnables folder at: ${runnablesPath}\n`));
|
|
435
|
-
runnablesWatcher = dntShim.Deno.watchFs(runnablesPath);
|
|
436
|
-
// Per-file debounce timeouts for schema inference (longer debounce for typing)
|
|
437
|
-
const schemaInferenceTimeouts = {};
|
|
438
|
-
const SCHEMA_DEBOUNCE_MS = 500; // Wait 500ms after last change before inferring schema
|
|
439
|
-
// Handle runnables file changes in the background
|
|
440
|
-
(async () => {
|
|
441
|
-
try {
|
|
442
|
-
for await (const event of runnablesWatcher) {
|
|
443
|
-
// Process each changed path with individual debouncing
|
|
444
|
-
for (const changedPath of event.paths) {
|
|
445
|
-
const relativePath = path.relative(process.cwd(), changedPath);
|
|
446
|
-
const relativeToRunnables = path.relative(runnablesPath, changedPath);
|
|
447
|
-
// Skip non-modify events for schema inference
|
|
448
|
-
if (event.kind !== "modify" && event.kind !== "create") {
|
|
449
|
-
continue;
|
|
450
|
-
}
|
|
451
|
-
// Skip lock files
|
|
452
|
-
if (changedPath.endsWith(".lock")) {
|
|
453
|
-
continue;
|
|
454
|
-
}
|
|
455
|
-
// Log the change event
|
|
456
|
-
log.info(colors.cyan(`📝 Runnable changed [${event.kind}]: ${relativePath}`));
|
|
457
|
-
// Debounce schema inference per file (wait for typing to finish)
|
|
458
|
-
if (schemaInferenceTimeouts[changedPath]) {
|
|
459
|
-
clearTimeout(schemaInferenceTimeouts[changedPath]);
|
|
460
|
-
}
|
|
461
|
-
schemaInferenceTimeouts[changedPath] = setTimeout(async () => {
|
|
462
|
-
delete schemaInferenceTimeouts[changedPath];
|
|
463
|
-
try {
|
|
464
|
-
log.info(colors.cyan(`📝 Inferring schema for: ${relativeToRunnables}`));
|
|
465
|
-
// Infer schema for this runnable (returns schema in memory, doesn't write to file)
|
|
466
|
-
const result = await inferRunnableSchemaFromFile(process.cwd(), relativeToRunnables);
|
|
467
|
-
if (result) {
|
|
468
|
-
// log.info(colors.green(` Schema: ${JSON.stringify(result.schema, null, 2)}`));
|
|
469
|
-
// log.info(colors.green(` Runnable ID: ${result.runnableId}`));
|
|
470
|
-
// Store inferred schema in memory
|
|
471
|
-
inferredSchemas[result.runnableId] = result.schema;
|
|
472
|
-
log.info(colors.green(` Inferred Schemas: ${JSON.stringify(inferredSchemas, null, 2)}`));
|
|
473
|
-
// Regenerate wmill.d.ts with updated schema from memory
|
|
474
|
-
await genRunnablesTs(inferredSchemas);
|
|
475
|
-
}
|
|
476
|
-
}
|
|
477
|
-
catch (error) {
|
|
478
|
-
log.error(colors.red(`Error inferring schema: ${error.message}`));
|
|
479
|
-
}
|
|
480
|
-
}, SCHEMA_DEBOUNCE_MS);
|
|
481
|
-
}
|
|
482
|
-
}
|
|
483
|
-
}
|
|
484
|
-
catch (error) {
|
|
485
|
-
if (error.name !== "Interrupted") {
|
|
486
|
-
log.error(colors.red(`Error watching runnables: ${error.message}`));
|
|
487
|
-
}
|
|
488
|
-
}
|
|
489
|
-
})();
|
|
490
|
-
}
|
|
491
|
-
else {
|
|
492
|
-
log.info(colors.gray("ℹ️ No runnables folder found (will not watch for runnable changes)\n"));
|
|
493
|
-
}
|
|
494
|
-
// Create HTTP server
|
|
495
|
-
const server = http.createServer((req, res) => {
|
|
496
|
-
const url = req.url || "/";
|
|
497
|
-
// SSE endpoint for live reload
|
|
498
|
-
if (url === "/__events") {
|
|
499
|
-
res.writeHead(200, {
|
|
500
|
-
"Content-Type": "text/event-stream",
|
|
501
|
-
"Cache-Control": "no-cache",
|
|
502
|
-
Connection: "keep-alive",
|
|
503
|
-
});
|
|
504
|
-
res.write("data: connected\n\n");
|
|
505
|
-
clients.push(res);
|
|
506
|
-
req.on("close", () => {
|
|
507
|
-
const index = clients.indexOf(res);
|
|
508
|
-
if (index !== -1)
|
|
509
|
-
clients.splice(index, 1);
|
|
510
|
-
});
|
|
511
|
-
return;
|
|
512
|
-
}
|
|
513
|
-
// Serve the bundled JS
|
|
514
|
-
if (url === "/dist/bundle.js" || url === "/bundle.js") {
|
|
515
|
-
const jsPath = path.join(process.cwd(), "dist/bundle.js");
|
|
516
|
-
if (fs.existsSync(jsPath)) {
|
|
517
|
-
res.writeHead(200, { "Content-Type": "application/javascript" });
|
|
518
|
-
res.end(fs.readFileSync(jsPath));
|
|
519
|
-
}
|
|
520
|
-
else {
|
|
521
|
-
res.writeHead(404);
|
|
522
|
-
res.end("Bundle not found");
|
|
523
|
-
}
|
|
524
|
-
return;
|
|
525
|
-
}
|
|
526
|
-
// Serve the bundled CSS
|
|
527
|
-
if (url === "/dist/bundle.css" || url === "/bundle.css") {
|
|
528
|
-
const cssPath = path.join(process.cwd(), "dist/bundle.css");
|
|
529
|
-
if (fs.existsSync(cssPath)) {
|
|
530
|
-
res.writeHead(200, { "Content-Type": "text/css" });
|
|
531
|
-
res.end(fs.readFileSync(cssPath));
|
|
532
|
-
}
|
|
533
|
-
else {
|
|
534
|
-
res.writeHead(404);
|
|
535
|
-
res.end("CSS not found");
|
|
536
|
-
}
|
|
537
|
-
return;
|
|
538
|
-
}
|
|
539
|
-
// Serve source maps
|
|
540
|
-
if (url === "/dist/bundle.js.map" || url === "/bundle.js.map") {
|
|
541
|
-
const mapPath = path.join(process.cwd(), "dist/bundle.js.map");
|
|
542
|
-
if (fs.existsSync(mapPath)) {
|
|
543
|
-
res.writeHead(200, { "Content-Type": "application/json" });
|
|
544
|
-
res.end(fs.readFileSync(mapPath));
|
|
545
|
-
}
|
|
546
|
-
else {
|
|
547
|
-
res.writeHead(404);
|
|
548
|
-
res.end("Source map not found");
|
|
549
|
-
}
|
|
550
|
-
return;
|
|
551
|
-
}
|
|
552
|
-
if (url === "/dist/bundle.css.map" || url === "/bundle.css.map") {
|
|
553
|
-
const mapPath = path.join(process.cwd(), "dist/bundle.css.map");
|
|
554
|
-
if (fs.existsSync(mapPath)) {
|
|
555
|
-
res.writeHead(200, { "Content-Type": "application/json" });
|
|
556
|
-
res.end(fs.readFileSync(mapPath));
|
|
557
|
-
}
|
|
558
|
-
else {
|
|
559
|
-
res.writeHead(404);
|
|
560
|
-
res.end("Source map not found");
|
|
561
|
-
}
|
|
562
|
-
return;
|
|
563
|
-
}
|
|
564
|
-
// Serve injected HTML for root and any other path
|
|
565
|
-
res.writeHead(200, { "Content-Type": "text/html" });
|
|
566
|
-
res.end(createHTML("/dist/bundle.js", "/dist/bundle.css"));
|
|
567
|
-
});
|
|
568
|
-
// Create WebSocket server on the same HTTP server
|
|
569
|
-
const wss = new WebSocketServer({ server });
|
|
570
|
-
// SQL migration state (defined here so it's accessible in WebSocket handler)
|
|
571
|
-
const sqlToApplyPath = path.join(process.cwd(), "sql_to_apply");
|
|
572
|
-
const sqlFileQueue = [];
|
|
573
|
-
let currentSqlFile = null;
|
|
574
|
-
// Helper to read datatable from raw_app.yaml
|
|
575
|
-
async function getDatatableConfig() {
|
|
576
|
-
try {
|
|
577
|
-
const rawApp = (await yamlParseFile(path.join(process.cwd(), "raw_app.yaml")));
|
|
578
|
-
return rawApp?.data?.datatable;
|
|
579
|
-
}
|
|
580
|
-
catch {
|
|
581
|
-
return undefined;
|
|
582
|
-
}
|
|
583
|
-
}
|
|
584
|
-
// Helper to broadcast SQL migration notification to all WebSocket clients
|
|
585
|
-
function broadcastSqlMigration(fileName, sql, datatable) {
|
|
586
|
-
const message = JSON.stringify({
|
|
587
|
-
type: "sqlMigration",
|
|
588
|
-
fileName,
|
|
589
|
-
sql,
|
|
590
|
-
datatable,
|
|
591
|
-
});
|
|
592
|
-
wss.clients.forEach((client) => {
|
|
593
|
-
if (client.readyState === WebSocket.OPEN) {
|
|
594
|
-
client.send(message);
|
|
595
|
-
}
|
|
596
|
-
});
|
|
597
|
-
}
|
|
598
|
-
// Helper to add a SQL file to the queue (if not already queued)
|
|
599
|
-
function queueSqlFile(filePath) {
|
|
600
|
-
if (currentSqlFile === filePath) {
|
|
601
|
-
return; // Already being shown
|
|
602
|
-
}
|
|
603
|
-
if (sqlFileQueue.includes(filePath)) {
|
|
604
|
-
return; // Already in queue
|
|
605
|
-
}
|
|
606
|
-
sqlFileQueue.push(filePath);
|
|
607
|
-
}
|
|
608
|
-
// Helper to process the next SQL file in the queue
|
|
609
|
-
async function processNextSqlFile() {
|
|
610
|
-
if (currentSqlFile !== null) {
|
|
611
|
-
// Already showing a file, wait for it to be processed
|
|
612
|
-
return;
|
|
613
|
-
}
|
|
614
|
-
if (sqlFileQueue.length === 0) {
|
|
615
|
-
return;
|
|
616
|
-
}
|
|
617
|
-
const filePath = sqlFileQueue.shift();
|
|
618
|
-
// Check if file still exists (might have been deleted)
|
|
619
|
-
if (!fs.existsSync(filePath)) {
|
|
620
|
-
log.info(colors.gray(`File no longer exists: ${path.basename(filePath)}`));
|
|
621
|
-
// Try next file
|
|
622
|
-
await processNextSqlFile();
|
|
623
|
-
return;
|
|
624
|
-
}
|
|
625
|
-
currentSqlFile = filePath;
|
|
626
|
-
const fileName = path.basename(filePath);
|
|
627
|
-
try {
|
|
628
|
-
const sqlContent = await dntShim.Deno.readTextFile(filePath);
|
|
629
|
-
if (!sqlContent.trim()) {
|
|
630
|
-
log.info(colors.gray(`Skipping empty file: ${fileName}`));
|
|
631
|
-
currentSqlFile = null;
|
|
632
|
-
await processNextSqlFile();
|
|
633
|
-
return;
|
|
634
|
-
}
|
|
635
|
-
const datatable = await getDatatableConfig();
|
|
636
|
-
log.info(colors.magenta(`📋 SQL file ready: ${fileName} (datatable: ${datatable || "not configured"}) [${sqlFileQueue.length} more in queue]`));
|
|
637
|
-
broadcastSqlMigration(fileName, sqlContent, datatable);
|
|
638
|
-
}
|
|
639
|
-
catch (error) {
|
|
640
|
-
log.error(colors.red(`Error reading SQL file: ${error.message}`));
|
|
641
|
-
currentSqlFile = null;
|
|
642
|
-
await processNextSqlFile();
|
|
643
|
-
}
|
|
644
|
-
}
|
|
645
|
-
// Helper to handle SQL file completion (success or skip)
|
|
646
|
-
async function onSqlFileCompleted(filePath, deleteFile) {
|
|
647
|
-
if (deleteFile && fs.existsSync(filePath)) {
|
|
648
|
-
try {
|
|
649
|
-
fs.unlinkSync(filePath);
|
|
650
|
-
log.info(colors.green(`✓ Deleted: ${path.basename(filePath)}`));
|
|
651
|
-
}
|
|
652
|
-
catch (error) {
|
|
653
|
-
log.error(colors.red(`Failed to delete ${path.basename(filePath)}: ${error.message}`));
|
|
654
|
-
}
|
|
655
|
-
}
|
|
656
|
-
currentSqlFile = null;
|
|
657
|
-
// Process next file in queue
|
|
658
|
-
await processNextSqlFile();
|
|
659
|
-
}
|
|
660
|
-
wss.on("connection", async (ws) => {
|
|
661
|
-
log.info(colors.cyan("[WebSocket] Client connected"));
|
|
662
|
-
// If there's a current SQL file being shown, send it to the new client
|
|
663
|
-
if (currentSqlFile && fs.existsSync(currentSqlFile)) {
|
|
664
|
-
try {
|
|
665
|
-
const sqlContent = await dntShim.Deno.readTextFile(currentSqlFile);
|
|
666
|
-
const datatable = await getDatatableConfig();
|
|
667
|
-
const fileName = path.basename(currentSqlFile);
|
|
668
|
-
ws.send(JSON.stringify({
|
|
669
|
-
type: "sqlMigration",
|
|
670
|
-
fileName,
|
|
671
|
-
sql: sqlContent,
|
|
672
|
-
datatable,
|
|
673
|
-
}));
|
|
674
|
-
log.info(colors.magenta(`📋 Sent pending SQL file to new client: ${fileName}`));
|
|
675
|
-
}
|
|
676
|
-
catch {
|
|
677
|
-
// File might have been deleted, ignore
|
|
678
|
-
}
|
|
679
|
-
}
|
|
680
|
-
else if (fs.existsSync(sqlToApplyPath)) {
|
|
681
|
-
// No current file, but check if there are files to process
|
|
682
|
-
const entries = fs.readdirSync(sqlToApplyPath);
|
|
683
|
-
const sqlFiles = entries.filter((entry) => entry.endsWith(".sql"));
|
|
684
|
-
if (sqlFiles.length > 0 && sqlFileQueue.length === 0) {
|
|
685
|
-
// Queue and process files
|
|
686
|
-
for (const sqlFile of sqlFiles.sort()) {
|
|
687
|
-
queueSqlFile(path.join(sqlToApplyPath, sqlFile));
|
|
688
|
-
}
|
|
689
|
-
await processNextSqlFile();
|
|
690
|
-
}
|
|
691
|
-
}
|
|
692
|
-
ws.on("message", async (data) => {
|
|
693
|
-
try {
|
|
694
|
-
const message = JSON.parse(data.toString());
|
|
695
|
-
log.info(colors.cyan(`[WebSocket] Received: ${JSON.stringify(message)}`));
|
|
696
|
-
const { type, reqId, runnable_id, v, jobId } = message;
|
|
697
|
-
// Helper to send response
|
|
698
|
-
const respond = (responseType, result, error) => {
|
|
699
|
-
ws.send(JSON.stringify({ type: responseType, reqId, result, error }));
|
|
700
|
-
};
|
|
701
|
-
// Helper to execute and wait for result
|
|
702
|
-
const runAndWaitForResult = async (runnableId, args) => {
|
|
703
|
-
const runnables = await loadRunnables();
|
|
704
|
-
const runnable = runnables[runnableId];
|
|
705
|
-
if (!runnable) {
|
|
706
|
-
throw new Error(`Runnable not found: ${runnableId}`);
|
|
707
|
-
}
|
|
708
|
-
const uuid = await executeRunnable(runnable, workspaceId, appPath, runnableId, args);
|
|
709
|
-
log.info(colors.gray(`[backend] Job started: ${uuid}`));
|
|
710
|
-
const result = await waitForJob(workspaceId, uuid);
|
|
711
|
-
return { uuid, result };
|
|
712
|
-
};
|
|
713
|
-
switch (type) {
|
|
714
|
-
case "backend": {
|
|
715
|
-
// Run a runnable synchronously and wait for result
|
|
716
|
-
log.info(colors.blue(`[backend] Running runnable: ${runnable_id}`));
|
|
717
|
-
try {
|
|
718
|
-
const { result } = await runAndWaitForResult(runnable_id, v);
|
|
719
|
-
respond("backendRes", result, false);
|
|
720
|
-
}
|
|
721
|
-
catch (error) {
|
|
722
|
-
log.error(colors.red(`[backend] Error: ${error.message}`));
|
|
723
|
-
respond("backendRes", { message: error.message, stack: error.stack }, true);
|
|
724
|
-
}
|
|
725
|
-
break;
|
|
726
|
-
}
|
|
727
|
-
case "backendAsync": {
|
|
728
|
-
// Run a runnable asynchronously and return job ID immediately
|
|
729
|
-
log.info(colors.blue(`[backendAsync] Running runnable async: ${runnable_id}`));
|
|
730
|
-
try {
|
|
731
|
-
const runnables = await loadRunnables();
|
|
732
|
-
const runnable = runnables[runnable_id];
|
|
733
|
-
if (!runnable) {
|
|
734
|
-
throw new Error(`Runnable not found: ${runnable_id}`);
|
|
735
|
-
}
|
|
736
|
-
const uuid = await executeRunnable(runnable, workspaceId, appPath, runnable_id, v);
|
|
737
|
-
log.info(colors.gray(`[backendAsync] Job started: ${uuid}`));
|
|
738
|
-
// Return job ID immediately
|
|
739
|
-
respond("backendAsyncRes", uuid, false);
|
|
740
|
-
// Wait for result in the background and send it when done
|
|
741
|
-
waitForJob(workspaceId, uuid)
|
|
742
|
-
.then((result) => {
|
|
743
|
-
respond("backendRes", result, false);
|
|
744
|
-
})
|
|
745
|
-
.catch((error) => {
|
|
746
|
-
respond("backendRes", { message: error.message, stack: error.stack }, true);
|
|
747
|
-
});
|
|
748
|
-
}
|
|
749
|
-
catch (error) {
|
|
750
|
-
log.error(colors.red(`[backendAsync] Error: ${error.message}`));
|
|
751
|
-
respond("backendAsyncRes", { message: error.message, stack: error.stack }, true);
|
|
752
|
-
}
|
|
753
|
-
break;
|
|
754
|
-
}
|
|
755
|
-
case "waitJob": {
|
|
756
|
-
// Wait for a job to complete and return its result
|
|
757
|
-
log.info(colors.blue(`[waitJob] Waiting for job: ${jobId}`));
|
|
758
|
-
try {
|
|
759
|
-
const result = await waitForJob(workspaceId, jobId);
|
|
760
|
-
respond("backendRes", result, false);
|
|
761
|
-
}
|
|
762
|
-
catch (error) {
|
|
763
|
-
log.error(colors.red(`[waitJob] Error: ${error.message}`));
|
|
764
|
-
respond("backendRes", { message: error.message, stack: error.stack }, true);
|
|
765
|
-
}
|
|
766
|
-
break;
|
|
767
|
-
}
|
|
768
|
-
case "getJob": {
|
|
769
|
-
// Get the current status/result of a job
|
|
770
|
-
log.info(colors.blue(`[getJob] Getting job status: ${jobId}`));
|
|
771
|
-
try {
|
|
772
|
-
const result = await getJobStatus(workspaceId, jobId);
|
|
773
|
-
respond("backendRes", result, false);
|
|
774
|
-
}
|
|
775
|
-
catch (error) {
|
|
776
|
-
log.error(colors.red(`[getJob] Error: ${error.message}`));
|
|
777
|
-
respond("backendRes", { message: error.message, stack: error.stack }, true);
|
|
778
|
-
}
|
|
779
|
-
break;
|
|
780
|
-
}
|
|
781
|
-
case "streamJob": {
|
|
782
|
-
// Stream job results using SSE
|
|
783
|
-
log.info(colors.blue(`[streamJob] Streaming job: ${jobId}`));
|
|
784
|
-
try {
|
|
785
|
-
await streamJobWithSSE(workspaceId, jobId, reqId, ws, workspace.remote, workspace.token);
|
|
786
|
-
}
|
|
787
|
-
catch (error) {
|
|
788
|
-
log.error(colors.red(`[streamJob] Error: ${error.message}`));
|
|
789
|
-
ws.send(JSON.stringify({
|
|
790
|
-
type: "streamJobRes",
|
|
791
|
-
reqId,
|
|
792
|
-
error: true,
|
|
793
|
-
result: { message: error.message, stack: error.stack },
|
|
794
|
-
}));
|
|
795
|
-
}
|
|
796
|
-
break;
|
|
797
|
-
}
|
|
798
|
-
case "applySqlMigration": {
|
|
799
|
-
// Execute SQL migration against a datatable
|
|
800
|
-
const { sql, datatable, fileName } = message;
|
|
801
|
-
log.info(colors.blue(`[SQL Migration] Applying SQL from ${fileName} to datatable: ${datatable}`));
|
|
802
|
-
if (!datatable) {
|
|
803
|
-
ws.send(JSON.stringify({
|
|
804
|
-
type: "sqlMigrationResult",
|
|
805
|
-
error: true,
|
|
806
|
-
message: "No datatable configured. Set data.datatable in raw_app.yaml.",
|
|
807
|
-
}));
|
|
808
|
-
break;
|
|
809
|
-
}
|
|
810
|
-
try {
|
|
811
|
-
// Run SQL as a preview script against the datatable
|
|
812
|
-
const uuid = await wmill.runScriptPreview({
|
|
813
|
-
workspace: workspaceId,
|
|
814
|
-
requestBody: {
|
|
815
|
-
language: "postgresql",
|
|
816
|
-
content: sql,
|
|
817
|
-
args: { database: `datatable://${datatable}` },
|
|
818
|
-
},
|
|
819
|
-
});
|
|
820
|
-
log.info(colors.gray(`[SQL Migration] Job started: ${uuid}`));
|
|
821
|
-
// Wait for the result
|
|
822
|
-
const result = await waitForJob(workspaceId, uuid);
|
|
823
|
-
log.info(colors.green(`[SQL Migration] SQL applied successfully`));
|
|
824
|
-
ws.send(JSON.stringify({
|
|
825
|
-
type: "sqlMigrationResult",
|
|
826
|
-
error: false,
|
|
827
|
-
result,
|
|
828
|
-
}));
|
|
829
|
-
// Delete the SQL file and process next in queue
|
|
830
|
-
if (currentSqlFile) {
|
|
831
|
-
await onSqlFileCompleted(currentSqlFile, true);
|
|
832
|
-
}
|
|
833
|
-
// Regenerate AGENTS.md and DATATABLES.md to reflect schema changes
|
|
834
|
-
try {
|
|
835
|
-
await regenerateAgentDocs(workspaceId, process.cwd(), true);
|
|
836
|
-
log.info(colors.gray(`[SQL Migration] Refreshed AGENTS.md and DATATABLES.md`));
|
|
837
|
-
}
|
|
838
|
-
catch (regenError) {
|
|
839
|
-
log.warn(colors.yellow(`[SQL Migration] Could not refresh docs: ${regenError.message}`));
|
|
840
|
-
}
|
|
841
|
-
}
|
|
842
|
-
catch (error) {
|
|
843
|
-
log.error(colors.red(`[SQL Migration] Error: ${error.message}`));
|
|
844
|
-
ws.send(JSON.stringify({
|
|
845
|
-
type: "sqlMigrationResult",
|
|
846
|
-
error: true,
|
|
847
|
-
message: error.message || String(error),
|
|
848
|
-
}));
|
|
849
|
-
// Don't delete file on error, but clear current so user can retry
|
|
850
|
-
currentSqlFile = null;
|
|
851
|
-
}
|
|
852
|
-
break;
|
|
853
|
-
}
|
|
854
|
-
case "skipSqlMigration": {
|
|
855
|
-
// User chose to skip this SQL file
|
|
856
|
-
const { fileName } = message;
|
|
857
|
-
log.info(colors.yellow(`[SQL Migration] Skipped: ${fileName}`));
|
|
858
|
-
// Don't delete file, just move to next
|
|
859
|
-
if (currentSqlFile) {
|
|
860
|
-
await onSqlFileCompleted(currentSqlFile, false);
|
|
861
|
-
}
|
|
862
|
-
break;
|
|
863
|
-
}
|
|
864
|
-
default:
|
|
865
|
-
log.warn(colors.yellow(`[WebSocket] Unknown message type: ${type}`));
|
|
866
|
-
respond("error", { message: `Unknown message type: ${type}` }, true);
|
|
867
|
-
}
|
|
868
|
-
}
|
|
869
|
-
catch (error) {
|
|
870
|
-
log.error(colors.red(`[WebSocket] Failed to parse message: ${error.message}`));
|
|
871
|
-
}
|
|
872
|
-
});
|
|
873
|
-
ws.on("close", () => {
|
|
874
|
-
log.info(colors.cyan("[WebSocket] Client disconnected"));
|
|
875
|
-
});
|
|
876
|
-
ws.on("error", (error) => {
|
|
877
|
-
log.error(colors.red(`[WebSocket] Error: ${error.message}`));
|
|
878
|
-
});
|
|
879
|
-
});
|
|
880
|
-
// Watch sql_to_apply folder for SQL migration files
|
|
881
|
-
let sqlWatcher;
|
|
882
|
-
// Helper to scan for existing SQL files and add them to the queue
|
|
883
|
-
async function scanExistingSqlFiles() {
|
|
884
|
-
if (!fs.existsSync(sqlToApplyPath)) {
|
|
885
|
-
return;
|
|
886
|
-
}
|
|
887
|
-
try {
|
|
888
|
-
const entries = fs.readdirSync(sqlToApplyPath);
|
|
889
|
-
const sqlFiles = entries
|
|
890
|
-
.filter((entry) => entry.endsWith(".sql"))
|
|
891
|
-
.sort(); // Sort alphabetically to process in order
|
|
892
|
-
if (sqlFiles.length === 0) {
|
|
893
|
-
return;
|
|
894
|
-
}
|
|
895
|
-
log.info(colors.blue(`🔍 Found ${sqlFiles.length} SQL file(s) in sql_to_apply/`));
|
|
896
|
-
// Add each SQL file to the queue
|
|
897
|
-
for (const sqlFile of sqlFiles) {
|
|
898
|
-
const filePath = path.join(sqlToApplyPath, sqlFile);
|
|
899
|
-
queueSqlFile(filePath);
|
|
900
|
-
}
|
|
901
|
-
// Start processing the queue
|
|
902
|
-
await processNextSqlFile();
|
|
903
|
-
}
|
|
904
|
-
catch (error) {
|
|
905
|
-
log.error(colors.red(`Error scanning sql_to_apply folder: ${error.message}`));
|
|
906
|
-
}
|
|
907
|
-
}
|
|
908
|
-
if (fs.existsSync(sqlToApplyPath)) {
|
|
909
|
-
log.info(colors.blue(`🗃️ Watching sql_to_apply folder at: ${sqlToApplyPath}\n`));
|
|
910
|
-
sqlWatcher = dntShim.Deno.watchFs(sqlToApplyPath);
|
|
911
|
-
// Debounce timeout for SQL file changes
|
|
912
|
-
const sqlDebounceTimeouts = {};
|
|
913
|
-
const SQL_DEBOUNCE_MS = 300;
|
|
914
|
-
// Handle SQL file changes in the background
|
|
915
|
-
(async () => {
|
|
916
|
-
try {
|
|
917
|
-
for await (const event of sqlWatcher) {
|
|
918
|
-
for (const changedPath of event.paths) {
|
|
919
|
-
// Only handle .sql files
|
|
920
|
-
if (!changedPath.endsWith(".sql")) {
|
|
921
|
-
continue;
|
|
922
|
-
}
|
|
923
|
-
// Only handle modify and create events
|
|
924
|
-
if (event.kind !== "modify" && event.kind !== "create") {
|
|
925
|
-
continue;
|
|
926
|
-
}
|
|
927
|
-
const fileName = path.basename(changedPath);
|
|
928
|
-
// Debounce per file
|
|
929
|
-
if (sqlDebounceTimeouts[changedPath]) {
|
|
930
|
-
clearTimeout(sqlDebounceTimeouts[changedPath]);
|
|
931
|
-
}
|
|
932
|
-
sqlDebounceTimeouts[changedPath] = setTimeout(async () => {
|
|
933
|
-
delete sqlDebounceTimeouts[changedPath];
|
|
934
|
-
log.info(colors.cyan(`📋 SQL file detected: ${fileName}`));
|
|
935
|
-
// Add to queue and process
|
|
936
|
-
queueSqlFile(changedPath);
|
|
937
|
-
await processNextSqlFile();
|
|
938
|
-
}, SQL_DEBOUNCE_MS);
|
|
939
|
-
}
|
|
940
|
-
}
|
|
941
|
-
}
|
|
942
|
-
catch (error) {
|
|
943
|
-
if (error.name !== "Interrupted") {
|
|
944
|
-
log.error(colors.red(`Error watching sql_to_apply: ${error.message}`));
|
|
945
|
-
}
|
|
946
|
-
}
|
|
947
|
-
})();
|
|
948
|
-
// Scan for existing SQL files after a delay (to let WebSocket clients connect)
|
|
949
|
-
setTimeout(() => {
|
|
950
|
-
scanExistingSqlFiles();
|
|
951
|
-
}, 2000);
|
|
952
|
-
}
|
|
953
|
-
else {
|
|
954
|
-
log.info(colors.gray("ℹ️ No sql_to_apply folder found (will not watch for SQL migrations)\n"));
|
|
955
|
-
}
|
|
956
|
-
server.listen(port, host, () => {
|
|
957
|
-
const url = `http://${host}:${port}`;
|
|
958
|
-
log.info(colors.bold.green(`🚀 Dev server running at ${url}`));
|
|
959
|
-
log.info(colors.cyan(`🔌 WebSocket server running at ws://${host}:${port}`));
|
|
960
|
-
log.info(colors.gray(`📦 Serving files from: ${process.cwd()}`));
|
|
961
|
-
log.info(colors.gray(`🔄 Live reload enabled\n`));
|
|
962
|
-
// Open browser if requested
|
|
963
|
-
if (shouldOpen) {
|
|
964
|
-
try {
|
|
965
|
-
open
|
|
966
|
-
.openApp(open.apps.browser, { arguments: [url] })
|
|
967
|
-
.catch((error) => {
|
|
968
|
-
log.error(colors.yellow(`Failed to open browser automatically: ${error.message}`));
|
|
969
|
-
});
|
|
970
|
-
log.info(colors.gray("Opened browser for you"));
|
|
971
|
-
}
|
|
972
|
-
catch (error) {
|
|
973
|
-
log.error(colors.yellow(`Failed to open browser: ${error.message}`));
|
|
974
|
-
}
|
|
975
|
-
}
|
|
976
|
-
});
|
|
977
|
-
// Graceful shutdown
|
|
978
|
-
process.on("SIGINT", async () => {
|
|
979
|
-
log.info(colors.yellow("\n\n🛑 Shutting down..."));
|
|
980
|
-
clients.forEach((client) => client.end());
|
|
981
|
-
server.close();
|
|
982
|
-
// Close runnables watcher if it exists
|
|
983
|
-
if (runnablesWatcher) {
|
|
984
|
-
runnablesWatcher.close();
|
|
985
|
-
}
|
|
986
|
-
// Close SQL watcher if it exists
|
|
987
|
-
if (sqlWatcher) {
|
|
988
|
-
sqlWatcher.close();
|
|
989
|
-
}
|
|
990
|
-
await ctx.dispose();
|
|
991
|
-
process.exit(0);
|
|
992
|
-
});
|
|
993
|
-
}
|
|
994
|
-
const command = new Command()
|
|
995
|
-
.description("Start a development server for building apps with live reload and hot module replacement")
|
|
996
|
-
.arguments("[app_folder:string]")
|
|
997
|
-
.option("--port <port:number>", "Port to run the dev server on (will find next available port if occupied)")
|
|
998
|
-
.option("--host <host:string>", "Host to bind the dev server to", {
|
|
999
|
-
default: DEFAULT_HOST,
|
|
1000
|
-
})
|
|
1001
|
-
.option("--entry <entry:string>", "Entry point file (default: index.ts for Svelte/Vue, index.tsx otherwise)")
|
|
1002
|
-
.option("--no-open", "Don't automatically open the browser")
|
|
1003
|
-
.action(dev);
|
|
1004
|
-
export default command;
|
|
1005
|
-
/**
|
|
1006
|
-
* Generates wmill.d.ts with type definitions for runnables.
|
|
1007
|
-
* Loads runnables from separate YAML files in the backend folder (new format)
|
|
1008
|
-
* or falls back to raw_app.yaml (old format).
|
|
1009
|
-
* Merges in-memory inferred schemas with runnables.
|
|
1010
|
-
*
|
|
1011
|
-
* @param schemaOverrides - In-memory schema overrides (runnableId -> schema)
|
|
1012
|
-
*/
|
|
1013
|
-
async function genRunnablesTs(schemaOverrides = {}) {
|
|
1014
|
-
log.info(colors.blue("🔄 Generating wmill.d.ts..."));
|
|
1015
|
-
const localPath = process.cwd();
|
|
1016
|
-
const backendPath = path.join(localPath, APP_BACKEND_FOLDER);
|
|
1017
|
-
// Load runnables from separate files (new format) or fall back to raw_app.yaml (old format)
|
|
1018
|
-
let runnables = await loadRunnablesFromBackend(backendPath);
|
|
1019
|
-
if (Object.keys(runnables).length === 0) {
|
|
1020
|
-
// Fall back to old format
|
|
1021
|
-
try {
|
|
1022
|
-
const rawApp = (await yamlParseFile(path.join(localPath, "raw_app.yaml")));
|
|
1023
|
-
runnables = rawApp?.["runnables"] ?? {};
|
|
1024
|
-
}
|
|
1025
|
-
catch {
|
|
1026
|
-
runnables = {};
|
|
1027
|
-
}
|
|
1028
|
-
}
|
|
1029
|
-
// Apply schema overrides from in-memory cache
|
|
1030
|
-
if (Object.keys(schemaOverrides).length > 0) {
|
|
1031
|
-
for (const [runnableId, schema] of Object.entries(schemaOverrides)) {
|
|
1032
|
-
if (runnables[runnableId]?.inlineScript) {
|
|
1033
|
-
runnables[runnableId].inlineScript.schema = schema;
|
|
1034
|
-
runnables[runnableId].type = "inline";
|
|
1035
|
-
}
|
|
1036
|
-
}
|
|
1037
|
-
}
|
|
1038
|
-
try {
|
|
1039
|
-
const newWmillTs = windmillUtils.genWmillTs(runnables);
|
|
1040
|
-
writeFileSync(path.join(process.cwd(), "wmill.d.ts"), newWmillTs);
|
|
1041
|
-
}
|
|
1042
|
-
catch (error) {
|
|
1043
|
-
log.error(colors.red(`Failed to generate wmill.d.ts: ${error.message}`));
|
|
1044
|
-
}
|
|
1045
|
-
}
|
|
1046
|
-
/**
|
|
1047
|
-
* Convert runnables from file format to API format.
|
|
1048
|
-
* File format uses type: "script"|"hubscript"|"flow" for path-based runnables.
|
|
1049
|
-
* API format uses type: "path" with runType: "script"|"hubscript"|"flow".
|
|
1050
|
-
*/
|
|
1051
|
-
function convertRunnablesToApiFormat(runnables) {
|
|
1052
|
-
for (const [runnableId, runnable] of Object.entries(runnables)) {
|
|
1053
|
-
if (runnable?.type === "script" ||
|
|
1054
|
-
runnable?.type === "hubscript" ||
|
|
1055
|
-
runnable?.type === "flow") {
|
|
1056
|
-
// Convert from file format to API format
|
|
1057
|
-
// { type: "script" } -> { type: "path", runType: "script" }
|
|
1058
|
-
const originalType = runnable.type;
|
|
1059
|
-
runnable.runType = originalType;
|
|
1060
|
-
runnable.type = "path";
|
|
1061
|
-
log.debug(`Converted runnable '${runnableId}' from type='${originalType}' to type='path', runType='${originalType}'`);
|
|
1062
|
-
}
|
|
1063
|
-
}
|
|
1064
|
-
}
|
|
1065
|
-
async function loadRunnables() {
|
|
1066
|
-
try {
|
|
1067
|
-
const localPath = process.cwd();
|
|
1068
|
-
const backendPath = path.join(localPath, APP_BACKEND_FOLDER);
|
|
1069
|
-
// Load runnables from separate files (new format) or fall back to raw_app.yaml (old format)
|
|
1070
|
-
let runnables = await loadRunnablesFromBackend(backendPath);
|
|
1071
|
-
if (Object.keys(runnables).length === 0) {
|
|
1072
|
-
// Fall back to old format
|
|
1073
|
-
const rawApp = (await yamlParseFile(path.join(localPath, "raw_app.yaml")));
|
|
1074
|
-
runnables = rawApp?.runnables ?? {};
|
|
1075
|
-
}
|
|
1076
|
-
// Always convert path-based runnables from file format to API format
|
|
1077
|
-
// This handles both backend folder runnables and raw_app.yaml runnables
|
|
1078
|
-
convertRunnablesToApiFormat(runnables);
|
|
1079
|
-
replaceInlineScripts(runnables, backendPath + SEP, true);
|
|
1080
|
-
repopulateFields(runnables);
|
|
1081
|
-
return runnables;
|
|
1082
|
-
}
|
|
1083
|
-
catch (error) {
|
|
1084
|
-
log.error(colors.red(`Failed to load runnables: ${error.message}`));
|
|
1085
|
-
return {};
|
|
1086
|
-
}
|
|
1087
|
-
}
|
|
1088
|
-
async function executeRunnable(runnable, workspace, appPath, runnableId, args) {
|
|
1089
|
-
const requestBody = {
|
|
1090
|
-
component: runnableId,
|
|
1091
|
-
args: args ?? {},
|
|
1092
|
-
force_viewer_static_fields: {},
|
|
1093
|
-
force_viewer_one_of_fields: {},
|
|
1094
|
-
force_viewer_allow_user_resources: [],
|
|
1095
|
-
};
|
|
1096
|
-
// Handle fields (static, ctx, user)
|
|
1097
|
-
if (runnable.fields) {
|
|
1098
|
-
for (const [key, field] of Object.entries(runnable.fields)) {
|
|
1099
|
-
if (field?.type === "static") {
|
|
1100
|
-
requestBody.force_viewer_static_fields[key] = field.value;
|
|
1101
|
-
}
|
|
1102
|
-
else if (field?.type === "ctx" && field?.ctx) {
|
|
1103
|
-
// Convert ctx fields to $ctx:property format for backend resolution
|
|
1104
|
-
requestBody.args[key] = `$ctx:${field.ctx}`;
|
|
1105
|
-
}
|
|
1106
|
-
if (field?.type === "user" && field?.allowUserResources) {
|
|
1107
|
-
requestBody.force_viewer_allow_user_resources.push(key);
|
|
1108
|
-
}
|
|
1109
|
-
}
|
|
1110
|
-
}
|
|
1111
|
-
if ((runnable.type === "inline" || runnable.type === "runnableByName") &&
|
|
1112
|
-
runnable.inlineScript) {
|
|
1113
|
-
const inlineScript = runnable.inlineScript;
|
|
1114
|
-
if (inlineScript.id !== undefined) {
|
|
1115
|
-
requestBody.id = inlineScript.id;
|
|
1116
|
-
}
|
|
1117
|
-
requestBody.raw_code = {
|
|
1118
|
-
content: inlineScript.id === undefined ? inlineScript.content : "",
|
|
1119
|
-
language: inlineScript.language ?? "",
|
|
1120
|
-
path: `${appPath}/${runnableId}`,
|
|
1121
|
-
lock: inlineScript.id === undefined ? inlineScript.lock : undefined,
|
|
1122
|
-
cache_ttl: inlineScript.cache_ttl,
|
|
1123
|
-
};
|
|
1124
|
-
}
|
|
1125
|
-
else if ((runnable.type === "path" || runnable.type === "runnableByPath") &&
|
|
1126
|
-
runnable.runType &&
|
|
1127
|
-
runnable.path) {
|
|
1128
|
-
// Path-based runnables have type: "path" (or legacy "runnableByPath") and runType: "script"|"hubscript"|"flow"
|
|
1129
|
-
const prefix = runnable.runType;
|
|
1130
|
-
requestBody.path = prefix !== "hubscript"
|
|
1131
|
-
? `${prefix}/${runnable.path}`
|
|
1132
|
-
: `script/${runnable.path}`;
|
|
1133
|
-
}
|
|
1134
|
-
else {
|
|
1135
|
-
// Neither inline script nor valid path-based runnable
|
|
1136
|
-
const debugInfo = `type=${runnable.type}, runType=${runnable.runType}, ` +
|
|
1137
|
-
`path=${runnable.path}, hasInlineScript=${!!runnable
|
|
1138
|
-
.inlineScript}`;
|
|
1139
|
-
log.error(colors.red(`[executeRunnable] Invalid runnable configuration for '${runnableId}': ${debugInfo}`));
|
|
1140
|
-
throw new Error(`Invalid runnable '${runnableId}': ${debugInfo}. ` +
|
|
1141
|
-
`Must have either inlineScript (for inline type) or type="path" with runType and path fields`);
|
|
1142
|
-
}
|
|
1143
|
-
const uuid = await wmill.executeComponent({
|
|
1144
|
-
workspace,
|
|
1145
|
-
path: appPath,
|
|
1146
|
-
requestBody,
|
|
1147
|
-
});
|
|
1148
|
-
return uuid;
|
|
1149
|
-
}
|
|
1150
|
-
const ITERATIONS_BEFORE_SLOW_REFRESH = 10;
|
|
1151
|
-
const ITERATIONS_BEFORE_SUPER_SLOW_REFRESH = 100;
|
|
1152
|
-
async function waitForJob(workspace, jobId) {
|
|
1153
|
-
if (!jobId) {
|
|
1154
|
-
throw new Error("Job ID is required");
|
|
1155
|
-
}
|
|
1156
|
-
let syncIteration = 0;
|
|
1157
|
-
return new Promise((resolve, reject) => {
|
|
1158
|
-
async function checkJob() {
|
|
1159
|
-
try {
|
|
1160
|
-
const maybeJob = await wmill.getCompletedJobResultMaybe({
|
|
1161
|
-
workspace,
|
|
1162
|
-
id: jobId,
|
|
1163
|
-
getStarted: false,
|
|
1164
|
-
});
|
|
1165
|
-
if (maybeJob.completed) {
|
|
1166
|
-
if (!maybeJob.success &&
|
|
1167
|
-
typeof maybeJob.result === "object" &&
|
|
1168
|
-
maybeJob.result !== null &&
|
|
1169
|
-
"error" in maybeJob.result) {
|
|
1170
|
-
reject(maybeJob.result.error);
|
|
1171
|
-
}
|
|
1172
|
-
else {
|
|
1173
|
-
resolve(maybeJob.result);
|
|
1174
|
-
}
|
|
1175
|
-
return;
|
|
1176
|
-
}
|
|
1177
|
-
}
|
|
1178
|
-
catch (err) {
|
|
1179
|
-
log.error(colors.red(`Error checking job ${jobId}: ${err.message}`));
|
|
1180
|
-
}
|
|
1181
|
-
syncIteration++;
|
|
1182
|
-
let nextIteration = 50;
|
|
1183
|
-
if (syncIteration > ITERATIONS_BEFORE_SUPER_SLOW_REFRESH) {
|
|
1184
|
-
nextIteration = 2000;
|
|
1185
|
-
}
|
|
1186
|
-
else if (syncIteration > ITERATIONS_BEFORE_SLOW_REFRESH) {
|
|
1187
|
-
nextIteration = 500;
|
|
1188
|
-
}
|
|
1189
|
-
setTimeout(checkJob, nextIteration);
|
|
1190
|
-
}
|
|
1191
|
-
checkJob();
|
|
1192
|
-
});
|
|
1193
|
-
}
|
|
1194
|
-
async function getJobStatus(workspace, jobId) {
|
|
1195
|
-
return await wmill.getJob({
|
|
1196
|
-
workspace,
|
|
1197
|
-
id: jobId,
|
|
1198
|
-
});
|
|
1199
|
-
}
|
|
1200
|
-
async function streamJobWithSSE(workspace, jobId, reqId, ws, baseUrl, token) {
|
|
1201
|
-
const sseUrl = `${baseUrl}api/w/${workspace}/jobs_u/getupdate_sse/${jobId}?fast=true`;
|
|
1202
|
-
const response = await fetch(sseUrl, {
|
|
1203
|
-
headers: {
|
|
1204
|
-
Accept: "text/event-stream",
|
|
1205
|
-
Authorization: `Bearer ${token}`,
|
|
1206
|
-
},
|
|
1207
|
-
});
|
|
1208
|
-
if (!response.ok) {
|
|
1209
|
-
throw new Error(`SSE request failed: ${response.status} ${response.statusText}`);
|
|
1210
|
-
}
|
|
1211
|
-
const reader = response.body?.getReader();
|
|
1212
|
-
if (!reader) {
|
|
1213
|
-
throw new Error("No response body for SSE stream");
|
|
1214
|
-
}
|
|
1215
|
-
const decoder = new TextDecoder();
|
|
1216
|
-
let buffer = "";
|
|
1217
|
-
try {
|
|
1218
|
-
while (true) {
|
|
1219
|
-
const { done, value } = await reader.read();
|
|
1220
|
-
if (done)
|
|
1221
|
-
break;
|
|
1222
|
-
buffer += decoder.decode(value, { stream: true });
|
|
1223
|
-
const lines = buffer.split("\n");
|
|
1224
|
-
buffer = lines.pop() || "";
|
|
1225
|
-
for (const line of lines) {
|
|
1226
|
-
if (line.startsWith("data: ")) {
|
|
1227
|
-
const data = line.slice(6);
|
|
1228
|
-
try {
|
|
1229
|
-
const update = JSON.parse(data);
|
|
1230
|
-
const type = update.type;
|
|
1231
|
-
if (type === "ping" || type === "timeout") {
|
|
1232
|
-
if (type === "timeout") {
|
|
1233
|
-
reader.cancel();
|
|
1234
|
-
return;
|
|
1235
|
-
}
|
|
1236
|
-
continue;
|
|
1237
|
-
}
|
|
1238
|
-
if (type === "error") {
|
|
1239
|
-
ws.send(JSON.stringify({
|
|
1240
|
-
type: "streamJobRes",
|
|
1241
|
-
reqId,
|
|
1242
|
-
error: true,
|
|
1243
|
-
result: { message: update.error || "SSE error" },
|
|
1244
|
-
}));
|
|
1245
|
-
reader.cancel();
|
|
1246
|
-
return;
|
|
1247
|
-
}
|
|
1248
|
-
if (type === "not_found") {
|
|
1249
|
-
ws.send(JSON.stringify({
|
|
1250
|
-
type: "streamJobRes",
|
|
1251
|
-
reqId,
|
|
1252
|
-
error: true,
|
|
1253
|
-
result: { message: "Job not found" },
|
|
1254
|
-
}));
|
|
1255
|
-
reader.cancel();
|
|
1256
|
-
return;
|
|
1257
|
-
}
|
|
1258
|
-
// Send stream update if there's new stream data
|
|
1259
|
-
if (update.new_result_stream !== undefined) {
|
|
1260
|
-
ws.send(JSON.stringify({
|
|
1261
|
-
type: "streamJobUpdate",
|
|
1262
|
-
reqId,
|
|
1263
|
-
new_result_stream: update.new_result_stream,
|
|
1264
|
-
stream_offset: update.stream_offset,
|
|
1265
|
-
}));
|
|
1266
|
-
}
|
|
1267
|
-
// Check if job is completed
|
|
1268
|
-
if (update.completed) {
|
|
1269
|
-
ws.send(JSON.stringify({
|
|
1270
|
-
type: "streamJobRes",
|
|
1271
|
-
reqId,
|
|
1272
|
-
error: false,
|
|
1273
|
-
result: update.only_result,
|
|
1274
|
-
}));
|
|
1275
|
-
reader.cancel();
|
|
1276
|
-
return;
|
|
1277
|
-
}
|
|
1278
|
-
}
|
|
1279
|
-
catch (parseErr) {
|
|
1280
|
-
log.warn(`Failed to parse SSE data: ${parseErr}`);
|
|
1281
|
-
}
|
|
1282
|
-
}
|
|
1283
|
-
}
|
|
1284
|
-
}
|
|
1285
|
-
}
|
|
1286
|
-
finally {
|
|
1287
|
-
reader.releaseLock();
|
|
1288
|
-
}
|
|
1289
|
-
}
|