leonard_host 0.1.1 copy "leonard_host: ^0.1.1" to clipboard
leonard_host: ^0.1.1 copied to clipboard

Pure-Dart VM-service host for Leonard — exposes a set of LeonardExtensions over `ext.exploration.*` so a non-Flutter Dart program can be driven live by leonard_cli / leonard_drive.

leonard_host #

A pure-Dart VM-service host for Leonard. ExplorationHost exposes a set of leonard_contract extensions over the same ext.exploration.* VM-service surface the Flutter binding hosts — minus the Flutter-only core fragment (semantics / routes / screenshot) — so a non-Flutter Dart program can be perceived and driven live by leonard_cli / leonard_drive.

final host = ExplorationHost(extensions: [MyExtension()]);
await host.install(); // registers ext.exploration.core.handshake,
                      // core.get_stable_observation, and a per-tool extension.

Run the hosting program with the VM service enabled (e.g. dart run --enable-vm-service); the driver connects to the printed ws://…/ws.

Pre-1.0 and experimental; APIs may change before 1.0.

0
likes
150
points
149
downloads

Documentation

API reference

Publisher

verified publishermemento.engineering

Weekly Downloads

Pure-Dart VM-service host for Leonard — exposes a set of LeonardExtensions over `ext.exploration.*` so a non-Flutter Dart program can be driven live by leonard_cli / leonard_drive.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

genesis_perception, leonard_contract

More

Packages that depend on leonard_host