react-doctor 0.9.17-dev.6932e7d → 0.9.17-dev.695e46e

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/README.md +16 -68
  2. package/dist/{build-section-divider-CCkdYDGY.js → build-section-divider-BlNg8CJ3.js} +4 -4
  3. package/dist/{ci-CLau9lJp.js → ci-dPYHQlYK.js} +18 -12
  4. package/dist/cli.js +27 -27
  5. package/dist/{design-tLYKOrgj.js → design-CEbK8378.js} +4 -4
  6. package/dist/duplicate-jsx-worker.js +3 -3
  7. package/dist/{exit-gracefully-CJYxagiG.js → exit-gracefully-C8JRlcU-.js} +6 -6
  8. package/dist/{handle-error-CXKa5V_C.js → handle-error-qi-5p5I2.js} +5 -5
  9. package/dist/index.d.ts +12 -5
  10. package/dist/index.js +32 -25
  11. package/dist/{inspect-kY0lepPl.js → inspect-BJE38z7r.js} +24 -19
  12. package/dist/{install-CcgxmHS7.js → install-R-4Yhbnt.js} +9 -9
  13. package/dist/{install-doctor-script-BYia3c6r.js → install-doctor-script-CzA3N60N.js} +4 -4
  14. package/dist/{install-github-workflow-DT9g71vu.js → install-github-workflow-DqIx2JgD.js} +5 -5
  15. package/dist/{install-react-doctor-gIlaQo52.js → install-react-doctor-BzFeAPsN.js} +8 -8
  16. package/dist/{jsx-runtime-Dz1BgjFv.js → jsx-runtime-BkWtbZXO.js} +5 -5
  17. package/dist/{print-branded-header-DcuhNpZD.js → print-branded-header-CO4r1oDZ.js} +4 -4
  18. package/dist/{prompt-runtime-scan-url-CU7G3L34.js → prompt-runtime-scan-url-sBG2_LDZ.js} +5 -5
  19. package/dist/{read-object-file-vLexPMRt.js → read-object-file-Bl7a4v-9.js} +4 -4
  20. package/dist/{record-metric-BzJGgUyE.js → record-metric-DcSvz1k4.js} +129 -53
  21. package/dist/{report-error-yT3d2npg.js → report-error-BmvMTKij.js} +5 -5
  22. package/dist/{report-workflow-result-Ch1KGhmX.js → report-workflow-result-K7NFRSY6.js} +5 -5
  23. package/dist/{resolve-scan-exit-code-7pqpigjA.js → resolve-scan-exit-code-KDrMkTrJ.js} +24 -32
  24. package/dist/{resolve-scope-C9r6_i2P.js → resolve-scope-DIgYBn32.js} +10 -9
  25. package/dist/{rules-53y-4mhG.js → rules-H0yqeV5v.js} +6 -6
  26. package/dist/{run-scan-app-xQcO9Chd.js → run-scan-app-ChPI8NEg.js} +16 -14
  27. package/dist/{runtime-scan-Dna29iOk.js → runtime-scan-XUqvrTH4.js} +9 -9
  28. package/dist/{sanitize-runtime-url-BAn4mEFw.js → sanitize-runtime-url-D_7VZU0F.js} +4 -4
  29. package/dist/{scan-Dcsq2-gA.js → scan-BTohT6wy.js} +9 -9
  30. package/dist/{should-skip-prompts-gmTKMHB5.js → should-skip-prompts-BX-idWyW.js} +4 -4
  31. package/dist/{should-use-tui-C8mCTPBf.js → should-use-tui-CnsREuvI.js} +4 -4
  32. package/dist/skills/react-doctor/SKILL.md +9 -8
  33. package/dist/skills/react-doctor/references/explain.md +5 -0
  34. package/dist/{telemetry-runtime-DUAbnIzM.js → telemetry-runtime-BufSIW3d.js} +6 -6
  35. package/dist/{version-Bk87XkeX.js → version-BVBbh_L8.js} +4 -4
  36. package/dist/{why-Cv45HYJ4.js → why-BJoyzEcf.js} +4 -4
  37. package/dist/{with-run-span-CmzJ3vFq.js → with-run-span-xUMrAJ_a.js} +5 -5
  38. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="9370a797-f2f1-5080-b905-34abae37c822")}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]="37548b47-5f50-5e20-9bae-7c0357f5e915")}catch(e){}}();
3
3
  import { i as __toESM, r as __require, t as __commonJSMin } from "./chunk-ChKA3wi6.js";
4
4
  import { createRequire } from "node:module";
5
5
  import * as fs$1$2 from "node:fs";
@@ -3159,14 +3159,14 @@ const collectUnpluginAutoImportGlobalScopes = ({ rootDirectory, candidateFiles }
3159
3159
  return scopes.some((scope) => scope.names.length > 0) ? scopes : [];
3160
3160
  };
3161
3161
  //#endregion
3162
- //#region ../core/dist/detect-duplicate-jsx-subtrees-Df5xaEva.js
3162
+ //#region ../core/dist/detect-duplicate-jsx-subtrees-BWvh1lk5.js
3163
3163
  const yieldToEventLoop = () => new Promise((resolve) => {
3164
3164
  setImmediate(resolve);
3165
3165
  });
3166
3166
  const getTypescriptScriptKind = (fileName) => {
3167
3167
  if (fileName.endsWith(".tsx")) return typescriptBinding.ScriptKind.TSX;
3168
3168
  if (fileName.endsWith(".jsx")) return typescriptBinding.ScriptKind.JSX;
3169
- if (fileName.endsWith(".ts")) return typescriptBinding.ScriptKind.TS;
3169
+ if (/\.[cm]?ts$/.test(fileName)) return typescriptBinding.ScriptKind.TS;
3170
3170
  return typescriptBinding.ScriptKind.JS;
3171
3171
  };
3172
3172
  const resolveBoundedSourceReadBytes = (maximumLengthChars, sizeBytes) => Math.min(sizeBytes, maximumLengthChars * 3 + 1);
@@ -73108,39 +73108,46 @@ var Files = class Files extends Service()("react-doctor/Files") {
73108
73108
  };
73109
73109
  };
73110
73110
  const HUNK_HEADER_PATTERN = /^@@ -\d+(?:,\d+)? \+(\d+)(?:,(\d+))? @@/;
73111
- /**
73112
- * Parses a `git diff --unified=0` patch into the inclusive 1-based line ranges
73113
- * each file added or modified on the new side. Files are keyed by the path in
73114
- * the `+++ b/<path>` header (with `--relative`, relative to the diff's cwd).
73115
- * Added/renamed/modified files appear; pure deletions (`+++ /dev/null`) are
73116
- * skipped because they have no new-side line to report on.
73117
- */
73118
- const parseChangedLineRanges = (patch) => {
73119
- const rangesByFile = /* @__PURE__ */ new Map();
73120
- let currentRanges = null;
73111
+ const parseChangedLineRanges = (patch, includeDeletions = false) => {
73112
+ const changesByFile = /* @__PURE__ */ new Map();
73113
+ let currentChanges = null;
73121
73114
  for (const line of patch.split("\n")) {
73115
+ if (includeDeletions && line.startsWith("rename to ")) {
73116
+ const file = line.slice(10);
73117
+ changesByFile.set(file, {
73118
+ file,
73119
+ ranges: [],
73120
+ deletionLines: []
73121
+ });
73122
+ }
73122
73123
  if (line.startsWith("+++ ")) {
73123
73124
  const target = line.slice(4).trim();
73124
73125
  if (target === "/dev/null") {
73125
- currentRanges = null;
73126
+ currentChanges = null;
73126
73127
  continue;
73127
73128
  }
73128
73129
  const file = target.startsWith("b/") ? target.slice(2) : target;
73129
- currentRanges = rangesByFile.get(file) ?? [];
73130
- rangesByFile.set(file, currentRanges);
73130
+ currentChanges = changesByFile.get(file) ?? {
73131
+ file,
73132
+ ranges: [],
73133
+ deletionLines: []
73134
+ };
73135
+ changesByFile.set(file, currentChanges);
73131
73136
  continue;
73132
73137
  }
73133
- if (currentRanges === null) continue;
73138
+ if (currentChanges === null) continue;
73134
73139
  const hunk = HUNK_HEADER_PATTERN.exec(line);
73135
73140
  if (hunk === null) continue;
73136
73141
  const start = Number(hunk[1]);
73137
73142
  const lineCount = hunk[2] === void 0 ? 1 : Number(hunk[2]);
73138
- if (lineCount <= 0) continue;
73139
- currentRanges.push([start, start + lineCount - 1]);
73143
+ if (lineCount === 0) {
73144
+ if (includeDeletions) currentChanges.deletionLines.push(start);
73145
+ } else currentChanges.ranges.push([start, start + lineCount - 1]);
73140
73146
  }
73141
- return [...rangesByFile].filter(([, ranges]) => ranges.length > 0).map(([file, ranges]) => ({
73147
+ return [...changesByFile.values()].filter((entry) => entry.ranges.length > 0 || includeDeletions).map(({ file, ranges, deletionLines }) => ({
73142
73148
  file,
73143
- ranges
73149
+ ranges,
73150
+ ...deletionLines.length > 0 ? { deletionLines } : {}
73144
73151
  }));
73145
73152
  };
73146
73153
  const trimOrNull = (value) => {
@@ -73625,7 +73632,7 @@ var Git = class Git extends Service()("react-doctor/Git") {
73625
73632
  stdout: result.stdout
73626
73633
  };
73627
73634
  }).pipe(withSpan("Git.grep")),
73628
- changedLineRanges: ({ directory, baseRef, cached, files, includeUntracked = false }) => gen(function* () {
73635
+ changedLineRanges: ({ directory, baseRef, cached, files, includeUntracked = false, includeDeletions = false }) => gen(function* () {
73629
73636
  if (files.length === 0) return [];
73630
73637
  if (baseRef !== void 0 && !isSafeGitRevision(baseRef)) return null;
73631
73638
  const result = yield* runGit(directory, [
@@ -73640,7 +73647,7 @@ var Git = class Git extends Service()("react-doctor/Git") {
73640
73647
  ...files
73641
73648
  ]);
73642
73649
  if (result.status !== 0) return null;
73643
- const changedLineRanges = parseChangedLineRanges(result.stdout);
73650
+ const changedLineRanges = parseChangedLineRanges(result.stdout, includeDeletions);
73644
73651
  if (cached || !includeUntracked) return changedLineRanges;
73645
73652
  const untrackedFilePaths = yield* listUntrackedFilePaths(directory, files);
73646
73653
  if (untrackedFilePaths === null) return changedLineRanges;
@@ -74264,10 +74271,10 @@ const createOxlintConfig = ({ pluginPath, project, customRulesOnly = false, exte
74264
74271
  if (ruleSelection === "sidecar" && sidecarRuleIdFilter !== void 0 && !sidecarRuleIdFilter.has(registryEntry.id)) continue;
74265
74272
  if (rule.isScanRule || rule.isProjectRule === true) continue;
74266
74273
  if (registryEntry.id === "no-multi-component-file" && shouldUseExplicitNoMultiCompPolicy) continue;
74267
- if (customRulesOnly && registryEntry.originallyExternal) continue;
74268
74274
  if (rule.framework !== "global" && !rule.requires) continue;
74269
74275
  if (!shouldEnableRule(rule.requires, rule.tags, capabilities, ignoredTags, rule.disabledWhen, includedTags)) continue;
74270
74276
  const explicitRuleOverride = resolveRuleSeverityOverride({ ruleKey: registryEntry.key }, severityControls);
74277
+ if (customRulesOnly && registryEntry.originallyExternal && (explicitRuleOverride === void 0 || explicitRuleOverride === "off")) continue;
74271
74278
  if (!shouldEnableRuleByDefaultStatus({
74272
74279
  defaultEnabled: rule.defaultEnabled,
74273
74280
  includeTagDefaults,
@@ -79315,4 +79322,4 @@ const toJsonReport = (result, options) => buildJsonReport({
79315
79322
  export { AmbiguousProjectError, NoReactDependencyError, NotADirectoryError, PackageJsonNotFoundError, ProjectNotFoundError, ReactDoctorError, buildJsonReport, buildJsonReportError, clearCaches, defineConfig, diagnose, filterSourceFiles, getDiffInfo, hasReactRuntime, isProjectDiscoveryError, isReactDoctorError, summarizeDiagnostics, toJsonReport };
79316
79323
 
79317
79324
  //# sourceMappingURL=index.js.map
79318
- //# debugId=9370a797-f2f1-5080-b905-34abae37c822
79325
+ //# debugId=37548b47-5f50-5e20-9bae-7c0357f5e915
@@ -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]="1becfcf8-1393-5438-b966-c07f117df111")}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]="145f6413-b87d-5a3f-b141-ee1a902b45f4")}catch(e){}}();
3
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-Bwylqy0B.js";
4
- import { An as provide, Bt as listWorkspacePackages, Cn as runPromise, D as isCodingAgentEnvironment, E as isCiOrCodingAgentEnvironment, Hn as isErrnoException, Ht as mapWithConcurrency, K as StagedFiles, Kt as remainingDeadlineBudgetMs, S as isDebugFlagEnabled, St as getChangedLineRanges, Wn as isPlainObject, Yt as resolveScanTarget, Z as buildJsonReport, _ as VERSION, _t as findLegacyConfig, bn as provide$1, dt as detectAiTrainingEnvironment, f as setJsonReportDirectory, fn as JsonReport, ft as discoverSupportedSubprojects, g as writeJsonReport, h as writeJsonErrorReport, hn as gen, j as Git, jt as highlighter, kt as hasSupportedFrameworkOrLibrary, n as recordDistribution, nn as toRelativePath, p as setJsonReportMode, pn as decodeUnknownSync, t as recordCount, u as enableJsonMode, wt as getDiffInfo, xt as getBaselineDiffPlan, y as CliInputError, zn as messageFromUnknown } from "./record-metric-BzJGgUyE.js";
5
- import { n as shutdownTelemetry, o as isExpectedUserError, r as flushSentry } from "./telemetry-runtime-DUAbnIzM.js";
6
- import { n as handleUserError, t as handleError } from "./handle-error-CXKa5V_C.js";
7
- import { t as reportErrorToSentry } from "./report-error-yT3d2npg.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-DcSvz1k4.js";
5
+ import { n as shutdownTelemetry, o as isExpectedUserError, r as flushSentry } from "./telemetry-runtime-BufSIW3d.js";
6
+ import { n as handleUserError, t as handleError } from "./handle-error-qi-5p5I2.js";
7
+ import { t as reportErrorToSentry } from "./report-error-BmvMTKij.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-BYia3c6r.js";
10
- import { a as readReactDoctorWorkflow, c as workflowUsesV1Action, i as isReactDoctorWorkflowInstalled, l as prompts, s as upgradeWorkflowActionToV2 } from "./install-github-workflow-DT9g71vu.js";
11
- import { c as openWorkflowPullRequest, i as warnDeprecatedDiff, l as stageWorkflowFile, r as resolveScope, s as resolveBlockingLevel, t as finalizeScope } from "./resolve-scope-C9r6_i2P.js";
12
- import { t as shouldSkipPrompts } from "./should-skip-prompts-gmTKMHB5.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-7pqpigjA.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-Ch1KGhmX.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-gIlaQo52.js";
16
- import { t as readObjectFile } from "./read-object-file-vLexPMRt.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-CzA3N60N.js";
10
+ import { a as readReactDoctorWorkflow, c as workflowUsesV1Action, i as isReactDoctorWorkflowInstalled, l as prompts, s as upgradeWorkflowActionToV2 } from "./install-github-workflow-DqIx2JgD.js";
11
+ import { c as openWorkflowPullRequest, i as warnDeprecatedDiff, l as stageWorkflowFile, r as resolveScope, s as resolveBlockingLevel, t as finalizeScope } from "./resolve-scope-DIgYBn32.js";
12
+ import { t as shouldSkipPrompts } from "./should-skip-prompts-BX-idWyW.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-KDrMkTrJ.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-K7NFRSY6.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-BzFeAPsN.js";
16
+ import { t as readObjectFile } from "./read-object-file-Bl7a4v-9.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";
@@ -955,6 +955,7 @@ const scanStagedProject = async ({ input, projectRun, snapshotDirectory, stagedL
955
955
  includePaths: [...includePaths],
956
956
  configOverride: projectScan.projectConfig,
957
957
  configSourceDirectory: projectScan.projectConfigSourceDirectory ?? void 0,
958
+ contextual: resolveScope(input.flags, input.scanTarget.userConfig).scope === "contextual",
958
959
  changedLineRanges: stagedLineRanges === null ? void 0 : resolveProjectChangedLineRanges(rootDirectory, projectScan.scanDirectory, stagedLineRanges),
959
960
  suppressRendering: isMultiProject,
960
961
  concurrentScan: isMultiProject
@@ -1086,10 +1087,12 @@ const runStagedInspect = async (input) => {
1086
1087
  if (unselectedStagedFileCount > 0) cliLogger.dim(`${unselectedStagedFileCount} more staged file${unselectedStagedFileCount === 1 ? "" : "s"} outside the selected projects.`);
1087
1088
  cliLogger.break();
1088
1089
  }
1089
- const stagedWantsLines = resolveScope(flags, scanTarget.userConfig).scope === "lines";
1090
+ const stagedScope = resolveScope(flags, scanTarget.userConfig).scope;
1091
+ const stagedWantsLines = stagedScope === "lines" || stagedScope === "contextual";
1090
1092
  const stagedLineRanges = stagedWantsLines ? await getChangedLineRanges({
1091
1093
  directory: resolvedDirectory,
1092
1094
  cached: true,
1095
+ includeDeletions: stagedScope === "contextual",
1093
1096
  files: selectedStagedFiles
1094
1097
  }) : null;
1095
1098
  if (stagedWantsLines && stagedLineRanges === null && !input.isQuiet) {
@@ -1171,7 +1174,8 @@ const buildProjectInspectOptions = ({ context, projectScan, projectScanPlan, own
1171
1174
  baseFiles: projectScanPlan.projectBaselineBaseFiles,
1172
1175
  headFiles: projectScanPlan.projectBaselineHeadFiles
1173
1176
  } : void 0,
1174
- changedLineRanges: context.scope === "lines" && context.changedLineRanges !== null ? resolveProjectChangedLineRanges(context.resolvedDirectory, scanDirectory, context.changedLineRanges) : void 0,
1177
+ contextual: context.scope === "contextual",
1178
+ changedLineRanges: (context.scope === "lines" || context.scope === "contextual") && context.changedLineRanges !== null ? resolveProjectChangedLineRanges(context.resolvedDirectory, scanDirectory, context.changedLineRanges) : void 0,
1175
1179
  supplyChainManifestChanged: projectScanPlan.supplyChainManifestChanged
1176
1180
  };
1177
1181
  };
@@ -1369,15 +1373,16 @@ const inspectAction = async (directory, flags, invocationCommand = "inspect", se
1369
1373
  const comparisonPlanRef = baselineRef ?? (savedBaseline?.schemaVersion === 3 ? savedBaseline.sourceRevision : void 0);
1370
1374
  const baselineDiffPlan = comparisonPlanRef ? await getBaselineDiffPlan(resolvedDirectory, comparisonPlanRef) : null;
1371
1375
  const linesBaseRef = diffInfo?.isCurrentChanges ? "HEAD" : comparisonBaseRef;
1372
- const changedLineRanges = scope === "lines" && diffInfo !== null && (diffInfo.isCurrentChanges || linesBaseRef !== null) && diffInfo !== null ? await getChangedLineRanges({
1376
+ const changedLineRanges = (scope === "lines" || scope === "contextual") && diffInfo !== null && (diffInfo.isCurrentChanges || linesBaseRef !== null) && diffInfo !== null ? await getChangedLineRanges({
1373
1377
  directory: resolvedDirectory,
1374
1378
  baseRef: linesBaseRef ?? void 0,
1379
+ includeDeletions: scope === "contextual",
1375
1380
  files: [...diffInfo.changedFiles],
1376
1381
  includeUntracked
1377
1382
  }) : null;
1378
1383
  scanStartupSpinner?.stop();
1379
1384
  scanStartupSpinner = null;
1380
- if (scope === "lines" && changedLineRanges === null && !isQuiet) {
1385
+ if ((scope === "lines" || scope === "contextual") && changedLineRanges === null && !isQuiet) {
1381
1386
  cliLogger.warn("Could not determine changed lines (no base ref or git diff failed); reporting all issues in changed files.");
1382
1387
  cliLogger.break();
1383
1388
  }
@@ -1523,5 +1528,5 @@ const inspectAction = async (directory, flags, invocationCommand = "inspect", se
1523
1528
  //#endregion
1524
1529
  export { warnDeprecatedFailOn as n, runProjectMigrations as r, inspectAction as t };
1525
1530
 
1526
- //# sourceMappingURL=inspect-kY0lepPl.js.map
1527
- //# debugId=1becfcf8-1393-5438-b966-c07f117df111
1531
+ //# sourceMappingURL=inspect-BJE38z7r.js.map
1532
+ //# debugId=145f6413-b87d-5a3f-b141-ee1a902b45f4
@@ -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]="4465581a-3a7e-5ac1-8ec0-eb17693129d6")}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]="f5b5e275-4331-5e02-a227-0f8989001b21")}catch(e){}}();
3
3
  import { u as METRIC } from "./constants-Bwylqy0B.js";
4
- import { t as recordCount, wn as runSync } from "./record-metric-BzJGgUyE.js";
5
- import { o as isExpectedUserError } from "./telemetry-runtime-DUAbnIzM.js";
6
- import { n as handleUserError, t as handleError } from "./handle-error-CXKa5V_C.js";
7
- import { t as reportErrorToSentry } from "./report-error-yT3d2npg.js";
8
- import { t as printBrandedHeader } from "./print-branded-header-DcuhNpZD.js";
9
- import { n as runInstallReactDoctor } from "./install-react-doctor-gIlaQo52.js";
4
+ import { Tn as runSync, t as recordCount } from "./record-metric-DcSvz1k4.js";
5
+ import { o as isExpectedUserError } from "./telemetry-runtime-BufSIW3d.js";
6
+ import { n as handleUserError, t as handleError } from "./handle-error-qi-5p5I2.js";
7
+ import { t as reportErrorToSentry } from "./report-error-BmvMTKij.js";
8
+ import { t as printBrandedHeader } from "./print-branded-header-CO4r1oDZ.js";
9
+ import { n as runInstallReactDoctor } from "./install-react-doctor-BzFeAPsN.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-CcgxmHS7.js.map
34
- //# debugId=4465581a-3a7e-5ac1-8ec0-eb17693129d6
33
+ //# sourceMappingURL=install-R-4Yhbnt.js.map
34
+ //# debugId=f5b5e275-4331-5e02-a227-0f8989001b21
@@ -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]="5201b79c-84f5-5af5-b858-c5298273bc57")}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]="602a1c29-f300-55ce-beb1-0253848b2ac3")}catch(e){}}();
3
3
  import { B as resolveGitCommand, g as RUN_GIT_MAX_BUFFER_BYTES } from "./constants-Bwylqy0B.js";
4
- import { b as isNonInteractiveEnvironment, cn as info$1, jt as highlighter, ln as log, sn as error$1, un as warn, wn as runSync } from "./record-metric-BzJGgUyE.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-DcSvz1k4.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-BYia3c6r.js.map
2822
- //# debugId=5201b79c-84f5-5af5-b858-c5298273bc57
2821
+ //# sourceMappingURL=install-doctor-script-CzA3N60N.js.map
2822
+ //# debugId=602a1c29-f300-55ce-beb1-0253848b2ac3
@@ -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]="07344993-e0e6-5e2e-bd43-b4f0bf168560")}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]="af4a652e-495c-5116-bf51-329b869e5e51")}catch(e){}}();
3
3
  import { s as GH_DEFAULT_BRANCH_PROBE_TIMEOUT_MS } from "./constants-Bwylqy0B.js";
4
- import { gt as findGitRepositoryRoot } from "./record-metric-BzJGgUyE.js";
4
+ import { _t as findGitRepositoryRoot } from "./record-metric-DcSvz1k4.js";
5
5
  import { t as unrefStdin } from "./unref-stdin-D-NZBFpg.js";
6
- import { N as cliLogger } from "./install-doctor-script-BYia3c6r.js";
6
+ import { N as cliLogger } from "./install-doctor-script-CzA3N60N.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-DT9g71vu.js.map
285
- //# debugId=07344993-e0e6-5e2e-bd43-b4f0bf168560
284
+ //# sourceMappingURL=install-github-workflow-DqIx2JgD.js.map
285
+ //# debugId=af4a652e-495c-5116-bf51-329b869e5e51
@@ -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]="686a7236-9c31-58f4-bbbd-b0b18bf7b5ed")}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]="efde77e5-42fb-55ed-8c79-24d4a07d0a83")}catch(e){}}();
3
3
  import { kt as GITHUB_ACTIONS_SETUP_URL, o as CI_TRUST_COMPANIES, pn as SKILL_NAME, u as METRIC } from "./constants-Bwylqy0B.js";
4
- import { Hn as isErrnoException, jt as highlighter, t as recordCount, y as CliInputError } from "./record-metric-BzJGgUyE.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-BYia3c6r.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-DT9g71vu.js";
7
- import { t as shouldSkipPrompts } from "./should-skip-prompts-gmTKMHB5.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-Ch1KGhmX.js";
4
+ import { Mt as highlighter, Un as isErrnoException, t as recordCount, y as CliInputError } from "./record-metric-DcSvz1k4.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-CzA3N60N.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-DqIx2JgD.js";
7
+ import { t as shouldSkipPrompts } from "./should-skip-prompts-BX-idWyW.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-K7NFRSY6.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-gIlaQo52.js.map
1160
- //# debugId=686a7236-9c31-58f4-bbbd-b0b18bf7b5ed
1159
+ //# sourceMappingURL=install-react-doctor-BzFeAPsN.js.map
1160
+ //# debugId=efde77e5-42fb-55ed-8c79-24d4a07d0a83
@@ -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]="69504890-a4a7-5541-a96d-f64818e9270f")}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]="bd24ff20-a1cd-5c5f-8e86-e3b0237df8dd")}catch(e){}}();
3
3
  import { i as __toESM, r as __require, t as __commonJSMin } from "./chunk-ChKA3wi6.js";
4
4
  import { u as METRIC } from "./constants-Bwylqy0B.js";
5
- import { t as recordCount } from "./record-metric-BzJGgUyE.js";
6
- import { n as registerActiveTuiRenderer, t as exitGracefully } from "./exit-gracefully-CJYxagiG.js";
5
+ import { t as recordCount } from "./record-metric-DcSvz1k4.js";
6
+ import { n as registerActiveTuiRenderer, t as exitGracefully } from "./exit-gracefully-C8JRlcU-.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-Dz1BgjFv.js.map
25874
- //# debugId=69504890-a4a7-5541-a96d-f64818e9270f
25873
+ //# sourceMappingURL=jsx-runtime-BkWtbZXO.js.map
25874
+ //# debugId=bd24ff20-a1cd-5c5f-8e86-e3b0237df8dd
@@ -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]="058e5d25-4830-52a2-a510-71bf1c7336d5")}catch(e){}}();
3
- import { _ as VERSION, hn as gen, jt as highlighter, ln as log } from "./record-metric-BzJGgUyE.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]="042e2f1f-ca1e-5a3d-9694-cf7b46c80fe7")}catch(e){}}();
3
+ import { Mt as highlighter, _ as VERSION, gn as gen, un as log } from "./record-metric-DcSvz1k4.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-DcuhNpZD.js.map
22
- //# debugId=058e5d25-4830-52a2-a510-71bf1c7336d5
21
+ //# sourceMappingURL=print-branded-header-CO4r1oDZ.js.map
22
+ //# debugId=042e2f1f-ca1e-5a3d-9694-cf7b46c80fe7
@@ -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]="0ad8c848-5fdb-5324-89cb-7f263e79830a")}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]="439e264d-0ec4-5639-af21-5271d86e2d98")}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-BAn4mEFw.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-Dz1BgjFv.js";
4
+ import { a as RUNTIME_SCAN_LOCAL_DEV_PORTS, t as sanitizeRuntimeUrl, u as RUNTIME_SCAN_MAX_STRING_LENGTH } from "./sanitize-runtime-url-D_7VZU0F.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-BkWtbZXO.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-CU7G3L34.js.map
240
- //# debugId=0ad8c848-5fdb-5324-89cb-7f263e79830a
239
+ //# sourceMappingURL=prompt-runtime-scan-url-sBG2_LDZ.js.map
240
+ //# debugId=439e264d-0ec4-5639-af21-5271d86e2d98
@@ -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]="2456b020-5e08-5e7a-bba0-34129d3b7300")}catch(e){}}();
3
- import { Wn as isPlainObject } from "./record-metric-BzJGgUyE.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]="6a4aaed4-756a-5cbe-9397-2764366e6d42")}catch(e){}}();
3
+ import { Gn as isPlainObject } from "./record-metric-DcSvz1k4.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-vLexPMRt.js.map
24
- //# debugId=2456b020-5e08-5e7a-bba0-34129d3b7300
23
+ //# sourceMappingURL=read-object-file-Bl7a4v-9.js.map
24
+ //# debugId=6a4aaed4-756a-5cbe-9397-2764366e6d42