terminal-pilot 0.0.37 → 0.0.39
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/dist/cli.d.ts +1 -0
- package/dist/cli.js +168 -5
- package/dist/cli.js.map +3 -3
- package/dist/commands/close-session.js +4 -1
- package/dist/commands/close-session.js.map +2 -2
- package/dist/commands/create-session.js +4 -1
- package/dist/commands/create-session.js.map +2 -2
- package/dist/commands/daemon-runtime.js +11 -3
- package/dist/commands/daemon-runtime.js.map +2 -2
- package/dist/commands/fill.js +4 -1
- package/dist/commands/fill.js.map +2 -2
- package/dist/commands/get-session.js +4 -1
- package/dist/commands/get-session.js.map +2 -2
- package/dist/commands/index.js +148 -1
- package/dist/commands/index.js.map +3 -3
- package/dist/commands/install.js +145 -1
- package/dist/commands/install.js.map +3 -3
- package/dist/commands/installer.js +145 -1
- package/dist/commands/installer.js.map +3 -3
- package/dist/commands/list-sessions.js +4 -1
- package/dist/commands/list-sessions.js.map +2 -2
- package/dist/commands/press-key.js +4 -1
- package/dist/commands/press-key.js.map +2 -2
- package/dist/commands/read-history.js +4 -1
- package/dist/commands/read-history.js.map +2 -2
- package/dist/commands/read-screen.js +4 -1
- package/dist/commands/read-screen.js.map +2 -2
- package/dist/commands/resize.js +4 -1
- package/dist/commands/resize.js.map +2 -2
- package/dist/commands/runtime.d.ts +1 -0
- package/dist/commands/runtime.js +4 -1
- package/dist/commands/runtime.js.map +2 -2
- package/dist/commands/screenshot.js +4 -1
- package/dist/commands/screenshot.js.map +2 -2
- package/dist/commands/send-signal.js +4 -1
- package/dist/commands/send-signal.js.map +2 -2
- package/dist/commands/type.js +4 -1
- package/dist/commands/type.js.map +2 -2
- package/dist/commands/uninstall.js +145 -1
- package/dist/commands/uninstall.js.map +3 -3
- package/dist/commands/wait-for-exit.js +4 -1
- package/dist/commands/wait-for-exit.js.map +2 -2
- package/dist/commands/wait-for.js +4 -1
- package/dist/commands/wait-for.js.map +2 -2
- package/dist/testing/cli-repl.js +168 -5
- package/dist/testing/cli-repl.js.map +3 -3
- package/dist/testing/qa-cli.js +168 -5
- package/dist/testing/qa-cli.js.map +3 -3
- package/node_modules/toolcraft-design/README.md +187 -5
- package/node_modules/toolcraft-design/dist/brand.d.ts +2 -0
- package/node_modules/toolcraft-design/dist/brand.js +1 -0
- package/node_modules/toolcraft-design/dist/brands.d.ts +2 -0
- package/node_modules/toolcraft-design/dist/brands.js +1 -0
- package/node_modules/toolcraft-design/dist/cancel.d.ts +1 -0
- package/node_modules/toolcraft-design/dist/cancel.js +1 -0
- package/node_modules/toolcraft-design/dist/color.d.ts +2 -0
- package/node_modules/toolcraft-design/dist/color.js +1 -0
- package/node_modules/toolcraft-design/dist/configure-theme.d.ts +1 -0
- package/node_modules/toolcraft-design/dist/configure-theme.js +1 -0
- package/node_modules/toolcraft-design/dist/confirm-or-cancel.d.ts +2 -0
- package/node_modules/toolcraft-design/dist/confirm-or-cancel.js +1 -0
- package/node_modules/toolcraft-design/dist/confirm.d.ts +2 -0
- package/node_modules/toolcraft-design/dist/confirm.js +1 -0
- package/node_modules/toolcraft-design/dist/create-dashboard.d.ts +2 -0
- package/node_modules/toolcraft-design/dist/create-dashboard.js +1 -0
- package/node_modules/toolcraft-design/dist/create-logger.d.ts +2 -0
- package/node_modules/toolcraft-design/dist/create-logger.js +1 -0
- package/node_modules/toolcraft-design/dist/dark.d.ts +2 -0
- package/node_modules/toolcraft-design/dist/dark.js +1 -0
- package/node_modules/toolcraft-design/dist/format-columns.d.ts +2 -0
- package/node_modules/toolcraft-design/dist/format-columns.js +1 -0
- package/node_modules/toolcraft-design/dist/format-command-list.d.ts +2 -0
- package/node_modules/toolcraft-design/dist/format-command-list.js +1 -0
- package/node_modules/toolcraft-design/dist/format-command-not-found-panel.d.ts +1 -0
- package/node_modules/toolcraft-design/dist/format-command-not-found-panel.js +1 -0
- package/node_modules/toolcraft-design/dist/format-command-not-found.d.ts +1 -0
- package/node_modules/toolcraft-design/dist/format-command-not-found.js +1 -0
- package/node_modules/toolcraft-design/dist/format-command.d.ts +1 -0
- package/node_modules/toolcraft-design/dist/format-command.js +1 -0
- package/node_modules/toolcraft-design/dist/format-option-list.d.ts +2 -0
- package/node_modules/toolcraft-design/dist/format-option-list.js +1 -0
- package/node_modules/toolcraft-design/dist/format-option.d.ts +1 -0
- package/node_modules/toolcraft-design/dist/format-option.js +1 -0
- package/node_modules/toolcraft-design/dist/format-usage.d.ts +1 -0
- package/node_modules/toolcraft-design/dist/format-usage.js +1 -0
- package/node_modules/toolcraft-design/dist/get-template-partial-names.d.ts +1 -0
- package/node_modules/toolcraft-design/dist/get-template-partial-names.js +1 -0
- package/node_modules/toolcraft-design/dist/get-theme-config.d.ts +1 -0
- package/node_modules/toolcraft-design/dist/get-theme-config.js +1 -0
- package/node_modules/toolcraft-design/dist/get-theme.d.ts +2 -0
- package/node_modules/toolcraft-design/dist/get-theme.js +1 -0
- package/node_modules/toolcraft-design/dist/help-formatter-plain.d.ts +2 -0
- package/node_modules/toolcraft-design/dist/help-formatter-plain.js +2 -0
- package/node_modules/toolcraft-design/dist/help-formatter.d.ts +2 -0
- package/node_modules/toolcraft-design/dist/help-formatter.js +1 -0
- package/node_modules/toolcraft-design/dist/index.d.ts +2 -2
- package/node_modules/toolcraft-design/dist/index.js +1 -1
- package/node_modules/toolcraft-design/dist/intro-plain.d.ts +1 -0
- package/node_modules/toolcraft-design/dist/intro-plain.js +1 -0
- package/node_modules/toolcraft-design/dist/intro.d.ts +1 -0
- package/node_modules/toolcraft-design/dist/intro.js +1 -0
- package/node_modules/toolcraft-design/dist/is-cancel.d.ts +1 -0
- package/node_modules/toolcraft-design/dist/is-cancel.js +1 -0
- package/node_modules/toolcraft-design/dist/light.d.ts +2 -0
- package/node_modules/toolcraft-design/dist/light.js +1 -0
- package/node_modules/toolcraft-design/dist/log.d.ts +1 -0
- package/node_modules/toolcraft-design/dist/log.js +1 -0
- package/node_modules/toolcraft-design/dist/logger.d.ts +2 -0
- package/node_modules/toolcraft-design/dist/logger.js +1 -0
- package/node_modules/toolcraft-design/dist/multiselect.d.ts +2 -0
- package/node_modules/toolcraft-design/dist/multiselect.js +1 -0
- package/node_modules/toolcraft-design/dist/note.d.ts +1 -0
- package/node_modules/toolcraft-design/dist/note.js +1 -0
- package/node_modules/toolcraft-design/dist/open-external.d.ts +1 -0
- package/node_modules/toolcraft-design/dist/open-external.js +1 -0
- package/node_modules/toolcraft-design/dist/outro.d.ts +1 -0
- package/node_modules/toolcraft-design/dist/outro.js +1 -0
- package/node_modules/toolcraft-design/dist/parse.d.ts +2 -0
- package/node_modules/toolcraft-design/dist/parse.js +1 -0
- package/node_modules/toolcraft-design/dist/password.d.ts +2 -0
- package/node_modules/toolcraft-design/dist/password.js +1 -0
- package/node_modules/toolcraft-design/dist/prompt-cancelled-error.d.ts +1 -0
- package/node_modules/toolcraft-design/dist/prompt-cancelled-error.js +1 -0
- package/node_modules/toolcraft-design/dist/prompt-text.d.ts +2 -0
- package/node_modules/toolcraft-design/dist/prompt-text.js +1 -0
- package/node_modules/toolcraft-design/dist/prompt-theme.d.ts +1 -0
- package/node_modules/toolcraft-design/dist/prompt-theme.js +1 -0
- package/node_modules/toolcraft-design/dist/render-catalog.d.ts +2 -0
- package/node_modules/toolcraft-design/dist/render-catalog.js +1 -0
- package/node_modules/toolcraft-design/dist/render-detail-card.d.ts +2 -0
- package/node_modules/toolcraft-design/dist/render-detail-card.js +1 -0
- package/node_modules/toolcraft-design/dist/render-html.d.ts +2 -0
- package/node_modules/toolcraft-design/dist/render-html.js +1 -0
- package/node_modules/toolcraft-design/dist/render-inspector-card.d.ts +2 -0
- package/node_modules/toolcraft-design/dist/render-inspector-card.js +1 -0
- package/node_modules/toolcraft-design/dist/render-markdown-html.d.ts +2 -0
- package/node_modules/toolcraft-design/dist/render-markdown-html.js +1 -0
- package/node_modules/toolcraft-design/dist/render-markdown.d.ts +2 -0
- package/node_modules/toolcraft-design/dist/render-markdown.js +1 -0
- package/node_modules/toolcraft-design/dist/render-menu.d.ts +2 -0
- package/node_modules/toolcraft-design/dist/render-menu.js +1 -0
- package/node_modules/toolcraft-design/dist/render-resource-browser.d.ts +2 -0
- package/node_modules/toolcraft-design/dist/render-resource-browser.js +1 -0
- package/node_modules/toolcraft-design/dist/render-spinner-frame.d.ts +2 -0
- package/node_modules/toolcraft-design/dist/render-spinner-frame.js +1 -0
- package/node_modules/toolcraft-design/dist/render-spinner-stopped.d.ts +2 -0
- package/node_modules/toolcraft-design/dist/render-spinner-stopped.js +1 -0
- package/node_modules/toolcraft-design/dist/render-table.d.ts +2 -0
- package/node_modules/toolcraft-design/dist/render-table.js +1 -0
- package/node_modules/toolcraft-design/dist/render-template.d.ts +2 -0
- package/node_modules/toolcraft-design/dist/render-template.js +1 -0
- package/node_modules/toolcraft-design/dist/render.d.ts +2 -0
- package/node_modules/toolcraft-design/dist/render.js +1 -0
- package/node_modules/toolcraft-design/dist/reset-output-format-cache.d.ts +1 -0
- package/node_modules/toolcraft-design/dist/reset-output-format-cache.js +1 -0
- package/node_modules/toolcraft-design/dist/reset-theme-cache.d.ts +1 -0
- package/node_modules/toolcraft-design/dist/reset-theme-cache.js +1 -0
- package/node_modules/toolcraft-design/dist/reset-theme.d.ts +1 -0
- package/node_modules/toolcraft-design/dist/reset-theme.js +1 -0
- package/node_modules/toolcraft-design/dist/resolve-output-format.d.ts +2 -0
- package/node_modules/toolcraft-design/dist/resolve-output-format.js +1 -0
- package/node_modules/toolcraft-design/dist/resolve-template-partials.d.ts +1 -0
- package/node_modules/toolcraft-design/dist/resolve-template-partials.js +1 -0
- package/node_modules/toolcraft-design/dist/resolve-theme-name.d.ts +2 -0
- package/node_modules/toolcraft-design/dist/resolve-theme-name.js +1 -0
- package/node_modules/toolcraft-design/dist/run-explorer.d.ts +2 -0
- package/node_modules/toolcraft-design/dist/run-explorer.js +1 -0
- package/node_modules/toolcraft-design/dist/run-two-pane-explorer.d.ts +2 -0
- package/node_modules/toolcraft-design/dist/run-two-pane-explorer.js +1 -0
- package/node_modules/toolcraft-design/dist/select.d.ts +2 -0
- package/node_modules/toolcraft-design/dist/select.js +1 -0
- package/node_modules/toolcraft-design/dist/should-use-interactive-dashboard.d.ts +1 -0
- package/node_modules/toolcraft-design/dist/should-use-interactive-dashboard.js +1 -0
- package/node_modules/toolcraft-design/dist/single-detail.d.ts +2 -0
- package/node_modules/toolcraft-design/dist/single-detail.js +1 -0
- package/node_modules/toolcraft-design/dist/spacing.d.ts +1 -0
- package/node_modules/toolcraft-design/dist/spacing.js +1 -0
- package/node_modules/toolcraft-design/dist/spinner-frames.d.ts +1 -0
- package/node_modules/toolcraft-design/dist/spinner-frames.js +1 -0
- package/node_modules/toolcraft-design/dist/spinner.d.ts +2 -0
- package/node_modules/toolcraft-design/dist/spinner.js +1 -0
- package/node_modules/toolcraft-design/dist/strip-ansi.d.ts +1 -0
- package/node_modules/toolcraft-design/dist/strip-ansi.js +1 -0
- package/node_modules/toolcraft-design/dist/symbols.d.ts +1 -0
- package/node_modules/toolcraft-design/dist/symbols.js +1 -0
- package/node_modules/toolcraft-design/dist/terminal-markdown/ast.d.ts +6 -0
- package/node_modules/toolcraft-design/dist/terminal-markdown/html-renderer.d.ts +7 -0
- package/node_modules/toolcraft-design/dist/terminal-markdown/html-renderer.js +366 -0
- package/node_modules/toolcraft-design/dist/terminal-markdown/index.d.ts +5 -1
- package/node_modules/toolcraft-design/dist/terminal-markdown/index.js +6 -0
- package/node_modules/toolcraft-design/dist/terminal-markdown/parser/code-highlight.d.ts +4 -0
- package/node_modules/toolcraft-design/dist/terminal-markdown/parser/code-highlight.js +1357 -0
- package/node_modules/toolcraft-design/dist/terminal-markdown/renderer.d.ts +1 -0
- package/node_modules/toolcraft-design/dist/terminal-markdown/renderer.js +63 -1
- package/node_modules/toolcraft-design/dist/text.d.ts +1 -0
- package/node_modules/toolcraft-design/dist/text.js +1 -0
- package/node_modules/toolcraft-design/dist/typography.d.ts +1 -0
- package/node_modules/toolcraft-design/dist/typography.js +1 -0
- package/node_modules/toolcraft-design/dist/widths.d.ts +1 -0
- package/node_modules/toolcraft-design/dist/widths.js +1 -0
- package/node_modules/toolcraft-design/dist/with-output-format.d.ts +2 -0
- package/node_modules/toolcraft-design/dist/with-output-format.js +1 -0
- package/node_modules/toolcraft-design/dist/with-spinner.d.ts +2 -0
- package/node_modules/toolcraft-design/dist/with-spinner.js +1 -0
- package/node_modules/toolcraft-design/package.json +4 -0
- package/package.json +1 -1
|
@@ -25,7 +25,7 @@ var LOG_LEVELS = Object.freeze([
|
|
|
25
25
|
]);
|
|
26
26
|
|
|
27
27
|
// ../toolcraft/src/package-metadata.ts
|
|
28
|
-
import { existsSync, readFileSync, statSync } from "node:fs";
|
|
28
|
+
import { existsSync, readFileSync, realpathSync, statSync } from "node:fs";
|
|
29
29
|
import path from "node:path";
|
|
30
30
|
import { fileURLToPath } from "node:url";
|
|
31
31
|
|
|
@@ -929,6 +929,150 @@ import { LineCounter, parse, parseDocument } from "yaml";
|
|
|
929
929
|
// ../frontmatter/src/stringify.ts
|
|
930
930
|
import { stringify } from "yaml";
|
|
931
931
|
|
|
932
|
+
// ../toolcraft-design/src/terminal-markdown/parser/code-highlight.ts
|
|
933
|
+
var codeLanguages = [
|
|
934
|
+
{
|
|
935
|
+
id: "javascript",
|
|
936
|
+
aliases: ["js", "javascript", "mjs", "cjs", "es6"],
|
|
937
|
+
family: "lexical",
|
|
938
|
+
spec: "javascript"
|
|
939
|
+
},
|
|
940
|
+
{ id: "javascriptreact", aliases: ["jsx"], family: "lexical", spec: "javascript" },
|
|
941
|
+
{
|
|
942
|
+
id: "typescript",
|
|
943
|
+
aliases: ["ts", "typescript", "mts", "cts"],
|
|
944
|
+
family: "lexical",
|
|
945
|
+
spec: "typescript"
|
|
946
|
+
},
|
|
947
|
+
{ id: "typescriptreact", aliases: ["tsx"], family: "lexical", spec: "typescript" },
|
|
948
|
+
{ id: "json", aliases: ["json"], family: "data", spec: "json" },
|
|
949
|
+
{ id: "jsonc", aliases: ["jsonc"], family: "data", spec: "jsonc" },
|
|
950
|
+
{ id: "jsonl", aliases: ["jsonl"], family: "data", spec: "json" },
|
|
951
|
+
{ id: "yaml", aliases: ["yaml", "yml"], family: "data", spec: "yaml" },
|
|
952
|
+
{ id: "css", aliases: ["css"], family: "style", spec: "css" },
|
|
953
|
+
{ id: "scss", aliases: ["scss"], family: "style", spec: "css" },
|
|
954
|
+
{ id: "sass", aliases: ["sass"], family: "style", spec: "css" },
|
|
955
|
+
{ id: "less", aliases: ["less"], family: "style", spec: "css" },
|
|
956
|
+
{ id: "postcss", aliases: ["postcss"], family: "style", spec: "css" },
|
|
957
|
+
{ id: "shellscript", aliases: ["sh", "bash", "shell", "shellscript", "zsh", "fish"], family: "lexical", spec: "shell" },
|
|
958
|
+
{ id: "python", aliases: ["py", "python"], family: "lexical", spec: "python" },
|
|
959
|
+
{ id: "sql", aliases: ["sql", "ddl", "dml"], family: "lexical", spec: "sql" },
|
|
960
|
+
{ id: "html", aliases: ["html"], family: "markup", spec: "html" },
|
|
961
|
+
{ id: "xml", aliases: ["xml", "svg"], family: "markup", spec: "xml" },
|
|
962
|
+
{ id: "markdown", aliases: ["md", "markdown"], family: "line", spec: "markdown" },
|
|
963
|
+
{ id: "diff", aliases: ["diff", "patch"], family: "line", spec: "diff" },
|
|
964
|
+
{ id: "dockerfile", aliases: ["dockerfile", "docker"], family: "line", spec: "dockerfile" },
|
|
965
|
+
{ id: "ini", aliases: ["ini", "properties"], family: "data", spec: "ini" },
|
|
966
|
+
{ id: "toml", aliases: ["toml"], family: "data", spec: "toml" },
|
|
967
|
+
{ id: "plaintext", aliases: ["text", "txt", "plain", "plaintext"], plain: true },
|
|
968
|
+
{ id: "ruby", aliases: ["rb", "ruby"], family: "lexical", spec: "ruby" },
|
|
969
|
+
{ id: "go", aliases: ["go", "golang"], family: "lexical", spec: "go" },
|
|
970
|
+
{ id: "java", aliases: ["java"], family: "lexical", spec: "java" },
|
|
971
|
+
{ id: "kotlin", aliases: ["kt", "kotlin", "kts"], family: "lexical", spec: "kotlin" },
|
|
972
|
+
{ id: "swift", aliases: ["swift"], family: "lexical", spec: "swift" },
|
|
973
|
+
{ id: "dart", aliases: ["dart"], family: "lexical", spec: "dart" },
|
|
974
|
+
{ id: "scala", aliases: ["scala", "sc"], family: "lexical", spec: "scala" },
|
|
975
|
+
{ id: "groovy", aliases: ["groovy", "gvy", "gy", "gsp"], family: "lexical", spec: "groovy" },
|
|
976
|
+
{ id: "c", aliases: ["c"], family: "lexical", spec: "c" },
|
|
977
|
+
{ id: "cpp", aliases: ["cpp", "c++", "cc", "cxx"], family: "lexical", spec: "cpp" },
|
|
978
|
+
{ id: "csharp", aliases: ["cs", "csharp", "c#"], family: "lexical", spec: "csharp" },
|
|
979
|
+
{ id: "objective-c", aliases: ["objc", "objectivec", "objective-c", "m", "mm"], family: "lexical", spec: "objectivec" },
|
|
980
|
+
{ id: "rust", aliases: ["rs", "rust"], family: "lexical", spec: "rust" },
|
|
981
|
+
{ id: "php", aliases: ["php"], family: "lexical", spec: "php" },
|
|
982
|
+
{ id: "lua", aliases: ["lua"], family: "lexical", spec: "lua" },
|
|
983
|
+
{ id: "perl", aliases: ["pl", "perl", "pm"], family: "lexical", spec: "perl" },
|
|
984
|
+
{ id: "r", aliases: ["r", "rscript"], family: "lexical", spec: "r" },
|
|
985
|
+
{ id: "powershell", aliases: ["ps1", "powershell", "pwsh"], family: "lexical", spec: "powershell" },
|
|
986
|
+
{ id: "elixir", aliases: ["ex", "exs", "elixir"], family: "lexical", spec: "elixir" },
|
|
987
|
+
{ id: "erlang", aliases: ["erl", "erlang", "hrl"], family: "lexical", spec: "erlang" },
|
|
988
|
+
{ id: "haskell", aliases: ["hs", "haskell"], family: "lexical", spec: "haskell" },
|
|
989
|
+
{ id: "clojure", aliases: ["clj", "cljs", "cljc", "clojure"], family: "lexical", spec: "clojure" },
|
|
990
|
+
{ id: "fsharp", aliases: ["fs", "fsi", "fsx", "fsharp"], family: "lexical", spec: "fsharp" },
|
|
991
|
+
{ id: "vb", aliases: ["vb", "vbnet"], family: "lexical", spec: "vb" },
|
|
992
|
+
{ id: "graphql", aliases: ["graphql", "gql"], family: "lexical", spec: "graphql" },
|
|
993
|
+
{ id: "protobuf", aliases: ["proto", "protobuf"], family: "lexical", spec: "protobuf" },
|
|
994
|
+
{ id: "hcl", aliases: ["hcl", "tf", "terraform"], family: "lexical", spec: "hcl" },
|
|
995
|
+
{ id: "nginx", aliases: ["nginx", "nginxconf"], family: "lexical", spec: "nginx" },
|
|
996
|
+
{ id: "makefile", aliases: ["makefile", "mk"], family: "lexical", spec: "makefile" },
|
|
997
|
+
{ id: "cmake", aliases: ["cmake"], family: "lexical", spec: "cmake" },
|
|
998
|
+
{ id: "gradle", aliases: ["gradle"], family: "lexical", spec: "groovy" },
|
|
999
|
+
{ id: "env", aliases: ["env", "dotenv"], family: "data", spec: "ini" },
|
|
1000
|
+
{ id: "vue", aliases: ["vue"], family: "markup", spec: "html" },
|
|
1001
|
+
{ id: "svelte", aliases: ["svelte"], family: "markup", spec: "html" }
|
|
1002
|
+
];
|
|
1003
|
+
var languageByAlias = /* @__PURE__ */ new Map();
|
|
1004
|
+
for (const language of codeLanguages) {
|
|
1005
|
+
languageByAlias.set(language.id.toLowerCase(), language);
|
|
1006
|
+
for (const alias of language.aliases) {
|
|
1007
|
+
languageByAlias.set(alias.toLowerCase(), language);
|
|
1008
|
+
}
|
|
1009
|
+
}
|
|
1010
|
+
var jsKeywords = /* @__PURE__ */ new Set([
|
|
1011
|
+
"as",
|
|
1012
|
+
"async",
|
|
1013
|
+
"await",
|
|
1014
|
+
"break",
|
|
1015
|
+
"case",
|
|
1016
|
+
"catch",
|
|
1017
|
+
"class",
|
|
1018
|
+
"const",
|
|
1019
|
+
"continue",
|
|
1020
|
+
"debugger",
|
|
1021
|
+
"default",
|
|
1022
|
+
"delete",
|
|
1023
|
+
"do",
|
|
1024
|
+
"else",
|
|
1025
|
+
"export",
|
|
1026
|
+
"extends",
|
|
1027
|
+
"finally",
|
|
1028
|
+
"for",
|
|
1029
|
+
"from",
|
|
1030
|
+
"function",
|
|
1031
|
+
"get",
|
|
1032
|
+
"if",
|
|
1033
|
+
"import",
|
|
1034
|
+
"in",
|
|
1035
|
+
"instanceof",
|
|
1036
|
+
"let",
|
|
1037
|
+
"new",
|
|
1038
|
+
"of",
|
|
1039
|
+
"return",
|
|
1040
|
+
"set",
|
|
1041
|
+
"static",
|
|
1042
|
+
"super",
|
|
1043
|
+
"switch",
|
|
1044
|
+
"throw",
|
|
1045
|
+
"try",
|
|
1046
|
+
"typeof",
|
|
1047
|
+
"var",
|
|
1048
|
+
"void",
|
|
1049
|
+
"while",
|
|
1050
|
+
"with",
|
|
1051
|
+
"yield"
|
|
1052
|
+
]);
|
|
1053
|
+
var tsKeywords = /* @__PURE__ */ new Set([
|
|
1054
|
+
...jsKeywords,
|
|
1055
|
+
"abstract",
|
|
1056
|
+
"declare",
|
|
1057
|
+
"enum",
|
|
1058
|
+
"implements",
|
|
1059
|
+
"interface",
|
|
1060
|
+
"keyof",
|
|
1061
|
+
"namespace",
|
|
1062
|
+
"private",
|
|
1063
|
+
"protected",
|
|
1064
|
+
"public",
|
|
1065
|
+
"readonly",
|
|
1066
|
+
"satisfies",
|
|
1067
|
+
"type"
|
|
1068
|
+
]);
|
|
1069
|
+
var cKeywords = /* @__PURE__ */ new Set(["auto", "break", "case", "const", "continue", "default", "do", "else", "enum", "extern", "for", "goto", "if", "inline", "register", "restrict", "return", "sizeof", "static", "struct", "switch", "typedef", "union", "volatile", "while"]);
|
|
1070
|
+
var cTypes = /* @__PURE__ */ new Set(["bool", "char", "double", "float", "int", "int16_t", "int32_t", "int64_t", "int8_t", "long", "short", "size_t", "uint16_t", "uint32_t", "uint64_t", "uint8_t", "void"]);
|
|
1071
|
+
var cppKeywords = /* @__PURE__ */ new Set([...cKeywords, "alignas", "alignof", "and", "bitand", "bitor", "catch", "class", "concept", "constexpr", "consteval", "constinit", "decltype", "delete", "explicit", "export", "friend", "mutable", "namespace", "new", "noexcept", "not", "operator", "or", "private", "protected", "public", "requires", "template", "this", "throw", "try", "typename", "using", "virtual", "xor"]);
|
|
1072
|
+
var cppTypes = /* @__PURE__ */ new Set([...cTypes, "auto", "bool", "char16_t", "char32_t", "std", "string", "wstring"]);
|
|
1073
|
+
var objectiveCKeywords = /* @__PURE__ */ new Set([...cKeywords, "@autoreleasepool", "@catch", "@class", "@dynamic", "@end", "@finally", "@implementation", "@import", "@interface", "@optional", "@package", "@private", "@property", "@protected", "@protocol", "@public", "@selector", "@synthesize", "@throw", "@try", "YES", "NO", "nil", "self", "super"]);
|
|
1074
|
+
var objectiveCTypes = /* @__PURE__ */ new Set([...cTypes, "BOOL", "Class", "CGFloat", "NSInteger", "NSObject", "NSString", "NSUInteger", "SEL", "id"]);
|
|
1075
|
+
|
|
932
1076
|
// ../toolcraft-design/src/dashboard/terminal-width.ts
|
|
933
1077
|
var graphemeSegmenter3 = new Intl.Segmenter(void 0, { granularity: "grapheme" });
|
|
934
1078
|
|