react-doctor 0.9.12-dev.905607f → 0.9.12-dev.a163de9

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 (34) hide show
  1. package/dist/{build-section-divider-D5ATBfDJ.js → build-section-divider-DwhI0l-P.js} +7 -7
  2. package/dist/{ci-DIlnBiUj.js → ci-BM5Bztiz.js} +12 -12
  3. package/dist/cli.js +24 -24
  4. package/dist/{design-C-uq3ow5.js → design-BJm8XW5q.js} +4 -4
  5. package/dist/{exit-gracefully-C64GRTOn.js → exit-gracefully-cFX-xHhy.js} +6 -6
  6. package/dist/{handle-error-Cfcnsjyi.js → handle-error-DBoxwa4Y.js} +5 -5
  7. package/dist/index.js +230 -167
  8. package/dist/{inspect-BLX566wA.js → inspect-Cj9X2Cuj.js} +16 -16
  9. package/dist/{install-Dz8zcUxD.js → install-DJE5tJBN.js} +9 -9
  10. package/dist/{install-doctor-script-CjxGMzIH.js → install-doctor-script-Bwy0GRjB.js} +6 -13
  11. package/dist/{install-github-workflow-eYmQoXdI.js → install-github-workflow-CQL9QH8Q.js} +5 -5
  12. package/dist/{install-react-doctor-OIDTrbHz.js → install-react-doctor-BC0tbnqe.js} +8 -8
  13. package/dist/{jsx-runtime-BdBmuS_a.js → jsx-runtime-BGIkB563.js} +5 -5
  14. package/dist/{print-branded-header-BksixHcc.js → print-branded-header-B5xE0DP1.js} +4 -4
  15. package/dist/project-analysis-worker.js +3 -3
  16. package/dist/{prompt-runtime-scan-url-CXJMNnAo.js → prompt-runtime-scan-url-G27i97Bd.js} +5 -5
  17. package/dist/{read-object-file-BhV9TFsy.js → read-object-file-p5HY4kEb.js} +4 -4
  18. package/dist/{record-metric-CdX-TQ5W.js → record-metric-B0l334ac.js} +182 -119
  19. package/dist/{report-error-DsFo2sAk.js → report-error-CxbHpLL8.js} +5 -5
  20. package/dist/{report-workflow-result-BSSkdwvd.js → report-workflow-result-Dtn4MVZ_.js} +5 -5
  21. package/dist/{resolve-scope-DRnGmF8O.js → resolve-scope-DFSO5zB7.js} +6 -6
  22. package/dist/{rules-C2g4a0X3.js → rules-DEUYP2QZ.js} +6 -6
  23. package/dist/{run-scan-app-Ch6yrLY9.js → run-scan-app-0v4YCLNw.js} +11 -10
  24. package/dist/{runtime-scan-Crfe35Ke.js → runtime-scan-CrdGMGtp.js} +9 -9
  25. package/dist/{sanitize-runtime-url-Dwa_-IKX.js → sanitize-runtime-url-DMNbP5D7.js} +4 -4
  26. package/dist/{scan-DJnhifws.js → scan-BjmlwnGK.js} +9 -9
  27. package/dist/{should-fail-scan-gate-D4ZKKeXI.js → should-fail-scan-gate-DFrfU9H8.js} +11 -11
  28. package/dist/{should-skip-prompts-Cfocoh7G.js → should-skip-prompts-jB7AIlXO.js} +4 -4
  29. package/dist/{should-use-tui-COX1uZWn.js → should-use-tui-DwO2FSvM.js} +4 -4
  30. package/dist/{telemetry-runtime-C_D70xUE.js → telemetry-runtime-EpReAdpc.js} +4 -4
  31. package/dist/{version-BAhd6Zvv.js → version-LTrxsytD.js} +4 -4
  32. package/dist/{why-MQHWHpeA.js → why-i7UomrTB.js} +4 -4
  33. package/dist/{with-run-span-DmpUrF70.js → with-run-span-tKhCINUb.js} +5 -5
  34. package/package.json +3 -2
@@ -1,18 +1,18 @@
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]="eebc9785-3b11-5577-bb1c-9f30f69bb86e")}catch(e){}}();
3
- import { An as gen, At as discoverSupportedSubprojects, Bt as getDiffInfo, Cr as messageFromUnknown, F as STAGED_FILES_TEMP_DIR_PREFIX, Fn as provide$1, Gn as provide, H as isDebugFlagEnabled, I as STAGED_SNAPSHOT_ADDITIONAL_CONFIG_FILENAMES, Jt as isPathInsideDirectory, K as isCiOrCodingAgentEnvironment, Kt as highlighter, Lt as getBaselineDiffPlan, Pt as findLegacyConfig, Rn as runPromise, Rt as getChangedLineRanges, Sr as isPlainObject, T as METRIC, Wt as hasSupportedFrameworkOrLibrary, X as Git, _ as VERSION, _r as STAGED_FILES_PROJECT_CONFIG_FILENAMES, br as isErrnoException, er as CANONICAL_GITHUB_URL, f as setJsonReportDirectory, fn as resolveScanTarget, g as writeJsonReport, h as writeJsonErrorReport, ht as buildJsonReport, in as mapWithConcurrency, kt as detectAiTrainingEnvironment, n as recordDistribution, nn as listWorkspacePackages, p as setJsonReportMode, q as isCodingAgentEnvironment, sn as remainingDeadlineBudgetMs, t as recordCount, u as enableJsonMode, ut as StagedFiles, yn as toRelativePath, z as CliInputError } from "./record-metric-CdX-TQ5W.js";
4
- import { n as shutdownTelemetry, r as isExpectedUserError } from "./telemetry-runtime-C_D70xUE.js";
5
- import { r as flushSentry } from "./build-section-divider-D5ATBfDJ.js";
6
- import { n as handleUserError, t as handleError } from "./handle-error-Cfcnsjyi.js";
7
- import { t as reportErrorToSentry } from "./report-error-DsFo2sAk.js";
8
- import { N as cliLogger, c as spinner, i as hasDoctorScript, j as runGitRaw, n as findNearestPackageDirectory, o as isSpinnerSilent, s as setSpinnerSilent } from "./install-doctor-script-CjxGMzIH.js";
9
- import { a as readReactDoctorWorkflow, c as workflowUsesV1Action, i as isReactDoctorWorkflowInstalled, l as prompts, s as upgradeWorkflowActionToV2 } from "./install-github-workflow-eYmQoXdI.js";
10
- import { c as openWorkflowPullRequest, i as warnDeprecatedDiff, l as stageWorkflowFile, r as resolveScope, s as resolveBlockingLevel, t as finalizeScope, u as toForwardSlashes } from "./resolve-scope-DRnGmF8O.js";
11
- import { t as shouldSkipPrompts } from "./should-skip-prompts-Cfocoh7G.js";
12
- import { A as resolveMergeBaseRef, C as copyToClipboard, D as deduplicateProjectScans, E as collectProjectSourceFileCounts, I as printDiagnosticsDump, O as createInvocationInspect, S as CLI_AGENT_BINARIES, T as buildHandoffPayload, V as buildEmptyReportMessage, _ as resolveCliInspectOptions, a as projectManifestChanged, b as setUpGitHubActions, c as selectProjects, d as resolveProjectChangedLineRanges, f as resolveProjectDiffIncludePaths, g as resolveWorkspaceDeadCodeOwner, h as retryMissingProjectScores, i as validateModeFlags, j as printHeadlessReport, k as inspect, l as buildCodeFrame, m as resolveProjectRelativeDirectory, n as formatSkippedProjectsMessage, o as partitionProjectScanOutcomes, p as resolveProjectSourceFilePaths, r as validateIncludeUntrackedScope, t as shouldFailScanGate, u as resolveProjectScan, v as filterScansForSurface, w as launchCliAgent, x as detectLaunchableAgents, y as countUniqueScannedFiles, z as filterDiagnosticsByCategories } from "./should-fail-scan-gate-D4ZKKeXI.js";
13
- import { a as recordGate, 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-BSSkdwvd.js";
14
- 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-OIDTrbHz.js";
15
- import { t as readObjectFile } from "./read-object-file-BhV9TFsy.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]="434582d3-c829-5171-920a-9930383cd9d8")}catch(e){}}();
3
+ import { An as gen, At as discoverSupportedSubprojects, Bt as getDiffInfo, Cr as messageFromUnknown, F as STAGED_FILES_TEMP_DIR_PREFIX, Fn as provide$1, Gn as provide, H as isDebugFlagEnabled, I as STAGED_SNAPSHOT_ADDITIONAL_CONFIG_FILENAMES, Jt as isPathInsideDirectory, K as isCiOrCodingAgentEnvironment, Kt as highlighter, Lt as getBaselineDiffPlan, Pt as findLegacyConfig, Rn as runPromise, Rt as getChangedLineRanges, Sr as isPlainObject, T as METRIC, Wt as hasSupportedFrameworkOrLibrary, X as Git, _ as VERSION, _r as STAGED_FILES_PROJECT_CONFIG_FILENAMES, br as isErrnoException, er as CANONICAL_GITHUB_URL, f as setJsonReportDirectory, fn as resolveScanTarget, g as writeJsonReport, h as writeJsonErrorReport, ht as buildJsonReport, in as mapWithConcurrency, kt as detectAiTrainingEnvironment, n as recordDistribution, nn as listWorkspacePackages, p as setJsonReportMode, q as isCodingAgentEnvironment, sn as remainingDeadlineBudgetMs, t as recordCount, u as enableJsonMode, ut as StagedFiles, yn as toRelativePath, z as CliInputError } from "./record-metric-B0l334ac.js";
4
+ import { n as shutdownTelemetry, r as isExpectedUserError } from "./telemetry-runtime-EpReAdpc.js";
5
+ import { r as flushSentry } from "./build-section-divider-DwhI0l-P.js";
6
+ import { n as handleUserError, t as handleError } from "./handle-error-DBoxwa4Y.js";
7
+ import { t as reportErrorToSentry } from "./report-error-CxbHpLL8.js";
8
+ import { A as runGitRaw, M as cliLogger, c as spinner, i as hasDoctorScript, n as findNearestPackageDirectory, o as isSpinnerSilent, s as setSpinnerSilent } from "./install-doctor-script-Bwy0GRjB.js";
9
+ import { a as readReactDoctorWorkflow, c as workflowUsesV1Action, i as isReactDoctorWorkflowInstalled, l as prompts, s as upgradeWorkflowActionToV2 } from "./install-github-workflow-CQL9QH8Q.js";
10
+ import { c as openWorkflowPullRequest, i as warnDeprecatedDiff, l as stageWorkflowFile, r as resolveScope, s as resolveBlockingLevel, t as finalizeScope, u as toForwardSlashes } from "./resolve-scope-DFSO5zB7.js";
11
+ import { t as shouldSkipPrompts } from "./should-skip-prompts-jB7AIlXO.js";
12
+ import { A as resolveMergeBaseRef, C as copyToClipboard, D as deduplicateProjectScans, E as collectProjectSourceFileCounts, I as printDiagnosticsDump, O as createInvocationInspect, S as CLI_AGENT_BINARIES, T as buildHandoffPayload, V as buildEmptyReportMessage, _ as resolveCliInspectOptions, a as projectManifestChanged, b as setUpGitHubActions, c as selectProjects, d as resolveProjectChangedLineRanges, f as resolveProjectDiffIncludePaths, g as resolveWorkspaceDeadCodeOwner, h as retryMissingProjectScores, i as validateModeFlags, j as printHeadlessReport, k as inspect, l as buildCodeFrame, m as resolveProjectRelativeDirectory, n as formatSkippedProjectsMessage, o as partitionProjectScanOutcomes, p as resolveProjectSourceFilePaths, r as validateIncludeUntrackedScope, t as shouldFailScanGate, u as resolveProjectScan, v as filterScansForSurface, w as launchCliAgent, x as detectLaunchableAgents, y as countUniqueScannedFiles, z as filterDiagnosticsByCategories } from "./should-fail-scan-gate-DFrfU9H8.js";
13
+ import { a as recordGate, 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-Dtn4MVZ_.js";
14
+ 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-BC0tbnqe.js";
15
+ import { t as readObjectFile } from "./read-object-file-p5HY4kEb.js";
16
16
  import * as path$1 from "node:path";
17
17
  import * as fs$1 from "node:fs";
18
18
  import { tmpdir } from "node:os";
@@ -1441,5 +1441,5 @@ const inspectAction = async (directory, flags, invocationCommand = "inspect") =>
1441
1441
  //#endregion
1442
1442
  export { warnDeprecatedFailOn as n, runProjectMigrations as r, inspectAction as t };
1443
1443
 
1444
- //# sourceMappingURL=inspect-BLX566wA.js.map
1445
- //# debugId=eebc9785-3b11-5577-bb1c-9f30f69bb86e
1444
+ //# sourceMappingURL=inspect-Cj9X2Cuj.js.map
1445
+ //# debugId=434582d3-c829-5171-920a-9930383cd9d8
@@ -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]="25b9f61d-978e-516e-86fa-8c0cb5efd72f")}catch(e){}}();
3
- import { T as METRIC, t as recordCount, zn as runSync } from "./record-metric-CdX-TQ5W.js";
4
- import { r as isExpectedUserError } from "./telemetry-runtime-C_D70xUE.js";
5
- import { n as handleUserError, t as handleError } from "./handle-error-Cfcnsjyi.js";
6
- import { t as reportErrorToSentry } from "./report-error-DsFo2sAk.js";
7
- import { t as printBrandedHeader } from "./print-branded-header-BksixHcc.js";
8
- import { n as runInstallReactDoctor } from "./install-react-doctor-OIDTrbHz.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]="9d2c2c11-99df-506d-a8e7-58e6924fffd8")}catch(e){}}();
3
+ import { T as METRIC, t as recordCount, zn as runSync } from "./record-metric-B0l334ac.js";
4
+ import { r as isExpectedUserError } from "./telemetry-runtime-EpReAdpc.js";
5
+ import { n as handleUserError, t as handleError } from "./handle-error-DBoxwa4Y.js";
6
+ import { t as reportErrorToSentry } from "./report-error-CxbHpLL8.js";
7
+ import { t as printBrandedHeader } from "./print-branded-header-B5xE0DP1.js";
8
+ import { n as runInstallReactDoctor } from "./install-react-doctor-BC0tbnqe.js";
9
9
  //#region src/cli/commands/install.ts
10
10
  const installAction = async (options, command) => {
11
11
  recordCount(METRIC.cliInvoked, 1, { command: "install" });
@@ -29,5 +29,5 @@ const installAction = async (options, command) => {
29
29
  //#endregion
30
30
  export { installAction };
31
31
 
32
- //# sourceMappingURL=install-Dz8zcUxD.js.map
33
- //# debugId=25b9f61d-978e-516e-86fa-8c0cb5efd72f
32
+ //# sourceMappingURL=install-DJE5tJBN.js.map
33
+ //# debugId=9d2c2c11-99df-506d-a8e7-58e6924fffd8
@@ -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]="36f823b5-922a-5483-9a0f-21be16bce368")}catch(e){}}();
3
- import { B as isNonInteractiveEnvironment, Cn as error$1, En as warn, Kt as highlighter, Tn as log, k as RUN_GIT_MAX_BUFFER_BYTES, wn as info$1, zn as runSync } from "./record-metric-CdX-TQ5W.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]="87d59808-e3fc-5e1a-a1bb-a1fc1071f69d")}catch(e){}}();
3
+ import { B as isNonInteractiveEnvironment, Cn as error$1, En as warn, Kt as highlighter, Tn as log, k as RUN_GIT_MAX_BUFFER_BYTES, wn as info$1, zn as runSync } from "./record-metric-B0l334ac.js";
4
4
  import { a as chalk, i as stripAnsi, t as eastAsianWidth } from "./get-east-asian-width-Cglw13G7.js";
5
5
  import { execFileSync } from "node:child_process";
6
6
  import * as path$1 from "node:path";
@@ -8,6 +8,7 @@ import * as fs$1 from "node:fs";
8
8
  import process$1 from "node:process";
9
9
  import { stripVTControlCharacters } from "node:util";
10
10
  import tty from "node:tty";
11
+ import isUnicodeSupported from "is-unicode-supported";
11
12
  //#region src/cli/utils/cli-logger.ts
12
13
  /**
13
14
  * Thin synchronous façade over Effect's `Console` module. Used by
@@ -2132,14 +2133,6 @@ format(105, 49);
2132
2133
  format(106, 49);
2133
2134
  format(107, 49);
2134
2135
  //#endregion
2135
- //#region ../../node_modules/.pnpm/is-unicode-supported@2.1.0/node_modules/is-unicode-supported/index.js
2136
- function isUnicodeSupported() {
2137
- const { env } = process$1;
2138
- const { TERM, TERM_PROGRAM } = env;
2139
- if (process$1.platform !== "win32") return TERM !== "linux";
2140
- return Boolean(env.WT_SESSION) || Boolean(env.TERMINUS_SUBLIME) || env.ConEmuTask === "{cmd::Cmder}" || TERM_PROGRAM === "Terminus-Sublime" || TERM_PROGRAM === "vscode" || TERM === "xterm-256color" || TERM === "alacritty" || TERM === "rxvt-unicode" || TERM === "rxvt-unicode-256color" || env.TERMINAL_EMULATOR === "JetBrains-JediTerm";
2141
- }
2142
- //#endregion
2143
2136
  //#region ../../node_modules/.pnpm/log-symbols@7.0.1/node_modules/log-symbols/symbols.js
2144
2137
  const _isUnicodeSupported = isUnicodeSupported();
2145
2138
  const info = blue(_isUnicodeSupported ? "ℹ" : "i");
@@ -2810,7 +2803,7 @@ const installReactDoctorScriptStep = (projectRoot) => {
2810
2803
  }
2811
2804
  };
2812
2805
  //#endregion
2813
- export { runGit as A, getPackageJsonPath as C, packageHasRecordKey as D, packageHasNestedRecordKey as E, writeJsonFile as M, cliLogger as N, readPackageJson as O, ensureTrailingNewline as S, packageHasDependency as T, PRE_COMMIT_CONFIG_FILE as _, installReactDoctorScriptStep as a, SIMPLE_GIT_HOOKS_PACKAGE_JSON_KEY as b, spinner as c, HOOK_RELATIVE_PATH as d, HUSKY_HOOKS_PATH as f, OVERCOMMIT_CONFIG_FILE as g, NON_BLOCKING_REACT_DOCTOR_COMMAND as h, hasDoctorScript as i, runGitRaw as j, resolveGitPath as k, isUnicodeSupported as l, LEGACY_HOOK_RUNNER_RELATIVE_PATH as m, findNearestPackageDirectory as n, isSpinnerSilent as o, LEFTHOOK_CONFIG_FILES as p, hasDoctorDependency as r, setSpinnerSilent as s, DOCTOR_PACKAGE_NAME as t, HOOK_FILE_NAME as u, REACT_DOCTOR_COMMAND as v, isRecord as w, VITE_PLUS_HOOKS_PATH as x, SIMPLE_GIT_HOOKS_CONFIG_FILE as y };
2806
+ export { runGitRaw as A, isRecord as C, readPackageJson as D, packageHasRecordKey as E, cliLogger as M, 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, writeJsonFile 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 };
2814
2807
 
2815
- //# sourceMappingURL=install-doctor-script-CjxGMzIH.js.map
2816
- //# debugId=36f823b5-922a-5483-9a0f-21be16bce368
2808
+ //# sourceMappingURL=install-doctor-script-Bwy0GRjB.js.map
2809
+ //# debugId=87d59808-e3fc-5e1a-a1bb-a1fc1071f69d
@@ -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]="4d2e1509-bd90-58dd-b5de-77f2e99ea39b")}catch(e){}}();
3
- import { w as GH_DEFAULT_BRANCH_PROBE_TIMEOUT_MS } from "./record-metric-CdX-TQ5W.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]="721ac3a7-092e-55b5-bd8d-2348733721d6")}catch(e){}}();
3
+ import { w as GH_DEFAULT_BRANCH_PROBE_TIMEOUT_MS } from "./record-metric-B0l334ac.js";
4
4
  import { t as unrefStdin } from "./unref-stdin-BKT_s38a.js";
5
- import { N as cliLogger } from "./install-doctor-script-CjxGMzIH.js";
5
+ import { M as cliLogger } from "./install-doctor-script-Bwy0GRjB.js";
6
6
  import { createRequire } from "node:module";
7
7
  import { execFile } from "node:child_process";
8
8
  import * as path$1 from "node:path";
@@ -263,5 +263,5 @@ const upgradeReactDoctorWorkflowInPlace = (projectRoot) => {
263
263
  //#endregion
264
264
  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 };
265
265
 
266
- //# sourceMappingURL=install-github-workflow-eYmQoXdI.js.map
267
- //# debugId=4d2e1509-bd90-58dd-b5de-77f2e99ea39b
266
+ //# sourceMappingURL=install-github-workflow-CQL9QH8Q.js.map
267
+ //# debugId=721ac3a7-092e-55b5-bd8d-2348733721d6
@@ -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]="6d8b7a92-82fa-5aae-a8ed-867bbde649c2")}catch(e){}}();
3
- import { C as CI_TRUST_COMPANIES, Kt as highlighter, T as METRIC, br as isErrnoException, cr as GITHUB_ACTIONS_SETUP_URL, gr as SKILL_NAME, t as recordCount, z as CliInputError } from "./record-metric-CdX-TQ5W.js";
4
- import { A as runGit, C as getPackageJsonPath, D as packageHasRecordKey, E as packageHasNestedRecordKey, M as writeJsonFile, N as cliLogger, O as readPackageJson, S as ensureTrailingNewline, T as packageHasDependency, _ as PRE_COMMIT_CONFIG_FILE, a as installReactDoctorScriptStep, c as spinner, d as HOOK_RELATIVE_PATH, f as HUSKY_HOOKS_PATH, g as OVERCOMMIT_CONFIG_FILE, h as NON_BLOCKING_REACT_DOCTOR_COMMAND, k as resolveGitPath, m as LEGACY_HOOK_RUNNER_RELATIVE_PATH, n as findNearestPackageDirectory, p as LEFTHOOK_CONFIG_FILES, r as hasDoctorDependency, t as DOCTOR_PACKAGE_NAME, u as HOOK_FILE_NAME, v as REACT_DOCTOR_COMMAND, w as isRecord, x as VITE_PLUS_HOOKS_PATH } from "./install-doctor-script-CjxGMzIH.js";
5
- 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-eYmQoXdI.js";
6
- import { t as shouldSkipPrompts } from "./should-skip-prompts-Cfocoh7G.js";
7
- import { a as recordGate, c as ACTION_UPGRADE_EVENT, d as INSTALL_AGENTS_PREFERENCE_ID, 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-BSSkdwvd.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]="18311cd4-6630-5c31-9b77-79b8c3c9fa6f")}catch(e){}}();
3
+ import { C as CI_TRUST_COMPANIES, Kt as highlighter, T as METRIC, br as isErrnoException, cr as GITHUB_ACTIONS_SETUP_URL, gr as SKILL_NAME, t as recordCount, z as CliInputError } from "./record-metric-B0l334ac.js";
4
+ import { C as isRecord, D as readPackageJson, E as packageHasRecordKey, M 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, j as writeJsonFile, 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-Bwy0GRjB.js";
5
+ 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-CQL9QH8Q.js";
6
+ import { t as shouldSkipPrompts } from "./should-skip-prompts-jB7AIlXO.js";
7
+ import { a as recordGate, c as ACTION_UPGRADE_EVENT, d as INSTALL_AGENTS_PREFERENCE_ID, 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-Dtn4MVZ_.js";
8
8
  import { execFile } from "node:child_process";
9
9
  import * as path$1 from "node:path";
10
10
  import * as fs$1 from "node:fs";
@@ -1152,5 +1152,5 @@ const runInstallReactDoctor = async (options = {}) => {
1152
1152
  //#endregion
1153
1153
  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 };
1154
1154
 
1155
- //# sourceMappingURL=install-react-doctor-OIDTrbHz.js.map
1156
- //# debugId=6d8b7a92-82fa-5aae-a8ed-867bbde649c2
1155
+ //# sourceMappingURL=install-react-doctor-BC0tbnqe.js.map
1156
+ //# debugId=18311cd4-6630-5c31-9b77-79b8c3c9fa6f
@@ -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]="d4533012-ed7c-5153-8aa5-b787c04e6e62")}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]="0ab96cf4-dece-56d7-aced-d2ce61fdd137")}catch(e){}}();
3
3
  import { i as __toESM, r as __require, t as __commonJSMin } from "./chunk-ChKA3wi6.js";
4
- import { T as METRIC, t as recordCount } from "./record-metric-CdX-TQ5W.js";
5
- import { n as registerActiveTuiRenderer, t as exitGracefully } from "./exit-gracefully-C64GRTOn.js";
4
+ import { T as METRIC, t as recordCount } from "./record-metric-B0l334ac.js";
5
+ import { n as registerActiveTuiRenderer, t as exitGracefully } from "./exit-gracefully-cFX-xHhy.js";
6
6
  import { a as chalk, i as stripAnsi, n as isFullWidth$1, r as isWide$1 } from "./get-east-asian-width-Cglw13G7.js";
7
7
  import { EventEmitter } from "node:events";
8
8
  import { execFileSync } from "node:child_process";
@@ -25869,5 +25869,5 @@ var require_jsx_runtime = /* @__PURE__ */ __commonJSMin(((exports, module) => {
25869
25869
  //#endregion
25870
25870
  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 };
25871
25871
 
25872
- //# sourceMappingURL=jsx-runtime-BdBmuS_a.js.map
25873
- //# debugId=d4533012-ed7c-5153-8aa5-b787c04e6e62
25872
+ //# sourceMappingURL=jsx-runtime-BGIkB563.js.map
25873
+ //# debugId=0ab96cf4-dece-56d7-aced-d2ce61fdd137
@@ -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]="c6ead544-f15e-5ee3-a753-ed94fb263a7a")}catch(e){}}();
3
- import { An as gen, Kt as highlighter, Tn as log, _ as VERSION } from "./record-metric-CdX-TQ5W.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]="91f9093c-7869-5668-97b3-3ffec88b474f")}catch(e){}}();
3
+ import { An as gen, Kt as highlighter, Tn as log, _ as VERSION } from "./record-metric-B0l334ac.js";
4
4
  //#region src/cli/utils/print-branded-header.ts
5
5
  /**
6
6
  * Single branded line every command prints first when not in JSON
@@ -18,5 +18,5 @@ const printBrandedHeader = gen(function* () {
18
18
  //#endregion
19
19
  export { printBrandedHeader as t };
20
20
 
21
- //# sourceMappingURL=print-branded-header-BksixHcc.js.map
22
- //# debugId=c6ead544-f15e-5ee3-a753-ed94fb263a7a
21
+ //# sourceMappingURL=print-branded-header-B5xE0DP1.js.map
22
+ //# debugId=91f9093c-7869-5668-97b3-3ffec88b474f
@@ -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]="ea6b7ff6-0d96-50d7-b114-197a98204476")}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]="da9fd9ec-5030-535a-b971-2513c3ec75b9")}catch(e){}}();
3
3
  import { i as __toESM, n as __exportAll, r as __require, t as __commonJSMin } from "./chunk-ChKA3wi6.js";
4
4
  import { n as require_picomatch$2, t as require_semver } from "./semver-DFtnEmN-.js";
5
5
  import { builtinModules } from "node:module";
@@ -42091,7 +42091,7 @@ const resolveEntries = async (config) => {
42091
42091
  onlyFiles: true
42092
42092
  }));
42093
42093
  }
42094
- if (isEligible && (workspacePackage.isDeclaredWorkspace || !workspaceDiscovery.hasRootLevelWorkspacePatterns)) {
42094
+ if (isEligible) {
42095
42095
  const workspacePackageJsonEntries = await extractPackageJsonEntries(resolve(workspacePackage.directory, "package.json"));
42096
42096
  if (workspacePackageJsonEntries.some((entryPath) => existsSync(entryPath))) {
42097
42097
  workspaceEntries.push(...workspacePackageJsonEntries);
@@ -51897,4 +51897,4 @@ startProjectAnalysisWorker();
51897
51897
  export {};
51898
51898
 
51899
51899
  //# sourceMappingURL=project-analysis-worker.js.map
51900
- //# debugId=ea6b7ff6-0d96-50d7-b114-197a98204476
51900
+ //# debugId=da9fd9ec-5030-535a-b971-2513c3ec75b9
@@ -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]="06a0653d-eb3f-5f06-a156-7489728749ea")}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]="589332df-118a-571b-8789-9ffa2d9f03dd")}catch(e){}}();
3
3
  import { t as unrefStdin } from "./unref-stdin-BKT_s38a.js";
4
- import { a as RUNTIME_SCAN_LOCAL_DEV_PORTS, t as sanitizeRuntimeUrl, u as RUNTIME_SCAN_MAX_STRING_LENGTH } from "./sanitize-runtime-url-Dwa_-IKX.js";
5
- import { a as useExitOnCtrlC, c as Spinner, d as useInput, h as Box, i as import_react, m as Text, n as registerMountedTuiRenderer, o as terminalSymbols, p as render, r as useStdoutDimensions, s as isPrintableInput, t as require_jsx_runtime } from "./jsx-runtime-BdBmuS_a.js";
4
+ import { a as RUNTIME_SCAN_LOCAL_DEV_PORTS, t as sanitizeRuntimeUrl, u as RUNTIME_SCAN_MAX_STRING_LENGTH } from "./sanitize-runtime-url-DMNbP5D7.js";
5
+ import { a as useExitOnCtrlC, c as Spinner, d as useInput, h as Box, i as import_react, m as Text, n as registerMountedTuiRenderer, o as terminalSymbols, p as render, r as useStdoutDimensions, s as isPrintableInput, t as require_jsx_runtime } from "./jsx-runtime-BGIkB563.js";
6
6
  import * as http from "node:http";
7
7
  //#region src/cli/runtime-scan/detect-local-runtime-urls.ts
8
8
  const LOCAL_HTTP_HOSTS = ["127.0.0.1", "::1"];
@@ -236,5 +236,5 @@ const promptRuntimeScanUrl = () => new Promise((resolve) => {
236
236
  //#endregion
237
237
  export { promptRuntimeScanUrl };
238
238
 
239
- //# sourceMappingURL=prompt-runtime-scan-url-CXJMNnAo.js.map
240
- //# debugId=06a0653d-eb3f-5f06-a156-7489728749ea
239
+ //# sourceMappingURL=prompt-runtime-scan-url-G27i97Bd.js.map
240
+ //# debugId=589332df-118a-571b-8789-9ffa2d9f03dd
@@ -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]="dda1aa50-ba1b-5a1f-98a7-0e2c15d279a3")}catch(e){}}();
3
- import { Sr as isPlainObject } from "./record-metric-CdX-TQ5W.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]="aab93068-e2ac-58fd-9bff-deeb0906eb91")}catch(e){}}();
3
+ import { Sr as isPlainObject } from "./record-metric-B0l334ac.js";
4
4
  import * as fs$1 from "node:fs";
5
5
  import { parseJSON5 } from "confbox";
6
6
  //#region src/cli/utils/read-object-file.ts
@@ -20,5 +20,5 @@ const readObjectFile = (filePath) => {
20
20
  //#endregion
21
21
  export { readObjectFile as t };
22
22
 
23
- //# sourceMappingURL=read-object-file-BhV9TFsy.js.map
24
- //# debugId=dda1aa50-ba1b-5a1f-98a7-0e2c15d279a3
23
+ //# sourceMappingURL=read-object-file-p5HY4kEb.js.map
24
+ //# debugId=aab93068-e2ac-58fd-9bff-deeb0906eb91