Summary
Add unit tests for the new Agent SDK integration layer.
Test targets
src/agent_sdk.zig
test: agent_sdk falls back to codex_appserver when SDK not found
test: agent_sdk buildAgentArgs serialises allowed_tools array correctly
test: agent_sdk buildAgentArgs serialises mcp_servers map correctly
src/sessions.zig
test: session store evicts LRU when capacity exceeded
test: session store touch updates last_used timestamp
test: session store list returns all active sessions
src/tools.zig (hook log)
test: hook log serialises to valid JSON array
test: hook log block action prevents tool call entry
Files
src/agent_sdk.zig: test block
src/sessions.zig: test block
src/tools.zig: test block
Summary
Add unit tests for the new Agent SDK integration layer.
Test targets
src/agent_sdk.zigtest: agent_sdk falls back to codex_appserver when SDK not foundtest: agent_sdk buildAgentArgs serialises allowed_tools array correctlytest: agent_sdk buildAgentArgs serialises mcp_servers map correctlysrc/sessions.zigtest: session store evicts LRU when capacity exceededtest: session store touch updates last_used timestamptest: session store list returns all active sessionssrc/tools.zig(hook log)test: hook log serialises to valid JSON arraytest: hook log block action prevents tool call entryFiles
src/agent_sdk.zig: test blocksrc/sessions.zig: test blocksrc/tools.zig: test block