Changelog

All notable changes to Life.js are documented here.

v0.11.1

1 change

Fixes

LilaRest's avatar

Typescript Intellisense was becoming quite slow when defining agents, plugins, etc. p90 latency is back to <150 ms.

v0.11.0

4 changes

Features

LilaRest's avatar

The plugin.context() API has been improved with initial values

LilaRest's avatar

The plugin.methods() API has been replaced by plugin.api() making it more flexible and runtime agnostic

LilaRest's avatar

New defineStore() definition builder

Fixes

LilaRest's avatar

Exclude memories builder methods as they are called

v0.10.0

4 changes

Features

LilaRest's avatar

Add an higher-level and typesafe RPC API to Transport classes

LilaRest's avatar

New client-side config schema and types

LilaRest's avatar

First functional version of client

LilaRest's avatar

Add support for ZodError serialization

v0.9.0

4 changes

Features

LilaRest's avatar

Simplify the plugin context API to enforce immutability without neither relying on complex JS Proxy patterns, nor on the consumers to properly clone values

Fixes

LilaRest's avatar

Plugin.methods() was still be typed with the raw context

LilaRest's avatar

Make non-blocking memories running on history change, instead of resources requests

LilaRest's avatar

Fix plugin.pick() broken typesafety

v0.8.1

2 changes

Fixes

LilaRest's avatar

Cleanup bundle and package.json metadata

LilaRest's avatar

Make peer dependencies optional

v0.8.0

6 changes

Features

LilaRest's avatar

Wire plugin lifecycle hooks in the plugin runner

LilaRest's avatar

Add set() method to plugin context and onChange() listeners

Fixes

LilaRest's avatar

Solve context.onChange() not properly comparing object values

LilaRest's avatar

Refactor and simplify: equal, serialize, and sha256 libraries for consistency

LilaRest's avatar

Rename memory.getOutput() to memory.output()

LilaRest's avatar

TTS estimated transcript's tokenizer was broken because of regex hoisting

v0.7.0

4 changes

Features

LilaRest's avatar

Add a standardized serialization/deserialization library

LilaRest's avatar

Refactor plugin dependencies to unify them with the future items dependency and simplify the DX

LilaRest's avatar

Make plugins' context definition bound to a Zod schema

Fixes

LilaRest's avatar

Bump dependencies + migrate to Biome v2

v0.6.0

5 changes

Features

LilaRest's avatar

Fully functional memories plugin

LilaRest's avatar

Wire plugins interceptors to the event loop of the external dependency

LilaRest's avatar

New life/define export

LilaRest's avatar

Huge refactoring/refinement of plugins' dependencies and methods + draft memories plugin

Fixes

LilaRest's avatar

Fix plugin methods in agent definition not assigning plugin methods after called

v0.5.1

4 changes

Fixes

LilaRest's avatar

Fix tools calls formatting in Mistral LLM provider class

LilaRest's avatar

A lot of simplification on the orchestration/generation classes of the core plugin

LilaRest's avatar

Fix new Int16Array type error

LilaRest's avatar

Mistral LLM provider class wasn't emitting end token

v0.5.0

4 changes

Features

Cheelax's avatarLilaRest's avatar

Support Mistral.ai LLM provider

LilaRest's avatar

Add all models and available languages to Cartesia TTS config schema

Fixes

LilaRest's avatar

Generation interruptions weren't working in the case the generation had ended, but it's produced content was still being played. This commit fixes that.

LilaRest's avatar

Disable output stream throttling in text-only mode