@algorisys/tinyfly 0.110.0 → 0.112.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -171,6 +171,28 @@ from `CRICKET_ACTIONS`. Results and arcs are authored teaching examples, not
171
171
  physics, automatic umpiring or a complete innings. Preserve exact contact keys
172
172
  and merge the selected camera tracks when exporting. See `docs/cricket.md`,
173
173
  `/examples/live-cricket-story` and `examples/headless-video/cricket-story.mjs`.
174
+ For composed plays use `cricketPlay(field, options)` / `cricketPlayClip(options)`.
175
+ Separate `delivery: { style, legality }`, `shot`, `finish`, `fielding`,
176
+ `context: { freeHit }` and `decision: { dismissal }`. Omitted/null dismissal
177
+ means no dismissal; never infer one from motion. Supported candidates are
178
+ caught/bowled/lbw/stumped/run-out; no-ball/free-hit protects the first four,
179
+ while run-out remains possible. Current illegal free hits carry forward, legal
180
+ ones consume context; Test rejects current free-hit context. Retain `play`,
181
+ `ruling`, `result`, contact keys and camera tracks in JSON. Keep innings/score/
182
+ strike/lesson state in the consuming app. `CRICKET_PLAY_COMPONENTS` discovers
183
+ choices; `CRICKET_PLAY_EXAMPLES` provides five examples. Unsupported physical
184
+ combinations throw; Wide currently only supports miss/keeper/no finish.
185
+ See docs/cricket.md for the combination table. Original sixteen presets remain.
186
+ Choose `markingProfile: 'icc-men' | 'icc-women' | 'mcc'` explicitly when
187
+ teaching field geography; default ICC men is independent of cast. These are
188
+ marking dimensions, not full competition profiles. ODI/T20 ICC areas are
189
+ wicket-centred capsules (27.43/23 m radii); Test/MCC have no restriction line.
190
+ ICC popping-crease marks extend 7.5 m on either side; MCC minimum is 1.83 m.
191
+ `cricketFieldingAreaContains(field, point)` returns true/false/null, with null
192
+ for absent metadata/areas. `cricketFieldingPositions`/`cricketFieldingOverlay`
193
+ provide owned static setup markers. Do not count null as outside or interpret
194
+ point classification as legal whole-player placement. Markers stay at setup
195
+ positions; append them to the scene and preserve them in exported JSON.
174
196
  `CRICKET_FIELDING_POSITIONS` maps the eleven stock fielding IDs to public labels;
175
197
  scene objects carry them in `name`. `fielder` is Extra cover. Keep eleven fielders,
176
198
  two on-field batters and two umpires; nine batting teammates wait off-field.