test(acp): preserve lifecycle wrapper in dispatch harness

This commit is contained in:
Vincent Koc
2026-08-07 06:42:30 +02:00
parent eba5530b70
commit bb7aff140b
@@ -589,6 +589,7 @@ vi.mock("../../infra/agent-events.js", () => ({
isAgentEventLifecycleGenerationCurrent: (generation: string) => generation === "test-generation",
onAgentEvent: (listener: unknown) => agentEventMocks.onAgentEvent(listener),
registerAgentEventLifecycleRotationHandler: vi.fn(),
withAgentRunLifecycleGeneration: <T>(_: string, run: () => T): T => run(),
}));
vi.mock("../../plugins/conversation-binding.js", () => ({
buildPluginBindingDeclinedText: () => "Plugin binding request was declined.",