All notable changes to Life.js are documented here.
New syntax-error resilient dependencies map resolver using oxc-parser in the compiler
Improved compiler with syntax-error resiliant compilation, isolated compilation paths, and overall better error handling and display in the terminal and life dev command
life dev
Add a proper exit screen to life dev
Disable main CLI logs consumer when running life dev with interactive UI
A lot of stability and DX improvements in the CLI
Improve life dev initialization, so on fatal errors all the logs are shown
Rename Copy mode to Debug mode in life dev and also show debug-level logs in that mode
Upgrade symbol in life dev was causing layout shift
Migrate to Zod 4
Make createLifeClient() HMR-resistant
Adapt useAgent() and useLifeClient() hooks to most recent code, and add useAgentStatus() and useAgentMessages()
useAgent()
useLifeClient()
useAgentStatus()
useAgentMessages()
A lot of DX, stability, and docs improvement
Properly support --debug in life dev
Fix telemetry consumers in life dev returning early
Adapt the life dev command to work with the new LifeServer
Auto-install / upgrade local LiveKit server on MacOS and Linux when running life dev
Add clean error display + logs when an error occur while starting life dev
Fix life dev progress bar not rendered
Implement telemetry into life client, agent client, and plugin client
Wrap all plugins effects, services, interceptors and hooks into a telemetry span to obtain auto-tracing of plugins
New telemetry client for browser-runtime
Simplified telemetry tracing for cross-runtime compatibility
Polyfill the nanoseconds lib so it can work cross-runtimes
Move all the test suites to Vitest
Make transport receive* methods returning an unsubscribe() hook
Support public operations filtering in Transport classes
Adapt transport RPC using the operation library and LifeError as the rest of the codebase
More telemetry, everywhere
The Life Server now also exposes a WebSocket API
Simplified runtime-agnostic createConfig() helper
Huge stability and consistency refactoring, usage of operation and LifeError everywhere
New fully typesafe API client to interact with both the HTTP and WebSocket endpoints
Telemetry scope simplified, and now support required attributes with Zod schema