react-doctor 0.9.10-dev.3bb84fb → 0.9.11-dev.51e198d

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 (27) hide show
  1. package/dist/{build-section-divider-B8hqp04D.js → build-section-divider-Ddw_uug8.js} +7 -7
  2. package/dist/{ci-Dk3DstBG.js → ci-BMegSONn.js} +11 -11
  3. package/dist/cli.js +22 -22
  4. package/dist/{design-Bq-3HXBZ.js → design-BqM5xXaq.js} +4 -4
  5. package/dist/{exit-gracefully-BDgtmBn-.js → exit-gracefully-BUlwv_l9.js} +6 -6
  6. package/dist/index.js +120 -21
  7. package/dist/{inspect-DME2yAzQ.js → inspect-C62I4cFt.js} +15 -15
  8. package/dist/{install-C_qBGcAr.js → install-YaBPQ5oC.js} +8 -8
  9. package/dist/{install-doctor-script-jDURjqWD.js → install-doctor-script-DifzK4IZ.js} +4 -4
  10. package/dist/{install-github-workflow-CVmKpHzY.js → install-github-workflow-BVbQtP5c.js} +6 -6
  11. package/dist/{install-react-doctor-BVWAJ5wa.js → install-react-doctor-Cs1XhzJD.js} +8 -8
  12. package/dist/lsp.js +25 -18
  13. package/dist/{print-branded-header-BdWqKeOv.js → print-branded-header-DnpzuUUq.js} +4 -4
  14. package/dist/{read-object-file-DDgbCE22.js → read-object-file-7s-GWT1i.js} +4 -4
  15. package/dist/{record-metric-DYu6AVaU.js → record-metric-BH7YPKl_.js} +46 -27
  16. package/dist/{report-error-CN1TnQFY.js → report-error-Cks5Vt1h.js} +5 -5
  17. package/dist/{report-workflow-result-B3mNTNry.js → report-workflow-result-wfb2YgOE.js} +5 -5
  18. package/dist/{resolve-scope-CFcIJ6wu.js → resolve-scope-BSCzz3j5.js} +6 -6
  19. package/dist/{rules-C1Q8Eeih.js → rules-DLYMq5Gc.js} +6 -6
  20. package/dist/{run-scan-app-BtiEbRGX.js → run-scan-app-UKpzUV72.js} +10 -10
  21. package/dist/{scan-Dqlls0Ah.js → scan-BA_uaWDP.js} +8 -8
  22. package/dist/{should-fail-scan-gate-BwQnt3yQ.js → should-fail-scan-gate-DL4gKSfD.js} +10 -10
  23. package/dist/{should-skip-prompts-CQuGlo68.js → should-skip-prompts-DZTNlJ_P.js} +4 -4
  24. package/dist/{unref-stdin-WVB8gYib.js → unref-stdin-hgpAG4XZ.js} +4 -4
  25. package/dist/{version-BE2SrOFP.js → version-CZPNYOny.js} +4 -4
  26. package/dist/{why-8fJcz5q1.js → why-io73cU0Q.js} +4 -4
  27. package/package.json +7 -7
@@ -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]="5ca92727-e5b6-5c60-b8f5-439df9198eba")}catch(e){}}();
3
- import { Gn as log, Kn as warn, O as RUN_GIT_MAX_BUFFER_BYTES, Un as error$1, Wn as info$1, ar as runSync, cn as highlighter, z as isNonInteractiveEnvironment } from "./record-metric-DYu6AVaU.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]="7c0809e6-cdbd-5cda-86b5-09ebb76b8409")}catch(e){}}();
3
+ import { Gn as log, Kn as warn, O as RUN_GIT_MAX_BUFFER_BYTES, Un as error$1, Wn as info$1, ar as runSync, cn as highlighter, z as isNonInteractiveEnvironment } from "./record-metric-BH7YPKl_.js";
4
4
  import { execFileSync } from "node:child_process";
5
5
  import * as path$1 from "node:path";
6
6
  import * as fs$1 from "node:fs";
@@ -3247,5 +3247,5 @@ const installReactDoctorScriptStep = (projectRoot) => {
3247
3247
  //#endregion
3248
3248
  export { packageHasNestedRecordKey as A, SIMPLE_GIT_HOOKS_CONFIG_FILE as C, getPackageJsonPath as D, ensureTrailingNewline as E, runGitRaw as F, writeJsonFile as I, cliLogger as L, readPackageJson as M, resolveGitPath as N, isRecord as O, runGit as P, REACT_DOCTOR_COMMAND as S, VITE_PLUS_HOOKS_PATH as T, LEFTHOOK_CONFIG_FILES as _, installReactDoctorScriptStep as a, OVERCOMMIT_CONFIG_FILE as b, spinner as c, stripAnsi as d, isUnicodeSupported as f, HUSKY_HOOKS_PATH as g, HOOK_RELATIVE_PATH as h, hasDoctorScript as i, packageHasRecordKey as j, packageHasDependency as k, isFullWidth as l, HOOK_FILE_NAME as m, findNearestPackageDirectory as n, isSpinnerSilent as o, chalk as p, hasDoctorDependency as r, setSpinnerSilent as s, DOCTOR_PACKAGE_NAME as t, isWide as u, LEGACY_HOOK_RUNNER_RELATIVE_PATH as v, SIMPLE_GIT_HOOKS_PACKAGE_JSON_KEY as w, PRE_COMMIT_CONFIG_FILE as x, NON_BLOCKING_REACT_DOCTOR_COMMAND as y };
3249
3249
 
3250
- //# sourceMappingURL=install-doctor-script-jDURjqWD.js.map
3251
- //# debugId=5ca92727-e5b6-5c60-b8f5-439df9198eba
3250
+ //# sourceMappingURL=install-doctor-script-DifzK4IZ.js.map
3251
+ //# debugId=7c0809e6-cdbd-5cda-86b5-09ebb76b8409
@@ -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]="115368f9-e043-5d18-93c2-63c442e503f8")}catch(e){}}();
3
- import { C as GH_DEFAULT_BRANCH_PROBE_TIMEOUT_MS } from "./record-metric-DYu6AVaU.js";
4
- import { t as unrefStdin } from "./unref-stdin-WVB8gYib.js";
5
- import { L as cliLogger } from "./install-doctor-script-jDURjqWD.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]="0de41af4-ed02-53db-8f4a-18b9ae301966")}catch(e){}}();
3
+ import { C as GH_DEFAULT_BRANCH_PROBE_TIMEOUT_MS } from "./record-metric-BH7YPKl_.js";
4
+ import { t as unrefStdin } from "./unref-stdin-hgpAG4XZ.js";
5
+ import { L as cliLogger } from "./install-doctor-script-DifzK4IZ.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-CVmKpHzY.js.map
267
- //# debugId=115368f9-e043-5d18-93c2-63c442e503f8
266
+ //# sourceMappingURL=install-github-workflow-BVbQtP5c.js.map
267
+ //# debugId=0de41af4-ed02-53db-8f4a-18b9ae301966
@@ -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]="967e6584-0af6-52cc-bb33-ab2b3f15b287")}catch(e){}}();
3
- import { R as CliInputError, S as CI_TRUST_COMPANIES, cn as highlighter, ot as GITHUB_ACTIONS_SETUP_URL, t as recordCount, un as isErrnoException, w as METRIC, wt as SKILL_NAME } from "./record-metric-DYu6AVaU.js";
4
- import { A as packageHasNestedRecordKey, D as getPackageJsonPath, E as ensureTrailingNewline, I as writeJsonFile, L as cliLogger, M as readPackageJson, N as resolveGitPath, O as isRecord, P as runGit, S as REACT_DOCTOR_COMMAND, T as VITE_PLUS_HOOKS_PATH, _ as LEFTHOOK_CONFIG_FILES, a as installReactDoctorScriptStep, b as OVERCOMMIT_CONFIG_FILE, c as spinner, g as HUSKY_HOOKS_PATH, h as HOOK_RELATIVE_PATH, j as packageHasRecordKey, k as packageHasDependency, m as HOOK_FILE_NAME, n as findNearestPackageDirectory, r as hasDoctorDependency, t as DOCTOR_PACKAGE_NAME, v as LEGACY_HOOK_RUNNER_RELATIVE_PATH, x as PRE_COMMIT_CONFIG_FILE, y as NON_BLOCKING_REACT_DOCTOR_COMMAND } from "./install-doctor-script-jDURjqWD.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-CVmKpHzY.js";
6
- import { t as shouldSkipPrompts } from "./should-skip-prompts-CQuGlo68.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-B3mNTNry.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]="291598a8-4e46-59b5-8447-a11a2b0bafc6")}catch(e){}}();
3
+ import { R as CliInputError, S as CI_TRUST_COMPANIES, cn as highlighter, ot as GITHUB_ACTIONS_SETUP_URL, t as recordCount, un as isErrnoException, w as METRIC, wt as SKILL_NAME } from "./record-metric-BH7YPKl_.js";
4
+ import { A as packageHasNestedRecordKey, D as getPackageJsonPath, E as ensureTrailingNewline, I as writeJsonFile, L as cliLogger, M as readPackageJson, N as resolveGitPath, O as isRecord, P as runGit, S as REACT_DOCTOR_COMMAND, T as VITE_PLUS_HOOKS_PATH, _ as LEFTHOOK_CONFIG_FILES, a as installReactDoctorScriptStep, b as OVERCOMMIT_CONFIG_FILE, c as spinner, g as HUSKY_HOOKS_PATH, h as HOOK_RELATIVE_PATH, j as packageHasRecordKey, k as packageHasDependency, m as HOOK_FILE_NAME, n as findNearestPackageDirectory, r as hasDoctorDependency, t as DOCTOR_PACKAGE_NAME, v as LEGACY_HOOK_RUNNER_RELATIVE_PATH, x as PRE_COMMIT_CONFIG_FILE, y as NON_BLOCKING_REACT_DOCTOR_COMMAND } from "./install-doctor-script-DifzK4IZ.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-BVbQtP5c.js";
6
+ import { t as shouldSkipPrompts } from "./should-skip-prompts-DZTNlJ_P.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-wfb2YgOE.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";
@@ -1150,5 +1150,5 @@ const runInstallReactDoctor = async (options = {}) => {
1150
1150
  //#endregion
1151
1151
  export { askUpgradeActionVersion as a, recordCiPromptDecision as c, installReactDoctorAgentHooks as i, hasHandledActionUpgrade as l, runInstallReactDoctor as n, askAddToGitHubActions as o, findAgentsWithLegacyShellHooks as r, hasHandledCiPrompt as s, getSkillSourceDirectory as t, recordActionUpgradeDecision as u };
1152
1152
 
1153
- //# sourceMappingURL=install-react-doctor-BVWAJ5wa.js.map
1154
- //# debugId=967e6584-0af6-52cc-bb33-ab2b3f15b287
1153
+ //# sourceMappingURL=install-react-doctor-Cs1XhzJD.js.map
1154
+ //# debugId=291598a8-4e46-59b5-8447-a11a2b0bafc6
package/dist/lsp.js CHANGED
@@ -65113,7 +65113,7 @@ const SOCKET_FREE_USER_AGENT = "react-doctor-supply-chain";
65113
65113
  const FILE_LINT_CACHE_FILENAME = "file-lint-cache.json";
65114
65114
  const FILE_LINT_CACHE_MAX_FILE_COUNT = 5e4;
65115
65115
  const SIDECAR_LINT_CACHE_FILENAME = "sidecar-lint-cache.json";
65116
- const CORE_PACKAGE_VERSION = "0.9.10";
65116
+ const CORE_PACKAGE_VERSION = "0.9.11";
65117
65117
  const DEAD_CODE_CACHE_FILENAME = "dead-code-cache.json";
65118
65118
  const DEAD_CODE_SUMMARY_CACHE_FILENAME = "dead-code-summaries.json";
65119
65119
  const SUPPLY_CHAIN_PLUGIN = "socket";
@@ -65458,7 +65458,8 @@ const listSourceFilesViaFilesystemCooperative = async (rootDirectory, signal) =>
65458
65458
  const listSourceFilePaths = (rootDirectory) => (listSourceFilesViaGit(rootDirectory) ?? listSourceFilesViaFilesystem(rootDirectory)).sort();
65459
65459
  const listSourceFilePathsCooperative = async (rootDirectory, signal) => (await listSourceFilesViaGitCooperative(rootDirectory, signal) ?? await listSourceFilesViaFilesystemCooperative(rootDirectory, signal)).sort();
65460
65460
  const listSourceFilesWithSize = (rootDirectory) => collectSizedSourceFiles(rootDirectory, listSourceFilePaths(rootDirectory));
65461
- const listSourceFilesCooperative = async (rootDirectory, signal) => (await collectSizedSourceFilesCooperative(rootDirectory, await listSourceFilePathsCooperative(rootDirectory, signal), signal)).map((entry) => entry.path);
65461
+ const listSourceFilesWithSizeCooperative = async (rootDirectory, signal) => collectSizedSourceFilesCooperative(rootDirectory, await listSourceFilePathsCooperative(rootDirectory, signal), signal);
65462
+ const listSourceFilesCooperative = async (rootDirectory, signal) => (await listSourceFilesWithSizeCooperative(rootDirectory, signal)).map((entry) => entry.path);
65462
65463
  const listSourceFiles = (rootDirectory) => listSourceFilesWithSize(rootDirectory).map((entry) => entry.path);
65463
65464
  const countSourceFiles = (rootDirectory) => listSourceFilesWithSize(rootDirectory).length;
65464
65465
  const NEXT_CONFIG_FILENAMES = [
@@ -76709,7 +76710,7 @@ const runOxlint = async (options) => {
76709
76710
  const pluginPath = resolvePluginPath();
76710
76711
  const extendsPaths = (adoptExistingLintConfig && !customRulesOnly ? detectUserLintConfigPaths(rootDirectory) : []).filter(canOxlintExtendConfig);
76711
76712
  const userPlugins = includedTags.size > 0 ? [] : resolveUserPlugins(userConfig?.plugins, configSourceDirectory);
76712
- const restoreDisableDirectives = respectInlineDisables ? () => {} : await neutralizeDisableDirectives(rootDirectory, includePaths);
76713
+ const restoreDisableDirectives = respectInlineDisables ? () => {} : await neutralizeDisableDirectives(rootDirectory, includePaths ?? options.precomputedSourceFiles?.map((sourceFile) => sourceFile.path));
76713
76714
  const configDirectory = NFS.mkdtempSync(Path.join(os.tmpdir(), "react-doctor-oxlintrc-"));
76714
76715
  const configPath = Path.join(configDirectory, "oxlintrc.json");
76715
76716
  try {
@@ -76742,8 +76743,8 @@ const runOxlint = async (options) => {
76742
76743
  ...sharedArgs
76743
76744
  ];
76744
76745
  await yieldToEventLoop();
76745
- const sizedScanFiles = includePaths === void 0 ? listSourceFilesWithSize(rootDirectory) : null;
76746
- const candidateFiles = includePaths !== void 0 ? includePaths : (sizedScanFiles ?? []).map((entry) => entry.path);
76746
+ const sizedScanFiles = options.precomputedSourceFiles ?? (includePaths === void 0 ? listSourceFilesWithSize(rootDirectory) : null);
76747
+ const candidateFiles = sizedScanFiles === null ? includePaths ?? [] : sizedScanFiles.map((entry) => entry.path);
76747
76748
  const projectIndexModuleSources = includePaths === void 0 && options.deadlineEpochMs === void 0 ? await collectProjectIndexModuleSources(rootDirectory, candidateFiles) : void 0;
76748
76749
  unpluginAutoImportGlobalScopes = collectUnpluginAutoImportGlobalScopes({
76749
76750
  rootDirectory,
@@ -77123,6 +77124,7 @@ var Linter = class Linter extends Service()("react-doctor/Linter") {
77123
77124
  rootDirectory: input.rootDirectory,
77124
77125
  project: input.project,
77125
77126
  includePaths: input.includePaths ? [...input.includePaths] : void 0,
77127
+ precomputedSourceFiles: input.precomputedSourceFiles,
77126
77128
  nodeBinaryPath: input.nodeBinaryPath,
77127
77129
  customRulesOnly: input.customRulesOnly,
77128
77130
  respectInlineDisables: input.respectInlineDisables,
@@ -77920,22 +77922,23 @@ const runInspect = (input, hooks = {}) => gen(function* () {
77920
77922
  const relativeFilePath = toNormalizedRelativePath(diagnostic.filePath, scanDirectory);
77921
77923
  return excludedProjectRelativePaths.some((excludedRelativePath) => relativeFilePath === excludedRelativePath || relativeFilePath.startsWith(`${excludedRelativePath}/`));
77922
77924
  };
77923
- const precomputedSourceFiles = input.suppressScanSummary === true || excludedProjectDirectories.length > 0 ? yield* filesService.listSourceFilesCooperative({
77925
+ const shouldListSourceFiles = input.precomputedSourceFiles === void 0 && (input.suppressScanSummary === true || excludedProjectDirectories.length > 0);
77926
+ const precomputedSourceFilePaths = input.precomputedSourceFiles?.map((sourceFile) => sourceFile.path) ?? (shouldListSourceFiles ? yield* filesService.listSourceFilesCooperative({
77924
77927
  rootDirectory: scanDirectory,
77925
77928
  signal: input.signal
77926
- }) : null;
77927
- const includedPrecomputedSourceFiles = precomputedSourceFiles !== null && excludedProjectDirectories.length > 0 ? filterPathsOutsideDirectories({
77929
+ }) : null);
77930
+ const includedPrecomputedSourceFilePaths = precomputedSourceFilePaths !== null && excludedProjectDirectories.length > 0 ? filterPathsOutsideDirectories({
77928
77931
  rootDirectory: scanDirectory,
77929
- relativePaths: precomputedSourceFiles,
77932
+ relativePaths: precomputedSourceFilePaths,
77930
77933
  excludedDirectories: excludedProjectDirectories
77931
- }) : precomputedSourceFiles;
77932
- const sourceFileCount = excludedProjectDirectories.length > 0 ? includedPrecomputedSourceFiles?.length : input.precomputedSourceFileCount ?? includedPrecomputedSourceFiles?.length;
77934
+ }) : precomputedSourceFilePaths;
77935
+ const sourceFileCount = excludedProjectDirectories.length > 0 ? includedPrecomputedSourceFilePaths?.length : input.precomputedSourceFiles?.length ?? input.precomputedSourceFileCount ?? includedPrecomputedSourceFilePaths?.length;
77933
77936
  const project = yield* projectService.discover({
77934
77937
  directory: scanDirectory,
77935
77938
  sourceFileCount
77936
77939
  });
77937
77940
  if (!isAnalyzableProject(project)) return yield* new ReactDoctorError({ reason: new NoReactDependency({ directory: scanDirectory }) });
77938
- const deadCodeSourceFileCount = input.retainExcludedProjectDeadCodeDiagnostics === true && precomputedSourceFiles !== null ? precomputedSourceFiles.length : project.sourceFileCount;
77941
+ const deadCodeSourceFileCount = input.retainExcludedProjectDeadCodeDiagnostics === true && precomputedSourceFilePaths !== null ? precomputedSourceFilePaths.length : project.sourceFileCount;
77939
77942
  const [repo, sha, defaultBranch] = yield* all([
77940
77943
  gitService.githubRepo(scanDirectory).pipe(orElseSucceed(() => null)),
77941
77944
  gitService.headSha(scanDirectory).pipe(orElseSucceed(() => null)),
@@ -77946,13 +77949,16 @@ const runInspect = (input, hooks = {}) => gen(function* () {
77946
77949
  directory: scanDirectory,
77947
77950
  repo
77948
77951
  }).pipe(orElseSucceed(() => null)) : succeed$2(null));
77949
- let lintIncludePaths = (input.skipExplicitIncludePathFilter ? input.includePaths.length > 0 ? [...input.includePaths] : void 0 : computeExplicitLintIncludePaths([...input.includePaths])) ?? resolveLintIncludePaths(scanDirectory, resolvedConfig.config, includedPrecomputedSourceFiles ?? void 0);
77952
+ let lintIncludePaths = (input.skipExplicitIncludePathFilter ? input.includePaths.length > 0 ? [...input.includePaths] : void 0 : computeExplicitLintIncludePaths([...input.includePaths])) ?? resolveLintIncludePaths(scanDirectory, resolvedConfig.config, includedPrecomputedSourceFilePaths ?? void 0);
77950
77953
  if (excludedProjectDirectories.length > 0) lintIncludePaths = filterPathsOutsideDirectories({
77951
77954
  rootDirectory: scanDirectory,
77952
- relativePaths: lintIncludePaths ?? includedPrecomputedSourceFiles ?? (yield* filesService.listSourceFiles(scanDirectory)),
77955
+ relativePaths: lintIncludePaths ?? includedPrecomputedSourceFilePaths ?? (yield* filesService.listSourceFiles(scanDirectory)),
77953
77956
  excludedDirectories: excludedProjectDirectories
77954
77957
  });
77955
- const fallbackScannedFilePaths = input.suppressScanSummary ? (lintIncludePaths ?? includedPrecomputedSourceFiles ?? (yield* filesService.listSourceFiles(scanDirectory))).map((relativePath) => Path.resolve(scanDirectory, relativePath)) : [];
77958
+ const suppliedSourceFiles = input.precomputedSourceFiles;
77959
+ const includedPrecomputedSourceFilePathSet = suppliedSourceFiles === void 0 || input.includePaths.length > 0 ? null : new Set(lintIncludePaths ?? includedPrecomputedSourceFilePaths ?? []);
77960
+ const precomputedLintSourceFiles = includedPrecomputedSourceFilePathSet === null || suppliedSourceFiles === void 0 ? void 0 : suppliedSourceFiles.filter((sourceFile) => includedPrecomputedSourceFilePathSet.has(sourceFile.path));
77961
+ const fallbackScannedFilePaths = input.suppressScanSummary ? (lintIncludePaths ?? includedPrecomputedSourceFilePaths ?? (yield* filesService.listSourceFiles(scanDirectory))).map((relativePath) => Path.resolve(scanDirectory, relativePath)) : [];
77956
77962
  const beforeLint = hooks.beforeLint ?? NO_HOOKS.beforeLint;
77957
77963
  const afterLint = hooks.afterLint ?? NO_HOOKS.afterLint;
77958
77964
  yield* beforeLint(project);
@@ -78085,6 +78091,7 @@ const runInspect = (input, hooks = {}) => gen(function* () {
78085
78091
  rootDirectory: scanDirectory,
78086
78092
  project,
78087
78093
  includePaths: lintIncludePaths ?? void 0,
78094
+ precomputedSourceFiles: precomputedLintSourceFiles,
78088
78095
  nodeBinaryPath: input.nodeBinaryPath,
78089
78096
  customRulesOnly: input.customRulesOnly,
78090
78097
  respectInlineDisables: input.respectInlineDisables,
@@ -78577,7 +78584,7 @@ const computeConfigFingerprint = (projectDirectory, version) => {
78577
78584
  /** Display name used in client-facing messages and progress titles. */
78578
78585
  const SERVER_DISPLAY_NAME = "React Doctor";
78579
78586
  /** Server version reported in `serverInfo`; injected at build, `dev` from source. */
78580
- const SERVER_VERSION = "0.9.10";
78587
+ const SERVER_VERSION = "0.9.11";
78581
78588
  /** `Diagnostic.source` shown next to every published diagnostic. */
78582
78589
  const DIAGNOSTIC_SOURCE = "react-doctor";
78583
78590
  /**
@@ -81110,5 +81117,5 @@ const startLanguageServer = () => {
81110
81117
  };
81111
81118
  //#endregion
81112
81119
  export { startLanguageServer };
81113
- !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]="ff73316d-2f43-5645-89f2-a0eb447f3e2e")}catch(e){}}();
81114
- //# debugId=ff73316d-2f43-5645-89f2-a0eb447f3e2e
81120
+ !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]="7b3aafa4-6c24-5aac-b8cc-e05945f289e5")}catch(e){}}();
81121
+ //# debugId=7b3aafa4-6c24-5aac-b8cc-e05945f289e5
@@ -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]="5dc23554-1c2f-5955-ab3d-93ad196340b2")}catch(e){}}();
3
- import { Gn as log, Xn as gen, cn as highlighter, g as VERSION } from "./record-metric-DYu6AVaU.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]="744b9896-fd1e-5bca-b5d4-6aa6f35809a1")}catch(e){}}();
3
+ import { Gn as log, Xn as gen, cn as highlighter, g as VERSION } from "./record-metric-BH7YPKl_.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-BdWqKeOv.js.map
22
- //# debugId=5dc23554-1c2f-5955-ab3d-93ad196340b2
21
+ //# sourceMappingURL=print-branded-header-DnpzuUUq.js.map
22
+ //# debugId=744b9896-fd1e-5bca-b5d4-6aa6f35809a1
@@ -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]="b0100752-c9b6-5348-bd1a-35df8c06556b")}catch(e){}}();
3
- import { mn as isPlainObject } from "./record-metric-DYu6AVaU.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]="1f804493-1ef5-5e9a-a2d5-1978250cba5c")}catch(e){}}();
3
+ import { mn as isPlainObject } from "./record-metric-BH7YPKl_.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-DDgbCE22.js.map
24
- //# debugId=b0100752-c9b6-5348-bd1a-35df8c06556b
23
+ //# sourceMappingURL=read-object-file-7s-GWT1i.js.map
24
+ //# debugId=1f804493-1ef5-5e9a-a2d5-1978250cba5c
@@ -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]="8d2b6671-093e-504e-bd5c-0d2290e48ae8")}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]="746d9562-d10d-5e4b-8503-d096f5309bb7")}catch(e){}}();
3
3
  import { n as __require, r as __toESM$1, t as __commonJSMin$1 } from "./chunk-q7NCDQ7-.js";
4
4
  import { createRequire } from "node:module";
5
5
  import * as NodeChildProcess from "node:child_process";
@@ -65198,7 +65198,7 @@ const SOCKET_FREE_USER_AGENT = "react-doctor-supply-chain";
65198
65198
  const FILE_LINT_CACHE_FILENAME = "file-lint-cache.json";
65199
65199
  const FILE_LINT_CACHE_MAX_FILE_COUNT = 5e4;
65200
65200
  const SIDECAR_LINT_CACHE_FILENAME = "sidecar-lint-cache.json";
65201
- const CORE_PACKAGE_VERSION = "0.9.10";
65201
+ const CORE_PACKAGE_VERSION = "0.9.11";
65202
65202
  const DEAD_CODE_CACHE_FILENAME = "dead-code-cache.json";
65203
65203
  const DEAD_CODE_SUMMARY_CACHE_FILENAME = "dead-code-summaries.json";
65204
65204
  const SUPPLY_CHAIN_PLUGIN = "socket";
@@ -65540,7 +65540,8 @@ const listSourceFilesViaFilesystemCooperative = async (rootDirectory, signal) =>
65540
65540
  const listSourceFilePaths = (rootDirectory) => (listSourceFilesViaGit(rootDirectory) ?? listSourceFilesViaFilesystem(rootDirectory)).sort();
65541
65541
  const listSourceFilePathsCooperative = async (rootDirectory, signal) => (await listSourceFilesViaGitCooperative(rootDirectory, signal) ?? await listSourceFilesViaFilesystemCooperative(rootDirectory, signal)).sort();
65542
65542
  const listSourceFilesWithSize = (rootDirectory) => collectSizedSourceFiles(rootDirectory, listSourceFilePaths(rootDirectory));
65543
- const listSourceFilesCooperative = async (rootDirectory, signal) => (await collectSizedSourceFilesCooperative(rootDirectory, await listSourceFilePathsCooperative(rootDirectory, signal), signal)).map((entry) => entry.path);
65543
+ const listSourceFilesWithSizeCooperative = async (rootDirectory, signal) => collectSizedSourceFilesCooperative(rootDirectory, await listSourceFilePathsCooperative(rootDirectory, signal), signal);
65544
+ const listSourceFilesCooperative = async (rootDirectory, signal) => (await listSourceFilesWithSizeCooperative(rootDirectory, signal)).map((entry) => entry.path);
65544
65545
  const listSourceFiles = (rootDirectory) => listSourceFilesWithSize(rootDirectory).map((entry) => entry.path);
65545
65546
  const countSourceFiles = (rootDirectory) => listSourceFilesWithSize(rootDirectory).length;
65546
65547
  const NEXT_CONFIG_FILENAMES = [
@@ -76902,7 +76903,7 @@ const runOxlint = async (options) => {
76902
76903
  const pluginPath = resolvePluginPath();
76903
76904
  const extendsPaths = (adoptExistingLintConfig && !customRulesOnly ? detectUserLintConfigPaths(rootDirectory) : []).filter(canOxlintExtendConfig);
76904
76905
  const userPlugins = includedTags.size > 0 ? [] : resolveUserPlugins(userConfig?.plugins, configSourceDirectory);
76905
- const restoreDisableDirectives = respectInlineDisables ? () => {} : await neutralizeDisableDirectives(rootDirectory, includePaths);
76906
+ const restoreDisableDirectives = respectInlineDisables ? () => {} : await neutralizeDisableDirectives(rootDirectory, includePaths ?? options.precomputedSourceFiles?.map((sourceFile) => sourceFile.path));
76906
76907
  const configDirectory = NFS.mkdtempSync(Path.join(os.tmpdir(), "react-doctor-oxlintrc-"));
76907
76908
  const configPath = Path.join(configDirectory, "oxlintrc.json");
76908
76909
  try {
@@ -76935,8 +76936,8 @@ const runOxlint = async (options) => {
76935
76936
  ...sharedArgs
76936
76937
  ];
76937
76938
  await yieldToEventLoop();
76938
- const sizedScanFiles = includePaths === void 0 ? listSourceFilesWithSize(rootDirectory) : null;
76939
- const candidateFiles = includePaths !== void 0 ? includePaths : (sizedScanFiles ?? []).map((entry) => entry.path);
76939
+ const sizedScanFiles = options.precomputedSourceFiles ?? (includePaths === void 0 ? listSourceFilesWithSize(rootDirectory) : null);
76940
+ const candidateFiles = sizedScanFiles === null ? includePaths ?? [] : sizedScanFiles.map((entry) => entry.path);
76940
76941
  const projectIndexModuleSources = includePaths === void 0 && options.deadlineEpochMs === void 0 ? await collectProjectIndexModuleSources(rootDirectory, candidateFiles) : void 0;
76941
76942
  unpluginAutoImportGlobalScopes = collectUnpluginAutoImportGlobalScopes({
76942
76943
  rootDirectory,
@@ -77316,6 +77317,7 @@ var Linter = class Linter extends Service()("react-doctor/Linter") {
77316
77317
  rootDirectory: input.rootDirectory,
77317
77318
  project: input.project,
77318
77319
  includePaths: input.includePaths ? [...input.includePaths] : void 0,
77320
+ precomputedSourceFiles: input.precomputedSourceFiles,
77319
77321
  nodeBinaryPath: input.nodeBinaryPath,
77320
77322
  customRulesOnly: input.customRulesOnly,
77321
77323
  respectInlineDisables: input.respectInlineDisables,
@@ -78113,22 +78115,23 @@ const runInspect = (input, hooks = {}) => gen(function* () {
78113
78115
  const relativeFilePath = toNormalizedRelativePath(diagnostic.filePath, scanDirectory);
78114
78116
  return excludedProjectRelativePaths.some((excludedRelativePath) => relativeFilePath === excludedRelativePath || relativeFilePath.startsWith(`${excludedRelativePath}/`));
78115
78117
  };
78116
- const precomputedSourceFiles = input.suppressScanSummary === true || excludedProjectDirectories.length > 0 ? yield* filesService.listSourceFilesCooperative({
78118
+ const shouldListSourceFiles = input.precomputedSourceFiles === void 0 && (input.suppressScanSummary === true || excludedProjectDirectories.length > 0);
78119
+ const precomputedSourceFilePaths = input.precomputedSourceFiles?.map((sourceFile) => sourceFile.path) ?? (shouldListSourceFiles ? yield* filesService.listSourceFilesCooperative({
78117
78120
  rootDirectory: scanDirectory,
78118
78121
  signal: input.signal
78119
- }) : null;
78120
- const includedPrecomputedSourceFiles = precomputedSourceFiles !== null && excludedProjectDirectories.length > 0 ? filterPathsOutsideDirectories({
78122
+ }) : null);
78123
+ const includedPrecomputedSourceFilePaths = precomputedSourceFilePaths !== null && excludedProjectDirectories.length > 0 ? filterPathsOutsideDirectories({
78121
78124
  rootDirectory: scanDirectory,
78122
- relativePaths: precomputedSourceFiles,
78125
+ relativePaths: precomputedSourceFilePaths,
78123
78126
  excludedDirectories: excludedProjectDirectories
78124
- }) : precomputedSourceFiles;
78125
- const sourceFileCount = excludedProjectDirectories.length > 0 ? includedPrecomputedSourceFiles?.length : input.precomputedSourceFileCount ?? includedPrecomputedSourceFiles?.length;
78127
+ }) : precomputedSourceFilePaths;
78128
+ const sourceFileCount = excludedProjectDirectories.length > 0 ? includedPrecomputedSourceFilePaths?.length : input.precomputedSourceFiles?.length ?? input.precomputedSourceFileCount ?? includedPrecomputedSourceFilePaths?.length;
78126
78129
  const project = yield* projectService.discover({
78127
78130
  directory: scanDirectory,
78128
78131
  sourceFileCount
78129
78132
  });
78130
78133
  if (!isAnalyzableProject(project)) return yield* new ReactDoctorError({ reason: new NoReactDependency({ directory: scanDirectory }) });
78131
- const deadCodeSourceFileCount = input.retainExcludedProjectDeadCodeDiagnostics === true && precomputedSourceFiles !== null ? precomputedSourceFiles.length : project.sourceFileCount;
78134
+ const deadCodeSourceFileCount = input.retainExcludedProjectDeadCodeDiagnostics === true && precomputedSourceFilePaths !== null ? precomputedSourceFilePaths.length : project.sourceFileCount;
78132
78135
  const [repo, sha, defaultBranch] = yield* all([
78133
78136
  gitService.githubRepo(scanDirectory).pipe(orElseSucceed(() => null)),
78134
78137
  gitService.headSha(scanDirectory).pipe(orElseSucceed(() => null)),
@@ -78139,13 +78142,16 @@ const runInspect = (input, hooks = {}) => gen(function* () {
78139
78142
  directory: scanDirectory,
78140
78143
  repo
78141
78144
  }).pipe(orElseSucceed(() => null)) : succeed$2(null));
78142
- let lintIncludePaths = (input.skipExplicitIncludePathFilter ? input.includePaths.length > 0 ? [...input.includePaths] : void 0 : computeExplicitLintIncludePaths([...input.includePaths])) ?? resolveLintIncludePaths(scanDirectory, resolvedConfig.config, includedPrecomputedSourceFiles ?? void 0);
78145
+ let lintIncludePaths = (input.skipExplicitIncludePathFilter ? input.includePaths.length > 0 ? [...input.includePaths] : void 0 : computeExplicitLintIncludePaths([...input.includePaths])) ?? resolveLintIncludePaths(scanDirectory, resolvedConfig.config, includedPrecomputedSourceFilePaths ?? void 0);
78143
78146
  if (excludedProjectDirectories.length > 0) lintIncludePaths = filterPathsOutsideDirectories({
78144
78147
  rootDirectory: scanDirectory,
78145
- relativePaths: lintIncludePaths ?? includedPrecomputedSourceFiles ?? (yield* filesService.listSourceFiles(scanDirectory)),
78148
+ relativePaths: lintIncludePaths ?? includedPrecomputedSourceFilePaths ?? (yield* filesService.listSourceFiles(scanDirectory)),
78146
78149
  excludedDirectories: excludedProjectDirectories
78147
78150
  });
78148
- const fallbackScannedFilePaths = input.suppressScanSummary ? (lintIncludePaths ?? includedPrecomputedSourceFiles ?? (yield* filesService.listSourceFiles(scanDirectory))).map((relativePath) => Path.resolve(scanDirectory, relativePath)) : [];
78151
+ const suppliedSourceFiles = input.precomputedSourceFiles;
78152
+ const includedPrecomputedSourceFilePathSet = suppliedSourceFiles === void 0 || input.includePaths.length > 0 ? null : new Set(lintIncludePaths ?? includedPrecomputedSourceFilePaths ?? []);
78153
+ const precomputedLintSourceFiles = includedPrecomputedSourceFilePathSet === null || suppliedSourceFiles === void 0 ? void 0 : suppliedSourceFiles.filter((sourceFile) => includedPrecomputedSourceFilePathSet.has(sourceFile.path));
78154
+ const fallbackScannedFilePaths = input.suppressScanSummary ? (lintIncludePaths ?? includedPrecomputedSourceFilePaths ?? (yield* filesService.listSourceFiles(scanDirectory))).map((relativePath) => Path.resolve(scanDirectory, relativePath)) : [];
78149
78155
  const beforeLint = hooks.beforeLint ?? NO_HOOKS.beforeLint;
78150
78156
  const afterLint = hooks.afterLint ?? NO_HOOKS.afterLint;
78151
78157
  yield* beforeLint(project);
@@ -78278,6 +78284,7 @@ const runInspect = (input, hooks = {}) => gen(function* () {
78278
78284
  rootDirectory: scanDirectory,
78279
78285
  project,
78280
78286
  includePaths: lintIncludePaths ?? void 0,
78287
+ precomputedSourceFiles: precomputedLintSourceFiles,
78281
78288
  nodeBinaryPath: input.nodeBinaryPath,
78282
78289
  customRulesOnly: input.customRulesOnly,
78283
78290
  respectInlineDisables: input.respectInlineDisables,
@@ -79006,31 +79013,43 @@ const getChangedLineRanges = (input) => runPromise(gen(function* () {
79006
79013
  * instead of being improvised per diagnostic.
79007
79014
  */
79008
79015
  const buildRuleDocsUrl = (plugin, rule) => `${DOCS_RULES_BASE_URL}/${plugin}/${rule}`;
79009
- const collectSourceFileCountsByDirectory = async (rootDirectory, projectDirectories, signal) => {
79016
+ const collectSourceFilesByDirectory = async (rootDirectory, projectDirectories, signal) => {
79010
79017
  const resolvedRootDirectory = Path.resolve(rootDirectory);
79011
- const sourceFileCounts = /* @__PURE__ */ new Map();
79018
+ const sourceFilesByDirectory = /* @__PURE__ */ new Map();
79012
79019
  const projectDirectoryByRelativePath = /* @__PURE__ */ new Map();
79013
79020
  for (const projectDirectory of projectDirectories) {
79014
79021
  const resolvedProjectDirectory = Path.resolve(projectDirectory);
79015
79022
  const relativeDirectory = Path.relative(resolvedRootDirectory, resolvedProjectDirectory);
79016
- if (Path.isAbsolute(relativeDirectory) || relativeDirectory.startsWith("..")) continue;
79017
- sourceFileCounts.set(resolvedProjectDirectory, 0);
79023
+ if (Path.isAbsolute(relativeDirectory) || relativeDirectory === ".." || relativeDirectory.startsWith(`..${Path.sep}`)) continue;
79024
+ sourceFilesByDirectory.set(resolvedProjectDirectory, []);
79018
79025
  projectDirectoryByRelativePath.set(relativeDirectory.replaceAll(Path.sep, "/"), resolvedProjectDirectory);
79019
79026
  }
79020
- const sourceFilePaths = await listSourceFilesCooperative(resolvedRootDirectory, signal);
79021
- for (const sourceFilePath of sourceFilePaths) {
79022
- let relativeDirectory = Path.posix.dirname(sourceFilePath);
79027
+ const sourceFiles = await listSourceFilesWithSizeCooperative(resolvedRootDirectory, signal);
79028
+ for (const sourceFile of sourceFiles) {
79029
+ let relativeDirectory = Path.posix.dirname(sourceFile.path);
79023
79030
  while (true) {
79024
79031
  const normalizedRelativeDirectory = relativeDirectory === "." ? "" : relativeDirectory;
79025
79032
  const projectDirectory = projectDirectoryByRelativePath.get(normalizedRelativeDirectory);
79026
79033
  if (projectDirectory !== void 0) {
79027
- sourceFileCounts.set(projectDirectory, (sourceFileCounts.get(projectDirectory) ?? 0) + 1);
79034
+ const projectRelativePath = Path.posix.relative(normalizedRelativeDirectory, sourceFile.path);
79035
+ const projectSourceFiles = sourceFilesByDirectory.get(projectDirectory);
79036
+ if (projectSourceFiles === void 0) break;
79037
+ projectSourceFiles.push({
79038
+ path: projectRelativePath,
79039
+ sizeBytes: sourceFile.sizeBytes
79040
+ });
79028
79041
  break;
79029
79042
  }
79030
79043
  if (relativeDirectory === ".") break;
79031
79044
  relativeDirectory = Path.posix.dirname(relativeDirectory);
79032
79045
  }
79033
79046
  }
79047
+ return sourceFilesByDirectory;
79048
+ };
79049
+ const collectSourceFileCountsByDirectory = async (rootDirectory, projectDirectories, signal) => {
79050
+ const sourceFilesByDirectory = await collectSourceFilesByDirectory(rootDirectory, projectDirectories, signal);
79051
+ const sourceFileCounts = /* @__PURE__ */ new Map();
79052
+ for (const [projectDirectory, sourceFiles] of sourceFilesByDirectory) sourceFileCounts.set(projectDirectory, sourceFiles.length);
79034
79053
  return sourceFileCounts;
79035
79054
  };
79036
79055
  const computeConfigFingerprint = (projectDirectory, version) => {
@@ -79503,7 +79522,7 @@ const makeNoopConsole = () => ({
79503
79522
  });
79504
79523
  //#endregion
79505
79524
  //#region src/cli/utils/version.ts
79506
- const VERSION = "0.9.10-dev.3bb84fb";
79525
+ const VERSION = "0.9.11-dev.51e198d";
79507
79526
  //#endregion
79508
79527
  //#region src/cli/utils/json-mode.ts
79509
79528
  let context = null;
@@ -79830,5 +79849,5 @@ const recordDistribution = (name, value, options = {}) => {
79830
79849
  //#endregion
79831
79850
  export { CONFIG_SCHEMA_URL as $, orElseSucceed as $n, getCategoryImpact as $t, SCAN_RESULT_CACHE_MAX_HASHED_FILE_SIZE_BYTES as A, resolveReactDoctorCacheDir as An, anonymizeInPlace as At, isGitHookEnvironment as B, validateConfigTypes as Bn, computeConfigFingerprint as Bt, GH_DEFAULT_BRANCH_PROBE_TIMEOUT_MS as C, mapWithConcurrency as Cn, SHARE_BASE_URL as Ct, REACT_DOCTOR_CONFIG_PROJECT_NAME as D, remainingDeadlineBudgetMs as Dn, SidecarLintCacheEnabled as Dt, NANOSECONDS_PER_MILLISECOND as E, messageFromUnknown as En, Score as Et, STAGED_SNAPSHOT_ADDITIONAL_CONFIG_FILENAMES as F, scrubSensitivePaths as Fn, buildSkippedChecks as Ft, isCiOrCodingAgentEnvironment as G, log as Gn, discoverReactSubprojects as Gt, ACTION_INPUT_ENVIRONMENT_VARIABLES as H, Console as Hn, createNodeReadFileLinesSync as Ht, TUI_REPORT_COMPACT_MAX_ROWS as I, setColorEnabled as In, calculateScore as It, CANONICAL_DISCORD_URL as J, decodeUnknownSync as Jn, filterSourceFiles as Jt, isCodingAgentEnvironment as K, warn$1 as Kn, filterDiagnosticsForSurface as Kt, TUI_REPORT_DETAIL_WIDTH_FRACTION as L, summarizeDiagnostics as Ln, canonicalizeUserRuleKey as Lt, SENTRY_FLUSH_TIMEOUT_MS as M, resolveScanTarget as Mn, atomicWriteJson as Mt, SENTRY_RELEASE_PREFIX as N, restoreLegacyThrow as Nn, buildJsonReport as Nt, RUN_GIT_MAX_BUFFER_BYTES as O, resolveGithubActionsScoreMetadata as On, StagedFiles as Ot, STAGED_FILES_TEMP_DIR_PREFIX as P, runInspect as Pn, buildRuleDocsUrl as Pt, COMPILER_CLEANUP_RULE_KEYS as Q, map$3 as Qn, getBaselineDiffPlan as Qt, CliInputError as R, toCanonicalPath as Rn, clearConfigCache as Rt, CI_TRUST_COMPANIES as S, loadConfigWithSource as Sn, Reporter as St, MINIMUM_VTE_VERSION_FOR_HYPERLINKS as T, mergeReactDoctorConfigs as Tn, STAGED_FILES_PROJECT_CONFIG_FILENAMES as Tt, detectRunnerOs as U, error as Un, createOxlintSpawnSlots as Ut, isDebugFlagEnabled as V, yieldToEventLoop as Vn, computeDiagnosticDelta as Vt, isCiEnvironment as W, info as Wn, detectAiTrainingEnvironment as Wt, CI_URL as X, gen as Xn, formatErrorChain as Xt, CANONICAL_GITHUB_URL as Y, make$30 as Yn, findLegacyConfig as Yt, COMPILER_CLEANUP_BUCKET as Z, makeSpan$1 as Zn, formatReactDoctorError as Zt, makeNoopConsole as _, isSameRuleKey as _n, ParentSpan as _r, OxlintConcurrency as _t, isEnvFlagEnabled as a, hasPublishedFixRecipe as an, runSync as ar, Files as at, AXIOM_TRACES_DATASET as b, listSourceFiles as bn, Progress as bt, setSentryProjectInfo as c, highlighter as cn, void_ as cr, Git as ct, isJsonModeActive as d, isFile as dn, provide$2 as dr, LEGACY_CONFIG_FILENAME as dt, getChangedLineRanges as en, promise as er, Config as et, setJsonReportDirectory as f, isMonorepoRoot as fn, succeed$3 as fr, LintPartialFailures as ft, VERSION as g, isReactDoctorError as gn, void_$1 as gr, OXLINT_NODE_REQUIREMENT as gt, writeJsonReport as h, isProjectDiscoveryError as hn, fail$5 as hr, NodeResolver as ht, isTelemetryEnabled as i, groupBy as in, runPromise as ir, ENTERPRISE_CONTACT_URL as it, SENTRY_DSN as j, resolveScanConcurrency as jn, anonymizeText as jt, SCAN_RESULT_CACHE_FILENAME as k, resolveLintBatchOrdering as kn, SupplyChain as kt, getRunId as l, isDirectory as ln, buildWithScope as lr, HTML_FILE_PATTERN as lt, writeJsonErrorReport as m, isPlainObject as mn, makeUnsafe$5 as mr, MILLISECONDS_PER_SECOND as mt, recordDistribution as n, getDiffInfo as nn, provideContext as nr, DOCS_URL as nt, buildSentryScope as o, hasReactRuntime as on, sync as or, GITHUB_ACTIONS_SETUP_URL as ot, setJsonReportMode as p, isPathInsideDirectory as pn, close as pr, Linter as pt, AXIOM_DEFAULT_DOMAIN as q, Diagnostic as qn, filterPathsOutsideDirectories as qt, toSpanAttributes as r, getEquivalentRuleKeys as rn, provideService$2 as rr, DeadCode as rt, buildSentryProjectContext as s, hashFileContents as sn, try_ as sr, GIT_SHOW_MAX_BUFFER_BYTES as st, recordCount as t, getDiagnosticRuleIdentity as tn, provide as tr, DIAGNOSTIC_CATEGORY_BUCKETS as tt, enableJsonMode as u, isErrnoException as un, mergeAll$1 as ur, JSX_FILE_PATTERN as ut, AXIOM_INGEST_TOKEN as v, isScanComplete as vn, OxlintSpawnSlots as vt, METRIC as w, materializeSourceTree as wn, SKILL_NAME as wt, BASELINE_FILES_TEMP_DIR_PREFIX as x, listWorkspacePackages as xn, Project as xt, AXIOM_METRICS_DATASET as y, layerObservability as yn, PerFileLintCacheEnabled as yt, isNonInteractiveEnvironment as z, toRelativePath as zn, collectSourceFileCountsByDirectory as zt };
79832
79851
 
79833
- //# sourceMappingURL=record-metric-DYu6AVaU.js.map
79834
- //# debugId=8d2b6671-093e-504e-bd5c-0d2290e48ae8
79852
+ //# sourceMappingURL=record-metric-BH7YPKl_.js.map
79853
+ //# debugId=746d9562-d10d-5e4b-8503-d096f5309bb7
@@ -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]="d5b68f70-d587-5314-a734-9537ffe32fa8")}catch(e){}}();
3
- import { J as CANONICAL_DISCORD_URL, M as SENTRY_FLUSH_TIMEOUT_MS, Un as error, Xn as gen, Xt as formatErrorChain, Y as CANONICAL_GITHUB_URL, Zt as formatReactDoctorError, ar as runSync, cn as highlighter, g as VERSION, gn as isReactDoctorError, l as getRunId, o as buildSentryScope, t as recordCount, un as isErrnoException, w as METRIC } from "./record-metric-DYu6AVaU.js";
4
- import { c as isExpectedUserError, i as recordRunTraceId, l as formatEnvironmentError, n as getActiveRunTrace, s as shutdownTelemetry, u as isEnvironmentError } from "./unref-stdin-WVB8gYib.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]="707a8eb1-c323-570c-b25e-03f1056441ca")}catch(e){}}();
3
+ import { J as CANONICAL_DISCORD_URL, M as SENTRY_FLUSH_TIMEOUT_MS, Un as error, Xn as gen, Xt as formatErrorChain, Y as CANONICAL_GITHUB_URL, Zt as formatReactDoctorError, ar as runSync, cn as highlighter, g as VERSION, gn as isReactDoctorError, l as getRunId, o as buildSentryScope, t as recordCount, un as isErrnoException, w as METRIC } from "./record-metric-BH7YPKl_.js";
4
+ import { c as isExpectedUserError, i as recordRunTraceId, l as formatEnvironmentError, n as getActiveRunTrace, s as shutdownTelemetry, u as isEnvironmentError } from "./unref-stdin-hgpAG4XZ.js";
5
5
  import * as Sentry from "@sentry/node";
6
6
  //#region src/cli/utils/handle-error.ts
7
7
  const OTLP_ENDPOINT_ENVIRONMENT_VARIABLE = "REACT_DOCTOR_OTLP_ENDPOINT";
@@ -160,5 +160,5 @@ const reportErrorToSentry = async (error) => {
160
160
  //#endregion
161
161
  export { handleError as n, handleUserError as r, reportErrorToSentry as t };
162
162
 
163
- //# sourceMappingURL=report-error-CN1TnQFY.js.map
164
- //# debugId=d5b68f70-d587-5314-a734-9537ffe32fa8
163
+ //# sourceMappingURL=report-error-Cks5Vt1h.js.map
164
+ //# debugId=707a8eb1-c323-570c-b25e-03f1056441ca
@@ -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]="36f878f9-7242-5b60-8d48-d236454958cd")}catch(e){}}();
3
- import { D as REACT_DOCTOR_CONFIG_PROJECT_NAME, t as recordCount, w as METRIC } from "./record-metric-DYu6AVaU.js";
4
- import { u as isCommandAvailable } from "./install-github-workflow-CVmKpHzY.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]="355ee129-f630-536b-9f18-b408ca46b048")}catch(e){}}();
3
+ import { D as REACT_DOCTOR_CONFIG_PROJECT_NAME, t as recordCount, w as METRIC } from "./record-metric-BH7YPKl_.js";
4
+ import { u as isCommandAvailable } from "./install-github-workflow-BVbQtP5c.js";
5
5
  import { spawn } from "node:child_process";
6
6
  import * as path$1 from "node:path";
7
7
  import process$1 from "node:process";
@@ -275,5 +275,5 @@ const reportWorkflowResult = (workflowSpinner, result, projectRoot) => {
275
275
  //#endregion
276
276
  export { recordGate as a, ACTION_UPGRADE_EVENT as c, INSTALL_AGENTS_PREFERENCE_ID as d, ONBOARDING_EVENT as f, 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 };
277
277
 
278
- //# sourceMappingURL=report-workflow-result-B3mNTNry.js.map
279
- //# debugId=36f878f9-7242-5b60-8d48-d236454958cd
278
+ //# sourceMappingURL=report-workflow-result-wfb2YgOE.js.map
279
+ //# debugId=355ee129-f630-536b-9f18-b408ca46b048
@@ -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]="befd8201-a282-5971-ab1c-ab7dfc83b7a5")}catch(e){}}();
3
- import { Jt as filterSourceFiles, Rn as toCanonicalPath, pn as isPathInsideDirectory } from "./record-metric-DYu6AVaU.js";
4
- import { L as cliLogger } from "./install-doctor-script-jDURjqWD.js";
5
- import { d as detectDefaultBranch, f as runCommand, l as prompts, u as isCommandAvailable } from "./install-github-workflow-CVmKpHzY.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]="4b2d6058-7bac-5d7f-8e4b-861b5db86745")}catch(e){}}();
3
+ import { Jt as filterSourceFiles, Rn as toCanonicalPath, pn as isPathInsideDirectory } from "./record-metric-BH7YPKl_.js";
4
+ import { L as cliLogger } from "./install-doctor-script-DifzK4IZ.js";
5
+ import { d as detectDefaultBranch, f as runCommand, l as prompts, u as isCommandAvailable } from "./install-github-workflow-BVbQtP5c.js";
6
6
  import * as path$1 from "node:path";
7
7
  //#region src/cli/utils/path-format.ts
8
8
  const toForwardSlashes = (filePath) => filePath.replaceAll("\\", "/");
@@ -335,5 +335,5 @@ const finalizeScope = async ({ requested, diffInfo, skipPrompts, isQuiet }) => {
335
335
  //#endregion
336
336
  export { isValidBlockingLevel as a, openWorkflowPullRequest as c, warnDeprecatedDiff as i, stageWorkflowFile as l, isScopeValue as n, pickBlockingLevel as o, resolveScope as r, resolveBlockingLevel as s, finalizeScope as t, toForwardSlashes as u };
337
337
 
338
- //# sourceMappingURL=resolve-scope-CFcIJ6wu.js.map
339
- //# debugId=befd8201-a282-5971-ab1c-ab7dfc83b7a5
338
+ //# sourceMappingURL=resolve-scope-BSCzz3j5.js.map
339
+ //# debugId=4b2d6058-7bac-5d7f-8e4b-861b5db86745
@@ -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]="bebd1840-c610-537b-ab5b-50b43a9d4d7d")}catch(e){}}();
3
- import { Bn as validateConfigTypes, Pt as buildRuleDocsUrl, Q as COMPILER_CLEANUP_RULE_KEYS, Rt as clearConfigCache, Sn as loadConfigWithSource, Z as COMPILER_CLEANUP_BUCKET, _n as isSameRuleKey, cn as highlighter, mn as isPlainObject, rn as getEquivalentRuleKeys, t as recordCount, w as METRIC } from "./record-metric-DYu6AVaU.js";
4
- import { L as cliLogger, n as findNearestPackageDirectory } from "./install-doctor-script-jDURjqWD.js";
5
- import { t as readObjectFile } from "./read-object-file-DDgbCE22.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]="b0dbd11e-3be8-5570-983a-d69fd6e4b0c2")}catch(e){}}();
3
+ import { Bn as validateConfigTypes, Pt as buildRuleDocsUrl, Q as COMPILER_CLEANUP_RULE_KEYS, Rt as clearConfigCache, Sn as loadConfigWithSource, Z as COMPILER_CLEANUP_BUCKET, _n as isSameRuleKey, cn as highlighter, mn as isPlainObject, rn as getEquivalentRuleKeys, t as recordCount, w as METRIC } from "./record-metric-BH7YPKl_.js";
4
+ import { L as cliLogger, n as findNearestPackageDirectory } from "./install-doctor-script-DifzK4IZ.js";
5
+ import { t as readObjectFile } from "./read-object-file-7s-GWT1i.js";
6
6
  import * as path$1 from "node:path";
7
7
  import * as fs$1 from "node:fs";
8
8
  import { REACT_DOCTOR_RULES } from "oxlint-plugin-react-doctor/core";
@@ -577,5 +577,5 @@ const rulesUnignoreTagAction = async (tag, options) => {
577
577
  //#endregion
578
578
  export { rulesCategoryAction, rulesDisableAction, rulesEnableAction, rulesExplainAction, rulesIgnoreTagAction, rulesListAction, rulesSetAction, rulesUnignoreTagAction };
579
579
 
580
- //# sourceMappingURL=rules-C1Q8Eeih.js.map
581
- //# debugId=bebd1840-c610-537b-ab5b-50b43a9d4d7d
580
+ //# sourceMappingURL=rules-DLYMq5Gc.js.map
581
+ //# debugId=b0dbd11e-3be8-5570-983a-d69fd6e4b0c2
@@ -1,13 +1,13 @@
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]="ce869f66-9e50-5ba3-9f17-e29838c7ad30")}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]="15e3667b-59ce-52ef-8c02-38ea83f01254")}catch(e){}}();
3
3
  import { n as __require, r as __toESM, t as __commonJSMin } from "./chunk-q7NCDQ7-.js";
4
- import { $t as getCategoryImpact, B as isGitHookEnvironment, Cn as mapWithConcurrency, Dn as remainingDeadlineBudgetMs, I as TUI_REPORT_COMPACT_MAX_ROWS, It as calculateScore, L as TUI_REPORT_DETAIL_WIDTH_FRACTION, Mn as resolveScanTarget, Pt as buildRuleDocsUrl, Qt as getBaselineDiffPlan, S as CI_TRUST_COMPANIES, St as Reporter, Vn as yieldToEventLoop, W as isCiEnvironment, an as hasPublishedFixRecipe, bt as Progress, cn as highlighter, cr as void_, en as getChangedLineRanges, fr as succeed, ir as runPromise, n as recordDistribution, nn as getDiffInfo, or as sync, ot as GITHUB_ACTIONS_SETUP_URL, pn as isPathInsideDirectory, t as recordCount, tt as DIAGNOSTIC_CATEGORY_BUCKETS, w as METRIC } from "./record-metric-DYu6AVaU.js";
5
- import { n as registerActiveTuiRenderer, t as exitGracefully } from "./exit-gracefully-BDgtmBn-.js";
6
- import { L as cliLogger, d as stripAnsi, f as isUnicodeSupported, l as isFullWidth$1, n as findNearestPackageDirectory, p as chalk, u as isWide$1 } from "./install-doctor-script-jDURjqWD.js";
7
- import { i as isReactDoctorWorkflowInstalled } from "./install-github-workflow-CVmKpHzY.js";
8
- import { r as resolveScope, s as resolveBlockingLevel, t as finalizeScope, u as toForwardSlashes } from "./resolve-scope-CFcIJ6wu.js";
9
- import { A as resolveMergeBaseRef, B as buildEmptyReportMessage, C as copyToClipboard, D as deduplicateProjectScans, E as collectProjectSourceFileCounts, F as printDiagnosticsDump, G as formatLearnMoreLine, H as buildRulePriorityMap, I as formatDiagnosticSite, L as hasIncompleteScoreAnalysis, M as pluralize, N as formatElapsedTime, O as createInvocationInspect, P as printFooter, R as filterDiagnosticsByCategories, S as CLI_AGENT_BINARIES, T as buildHandoffPayload, U as buildSortedRuleGroups, V as hasLintHardFailure, W as formatFixRecipeLine, _ as resolveCliInspectOptions, a as projectManifestChanged, b as setUpGitHubActions, c as selectProjects, d as resolveProjectChangedLineRanges, f as resolveProjectDiffIncludePaths, g as resolveWorkspaceDeadCodeOwner, h as retryMissingProjectScores, l as buildCodeFrame, n as formatSkippedProjectsMessage, o as partitionProjectScanOutcomes, p as resolveProjectSourceFilePaths, r as validateIncludeUntrackedScope, s as discoverWorkspacePackages, t as shouldFailScanGate, u as resolveProjectScan, v as filterScansForSurface, w as launchCliAgent, x as detectLaunchableAgents, y as countUniqueScannedFiles, z as buildNoScoreMessage } from "./should-fail-scan-gate-BwQnt3yQ.js";
10
- import { a as recordGate, f as ONBOARDING_EVENT, n as openUrl, r as isGatePending } from "./report-workflow-result-B3mNTNry.js";
4
+ import { $t as getCategoryImpact, B as isGitHookEnvironment, Cn as mapWithConcurrency, Dn as remainingDeadlineBudgetMs, I as TUI_REPORT_COMPACT_MAX_ROWS, It as calculateScore, L as TUI_REPORT_DETAIL_WIDTH_FRACTION, Mn as resolveScanTarget, Pt as buildRuleDocsUrl, Qt as getBaselineDiffPlan, S as CI_TRUST_COMPANIES, St as Reporter, Vn as yieldToEventLoop, W as isCiEnvironment, an as hasPublishedFixRecipe, bt as Progress, cn as highlighter, cr as void_, en as getChangedLineRanges, fr as succeed, ir as runPromise, n as recordDistribution, nn as getDiffInfo, or as sync, ot as GITHUB_ACTIONS_SETUP_URL, pn as isPathInsideDirectory, t as recordCount, tt as DIAGNOSTIC_CATEGORY_BUCKETS, w as METRIC } from "./record-metric-BH7YPKl_.js";
5
+ import { n as registerActiveTuiRenderer, t as exitGracefully } from "./exit-gracefully-BUlwv_l9.js";
6
+ import { L as cliLogger, d as stripAnsi, f as isUnicodeSupported, l as isFullWidth$1, n as findNearestPackageDirectory, p as chalk, u as isWide$1 } from "./install-doctor-script-DifzK4IZ.js";
7
+ import { i as isReactDoctorWorkflowInstalled } from "./install-github-workflow-BVbQtP5c.js";
8
+ import { r as resolveScope, s as resolveBlockingLevel, t as finalizeScope, u as toForwardSlashes } from "./resolve-scope-BSCzz3j5.js";
9
+ import { A as resolveMergeBaseRef, B as buildEmptyReportMessage, C as copyToClipboard, D as deduplicateProjectScans, E as collectProjectSourceFileCounts, F as printDiagnosticsDump, G as formatLearnMoreLine, H as buildRulePriorityMap, I as formatDiagnosticSite, L as hasIncompleteScoreAnalysis, M as pluralize, N as formatElapsedTime, O as createInvocationInspect, P as printFooter, R as filterDiagnosticsByCategories, S as CLI_AGENT_BINARIES, T as buildHandoffPayload, U as buildSortedRuleGroups, V as hasLintHardFailure, W as formatFixRecipeLine, _ as resolveCliInspectOptions, a as projectManifestChanged, b as setUpGitHubActions, c as selectProjects, d as resolveProjectChangedLineRanges, f as resolveProjectDiffIncludePaths, g as resolveWorkspaceDeadCodeOwner, h as retryMissingProjectScores, l as buildCodeFrame, n as formatSkippedProjectsMessage, o as partitionProjectScanOutcomes, p as resolveProjectSourceFilePaths, r as validateIncludeUntrackedScope, s as discoverWorkspacePackages, t as shouldFailScanGate, u as resolveProjectScan, v as filterScansForSurface, w as launchCliAgent, x as detectLaunchableAgents, y as countUniqueScannedFiles, z as buildNoScoreMessage } from "./should-fail-scan-gate-DL4gKSfD.js";
10
+ import { a as recordGate, f as ONBOARDING_EVENT, n as openUrl, r as isGatePending } from "./report-workflow-result-wfb2YgOE.js";
11
11
  import { EventEmitter } from "node:events";
12
12
  import { execFileSync } from "node:child_process";
13
13
  import path from "node:path";
@@ -28314,5 +28314,5 @@ const runScanApp = async (input) => {
28314
28314
  //#endregion
28315
28315
  export { runScanApp };
28316
28316
 
28317
- //# sourceMappingURL=run-scan-app-BtiEbRGX.js.map
28318
- //# debugId=ce869f66-9e50-5ba3-9f17-e29838c7ad30
28317
+ //# sourceMappingURL=run-scan-app-UKpzUV72.js.map
28318
+ //# debugId=15e3667b-59ce-52ef-8c02-38ea83f01254
@@ -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]="50fb1a3e-d520-564c-b3db-cfa97aba0ba2")}catch(e){}}();
3
- import { Mn as resolveScanTarget, t as recordCount, w as METRIC, z as isNonInteractiveEnvironment } from "./record-metric-DYu6AVaU.js";
4
- import { i as warnDeprecatedDiff } from "./resolve-scope-CFcIJ6wu.js";
5
- import { _ as resolveCliInspectOptions, i as validateModeFlags } from "./should-fail-scan-gate-BwQnt3yQ.js";
6
- import { n as warnDeprecatedFailOn, r as runProjectMigrations, t as inspectAction } from "./inspect-DME2yAzQ.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]="1a868e57-0e78-5f33-a1aa-81e1c2c16618")}catch(e){}}();
3
+ import { Mn as resolveScanTarget, t as recordCount, w as METRIC, z as isNonInteractiveEnvironment } from "./record-metric-BH7YPKl_.js";
4
+ import { i as warnDeprecatedDiff } from "./resolve-scope-BSCzz3j5.js";
5
+ import { _ as resolveCliInspectOptions, i as validateModeFlags } from "./should-fail-scan-gate-DL4gKSfD.js";
6
+ import { n as warnDeprecatedFailOn, r as runProjectMigrations, t as inspectAction } from "./inspect-C62I4cFt.js";
7
7
  import path from "node:path";
8
8
  //#region src/cli/utils/should-use-tui.ts
9
9
  const shouldUseTui = (input) => {
@@ -34,7 +34,7 @@ const runScanCommand = async (input) => {
34
34
  warnDeprecatedFailOn(input.flags, scanTarget.userConfig);
35
35
  warnDeprecatedDiff(input.flags, scanTarget.userConfig);
36
36
  recordCount(METRIC.cliInvoked, 1, { command: input.invocationCommand });
37
- const { runScanApp } = await import("./run-scan-app-BtiEbRGX.js");
37
+ const { runScanApp } = await import("./run-scan-app-UKpzUV72.js");
38
38
  const { shouldFail } = await runScanApp({
39
39
  directory: input.directory,
40
40
  scanTarget,
@@ -49,5 +49,5 @@ const runScanCommand = async (input) => {
49
49
  //#endregion
50
50
  export { runScanCommand };
51
51
 
52
- //# sourceMappingURL=scan-Dqlls0Ah.js.map
53
- //# debugId=50fb1a3e-d520-564c-b3db-cfa97aba0ba2
52
+ //# sourceMappingURL=scan-BA_uaWDP.js.map
53
+ //# debugId=1a868e57-0e78-5f33-a1aa-81e1c2c16618