refactor(mcp): simplify tool inputs and inline results

This commit is contained in:
morluto
2026-09-29 11:22:00 +08:00
parent bd0e341572
commit f55c2b9267
70 changed files with 468 additions and 741 deletions
-11
View File
@@ -83,17 +83,6 @@ export const ELECTRON_TOOL_CONTRACTS = [
cdp_endpoint: endpoint,
allowed_file_roots: [root],
target_id: "TARGET_ID_FROM_LIST_ELECTRON_TARGETS",
observation_ms: 100,
include_script_sources: false,
limits: {
max_frames: 200,
max_dom_nodes: 2_000,
max_scripts: 500,
max_resources: 2_000,
max_workers: 500,
max_script_source_bytes: 1_048_576,
max_total_script_source_bytes: 4_194_304,
},
},
},
],