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
package/dist/commands/install.js
CHANGED
|
@@ -1397,6 +1397,150 @@ import { LineCounter, parse, parseDocument } from "yaml";
|
|
|
1397
1397
|
// ../frontmatter/src/stringify.ts
|
|
1398
1398
|
import { stringify } from "yaml";
|
|
1399
1399
|
|
|
1400
|
+
// ../toolcraft-design/src/terminal-markdown/parser/code-highlight.ts
|
|
1401
|
+
var codeLanguages = [
|
|
1402
|
+
{
|
|
1403
|
+
id: "javascript",
|
|
1404
|
+
aliases: ["js", "javascript", "mjs", "cjs", "es6"],
|
|
1405
|
+
family: "lexical",
|
|
1406
|
+
spec: "javascript"
|
|
1407
|
+
},
|
|
1408
|
+
{ id: "javascriptreact", aliases: ["jsx"], family: "lexical", spec: "javascript" },
|
|
1409
|
+
{
|
|
1410
|
+
id: "typescript",
|
|
1411
|
+
aliases: ["ts", "typescript", "mts", "cts"],
|
|
1412
|
+
family: "lexical",
|
|
1413
|
+
spec: "typescript"
|
|
1414
|
+
},
|
|
1415
|
+
{ id: "typescriptreact", aliases: ["tsx"], family: "lexical", spec: "typescript" },
|
|
1416
|
+
{ id: "json", aliases: ["json"], family: "data", spec: "json" },
|
|
1417
|
+
{ id: "jsonc", aliases: ["jsonc"], family: "data", spec: "jsonc" },
|
|
1418
|
+
{ id: "jsonl", aliases: ["jsonl"], family: "data", spec: "json" },
|
|
1419
|
+
{ id: "yaml", aliases: ["yaml", "yml"], family: "data", spec: "yaml" },
|
|
1420
|
+
{ id: "css", aliases: ["css"], family: "style", spec: "css" },
|
|
1421
|
+
{ id: "scss", aliases: ["scss"], family: "style", spec: "css" },
|
|
1422
|
+
{ id: "sass", aliases: ["sass"], family: "style", spec: "css" },
|
|
1423
|
+
{ id: "less", aliases: ["less"], family: "style", spec: "css" },
|
|
1424
|
+
{ id: "postcss", aliases: ["postcss"], family: "style", spec: "css" },
|
|
1425
|
+
{ id: "shellscript", aliases: ["sh", "bash", "shell", "shellscript", "zsh", "fish"], family: "lexical", spec: "shell" },
|
|
1426
|
+
{ id: "python", aliases: ["py", "python"], family: "lexical", spec: "python" },
|
|
1427
|
+
{ id: "sql", aliases: ["sql", "ddl", "dml"], family: "lexical", spec: "sql" },
|
|
1428
|
+
{ id: "html", aliases: ["html"], family: "markup", spec: "html" },
|
|
1429
|
+
{ id: "xml", aliases: ["xml", "svg"], family: "markup", spec: "xml" },
|
|
1430
|
+
{ id: "markdown", aliases: ["md", "markdown"], family: "line", spec: "markdown" },
|
|
1431
|
+
{ id: "diff", aliases: ["diff", "patch"], family: "line", spec: "diff" },
|
|
1432
|
+
{ id: "dockerfile", aliases: ["dockerfile", "docker"], family: "line", spec: "dockerfile" },
|
|
1433
|
+
{ id: "ini", aliases: ["ini", "properties"], family: "data", spec: "ini" },
|
|
1434
|
+
{ id: "toml", aliases: ["toml"], family: "data", spec: "toml" },
|
|
1435
|
+
{ id: "plaintext", aliases: ["text", "txt", "plain", "plaintext"], plain: true },
|
|
1436
|
+
{ id: "ruby", aliases: ["rb", "ruby"], family: "lexical", spec: "ruby" },
|
|
1437
|
+
{ id: "go", aliases: ["go", "golang"], family: "lexical", spec: "go" },
|
|
1438
|
+
{ id: "java", aliases: ["java"], family: "lexical", spec: "java" },
|
|
1439
|
+
{ id: "kotlin", aliases: ["kt", "kotlin", "kts"], family: "lexical", spec: "kotlin" },
|
|
1440
|
+
{ id: "swift", aliases: ["swift"], family: "lexical", spec: "swift" },
|
|
1441
|
+
{ id: "dart", aliases: ["dart"], family: "lexical", spec: "dart" },
|
|
1442
|
+
{ id: "scala", aliases: ["scala", "sc"], family: "lexical", spec: "scala" },
|
|
1443
|
+
{ id: "groovy", aliases: ["groovy", "gvy", "gy", "gsp"], family: "lexical", spec: "groovy" },
|
|
1444
|
+
{ id: "c", aliases: ["c"], family: "lexical", spec: "c" },
|
|
1445
|
+
{ id: "cpp", aliases: ["cpp", "c++", "cc", "cxx"], family: "lexical", spec: "cpp" },
|
|
1446
|
+
{ id: "csharp", aliases: ["cs", "csharp", "c#"], family: "lexical", spec: "csharp" },
|
|
1447
|
+
{ id: "objective-c", aliases: ["objc", "objectivec", "objective-c", "m", "mm"], family: "lexical", spec: "objectivec" },
|
|
1448
|
+
{ id: "rust", aliases: ["rs", "rust"], family: "lexical", spec: "rust" },
|
|
1449
|
+
{ id: "php", aliases: ["php"], family: "lexical", spec: "php" },
|
|
1450
|
+
{ id: "lua", aliases: ["lua"], family: "lexical", spec: "lua" },
|
|
1451
|
+
{ id: "perl", aliases: ["pl", "perl", "pm"], family: "lexical", spec: "perl" },
|
|
1452
|
+
{ id: "r", aliases: ["r", "rscript"], family: "lexical", spec: "r" },
|
|
1453
|
+
{ id: "powershell", aliases: ["ps1", "powershell", "pwsh"], family: "lexical", spec: "powershell" },
|
|
1454
|
+
{ id: "elixir", aliases: ["ex", "exs", "elixir"], family: "lexical", spec: "elixir" },
|
|
1455
|
+
{ id: "erlang", aliases: ["erl", "erlang", "hrl"], family: "lexical", spec: "erlang" },
|
|
1456
|
+
{ id: "haskell", aliases: ["hs", "haskell"], family: "lexical", spec: "haskell" },
|
|
1457
|
+
{ id: "clojure", aliases: ["clj", "cljs", "cljc", "clojure"], family: "lexical", spec: "clojure" },
|
|
1458
|
+
{ id: "fsharp", aliases: ["fs", "fsi", "fsx", "fsharp"], family: "lexical", spec: "fsharp" },
|
|
1459
|
+
{ id: "vb", aliases: ["vb", "vbnet"], family: "lexical", spec: "vb" },
|
|
1460
|
+
{ id: "graphql", aliases: ["graphql", "gql"], family: "lexical", spec: "graphql" },
|
|
1461
|
+
{ id: "protobuf", aliases: ["proto", "protobuf"], family: "lexical", spec: "protobuf" },
|
|
1462
|
+
{ id: "hcl", aliases: ["hcl", "tf", "terraform"], family: "lexical", spec: "hcl" },
|
|
1463
|
+
{ id: "nginx", aliases: ["nginx", "nginxconf"], family: "lexical", spec: "nginx" },
|
|
1464
|
+
{ id: "makefile", aliases: ["makefile", "mk"], family: "lexical", spec: "makefile" },
|
|
1465
|
+
{ id: "cmake", aliases: ["cmake"], family: "lexical", spec: "cmake" },
|
|
1466
|
+
{ id: "gradle", aliases: ["gradle"], family: "lexical", spec: "groovy" },
|
|
1467
|
+
{ id: "env", aliases: ["env", "dotenv"], family: "data", spec: "ini" },
|
|
1468
|
+
{ id: "vue", aliases: ["vue"], family: "markup", spec: "html" },
|
|
1469
|
+
{ id: "svelte", aliases: ["svelte"], family: "markup", spec: "html" }
|
|
1470
|
+
];
|
|
1471
|
+
var languageByAlias = /* @__PURE__ */ new Map();
|
|
1472
|
+
for (const language of codeLanguages) {
|
|
1473
|
+
languageByAlias.set(language.id.toLowerCase(), language);
|
|
1474
|
+
for (const alias of language.aliases) {
|
|
1475
|
+
languageByAlias.set(alias.toLowerCase(), language);
|
|
1476
|
+
}
|
|
1477
|
+
}
|
|
1478
|
+
var jsKeywords = /* @__PURE__ */ new Set([
|
|
1479
|
+
"as",
|
|
1480
|
+
"async",
|
|
1481
|
+
"await",
|
|
1482
|
+
"break",
|
|
1483
|
+
"case",
|
|
1484
|
+
"catch",
|
|
1485
|
+
"class",
|
|
1486
|
+
"const",
|
|
1487
|
+
"continue",
|
|
1488
|
+
"debugger",
|
|
1489
|
+
"default",
|
|
1490
|
+
"delete",
|
|
1491
|
+
"do",
|
|
1492
|
+
"else",
|
|
1493
|
+
"export",
|
|
1494
|
+
"extends",
|
|
1495
|
+
"finally",
|
|
1496
|
+
"for",
|
|
1497
|
+
"from",
|
|
1498
|
+
"function",
|
|
1499
|
+
"get",
|
|
1500
|
+
"if",
|
|
1501
|
+
"import",
|
|
1502
|
+
"in",
|
|
1503
|
+
"instanceof",
|
|
1504
|
+
"let",
|
|
1505
|
+
"new",
|
|
1506
|
+
"of",
|
|
1507
|
+
"return",
|
|
1508
|
+
"set",
|
|
1509
|
+
"static",
|
|
1510
|
+
"super",
|
|
1511
|
+
"switch",
|
|
1512
|
+
"throw",
|
|
1513
|
+
"try",
|
|
1514
|
+
"typeof",
|
|
1515
|
+
"var",
|
|
1516
|
+
"void",
|
|
1517
|
+
"while",
|
|
1518
|
+
"with",
|
|
1519
|
+
"yield"
|
|
1520
|
+
]);
|
|
1521
|
+
var tsKeywords = /* @__PURE__ */ new Set([
|
|
1522
|
+
...jsKeywords,
|
|
1523
|
+
"abstract",
|
|
1524
|
+
"declare",
|
|
1525
|
+
"enum",
|
|
1526
|
+
"implements",
|
|
1527
|
+
"interface",
|
|
1528
|
+
"keyof",
|
|
1529
|
+
"namespace",
|
|
1530
|
+
"private",
|
|
1531
|
+
"protected",
|
|
1532
|
+
"public",
|
|
1533
|
+
"readonly",
|
|
1534
|
+
"satisfies",
|
|
1535
|
+
"type"
|
|
1536
|
+
]);
|
|
1537
|
+
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"]);
|
|
1538
|
+
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"]);
|
|
1539
|
+
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"]);
|
|
1540
|
+
var cppTypes = /* @__PURE__ */ new Set([...cTypes, "auto", "bool", "char16_t", "char32_t", "std", "string", "wstring"]);
|
|
1541
|
+
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"]);
|
|
1542
|
+
var objectiveCTypes = /* @__PURE__ */ new Set([...cTypes, "BOOL", "Class", "CGFloat", "NSInteger", "NSObject", "NSString", "NSUInteger", "SEL", "id"]);
|
|
1543
|
+
|
|
1400
1544
|
// ../toolcraft-design/src/dashboard/terminal-width.ts
|
|
1401
1545
|
var graphemeSegmenter3 = new Intl.Segmenter(void 0, { granularity: "grapheme" });
|
|
1402
1546
|
|
|
@@ -3522,7 +3666,7 @@ var LOG_LEVELS = Object.freeze([
|
|
|
3522
3666
|
]);
|
|
3523
3667
|
|
|
3524
3668
|
// ../toolcraft/src/package-metadata.ts
|
|
3525
|
-
import { existsSync, readFileSync as readFileSync3, statSync as statSync3 } from "node:fs";
|
|
3669
|
+
import { existsSync, readFileSync as readFileSync3, realpathSync, statSync as statSync3 } from "node:fs";
|
|
3526
3670
|
import path8 from "node:path";
|
|
3527
3671
|
import { fileURLToPath as fileURLToPath2 } from "node:url";
|
|
3528
3672
|
|