feat(electron): map static process and IPC boundaries

This commit is contained in:
N0zoM1z0
2026-07-16 07:56:13 +09:00
committed by N0zoM1z0
parent 3988a866f1
commit 3fa2304bc7
279 changed files with 7481 additions and 775 deletions
+4 -3
View File
@@ -12,7 +12,7 @@ import { BROWSER_TOOL_CONTRACTS } from "../src/contracts/browserToolContracts.js
import { ELECTRON_TOOL_CONTRACTS } from "../src/contracts/electronToolContracts.js";
describe("tool contract inventory", () => {
it("publishes 60 analysis contracts and eighteen session tools", () => {
it("publishes 61 analysis contracts and eighteen session tools", () => {
expect(OFFICIAL_TOOL_CONTRACTS).toHaveLength(33);
expect(ENHANCED_TOOL_CONTRACTS).toHaveLength(10);
expect(NATIVE_TOOL_CONTRACTS).toHaveLength(5);
@@ -30,6 +30,7 @@ describe("tool contract inventory", () => {
expect(ELECTRON_TOOL_CONTRACTS.map(({ name }) => name)).toEqual([
"list_electron_targets",
"inspect_electron_page",
"analyze_javascript_application",
]);
expect(SESSION_TOOL_CONTRACTS.map(({ name }) => name)).toEqual([
"open_binary",
@@ -51,8 +52,8 @@ describe("tool contract inventory", () => {
"update_unknown",
"verify_unknown_resolution",
]);
expect(TOOL_CONTRACTS).toHaveLength(78);
expect(new Set(TOOL_CONTRACTS.map(({ name }) => name)).size).toBe(78);
expect(TOOL_CONTRACTS).toHaveLength(79);
expect(new Set(TOOL_CONTRACTS.map(({ name }) => name)).size).toBe(79);
});
it("retains documented enhanced-tool limits at the input boundary", () => {