react-doctor 0.9.16-dev.ef1be22 → 0.9.17-dev.0a046d2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/dist/{build-section-divider-B0MdVO19.js → build-section-divider-BBXhE0eV.js} +5 -5
  2. package/dist/{ci-SiOo5RzD.js → ci-Bhwyqzkh.js} +13 -13
  3. package/dist/cli.js +25 -25
  4. package/dist/{constants-rmkaA7iw.js → constants-DHn5rUeg.js} +5 -5
  5. package/dist/{design-Dty0_JnG.js → design-DrYmJ3Y8.js} +4 -4
  6. package/dist/{exit-gracefully-BqUKaxLV.js → exit-gracefully-C-4GABeG.js} +6 -6
  7. package/dist/{handle-error-jBnelA-d.js → handle-error-DYJ_DTws.js} +6 -6
  8. package/dist/index.js +7 -7
  9. package/dist/{inspect-ZsJdCoBa.js → inspect-B5kLLBCU.js} +16 -16
  10. package/dist/{install-CvyHP8Sz.js → install-BPLRA1_s.js} +10 -10
  11. package/dist/{install-doctor-script-YdsysHJ8.js → install-doctor-script-Bf2VZliG.js} +5 -5
  12. package/dist/{install-github-workflow-zVARf-aa.js → install-github-workflow-DALgqGw2.js} +5 -5
  13. package/dist/{install-react-doctor-Btq_1UZH.js → install-react-doctor-D20RkNvN.js} +9 -9
  14. package/dist/{is-cache-globally-disabled-DquUESHw.js → is-cache-globally-disabled-DDlh_f1u.js} +4 -4
  15. package/dist/{jsx-runtime-BC_XnKBD.js → jsx-runtime-DmX0umt5.js} +6 -6
  16. package/dist/{print-branded-header-C9VkuYyR.js → print-branded-header-ChbhJ6H1.js} +4 -4
  17. package/dist/{prompt-runtime-scan-url-DBB5q70w.js → prompt-runtime-scan-url-DtXBhv3R.js} +5 -5
  18. package/dist/{read-object-file-BMfspuEc.js → read-object-file-CIMwQELU.js} +4 -4
  19. package/dist/{record-metric-COaAD5VE.js → record-metric-ig3Jz1H2.js} +8 -8
  20. package/dist/{report-error-CSpZGdCu.js → report-error-AaQVKqAG.js} +6 -6
  21. package/dist/{report-workflow-result-D0Tev_E8.js → report-workflow-result-CSbFuOZD.js} +6 -6
  22. package/dist/{resolve-scope-BDtWzgKS.js → resolve-scope-qWaInxbR.js} +6 -6
  23. package/dist/{rules-3T0sQG3z.js → rules-DFsEJBEd.js} +7 -7
  24. package/dist/{run-scan-app-Ch62x8JM.js → run-scan-app-BswlIXc7.js} +11 -11
  25. package/dist/{runtime-scan-fl7GqT-4.js → runtime-scan-C6cDBSRf.js} +10 -10
  26. package/dist/{sanitize-runtime-url-CxW5-DlL.js → sanitize-runtime-url-BbATANKl.js} +4 -4
  27. package/dist/{scan-ChjHrC7N.js → scan-DzhKXQQz.js} +10 -10
  28. package/dist/{should-fail-scan-gate-0HPfGaTS.js → should-fail-scan-gate-DHeOcfsD.js} +13 -13
  29. package/dist/{should-skip-prompts-Db09UIvm.js → should-skip-prompts-Sm3BOB2W.js} +4 -4
  30. package/dist/{should-use-tui-CO0fiHNd.js → should-use-tui-_vFOwlXI.js} +4 -4
  31. package/dist/{start-scan-preamble-CCqs1vP4.js → start-scan-preamble-BPz3nzCQ.js} +5 -5
  32. package/dist/start-scan-preamble.js +3 -3
  33. package/dist/{telemetry-runtime-CEcDvXxW.js → telemetry-runtime-B0aPA5jX.js} +7 -7
  34. package/dist/{version-CP66Metq.js → version-CdDvtiy6.js} +5 -5
  35. package/dist/{why-CyIuJZHz.js → why-BZ0Ayqqs.js} +4 -4
  36. package/dist/{with-run-span-aYNrYjQY.js → with-run-span-X9lSqXzT.js} +6 -6
  37. package/package.json +4 -4
@@ -1,7 +1,7 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="97fcd3df-3c99-5848-a2da-c31d7f077048")}catch(e){}}();
3
- import { bt as DOCS_URL, lt as CANONICAL_GITHUB_URL } from "./constants-rmkaA7iw.js";
4
- import { At as highlighter } from "./record-metric-COaAD5VE.js";
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="25bcfaef-5d47-5fca-9d9e-5ba93fb0a8ae")}catch(e){}}();
3
+ import { bt as DOCS_URL, lt as CANONICAL_GITHUB_URL } from "./constants-DHn5rUeg.js";
4
+ import { At as highlighter } from "./record-metric-ig3Jz1H2.js";
5
5
  //#region src/cli/utils/resolve-measure-width.ts
6
6
  const resolveClampedWidth = (input) => {
7
7
  const terminalColumns = process.stdout.columns;
@@ -77,5 +77,5 @@ const buildSectionDivider = () => highlighter.dim(`${DIVIDER_INDENT}${"─".repe
77
77
  //#endregion
78
78
  export { buildFooterLinkLines as n, buildSectionDivider as t };
79
79
 
80
- //# sourceMappingURL=build-section-divider-B0MdVO19.js.map
81
- //# debugId=97fcd3df-3c99-5848-a2da-c31d7f077048
80
+ //# sourceMappingURL=build-section-divider-BBXhE0eV.js.map
81
+ //# debugId=25bcfaef-5d47-5fca-9d9e-5ba93fb0a8ae
@@ -1,16 +1,16 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="cda162b9-148a-5b8e-8b77-1a2f82aac5e3")}catch(e){}}();
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="7c4d7259-9754-5b3a-8979-23db2b951f14")}catch(e){}}();
3
3
  import { i as __toESM, r as __require, t as __commonJSMin } from "./chunk-ChKA3wi6.js";
4
- import { kt as GITHUB_ACTIONS_SETUP_URL, u as METRIC, ut as CI_URL } from "./constants-rmkaA7iw.js";
5
- import { At as highlighter, Cn as runSync, t as recordCount } from "./record-metric-COaAD5VE.js";
6
- import { o as isExpectedUserError } from "./telemetry-runtime-CEcDvXxW.js";
7
- import { n as handleUserError, t as handleError } from "./handle-error-jBnelA-d.js";
8
- import { t as reportErrorToSentry } from "./report-error-CSpZGdCu.js";
9
- import { N as cliLogger, c as spinner, n as findNearestPackageDirectory } from "./install-doctor-script-YdsysHJ8.js";
10
- import { a as readReactDoctorWorkflow, d as detectDefaultBranch, f as runCommand, l as prompts, n as getReactDoctorWorkflowPath, s as upgradeWorkflowActionToV2, t as buildWorkflowContent } from "./install-github-workflow-zVARf-aa.js";
11
- import { a as isValidBlockingLevel, c as openWorkflowPullRequest, l as stageWorkflowFile, n as isScopeValue } from "./resolve-scope-BDtWzgKS.js";
12
- import { t as shouldSkipPrompts } from "./should-skip-prompts-Db09UIvm.js";
13
- import { t as printBrandedHeader } from "./print-branded-header-C9VkuYyR.js";
4
+ import { kt as GITHUB_ACTIONS_SETUP_URL, u as METRIC, ut as CI_URL } from "./constants-DHn5rUeg.js";
5
+ import { At as highlighter, Cn as runSync, t as recordCount } from "./record-metric-ig3Jz1H2.js";
6
+ import { o as isExpectedUserError } from "./telemetry-runtime-B0aPA5jX.js";
7
+ import { n as handleUserError, t as handleError } from "./handle-error-DYJ_DTws.js";
8
+ import { t as reportErrorToSentry } from "./report-error-AaQVKqAG.js";
9
+ import { N as cliLogger, c as spinner, n as findNearestPackageDirectory } from "./install-doctor-script-Bf2VZliG.js";
10
+ import { a as readReactDoctorWorkflow, d as detectDefaultBranch, f as runCommand, l as prompts, n as getReactDoctorWorkflowPath, s as upgradeWorkflowActionToV2, t as buildWorkflowContent } from "./install-github-workflow-DALgqGw2.js";
11
+ import { a as isValidBlockingLevel, c as openWorkflowPullRequest, l as stageWorkflowFile, n as isScopeValue } from "./resolve-scope-qWaInxbR.js";
12
+ import { t as shouldSkipPrompts } from "./should-skip-prompts-Sm3BOB2W.js";
13
+ import { t as printBrandedHeader } from "./print-branded-header-ChbhJ6H1.js";
14
14
  import * as fs$1 from "node:fs";
15
15
  import * as path$1 from "node:path";
16
16
  //#region src/cli/utils/ci/ci-provider.ts
@@ -7499,5 +7499,5 @@ const ciConfigAction = (options) => runCiCommand("config", runCiConfig, options)
7499
7499
  //#endregion
7500
7500
  export { ciConfigAction, ciInstallAction, ciUpgradeAction };
7501
7501
 
7502
- //# sourceMappingURL=ci-SiOo5RzD.js.map
7503
- //# debugId=cda162b9-148a-5b8e-8b77-1a2f82aac5e3
7502
+ //# sourceMappingURL=ci-Bhwyqzkh.js.map
7503
+ //# debugId=7c4d7259-9754-5b3a-8979-23db2b951f14
package/dist/cli.js CHANGED
@@ -1,14 +1,14 @@
1
1
 
2
2
  !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="cc8f2e34-2b12-55f0-907a-f0131fd67226")}catch(e){}}();
3
3
  import { i as __toESM, r as __require, t as __commonJSMin } from "./chunk-ChKA3wi6.js";
4
- import { lt as CANONICAL_GITHUB_URL, ut as CI_URL } from "./constants-rmkaA7iw.js";
5
- import "./start-scan-preamble-CCqs1vP4.js";
6
- import { At as highlighter, Bn as isDirectory, Hn as isFile, Qt as setColorEnabled, S as isDebugFlagEnabled, _ as VERSION, d as isJsonModeActive, h as writeJsonErrorReport, ht as filterSourceFiles, i as isTelemetryEnabled, jt as isPathInsideDirectory, y as CliInputError } from "./record-metric-COaAD5VE.js";
7
- import { a as initializeSentry, n as shutdownTelemetry, o as isExpectedUserError, r as flushSentry } from "./telemetry-runtime-CEcDvXxW.js";
8
- import { t as exitGracefully } from "./exit-gracefully-BqUKaxLV.js";
9
- import { n as handleUserError, t as handleError } from "./handle-error-jBnelA-d.js";
4
+ import { lt as CANONICAL_GITHUB_URL, ut as CI_URL } from "./constants-DHn5rUeg.js";
5
+ import "./start-scan-preamble-BPz3nzCQ.js";
6
+ import { At as highlighter, Bn as isDirectory, Hn as isFile, Qt as setColorEnabled, S as isDebugFlagEnabled, _ as VERSION, d as isJsonModeActive, h as writeJsonErrorReport, ht as filterSourceFiles, i as isTelemetryEnabled, jt as isPathInsideDirectory, y as CliInputError } from "./record-metric-ig3Jz1H2.js";
7
+ import { a as initializeSentry, n as shutdownTelemetry, o as isExpectedUserError, r as flushSentry } from "./telemetry-runtime-B0aPA5jX.js";
8
+ import { t as exitGracefully } from "./exit-gracefully-C-4GABeG.js";
9
+ import { n as handleUserError, t as handleError } from "./handle-error-DYJ_DTws.js";
10
10
  import { n as getLastRunTraceId } from "./active-run-trace-Dewycxda.js";
11
- import { t as reportErrorToSentry } from "./report-error-CSpZGdCu.js";
11
+ import { t as reportErrorToSentry } from "./report-error-AaQVKqAG.js";
12
12
  import { t as toForwardSlashes } from "./path-format-By20mo8A.js";
13
13
  import { t as unrefStdin } from "./unref-stdin-D-NZBFpg.js";
14
14
  import * as path$1 from "node:path";
@@ -3560,7 +3560,7 @@ ${highlighter.dim("Learn more:")}
3560
3560
  const collectCategoryOption = (value, previousValues) => [...previousValues ?? [], value];
3561
3561
  const program = new Command().name("react-doctor").description("Diagnose React codebase health").version(VERSION, "-v, --version", "display the version number").argument("[paths...]", "one project directory or source file paths to scan").option("--lint", "enable linting").option("--no-lint", "skip linting").addOption(new Option("--dead-code").hideHelp()).addOption(new Option("--no-dead-code").hideHelp()).option("--supply-chain", "enable the dependency supply-chain scan (default)").option("--no-supply-chain", "skip the dependency supply-chain scan (Socket.dev dependency health checks)").option("--verbose", "show every rule and per-file details (default shows top 3 rules)").option("--debug", "force a Sentry trace and print its id at the end (paste it into a bug report)").option("--output-dir <dir>", "directory for the full diagnostics dump (default: a temp folder)").option("--score", "output only the score").option("--json", "output a single structured JSON report (suppresses other output)").option("--json-compact", "with --json, emit compact JSON (no indentation)").option("--json-out <path>", "with --json, write the report to a file instead of stdout").option("--no-cache", "disable all scan caches for this run").option("-y, --yes", "skip prompts, scan all workspace projects").option("--no-parallel", "lint serially with one worker (default: parallel across CPU cores; set the worker count with REACT_DOCTOR_PARALLEL)").option("--project <name>", "select projects: workspace names or directory paths (comma-separated for multiple); overrides the `projects` config field").option("--scope <value>", "how much supported JS/TS and inline HTML script source to scan/report: full (default), files, changed (only new issues vs base), or lines (issues whose source spans touch changed lines)").option("--baseline <report.json>", "report only new issues compared with a saved JSON report").option("--base <ref>", "base git ref for files/changed/lines scope (auto-detected when omitted)").option("--include-untracked", "with --scope files/changed/lines, also scan ordinary untracked files (respects .gitignore)").addOption(new Option("--diff [base]", "[deprecated] alias for --scope changed (pass `false` to force a full scan)").hideHelp()).addOption(new Option("--changed-files-from <file>", "scan source files listed in a newline-delimited changed-files file").hideHelp()).option("--no-score", "skip the score API, the share URL, and crash reporting").addOption(new Option("--category <category>", "only show diagnostics in a category (repeatable; e.g. Security)").argParser(collectCategoryOption)).option("--no-telemetry", "alias for --no-score (skip the score API, share URL, and crash reporting)").option("--staged", "scan only staged (git index) files for pre-commit hooks (honors --project and config `projects`; exits 0 when nothing is staged)").option("--max-duration <seconds>", MAX_DURATION_OPTION_DESCRIPTION).option("--blocking <level>", "severity that fails CI: error (default), warning, or none (advisory)").addOption(new Option("--fail-on <level>", "[deprecated] alias for --blocking <level>").hideHelp()).option("--no-respect-inline-disables", "audit mode: neutralize inline lint suppressions before scanning").option("--warnings", "show warning-severity diagnostics (default)").option("--no-warnings", "hide warning-severity diagnostics (errors only)").option("--color", "force colored output").option("--no-color", "disable colored output (also honors NO_COLOR)").addHelpText("after", renderRootHelpEpilog);
3562
3562
  program.action(async (positionalPaths = [], flags) => {
3563
- const { runScanCommand } = await import("./scan-ChjHrC7N.js");
3563
+ const { runScanCommand } = await import("./scan-DzhKXQQz.js");
3564
3564
  return runScanCommand({
3565
3565
  ...resolvePositionalScanInput(positionalPaths),
3566
3566
  flags,
@@ -3568,75 +3568,75 @@ program.action(async (positionalPaths = [], flags) => {
3568
3568
  });
3569
3569
  });
3570
3570
  program.command("design [directory]").description("Run only the focused UI design diagnostics").addHelpText("after", renderDesignHelpEpilog).action(async (directory, _options, command) => {
3571
- const { designAction } = await import("./design-Dty0_JnG.js");
3571
+ const { designAction } = await import("./design-DrYmJ3Y8.js");
3572
3572
  return designAction(directory ?? ".", command.optsWithGlobals());
3573
3573
  });
3574
3574
  program.command("scan").description("Scan a React interaction in Chrome until you press Enter").argument("[url]", "HTTP(S) URL of the running React app; detects local apps when omitted").option("-f, --format <format>", "report format: text, json, or jsonl", "text").option("--cdp <url>", "reuse Chrome at this remote-debugging endpoint").option("--trace-out <path>", "save the compressed .json.gz DevTools trace at this path").addHelpText("after", renderRuntimeScanHelpEpilog).action(async (url, options) => {
3575
- const { runtimeScanAction } = await import("./runtime-scan-fl7GqT-4.js");
3575
+ const { runtimeScanAction } = await import("./runtime-scan-C6cDBSRf.js");
3576
3576
  return runtimeScanAction(url, options);
3577
3577
  });
3578
3578
  program.command("why <location>").description("Explain why a rule fired (or why a suppression didn't apply) at a file:line").option("--project <name>", "select projects: workspace names or directory paths (comma-separated for multiple)").option("-c, --cwd <cwd>", "working directory", process.cwd()).option("--color", "force colored output").option("--no-color", "disable colored output (also honors NO_COLOR)").action(async (location, options) => {
3579
- const { whyAction } = await import("./why-CyIuJZHz.js");
3579
+ const { whyAction } = await import("./why-BZ0Ayqqs.js");
3580
3580
  return whyAction(location, options);
3581
3581
  });
3582
3582
  program.command("install").alias("setup").description("Install the react-doctor skill into your coding agents and optional git hook").option("-y, --yes", "skip prompts, install for all detected agents").option("--dry-run", "show what would be installed without writing files").option("--agent-hooks", "install end-of-turn agent hooks for Claude Code and Cursor").option("-c, --cwd <cwd>", "working directory", process.cwd()).option("--color", "force colored output").option("--no-color", "disable colored output (also honors NO_COLOR)").addHelpText("after", renderInstallHelpEpilog).action(async (options, command) => {
3583
- const { installAction } = await import("./install-CvyHP8Sz.js");
3583
+ const { installAction } = await import("./install-BPLRA1_s.js");
3584
3584
  return installAction(options, command);
3585
3585
  });
3586
3586
  const providerOption = ["--provider <name>", "ci provider: github-actions or gitlab-ci (auto-detected by default)"];
3587
3587
  const prOption = ["--pr", "open a pull request with the change instead of writing it to the working tree"];
3588
3588
  const ci = program.command("ci").description("Set up, upgrade, and configure React Doctor in your CI");
3589
3589
  ci.command("install").description("Add a CI workflow that scans every pull request").option(...providerOption).option(...prOption).option("--blocking <level>", "gate level: none (advisory, default), warning, or error").option("--scope <value>", "what a pull-request scan reports: changed (default), files, lines, full").option("--comment", "post a summary comment on each pull request").option("--no-comment", "don't post a summary comment").option("--review-comments", "add inline review comments on changed lines").option("--no-review-comments", "don't add inline review comments").option("--commit-status", "report a commit status with the health score").option("--no-commit-status", "don't report a commit status").option("-y, --yes", "skip prompts; use the defaults").option("-c, --cwd <cwd>", "working directory", process.cwd()).option("--color", "force colored output").option("--no-color", "disable colored output (also honors NO_COLOR)").addHelpText("after", renderCiHelpEpilog).action(async (_options, command) => {
3590
- const { ciInstallAction } = await import("./ci-SiOo5RzD.js");
3590
+ const { ciInstallAction } = await import("./ci-Bhwyqzkh.js");
3591
3591
  return ciInstallAction(command.optsWithGlobals());
3592
3592
  });
3593
3593
  ci.command("config").description("Change the gate, scan scope, and pull-request reporting").option(...providerOption).option("--blocking <level>", "gate level: none (advisory), warning, or error").option("--scope <value>", "what a pull-request scan reports: changed, files, lines, or full").option("--comment", "post a summary comment on each pull request").option("--no-comment", "don't post a summary comment").option("--review-comments", "add inline review comments on changed lines").option("--no-review-comments", "don't add inline review comments").option("--commit-status", "report a commit status with the health score").option("--no-commit-status", "don't report a commit status").option("-y, --yes", "skip prompts; print the current settings").option("-c, --cwd <cwd>", "working directory", process.cwd()).option("--color", "force colored output").option("--no-color", "disable colored output (also honors NO_COLOR)").action(async (_options, command) => {
3594
- const { ciConfigAction } = await import("./ci-SiOo5RzD.js");
3594
+ const { ciConfigAction } = await import("./ci-Bhwyqzkh.js");
3595
3595
  return ciConfigAction(command.optsWithGlobals());
3596
3596
  });
3597
3597
  ci.command("upgrade").description("Upgrade the CI workflow to the action's current major").option(...providerOption).option(...prOption).option("-y, --yes", "skip prompts").option("-c, --cwd <cwd>", "working directory", process.cwd()).option("--color", "force colored output").option("--no-color", "disable colored output (also honors NO_COLOR)").action(async (_options, command) => {
3598
- const { ciUpgradeAction } = await import("./ci-SiOo5RzD.js");
3598
+ const { ciUpgradeAction } = await import("./ci-Bhwyqzkh.js");
3599
3599
  return ciUpgradeAction(command.optsWithGlobals());
3600
3600
  });
3601
3601
  program.command("version").description("show the version with Node and platform info").option("--color", "force colored output").option("--no-color", "disable colored output (also honors NO_COLOR)").action(async () => {
3602
- const { versionAction } = await import("./version-CP66Metq.js");
3602
+ const { versionAction } = await import("./version-CdDvtiy6.js");
3603
3603
  return versionAction();
3604
3604
  });
3605
3605
  const rules = program.command("rules").description("List, explain, and configure which React Doctor rules run");
3606
3606
  rules.command("list").description("List rules and the severity they run at under your config").option("--category <name>", "only show rules in a category (e.g. Performance)").option("--tag <name>", "only show rules with a tag (e.g. design, test-noise)").option("--framework <name>", "only show rules for a framework (e.g. global, nextjs)").option("--configured", "only show rules your config has changed from the default").option("--json", "output a structured JSON array").option("-c, --cwd <cwd>", "working directory", process.cwd()).action(async (_options, command) => {
3607
- const { rulesListAction } = await import("./rules-3T0sQG3z.js");
3607
+ const { rulesListAction } = await import("./rules-DFsEJBEd.js");
3608
3608
  return rulesListAction(command.optsWithGlobals());
3609
3609
  });
3610
3610
  rules.command("explain <rule>").description("Explain why a rule matters, its current severity, and how to configure it").option("--json", "output a structured JSON object").option("-c, --cwd <cwd>", "working directory", process.cwd()).action(async (rule, _options, command) => {
3611
- const { rulesExplainAction } = await import("./rules-3T0sQG3z.js");
3611
+ const { rulesExplainAction } = await import("./rules-DFsEJBEd.js");
3612
3612
  return rulesExplainAction(rule, command.optsWithGlobals());
3613
3613
  });
3614
3614
  rules.command("set <rule> <severity>").description("Set a rule's severity: off, warn, or error").option("-c, --cwd <cwd>", "working directory", process.cwd()).action(async (rule, severity, _options, command) => {
3615
- const { rulesSetAction } = await import("./rules-3T0sQG3z.js");
3615
+ const { rulesSetAction } = await import("./rules-DFsEJBEd.js");
3616
3616
  return rulesSetAction(rule, severity, command.optsWithGlobals());
3617
3617
  });
3618
3618
  rules.command("enable <rule>").description("Enable a rule at its recommended severity (or pass --severity)").option("--severity <level>", "severity to enable at: warn or error").option("-c, --cwd <cwd>", "working directory", process.cwd()).action(async (rule, _options, command) => {
3619
- const { rulesEnableAction } = await import("./rules-3T0sQG3z.js");
3619
+ const { rulesEnableAction } = await import("./rules-DFsEJBEd.js");
3620
3620
  return rulesEnableAction(rule, command.optsWithGlobals());
3621
3621
  });
3622
3622
  rules.command("disable <rule>").description("Disable a rule so it never runs").option("-c, --cwd <cwd>", "working directory", process.cwd()).action(async (rule, _options, command) => {
3623
- const { rulesDisableAction } = await import("./rules-3T0sQG3z.js");
3623
+ const { rulesDisableAction } = await import("./rules-DFsEJBEd.js");
3624
3624
  return rulesDisableAction(rule, command.optsWithGlobals());
3625
3625
  });
3626
3626
  rules.command("category <category> <severity>").description("Set the severity for a whole category (off, warn, error)").option("-c, --cwd <cwd>", "working directory", process.cwd()).action(async (category, severity, _options, command) => {
3627
- const { rulesCategoryAction } = await import("./rules-3T0sQG3z.js");
3627
+ const { rulesCategoryAction } = await import("./rules-DFsEJBEd.js");
3628
3628
  return rulesCategoryAction(category, severity, command.optsWithGlobals());
3629
3629
  });
3630
3630
  rules.command("ignore-tag <tag>").description("Skip a whole rule family by tag before linting (e.g. design)").option("-c, --cwd <cwd>", "working directory", process.cwd()).action(async (tag, _options, command) => {
3631
- const { rulesIgnoreTagAction } = await import("./rules-3T0sQG3z.js");
3631
+ const { rulesIgnoreTagAction } = await import("./rules-DFsEJBEd.js");
3632
3632
  return rulesIgnoreTagAction(tag, command.optsWithGlobals());
3633
3633
  });
3634
3634
  rules.command("unignore-tag <tag>").description("Stop ignoring a tag previously skipped via ignore-tag").option("-c, --cwd <cwd>", "working directory", process.cwd()).action(async (tag, _options, command) => {
3635
- const { rulesUnignoreTagAction } = await import("./rules-3T0sQG3z.js");
3635
+ const { rulesUnignoreTagAction } = await import("./rules-DFsEJBEd.js");
3636
3636
  return rulesUnignoreTagAction(tag, command.optsWithGlobals());
3637
3637
  });
3638
3638
  program.command("experimental-tui [directory]", { hidden: true }).description("[experimental] interactive, scrollable scan report").option("--blocking <level>", "severity that fails CI: error (default), warning, or none (advisory)").option("--color", "force colored output").option("--no-color", "disable colored output (also honors NO_COLOR)").addOption(new Option("--no-dead-code").hideHelp()).option("--no-supply-chain", "skip the dependency supply-chain scan").option("--score", "only print the numeric score (for scripts and CI)").option("--no-score", "skip the score API, the share URL, and crash reporting").option("--no-cache", "disable all scan caches for this run").option("--max-duration <seconds>", MAX_DURATION_OPTION_DESCRIPTION).option("-p, --project <names>", "scan specific workspace projects (comma-separated, or *)").option("-y, --yes", "skip the project prompt and scan every discovered project").action(async (directory = ".", _localOptions, command) => {
3639
- const { runScanCommand } = await import("./scan-ChjHrC7N.js");
3639
+ const { runScanCommand } = await import("./scan-DzhKXQQz.js");
3640
3640
  return runScanCommand({
3641
3641
  directory,
3642
3642
  flags: command.optsWithGlobals(),
@@ -1,5 +1,5 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="6c91479d-198c-5c9d-beae-b13bc66cd3eb")}catch(e){}}();
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="a2fb00c2-593b-5d58-b7fe-378efd853ad4")}catch(e){}}();
3
3
  import { createRequire } from "node:module";
4
4
  import * as fs$1 from "node:fs";
5
5
  import fs from "node:fs";
@@ -11,7 +11,7 @@ import os from "node:os";
11
11
  import crypto from "node:crypto";
12
12
  import { Worker } from "node:worker_threads";
13
13
  import * as net from "node:net";
14
- //#region ../core/dist/constants-BnAIbT84.js
14
+ //#region ../core/dist/constants-E-ghW6VY.js
15
15
  const HTML_FILE_PATTERN = /\.html$/i;
16
16
  const SOURCE_FILE_PATTERN = /\.(?:astro|tsx?|jsx?|mts|mjs|[hH][tT][mM][lL])$/;
17
17
  const GENERATED_BUNDLE_FILE_PATTERN = /\.(iife|umd|global|min)\.m?js$/i;
@@ -425,7 +425,7 @@ const MAINTAINABILITY_CATEGORY = "Maintainability";
425
425
  //#region ../core/dist/react-compiler-detection-worker-protocol-Dp5LlrE8.js
426
426
  const isReactCompilerDetectionReply = (value) => typeof value === "object" && value !== null && "id" in value && typeof value.id === "number" && "hasReactCompiler" in value && (typeof value.hasReactCompiler === "boolean" || value.hasReactCompiler === null);
427
427
  //#endregion
428
- //#region ../core/dist/react-compiler-detection-client-D6Lj1rf0.js
428
+ //#region ../core/dist/react-compiler-detection-client-fc698QTY.js
429
429
  const pendingOutputsByRequestKey = /* @__PURE__ */ new Map();
430
430
  const toRequestKey = (request) => [
431
431
  request.directory,
@@ -1031,5 +1031,5 @@ const METRIC = {
1031
1031
  //#endregion
1032
1032
  export { warmReactCompilerDetection as $, OXLINT_WORKER_JOB_END_MARKER as $t, buildGitSourceListingRequest as A, TARGET_BLANK_BROWSER_SUPPORT as An, GITHUB_VIEWER_PERMISSION_TIMEOUT_MS as At, resolveGitCommand as B, MAINTAINABILITY_DUPLICATE_JSX_RULE as Bt, SENTRY_RELEASE_PREFIX as C, SUPPLY_CHAIN_CACHE_TTL_MS as Cn, ES_TARGET_YEAR_BY_NAME as Ct, TUI_REPORT_COMPACT_MAX_ROWS as D, SUPPLY_CHAIN_PLUGIN as Dn, GENERATED_BUNDLE_FILE_PATTERN as Dt, TRACKED_FILE_FLAGS_GIT_ARGUMENTS as E, SUPPLY_CHAIN_OVERLAP_TIMEOUT_MS as En, FILE_LINT_CACHE_MAX_FILE_COUNT as Et, lowerChildProcessPriority as F, VERCEL_NEXTJS_SECURITY_RELEASE_URL as Fn, HTML_FILE_PATTERN as Ft, resolvePluginPath as G, MINIFIED_SNIFF_BYTES as Gt, resolveOxlintThreadCount as H, MAINTAINABILITY_SOURCE_FILE_PATTERN as Ht, prefetchGitCommand as I, getCategoryImpact as In, IGNORED_DIRECTORIES as It, resolveTsConfigRelativePath as J, OXLINT_NODE_REQUIREMENT as Jt, resolveReactDoctorCacheDir as K, OCCURRENCE_MATCHED_CATEGORIES as Kt, prespawnOxlintWorkers as L, JSX_DUPLICATION_SOURCE_FILE_PATTERN as Lt, buildOxlintWorkerSpawnSpec as M, TELEMETRY_SHUTDOWN_TIMEOUT_MS as Mn, GIT_LS_FILES_MAX_BUFFER_BYTES as Mt, discardPrefetchedGitCommands as N, TSCONFIG_FILENAMES as Nn, GIT_SHOW_MAX_BUFFER_BYTES as Nt, TUI_REPORT_DETAIL_WIDTH_FRACTION as O, SUPPLY_CHAIN_RULE as On, GENERATED_SOURCE_DIRECTORY_PATTERN as Ot, killUnadoptedOxlintWorkers as P, TYPESCRIPT_DECLARATION_FILE_PATTERN as Pn, GIT_SOURCE_LISTING_ARGUMENTS as Pt, takeReactCompilerDetection as Q, OXLINT_SPLIT_TOTAL_BUDGET_MS as Qt, readSystemConcurrencyFacts as R, JSX_FILE_PATTERN as Rt, SENTRY_FLUSH_TIMEOUT_MS as S, SUPPLY_CHAIN_CACHE_SUBDIR as Sn, ENTERPRISE_CONTACT_URL as St, STAGED_SNAPSHOT_ADDITIONAL_CONFIG_FILENAMES as T, SUPPLY_CHAIN_IGNORED_PACKAGES as Tn, FILE_LINT_CACHE_FILENAME as Tt, resolveOxlintToolchainVersions as U, MAX_GLOB_PATTERN_LENGTH_CHARS as Ut, resolveOxlintBinary as V, MAINTAINABILITY_PLUGIN as Vt, resolveOxlintWorkerRuntime as W, MILLISECONDS_PER_SECOND as Wt, spawnOxlintWorkerProcess as X, OXLINT_OUTPUT_MAX_BYTES as Xt, setChildProcessRef as Y, OXLINT_OOM_RESCUE_BUDGET_MS as Yt, takePrespawnedOxlintWorker as Z, OXLINT_SPAWN_TIMEOUT_MS as Zt, SCAN_PREAMBLE_SKIP_FLAGS as _, SOURCE_FILE_PATTERN as _n, DIAGNOSTIC_CATEGORY_BUCKETS as _t, CACHE_DISABLED_VALUES as a, REACT_ROUTER_CAPABILITY_THRESHOLDS as an, AXIOM_METRICS_DATASET_HEADER as at, SCAN_RESULT_CACHE_MAX_HASHED_FILE_SIZE_BYTES as b, SPAWN_ARGS_MAX_LENGTH_CHARS_POSIX as bn, DOCS_URL as bt, HEAD_SHA_GIT_ARGUMENTS as c, ROOT_CAUSE_GROUPABLE_RULE_KEYS as cn, CANONICAL_DISCORD_URL as ct, METRIC_DISTRIBUTION_BOUNDARIES as d, SHARE_BASE_URL as dn, COMPILER_CLEANUP_BUCKET as dt, PROJECT_ANALYSIS_WORKER_MAX_OLD_SPACE_MB as en, ABORT_EXIT_CODES as et, MINIMUM_VTE_VERSION_FOR_HYPERLINKS as f, SIDECAR_LINT_CACHE_FILENAME as fn, COMPILER_CLEANUP_RULE_KEYS as ft, RUN_GIT_MAX_BUFFER_BYTES as g, SOCKET_PACKAGE_PAGE_BASE as gn, DEFAULT_BRANCH_CANDIDATES as gt, REPOSITORY_ROOT_GIT_ARGUMENTS as h, SOCKET_FREE_USER_AGENT as hn, CONFIG_SCHEMA_URL as ht, BASELINE_FILES_TEMP_DIR_PREFIX as i, REACT_BLOG_RSC_ADVISORY_URL as in, AXIOM_DEFAULT_DOMAIN as it, buildOxlintChildEnv as j, TELEMETRY_EXPORT_INTERVAL_MS as jn, GIT_CHECK_ATTR_MAX_BUFFER_BYTES as jt, WORKTREE_STATUS_GIT_ARGUMENTS as k, TAILWIND_POSTCSS7_COMPAT_ALIAS as kn, GITHUB_ACTIONS_SETUP_URL as kt, INTERNAL_ERROR_JSON_FALLBACK as l, SCANNED_DOT_DIRECTORIES as ln, CANONICAL_GITHUB_URL as lt, REACT_DOCTOR_CONFIG_PROJECT_NAME as m, SOCKET_FREE_PURL_API_BASE as mn, CONFIG_FINGERPRINT_FILENAMES as mt, AXIOM_METRICS_DATASET as n, PROJECT_ANALYSIS_WORKER_TIMEOUT_CEILING_MS as nn, APP_ONLY_RULE_KEYS as nt, CI_TRUST_COMPANIES as o, REACT_SERVER_DOM_PACKAGES as on, AXIOM_METRICS_PATH as ot, NANOSECONDS_PER_MILLISECOND as p, SKILL_NAME as pn, CONFIG_CACHE_TTL_MS as pt, resolveScanConcurrency as q, OXLINT_IGNORED_DECLARATION_DIAGNOSTIC_CODES as qt, AXIOM_TRACES_DATASET as r, PROJECT_ANALYSIS_WORKER_TIMEOUT_MS as rn, AXIOM_DATASET_HEADER as rt, GH_DEFAULT_BRANCH_PROBE_TIMEOUT_MS as s, RECOMMENDED_PNPM_MINIMUM_RELEASE_AGE_MINUTES as sn, AXIOM_TRACES_PATH as st, AXIOM_INGEST_TOKEN as t, PROJECT_ANALYSIS_WORKER_MEMORY_BUDGET_BYTES as tn, ADOPTABLE_LINT_CONFIG_FILENAMES as tt, METRIC as u, SCORE_API_URL as un, CI_URL as ut, SCAN_RESULT_CACHE_FILENAME as v, SPAWN_ARGS_MAX_LENGTH_CHARS as vn, DISABLE_DIRECTIVE_BACKUP_DIRECTORY_SEGMENTS as vt, STAGED_FILES_TEMP_DIR_PREFIX as w, SUPPLY_CHAIN_CATEGORY as wn, FETCH_TIMEOUT_MS as wt, SENTRY_DSN as x, STAGED_FILES_PROJECT_CONFIG_FILENAMES as xn, DUPLICATE_JSX_WORKER_IDLE_TIMEOUT_MS as xt, SCAN_RESULT_CACHE_GIT_ARGUMENTS as y, SPAWN_ARGS_MAX_LENGTH_CHARS_DARWIN as yn, DOCS_RULES_BASE_URL as yt, resolveConfiguredScanConcurrency as z, MAINTAINABILITY_CATEGORY as zt };
1033
1033
 
1034
- //# sourceMappingURL=constants-rmkaA7iw.js.map
1035
- //# debugId=6c91479d-198c-5c9d-beae-b13bc66cd3eb
1034
+ //# sourceMappingURL=constants-DHn5rUeg.js.map
1035
+ //# debugId=a2fb00c2-593b-5d58-b7fe-378efd853ad4
@@ -1,6 +1,6 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="7a08c46d-c34e-54ec-84ac-c8d489540c2c")}catch(e){}}();
3
- import { t as inspectAction } from "./inspect-ZsJdCoBa.js";
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="15c203d4-9351-536e-8800-8c61d1d7501d")}catch(e){}}();
3
+ import { t as inspectAction } from "./inspect-B5kLLBCU.js";
4
4
  //#region src/cli/commands/design.ts
5
5
  const designAction = async (directory, flags) => inspectAction(directory, {
6
6
  ...flags,
@@ -10,5 +10,5 @@ const designAction = async (directory, flags) => inspectAction(directory, {
10
10
  //#endregion
11
11
  export { designAction };
12
12
 
13
- //# sourceMappingURL=design-Dty0_JnG.js.map
14
- //# debugId=7a08c46d-c34e-54ec-84ac-c8d489540c2c
13
+ //# sourceMappingURL=design-DrYmJ3Y8.js.map
14
+ //# debugId=15c203d4-9351-536e-8800-8c61d1d7501d
@@ -1,9 +1,9 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="d46dad61-9d9d-56d8-b47c-0883a1ff6101")}catch(e){}}();
3
- import { d as isJsonModeActive, m as writeJsonCancellationReport } from "./record-metric-COaAD5VE.js";
4
- import { n as shutdownTelemetry, r as flushSentry } from "./telemetry-runtime-CEcDvXxW.js";
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="ea0fd28b-af4f-504c-a0e5-3de9bdb68b68")}catch(e){}}();
3
+ import { d as isJsonModeActive, m as writeJsonCancellationReport } from "./record-metric-ig3Jz1H2.js";
4
+ import { n as shutdownTelemetry, r as flushSentry } from "./telemetry-runtime-B0aPA5jX.js";
5
5
  import { t as activeScanAbortRegistry } from "./active-scan-abort-registry-CCTgal0O.js";
6
- import { n as buildFooterLinkLines, t as buildSectionDivider } from "./build-section-divider-B0MdVO19.js";
6
+ import { n as buildFooterLinkLines, t as buildSectionDivider } from "./build-section-divider-BBXhE0eV.js";
7
7
  //#region src/cli/utils/active-tui-renderer.ts
8
8
  let activeTuiRenderer = null;
9
9
  const registerActiveTuiRenderer = (renderer) => {
@@ -50,5 +50,5 @@ const exitGracefully = () => {
50
50
  //#endregion
51
51
  export { registerActiveTuiRenderer as n, exitGracefully as t };
52
52
 
53
- //# sourceMappingURL=exit-gracefully-BqUKaxLV.js.map
54
- //# debugId=d46dad61-9d9d-56d8-b47c-0883a1ff6101
53
+ //# sourceMappingURL=exit-gracefully-C-4GABeG.js.map
54
+ //# debugId=ea0fd28b-af4f-504c-a0e5-3de9bdb68b68
@@ -1,8 +1,8 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="1cd1f790-22ef-57e3-98e9-86a1d9a1ac5d")}catch(e){}}();
3
- import { ct as CANONICAL_DISCORD_URL, lt as CANONICAL_GITHUB_URL, u as METRIC } from "./constants-rmkaA7iw.js";
4
- import { At as highlighter, Cn as runSync, Nt as isReactDoctorError, Vn as isErrnoException, _ as VERSION, mn as gen, on as error, t as recordCount, vt as formatErrorChain, yt as formatReactDoctorError } from "./record-metric-COaAD5VE.js";
5
- import { c as isNpmCacheCorruptionError, l as formatEnvironmentError, s as formatNpmCacheCorruptionError, u as isEnvironmentError } from "./telemetry-runtime-CEcDvXxW.js";
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="564b7360-8a2e-5276-9fce-9ee583684c2b")}catch(e){}}();
3
+ import { ct as CANONICAL_DISCORD_URL, lt as CANONICAL_GITHUB_URL, u as METRIC } from "./constants-DHn5rUeg.js";
4
+ import { At as highlighter, Cn as runSync, Nt as isReactDoctorError, Vn as isErrnoException, _ as VERSION, mn as gen, on as error, t as recordCount, vt as formatErrorChain, yt as formatReactDoctorError } from "./record-metric-ig3Jz1H2.js";
5
+ import { c as isNpmCacheCorruptionError, l as formatEnvironmentError, s as formatNpmCacheCorruptionError, u as isEnvironmentError } from "./telemetry-runtime-B0aPA5jX.js";
6
6
  //#region src/cli/utils/handle-error.ts
7
7
  const OTLP_ENDPOINT_ENVIRONMENT_VARIABLE = "REACT_DOCTOR_OTLP_ENDPOINT";
8
8
  const OTLP_AUTH_HEADER_ENVIRONMENT_VARIABLE = "REACT_DOCTOR_OTLP_AUTH_HEADER";
@@ -111,5 +111,5 @@ const handleUserError = (error$1, options = {}) => {
111
111
  //#endregion
112
112
  export { handleUserError as n, handleError as t };
113
113
 
114
- //# sourceMappingURL=handle-error-jBnelA-d.js.map
115
- //# debugId=1cd1f790-22ef-57e3-98e9-86a1d9a1ac5d
114
+ //# sourceMappingURL=handle-error-DYJ_DTws.js.map
115
+ //# debugId=564b7360-8a2e-5276-9fce-9ee583684c2b
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="63dd8290-5e12-5b89-860f-d77e750805dd")}catch(e){}}();
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="d2b0583c-877f-57cf-8b0a-65519428807c")}catch(e){}}();
3
3
  import { i as __toESM, r as __require, t as __commonJSMin } from "./chunk-ChKA3wi6.js";
4
4
  import { createRequire } from "node:module";
5
5
  import * as fs$1$2 from "node:fs";
@@ -26,7 +26,7 @@ import { PassThrough } from "node:stream";
26
26
  import { convertToTSX } from "@astrojs/compiler/sync";
27
27
  import { STATUS_CODES } from "node:http";
28
28
  import { gzipSync } from "node:zlib";
29
- //#region ../core/dist/constants-BnAIbT84.js
29
+ //#region ../core/dist/constants-E-ghW6VY.js
30
30
  const HTML_FILE_PATTERN = /\.html$/i;
31
31
  const SOURCE_FILE_PATTERN = /\.(?:astro|tsx?|jsx?|mts|mjs|[hH][tT][mM][lL])$/;
32
32
  const GENERATED_BUNDLE_FILE_PATTERN = /\.(iife|umd|global|min)\.m?js$/i;
@@ -438,7 +438,7 @@ const isPlainObject = (value) => {
438
438
  //#region ../core/dist/react-compiler-detection-worker-protocol-Dp5LlrE8.js
439
439
  const isReactCompilerDetectionReply = (value) => typeof value === "object" && value !== null && "id" in value && typeof value.id === "number" && "hasReactCompiler" in value && (typeof value.hasReactCompiler === "boolean" || value.hasReactCompiler === null);
440
440
  //#endregion
441
- //#region ../core/dist/react-compiler-detection-client-D6Lj1rf0.js
441
+ //#region ../core/dist/react-compiler-detection-client-fc698QTY.js
442
442
  const pendingOutputsByRequestKey = /* @__PURE__ */ new Map();
443
443
  const toRequestKey = (request) => [
444
444
  request.directory,
@@ -2708,7 +2708,7 @@ var require_picomatch$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2708
2708
  module.exports = picomatch;
2709
2709
  }));
2710
2710
  //#endregion
2711
- //#region ../core/dist/collect-unplugin-auto-import-global-scopes-CPWjtqPC.js
2711
+ //#region ../core/dist/collect-unplugin-auto-import-global-scopes-D2Skzhl1.js
2712
2712
  var import_picomatch = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((exports, module) => {
2713
2713
  const pico = require_picomatch$1();
2714
2714
  const utils = require_utils();
@@ -3158,7 +3158,7 @@ const collectUnpluginAutoImportGlobalScopes = ({ rootDirectory, candidateFiles }
3158
3158
  return scopes.some((scope) => scope.names.length > 0) ? scopes : [];
3159
3159
  };
3160
3160
  //#endregion
3161
- //#region ../core/dist/detect-duplicate-jsx-subtrees-BcxRL5QB.js
3161
+ //#region ../core/dist/detect-duplicate-jsx-subtrees-CzQouU4i.js
3162
3162
  const yieldToEventLoop = () => new Promise((resolve) => {
3163
3163
  setImmediate(resolve);
3164
3164
  });
@@ -3715,7 +3715,7 @@ const detectDuplicateJsxSubtreesCooperative = async (sourceReader, options = {})
3715
3715
  });
3716
3716
  };
3717
3717
  //#endregion
3718
- //#region ../core/dist/detect-react-compiler-D6vOhKBX.js
3718
+ //#region ../core/dist/detect-react-compiler-DIKiMJ1N.js
3719
3719
  const NEXT_CONFIG_FILENAMES = [
3720
3720
  "next.config.js",
3721
3721
  "next.config.mjs",
@@ -79314,4 +79314,4 @@ const toJsonReport = (result, options) => buildJsonReport({
79314
79314
  export { AmbiguousProjectError, NoReactDependencyError, NotADirectoryError, PackageJsonNotFoundError, ProjectNotFoundError, ReactDoctorError, buildJsonReport, buildJsonReportError, clearCaches, defineConfig, diagnose, filterSourceFiles, getDiffInfo, hasReactRuntime, isProjectDiscoveryError, isReactDoctorError, summarizeDiagnostics, toJsonReport };
79315
79315
 
79316
79316
  //# sourceMappingURL=index.js.map
79317
- //# debugId=63dd8290-5e12-5b89-860f-d77e750805dd
79317
+ //# debugId=d2b0583c-877f-57cf-8b0a-65519428807c
@@ -1,19 +1,19 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="d6e41bb3-403c-5e5e-b592-d990f50c8baa")}catch(e){}}();
3
- import { N as discardPrefetchedGitCommands, T as STAGED_SNAPSHOT_ADDITIONAL_CONFIG_FILENAMES, lt as CANONICAL_GITHUB_URL, u as METRIC, w as STAGED_FILES_TEMP_DIR_PREFIX, xn as STAGED_FILES_PROJECT_CONFIG_FILENAMES } from "./constants-rmkaA7iw.js";
4
- import { At as highlighter, Ct as getDiffInfo, D as isCodingAgentEnvironment, E as isCiOrCodingAgentEnvironment, Gt as remainingDeadlineBudgetMs, Jt as resolveScanTarget, K as StagedFiles, Ot as hasSupportedFrameworkOrLibrary, Rn as messageFromUnknown, S as isDebugFlagEnabled, Sn as runPromise, Un as isPlainObject, Vn as isErrnoException, Vt as mapWithConcurrency, Z as buildJsonReport, _ as VERSION, bt as getBaselineDiffPlan, dn as JsonReport, dt as detectAiTrainingEnvironment, f as setJsonReportDirectory, fn as decodeUnknownSync, ft as discoverSupportedSubprojects, g as writeJsonReport, gt as findLegacyConfig, h as writeJsonErrorReport, j as Git, kn as provide, mn as gen, n as recordDistribution, p as setJsonReportMode, t as recordCount, tn as toRelativePath, u as enableJsonMode, xt as getChangedLineRanges, y as CliInputError, yn as provide$1, zt as listWorkspacePackages } from "./record-metric-COaAD5VE.js";
5
- import { n as shutdownTelemetry, o as isExpectedUserError, r as flushSentry } from "./telemetry-runtime-CEcDvXxW.js";
6
- import { n as handleUserError, t as handleError } from "./handle-error-jBnelA-d.js";
7
- import { t as reportErrorToSentry } from "./report-error-CSpZGdCu.js";
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="f8d153e7-38cd-5c6b-9adc-213bc6a11ddd")}catch(e){}}();
3
+ import { N as discardPrefetchedGitCommands, T as STAGED_SNAPSHOT_ADDITIONAL_CONFIG_FILENAMES, lt as CANONICAL_GITHUB_URL, u as METRIC, w as STAGED_FILES_TEMP_DIR_PREFIX, xn as STAGED_FILES_PROJECT_CONFIG_FILENAMES } from "./constants-DHn5rUeg.js";
4
+ import { At as highlighter, Ct as getDiffInfo, D as isCodingAgentEnvironment, E as isCiOrCodingAgentEnvironment, Gt as remainingDeadlineBudgetMs, Jt as resolveScanTarget, K as StagedFiles, Ot as hasSupportedFrameworkOrLibrary, Rn as messageFromUnknown, S as isDebugFlagEnabled, Sn as runPromise, Un as isPlainObject, Vn as isErrnoException, Vt as mapWithConcurrency, Z as buildJsonReport, _ as VERSION, bt as getBaselineDiffPlan, dn as JsonReport, dt as detectAiTrainingEnvironment, f as setJsonReportDirectory, fn as decodeUnknownSync, ft as discoverSupportedSubprojects, g as writeJsonReport, gt as findLegacyConfig, h as writeJsonErrorReport, j as Git, kn as provide, mn as gen, n as recordDistribution, p as setJsonReportMode, t as recordCount, tn as toRelativePath, u as enableJsonMode, xt as getChangedLineRanges, y as CliInputError, yn as provide$1, zt as listWorkspacePackages } from "./record-metric-ig3Jz1H2.js";
5
+ import { n as shutdownTelemetry, o as isExpectedUserError, r as flushSentry } from "./telemetry-runtime-B0aPA5jX.js";
6
+ import { n as handleUserError, t as handleError } from "./handle-error-DYJ_DTws.js";
7
+ import { t as reportErrorToSentry } from "./report-error-AaQVKqAG.js";
8
8
  import { t as toForwardSlashes } from "./path-format-By20mo8A.js";
9
- import { N as cliLogger, c as spinner, i as hasDoctorScript, j as runGitRaw, k as runGit, n as findNearestPackageDirectory, o as isSpinnerSilent, s as setSpinnerSilent } from "./install-doctor-script-YdsysHJ8.js";
10
- import { a as readReactDoctorWorkflow, c as workflowUsesV1Action, i as isReactDoctorWorkflowInstalled, l as prompts, s as upgradeWorkflowActionToV2 } from "./install-github-workflow-zVARf-aa.js";
11
- import { c as openWorkflowPullRequest, i as warnDeprecatedDiff, l as stageWorkflowFile, r as resolveScope, s as resolveBlockingLevel, t as finalizeScope } from "./resolve-scope-BDtWzgKS.js";
12
- import { t as shouldSkipPrompts } from "./should-skip-prompts-Db09UIvm.js";
13
- import { A as createInvocationInspect, C as detectLaunchableAgents, D as buildHandoffPayload, E as launchCliAgent, M as resolveMergeBaseRef, N as printHeadlessReport, O as collectProjectSourceFiles, R as printDiagnosticsDump, S as setUpGitHubActions, T as copyToClipboard, U as buildEmptyReportMessage, V as filterDiagnosticsByCategories, W as resolveInvocationOxlintConcurrency, _ as retryMissingProjectScores, a as validateModeFlags, b as filterScansForSurface, c as partitionProjectScanOutcomes, d as buildCodeFrame, f as resolveProjectScan, g as resolveProjectRelativeDirectory, h as resolveProjectSourceFilePaths, i as validateIncludeUntrackedScope, j as inspect, k as deduplicateProjectScans, l as discoverWorkspacePackages, m as resolveProjectDiffIncludePaths, n as formatSkippedProjectsMessage, o as resolveExcludedProjectDirectories, p as resolveProjectChangedLineRanges, s as projectManifestChanged, t as shouldFailScanGate, u as selectProjects, v as resolveWorkspaceDeadCodeOwner, w as CLI_AGENT_BINARIES, x as countUniqueScannedFiles, y as resolveCliInspectOptions } from "./should-fail-scan-gate-0HPfGaTS.js";
14
- import { a as recordGate, g as loadAgentInstall, i as readPreference, o as runMigrations, p as SETUP_HINT_EVENT, r as isGatePending, s as writePreference, u as HANDOFF_TARGET_PREFERENCE_ID } from "./report-workflow-result-D0Tev_E8.js";
15
- import { a as askUpgradeActionVersion, c as recordCiPromptDecision, i as installReactDoctorAgentHooks, l as hasHandledActionUpgrade, o as askAddToGitHubActions, r as findAgentsWithOutdatedReactDoctorHooks, s as hasHandledCiPrompt, t as getSkillSourceDirectory, u as recordActionUpgradeDecision } from "./install-react-doctor-Btq_1UZH.js";
16
- import { t as readObjectFile } from "./read-object-file-BMfspuEc.js";
9
+ import { N as cliLogger, c as spinner, i as hasDoctorScript, j as runGitRaw, k as runGit, n as findNearestPackageDirectory, o as isSpinnerSilent, s as setSpinnerSilent } from "./install-doctor-script-Bf2VZliG.js";
10
+ import { a as readReactDoctorWorkflow, c as workflowUsesV1Action, i as isReactDoctorWorkflowInstalled, l as prompts, s as upgradeWorkflowActionToV2 } from "./install-github-workflow-DALgqGw2.js";
11
+ import { c as openWorkflowPullRequest, i as warnDeprecatedDiff, l as stageWorkflowFile, r as resolveScope, s as resolveBlockingLevel, t as finalizeScope } from "./resolve-scope-qWaInxbR.js";
12
+ import { t as shouldSkipPrompts } from "./should-skip-prompts-Sm3BOB2W.js";
13
+ import { A as createInvocationInspect, C as detectLaunchableAgents, D as buildHandoffPayload, E as launchCliAgent, M as resolveMergeBaseRef, N as printHeadlessReport, O as collectProjectSourceFiles, R as printDiagnosticsDump, S as setUpGitHubActions, T as copyToClipboard, U as buildEmptyReportMessage, V as filterDiagnosticsByCategories, W as resolveInvocationOxlintConcurrency, _ as retryMissingProjectScores, a as validateModeFlags, b as filterScansForSurface, c as partitionProjectScanOutcomes, d as buildCodeFrame, f as resolveProjectScan, g as resolveProjectRelativeDirectory, h as resolveProjectSourceFilePaths, i as validateIncludeUntrackedScope, j as inspect, k as deduplicateProjectScans, l as discoverWorkspacePackages, m as resolveProjectDiffIncludePaths, n as formatSkippedProjectsMessage, o as resolveExcludedProjectDirectories, p as resolveProjectChangedLineRanges, s as projectManifestChanged, t as shouldFailScanGate, u as selectProjects, v as resolveWorkspaceDeadCodeOwner, w as CLI_AGENT_BINARIES, x as countUniqueScannedFiles, y as resolveCliInspectOptions } from "./should-fail-scan-gate-DHeOcfsD.js";
14
+ import { a as recordGate, g as loadAgentInstall, i as readPreference, o as runMigrations, p as SETUP_HINT_EVENT, r as isGatePending, s as writePreference, u as HANDOFF_TARGET_PREFERENCE_ID } from "./report-workflow-result-CSbFuOZD.js";
15
+ import { a as askUpgradeActionVersion, c as recordCiPromptDecision, i as installReactDoctorAgentHooks, l as hasHandledActionUpgrade, o as askAddToGitHubActions, r as findAgentsWithOutdatedReactDoctorHooks, s as hasHandledCiPrompt, t as getSkillSourceDirectory, u as recordActionUpgradeDecision } from "./install-react-doctor-D20RkNvN.js";
16
+ import { t as readObjectFile } from "./read-object-file-CIMwQELU.js";
17
17
  import * as fs$1 from "node:fs";
18
18
  import fs from "node:fs";
19
19
  import * as path$1 from "node:path";
@@ -1520,5 +1520,5 @@ const inspectAction = async (directory, flags, invocationCommand = "inspect", se
1520
1520
  //#endregion
1521
1521
  export { warnDeprecatedFailOn as n, runProjectMigrations as r, inspectAction as t };
1522
1522
 
1523
- //# sourceMappingURL=inspect-ZsJdCoBa.js.map
1524
- //# debugId=d6e41bb3-403c-5e5e-b592-d990f50c8baa
1523
+ //# sourceMappingURL=inspect-B5kLLBCU.js.map
1524
+ //# debugId=f8d153e7-38cd-5c6b-9adc-213bc6a11ddd
@@ -1,12 +1,12 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="37ae538f-7766-507b-b40e-5f36eca1deb4")}catch(e){}}();
3
- import { u as METRIC } from "./constants-rmkaA7iw.js";
4
- import { Cn as runSync, t as recordCount } from "./record-metric-COaAD5VE.js";
5
- import { o as isExpectedUserError } from "./telemetry-runtime-CEcDvXxW.js";
6
- import { n as handleUserError, t as handleError } from "./handle-error-jBnelA-d.js";
7
- import { t as reportErrorToSentry } from "./report-error-CSpZGdCu.js";
8
- import { t as printBrandedHeader } from "./print-branded-header-C9VkuYyR.js";
9
- import { n as runInstallReactDoctor } from "./install-react-doctor-Btq_1UZH.js";
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="115bd788-667b-5959-b85b-f34658678661")}catch(e){}}();
3
+ import { u as METRIC } from "./constants-DHn5rUeg.js";
4
+ import { Cn as runSync, t as recordCount } from "./record-metric-ig3Jz1H2.js";
5
+ import { o as isExpectedUserError } from "./telemetry-runtime-B0aPA5jX.js";
6
+ import { n as handleUserError, t as handleError } from "./handle-error-DYJ_DTws.js";
7
+ import { t as reportErrorToSentry } from "./report-error-AaQVKqAG.js";
8
+ import { t as printBrandedHeader } from "./print-branded-header-ChbhJ6H1.js";
9
+ import { n as runInstallReactDoctor } from "./install-react-doctor-D20RkNvN.js";
10
10
  //#region src/cli/commands/install.ts
11
11
  const installAction = async (options, command) => {
12
12
  recordCount(METRIC.cliInvoked, 1, { command: "install" });
@@ -30,5 +30,5 @@ const installAction = async (options, command) => {
30
30
  //#endregion
31
31
  export { installAction };
32
32
 
33
- //# sourceMappingURL=install-CvyHP8Sz.js.map
34
- //# debugId=37ae538f-7766-507b-b40e-5f36eca1deb4
33
+ //# sourceMappingURL=install-BPLRA1_s.js.map
34
+ //# debugId=115bd788-667b-5959-b85b-f34658678661
@@ -1,7 +1,7 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="be94a949-2a69-5149-a1ff-12fb483ebb7e")}catch(e){}}();
3
- import { B as resolveGitCommand, g as RUN_GIT_MAX_BUFFER_BYTES } from "./constants-rmkaA7iw.js";
4
- import { At as highlighter, Cn as runSync, b as isNonInteractiveEnvironment, cn as log, ln as warn, on as error$1, sn as info$1 } from "./record-metric-COaAD5VE.js";
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="c2ce9878-ef38-5d11-ae3c-f8db92114b6d")}catch(e){}}();
3
+ import { B as resolveGitCommand, g as RUN_GIT_MAX_BUFFER_BYTES } from "./constants-DHn5rUeg.js";
4
+ import { At as highlighter, Cn as runSync, b as isNonInteractiveEnvironment, cn as log, ln as warn, on as error$1, sn as info$1 } from "./record-metric-ig3Jz1H2.js";
5
5
  import { a as chalk, i as stripAnsi, t as eastAsianWidth } from "./get-east-asian-width-DRPy7dqz.js";
6
6
  import * as fs$1 from "node:fs";
7
7
  import * as path$1 from "node:path";
@@ -2814,5 +2814,5 @@ const installReactDoctorScriptStep = (projectRoot) => {
2814
2814
  //#endregion
2815
2815
  export { runGitAsync as A, isRecord as C, readPackageJson as D, packageHasRecordKey as E, writeJsonFile as M, cliLogger as N, resolveGitPath as O, getPackageJsonPath as S, packageHasNestedRecordKey as T, REACT_DOCTOR_COMMAND as _, installReactDoctorScriptStep as a, VITE_PLUS_HOOKS_PATH as b, spinner as c, HUSKY_HOOKS_PATH as d, LEFTHOOK_CONFIG_FILES as f, PRE_COMMIT_CONFIG_FILE as g, OVERCOMMIT_CONFIG_FILE as h, hasDoctorScript as i, runGitRaw as j, runGit as k, HOOK_FILE_NAME as l, NON_BLOCKING_REACT_DOCTOR_COMMAND as m, findNearestPackageDirectory as n, isSpinnerSilent as o, LEGACY_HOOK_RUNNER_RELATIVE_PATH as p, hasDoctorDependency as r, setSpinnerSilent as s, DOCTOR_PACKAGE_NAME as t, HOOK_RELATIVE_PATH as u, SIMPLE_GIT_HOOKS_CONFIG_FILE as v, packageHasDependency as w, ensureTrailingNewline as x, SIMPLE_GIT_HOOKS_PACKAGE_JSON_KEY as y };
2816
2816
 
2817
- //# sourceMappingURL=install-doctor-script-YdsysHJ8.js.map
2818
- //# debugId=be94a949-2a69-5149-a1ff-12fb483ebb7e
2817
+ //# sourceMappingURL=install-doctor-script-Bf2VZliG.js.map
2818
+ //# debugId=c2ce9878-ef38-5d11-ae3c-f8db92114b6d
@@ -1,8 +1,8 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="dc1c6c6b-86f5-5629-a36f-3b268f35f18c")}catch(e){}}();
3
- import { s as GH_DEFAULT_BRANCH_PROBE_TIMEOUT_MS } from "./constants-rmkaA7iw.js";
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="fbffa918-7403-5f32-9d60-e65276f63c08")}catch(e){}}();
3
+ import { s as GH_DEFAULT_BRANCH_PROBE_TIMEOUT_MS } from "./constants-DHn5rUeg.js";
4
4
  import { t as unrefStdin } from "./unref-stdin-D-NZBFpg.js";
5
- import { N as cliLogger } from "./install-doctor-script-YdsysHJ8.js";
5
+ import { N as cliLogger } from "./install-doctor-script-Bf2VZliG.js";
6
6
  import { createRequire } from "node:module";
7
7
  import * as fs$1 from "node:fs";
8
8
  import * as path$1 from "node:path";
@@ -267,5 +267,5 @@ const upgradeReactDoctorWorkflowInPlace = (projectRoot) => {
267
267
  //#endregion
268
268
  export { readReactDoctorWorkflow as a, workflowUsesV1Action as c, detectDefaultBranch as d, runCommand as f, isReactDoctorWorkflowInstalled as i, prompts as l, getReactDoctorWorkflowPath as n, upgradeReactDoctorWorkflowInPlace as o, installReactDoctorWorkflow as r, upgradeWorkflowActionToV2 as s, buildWorkflowContent as t, isCommandAvailable as u };
269
269
 
270
- //# sourceMappingURL=install-github-workflow-zVARf-aa.js.map
271
- //# debugId=dc1c6c6b-86f5-5629-a36f-3b268f35f18c
270
+ //# sourceMappingURL=install-github-workflow-DALgqGw2.js.map
271
+ //# debugId=fbffa918-7403-5f32-9d60-e65276f63c08
@@ -1,11 +1,11 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="0e6e69a0-b75b-5493-84c7-c233d61a36ab")}catch(e){}}();
3
- import { kt as GITHUB_ACTIONS_SETUP_URL, o as CI_TRUST_COMPANIES, pn as SKILL_NAME, u as METRIC } from "./constants-rmkaA7iw.js";
4
- import { At as highlighter, Vn as isErrnoException, t as recordCount, y as CliInputError } from "./record-metric-COaAD5VE.js";
5
- import { C as isRecord, D as readPackageJson, E as packageHasRecordKey, M as writeJsonFile, N as cliLogger, O as resolveGitPath, S as getPackageJsonPath, T as packageHasNestedRecordKey, _ as REACT_DOCTOR_COMMAND, a as installReactDoctorScriptStep, b as VITE_PLUS_HOOKS_PATH, c as spinner, d as HUSKY_HOOKS_PATH, f as LEFTHOOK_CONFIG_FILES, g as PRE_COMMIT_CONFIG_FILE, h as OVERCOMMIT_CONFIG_FILE, k as runGit, l as HOOK_FILE_NAME, m as NON_BLOCKING_REACT_DOCTOR_COMMAND, n as findNearestPackageDirectory, p as LEGACY_HOOK_RUNNER_RELATIVE_PATH, r as hasDoctorDependency, t as DOCTOR_PACKAGE_NAME, u as HOOK_RELATIVE_PATH, w as packageHasDependency, x as ensureTrailingNewline } from "./install-doctor-script-YdsysHJ8.js";
6
- import { a as readReactDoctorWorkflow, c as workflowUsesV1Action, d as detectDefaultBranch, l as prompts, n as getReactDoctorWorkflowPath, o as upgradeReactDoctorWorkflowInPlace, r as installReactDoctorWorkflow } from "./install-github-workflow-zVARf-aa.js";
7
- import { t as shouldSkipPrompts } from "./should-skip-prompts-Db09UIvm.js";
8
- import { a as recordGate, c as ACTION_UPGRADE_EVENT, d as INSTALL_AGENTS_PREFERENCE_ID, g as loadAgentInstall, h as detectAvailableAgents, i as readPreference, l as CI_PITCH_EVENT, m as computeDefaultSelectedAgents, n as openUrl, r as isGatePending, s as writePreference, t as reportWorkflowResult } from "./report-workflow-result-D0Tev_E8.js";
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="69dca9ce-09a9-5b8c-96d6-135454c35167")}catch(e){}}();
3
+ import { kt as GITHUB_ACTIONS_SETUP_URL, o as CI_TRUST_COMPANIES, pn as SKILL_NAME, u as METRIC } from "./constants-DHn5rUeg.js";
4
+ import { At as highlighter, Vn as isErrnoException, t as recordCount, y as CliInputError } from "./record-metric-ig3Jz1H2.js";
5
+ import { C as isRecord, D as readPackageJson, E as packageHasRecordKey, M as writeJsonFile, N as cliLogger, O as resolveGitPath, S as getPackageJsonPath, T as packageHasNestedRecordKey, _ as REACT_DOCTOR_COMMAND, a as installReactDoctorScriptStep, b as VITE_PLUS_HOOKS_PATH, c as spinner, d as HUSKY_HOOKS_PATH, f as LEFTHOOK_CONFIG_FILES, g as PRE_COMMIT_CONFIG_FILE, h as OVERCOMMIT_CONFIG_FILE, k as runGit, l as HOOK_FILE_NAME, m as NON_BLOCKING_REACT_DOCTOR_COMMAND, n as findNearestPackageDirectory, p as LEGACY_HOOK_RUNNER_RELATIVE_PATH, r as hasDoctorDependency, t as DOCTOR_PACKAGE_NAME, u as HOOK_RELATIVE_PATH, w as packageHasDependency, x as ensureTrailingNewline } from "./install-doctor-script-Bf2VZliG.js";
6
+ import { a as readReactDoctorWorkflow, c as workflowUsesV1Action, d as detectDefaultBranch, l as prompts, n as getReactDoctorWorkflowPath, o as upgradeReactDoctorWorkflowInPlace, r as installReactDoctorWorkflow } from "./install-github-workflow-DALgqGw2.js";
7
+ import { t as shouldSkipPrompts } from "./should-skip-prompts-Sm3BOB2W.js";
8
+ import { a as recordGate, c as ACTION_UPGRADE_EVENT, d as INSTALL_AGENTS_PREFERENCE_ID, g as loadAgentInstall, h as detectAvailableAgents, i as readPreference, l as CI_PITCH_EVENT, m as computeDefaultSelectedAgents, n as openUrl, r as isGatePending, s as writePreference, t as reportWorkflowResult } from "./report-workflow-result-CSbFuOZD.js";
9
9
  import * as fs$1 from "node:fs";
10
10
  import * as path$1 from "node:path";
11
11
  import { execFile } from "node:child_process";
@@ -1156,5 +1156,5 @@ const runInstallReactDoctor = async (options = {}) => {
1156
1156
  //#endregion
1157
1157
  export { askUpgradeActionVersion as a, recordCiPromptDecision as c, installReactDoctorAgentHooks as i, hasHandledActionUpgrade as l, runInstallReactDoctor as n, askAddToGitHubActions as o, findAgentsWithOutdatedReactDoctorHooks as r, hasHandledCiPrompt as s, getSkillSourceDirectory as t, recordActionUpgradeDecision as u };
1158
1158
 
1159
- //# sourceMappingURL=install-react-doctor-Btq_1UZH.js.map
1160
- //# debugId=0e6e69a0-b75b-5493-84c7-c233d61a36ab
1159
+ //# sourceMappingURL=install-react-doctor-D20RkNvN.js.map
1160
+ //# debugId=69dca9ce-09a9-5b8c-96d6-135454c35167
@@ -1,10 +1,10 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="98cb2e68-1060-5b5b-90da-b3ee0b846211")}catch(e){}}();
3
- import { a as CACHE_DISABLED_VALUES } from "./constants-rmkaA7iw.js";
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="f128b756-b9c0-5228-a3e4-73357dd868bb")}catch(e){}}();
3
+ import { a as CACHE_DISABLED_VALUES } from "./constants-DHn5rUeg.js";
4
4
  //#region src/cli/utils/is-cache-globally-disabled.ts
5
5
  const isCacheGloballyDisabled = () => CACHE_DISABLED_VALUES.has(process.env.REACT_DOCTOR_NO_CACHE?.toLowerCase() ?? "");
6
6
  //#endregion
7
7
  export { isCacheGloballyDisabled as t };
8
8
 
9
- //# sourceMappingURL=is-cache-globally-disabled-DquUESHw.js.map
10
- //# debugId=98cb2e68-1060-5b5b-90da-b3ee0b846211
9
+ //# sourceMappingURL=is-cache-globally-disabled-DDlh_f1u.js.map
10
+ //# debugId=f128b756-b9c0-5228-a3e4-73357dd868bb
@@ -1,9 +1,9 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="2361e9a6-cf15-5e91-88eb-fcd97eb50a00")}catch(e){}}();
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="4d21cef0-cc19-5006-99c0-9b91891ba74d")}catch(e){}}();
3
3
  import { i as __toESM, r as __require, t as __commonJSMin } from "./chunk-ChKA3wi6.js";
4
- import { u as METRIC } from "./constants-rmkaA7iw.js";
5
- import { t as recordCount } from "./record-metric-COaAD5VE.js";
6
- import { n as registerActiveTuiRenderer, t as exitGracefully } from "./exit-gracefully-BqUKaxLV.js";
4
+ import { u as METRIC } from "./constants-DHn5rUeg.js";
5
+ import { t as recordCount } from "./record-metric-ig3Jz1H2.js";
6
+ import { n as registerActiveTuiRenderer, t as exitGracefully } from "./exit-gracefully-C-4GABeG.js";
7
7
  import { a as chalk, i as stripAnsi, n as isFullWidth$1, r as isWide$1 } from "./get-east-asian-width-DRPy7dqz.js";
8
8
  import * as fs$1 from "node:fs";
9
9
  import fs from "node:fs";
@@ -25870,5 +25870,5 @@ var require_jsx_runtime = /* @__PURE__ */ __commonJSMin(((exports, module) => {
25870
25870
  //#endregion
25871
25871
  export { useExitOnCtrlC as a, Spinner as c, useInput as d, Transform as f, Box as h, import_react as i, useStdout as l, Text as m, registerMountedTuiRenderer as n, terminalSymbols as o, render as p, useStdoutDimensions as r, isPrintableInput as s, require_jsx_runtime as t, useApp as u };
25872
25872
 
25873
- //# sourceMappingURL=jsx-runtime-BC_XnKBD.js.map
25874
- //# debugId=2361e9a6-cf15-5e91-88eb-fcd97eb50a00
25873
+ //# sourceMappingURL=jsx-runtime-DmX0umt5.js.map
25874
+ //# debugId=4d21cef0-cc19-5006-99c0-9b91891ba74d