Seal the fetch target: one value holds the URL and its host

Implemented-By: OpenCode session (model recorded in docs/implementer-log.md)
This commit is contained in:
2026-09-22 23:03:49 -07:00
parent f095cca1ee
commit bf9e79ac21
5 changed files with 53 additions and 21 deletions
+1 -1
View File
@@ -105,7 +105,7 @@ pub fn run(decision: Decision, runtime: &dyn Runtime) -> proto::ToolResponse {
.collect(),
None,
),
ToolArgs::HttpFetch { .. } => (Vec::new(), Some(decision.hosts().to_vec())),
ToolArgs::HttpFetch(_) => (Vec::new(), Some(decision.hosts().to_vec())),
};
let spec = RunSpec {
tool: args.tool(),