Skip to content

Local-first AI coding agent desktop: Electron + Rust host core + pi Agent Harness + user-installable plugins

fix(e2e): answer file batch negotiation in the offline fixture host

vastsa6c6d0ff7fdab
diff --git a/scripts/e2e/hosted-search-sidecar.mjs b/scripts/e2e/hosted-search-sidecar.mjs
index 0ccf76c99..5ea82bb29 100644
--- a/scripts/e2e/hosted-search-sidecar.mjs
+++ b/scripts/e2e/hosted-search-sidecar.mjs
@@ -213,6 +213,9 @@ export function fixtureHost({ history = [], instructions = false } = {}) {
content: "OFFLINE_NESTED_RULE: explain the search and local fixture together.",
}] : [],
};
+ // Declining file batching keeps the offline fixtures on the per-call
+ // tools.execute path; the runtime negotiates this before the first turn.
+ case "tools.fileBatchCapabilities": return { version: 1, supported: false };
case "tools.execute":
assert.equal(params.toolName, "Read", "Task must execute inside the real runtime, never fake host");
assert.equal(params.args.path, "nested/fixture.txt");