refactor(contracts): remove duplicate schema aliases

This commit is contained in:
morluto
2026-09-29 18:35:47 +08:00
parent a3920e2abd
commit 4593c29b64
11 changed files with 18 additions and 52 deletions
+1 -2
View File
@@ -4,11 +4,10 @@ import { inspectWebPageWithSourceInputSchema } from "./browserObservation.js";
import { webTextArtifactSchema } from "./webContentArtifact.js";
/** Capture-and-analyze input with optional source-map fetching. */
export const analyzeWebBundleToolInputSchema =
export const analyzeWebBundleInputSchema =
inspectWebPageWithSourceInputSchema.safeExtend({
fetch_source_maps: z.boolean().default(false),
});
export const analyzeWebBundleInputSchema = analyzeWebBundleToolInputSchema;
export type AnalyzeWebBundleInput = z.infer<typeof analyzeWebBundleInputSchema>;
const sourceLocationSchema = z.object({