@devfellowship/components 3.2.0 → 3.2.1
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/dist/cli.js +3 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -190,7 +190,8 @@ var v1_schema_default = {
|
|
|
190
190
|
navigation_path: {
|
|
191
191
|
type: "array",
|
|
192
192
|
items: { $ref: "#/$defs/navigationStep" },
|
|
193
|
-
description: "v1.1 \u2014 ordered
|
|
193
|
+
description: "v1.1 \u2014 the ordered SEQUENCE of UI actions that reaches this screen from the app entrypoint. A runner executes EVERY entry, in array order, and the screen is reached only after the last one. Entry N+1 is the step that follows entry N; it is never an alternative selector for it, and a runner must not stop at the first selector that matches. Used by e2e-user-persona to auto-generate persona scripts instead of LLM-driven discovery.",
|
|
194
|
+
$comment: "This field is a SEQUENCE, not a fallback list. Tainan settled it on 2026-08-13. The v1.1 wording described BOTH structures in one paragraph \u2014 'ordered list of actions to navigate to this screen' and, two sentences later, 'the runner tries them in order and the first matching selector wins' \u2014 and the JSON shape is identical under either reading, so the same document validated while two implementations disagreed about what it meant. Only the sequence reading survives. Alternative selectors for a SINGLE step are not expressible in v1: a screen that needs them wants a new field in a later version, not a second entry here."
|
|
194
195
|
},
|
|
195
196
|
prerequisites: {
|
|
196
197
|
$ref: "#/$defs/prerequisites",
|
|
@@ -362,6 +363,7 @@ var v1_schema_default = {
|
|
|
362
363
|
type: "object",
|
|
363
364
|
required: ["selector", "action"],
|
|
364
365
|
additionalProperties: false,
|
|
366
|
+
description: "v1.1 \u2014 ONE step of a screen's `navigation_path`. The steps form a sequence: every step runs, in array order. A step is not an alternative to the step before it.",
|
|
365
367
|
properties: {
|
|
366
368
|
selector: {
|
|
367
369
|
type: "string",
|