react-doctor 0.9.8 → 0.9.9-dev.e69faca

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 (28) hide show
  1. package/dist/{build-section-divider-D6YhaO90.js → build-section-divider-Dqnkjosd.js} +22 -103
  2. package/dist/{ci-CoQk_MQ1.js → ci-uLJQVsey.js} +11 -11
  3. package/dist/cli.js +33 -30
  4. package/dist/{design-BE99dFpx.js → design-Pe_3Az8X.js} +4 -4
  5. package/dist/{exit-gracefully-D1TCcDw0.js → exit-gracefully-DrpCqAEw.js} +7 -6
  6. package/dist/index.d.ts +9 -1
  7. package/dist/index.js +159 -159
  8. package/dist/{inspect-IJod-62c.js → inspect-DspBK6iV.js} +16 -16
  9. package/dist/{install-dHInOlZL.js → install-Bq82FRWq.js} +8 -8
  10. package/dist/{install-doctor-script-BZFdcUt5.js → install-doctor-script-DE8IUn7u.js} +4 -4
  11. package/dist/{install-github-workflow-DPeWgeyr.js → install-github-workflow-COlI8Ygf.js} +6 -6
  12. package/dist/{install-react-doctor-Uw9TNjgb.js → install-react-doctor-CN-Ysvqg.js} +8 -8
  13. package/dist/lsp.js +2122 -327
  14. package/dist/{print-branded-header-CPsrouR5.js → print-branded-header-CyZuPgPz.js} +4 -4
  15. package/dist/{read-object-file-CAguhcIi.js → read-object-file-NUALLod8.js} +4 -4
  16. package/dist/{record-metric-CpxOk4TS.js → record-metric-BE4W9NsY.js} +1654 -295
  17. package/dist/{report-error-Dv9fVp8g.js → report-error-BcxyEZqQ.js} +18 -12
  18. package/dist/{report-workflow-result-CewNfhNQ.js → report-workflow-result-BIYz6Xh4.js} +5 -5
  19. package/dist/{resolve-scope-DDv5EOL5.js → resolve-scope-O3agwyD8.js} +6 -6
  20. package/dist/{rules-9VwJ8cD1.js → rules-BsGDAd3P.js} +6 -6
  21. package/dist/{run-scan-app-CTdQcsHL.js → run-scan-app-DyCMqHI5.js} +10 -10
  22. package/dist/{scan-oJcyCYJo.js → scan-XCE1aa38.js} +8 -8
  23. package/dist/{should-fail-scan-gate-BzNtUw8N.js → should-fail-scan-gate-ChTwe1SJ.js} +114 -192
  24. package/dist/{should-skip-prompts-BzAkz0il.js → should-skip-prompts-f3iHsUsZ.js} +4 -4
  25. package/dist/{unref-stdin-C9KAUvH3.js → unref-stdin-WJS2VNFJ.js} +112 -5
  26. package/dist/{version-C3ug2bM7.js → version-sAGj465-.js} +4 -4
  27. package/dist/{why-PgYaYMYc.js → why-CukgIunZ.js} +4 -4
  28. package/package.json +6 -6
@@ -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]="00b12c3c-03f5-5eba-9418-fc8589ec1e2b")}catch(e){}}();
3
- import { D as SENTRY_FLUSH_TIMEOUT_MS, H as CANONICAL_DISCORD_URL, Hn as gen, Ht as formatErrorChain, In as error, U as CANONICAL_GITHUB_URL, Ut as formatReactDoctorError, Yn as runSync, cn as isReactDoctorError, en as highlighter, i as buildSentryScope, m as VERSION, nn as isErrnoException, t as recordCount, y as METRIC } from "./record-metric-CpxOk4TS.js";
4
- import { c as isEnvironmentError, i as recordRunTraceId, n as getActiveRunTrace, o as isExpectedUserError, s as formatEnvironmentError } from "./unref-stdin-C9KAUvH3.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]="dd7c3862-1295-54af-8368-23619418dd10")}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-BE4W9NsY.js";
4
+ import { c as isExpectedUserError, i as recordRunTraceId, l as formatEnvironmentError, n as getActiveRunTrace, s as shutdownTelemetry, u as isEnvironmentError } from "./unref-stdin-WJS2VNFJ.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";
@@ -136,16 +136,22 @@ const reportErrorToSentry = async (error) => {
136
136
  const eventId = Sentry.withScope((scope) => {
137
137
  for (const [name, context] of Object.entries(contexts)) scope.setContext(name, context);
138
138
  scope.setTags(tags);
139
- if (runTrace) scope.setPropagationContext({
140
- traceId: runTrace.traceId,
141
- parentSpanId: runTrace.spanId,
142
- sampled: runTrace.sampled,
143
- sampleRand: Math.random()
144
- });
139
+ if (runTrace) {
140
+ scope.setContext("axiom", {
141
+ traceId: runTrace.traceId,
142
+ runId: getRunId()
143
+ });
144
+ scope.setPropagationContext({
145
+ traceId: runTrace.traceId,
146
+ parentSpanId: runTrace.spanId,
147
+ sampled: runTrace.sampled,
148
+ sampleRand: Math.random()
149
+ });
150
+ }
145
151
  recordRunTraceId(scope.getPropagationContext().traceId);
146
152
  return Sentry.captureException(error);
147
153
  });
148
- await Sentry.flush(SENTRY_FLUSH_TIMEOUT_MS);
154
+ await Promise.all([Sentry.flush(SENTRY_FLUSH_TIMEOUT_MS), shutdownTelemetry()]);
149
155
  return eventId;
150
156
  } catch {
151
157
  return;
@@ -154,5 +160,5 @@ const reportErrorToSentry = async (error) => {
154
160
  //#endregion
155
161
  export { handleError as n, handleUserError as r, reportErrorToSentry as t };
156
162
 
157
- //# sourceMappingURL=report-error-Dv9fVp8g.js.map
158
- //# debugId=00b12c3c-03f5-5eba-9418-fc8589ec1e2b
163
+ //# sourceMappingURL=report-error-BcxyEZqQ.js.map
164
+ //# debugId=dd7c3862-1295-54af-8368-23619418dd10
@@ -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]="1596b732-1afb-5c54-b9a9-178dc8dd80a2")}catch(e){}}();
3
- import { S as REACT_DOCTOR_CONFIG_PROJECT_NAME, t as recordCount, y as METRIC } from "./record-metric-CpxOk4TS.js";
4
- import { u as isCommandAvailable } from "./install-github-workflow-DPeWgeyr.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]="ac2cb117-6509-5531-8a59-31cd8634a962")}catch(e){}}();
3
+ import { D as REACT_DOCTOR_CONFIG_PROJECT_NAME, t as recordCount, w as METRIC } from "./record-metric-BE4W9NsY.js";
4
+ import { u as isCommandAvailable } from "./install-github-workflow-COlI8Ygf.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-CewNfhNQ.js.map
279
- //# debugId=1596b732-1afb-5c54-b9a9-178dc8dd80a2
278
+ //# sourceMappingURL=report-workflow-result-BIYz6Xh4.js.map
279
+ //# debugId=ac2cb117-6509-5531-8a59-31cd8634a962
@@ -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]="e0e17497-cf94-514f-9eef-d442e4c25dbb")}catch(e){}}();
3
- import { Bt as filterSourceFiles, an as isPathInsideDirectory, jn as toCanonicalPath } from "./record-metric-CpxOk4TS.js";
4
- import { L as cliLogger } from "./install-doctor-script-BZFdcUt5.js";
5
- import { d as detectDefaultBranch, f as runCommand, l as prompts, u as isCommandAvailable } from "./install-github-workflow-DPeWgeyr.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]="b8b98e67-4541-55d8-8c15-1ab396447753")}catch(e){}}();
3
+ import { Jt as filterSourceFiles, Rn as toCanonicalPath, pn as isPathInsideDirectory } from "./record-metric-BE4W9NsY.js";
4
+ import { L as cliLogger } from "./install-doctor-script-DE8IUn7u.js";
5
+ import { d as detectDefaultBranch, f as runCommand, l as prompts, u as isCommandAvailable } from "./install-github-workflow-COlI8Ygf.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-DDv5EOL5.js.map
339
- //# debugId=e0e17497-cf94-514f-9eef-d442e4c25dbb
338
+ //# sourceMappingURL=resolve-scope-O3agwyD8.js.map
339
+ //# debugId=b8b98e67-4541-55d8-8c15-1ab396447753
@@ -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]="064e92fd-8774-5705-beee-e516fa60b291")}catch(e){}}();
3
- import { At as clearConfigCache, Et as buildRuleDocsUrl, G as COMPILER_CLEANUP_BUCKET, K as COMPILER_CLEANUP_RULE_KEYS, Nn as validateConfigTypes, Yt as getEquivalentRuleKeys, en as highlighter, ln as isSameRuleKey, mn as loadConfigWithSource, on as isPlainObject, t as recordCount, y as METRIC } from "./record-metric-CpxOk4TS.js";
4
- import { L as cliLogger, n as findNearestPackageDirectory } from "./install-doctor-script-BZFdcUt5.js";
5
- import { t as readObjectFile } from "./read-object-file-CAguhcIi.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]="ef69d0b4-ff9d-5a47-947f-21d96a39249e")}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-BE4W9NsY.js";
4
+ import { L as cliLogger, n as findNearestPackageDirectory } from "./install-doctor-script-DE8IUn7u.js";
5
+ import { t as readObjectFile } from "./read-object-file-NUALLod8.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-9VwJ8cD1.js.map
581
- //# debugId=064e92fd-8774-5705-beee-e516fa60b291
580
+ //# sourceMappingURL=rules-BsGDAd3P.js.map
581
+ //# debugId=ef69d0b4-ff9d-5a47-947f-21d96a39249e
@@ -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]="3b085b26-d0ae-53ac-8909-aa41d32df9b6")}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]="42beddb2-5af8-5bea-bc50-21ebec316ef3")}catch(e){}}();
3
3
  import { n as __require, r as __toESM, t as __commonJSMin } from "./chunk-q7NCDQ7-.js";
4
- import { Et as buildRuleDocsUrl, F as isGitHookEnvironment, Gt as getCategoryImpact, Jn as runPromise, Jt as getDiffInfo, Kt as getChangedLineRanges, M as TUI_REPORT_DETAIL_WIDTH_FRACTION, Ot as calculateScore, Pn as yieldToEventLoop, Qn as void_, Tn as resolveScanTarget, Wt as getBaselineDiffPlan, Xn as sync, Y as DIAGNOSTIC_CATEGORY_BUCKETS, Zt as hasPublishedFixRecipe, _ as CI_TRUST_COMPANIES, an as isPathInsideDirectory, bn as remainingDeadlineBudgetMs, en as highlighter, et as GITHUB_ACTIONS_SETUP_URL, gt as Reporter, hn as mapWithConcurrency, j as TUI_REPORT_COMPACT_MAX_ROWS, mt as Progress, n as recordDistribution, nr as succeed, t as recordCount, y as METRIC, z as isCiEnvironment } from "./record-metric-CpxOk4TS.js";
5
- import { n as registerActiveTuiRenderer, t as exitGracefully } from "./exit-gracefully-D1TCcDw0.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-BZFdcUt5.js";
7
- import { i as isReactDoctorWorkflowInstalled } from "./install-github-workflow-DPeWgeyr.js";
8
- import { r as resolveScope, s as resolveBlockingLevel, t as finalizeScope, u as toForwardSlashes } from "./resolve-scope-DDv5EOL5.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-BzNtUw8N.js";
10
- import { a as recordGate, f as ONBOARDING_EVENT, n as openUrl, r as isGatePending } from "./report-workflow-result-CewNfhNQ.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-BE4W9NsY.js";
5
+ import { n as registerActiveTuiRenderer, t as exitGracefully } from "./exit-gracefully-DrpCqAEw.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-DE8IUn7u.js";
7
+ import { i as isReactDoctorWorkflowInstalled } from "./install-github-workflow-COlI8Ygf.js";
8
+ import { r as resolveScope, s as resolveBlockingLevel, t as finalizeScope, u as toForwardSlashes } from "./resolve-scope-O3agwyD8.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-ChTwe1SJ.js";
10
+ import { a as recordGate, f as ONBOARDING_EVENT, n as openUrl, r as isGatePending } from "./report-workflow-result-BIYz6Xh4.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-CTdQcsHL.js.map
28318
- //# debugId=3b085b26-d0ae-53ac-8909-aa41d32df9b6
28317
+ //# sourceMappingURL=run-scan-app-DyCMqHI5.js.map
28318
+ //# debugId=42beddb2-5af8-5bea-bc50-21ebec316ef3
@@ -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]="988e5630-49f0-5f80-b97c-e5900f7975ff")}catch(e){}}();
3
- import { P as isNonInteractiveEnvironment, Tn as resolveScanTarget, t as recordCount, y as METRIC } from "./record-metric-CpxOk4TS.js";
4
- import { i as warnDeprecatedDiff } from "./resolve-scope-DDv5EOL5.js";
5
- import { _ as resolveCliInspectOptions, i as validateModeFlags } from "./should-fail-scan-gate-BzNtUw8N.js";
6
- import { n as warnDeprecatedFailOn, r as runProjectMigrations, t as inspectAction } from "./inspect-IJod-62c.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]="84b3c5b8-aea7-5ec4-95e1-be1fe09c5a5a")}catch(e){}}();
3
+ import { Mn as resolveScanTarget, t as recordCount, w as METRIC, z as isNonInteractiveEnvironment } from "./record-metric-BE4W9NsY.js";
4
+ import { i as warnDeprecatedDiff } from "./resolve-scope-O3agwyD8.js";
5
+ import { _ as resolveCliInspectOptions, i as validateModeFlags } from "./should-fail-scan-gate-ChTwe1SJ.js";
6
+ import { n as warnDeprecatedFailOn, r as runProjectMigrations, t as inspectAction } from "./inspect-DspBK6iV.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-CTdQcsHL.js");
37
+ const { runScanApp } = await import("./run-scan-app-DyCMqHI5.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-oJcyCYJo.js.map
53
- //# debugId=988e5630-49f0-5f80-b97c-e5900f7975ff
52
+ //# sourceMappingURL=scan-XCE1aa38.js.map
53
+ //# debugId=84b3c5b8-aea7-5ec4-95e1-be1fe09c5a5a