react-doctor 0.9.21 → 0.9.22-dev.9791c32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/dist/{build-section-divider-7BsBHJzw.js → build-section-divider-C0g1Ei6e.js} +5 -5
  2. package/dist/{ci-BLYlhrnc.js → ci-WAuhTpme.js} +13 -13
  3. package/dist/cli.js +25 -25
  4. package/dist/{constants-C7tJ1mDM.js → constants-lt2tTZjE.js} +5 -5
  5. package/dist/{design-C-nUOSTQ.js → design-6hGxkjk5.js} +4 -4
  6. package/dist/{exit-gracefully-FiLLzTQ1.js → exit-gracefully-CrH0XOOM.js} +6 -6
  7. package/dist/{handle-error-e7o8z6_m.js → handle-error-I0xuMEX-.js} +6 -6
  8. package/dist/index.js +146 -11
  9. package/dist/{inspect-ByNwENtz.js → inspect-DqhYOioq.js} +17 -17
  10. package/dist/{install-CZoDYPVo.js → install-CPG0jnmG.js} +10 -10
  11. package/dist/{install-doctor-script-CVEZ2t6L.js → install-doctor-script-nXRFVnwB.js} +5 -5
  12. package/dist/{install-github-workflow-BWJ4D_F5.js → install-github-workflow-Dz_CjGWZ.js} +6 -6
  13. package/dist/{install-react-doctor-ets_78Xy.js → install-react-doctor-DTW7jlbB.js} +9 -9
  14. package/dist/{is-cache-globally-disabled-CKGkF0mF.js → is-cache-globally-disabled-af0VF8nQ.js} +4 -4
  15. package/dist/{jsx-runtime-Dm0FNmJL.js → jsx-runtime-CHPOZMf0.js} +6 -6
  16. package/dist/{print-branded-header-DiWfdjmT.js → print-branded-header-DOvoCTmj.js} +4 -4
  17. package/dist/{prompt-runtime-scan-url-BakCnJzL.js → prompt-runtime-scan-url-CUiYtHYM.js} +5 -5
  18. package/dist/{read-object-file-Oteoq7Zw.js → read-object-file-bxvNv0t7.js} +4 -4
  19. package/dist/{record-metric-2Z6Flpo9.js → record-metric-DnUGyTvk.js} +150 -14
  20. package/dist/{report-error-CGxoz0Wj.js → report-error-BHGXlglE.js} +6 -6
  21. package/dist/{report-workflow-result-Dzo7m2CJ.js → report-workflow-result-BcHDNP5c.js} +6 -6
  22. package/dist/{resolve-scan-exit-code-CEal9i8Y.js → resolve-scan-exit-code-Djt1bdjI.js} +15 -14
  23. package/dist/{resolve-scope-BOcZUNKd.js → resolve-scope-fia3B5zv.js} +6 -6
  24. package/dist/{rules-cl-Z5Jmn.js → rules-yf1pEM6s.js} +7 -7
  25. package/dist/{run-scan-app-9R9V35UK.js → run-scan-app-1XUEqAMy.js} +12 -12
  26. package/dist/{runtime-scan-DqDXHNTg.js → runtime-scan-CygUJs16.js} +10 -10
  27. package/dist/{sanitize-runtime-url-CQhLNz6k.js → sanitize-runtime-url-CTvmo6AI.js} +4 -4
  28. package/dist/{scan-CaDhrua0.js → scan-BseYx3YZ.js} +10 -10
  29. package/dist/{should-skip-prompts-CJupNfV9.js → should-skip-prompts-CPFR32SW.js} +4 -4
  30. package/dist/{should-use-tui-Bl-S8TT0.js → should-use-tui-BcJX70ai.js} +4 -4
  31. package/dist/{start-scan-preamble-2aM4aK2n.js → start-scan-preamble-CQy0CKXS.js} +5 -5
  32. package/dist/start-scan-preamble.js +3 -3
  33. package/dist/{telemetry-runtime-CB0-vVGJ.js → telemetry-runtime-BBE3cuSy.js} +7 -7
  34. package/dist/{version-CLPB9PA6.js → version-Ck8GLqQv.js} +5 -5
  35. package/dist/{why-CEvV2LR2.js → why-DXWUVbEL.js} +4 -4
  36. package/dist/{with-run-span-CcwxKjwz.js → with-run-span-MuO7EgYc.js} +6 -6
  37. package/package.json +5 -5
@@ -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]="ef63a0d5-eb2c-5a76-8087-e688e28ca29e")}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-C7tJ1mDM.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-2Z6Flpo9.js";
5
- import { n as shutdownTelemetry, o as isExpectedUserError, r as flushSentry } from "./telemetry-runtime-CB0-vVGJ.js";
6
- import { n as handleUserError, t as handleError } from "./handle-error-e7o8z6_m.js";
7
- import { t as reportErrorToSentry } from "./report-error-CGxoz0Wj.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]="07b795b0-611b-55e6-a41c-7ad2aecd485a")}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-lt2tTZjE.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-DnUGyTvk.js";
5
+ import { n as shutdownTelemetry, o as isExpectedUserError, r as flushSentry } from "./telemetry-runtime-BBE3cuSy.js";
6
+ import { n as handleUserError, t as handleError } from "./handle-error-I0xuMEX-.js";
7
+ import { t as reportErrorToSentry } from "./report-error-BHGXlglE.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-CVEZ2t6L.js";
10
- import { a as readReactDoctorWorkflow, c as workflowUsesV1Action, i as isReactDoctorWorkflowInstalled, l as prompts, s as upgradeWorkflowActionToV2 } from "./install-github-workflow-BWJ4D_F5.js";
11
- import { c as openWorkflowPullRequest, i as warnDeprecatedDiff, l as stageWorkflowFile, r as resolveScope, s as resolveBlockingLevel, t as finalizeScope } from "./resolve-scope-BOcZUNKd.js";
12
- import { t as shouldSkipPrompts } from "./should-skip-prompts-CJupNfV9.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-CEal9i8Y.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-Dzo7m2CJ.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-ets_78Xy.js";
16
- import { t as readObjectFile } from "./read-object-file-Oteoq7Zw.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-nXRFVnwB.js";
10
+ import { a as readReactDoctorWorkflow, c as workflowUsesV1Action, i as isReactDoctorWorkflowInstalled, l as prompts, s as upgradeWorkflowActionToV2 } from "./install-github-workflow-Dz_CjGWZ.js";
11
+ import { c as openWorkflowPullRequest, i as warnDeprecatedDiff, l as stageWorkflowFile, r as resolveScope, s as resolveBlockingLevel, t as finalizeScope } from "./resolve-scope-fia3B5zv.js";
12
+ import { t as shouldSkipPrompts } from "./should-skip-prompts-CPFR32SW.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-Djt1bdjI.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-BcHDNP5c.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-DTW7jlbB.js";
16
+ import { t as readObjectFile } from "./read-object-file-bxvNv0t7.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";
@@ -1371,7 +1371,7 @@ const inspectAction = async (directory, flags, invocationCommand = "inspect", se
1371
1371
  else comparisonBaseRef = diffInfo.diffBaseRef ?? await resolveMergeBaseRef(resolvedDirectory, diffInfo.baseBranch);
1372
1372
  const baselineRef = scope === "changed" && !savedBaseline ? comparisonBaseRef : null;
1373
1373
  const comparisonPlanRef = baselineRef ?? (savedBaseline?.schemaVersion === 3 ? savedBaseline.sourceRevision : void 0);
1374
- const baselineDiffPlan = comparisonPlanRef ? await getBaselineDiffPlan(resolvedDirectory, comparisonPlanRef) : null;
1374
+ const baselineDiffPlan = comparisonPlanRef ? await getBaselineDiffPlan(resolvedDirectory, comparisonPlanRef, includeUntracked ? diffInfo?.changedFiles : void 0) : null;
1375
1375
  const linesBaseRef = diffInfo?.isCurrentChanges ? "HEAD" : comparisonBaseRef;
1376
1376
  const changedLineRanges = (scope === "lines" || scope === "contextual") && diffInfo !== null && (diffInfo.isCurrentChanges || linesBaseRef !== null) && diffInfo !== null ? await getChangedLineRanges({
1377
1377
  directory: resolvedDirectory,
@@ -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-ByNwENtz.js.map
1532
- //# debugId=ef63a0d5-eb2c-5a76-8087-e688e28ca29e
1531
+ //# sourceMappingURL=inspect-DqhYOioq.js.map
1532
+ //# debugId=07b795b0-611b-55e6-a41c-7ad2aecd485a
@@ -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]="4062d52c-15b2-5c9e-9c2f-1d75eb4a4476")}catch(e){}}();
3
- import { u as METRIC } from "./constants-C7tJ1mDM.js";
4
- import { Tn as runSync, t as recordCount } from "./record-metric-2Z6Flpo9.js";
5
- import { o as isExpectedUserError } from "./telemetry-runtime-CB0-vVGJ.js";
6
- import { n as handleUserError, t as handleError } from "./handle-error-e7o8z6_m.js";
7
- import { t as reportErrorToSentry } from "./report-error-CGxoz0Wj.js";
8
- import { t as printBrandedHeader } from "./print-branded-header-DiWfdjmT.js";
9
- import { n as runInstallReactDoctor } from "./install-react-doctor-ets_78Xy.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]="1c9647b4-d665-52a3-a313-597460bf75df")}catch(e){}}();
3
+ import { u as METRIC } from "./constants-lt2tTZjE.js";
4
+ import { Tn as runSync, t as recordCount } from "./record-metric-DnUGyTvk.js";
5
+ import { o as isExpectedUserError } from "./telemetry-runtime-BBE3cuSy.js";
6
+ import { n as handleUserError, t as handleError } from "./handle-error-I0xuMEX-.js";
7
+ import { t as reportErrorToSentry } from "./report-error-BHGXlglE.js";
8
+ import { t as printBrandedHeader } from "./print-branded-header-DOvoCTmj.js";
9
+ import { n as runInstallReactDoctor } from "./install-react-doctor-DTW7jlbB.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-CZoDYPVo.js.map
34
- //# debugId=4062d52c-15b2-5c9e-9c2f-1d75eb4a4476
33
+ //# sourceMappingURL=install-CPG0jnmG.js.map
34
+ //# debugId=1c9647b4-d665-52a3-a313-597460bf75df
@@ -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]="e25e6633-9674-5adb-ab4a-561a7e06ddc3")}catch(e){}}();
3
- import { B as resolveGitCommand, g as RUN_GIT_MAX_BUFFER_BYTES } from "./constants-C7tJ1mDM.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-2Z6Flpo9.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]="09a003c8-8b6f-5f0a-9758-6dd3bf2c5ccc")}catch(e){}}();
3
+ import { B as resolveGitCommand, g as RUN_GIT_MAX_BUFFER_BYTES } from "./constants-lt2tTZjE.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-DnUGyTvk.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-CVEZ2t6L.js.map
2822
- //# debugId=e25e6633-9674-5adb-ab4a-561a7e06ddc3
2821
+ //# sourceMappingURL=install-doctor-script-nXRFVnwB.js.map
2822
+ //# debugId=09a003c8-8b6f-5f0a-9758-6dd3bf2c5ccc
@@ -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]="3468a65d-27bc-545c-861a-d310eb246a82")}catch(e){}}();
3
- import { s as GH_DEFAULT_BRANCH_PROBE_TIMEOUT_MS } from "./constants-C7tJ1mDM.js";
4
- import { _t as findGitRepositoryRoot } from "./record-metric-2Z6Flpo9.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]="02828f40-77c8-59cd-99ca-872968660045")}catch(e){}}();
3
+ import { s as GH_DEFAULT_BRANCH_PROBE_TIMEOUT_MS } from "./constants-lt2tTZjE.js";
4
+ import { _t as findGitRepositoryRoot } from "./record-metric-DnUGyTvk.js";
5
5
  import { t as unrefStdin } from "./unref-stdin-D-NZBFpg.js";
6
- import { N as cliLogger } from "./install-doctor-script-CVEZ2t6L.js";
6
+ import { N as cliLogger } from "./install-doctor-script-nXRFVnwB.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-BWJ4D_F5.js.map
285
- //# debugId=3468a65d-27bc-545c-861a-d310eb246a82
284
+ //# sourceMappingURL=install-github-workflow-Dz_CjGWZ.js.map
285
+ //# debugId=02828f40-77c8-59cd-99ca-872968660045
@@ -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]="1af0a718-32fa-5715-9d55-f4dad5983ecb")}catch(e){}}();
3
- import { kt as GITHUB_ACTIONS_SETUP_URL, o as CI_TRUST_COMPANIES, pn as SKILL_NAME, u as METRIC } from "./constants-C7tJ1mDM.js";
4
- import { Mt as highlighter, Un as isErrnoException, t as recordCount, y as CliInputError } from "./record-metric-2Z6Flpo9.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-CVEZ2t6L.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-BWJ4D_F5.js";
7
- import { t as shouldSkipPrompts } from "./should-skip-prompts-CJupNfV9.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-Dzo7m2CJ.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]="e21a1c19-098d-59f2-ae59-f43f271204cc")}catch(e){}}();
3
+ import { kt as GITHUB_ACTIONS_SETUP_URL, o as CI_TRUST_COMPANIES, pn as SKILL_NAME, u as METRIC } from "./constants-lt2tTZjE.js";
4
+ import { Mt as highlighter, Un as isErrnoException, t as recordCount, y as CliInputError } from "./record-metric-DnUGyTvk.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-nXRFVnwB.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-Dz_CjGWZ.js";
7
+ import { t as shouldSkipPrompts } from "./should-skip-prompts-CPFR32SW.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-BcHDNP5c.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-ets_78Xy.js.map
1160
- //# debugId=1af0a718-32fa-5715-9d55-f4dad5983ecb
1159
+ //# sourceMappingURL=install-react-doctor-DTW7jlbB.js.map
1160
+ //# debugId=e21a1c19-098d-59f2-ae59-f43f271204cc
@@ -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]="f87bbdab-695f-51c2-8e55-e6c01aa49627")}catch(e){}}();
3
- import { a as CACHE_DISABLED_VALUES } from "./constants-C7tJ1mDM.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]="2ac7ec61-236b-5e1e-963b-56b3769f30f7")}catch(e){}}();
3
+ import { a as CACHE_DISABLED_VALUES } from "./constants-lt2tTZjE.js";
4
4
  //#region src/cli/utils/is-cache-globally-disabled.ts
5
5
  const isCacheGloballyDisabled = () => CACHE_DISABLED_VALUES.has(process.env.REACT_DOCTOR_NO_CACHE?.toLowerCase() ?? "");
6
6
  //#endregion
7
7
  export { isCacheGloballyDisabled as t };
8
8
 
9
- //# sourceMappingURL=is-cache-globally-disabled-CKGkF0mF.js.map
10
- //# debugId=f87bbdab-695f-51c2-8e55-e6c01aa49627
9
+ //# sourceMappingURL=is-cache-globally-disabled-af0VF8nQ.js.map
10
+ //# debugId=2ac7ec61-236b-5e1e-963b-56b3769f30f7
@@ -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]="07a9114b-7fd1-5182-90e0-775c6d5983d4")}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]="3676600d-3e7c-57cd-a2bf-aa3ebdf19654")}catch(e){}}();
3
3
  import { i as __toESM, r as __require, t as __commonJSMin } from "./chunk-ChKA3wi6.js";
4
- import { u as METRIC } from "./constants-C7tJ1mDM.js";
5
- import { t as recordCount } from "./record-metric-2Z6Flpo9.js";
6
- import { n as registerActiveTuiRenderer, t as exitGracefully } from "./exit-gracefully-FiLLzTQ1.js";
4
+ import { u as METRIC } from "./constants-lt2tTZjE.js";
5
+ import { t as recordCount } from "./record-metric-DnUGyTvk.js";
6
+ import { n as registerActiveTuiRenderer, t as exitGracefully } from "./exit-gracefully-CrH0XOOM.js";
7
7
  import { a as chalk, i as stripAnsi, n as isFullWidth$1, r as isWide$1 } from "./get-east-asian-width-DRPy7dqz.js";
8
8
  import * as fs$1 from "node:fs";
9
9
  import fs from "node:fs";
@@ -25870,5 +25870,5 @@ var require_jsx_runtime = /* @__PURE__ */ __commonJSMin(((exports, module) => {
25870
25870
  //#endregion
25871
25871
  export { useExitOnCtrlC as a, Spinner as c, useInput as d, Transform as f, Box as h, import_react as i, useStdout as l, Text as m, registerMountedTuiRenderer as n, terminalSymbols as o, render as p, useStdoutDimensions as r, isPrintableInput as s, require_jsx_runtime as t, useApp as u };
25872
25872
 
25873
- //# sourceMappingURL=jsx-runtime-Dm0FNmJL.js.map
25874
- //# debugId=07a9114b-7fd1-5182-90e0-775c6d5983d4
25873
+ //# sourceMappingURL=jsx-runtime-CHPOZMf0.js.map
25874
+ //# debugId=3676600d-3e7c-57cd-a2bf-aa3ebdf19654
@@ -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]="8c31d82f-8972-51b3-be8d-20517cddc0a4")}catch(e){}}();
3
- import { Mt as highlighter, _ as VERSION, gn as gen, un as log } from "./record-metric-2Z6Flpo9.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]="0c7344ec-1166-5650-9ca7-f71809f6dab7")}catch(e){}}();
3
+ import { Mt as highlighter, _ as VERSION, gn as gen, un as log } from "./record-metric-DnUGyTvk.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-DiWfdjmT.js.map
22
- //# debugId=8c31d82f-8972-51b3-be8d-20517cddc0a4
21
+ //# sourceMappingURL=print-branded-header-DOvoCTmj.js.map
22
+ //# debugId=0c7344ec-1166-5650-9ca7-f71809f6dab7
@@ -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]="e97b0731-7553-5804-bb29-ec48e0a2737a")}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]="d87af63f-c096-5920-8b87-1f64e9fb10e2")}catch(e){}}();
3
3
  import { t as unrefStdin } from "./unref-stdin-D-NZBFpg.js";
4
- import { a as RUNTIME_SCAN_LOCAL_DEV_PORTS, t as sanitizeRuntimeUrl, u as RUNTIME_SCAN_MAX_STRING_LENGTH } from "./sanitize-runtime-url-CQhLNz6k.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-Dm0FNmJL.js";
4
+ import { a as RUNTIME_SCAN_LOCAL_DEV_PORTS, t as sanitizeRuntimeUrl, u as RUNTIME_SCAN_MAX_STRING_LENGTH } from "./sanitize-runtime-url-CTvmo6AI.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-CHPOZMf0.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-BakCnJzL.js.map
240
- //# debugId=e97b0731-7553-5804-bb29-ec48e0a2737a
239
+ //# sourceMappingURL=prompt-runtime-scan-url-CUiYtHYM.js.map
240
+ //# debugId=d87af63f-c096-5920-8b87-1f64e9fb10e2
@@ -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]="cd570ab0-9dd4-52e4-af91-1d9237ca2bfb")}catch(e){}}();
3
- import { Gn as isPlainObject } from "./record-metric-2Z6Flpo9.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]="8684be30-4f28-5bfc-bb32-2de53dc901bf")}catch(e){}}();
3
+ import { Gn as isPlainObject } from "./record-metric-DnUGyTvk.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-Oteoq7Zw.js.map
24
- //# debugId=cd570ab0-9dd4-52e4-af91-1d9237ca2bfb
23
+ //# sourceMappingURL=read-object-file-bxvNv0t7.js.map
24
+ //# debugId=8684be30-4f28-5bfc-bb32-2de53dc901bf
@@ -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]="91275a8f-62b2-5459-ae39-139271cff1ac")}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]="b8d64b40-46d7-5f4e-b543-098f398aedef")}catch(e){}}();
3
3
  import { i as __toESM, r as __require, t as __commonJSMin } from "./chunk-ChKA3wi6.js";
4
- import { $ as warmReactCompilerDetection, $t as OXLINT_WORKER_JOB_END_MARKER, A as buildGitSourceListingRequest, An as TARGET_BLANK_BROWSER_SUPPORT, At as GITHUB_VIEWER_PERMISSION_TIMEOUT_MS, B as resolveGitCommand, Bt as MAINTAINABILITY_DUPLICATE_JSX_RULE, Cn as SUPPLY_CHAIN_CACHE_TTL_MS, Ct as ES_TARGET_YEAR_BY_NAME, Dn as SUPPLY_CHAIN_PLUGIN, Dt as GENERATED_BUNDLE_FILE_PATTERN, En as SUPPLY_CHAIN_OVERLAP_TIMEOUT_MS, Et as FILE_LINT_CACHE_MAX_FILE_COUNT, F as lowerChildProcessPriority, Fn as VERCEL_NEXTJS_SECURITY_RELEASE_URL, Ft as HTML_FILE_PATTERN, G as resolvePluginPath, Gt as MINIFIED_SNIFF_BYTES, H as resolveOxlintThreadCount, It as IGNORED_DIRECTORIES, J as resolveTsConfigRelativePath, K as resolveReactDoctorCacheDir, Kt as OCCURRENCE_MATCHED_CATEGORIES, Lt as JSX_DUPLICATION_SOURCE_FILE_PATTERN, M as buildOxlintWorkerSpawnSpec, Mn as TELEMETRY_SHUTDOWN_TIMEOUT_MS, Mt as GIT_LS_FILES_MAX_BUFFER_BYTES, Nn as TSCONFIG_FILENAMES, Nt as GIT_SHOW_MAX_BUFFER_BYTES, On as SUPPLY_CHAIN_RULE, Ot as GENERATED_SOURCE_DIRECTORY_PATTERN, P as killUnadoptedOxlintWorkers, Pn as TYPESCRIPT_DECLARATION_FILE_PATTERN, Pt as GIT_SOURCE_LISTING_ARGUMENTS, Q as takeReactCompilerDetection, Qt as OXLINT_SPLIT_TOTAL_BUDGET_MS, R as readSystemConcurrencyFacts, Sn as SUPPLY_CHAIN_CACHE_SUBDIR, Tn as SUPPLY_CHAIN_IGNORED_PACKAGES, Tt as FILE_LINT_CACHE_FILENAME, U as resolveOxlintToolchainVersions, Ut as MAX_GLOB_PATTERN_LENGTH_CHARS, V as resolveOxlintBinary, Vt as MAINTAINABILITY_PLUGIN, W as resolveOxlintWorkerRuntime, Wt as MILLISECONDS_PER_SECOND, X as spawnOxlintWorkerProcess, Xt as OXLINT_OUTPUT_MAX_BYTES, Y as setChildProcessRef, Yt as OXLINT_OOM_RESCUE_BUDGET_MS, Z as takePrespawnedOxlintWorker, Zt as OXLINT_SPAWN_TIMEOUT_MS, _n as SOURCE_FILE_PATTERN, _t as DIAGNOSTIC_CATEGORY_BUCKETS, an as REACT_ROUTER_CAPABILITY_THRESHOLDS, at as AXIOM_METRICS_DATASET_HEADER, bn as SPAWN_ARGS_MAX_LENGTH_CHARS_POSIX, cn as ROOT_CAUSE_GROUPABLE_RULE_KEYS, d as METRIC_DISTRIBUTION_BOUNDARIES, dt as COMPILER_CLEANUP_BUCKET, en as PROJECT_ANALYSIS_WORKER_MAX_OLD_SPACE_MB, et as ABORT_EXIT_CODES, fn as SIDECAR_LINT_CACHE_FILENAME, ft as COMPILER_CLEANUP_RULE_KEYS, gn as SOCKET_PACKAGE_PAGE_BASE, gt as DEFAULT_BRANCH_CANDIDATES, hn as SOCKET_FREE_USER_AGENT, in as REACT_BLOG_RSC_ADVISORY_URL, j as buildOxlintChildEnv, jn as TELEMETRY_EXPORT_INTERVAL_MS, jt as GIT_CHECK_ATTR_MAX_BUFFER_BYTES, kn as TAILWIND_POSTCSS7_COMPAT_ALIAS, l as INTERNAL_ERROR_JSON_FALLBACK, ln as SCANNED_DOT_DIRECTORIES, mn as SOCKET_FREE_PURL_API_BASE, mt as CONFIG_FINGERPRINT_FILENAMES, nn as PROJECT_ANALYSIS_WORKER_TIMEOUT_CEILING_MS, nt as APP_ONLY_RULE_KEYS, on as REACT_SERVER_DOM_PACKAGES, ot as AXIOM_METRICS_PATH, pt as CONFIG_CACHE_TTL_MS, q as resolveScanConcurrency, qt as OXLINT_IGNORED_DECLARATION_DIAGNOSTIC_CODES, rn as PROJECT_ANALYSIS_WORKER_TIMEOUT_MS, rt as AXIOM_DATASET_HEADER, sn as RECOMMENDED_PNPM_MINIMUM_RELEASE_AGE_MINUTES, st as AXIOM_TRACES_PATH, tn as PROJECT_ANALYSIS_WORKER_MEMORY_BUDGET_BYTES, tt as ADOPTABLE_LINT_CONFIG_FILENAMES, un as SCORE_API_URL, vn as SPAWN_ARGS_MAX_LENGTH_CHARS, vt as DISABLE_DIRECTIVE_BACKUP_DIRECTORY_SEGMENTS, wn as SUPPLY_CHAIN_CATEGORY, wt as FETCH_TIMEOUT_MS, xn as STAGED_FILES_PROJECT_CONFIG_FILENAMES, xt as DUPLICATE_JSX_WORKER_IDLE_TIMEOUT_MS, yn as SPAWN_ARGS_MAX_LENGTH_CHARS_DARWIN, yt as DOCS_RULES_BASE_URL, z as resolveConfiguredScanConcurrency, zt as MAINTAINABILITY_CATEGORY } from "./constants-C7tJ1mDM.js";
4
+ import { $ as warmReactCompilerDetection, $t as OXLINT_WORKER_JOB_END_MARKER, A as buildGitSourceListingRequest, An as TARGET_BLANK_BROWSER_SUPPORT, At as GITHUB_VIEWER_PERMISSION_TIMEOUT_MS, B as resolveGitCommand, Bt as MAINTAINABILITY_DUPLICATE_JSX_RULE, Cn as SUPPLY_CHAIN_CACHE_TTL_MS, Ct as ES_TARGET_YEAR_BY_NAME, Dn as SUPPLY_CHAIN_PLUGIN, Dt as GENERATED_BUNDLE_FILE_PATTERN, En as SUPPLY_CHAIN_OVERLAP_TIMEOUT_MS, Et as FILE_LINT_CACHE_MAX_FILE_COUNT, F as lowerChildProcessPriority, Fn as VERCEL_NEXTJS_SECURITY_RELEASE_URL, Ft as HTML_FILE_PATTERN, G as resolvePluginPath, Gt as MINIFIED_SNIFF_BYTES, H as resolveOxlintThreadCount, It as IGNORED_DIRECTORIES, J as resolveTsConfigRelativePath, K as resolveReactDoctorCacheDir, Kt as OCCURRENCE_MATCHED_CATEGORIES, Lt as JSX_DUPLICATION_SOURCE_FILE_PATTERN, M as buildOxlintWorkerSpawnSpec, Mn as TELEMETRY_SHUTDOWN_TIMEOUT_MS, Mt as GIT_LS_FILES_MAX_BUFFER_BYTES, Nn as TSCONFIG_FILENAMES, Nt as GIT_SHOW_MAX_BUFFER_BYTES, On as SUPPLY_CHAIN_RULE, Ot as GENERATED_SOURCE_DIRECTORY_PATTERN, P as killUnadoptedOxlintWorkers, Pn as TYPESCRIPT_DECLARATION_FILE_PATTERN, Pt as GIT_SOURCE_LISTING_ARGUMENTS, Q as takeReactCompilerDetection, Qt as OXLINT_SPLIT_TOTAL_BUDGET_MS, R as readSystemConcurrencyFacts, Sn as SUPPLY_CHAIN_CACHE_SUBDIR, Tn as SUPPLY_CHAIN_IGNORED_PACKAGES, Tt as FILE_LINT_CACHE_FILENAME, U as resolveOxlintToolchainVersions, Ut as MAX_GLOB_PATTERN_LENGTH_CHARS, V as resolveOxlintBinary, Vt as MAINTAINABILITY_PLUGIN, W as resolveOxlintWorkerRuntime, Wt as MILLISECONDS_PER_SECOND, X as spawnOxlintWorkerProcess, Xt as OXLINT_OUTPUT_MAX_BYTES, Y as setChildProcessRef, Yt as OXLINT_OOM_RESCUE_BUDGET_MS, Z as takePrespawnedOxlintWorker, Zt as OXLINT_SPAWN_TIMEOUT_MS, _n as SOURCE_FILE_PATTERN, _t as DIAGNOSTIC_CATEGORY_BUCKETS, an as REACT_ROUTER_CAPABILITY_THRESHOLDS, at as AXIOM_METRICS_DATASET_HEADER, bn as SPAWN_ARGS_MAX_LENGTH_CHARS_POSIX, cn as ROOT_CAUSE_GROUPABLE_RULE_KEYS, d as METRIC_DISTRIBUTION_BOUNDARIES, dt as COMPILER_CLEANUP_BUCKET, en as PROJECT_ANALYSIS_WORKER_MAX_OLD_SPACE_MB, et as ABORT_EXIT_CODES, fn as SIDECAR_LINT_CACHE_FILENAME, ft as COMPILER_CLEANUP_RULE_KEYS, gn as SOCKET_PACKAGE_PAGE_BASE, gt as DEFAULT_BRANCH_CANDIDATES, hn as SOCKET_FREE_USER_AGENT, in as REACT_BLOG_RSC_ADVISORY_URL, j as buildOxlintChildEnv, jn as TELEMETRY_EXPORT_INTERVAL_MS, jt as GIT_CHECK_ATTR_MAX_BUFFER_BYTES, kn as TAILWIND_POSTCSS7_COMPAT_ALIAS, l as INTERNAL_ERROR_JSON_FALLBACK, ln as SCANNED_DOT_DIRECTORIES, mn as SOCKET_FREE_PURL_API_BASE, mt as CONFIG_FINGERPRINT_FILENAMES, nn as PROJECT_ANALYSIS_WORKER_TIMEOUT_CEILING_MS, nt as APP_ONLY_RULE_KEYS, on as REACT_SERVER_DOM_PACKAGES, ot as AXIOM_METRICS_PATH, pt as CONFIG_CACHE_TTL_MS, q as resolveScanConcurrency, qt as OXLINT_IGNORED_DECLARATION_DIAGNOSTIC_CODES, rn as PROJECT_ANALYSIS_WORKER_TIMEOUT_MS, rt as AXIOM_DATASET_HEADER, sn as RECOMMENDED_PNPM_MINIMUM_RELEASE_AGE_MINUTES, st as AXIOM_TRACES_PATH, tn as PROJECT_ANALYSIS_WORKER_MEMORY_BUDGET_BYTES, tt as ADOPTABLE_LINT_CONFIG_FILENAMES, un as SCORE_API_URL, vn as SPAWN_ARGS_MAX_LENGTH_CHARS, vt as DISABLE_DIRECTIVE_BACKUP_DIRECTORY_SEGMENTS, wn as SUPPLY_CHAIN_CATEGORY, wt as FETCH_TIMEOUT_MS, xn as STAGED_FILES_PROJECT_CONFIG_FILENAMES, xt as DUPLICATE_JSX_WORKER_IDLE_TIMEOUT_MS, yn as SPAWN_ARGS_MAX_LENGTH_CHARS_DARWIN, yt as DOCS_RULES_BASE_URL, z as resolveConfiguredScanConcurrency, zt as MAINTAINABILITY_CATEGORY } from "./constants-lt2tTZjE.js";
5
5
  import { n as require_picomatch, t as require_semver } from "./semver-BZIuy1gP.js";
6
6
  import { createRequire } from "node:module";
7
7
  import * as fs$1$2 from "node:fs";
@@ -88,7 +88,7 @@ const unwrapTypescriptExpression = (expression) => {
88
88
  return currentExpression;
89
89
  };
90
90
  //#endregion
91
- //#region ../core/dist/collect-unplugin-auto-import-global-scopes-B65T4dYj.js
91
+ //#region ../core/dist/collect-unplugin-auto-import-global-scopes-D4bM_Zhs.js
92
92
  var import_picomatch = /* @__PURE__ */ __toESM(require_picomatch(), 1);
93
93
  const LINGUIST_ATTRIBUTES = ["linguist-generated", "linguist-vendored"];
94
94
  const DISABLED_ATTRIBUTE_VALUES = new Set([
@@ -526,7 +526,7 @@ const collectUnpluginAutoImportGlobalScopes = ({ rootDirectory, candidateFiles }
526
526
  return scopes.some((scope) => scope.names.length > 0) ? scopes : [];
527
527
  };
528
528
  //#endregion
529
- //#region ../core/dist/detect-duplicate-jsx-subtrees-pJBK9F39.js
529
+ //#region ../core/dist/detect-duplicate-jsx-subtrees-BfvHEoZi.js
530
530
  const yieldToEventLoop = () => new Promise((resolve) => {
531
531
  setImmediate(resolve);
532
532
  });
@@ -1083,7 +1083,7 @@ const detectDuplicateJsxSubtreesCooperative = async (sourceReader, options = {})
1083
1083
  });
1084
1084
  };
1085
1085
  //#endregion
1086
- //#region ../core/dist/detect-react-compiler-4a2Hs6Ek.js
1086
+ //#region ../core/dist/detect-react-compiler-BGN8JyDW.js
1087
1087
  const NEXT_CONFIG_FILENAMES = [
1088
1088
  "next.config.js",
1089
1089
  "next.config.mjs",
@@ -9936,6 +9936,8 @@ const onErrorFilter = /* @__PURE__ */ dual(3, (self, filter, f) => onExit$2(self
9936
9936
  /** @internal */
9937
9937
  const onInterrupt$1 = /* @__PURE__ */ dual(2, (self, finalizer) => onErrorFilter(causeFilterInterruptors, finalizer)(self));
9938
9938
  /** @internal */
9939
+ const acquireUseRelease$1 = (acquire, use, release) => uninterruptibleMask$1((restore) => flatMap$4(acquire, (a) => onExitPrimitive(restore(use(a)), (exit) => release(a, exit), true)));
9940
+ /** @internal */
9939
9941
  const cachedInvalidateWithTTL = /* @__PURE__ */ dual(2, (self, ttl) => sync$2(() => {
9940
9942
  const ttlMillis = toMillis(fromInputUnsafe(ttl));
9941
9943
  const isFinite = Number.isFinite(ttlMillis);
@@ -16615,6 +16617,84 @@ const scopedWith = scopedWith$1;
16615
16617
  */
16616
16618
  const acquireRelease = acquireRelease$1;
16617
16619
  /**
16620
+ * Runs resource acquisition, usage, and release as one bracketed effect.
16621
+ *
16622
+ * **When to use**
16623
+ *
16624
+ * Use to bracket acquire, use, and release logic in one effect.
16625
+ *
16626
+ * **Details**
16627
+ *
16628
+ * `acquireUseRelease` does the following:
16629
+ *
16630
+ * 1. Ensures that the `Effect` value that acquires the resource will not be
16631
+ * interrupted. Note that acquisition may still fail due to internal
16632
+ * reasons (such as an uncaught exception).
16633
+ * 2. Ensures that the `release` `Effect` value will not be interrupted,
16634
+ * and will be executed as long as the acquisition `Effect` value
16635
+ * successfully acquires the resource.
16636
+ *
16637
+ * During the time period between the acquisition and release of the resource,
16638
+ * the `use` `Effect` value will be executed.
16639
+ *
16640
+ * If the `release` `Effect` value fails, then the entire `Effect` value will
16641
+ * fail, even if the `use` `Effect` value succeeds. If this fail-fast behavior
16642
+ * is not desired, errors produced by the `release` `Effect` value can be caught
16643
+ * and ignored.
16644
+ *
16645
+ * **Example** (Acquiring resources with cleanup)
16646
+ *
16647
+ * ```ts
16648
+ * import { Console, Effect, Exit } from "effect"
16649
+ *
16650
+ * interface Database {
16651
+ * readonly connection: string
16652
+ * readonly query: (sql: string) => Effect.Effect<string>
16653
+ * }
16654
+ *
16655
+ * const program = Effect.acquireUseRelease(
16656
+ * // Acquire - connect to database
16657
+ * Effect.gen(function*() {
16658
+ * yield* Console.log("Connecting to database...")
16659
+ * return {
16660
+ * connection: "db://localhost:5432",
16661
+ * query: (sql: string) => Effect.succeed(`Result for: ${sql}`)
16662
+ * }
16663
+ * }),
16664
+ * // Use - perform database operations
16665
+ * (db) =>
16666
+ * Effect.gen(function*() {
16667
+ * yield* Console.log(`Connected to ${db.connection}`)
16668
+ * const result = yield* db.query("SELECT * FROM users")
16669
+ * yield* Console.log(`Query result: ${result}`)
16670
+ * return result
16671
+ * }),
16672
+ * // Release - close database connection
16673
+ * (db, exit) =>
16674
+ * Effect.gen(function*() {
16675
+ * if (Exit.isSuccess(exit)) {
16676
+ * yield* Console.log(`Closing connection to ${db.connection} (success)`)
16677
+ * } else {
16678
+ * yield* Console.log(`Closing connection to ${db.connection} (failure)`)
16679
+ * }
16680
+ * })
16681
+ * )
16682
+ *
16683
+ * Effect.runPromise(program)
16684
+ * // Output:
16685
+ * // Connecting to database...
16686
+ * // Connected to db://localhost:5432
16687
+ * // Query result: Result for: SELECT * FROM users
16688
+ * // Closing connection to db://localhost:5432 (success)
16689
+ * ```
16690
+ *
16691
+ * @see {@link acquireRelease} for scoped resources whose use happens later
16692
+ *
16693
+ * @category resource management
16694
+ * @since 2.0.0
16695
+ */
16696
+ const acquireUseRelease = acquireUseRelease$1;
16697
+ /**
16618
16698
  * Runs the specified effect if this effect fails, providing the error to the
16619
16699
  * effect if it exists. The provided effect will not be interrupted.
16620
16700
  *
@@ -71218,6 +71298,53 @@ var Git = class Git extends Service()("react-doctor/Git") {
71218
71298
  args,
71219
71299
  directory
71220
71300
  });
71301
+ const findUntrackedRenames = (directory, diffArgs, plan, untrackedFiles) => {
71302
+ const headFiles = new Set(plan.headFiles);
71303
+ const deletedFiles = new Set(plan.baseFiles.filter((filePath) => !headFiles.has(filePath) && plan.renamedFiles?.[filePath] === void 0));
71304
+ if (deletedFiles.size === 0 || untrackedFiles.length === 0) return succeed$2({});
71305
+ return acquireUseRelease(try_(() => fs.mkdtempSync(path.join(os.tmpdir(), "react-doctor-index-"))), (temporaryDirectory) => gen(function* () {
71306
+ const indexPath = yield* runGit(directory, [
71307
+ "rev-parse",
71308
+ "--path-format=absolute",
71309
+ "--git-path",
71310
+ "index"
71311
+ ]);
71312
+ if (indexPath.status !== 0) return {};
71313
+ const indexFile = path.join(temporaryDirectory, "index");
71314
+ const pathspecFile = path.join(temporaryDirectory, "untracked");
71315
+ yield* try_(() => {
71316
+ fs.copyFileSync(indexPath.stdout.trim(), indexFile);
71317
+ fs.writeFileSync(pathspecFile, untrackedFiles.join("\0"));
71318
+ });
71319
+ const env = { GIT_INDEX_FILE: indexFile };
71320
+ if ((yield* runCommand({
71321
+ command: "git",
71322
+ args: [
71323
+ "-c",
71324
+ "core.splitIndex=false",
71325
+ "--literal-pathspecs",
71326
+ "add",
71327
+ "--intent-to-add",
71328
+ `--pathspec-from-file=${pathspecFile}`,
71329
+ "--pathspec-file-nul"
71330
+ ],
71331
+ directory,
71332
+ env
71333
+ })).status !== 0) return {};
71334
+ const result = yield* runCommand({
71335
+ command: "git",
71336
+ args: diffArgs,
71337
+ directory,
71338
+ env
71339
+ });
71340
+ if (result.status !== 0) return {};
71341
+ const untrackedFileSet = new Set(untrackedFiles);
71342
+ return Object.fromEntries(Object.entries(parseBaselineDiffPlan(result.stdout)?.renamedFiles ?? {}).filter(([basePath, headPath]) => deletedFiles.has(basePath) && untrackedFileSet.has(headPath)));
71343
+ }), (temporaryDirectory) => sync(() => fs.rmSync(temporaryDirectory, {
71344
+ recursive: true,
71345
+ force: true
71346
+ }))).pipe(catch_$1(() => succeed$2({})));
71347
+ };
71221
71348
  const listUntrackedFilePaths = (directory, includePaths = []) => runGit(directory, [
71222
71349
  "ls-files",
71223
71350
  "-z",
@@ -71368,7 +71495,7 @@ var Git = class Git extends Service()("react-doctor/Git") {
71368
71495
  "--relative"
71369
71496
  ]);
71370
71497
  if (unmerged.status !== 0 || unmerged.stdout.length > 0) return null;
71371
- const result = yield* runGit(input.directory, [
71498
+ const diffArgs = [
71372
71499
  "diff",
71373
71500
  "--no-ext-diff",
71374
71501
  "--no-textconv",
@@ -71377,7 +71504,8 @@ var Git = class Git extends Service()("react-doctor/Git") {
71377
71504
  "--name-status",
71378
71505
  "--relative",
71379
71506
  input.ref
71380
- ]);
71507
+ ];
71508
+ const result = yield* runGit(input.directory, diffArgs);
71381
71509
  if (result.status !== 0) return null;
71382
71510
  const plan = parseBaselineDiffPlan(result.stdout);
71383
71511
  if (plan === null) return null;
@@ -71388,11 +71516,18 @@ var Git = class Git extends Service()("react-doctor/Git") {
71388
71516
  "-z"
71389
71517
  ]);
71390
71518
  if (untracked.status !== 0) return null;
71519
+ const untrackedFiles = splitNullSeparated(untracked.stdout);
71520
+ const untrackedRenamePaths = new Set(input.untrackedRenamePaths);
71521
+ const untrackedRenamedFiles = yield* findUntrackedRenames(input.directory, diffArgs, plan, untrackedFiles.filter((filePath) => untrackedRenamePaths.has(filePath)));
71522
+ const renamedFiles = {
71523
+ ...plan.renamedFiles,
71524
+ ...untrackedRenamedFiles
71525
+ };
71391
71526
  return {
71392
- ...plan,
71527
+ ...Object.keys(renamedFiles).length > 0 ? { renamedFiles } : {},
71393
71528
  baseFiles: plan.baseFiles,
71394
71529
  headFiles: plan.headFiles,
71395
- untrackedFiles: splitNullSeparated(untracked.stdout)
71530
+ untrackedFiles
71396
71531
  };
71397
71532
  }).pipe(catch_$1(() => succeed$2(null)), withSpan("Git.baselineDiffPlan"));
71398
71533
  },
@@ -76922,10 +77057,11 @@ const getDiffInfo = (directory, explicitBaseBranch, includeUntracked) => runProm
76922
77057
  };
76923
77058
  }).pipe(provide(Git.layerNode)));
76924
77059
  const filterSourceFiles = (filePaths) => filePaths.filter(isLintableSourceFile);
76925
- const getBaselineDiffPlan = (directory, ref) => runPromise(gen(function* () {
77060
+ const getBaselineDiffPlan = (directory, ref, untrackedRenamePaths) => runPromise(gen(function* () {
76926
77061
  return yield* (yield* Git).baselineDiffPlan({
76927
77062
  directory,
76928
- ref
77063
+ ref,
77064
+ untrackedRenamePaths
76929
77065
  });
76930
77066
  }).pipe(provide(Git.layerNode)));
76931
77067
  /**
@@ -77475,7 +77611,7 @@ const makeNoopConsole = () => ({
77475
77611
  });
77476
77612
  //#endregion
77477
77613
  //#region src/cli/utils/version.ts
77478
- const VERSION = "0.9.21";
77614
+ const VERSION = "0.9.22-dev.9791c32";
77479
77615
  //#endregion
77480
77616
  //#region src/cli/utils/json-mode.ts
77481
77617
  let context = null;
@@ -77819,5 +77955,5 @@ const recordDistribution = (name, value, options = {}) => {
77819
77955
  //#endregion
77820
77956
  export { buildRuleSeverityControls as $, scrubSensitivePaths as $t, Files as A, mergeAll$1 as An, hasSupportedFrameworkOrLibrary as At, PerFileLintCacheEnabled as B, messageFromUnknown as Bn, listSourceFilesCooperative as Bt, ACTION_INPUT_ENVIRONMENT_VARIABLES as C, provideService as Cn, getChangedLineRanges as Ct, isCodingAgentEnvironment as D, try_ as Dn, getRuleMetadata as Dt, isCiOrCodingAgentEnvironment as E, sync as En, getEquivalentRuleKeys as Et, Linter as F, fail$5 as Fn, isReactDoctorError as Ft, SidecarLintCacheEnabled as G, isPlainObject as Gn, mergeAndFilterDiagnostics as Gt, Project as H, isDirectory as Hn, loadConfigWithSource as Ht, Maintainability as I, void_$1 as In, isSameRuleKey as It, anonymizeInPlace as J, resolveGithubActionsScoreMetadata as Jt, StagedFiles as K, mergeReactDoctorConfigs as Kt, NodeResolver as L, ParentSpan as Ln, isScanComplete as Lt, InvocationCaches as M, succeed$3 as Mn, highlighter as Mt, LEGACY_CONFIG_FILENAME as N, close as Nn, isPathInsideDirectory as Nt, Config as O, void_ as On, groupBy as Ot, LintPartialFailures as P, makeUnsafe$5 as Pn, isProjectDiscoveryError as Pt, buildRuleDocsUrl as Q, runInspect as Qt, OxlintConcurrency as R, isMonorepoRoot as Rn, layerObservability as Rt, isDebugFlagEnabled as S, provideContext as Sn, getBaselineDiffPlan as St, isCiEnvironment as T, runSync as Tn, getDiffInfo as Tt, Reporter as U, isErrnoException as Un, mapWithConcurrency as Ut, Progress as V, toCanonicalPath as Vn, listWorkspacePackages as Vt, Score as W, isFile as Wn, materializeSourceTree as Wt, atomicWriteJson as X, resolveScanTarget as Xt, anonymizeText as Y, resolveLintBatchOrdering as Yt, buildJsonReport as Z, restoreLegacyThrow as Zt, VERSION as _, makeSpan$1 as _n, findGitRepositoryRoot as _t, isEnvFlagEnabled as a, warmDuplicateJsxWorker as an, collectSourceFilesByDirectory as at, isNonInteractiveEnvironment as b, promise as bn, formatErrorChain as bt, setSentryProjectInfo as c, error as cn, countOptInProjectRuleSelections as ct, isJsonModeActive as d, warn$1 as dn, createOxlintSpawnSlots as dt, setColorEnabled as en, buildSkippedChecks as et, setJsonReportDirectory as f, Diagnostic as fn, detectAiTrainingEnvironment as ft, writeJsonReport as g, gen as gn, filterSourceFiles as gt, writeJsonErrorReport as h, make$30 as hn, filterPathsOutsideDirectories as ht, isTelemetryEnabled as i, validateConfigTypes as in, clearConfigCache as it, Git as j, provide$2 as jn, hashFileContents as jt, DIAGNOSTIC_DELTA_IDENTITY as k, buildWithScope as kn, hasPublishedFixRecipe as kt, getRunId as l, info as ln, createChangedLineMatcher as lt, writeJsonCancellationReport as m, decodeUnknownSync as mn, filterDiagnosticsForSurface as mt, recordDistribution as n, summarizeDiagnostics as nn, canonicalizeUserRuleKey as nt, buildSentryScope as o, warmOxlintWorkerPool as on, computeConfigFingerprint as ot, setJsonReportMode as p, JsonReport as pn, discoverSupportedSubprojects as pt, SupplyChain as q, remainingDeadlineBudgetMs as qt, toSpanAttributes as r, toRelativePath as rn, classifyFileContext as rt, buildSentryProjectContext as s, Console as sn, computeDiagnosticDelta as st, recordCount as t, shouldUseMaintainabilityLayer as tn, calculateScore as tt, enableJsonMode as u, log as un, createInvocationCaches as ut, makeNoopConsole as v, map$3 as vn, findLegacyConfig as vt, detectRunnerOs as w, runPromise as wn, getDiagnosticRuleIdentity as wt, isGitHookEnvironment as x, provide as xn, formatReactDoctorError as xt, CliInputError as y, orElseSucceed as yn, fingerprintDiagnosticEvidence as yt, OxlintSpawnSlots as z, yieldToEventLoop as zn, listSourceFiles as zt };
77821
77957
 
77822
- //# sourceMappingURL=record-metric-2Z6Flpo9.js.map
77823
- //# debugId=91275a8f-62b2-5459-ae39-139271cff1ac
77958
+ //# sourceMappingURL=record-metric-DnUGyTvk.js.map
77959
+ //# debugId=b8d64b40-46d7-5f4e-b543-098f398aedef
@@ -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]="b6610661-a92f-5420-ab1f-84c2e2425662")}catch(e){}}();
3
- import { S as SENTRY_FLUSH_TIMEOUT_MS, u as METRIC } from "./constants-C7tJ1mDM.js";
4
- import { Ft as isReactDoctorError, l as getRunId, o as buildSentryScope, t as recordCount } from "./record-metric-2Z6Flpo9.js";
5
- import { i as getSentry, n as shutdownTelemetry, o as isExpectedUserError } from "./telemetry-runtime-CB0-vVGJ.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]="5ddec4d3-c8bd-5c46-86db-5616e46b8fda")}catch(e){}}();
3
+ import { S as SENTRY_FLUSH_TIMEOUT_MS, u as METRIC } from "./constants-lt2tTZjE.js";
4
+ import { Ft as isReactDoctorError, l as getRunId, o as buildSentryScope, t as recordCount } from "./record-metric-DnUGyTvk.js";
5
+ import { i as getSentry, n as shutdownTelemetry, o as isExpectedUserError } from "./telemetry-runtime-BBE3cuSy.js";
6
6
  import { r as recordRunTraceId, t as getActiveRunTrace } from "./active-run-trace-Dewycxda.js";
7
7
  //#region src/cli/utils/report-error.ts
8
8
  /**
@@ -61,5 +61,5 @@ const reportErrorToSentry = async (error) => {
61
61
  //#endregion
62
62
  export { reportErrorToSentry as t };
63
63
 
64
- //# sourceMappingURL=report-error-CGxoz0Wj.js.map
65
- //# debugId=b6610661-a92f-5420-ab1f-84c2e2425662
64
+ //# sourceMappingURL=report-error-BHGXlglE.js.map
65
+ //# debugId=5ddec4d3-c8bd-5c46-86db-5616e46b8fda
@@ -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]="26a89ddf-2dff-5896-8f83-6d0587420ef2")}catch(e){}}();
3
- import { m as REACT_DOCTOR_CONFIG_PROJECT_NAME, u as METRIC } from "./constants-C7tJ1mDM.js";
4
- import { t as recordCount } from "./record-metric-2Z6Flpo9.js";
5
- import { u as isCommandAvailable } from "./install-github-workflow-BWJ4D_F5.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]="4210464f-b4d7-51b7-8c22-e6a240b841fc")}catch(e){}}();
3
+ import { m as REACT_DOCTOR_CONFIG_PROJECT_NAME, u as METRIC } from "./constants-lt2tTZjE.js";
4
+ import { t as recordCount } from "./record-metric-DnUGyTvk.js";
5
+ import { u as isCommandAvailable } from "./install-github-workflow-Dz_CjGWZ.js";
6
6
  import { createRequire } from "node:module";
7
7
  import * as path$1 from "node:path";
8
8
  import { spawn } from "node:child_process";
@@ -289,5 +289,5 @@ const reportWorkflowResult = (workflowSpinner, result, projectRoot) => {
289
289
  //#endregion
290
290
  export { recordGate as a, ACTION_UPGRADE_EVENT as c, INSTALL_AGENTS_PREFERENCE_ID as d, ONBOARDING_EVENT as f, loadAgentInstall as g, detectAvailableAgents as h, readPreference as i, CI_PITCH_EVENT as l, computeDefaultSelectedAgents as m, openUrl as n, runMigrations as o, SETUP_HINT_EVENT as p, isGatePending as r, writePreference as s, reportWorkflowResult as t, HANDOFF_TARGET_PREFERENCE_ID as u };
291
291
 
292
- //# sourceMappingURL=report-workflow-result-Dzo7m2CJ.js.map
293
- //# debugId=26a89ddf-2dff-5896-8f83-6d0587420ef2
292
+ //# sourceMappingURL=report-workflow-result-BcHDNP5c.js.map
293
+ //# debugId=4210464f-b4d7-51b7-8c22-e6a240b841fc