fix(capture): retain safe caller path selections (#9626)

* fix(cli)!: retain repeated WASM input paths

BREAKING CHANGE: caller_input_paths values may now be ordered arrays of strings as well as strings. Clients must accept both forms.

* fix(capture): retain safe caller path selections

* fix(evidence): retain auxiliary selections in direct summaries

* test(wasm): separate SDK schema and acquired-input coverage
This commit is contained in:
morluto authored and GitHub committed 2026-11-09 20:12:45 +08:00
1 parent dda2d40295
commit bf271ba3fb
10 files changed
+326 -130

No files matched your search

+3 -1
View File
@@ -258,7 +258,9 @@ export const publishCliAnalysisEvidence = async (
// This projection answers the same direct invocation as its parent. Later
// inspect_analysis_view calls own their own input and do not inherit it.
const selected =
detail === "summary" && complete.caller_input_path !== undefined
detail === "summary" &&
(complete.caller_input_path !== undefined ||
complete.caller_input_paths !== undefined)
? withEvidenceCallerInputPath(
delivered.value,
complete.caller_input_path,
+6
View File
@@ -111,6 +111,12 @@ export const registerWebNetworkCaptureCommands = (
: { capture_timeout_ms: options.captureTimeoutMs }),
},
{ signal },
{
capture: args.capturePath,
...(options.protobufSchema === undefined
? {}
: { descriptor: options.protobufSchema }),
},
),
service,
providerId: "web-network-capture",