universal_automation_semantics 0.5.1
universal_automation_semantics: ^0.5.1 copied to clipboard
The semantic view grammar for the universal automation family: declarative views over accessibility snapshots, ref-stable observations, observation diffs, and compact text rendering. Pure Dart, no Flu [...]
Changelog #
0.5.1 - 2026-11-10 #
0.5.0 #
- SemanticLens — switchable render usefulness (measured in
tool/benchmark_compression.dart, real + synthetic fixtures):
standard(reference grammar),compact(act-loop: short role codes, unnamed container rows dropped,=values — refs, names, identifiers and state suffixes never dropped; 100% findability kept at 8-17% fewer bytes),design(critique seed: geometry rows plus column/row/width clustering footers for impeccable-style spacing and alignment scoring — pure bounds truth, no pixels). Observation.render(lens: ...)— source-compatible additive param.
0.4.0 #
- Compact render quality: lines now carry the state suffixes that
locate or gate a control —
[disabled]and the#identifierselector target — and drop emptyvalue=""noise; quoted values are escaped. - The
fieldsview contract is honored end-to-end (it was declared but ignored):fields: [bounds]renders@(left,top) WxHgeometry, and a minimalfields: [role]rendersref roleonly;refalways renders. - Trim accounting is honest: the header reads
shown=S/M TRIMMEDwhere M is everything the view's selectors matched before the cap. - Delta rows say WHAT changed in place:
value="old" → "new"for value swaps,moved (l,t) → (l',t')for pure moves, both when both — and the delta carries a# delta +A -R ~Cheader instead of bare rows.
0.3.0 - 2026-10-27 #
0.2.0 #
- Family train:
universal_automation_interfacemoves to^0.3.0(coordinate-tier actions join the sealed action set) anduniversal_automation_conformanceto^0.3.0; dependency constraints widen accordingly (constraint-widening minor bump).
0.1.0 #
- Initial release (ADR 0052):
SemanticView— the declarative view value (fields, subtreeOf/identifierPrefix selectors, maxNodes cap, namedpanes), wire-compatible with mcp_flutter's semantic_snapshot filter keys;Observation— ref-stable resolution over the full walk (refs issue regardless of what is shown), compact numbered text rendering with trimming admitted in the header, fail-closed ref resolution (SemanticRefUnavailableException), structural-signature diffs (ObservationDelta: added/removed/changed with stable refs). Golden tests for every invariant.