refactor: remove forwarding exports and redundant aliases

This commit is contained in:
morluto
2026-10-09 22:46:09 +08:00
parent 69c3b32a21
commit ad59531a96
416 changed files with 855 additions and 1208 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ import {
nativeDispatchMetadataResultSchema,
type ObjcSwiftMetadata,
} from "../domain/native/objcSwiftMetadata.js";
import type { BinaryTarget } from "../domain/binaryTarget.js";
import type { BinaryTarget } from "../domain/binaryTargetTypes.js";
import { AnalysisCancelledError } from "../domain/analysisErrorCore.js";
import { EvidenceIntegrityError } from "../domain/evidenceErrors.js";
import { pushDispatchCoverage } from "./AppleDispatchCoverage.js";
+1 -1
View File
@@ -7,7 +7,7 @@ import {
AnalysisInputError,
} from "../domain/analysisErrorCore.js";
import type { AnalysisError } from "../domain/analysisErrorBase.js";
import type { BinaryTarget } from "../domain/binaryTarget.js";
import type { BinaryTarget } from "../domain/binaryTargetTypes.js";
import { EvidenceIntegrityError } from "../domain/evidenceErrors.js";
import { ProviderAdapterError } from "../domain/providerAdapterError.js";
import type { JsonValue } from "../domain/jsonValue.js";
+1 -1
View File
@@ -24,7 +24,7 @@ import {
NATIVE_TOOL_CONTRACTS,
type NativeToolName,
} from "../contracts/native/nativeToolContracts.js";
import type { BinaryTarget } from "../domain/binaryTarget.js";
import type { BinaryTarget } from "../domain/binaryTargetTypes.js";
import { toolContract } from "../contracts/toolContracts.js";
import { analysisInputErrorFromIssues } from "../domain/inputIssueProjection.js";
import type { EvidenceLocation } from "../domain/evidence.js";
+1 -1
View File
@@ -1,4 +1,4 @@
import type { BinaryTarget } from "../domain/binaryTarget.js";
import type { BinaryTarget } from "../domain/binaryTargetTypes.js";
import type { EvidenceLocation } from "../domain/evidence.js";
import type { AnalysisError } from "../domain/analysisErrorBase.js";
import {
+1 -1
View File
@@ -2,7 +2,7 @@ import { createHash } from "node:crypto";
import { describe, expect, it } from "vitest";
import { observeNativeUi } from "./NativeUiObservation.js";
import type { BinaryTarget } from "../domain/binaryTarget.js";
import type { BinaryTarget } from "../domain/binaryTargetTypes.js";
const target: BinaryTarget = {
path: "/fixture/App",
+1 -1
View File
@@ -1,6 +1,6 @@
import { fileURLToPath } from "node:url";
import { z } from "zod";
import type { BinaryTarget } from "../domain/binaryTarget.js";
import type { BinaryTarget } from "../domain/binaryTargetTypes.js";
import {
nativeUiObservationInputSchema,
nativeUiScenarioInputSchema,
+1 -1
View File
@@ -3,7 +3,7 @@ import { constants, type BigIntStats } from "node:fs";
import { lstat, mkdtemp, open, rm, type FileHandle } from "node:fs/promises";
import { tmpdir } from "node:os";
import { basename, join } from "node:path";
import type { BinaryTarget } from "../domain/binaryTarget.js";
import type { BinaryTarget } from "../domain/binaryTargetTypes.js";
import { AnalysisError } from "../domain/analysisErrorBase.js";
import {
AnalysisAccessDeniedError,