react-doctor 0.9.18-dev.9a79847 → 0.9.18-dev.a1df4e5

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 (38) hide show
  1. package/dist/{build-section-divider-F18iXtxb.js → build-section-divider-COvZRj9p.js} +5 -5
  2. package/dist/{ci-CgtjUZEp.js → ci-BITADECd.js} +13 -13
  3. package/dist/cli.js +25 -25
  4. package/dist/{constants-_b1h6lxa.js → constants-ClqojoT2.js} +6 -5
  5. package/dist/constants-DNh19qg9.js +2 -2
  6. package/dist/{design-CtHsB1nr.js → design-CAs5wvSX.js} +4 -4
  7. package/dist/{exit-gracefully-D1DuwwPU.js → exit-gracefully-BZVnyw55.js} +6 -6
  8. package/dist/{handle-error-B3AmBrIU.js → handle-error-aRCR1Ipk.js} +6 -6
  9. package/dist/index.js +9 -7
  10. package/dist/{inspect-BhFj2qyJ.js → inspect-Brmm3X1j.js} +16 -16
  11. package/dist/{install-3nDOB3hj.js → install-CGY138cC.js} +10 -10
  12. package/dist/{install-doctor-script-DHJd_h8L.js → install-doctor-script-C6Y9N7vS.js} +5 -5
  13. package/dist/{install-github-workflow-BPUJzESV.js → install-github-workflow-BXi0kdr5.js} +6 -6
  14. package/dist/{install-react-doctor-IU3RmjJs.js → install-react-doctor-DqJ_boxw.js} +9 -9
  15. package/dist/{is-cache-globally-disabled-BTTLvugj.js → is-cache-globally-disabled-DnyI809X.js} +4 -4
  16. package/dist/{jsx-runtime-BpqeSsvv.js → jsx-runtime-BKctPAXu.js} +6 -6
  17. package/dist/{print-branded-header-Cabdds8M.js → print-branded-header-CjkZmZej.js} +4 -4
  18. package/dist/{prompt-runtime-scan-url-DqGtnZaE.js → prompt-runtime-scan-url-D49aL4ZH.js} +5 -5
  19. package/dist/{read-object-file-OstnyYB2.js → read-object-file-CJa1A--P.js} +4 -4
  20. package/dist/{record-metric-CgebwK0K.js → record-metric-BqtTYUZU.js} +9 -8
  21. package/dist/{report-error-DYLN3xZA.js → report-error-CbVKOp-n.js} +6 -6
  22. package/dist/{report-workflow-result-BfR_cSwa.js → report-workflow-result-BvBneVVU.js} +6 -6
  23. package/dist/{resolve-scan-exit-code-CMj5rx-z.js → resolve-scan-exit-code-qQybB6GP.js} +13 -13
  24. package/dist/{resolve-scope-DlV1G6NB.js → resolve-scope-BeuMd6gs.js} +6 -6
  25. package/dist/{rules-CCbE4U-k.js → rules-DHJSkBAp.js} +7 -7
  26. package/dist/{run-scan-app-D8hbdBvF.js → run-scan-app-CS80khFW.js} +11 -11
  27. package/dist/{runtime-scan-BINkjxmp.js → runtime-scan-Bqf6cKU4.js} +10 -10
  28. package/dist/{sanitize-runtime-url-B3CaL49D.js → sanitize-runtime-url-CGjCeMe9.js} +4 -4
  29. package/dist/{scan-D0JRVcBc.js → scan-CHBk7Diy.js} +10 -10
  30. package/dist/{should-skip-prompts-BQ6Bv8nf.js → should-skip-prompts-cuM75Zhj.js} +4 -4
  31. package/dist/{should-use-tui-BxO6yE3o.js → should-use-tui-DnDnjKnd.js} +4 -4
  32. package/dist/{start-scan-preamble-BbzEgrwo.js → start-scan-preamble-DgEn5GlY.js} +5 -5
  33. package/dist/start-scan-preamble.js +3 -3
  34. package/dist/{telemetry-runtime-BmL4aFx2.js → telemetry-runtime-PQnIlimu.js} +7 -7
  35. package/dist/{version-D2xd0HSm.js → version-7FY4nVUc.js} +5 -5
  36. package/dist/{why-CO9Za1ph.js → why-DuH0y0iR.js} +4 -4
  37. package/dist/{with-run-span-CMr4jR2i.js → with-run-span-90gigD9K.js} +6 -6
  38. package/package.json +2 -2
@@ -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]="a621f773-225f-527c-9f43-add3bec3ba3d")}catch(e){}}();
3
- import { bt as DOCS_URL, lt as CANONICAL_GITHUB_URL } from "./constants-_b1h6lxa.js";
4
- import { Mt as highlighter } from "./record-metric-CgebwK0K.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]="eaccce03-9b8b-598d-8cc1-5ed58a33742a")}catch(e){}}();
3
+ import { bt as DOCS_URL, lt as CANONICAL_GITHUB_URL } from "./constants-ClqojoT2.js";
4
+ import { Mt as highlighter } from "./record-metric-BqtTYUZU.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-F18iXtxb.js.map
81
- //# debugId=a621f773-225f-527c-9f43-add3bec3ba3d
80
+ //# sourceMappingURL=build-section-divider-COvZRj9p.js.map
81
+ //# debugId=eaccce03-9b8b-598d-8cc1-5ed58a33742a
@@ -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]="a57a3d68-6b4a-5d53-940c-1343bab599c2")}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]="b3a393e0-5dc9-5aae-8ec8-d437022d22c2")}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-_b1h6lxa.js";
5
- import { Mt as highlighter, Tn as runSync, _t as findGitRepositoryRoot, t as recordCount } from "./record-metric-CgebwK0K.js";
6
- import { o as isExpectedUserError } from "./telemetry-runtime-BmL4aFx2.js";
7
- import { n as handleUserError, t as handleError } from "./handle-error-B3AmBrIU.js";
8
- import { t as reportErrorToSentry } from "./report-error-DYLN3xZA.js";
9
- import { N as cliLogger, c as spinner, n as findNearestPackageDirectory } from "./install-doctor-script-DHJd_h8L.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-BPUJzESV.js";
11
- import { a as isValidBlockingLevel, c as openWorkflowPullRequest, l as stageWorkflowFile, n as isScopeValue } from "./resolve-scope-DlV1G6NB.js";
12
- import { t as shouldSkipPrompts } from "./should-skip-prompts-BQ6Bv8nf.js";
13
- import { t as printBrandedHeader } from "./print-branded-header-Cabdds8M.js";
4
+ import { kt as GITHUB_ACTIONS_SETUP_URL, u as METRIC, ut as CI_URL } from "./constants-ClqojoT2.js";
5
+ import { Mt as highlighter, Tn as runSync, _t as findGitRepositoryRoot, t as recordCount } from "./record-metric-BqtTYUZU.js";
6
+ import { o as isExpectedUserError } from "./telemetry-runtime-PQnIlimu.js";
7
+ import { n as handleUserError, t as handleError } from "./handle-error-aRCR1Ipk.js";
8
+ import { t as reportErrorToSentry } from "./report-error-CbVKOp-n.js";
9
+ import { N as cliLogger, c as spinner, n as findNearestPackageDirectory } from "./install-doctor-script-C6Y9N7vS.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-BXi0kdr5.js";
11
+ import { a as isValidBlockingLevel, c as openWorkflowPullRequest, l as stageWorkflowFile, n as isScopeValue } from "./resolve-scope-BeuMd6gs.js";
12
+ import { t as shouldSkipPrompts } from "./should-skip-prompts-cuM75Zhj.js";
13
+ import { t as printBrandedHeader } from "./print-branded-header-CjkZmZej.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
@@ -7509,5 +7509,5 @@ const ciConfigAction = (options) => runCiCommand("config", runCiConfig, options)
7509
7509
  //#endregion
7510
7510
  export { ciConfigAction, ciInstallAction, ciUpgradeAction };
7511
7511
 
7512
- //# sourceMappingURL=ci-CgtjUZEp.js.map
7513
- //# debugId=a57a3d68-6b4a-5d53-940c-1343bab599c2
7512
+ //# sourceMappingURL=ci-BITADECd.js.map
7513
+ //# debugId=b3a393e0-5dc9-5aae-8ec8-d437022d22c2
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]="8ce9aa1f-0a85-514c-9759-6b1c0db96ace")}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-_b1h6lxa.js";
5
- import "./start-scan-preamble-BbzEgrwo.js";
6
- import { Hn as isDirectory, Mt as highlighter, Nt as isPathInsideDirectory, S as isDebugFlagEnabled, Wn as isFile, _ as VERSION, d as isJsonModeActive, en as setColorEnabled, gt as filterSourceFiles, h as writeJsonErrorReport, i as isTelemetryEnabled, y as CliInputError } from "./record-metric-CgebwK0K.js";
7
- import { a as initializeSentry, n as shutdownTelemetry, o as isExpectedUserError, r as flushSentry } from "./telemetry-runtime-BmL4aFx2.js";
8
- import { t as exitGracefully } from "./exit-gracefully-D1DuwwPU.js";
9
- import { n as handleUserError, t as handleError } from "./handle-error-B3AmBrIU.js";
4
+ import { lt as CANONICAL_GITHUB_URL, ut as CI_URL } from "./constants-ClqojoT2.js";
5
+ import "./start-scan-preamble-DgEn5GlY.js";
6
+ import { Hn as isDirectory, Mt as highlighter, Nt as isPathInsideDirectory, S as isDebugFlagEnabled, Wn as isFile, _ as VERSION, d as isJsonModeActive, en as setColorEnabled, gt as filterSourceFiles, h as writeJsonErrorReport, i as isTelemetryEnabled, y as CliInputError } from "./record-metric-BqtTYUZU.js";
7
+ import { a as initializeSentry, n as shutdownTelemetry, o as isExpectedUserError, r as flushSentry } from "./telemetry-runtime-PQnIlimu.js";
8
+ import { t as exitGracefully } from "./exit-gracefully-BZVnyw55.js";
9
+ import { n as handleUserError, t as handleError } from "./handle-error-aRCR1Ipk.js";
10
10
  import { n as getLastRunTraceId } from "./active-run-trace-Dewycxda.js";
11
- import { t as reportErrorToSentry } from "./report-error-DYLN3xZA.js";
11
+ import { t as reportErrorToSentry } from "./report-error-CbVKOp-n.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";
@@ -3569,7 +3569,7 @@ ${highlighter.dim("Learn more:")}
3569
3569
  const collectCategoryOption = (value, previousValues) => [...previousValues ?? [], value];
3570
3570
  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), lines (issues whose source spans touch changed lines), or contextual (issues in modified rule contexts)").option("--base <ref>", "base git ref for files/changed/lines/contextual scope (auto-detected when omitted)").option("--baseline <report.json>", "report only new issues compared with a saved JSON report").option("--include-untracked", "with --scope files/changed/lines/contextual, 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)").option("--warning-exit-code <code>", "exit code for non-blocking warnings (2-255). Ignored with --blocking none or --score", parseWarningExitCode).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);
3571
3571
  program.action(async (positionalPaths = [], flags) => {
3572
- const { runScanCommand } = await import("./scan-D0JRVcBc.js");
3572
+ const { runScanCommand } = await import("./scan-CHBk7Diy.js");
3573
3573
  return runScanCommand({
3574
3574
  ...resolvePositionalScanInput(positionalPaths),
3575
3575
  flags,
@@ -3577,75 +3577,75 @@ program.action(async (positionalPaths = [], flags) => {
3577
3577
  });
3578
3578
  });
3579
3579
  program.command("design [directory]").description("Run only the focused UI design diagnostics").addHelpText("after", renderDesignHelpEpilog).action(async (directory, _options, command) => {
3580
- const { designAction } = await import("./design-CtHsB1nr.js");
3580
+ const { designAction } = await import("./design-CAs5wvSX.js");
3581
3581
  return designAction(directory ?? ".", command.optsWithGlobals());
3582
3582
  });
3583
3583
  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) => {
3584
- const { runtimeScanAction } = await import("./runtime-scan-BINkjxmp.js");
3584
+ const { runtimeScanAction } = await import("./runtime-scan-Bqf6cKU4.js");
3585
3585
  return runtimeScanAction(url, options);
3586
3586
  });
3587
3587
  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) => {
3588
- const { whyAction } = await import("./why-CO9Za1ph.js");
3588
+ const { whyAction } = await import("./why-DuH0y0iR.js");
3589
3589
  return whyAction(location, options);
3590
3590
  });
3591
3591
  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) => {
3592
- const { installAction } = await import("./install-3nDOB3hj.js");
3592
+ const { installAction } = await import("./install-CGY138cC.js");
3593
3593
  return installAction(options, command);
3594
3594
  });
3595
3595
  const providerOption = ["--provider <name>", "ci provider: github-actions or gitlab-ci (auto-detected by default)"];
3596
3596
  const prOption = ["--pr", "open a pull request with the change instead of writing it to the working tree"];
3597
3597
  const ci = program.command("ci").description("Set up, upgrade, and configure React Doctor in your CI");
3598
3598
  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) => {
3599
- const { ciInstallAction } = await import("./ci-CgtjUZEp.js");
3599
+ const { ciInstallAction } = await import("./ci-BITADECd.js");
3600
3600
  return ciInstallAction(command.optsWithGlobals());
3601
3601
  });
3602
3602
  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, contextual, 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) => {
3603
- const { ciConfigAction } = await import("./ci-CgtjUZEp.js");
3603
+ const { ciConfigAction } = await import("./ci-BITADECd.js");
3604
3604
  return ciConfigAction(command.optsWithGlobals());
3605
3605
  });
3606
3606
  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) => {
3607
- const { ciUpgradeAction } = await import("./ci-CgtjUZEp.js");
3607
+ const { ciUpgradeAction } = await import("./ci-BITADECd.js");
3608
3608
  return ciUpgradeAction(command.optsWithGlobals());
3609
3609
  });
3610
3610
  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 () => {
3611
- const { versionAction } = await import("./version-D2xd0HSm.js");
3611
+ const { versionAction } = await import("./version-7FY4nVUc.js");
3612
3612
  return versionAction();
3613
3613
  });
3614
3614
  const rules = program.command("rules").description("List, explain, and configure which React Doctor rules run");
3615
3615
  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) => {
3616
- const { rulesListAction } = await import("./rules-CCbE4U-k.js");
3616
+ const { rulesListAction } = await import("./rules-DHJSkBAp.js");
3617
3617
  return rulesListAction(command.optsWithGlobals());
3618
3618
  });
3619
3619
  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) => {
3620
- const { rulesExplainAction } = await import("./rules-CCbE4U-k.js");
3620
+ const { rulesExplainAction } = await import("./rules-DHJSkBAp.js");
3621
3621
  return rulesExplainAction(rule, command.optsWithGlobals());
3622
3622
  });
3623
3623
  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) => {
3624
- const { rulesSetAction } = await import("./rules-CCbE4U-k.js");
3624
+ const { rulesSetAction } = await import("./rules-DHJSkBAp.js");
3625
3625
  return rulesSetAction(rule, severity, command.optsWithGlobals());
3626
3626
  });
3627
3627
  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) => {
3628
- const { rulesEnableAction } = await import("./rules-CCbE4U-k.js");
3628
+ const { rulesEnableAction } = await import("./rules-DHJSkBAp.js");
3629
3629
  return rulesEnableAction(rule, command.optsWithGlobals());
3630
3630
  });
3631
3631
  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) => {
3632
- const { rulesDisableAction } = await import("./rules-CCbE4U-k.js");
3632
+ const { rulesDisableAction } = await import("./rules-DHJSkBAp.js");
3633
3633
  return rulesDisableAction(rule, command.optsWithGlobals());
3634
3634
  });
3635
3635
  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) => {
3636
- const { rulesCategoryAction } = await import("./rules-CCbE4U-k.js");
3636
+ const { rulesCategoryAction } = await import("./rules-DHJSkBAp.js");
3637
3637
  return rulesCategoryAction(category, severity, command.optsWithGlobals());
3638
3638
  });
3639
3639
  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) => {
3640
- const { rulesIgnoreTagAction } = await import("./rules-CCbE4U-k.js");
3640
+ const { rulesIgnoreTagAction } = await import("./rules-DHJSkBAp.js");
3641
3641
  return rulesIgnoreTagAction(tag, command.optsWithGlobals());
3642
3642
  });
3643
3643
  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) => {
3644
- const { rulesUnignoreTagAction } = await import("./rules-CCbE4U-k.js");
3644
+ const { rulesUnignoreTagAction } = await import("./rules-DHJSkBAp.js");
3645
3645
  return rulesUnignoreTagAction(tag, command.optsWithGlobals());
3646
3646
  });
3647
3647
  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("--warning-exit-code <code>", "exit code for non-blocking warnings (2-255). Ignored with --blocking none or --score", parseWarningExitCode).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) => {
3648
- const { runScanCommand } = await import("./scan-D0JRVcBc.js");
3648
+ const { runScanCommand } = await import("./scan-CHBk7Diy.js");
3649
3649
  return runScanCommand({
3650
3650
  directory,
3651
3651
  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]="a2444fd7-ba97-5c97-b408-a7a41e230745")}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]="4b4f33cb-e042-5208-8890-b431923be181")}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-C7CkEi1m.js
14
+ //#region ../core/dist/constants-C2xkPKhq.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;
@@ -44,6 +44,7 @@ const IGNORED_DIRECTORIES = new Set([
44
44
  ".next",
45
45
  ".nuxt",
46
46
  ".nx",
47
+ ".open-next",
47
48
  ".output",
48
49
  ".parcel-cache",
49
50
  ".serverless",
@@ -426,7 +427,7 @@ const MAINTAINABILITY_CATEGORY = "Maintainability";
426
427
  //#region ../core/dist/react-compiler-detection-worker-protocol-Dp5LlrE8.js
427
428
  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);
428
429
  //#endregion
429
- //#region ../core/dist/react-compiler-detection-client-STyNa3cf.js
430
+ //#region ../core/dist/react-compiler-detection-client-DdqffphF.js
430
431
  const pendingOutputsByRequestKey = /* @__PURE__ */ new Map();
431
432
  const toRequestKey = (request) => [
432
433
  request.directory,
@@ -1033,5 +1034,5 @@ const METRIC = {
1033
1034
  //#endregion
1034
1035
  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 };
1035
1036
 
1036
- //# sourceMappingURL=constants-_b1h6lxa.js.map
1037
- //# debugId=a2444fd7-ba97-5c97-b408-a7a41e230745
1037
+ //# sourceMappingURL=constants-ClqojoT2.js.map
1038
+ //# debugId=4b4f33cb-e042-5208-8890-b431923be181
@@ -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]="3b4846d0-71fc-51c9-9cd3-3fafe55e7a28")}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]="03cb31e4-5d3e-5024-841c-9d08f5fb53d3")}catch(e){}}();
3
3
  const GIT_CHECK_ATTR_MAX_BUFFER_BYTES = 50 * 1024 * 1024;
4
4
  const OXLINT_WORKER_JOB_END_MARKER = "__REACT_DOCTOR_OXLINT_JOB_END__";
5
5
  const REACT_DOCTOR_PLUGIN_RESET_HOOK_KEY = Symbol.for("react-doctor.reset-filesystem-caches");
@@ -20,4 +20,4 @@ const JSX_DUPLICATION_SOURCE_FILE_PATTERN = /\.[cm]?(?:jsx?|tsx)$/;
20
20
  export { MAX_GLOB_PATTERN_LENGTH_CHARS as a, GIT_CHECK_ATTR_MAX_BUFFER_BYTES as c, JSX_DUPLICATION_SOURCE_FILE_PATTERN as i, JSX_DUPLICATION_DEFAULT_MAX_SOURCE_FILES as n, OXLINT_WORKER_JOB_END_MARKER as o, JSX_DUPLICATION_DEFAULT_MAX_SOURCE_LENGTH_CHARS as r, REACT_DOCTOR_PLUGIN_RESET_HOOK_KEY as s, JSX_DUPLICATION_DEFAULT_MAX_JSX_NODES as t };
21
21
 
22
22
  //# sourceMappingURL=constants-DNh19qg9.js.map
23
- //# debugId=3b4846d0-71fc-51c9-9cd3-3fafe55e7a28
23
+ //# debugId=03cb31e4-5d3e-5024-841c-9d08f5fb53d3
@@ -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]="87c90772-3494-5017-9f67-e05731d21880")}catch(e){}}();
3
- import { t as inspectAction } from "./inspect-BhFj2qyJ.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]="f0d49f22-ca57-545b-a68d-d77c6a650df0")}catch(e){}}();
3
+ import { t as inspectAction } from "./inspect-Brmm3X1j.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-CtHsB1nr.js.map
14
- //# debugId=87c90772-3494-5017-9f67-e05731d21880
13
+ //# sourceMappingURL=design-CAs5wvSX.js.map
14
+ //# debugId=f0d49f22-ca57-545b-a68d-d77c6a650df0
@@ -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]="e73a73b8-f688-5728-8d2e-c9929c5179ac")}catch(e){}}();
3
- import { d as isJsonModeActive, m as writeJsonCancellationReport } from "./record-metric-CgebwK0K.js";
4
- import { n as shutdownTelemetry, r as flushSentry } from "./telemetry-runtime-BmL4aFx2.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]="dea7a5ab-ab5b-568c-9cc5-42ec7e40b836")}catch(e){}}();
3
+ import { d as isJsonModeActive, m as writeJsonCancellationReport } from "./record-metric-BqtTYUZU.js";
4
+ import { n as shutdownTelemetry, r as flushSentry } from "./telemetry-runtime-PQnIlimu.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-F18iXtxb.js";
6
+ import { n as buildFooterLinkLines, t as buildSectionDivider } from "./build-section-divider-COvZRj9p.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-D1DuwwPU.js.map
54
- //# debugId=e73a73b8-f688-5728-8d2e-c9929c5179ac
53
+ //# sourceMappingURL=exit-gracefully-BZVnyw55.js.map
54
+ //# debugId=dea7a5ab-ab5b-568c-9cc5-42ec7e40b836
@@ -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]="7930ef16-c8de-5213-8343-adbf78449204")}catch(e){}}();
3
- import { ct as CANONICAL_DISCORD_URL, lt as CANONICAL_GITHUB_URL, u as METRIC } from "./constants-_b1h6lxa.js";
4
- import { Ft as isReactDoctorError, Mt as highlighter, Tn as runSync, Un as isErrnoException, _ as VERSION, bt as formatErrorChain, cn as error, gn as gen, t as recordCount, xt as formatReactDoctorError } from "./record-metric-CgebwK0K.js";
5
- import { c as isNpmCacheCorruptionError, l as formatEnvironmentError, s as formatNpmCacheCorruptionError, u as isEnvironmentError } from "./telemetry-runtime-BmL4aFx2.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]="5a5e2d4c-b502-5efe-9732-edf2d3117c7b")}catch(e){}}();
3
+ import { ct as CANONICAL_DISCORD_URL, lt as CANONICAL_GITHUB_URL, u as METRIC } from "./constants-ClqojoT2.js";
4
+ import { Ft as isReactDoctorError, Mt as highlighter, Tn as runSync, Un as isErrnoException, _ as VERSION, bt as formatErrorChain, cn as error, gn as gen, t as recordCount, xt as formatReactDoctorError } from "./record-metric-BqtTYUZU.js";
5
+ import { c as isNpmCacheCorruptionError, l as formatEnvironmentError, s as formatNpmCacheCorruptionError, u as isEnvironmentError } from "./telemetry-runtime-PQnIlimu.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-B3AmBrIU.js.map
115
- //# debugId=7930ef16-c8de-5213-8343-adbf78449204
114
+ //# sourceMappingURL=handle-error-aRCR1Ipk.js.map
115
+ //# debugId=5a5e2d4c-b502-5efe-9732-edf2d3117c7b
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]="f19a4e97-e6d1-58b3-b9ee-17a3545fa20d")}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]="afc70a52-08b0-58db-884e-b2a97b988208")}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-C7CkEi1m.js
29
+ //#region ../core/dist/constants-C2xkPKhq.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;
@@ -58,6 +58,7 @@ const IGNORED_DIRECTORIES = new Set([
58
58
  ".next",
59
59
  ".nuxt",
60
60
  ".nx",
61
+ ".open-next",
61
62
  ".output",
62
63
  ".parcel-cache",
63
64
  ".serverless",
@@ -439,7 +440,7 @@ const isPlainObject = (value) => {
439
440
  //#region ../core/dist/react-compiler-detection-worker-protocol-Dp5LlrE8.js
440
441
  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);
441
442
  //#endregion
442
- //#region ../core/dist/react-compiler-detection-client-STyNa3cf.js
443
+ //#region ../core/dist/react-compiler-detection-client-DdqffphF.js
443
444
  const pendingOutputsByRequestKey = /* @__PURE__ */ new Map();
444
445
  const toRequestKey = (request) => [
445
446
  request.directory,
@@ -2709,7 +2710,7 @@ var require_picomatch$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
2709
2710
  module.exports = picomatch;
2710
2711
  }));
2711
2712
  //#endregion
2712
- //#region ../core/dist/collect-unplugin-auto-import-global-scopes-BhuBw8nC.js
2713
+ //#region ../core/dist/collect-unplugin-auto-import-global-scopes-BQdHXHtB.js
2713
2714
  var import_picomatch = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((exports, module) => {
2714
2715
  const pico = require_picomatch$1();
2715
2716
  const utils = require_utils();
@@ -3159,7 +3160,7 @@ const collectUnpluginAutoImportGlobalScopes = ({ rootDirectory, candidateFiles }
3159
3160
  return scopes.some((scope) => scope.names.length > 0) ? scopes : [];
3160
3161
  };
3161
3162
  //#endregion
3162
- //#region ../core/dist/detect-duplicate-jsx-subtrees-DcK8lwow.js
3163
+ //#region ../core/dist/detect-duplicate-jsx-subtrees-Bzyc0NTl.js
3163
3164
  const yieldToEventLoop = () => new Promise((resolve) => {
3164
3165
  setImmediate(resolve);
3165
3166
  });
@@ -3716,7 +3717,7 @@ const detectDuplicateJsxSubtreesCooperative = async (sourceReader, options = {})
3716
3717
  });
3717
3718
  };
3718
3719
  //#endregion
3719
- //#region ../core/dist/detect-react-compiler-DDLkt9mH.js
3720
+ //#region ../core/dist/detect-react-compiler-CPYDw8CR.js
3720
3721
  const NEXT_CONFIG_FILENAMES = [
3721
3722
  "next.config.js",
3722
3723
  "next.config.mjs",
@@ -72333,6 +72334,7 @@ const SECURITY_SCAN_MAX_FILE_SIZE_BYTES = 2 * 1024 * 1024;
72333
72334
  const SECURITY_SCAN_MAX_BUNDLE_FILE_SIZE_BYTES = 8 * 1024 * 1024;
72334
72335
  const SKIPPED_DIRECTORY_NAMES = new Set([
72335
72336
  ".git",
72337
+ ".open-next",
72336
72338
  ".turbo",
72337
72339
  ".vercel",
72338
72340
  "coverage",
@@ -79588,4 +79590,4 @@ const toJsonReport = (result, options) => buildJsonReport({
79588
79590
  export { AmbiguousProjectError, NoReactDependencyError, NotADirectoryError, PackageJsonNotFoundError, ProjectNotFoundError, ReactDoctorError, buildJsonReport, buildJsonReportError, clearCaches, defineConfig, diagnose, filterSourceFiles, getDiffInfo, hasReactRuntime, isProjectDiscoveryError, isReactDoctorError, summarizeDiagnostics, toJsonReport };
79589
79591
 
79590
79592
  //# sourceMappingURL=index.js.map
79591
- //# debugId=f19a4e97-e6d1-58b3-b9ee-17a3545fa20d
79593
+ //# debugId=afc70a52-08b0-58db-884e-b2a97b988208
@@ -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]="28453de6-5108-5a05-9ef7-7ce2ab5a6ac6")}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-_b1h6lxa.js";
4
- import { At as hasSupportedFrameworkOrLibrary, Bn as messageFromUnknown, Ct as getChangedLineRanges, D as isCodingAgentEnvironment, E as isCiOrCodingAgentEnvironment, Gn as isPlainObject, K as StagedFiles, Mt as highlighter, S as isDebugFlagEnabled, St as getBaselineDiffPlan, Tt as getDiffInfo, Un as isErrnoException, Ut as mapWithConcurrency, Vt as listWorkspacePackages, Xt as resolveScanTarget, Z as buildJsonReport, _ as VERSION, f as setJsonReportDirectory, ft as detectAiTrainingEnvironment, g as writeJsonReport, gn as gen, h as writeJsonErrorReport, j as Git, jn as provide, mn as decodeUnknownSync, n as recordDistribution, p as setJsonReportMode, pn as JsonReport, pt as discoverSupportedSubprojects, qt as remainingDeadlineBudgetMs, rn as toRelativePath, t as recordCount, u as enableJsonMode, vt as findLegacyConfig, wn as runPromise, xn as provide$1, y as CliInputError } from "./record-metric-CgebwK0K.js";
5
- import { n as shutdownTelemetry, o as isExpectedUserError, r as flushSentry } from "./telemetry-runtime-BmL4aFx2.js";
6
- import { n as handleUserError, t as handleError } from "./handle-error-B3AmBrIU.js";
7
- import { t as reportErrorToSentry } from "./report-error-DYLN3xZA.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]="a8a92f80-1a0f-5231-8dee-54ffc4d89034")}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-ClqojoT2.js";
4
+ import { At as hasSupportedFrameworkOrLibrary, Bn as messageFromUnknown, Ct as getChangedLineRanges, D as isCodingAgentEnvironment, E as isCiOrCodingAgentEnvironment, Gn as isPlainObject, K as StagedFiles, Mt as highlighter, S as isDebugFlagEnabled, St as getBaselineDiffPlan, Tt as getDiffInfo, Un as isErrnoException, Ut as mapWithConcurrency, Vt as listWorkspacePackages, Xt as resolveScanTarget, Z as buildJsonReport, _ as VERSION, f as setJsonReportDirectory, ft as detectAiTrainingEnvironment, g as writeJsonReport, gn as gen, h as writeJsonErrorReport, j as Git, jn as provide, mn as decodeUnknownSync, n as recordDistribution, p as setJsonReportMode, pn as JsonReport, pt as discoverSupportedSubprojects, qt as remainingDeadlineBudgetMs, rn as toRelativePath, t as recordCount, u as enableJsonMode, vt as findLegacyConfig, wn as runPromise, xn as provide$1, y as CliInputError } from "./record-metric-BqtTYUZU.js";
5
+ import { n as shutdownTelemetry, o as isExpectedUserError, r as flushSentry } from "./telemetry-runtime-PQnIlimu.js";
6
+ import { n as handleUserError, t as handleError } from "./handle-error-aRCR1Ipk.js";
7
+ import { t as reportErrorToSentry } from "./report-error-CbVKOp-n.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-DHJd_h8L.js";
10
- import { a as readReactDoctorWorkflow, c as workflowUsesV1Action, i as isReactDoctorWorkflowInstalled, l as prompts, s as upgradeWorkflowActionToV2 } from "./install-github-workflow-BPUJzESV.js";
11
- import { c as openWorkflowPullRequest, i as warnDeprecatedDiff, l as stageWorkflowFile, r as resolveScope, s as resolveBlockingLevel, t as finalizeScope } from "./resolve-scope-DlV1G6NB.js";
12
- import { t as shouldSkipPrompts } from "./should-skip-prompts-BQ6Bv8nf.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 resolveScanExitCode, u as selectProjects, v as resolveWorkspaceDeadCodeOwner, w as CLI_AGENT_BINARIES, x as countUniqueScannedFiles, y as resolveCliInspectOptions } from "./resolve-scan-exit-code-CMj5rx-z.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-BfR_cSwa.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-IU3RmjJs.js";
16
- import { t as readObjectFile } from "./read-object-file-OstnyYB2.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-C6Y9N7vS.js";
10
+ import { a as readReactDoctorWorkflow, c as workflowUsesV1Action, i as isReactDoctorWorkflowInstalled, l as prompts, s as upgradeWorkflowActionToV2 } from "./install-github-workflow-BXi0kdr5.js";
11
+ import { c as openWorkflowPullRequest, i as warnDeprecatedDiff, l as stageWorkflowFile, r as resolveScope, s as resolveBlockingLevel, t as finalizeScope } from "./resolve-scope-BeuMd6gs.js";
12
+ import { t as shouldSkipPrompts } from "./should-skip-prompts-cuM75Zhj.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 resolveScanExitCode, u as selectProjects, v as resolveWorkspaceDeadCodeOwner, w as CLI_AGENT_BINARIES, x as countUniqueScannedFiles, y as resolveCliInspectOptions } from "./resolve-scan-exit-code-qQybB6GP.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-BvBneVVU.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-DqJ_boxw.js";
16
+ import { t as readObjectFile } from "./read-object-file-CJa1A--P.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";
@@ -1528,5 +1528,5 @@ const inspectAction = async (directory, flags, invocationCommand = "inspect", se
1528
1528
  //#endregion
1529
1529
  export { warnDeprecatedFailOn as n, runProjectMigrations as r, inspectAction as t };
1530
1530
 
1531
- //# sourceMappingURL=inspect-BhFj2qyJ.js.map
1532
- //# debugId=28453de6-5108-5a05-9ef7-7ce2ab5a6ac6
1531
+ //# sourceMappingURL=inspect-Brmm3X1j.js.map
1532
+ //# debugId=a8a92f80-1a0f-5231-8dee-54ffc4d89034
@@ -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]="92103fd4-51c9-5fe1-bf0e-576c14b3fcc8")}catch(e){}}();
3
- import { u as METRIC } from "./constants-_b1h6lxa.js";
4
- import { Tn as runSync, t as recordCount } from "./record-metric-CgebwK0K.js";
5
- import { o as isExpectedUserError } from "./telemetry-runtime-BmL4aFx2.js";
6
- import { n as handleUserError, t as handleError } from "./handle-error-B3AmBrIU.js";
7
- import { t as reportErrorToSentry } from "./report-error-DYLN3xZA.js";
8
- import { t as printBrandedHeader } from "./print-branded-header-Cabdds8M.js";
9
- import { n as runInstallReactDoctor } from "./install-react-doctor-IU3RmjJs.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]="f4cb2fcf-78f1-5b82-9552-3e05145a5ae8")}catch(e){}}();
3
+ import { u as METRIC } from "./constants-ClqojoT2.js";
4
+ import { Tn as runSync, t as recordCount } from "./record-metric-BqtTYUZU.js";
5
+ import { o as isExpectedUserError } from "./telemetry-runtime-PQnIlimu.js";
6
+ import { n as handleUserError, t as handleError } from "./handle-error-aRCR1Ipk.js";
7
+ import { t as reportErrorToSentry } from "./report-error-CbVKOp-n.js";
8
+ import { t as printBrandedHeader } from "./print-branded-header-CjkZmZej.js";
9
+ import { n as runInstallReactDoctor } from "./install-react-doctor-DqJ_boxw.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-3nDOB3hj.js.map
34
- //# debugId=92103fd4-51c9-5fe1-bf0e-576c14b3fcc8
33
+ //# sourceMappingURL=install-CGY138cC.js.map
34
+ //# debugId=f4cb2fcf-78f1-5b82-9552-3e05145a5ae8
@@ -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]="0be291fe-d01e-53c1-a7b0-6a88c3170618")}catch(e){}}();
3
- import { B as resolveGitCommand, g as RUN_GIT_MAX_BUFFER_BYTES } from "./constants-_b1h6lxa.js";
4
- import { Mt as highlighter, Tn as runSync, b as isNonInteractiveEnvironment, cn as error$1, dn as warn, ln as info$1, un as log } from "./record-metric-CgebwK0K.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]="6d6af68b-efa8-5ec6-a81d-b9c25fece224")}catch(e){}}();
3
+ import { B as resolveGitCommand, g as RUN_GIT_MAX_BUFFER_BYTES } from "./constants-ClqojoT2.js";
4
+ import { Mt as highlighter, Tn as runSync, b as isNonInteractiveEnvironment, cn as error$1, dn as warn, ln as info$1, un as log } from "./record-metric-BqtTYUZU.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";
@@ -2818,5 +2818,5 @@ const installReactDoctorScriptStep = (projectRoot) => {
2818
2818
  //#endregion
2819
2819
  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 };
2820
2820
 
2821
- //# sourceMappingURL=install-doctor-script-DHJd_h8L.js.map
2822
- //# debugId=0be291fe-d01e-53c1-a7b0-6a88c3170618
2821
+ //# sourceMappingURL=install-doctor-script-C6Y9N7vS.js.map
2822
+ //# debugId=6d6af68b-efa8-5ec6-a81d-b9c25fece224
@@ -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]="d0d5b97e-956b-57e3-b5d2-1a65329332da")}catch(e){}}();
3
- import { s as GH_DEFAULT_BRANCH_PROBE_TIMEOUT_MS } from "./constants-_b1h6lxa.js";
4
- import { _t as findGitRepositoryRoot } from "./record-metric-CgebwK0K.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]="65d87752-b0e7-5bd2-8207-cd8895055df6")}catch(e){}}();
3
+ import { s as GH_DEFAULT_BRANCH_PROBE_TIMEOUT_MS } from "./constants-ClqojoT2.js";
4
+ import { _t as findGitRepositoryRoot } from "./record-metric-BqtTYUZU.js";
5
5
  import { t as unrefStdin } from "./unref-stdin-D-NZBFpg.js";
6
- import { N as cliLogger } from "./install-doctor-script-DHJd_h8L.js";
6
+ import { N as cliLogger } from "./install-doctor-script-C6Y9N7vS.js";
7
7
  import { createRequire } from "node:module";
8
8
  import * as fs$1 from "node:fs";
9
9
  import * as path$1 from "node:path";
@@ -281,5 +281,5 @@ const upgradeReactDoctorWorkflowInPlace = (projectRoot) => {
281
281
  //#endregion
282
282
  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 };
283
283
 
284
- //# sourceMappingURL=install-github-workflow-BPUJzESV.js.map
285
- //# debugId=d0d5b97e-956b-57e3-b5d2-1a65329332da
284
+ //# sourceMappingURL=install-github-workflow-BXi0kdr5.js.map
285
+ //# debugId=65d87752-b0e7-5bd2-8207-cd8895055df6
@@ -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]="3afbada7-39d1-5a6c-81df-e89fde7c3568")}catch(e){}}();
3
- import { kt as GITHUB_ACTIONS_SETUP_URL, o as CI_TRUST_COMPANIES, pn as SKILL_NAME, u as METRIC } from "./constants-_b1h6lxa.js";
4
- import { Mt as highlighter, Un as isErrnoException, t as recordCount, y as CliInputError } from "./record-metric-CgebwK0K.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-DHJd_h8L.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-BPUJzESV.js";
7
- import { t as shouldSkipPrompts } from "./should-skip-prompts-BQ6Bv8nf.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-BfR_cSwa.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]="c6f75cbd-1809-533b-991d-ef3317a278af")}catch(e){}}();
3
+ import { kt as GITHUB_ACTIONS_SETUP_URL, o as CI_TRUST_COMPANIES, pn as SKILL_NAME, u as METRIC } from "./constants-ClqojoT2.js";
4
+ import { Mt as highlighter, Un as isErrnoException, t as recordCount, y as CliInputError } from "./record-metric-BqtTYUZU.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-C6Y9N7vS.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-BXi0kdr5.js";
7
+ import { t as shouldSkipPrompts } from "./should-skip-prompts-cuM75Zhj.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-BvBneVVU.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-IU3RmjJs.js.map
1160
- //# debugId=3afbada7-39d1-5a6c-81df-e89fde7c3568
1159
+ //# sourceMappingURL=install-react-doctor-DqJ_boxw.js.map
1160
+ //# debugId=c6f75cbd-1809-533b-991d-ef3317a278af