feat: expand cross-platform investigation workflows

This commit is contained in:
morluto
2026-07-20 08:08:39 +00:00
parent b537ebfa34
commit dffc81c865
672 changed files with 13013 additions and 2302 deletions
+12
View File
@@ -152,6 +152,8 @@ const server = createServer((socket) => {
type: "bridge_exception",
},
});
} else if (request.method === "analysis_in_progress") {
sendAnalysisInProgress(send, request.id);
} else if (request.method === "current_document") {
send({ id: request.id, result: "fixture" });
} else if (enhancedFixtureResult(request.method) !== undefined) {
@@ -194,5 +196,15 @@ const server = createServer((socket) => {
});
});
const sendAnalysisInProgress = (send, id) =>
send({
id,
error: {
code: -32000,
message: "Hopper analysis is still running",
type: "analysis_in_progress",
},
});
server.listen(socketPath);
process.on("SIGTERM", () => server.close());