@pygmalionjs/pygmalion 0.2.39 → 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
@@ -178,6 +178,13 @@ Omit `height` to change width alone and leave the frame's height as it is. The
178
178
  button reads as active while the frame sits at that size, and **Reset to default
179
179
  size** still returns the frame to the viewport its manifest authored.
180
180
 
181
+ If the first declared canvas is a large asset catalog, open the working canvas
182
+ directly and avoid rendering that catalog during startup:
183
+
184
+ ```tsx
185
+ <PygmalionEditor initialCanvas="Screens" />
186
+ ```
187
+
181
188
  ### Screens that never stop moving
182
189
 
183
190
  A capture waits for the document to hold still. A screen with an elapsed clock, a
@@ -217,6 +224,38 @@ Screen recipes support `click`, `fill`, `check`, `press`, `wait`, and `storage`
217
224
  steps. Use deterministic recipes and assertions so each frame represents a
218
225
  repeatable application state.
219
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
+
220
259
  ## Capture artifact lifecycle
221
260
 
222
261
  Import the reusable capture primitives from