@riddledc/riddle-proof 0.7.34 → 0.7.36

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/profile.d.ts CHANGED
@@ -4,7 +4,7 @@ declare const RIDDLE_PROOF_PROFILE_VERSION: "riddle-proof.profile.v1";
4
4
  declare const RIDDLE_PROOF_PROFILE_EVIDENCE_VERSION: "riddle-proof.profile-evidence.v1";
5
5
  declare const RIDDLE_PROOF_PROFILE_RESULT_VERSION: "riddle-proof.profile-result.v1";
6
6
  declare const RIDDLE_PROOF_PROFILE_STATUSES: readonly ["passed", "product_regression", "proof_insufficient", "environment_blocked", "configuration_error", "needs_human_review"];
7
- declare const RIDDLE_PROOF_PROFILE_CHECK_TYPES: readonly ["route_loaded", "selector_visible", "selector_count_at_least", "text_visible", "text_absent", "route_inventory", "no_horizontal_overflow", "no_mobile_horizontal_overflow", "no_fatal_console_errors"];
7
+ declare const RIDDLE_PROOF_PROFILE_CHECK_TYPES: readonly ["route_loaded", "selector_visible", "selector_count_at_least", "selector_text_order", "text_visible", "text_absent", "route_inventory", "no_horizontal_overflow", "no_mobile_horizontal_overflow", "no_fatal_console_errors"];
8
8
  declare const RIDDLE_PROOF_PROFILE_SETUP_ACTION_TYPES: readonly ["click", "fill", "set_input_value", "local_storage", "session_storage", "clear_storage", "wait", "wait_for_selector", "wait_for_text"];
9
9
  type RiddleProofProfileStatus = typeof RIDDLE_PROOF_PROFILE_STATUSES[number];
10
10
  type RiddleProofProfileCheckType = typeof RIDDLE_PROOF_PROFILE_CHECK_TYPES[number];
@@ -66,6 +66,7 @@ interface RiddleProofProfileCheck {
66
66
  expected_path?: string;
67
67
  expected_routes?: RiddleProofProfileRouteInventoryRoute[];
68
68
  selector?: string;
69
+ expected_texts?: string[];
69
70
  link_selector?: string;
70
71
  source_selector?: string;
71
72
  route_path_prefix?: string;
@@ -81,6 +82,7 @@ interface RiddleProofProfileCheck {
81
82
  timeout_ms?: number;
82
83
  run_direct_routes?: boolean;
83
84
  run_clickthroughs?: boolean;
85
+ run_all_viewports?: boolean;
84
86
  require_unique_routes?: boolean;
85
87
  allow_unexpected_routes?: boolean;
86
88
  save_route_screenshots?: boolean;
@@ -137,6 +139,7 @@ interface RiddleProofProfileViewportEvidence {
137
139
  count: number;
138
140
  visible_count: number;
139
141
  }>;
142
+ text_sequences?: Record<string, Record<string, JsonValue>>;
140
143
  text_matches?: Record<string, boolean>;
141
144
  route_inventory?: Record<string, JsonValue>;
142
145
  setup_action_results?: Array<Record<string, JsonValue>>;
package/dist/profile.js CHANGED
@@ -19,7 +19,7 @@ import {
19
19
  resolveRiddleProofProfileTimeoutSec,
20
20
  slugifyRiddleProofProfileName,
21
21
  summarizeRiddleProofProfileResult
22
- } from "./chunk-PWGJQLOS.js";
22
+ } from "./chunk-VEK6QHPE.js";
23
23
  export {
24
24
  RIDDLE_PROOF_PROFILE_CHECK_TYPES,
25
25
  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.34",
3
+ "version": "0.7.36",
4
4
  "description": "Reusable Riddle Proof contracts and helpers for evidence-backed agent changes.",
5
5
  "license": "MIT",
6
6
  "author": "RiddleDC",