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
+2 -2
View File
@@ -4,7 +4,7 @@ import { evidenceResultOf } from "./toolOutputSchemas.js";
import {
electronPageInspectionSchema,
electronTargetListSchema,
inspectElectronPageToolInputSchema,
inspectElectronPageInputSchema,
listElectronTargetsInputSchema,
} from "../domain/electronObservation.js";
import {
@@ -64,7 +64,7 @@ export const ELECTRON_TOOL_CONTRACTS = [
description:
"Passively inspect one Electron file page by supplying its loopback CDP endpoint and target ID. The provider rechecks that the target currently exists at that endpoint and is a local file page. Returns frames, DOM structure, resource paths, and scripts without evaluating renderer JavaScript or invoking Electron APIs. The selected endpoint exposes every local file page and its metadata to this tool.",
kind: "electron-provider",
inputSchema: inspectElectronPageToolInputSchema,
inputSchema: inspectElectronPageInputSchema,
outputSchema: inspectionOutputSchema,
examples: [
{