leonard_contract 0.2.4
leonard_contract: ^0.2.4 copied to clipboard
Pure-Dart extension contract for Leonard — the Flutter-free types a host (Flutter binding or non-Flutter VM-service host) implements and exposes.
Changelog #
0.2.4 #
- Added: tool dispatch carries a per-tool
carryForwardopt-in, so a tool's successful result is staged into the next turn only when the tool asks for it (core.recalldoes;inspect_widgetand every other tool do not). Additive — existing dispatch call sites are unchanged (lenny#116).
0.2.3 #
- Registry strike handling is one directly testable counter instead of parallel
failure and disable maps:
ExtensionRegistryderives both its tripping and its diagnostic thresholds from a single policy. Internal only — the counter is not exported andExtensionRegistry's surface is unchanged.
0.2.2 #
- Bump
genesis_perceptionto^0.3.0(genesis_tree 0.3.0, InheritedModelSeed). No API changes in this package; the perception wire contract is unchanged. Retires thegenesis_perception: ^0.3.0dependency override every hosted consumer on genesis_tree 0.3.0 had to carry (the_grid, power_station).
0.2.1 #
- Bump
genesis_perceptionto^0.2.0(the genesis builder wave). No API changes in this package; the perception wire contract is unchanged.
0.2.0 #
- Breaking: VM-service methods now use
ext.leonard.*. Construct names withkLeonardExtensionPrefixfromleonard_contract. - The handshake version is
kLeonardProtocolVersionfromleonard_contract.
0.1.0 #
-
Initial release: the pure-Dart extension contract extracted from
leonard_flutter.LeonardExtension/LeonardTool, thePerceptionExtensionmixin,ExtensionRegistry, and thedispatchToolToEnvelope/decodeServiceExtensionParamsVM-service dispatch helpers — Flutter-free, so a Flutter binding and a non-Flutter host share one contract.Pre-1.0 and experimental; APIs may change before 1.0.