v0.0.8
Release Notes
Features
- Cross-platform IPC transport for daemon: Introduced
DaemonTransportprotocol withUnixSocketTransport(macOS/Linux) andTcpLoopbackTransport(Windows) implementations. Replaced direct asyncio Unix socket calls with transport abstraction in server.py, client.py, and lifecycle.py.
Fixes
- Fixed various Windows compatibility bugs.
- Fixed daemon UTF-8 encoding issues on Windows: set
PYTHONIOENCODING=utf-8in spawn environment, added explicitencoding='utf-8'to allread_text/write_textcalls in daemon modules, and increased DuckDB connection retries/backoff on Windows to tolerate async handle release after process termination. - Fixed Windows process termination: wait for process exit (
WaitForSingleObject) afterTerminateProcessto ensure file handles are released before restart. - Unified process probe in lease.py with
lifecycle._process_alive(using kernel32 on Windows). - Added Windows
creationflags(CREATE_NEW_PROCESS_GROUP | DETACHED_PROCESS) tospawn_daemon. - Added SIGBREAK handler and
CREATE_NEW_PROCESS_GROUPtoObservationDaemonfor graceful Windows shutdown. - Unified
start_new_sessionhandling in shell_tools.py and terminal_session.py. - Fixed POSIX
ProcessGroup.terminate()to clear_pgidafter signal.
Enhancements
- Refactored tests module: Added comprehensive journey tests (tests/journeys/) that drive a real
leapdsubprocess over RPC with a local OpenAI-compatible proxy, supporting four modes: replay (offline default), seed, record, and live. - Enhanced CI pipeline: Added three-tier CI strategy—PR and main lanes run fully offline (required for fork PRs without secrets), while nightly-live.yaml reaches real providers with cost bounded by
max_llm_callsandmax_llm_tokensenforcement. - Added regression tests (tests/regression/) with always-on guards including hard journey budget, incident ledger, provider-shape drift detection, and meta-tests.
- Updated AGENTS.md with two-layer contract documentation and tests/README.md with credential setup instructions.
What's Changed
- [Refactor] Refactor tests module and add enhanced citest pipeline by @wangxingjun778 in #29
- [Fix] fix bugs on windows by @fanqiNO1 in #30
- feat(daemon): cross-platform IPC transport for Windows support by @wangxingjun778 in #31
- [Fix] Fix daemon utf-8 encoding for windows by @wangxingjun778 in #32
Full Changelog: v0.0.7...v0.0.8