mirror of
https://github.com/morluto/rea.git
synced 2026-11-15 11:13:21 +00:00
Bind typed service creation, observed availability and retryable cleanup in one composition owner. Reuse selected CLI/MCP factories and canonical contract groups without copying provider operation inventories. Closes #8429. Refs #740. Validated paired real application workflows, actual local Codex CLI Terra/high use, complete Evidence and Unknown checkpoint parity, compiler-backed import boundaries, SDK schemas and final real mixed routing. Automated review findings were fixed at their producing owners. Existing exact-base CodeQL alerts are documented on the PR under the owner-authorized unrelated-check exception; no global alerts or security rules were changed. Assisted-by: Suika (gensokyo-skills:suika-scatter-gather-planning)
21 lines
761 B
TypeScript
21 lines
761 B
TypeScript
import type { ProviderIdentity } from "../application/AnalysisProvider.js";
|
|
import { GHIDRA_FUNCTION_OPERATIONS } from "./GhidraFunctionOperations.js";
|
|
import { GHIDRA_INVENTORY_OPERATIONS } from "./GhidraInventoryOperations.js";
|
|
|
|
/** Public identity committed by every Ghidra-backed observation. */
|
|
export const GHIDRA_PROVIDER_IDENTITY: ProviderIdentity = Object.freeze({
|
|
id: "ghidra",
|
|
name: "Ghidra",
|
|
version: null,
|
|
});
|
|
|
|
/** Public analyst tools backed by these observations; aggregates stay internal. */
|
|
export const GHIDRA_OPERATIONS = Object.freeze(
|
|
[...GHIDRA_INVENTORY_OPERATIONS, ...GHIDRA_FUNCTION_OPERATIONS].map(
|
|
(operation) =>
|
|
operation === "read_binary_inventory_summary"
|
|
? "binary_overview"
|
|
: operation,
|
|
),
|
|
);
|