@riddledc/riddle-proof 0.7.11 → 0.7.13
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/basic-gameplay.cjs +1 -0
- package/dist/basic-gameplay.d.cts +1 -1
- package/dist/basic-gameplay.d.ts +1 -1
- package/dist/basic-gameplay.js +1 -1
- package/dist/{chunk-3CVGVQTQ.js → chunk-5KOHSE4V.js} +1 -0
- package/dist/{chunk-5A4SL6CX.js → chunk-I5D7F46V.js} +1 -0
- package/dist/cli.cjs +1 -0
- package/dist/cli.js +1 -1
- package/dist/index.cjs +2 -0
- package/dist/index.js +2 -2
- package/dist/proof-run-engine.d.cts +3 -3
- package/dist/proof-run-engine.d.ts +3 -3
- package/dist/riddle-client.cjs +1 -0
- package/dist/riddle-client.d.cts +1 -0
- package/dist/riddle-client.d.ts +1 -0
- package/dist/riddle-client.js +1 -1
- package/package.json +1 -1
package/dist/basic-gameplay.cjs
CHANGED
|
@@ -36,7 +36,7 @@ interface BasicGameplayActionResult {
|
|
|
36
36
|
action?: string;
|
|
37
37
|
[key: string]: unknown;
|
|
38
38
|
}
|
|
39
|
-
declare const BASIC_GAMEPLAY_ACTION_TYPES: readonly ["wait", "key", "key-down", "key-up", "hold-key", "repeat", "click", "click-by-text", "canvas-click", "canvas-pointer-down", "canvas-pointer-move", "canvas-pointer-up", "wait-for-text", "window-call", "evaluate"];
|
|
39
|
+
declare const BASIC_GAMEPLAY_ACTION_TYPES: readonly ["wait", "key", "key-down", "key-up", "hold-key", "repeat", "click", "click-by-text", "set-input-value", "canvas-click", "canvas-pointer-down", "canvas-pointer-move", "canvas-pointer-up", "wait-for-text", "window-call", "evaluate"];
|
|
40
40
|
declare const BASIC_GAMEPLAY_PROGRESS_CHECK_TYPES: readonly ["selector_count_increases", "selector_count_at_least", "selector_absent", "selector_text_matches", "number_increases", "number_decreases", "number_at_least", "number_gte", "number_unchanged", "number_stays_equal", "number_equals", "canvas_hash_changes", "screenshot_hash_changes", "visual_hash_changes", "state_changes"];
|
|
41
41
|
type BasicGameplayActionType = typeof BASIC_GAMEPLAY_ACTION_TYPES[number] | (string & {});
|
|
42
42
|
type BasicGameplayProgressCheckType = typeof BASIC_GAMEPLAY_PROGRESS_CHECK_TYPES[number] | (string & {});
|
package/dist/basic-gameplay.d.ts
CHANGED
|
@@ -36,7 +36,7 @@ interface BasicGameplayActionResult {
|
|
|
36
36
|
action?: string;
|
|
37
37
|
[key: string]: unknown;
|
|
38
38
|
}
|
|
39
|
-
declare const BASIC_GAMEPLAY_ACTION_TYPES: readonly ["wait", "key", "key-down", "key-up", "hold-key", "repeat", "click", "click-by-text", "canvas-click", "canvas-pointer-down", "canvas-pointer-move", "canvas-pointer-up", "wait-for-text", "window-call", "evaluate"];
|
|
39
|
+
declare const BASIC_GAMEPLAY_ACTION_TYPES: readonly ["wait", "key", "key-down", "key-up", "hold-key", "repeat", "click", "click-by-text", "set-input-value", "canvas-click", "canvas-pointer-down", "canvas-pointer-move", "canvas-pointer-up", "wait-for-text", "window-call", "evaluate"];
|
|
40
40
|
declare const BASIC_GAMEPLAY_PROGRESS_CHECK_TYPES: readonly ["selector_count_increases", "selector_count_at_least", "selector_absent", "selector_text_matches", "number_increases", "number_decreases", "number_at_least", "number_gte", "number_unchanged", "number_stays_equal", "number_equals", "canvas_hash_changes", "screenshot_hash_changes", "visual_hash_changes", "state_changes"];
|
|
41
41
|
type BasicGameplayActionType = typeof BASIC_GAMEPLAY_ACTION_TYPES[number] | (string & {});
|
|
42
42
|
type BasicGameplayProgressCheckType = typeof BASIC_GAMEPLAY_PROGRESS_CHECK_TYPES[number] | (string & {});
|
package/dist/basic-gameplay.js
CHANGED
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
extractBasicGameplayEvidence,
|
|
17
17
|
resolveBasicGameplayProgressionCheckWithArtifactScreenshots,
|
|
18
18
|
sanitizeBasicGameplayJsonString
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-I5D7F46V.js";
|
|
20
20
|
export {
|
|
21
21
|
BASIC_GAMEPLAY_ACTION_TYPES,
|
|
22
22
|
BASIC_GAMEPLAY_PROGRESS_CHECK_TYPES,
|
|
@@ -186,6 +186,7 @@ async function runRiddleScript(config, input) {
|
|
|
186
186
|
};
|
|
187
187
|
if (input.viewport) payload.viewport = input.viewport;
|
|
188
188
|
if (input.include) payload.include = input.include;
|
|
189
|
+
if (typeof input.strict === "boolean") payload.strict = input.strict;
|
|
189
190
|
if (input.options) payload.options = input.options;
|
|
190
191
|
return riddleRequestJson(config, "/v1/run", {
|
|
191
192
|
method: "POST",
|
package/dist/cli.cjs
CHANGED
|
@@ -6733,6 +6733,7 @@ async function runRiddleScript(config, input) {
|
|
|
6733
6733
|
};
|
|
6734
6734
|
if (input.viewport) payload.viewport = input.viewport;
|
|
6735
6735
|
if (input.include) payload.include = input.include;
|
|
6736
|
+
if (typeof input.strict === "boolean") payload.strict = input.strict;
|
|
6736
6737
|
if (input.options) payload.options = input.options;
|
|
6737
6738
|
return riddleRequestJson(config, "/v1/run", {
|
|
6738
6739
|
method: "POST",
|
package/dist/cli.js
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -7820,6 +7820,7 @@ var BASIC_GAMEPLAY_ACTION_TYPES = [
|
|
|
7820
7820
|
"repeat",
|
|
7821
7821
|
"click",
|
|
7822
7822
|
"click-by-text",
|
|
7823
|
+
"set-input-value",
|
|
7823
7824
|
"canvas-click",
|
|
7824
7825
|
"canvas-pointer-down",
|
|
7825
7826
|
"canvas-pointer-move",
|
|
@@ -9794,6 +9795,7 @@ async function runRiddleScript(config, input) {
|
|
|
9794
9795
|
};
|
|
9795
9796
|
if (input.viewport) payload.viewport = input.viewport;
|
|
9796
9797
|
if (input.include) payload.include = input.include;
|
|
9798
|
+
if (typeof input.strict === "boolean") payload.strict = input.strict;
|
|
9797
9799
|
if (input.options) payload.options = input.options;
|
|
9798
9800
|
return riddleRequestJson(config, "/v1/run", {
|
|
9799
9801
|
method: "POST",
|
package/dist/index.js
CHANGED
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
extractBasicGameplayEvidence,
|
|
37
37
|
resolveBasicGameplayProgressionCheckWithArtifactScreenshots,
|
|
38
38
|
sanitizeBasicGameplayJsonString
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-I5D7F46V.js";
|
|
40
40
|
import {
|
|
41
41
|
RIDDLE_PROOF_PROFILE_CHECK_TYPES,
|
|
42
42
|
RIDDLE_PROOF_PROFILE_EVIDENCE_VERSION,
|
|
@@ -71,7 +71,7 @@ import {
|
|
|
71
71
|
riddleRequestJson,
|
|
72
72
|
runRiddleScript,
|
|
73
73
|
runRiddleServerPreview
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-5KOHSE4V.js";
|
|
75
75
|
import {
|
|
76
76
|
DEFAULT_DIAGNOSTIC_ARRAY_LIMIT,
|
|
77
77
|
DEFAULT_DIAGNOSTIC_HISTORY_LIMIT,
|
|
@@ -292,7 +292,7 @@ declare function executeWorkflow(params: WorkflowParams, pluginConfig: any, reso
|
|
|
292
292
|
blocking?: boolean;
|
|
293
293
|
details?: Record<string, unknown>;
|
|
294
294
|
ok: boolean;
|
|
295
|
-
action: "
|
|
295
|
+
action: "setup" | "recon" | "author" | "implement" | "verify" | "ship" | "run";
|
|
296
296
|
state_path: string;
|
|
297
297
|
stage: any;
|
|
298
298
|
summary: string;
|
|
@@ -382,7 +382,7 @@ declare function executeWorkflow(params: WorkflowParams, pluginConfig: any, reso
|
|
|
382
382
|
continueWithStage?: WorkflowStage | null;
|
|
383
383
|
blocking?: boolean;
|
|
384
384
|
details?: Record<string, unknown>;
|
|
385
|
-
action: "
|
|
385
|
+
action: "setup" | "recon" | "author" | "implement" | "verify" | "ship" | "run";
|
|
386
386
|
state_path: string;
|
|
387
387
|
stage: any;
|
|
388
388
|
checkpoint: string;
|
|
@@ -659,7 +659,7 @@ declare function executeWorkflow(params: WorkflowParams, pluginConfig: any, reso
|
|
|
659
659
|
error?: undefined;
|
|
660
660
|
} | {
|
|
661
661
|
ok: boolean;
|
|
662
|
-
action: "
|
|
662
|
+
action: "setup" | "recon" | "author" | "implement" | "verify" | "ship" | "run";
|
|
663
663
|
state_path: string;
|
|
664
664
|
stage: any;
|
|
665
665
|
summary: string;
|
|
@@ -292,7 +292,7 @@ declare function executeWorkflow(params: WorkflowParams, pluginConfig: any, reso
|
|
|
292
292
|
blocking?: boolean;
|
|
293
293
|
details?: Record<string, unknown>;
|
|
294
294
|
ok: boolean;
|
|
295
|
-
action: "
|
|
295
|
+
action: "setup" | "recon" | "author" | "implement" | "verify" | "ship" | "run";
|
|
296
296
|
state_path: string;
|
|
297
297
|
stage: any;
|
|
298
298
|
summary: string;
|
|
@@ -382,7 +382,7 @@ declare function executeWorkflow(params: WorkflowParams, pluginConfig: any, reso
|
|
|
382
382
|
continueWithStage?: WorkflowStage | null;
|
|
383
383
|
blocking?: boolean;
|
|
384
384
|
details?: Record<string, unknown>;
|
|
385
|
-
action: "
|
|
385
|
+
action: "setup" | "recon" | "author" | "implement" | "verify" | "ship" | "run";
|
|
386
386
|
state_path: string;
|
|
387
387
|
stage: any;
|
|
388
388
|
checkpoint: string;
|
|
@@ -659,7 +659,7 @@ declare function executeWorkflow(params: WorkflowParams, pluginConfig: any, reso
|
|
|
659
659
|
error?: undefined;
|
|
660
660
|
} | {
|
|
661
661
|
ok: boolean;
|
|
662
|
-
action: "
|
|
662
|
+
action: "setup" | "recon" | "author" | "implement" | "verify" | "ship" | "run";
|
|
663
663
|
state_path: string;
|
|
664
664
|
stage: any;
|
|
665
665
|
summary: string;
|
package/dist/riddle-client.cjs
CHANGED
|
@@ -231,6 +231,7 @@ async function runRiddleScript(config, input) {
|
|
|
231
231
|
};
|
|
232
232
|
if (input.viewport) payload.viewport = input.viewport;
|
|
233
233
|
if (input.include) payload.include = input.include;
|
|
234
|
+
if (typeof input.strict === "boolean") payload.strict = input.strict;
|
|
234
235
|
if (input.options) payload.options = input.options;
|
|
235
236
|
return riddleRequestJson(config, "/v1/run", {
|
|
236
237
|
method: "POST",
|
package/dist/riddle-client.d.cts
CHANGED
package/dist/riddle-client.d.ts
CHANGED
package/dist/riddle-client.js
CHANGED