@riddledc/riddle-proof 0.7.55 → 0.7.56
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 +3 -0
- package/dist/cli.cjs +2 -1
- package/dist/cli.js +2 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -174,6 +174,9 @@ riddle-proof-loop run-profile \
|
|
|
174
174
|
Hosted profile runs emit Riddle poll progress to stderr while waiting. Use
|
|
175
175
|
`--quiet` to suppress progress lines, or `--progress-every-ms` to tune the
|
|
176
176
|
heartbeat cadence for long route-inventory or workflow profiles.
|
|
177
|
+
Strict Riddle script validation remains on by default; use `--strict=false`
|
|
178
|
+
only for trusted profile-generated scripts when the validator blocks a large
|
|
179
|
+
workflow profile.
|
|
177
180
|
|
|
178
181
|
The package includes a generic starter profile at
|
|
179
182
|
`examples/profiles/page-content-basic.json`; copy that shape into a repository
|
package/dist/cli.cjs
CHANGED
|
@@ -10276,7 +10276,7 @@ function usage() {
|
|
|
10276
10276
|
" riddle-proof-loop respond --state-path <path> --response-json <file|json|->",
|
|
10277
10277
|
" riddle-proof-loop respond --state-path <path> --decision <decision> --summary <text> [--payload-json <file|json|->]",
|
|
10278
10278
|
" riddle-proof-loop status --state-path <path>",
|
|
10279
|
-
" riddle-proof-loop run-profile --profile <file|json|-> --url <base-url> [--runner riddle] [--output <dir>] [--quiet]",
|
|
10279
|
+
" riddle-proof-loop run-profile --profile <file|json|-> --url <base-url> [--runner riddle] [--strict true|false] [--output <dir>] [--quiet]",
|
|
10280
10280
|
" riddle-proof-loop riddle-preview-deploy <build-dir> <label>",
|
|
10281
10281
|
" riddle-proof-loop riddle-server-preview <directory> --script-file <file> [--path /route] [--wait-for-selector selector]",
|
|
10282
10282
|
" riddle-proof-loop riddle-run-script --url <url> --script-file <file> [--viewport 1280x720] [--strict true|false]",
|
|
@@ -10634,6 +10634,7 @@ async function runProfileForCli(profile, options) {
|
|
|
10634
10634
|
profile,
|
|
10635
10635
|
optionString(options, "timeout") ? Number(optionString(options, "timeout")) : void 0
|
|
10636
10636
|
),
|
|
10637
|
+
strict: optionBoolean(options, "strict"),
|
|
10637
10638
|
sync: options.sync === true ? true : void 0
|
|
10638
10639
|
});
|
|
10639
10640
|
} catch (error) {
|
package/dist/cli.js
CHANGED
|
@@ -44,7 +44,7 @@ function usage() {
|
|
|
44
44
|
" riddle-proof-loop respond --state-path <path> --response-json <file|json|->",
|
|
45
45
|
" riddle-proof-loop respond --state-path <path> --decision <decision> --summary <text> [--payload-json <file|json|->]",
|
|
46
46
|
" riddle-proof-loop status --state-path <path>",
|
|
47
|
-
" riddle-proof-loop run-profile --profile <file|json|-> --url <base-url> [--runner riddle] [--output <dir>] [--quiet]",
|
|
47
|
+
" riddle-proof-loop run-profile --profile <file|json|-> --url <base-url> [--runner riddle] [--strict true|false] [--output <dir>] [--quiet]",
|
|
48
48
|
" riddle-proof-loop riddle-preview-deploy <build-dir> <label>",
|
|
49
49
|
" riddle-proof-loop riddle-server-preview <directory> --script-file <file> [--path /route] [--wait-for-selector selector]",
|
|
50
50
|
" riddle-proof-loop riddle-run-script --url <url> --script-file <file> [--viewport 1280x720] [--strict true|false]",
|
|
@@ -402,6 +402,7 @@ async function runProfileForCli(profile, options) {
|
|
|
402
402
|
profile,
|
|
403
403
|
optionString(options, "timeout") ? Number(optionString(options, "timeout")) : void 0
|
|
404
404
|
),
|
|
405
|
+
strict: optionBoolean(options, "strict"),
|
|
405
406
|
sync: options.sync === true ? true : void 0
|
|
406
407
|
});
|
|
407
408
|
} catch (error) {
|