@riddledc/riddle-proof 0.7.7 → 0.7.8

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
@@ -301,9 +301,10 @@ const catches = createBasicGameplayCatchRecords(assessment, evidence);
301
301
  ```
302
302
 
303
303
  The package owns generic contracts such as `state_path`, `state_call`,
304
- `property_path`, `number_unchanged`, held-key/window-call/evaluate action type
305
- constants, and JSON-safe text compaction. Site-specific manifests, selectors,
306
- and deterministic game scripts should stay in the caller.
304
+ `property_path`, `number_unchanged`, held-key, canvas-click,
305
+ canvas-pointer-down/move/up, window-call/evaluate action type constants, and
306
+ JSON-safe text compaction. Site-specific manifests, selectors, and
307
+ deterministic game scripts should stay in the caller.
307
308
 
308
309
  ### Server Preview Usage
309
310
 
@@ -51,6 +51,10 @@ var BASIC_GAMEPLAY_ACTION_TYPES = [
51
51
  "repeat",
52
52
  "click",
53
53
  "click-by-text",
54
+ "canvas-click",
55
+ "canvas-pointer-down",
56
+ "canvas-pointer-move",
57
+ "canvas-pointer-up",
54
58
  "wait-for-text",
55
59
  "window-call",
56
60
  "evaluate"
@@ -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", "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", "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", "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", "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-AHW7SL3W.js";
19
+ } from "./chunk-5A4SL6CX.js";
20
20
  export {
21
21
  BASIC_GAMEPLAY_ACTION_TYPES,
22
22
  BASIC_GAMEPLAY_PROGRESS_CHECK_TYPES,
@@ -11,6 +11,10 @@ var BASIC_GAMEPLAY_ACTION_TYPES = [
11
11
  "repeat",
12
12
  "click",
13
13
  "click-by-text",
14
+ "canvas-click",
15
+ "canvas-pointer-down",
16
+ "canvas-pointer-move",
17
+ "canvas-pointer-up",
14
18
  "wait-for-text",
15
19
  "window-call",
16
20
  "evaluate"
package/dist/index.cjs CHANGED
@@ -7818,6 +7818,10 @@ var BASIC_GAMEPLAY_ACTION_TYPES = [
7818
7818
  "repeat",
7819
7819
  "click",
7820
7820
  "click-by-text",
7821
+ "canvas-click",
7822
+ "canvas-pointer-down",
7823
+ "canvas-pointer-move",
7824
+ "canvas-pointer-up",
7821
7825
  "wait-for-text",
7822
7826
  "window-call",
7823
7827
  "evaluate"
package/dist/index.js CHANGED
@@ -36,7 +36,7 @@ import {
36
36
  extractBasicGameplayEvidence,
37
37
  resolveBasicGameplayProgressionCheckWithArtifactScreenshots,
38
38
  sanitizeBasicGameplayJsonString
39
- } from "./chunk-AHW7SL3W.js";
39
+ } from "./chunk-5A4SL6CX.js";
40
40
  import {
41
41
  RIDDLE_PROOF_PROFILE_CHECK_TYPES,
42
42
  RIDDLE_PROOF_PROFILE_EVIDENCE_VERSION,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riddledc/riddle-proof",
3
- "version": "0.7.7",
3
+ "version": "0.7.8",
4
4
  "description": "Reusable Riddle Proof contracts and helpers for evidence-backed agent changes.",
5
5
  "license": "MIT",
6
6
  "author": "RiddleDC",