Skip to main content

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

Pure-Dart VM-service host for Leonard — exposes a set of LeonardExtensions over `ext.leonard.*` 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.leonard.* 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.leonard.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
0
points
406
downloads

Publisher

verified publishermemento.engineering

Weekly Downloads

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

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

genesis_perception, leonard_contract

More

Packages that depend on leonard_host