feat(native): add inspection primitives, dispatch traces and approved UI observation (#500)
* fix(hopper): normalize string-backed addresses and update verification * feat(native): add inspection primitives, dispatch traces and approved UI observation * test: prioritize real artifact E2E and captured golden regressions * fix(process): queue observed output before reactive rendering actions * test: prune redundant cases and strengthen boundary assertions * fix(cli): route native value tracing through shared workflows * test: replace synthetic success with real workflows and captured data * fix(catalog): separate portable metadata from native host availability
This commit is contained in:
@@ -47,6 +47,9 @@ type DirectAnalysisTool =
|
||||
| "binary_overview"
|
||||
| "procedure_pseudo_code"
|
||||
| "read_function_instructions"
|
||||
| "inspect_native_instruction"
|
||||
| "inspect_native_data_type"
|
||||
| "resolve_native_call_targets"
|
||||
| "analyze_function"
|
||||
| "inspect_native_api"
|
||||
| "inspect_native_dispatch_metadata"
|
||||
@@ -54,7 +57,8 @@ type DirectAnalysisTool =
|
||||
| "search_procedures"
|
||||
| "xrefs"
|
||||
| "trace_feature"
|
||||
| "trace_native_ui_action";
|
||||
| "trace_native_ui_action"
|
||||
| "trace_native_values";
|
||||
|
||||
/**
|
||||
* Open one binary, execute one tool, and always release provider resources.
|
||||
@@ -285,6 +289,7 @@ const executeAnalysisTool = async (input: {
|
||||
tool === "inspect_native_api" ||
|
||||
tool === "inspect_native_dispatch_metadata" ||
|
||||
tool === "trace_feature" ||
|
||||
tool === "trace_native_values" ||
|
||||
tool === "trace_native_ui_action"
|
||||
) {
|
||||
const result = await new EnhancedTools(session).execute(
|
||||
@@ -407,7 +412,9 @@ const isWorkflowEvidenceTool = (
|
||||
): boolean =>
|
||||
tool === "binary_overview" ||
|
||||
tool === "inspect_native_api" ||
|
||||
tool === "inspect_native_dispatch_metadata" ||
|
||||
tool === "trace_feature" ||
|
||||
tool === "trace_native_values" ||
|
||||
tool === "trace_native_ui_action";
|
||||
|
||||
const fileExists = async (path: string): Promise<boolean> => {
|
||||
|
||||
Reference in New Issue
Block a user