@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.
@@ -51,6 +51,7 @@ var BASIC_GAMEPLAY_ACTION_TYPES = [
51
51
  "repeat",
52
52
  "click",
53
53
  "click-by-text",
54
+ "set-input-value",
54
55
  "canvas-click",
55
56
  "canvas-pointer-down",
56
57
  "canvas-pointer-move",
@@ -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 & {});
@@ -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 & {});
@@ -16,7 +16,7 @@ import {
16
16
  extractBasicGameplayEvidence,
17
17
  resolveBasicGameplayProgressionCheckWithArtifactScreenshots,
18
18
  sanitizeBasicGameplayJsonString
19
- } from "./chunk-5A4SL6CX.js";
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",
@@ -11,6 +11,7 @@ var BASIC_GAMEPLAY_ACTION_TYPES = [
11
11
  "repeat",
12
12
  "click",
13
13
  "click-by-text",
14
+ "set-input-value",
14
15
  "canvas-click",
15
16
  "canvas-pointer-down",
16
17
  "canvas-pointer-move",
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
@@ -13,7 +13,7 @@ import {
13
13
  import {
14
14
  createRiddleApiClient,
15
15
  parseRiddleViewport
16
- } from "./chunk-3CVGVQTQ.js";
16
+ } from "./chunk-5KOHSE4V.js";
17
17
  import {
18
18
  createDisabledRiddleProofAgentAdapter,
19
19
  readRiddleProofRunStatus,
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-5A4SL6CX.js";
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-3CVGVQTQ.js";
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: "author" | "recon" | "ship" | "implement" | "verify" | "setup" | "run";
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: "author" | "recon" | "ship" | "implement" | "verify" | "setup" | "run";
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: "author" | "recon" | "ship" | "implement" | "verify" | "setup" | "run";
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: "author" | "recon" | "ship" | "implement" | "verify" | "setup" | "run";
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: "author" | "recon" | "ship" | "implement" | "verify" | "setup" | "run";
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: "author" | "recon" | "ship" | "implement" | "verify" | "setup" | "run";
662
+ action: "setup" | "recon" | "author" | "implement" | "verify" | "ship" | "run";
663
663
  state_path: string;
664
664
  stage: any;
665
665
  summary: string;
@@ -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",
@@ -26,6 +26,7 @@ interface RiddleRunScriptInput {
26
26
  };
27
27
  timeoutSec?: number;
28
28
  sync?: boolean;
29
+ strict?: boolean;
29
30
  include?: string[];
30
31
  options?: Record<string, unknown>;
31
32
  }
@@ -26,6 +26,7 @@ interface RiddleRunScriptInput {
26
26
  };
27
27
  timeoutSec?: number;
28
28
  sync?: boolean;
29
+ strict?: boolean;
29
30
  include?: string[];
30
31
  options?: Record<string, unknown>;
31
32
  }
@@ -11,7 +11,7 @@ import {
11
11
  riddleRequestJson,
12
12
  runRiddleScript,
13
13
  runRiddleServerPreview
14
- } from "./chunk-3CVGVQTQ.js";
14
+ } from "./chunk-5KOHSE4V.js";
15
15
  export {
16
16
  DEFAULT_RIDDLE_API_BASE_URL,
17
17
  DEFAULT_RIDDLE_API_KEY_FILE,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riddledc/riddle-proof",
3
- "version": "0.7.11",
3
+ "version": "0.7.13",
4
4
  "description": "Reusable Riddle Proof contracts and helpers for evidence-backed agent changes.",
5
5
  "license": "MIT",
6
6
  "author": "RiddleDC",