@pygmalionjs/pygmalion 0.2.40 → 0.2.41

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.
package/README.md CHANGED
@@ -224,6 +224,38 @@ Screen recipes support `click`, `fill`, `check`, `press`, `wait`, and `storage`
224
224
  steps. Use deterministic recipes and assertions so each frame represents a
225
225
  repeatable application state.
226
226
 
227
+ Keep user journeys explicit instead of relying only on source navigation
228
+ inference. Paths expand into adjacent graph edges, and source-discovered edges
229
+ are still merged underneath them:
230
+
231
+ ```tsx
232
+ const storyboard = {
233
+ startScreenIds: ['screen:entry'],
234
+ paths: [
235
+ {
236
+ id: 'checkout',
237
+ label: 'Checkout',
238
+ screenIds: ['screen:entry', 'screen:cart', 'screen:confirmation'],
239
+ },
240
+ ],
241
+ };
242
+
243
+ <PygmalionEditor storyboard={storyboard} />
244
+ ```
245
+
246
+ Every id is checked against the resolved screen catalog. Unknown endpoints and
247
+ unreachable screens stay visible as graph diagnostics instead of disappearing
248
+ from the sidebar. Code-only redirects or fixtures can be classified through
249
+ `nonVisualScenarioIds` with ids created by
250
+ `createStoryboardRouteScenarioId(route)`.
251
+
252
+ The editor shell and frame geometry mount before storyboard discovery finishes.
253
+ Cached or live route content remains gated until baseline environment and source
254
+ digests settle, so immediate canvas paint cannot consume a provisional preview
255
+ identity. Selecting an already visible frame in the sidebar preserves the
256
+ camera; an offscreen frame is revealed with the smallest pan possible and never
257
+ changes the user's zoom.
258
+
227
259
  ## Capture artifact lifecycle
228
260
 
229
261
  Import the reusable capture primitives from