@riddledc/riddle-proof 0.5.57 → 0.7.0

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.
@@ -0,0 +1,175 @@
1
+ import { JsonValue } from './types.cjs';
2
+
3
+ declare const RIDDLE_PROOF_PROFILE_VERSION: "riddle-proof.profile.v1";
4
+ declare const RIDDLE_PROOF_PROFILE_EVIDENCE_VERSION: "riddle-proof.profile-evidence.v1";
5
+ declare const RIDDLE_PROOF_PROFILE_RESULT_VERSION: "riddle-proof.profile-result.v1";
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", "no_horizontal_overflow", "no_mobile_horizontal_overflow", "no_fatal_console_errors"];
8
+ type RiddleProofProfileStatus = typeof RIDDLE_PROOF_PROFILE_STATUSES[number];
9
+ type RiddleProofProfileCheckType = typeof RIDDLE_PROOF_PROFILE_CHECK_TYPES[number];
10
+ type RiddleProofProfileRunner = "riddle" | "local-playwright" | "browserless" | "github-actions" | (string & {});
11
+ type RiddleProofProfileFailureAction = "fail" | "neutral" | "review";
12
+ type RiddleProofProfileBaselinePolicy = "invariant_only" | "production_comparison" | "last_accepted_artifact" | "golden_reference_artifact" | (string & {});
13
+ interface RiddleProofProfileViewport {
14
+ name: string;
15
+ width: number;
16
+ height: number;
17
+ }
18
+ interface RiddleProofProfileTarget {
19
+ url?: string;
20
+ route?: string;
21
+ viewports: RiddleProofProfileViewport[];
22
+ auth?: "none" | (string & {});
23
+ wait_for_selector?: string;
24
+ wait_ms?: number;
25
+ }
26
+ interface RiddleProofProfileCheck {
27
+ type: RiddleProofProfileCheckType;
28
+ label?: string;
29
+ expected_path?: string;
30
+ selector?: string;
31
+ text?: string;
32
+ pattern?: string;
33
+ flags?: string;
34
+ min_count?: number;
35
+ max_overflow_px?: number;
36
+ }
37
+ interface RiddleProofProfile {
38
+ version: typeof RIDDLE_PROOF_PROFILE_VERSION;
39
+ name: string;
40
+ target: RiddleProofProfileTarget;
41
+ checks: RiddleProofProfileCheck[];
42
+ artifacts: string[];
43
+ baseline_policy: RiddleProofProfileBaselinePolicy;
44
+ failure_policy: Partial<Record<RiddleProofProfileStatus, RiddleProofProfileFailureAction>>;
45
+ metadata?: Record<string, JsonValue>;
46
+ }
47
+ interface RiddleProofProfileRouteEvidence {
48
+ requested: string;
49
+ observed: string;
50
+ expected_path?: string;
51
+ matched: boolean;
52
+ http_status?: number | null;
53
+ error?: string;
54
+ }
55
+ interface RiddleProofProfileViewportEvidence {
56
+ name: string;
57
+ width: number;
58
+ height: number;
59
+ url?: string;
60
+ route: RiddleProofProfileRouteEvidence;
61
+ title?: string;
62
+ body_text_length?: number;
63
+ body_text_sample?: string;
64
+ scroll_width?: number;
65
+ client_width?: number;
66
+ overflow_px?: number;
67
+ selectors?: Record<string, {
68
+ count: number;
69
+ visible_count: number;
70
+ }>;
71
+ text_matches?: Record<string, boolean>;
72
+ screenshot_label?: string;
73
+ navigation_error?: string;
74
+ wait_error?: string;
75
+ }
76
+ interface RiddleProofProfileEvidence {
77
+ version: typeof RIDDLE_PROOF_PROFILE_EVIDENCE_VERSION;
78
+ profile_name: string;
79
+ target_url: string;
80
+ baseline_policy: RiddleProofProfileBaselinePolicy;
81
+ captured_at: string;
82
+ viewports: RiddleProofProfileViewportEvidence[];
83
+ console: {
84
+ events: Array<{
85
+ type: string;
86
+ text: string;
87
+ location?: JsonValue;
88
+ }>;
89
+ fatal_count: number;
90
+ };
91
+ page_errors: Array<{
92
+ message: string;
93
+ }>;
94
+ dom_summary?: Record<string, JsonValue>;
95
+ }
96
+ interface RiddleProofProfileCheckResult {
97
+ type: RiddleProofProfileCheckType | (string & {});
98
+ label?: string;
99
+ status: "passed" | "failed" | "skipped" | "needs_human_review";
100
+ evidence: Record<string, JsonValue>;
101
+ message?: string;
102
+ }
103
+ interface RiddleProofProfileResult {
104
+ version: typeof RIDDLE_PROOF_PROFILE_RESULT_VERSION;
105
+ profile_name: string;
106
+ runner: RiddleProofProfileRunner;
107
+ status: RiddleProofProfileStatus;
108
+ baseline_policy: RiddleProofProfileBaselinePolicy;
109
+ route: RiddleProofProfileRouteEvidence;
110
+ artifacts: {
111
+ screenshots: string[];
112
+ console?: string;
113
+ proof_json?: string;
114
+ dom_summary?: string;
115
+ riddle_artifacts?: RiddleProofProfileArtifactRef[];
116
+ };
117
+ checks: RiddleProofProfileCheckResult[];
118
+ summary: string;
119
+ captured_at: string;
120
+ evidence?: RiddleProofProfileEvidence;
121
+ riddle?: {
122
+ job_id?: string;
123
+ status?: string | null;
124
+ terminal?: boolean;
125
+ };
126
+ error?: string;
127
+ }
128
+ interface RiddleProofProfileArtifactRef {
129
+ name: string;
130
+ url?: string;
131
+ path?: string;
132
+ kind?: string;
133
+ content_type?: string;
134
+ source?: string;
135
+ }
136
+ interface NormalizeRiddleProofProfileOptions {
137
+ url?: string;
138
+ route?: string;
139
+ viewports?: RiddleProofProfileViewport[];
140
+ }
141
+ declare function slugifyRiddleProofProfileName(value: string): string;
142
+ declare function normalizeRiddleProofProfile(input: unknown, options?: NormalizeRiddleProofProfileOptions): RiddleProofProfile;
143
+ declare function resolveRiddleProofProfileTargetUrl(profile: RiddleProofProfile): string;
144
+ declare function assessRiddleProofProfileEvidence(profile: RiddleProofProfile, evidence: RiddleProofProfileEvidence | undefined, options?: {
145
+ runner?: RiddleProofProfileRunner;
146
+ riddle?: RiddleProofProfileResult["riddle"];
147
+ artifacts?: RiddleProofProfileArtifactRef[];
148
+ }): RiddleProofProfileResult;
149
+ declare function summarizeRiddleProofProfileResult(input: {
150
+ profile_name: string;
151
+ status: RiddleProofProfileStatus;
152
+ checks: RiddleProofProfileCheckResult[];
153
+ viewports: RiddleProofProfileViewportEvidence[];
154
+ }): string;
155
+ declare function profileStatusExitCode(profile: RiddleProofProfile, status: RiddleProofProfileStatus): 0 | 1;
156
+ declare function createRiddleProofProfileConfigurationError(name: string, error: unknown, runner?: RiddleProofProfileRunner): RiddleProofProfileResult;
157
+ declare function createRiddleProofProfileEnvironmentBlockedResult(input: {
158
+ profile: RiddleProofProfile;
159
+ runner?: RiddleProofProfileRunner;
160
+ error?: unknown;
161
+ riddle?: RiddleProofProfileResult["riddle"];
162
+ artifacts?: RiddleProofProfileArtifactRef[];
163
+ }): RiddleProofProfileResult;
164
+ declare function createRiddleProofProfileInsufficientResult(input: {
165
+ profile: RiddleProofProfile;
166
+ runner?: RiddleProofProfileRunner;
167
+ error?: unknown;
168
+ riddle?: RiddleProofProfileResult["riddle"];
169
+ artifacts?: RiddleProofProfileArtifactRef[];
170
+ }): RiddleProofProfileResult;
171
+ declare function buildRiddleProofProfileScript(profile: RiddleProofProfile): string;
172
+ declare function collectRiddleProfileArtifactRefs(input: unknown): RiddleProofProfileArtifactRef[];
173
+ declare function extractRiddleProofProfileResult(input: unknown): RiddleProofProfileResult | undefined;
174
+
175
+ export { type NormalizeRiddleProofProfileOptions, RIDDLE_PROOF_PROFILE_CHECK_TYPES, RIDDLE_PROOF_PROFILE_EVIDENCE_VERSION, RIDDLE_PROOF_PROFILE_RESULT_VERSION, RIDDLE_PROOF_PROFILE_STATUSES, RIDDLE_PROOF_PROFILE_VERSION, type RiddleProofProfile, type RiddleProofProfileArtifactRef, type RiddleProofProfileBaselinePolicy, type RiddleProofProfileCheck, type RiddleProofProfileCheckResult, type RiddleProofProfileCheckType, type RiddleProofProfileEvidence, type RiddleProofProfileFailureAction, type RiddleProofProfileResult, type RiddleProofProfileRouteEvidence, type RiddleProofProfileRunner, type RiddleProofProfileStatus, type RiddleProofProfileTarget, type RiddleProofProfileViewport, type RiddleProofProfileViewportEvidence, assessRiddleProofProfileEvidence, buildRiddleProofProfileScript, collectRiddleProfileArtifactRefs, createRiddleProofProfileConfigurationError, createRiddleProofProfileEnvironmentBlockedResult, createRiddleProofProfileInsufficientResult, extractRiddleProofProfileResult, normalizeRiddleProofProfile, profileStatusExitCode, resolveRiddleProofProfileTargetUrl, slugifyRiddleProofProfileName, summarizeRiddleProofProfileResult };
@@ -0,0 +1,175 @@
1
+ import { JsonValue } from './types.js';
2
+
3
+ declare const RIDDLE_PROOF_PROFILE_VERSION: "riddle-proof.profile.v1";
4
+ declare const RIDDLE_PROOF_PROFILE_EVIDENCE_VERSION: "riddle-proof.profile-evidence.v1";
5
+ declare const RIDDLE_PROOF_PROFILE_RESULT_VERSION: "riddle-proof.profile-result.v1";
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", "no_horizontal_overflow", "no_mobile_horizontal_overflow", "no_fatal_console_errors"];
8
+ type RiddleProofProfileStatus = typeof RIDDLE_PROOF_PROFILE_STATUSES[number];
9
+ type RiddleProofProfileCheckType = typeof RIDDLE_PROOF_PROFILE_CHECK_TYPES[number];
10
+ type RiddleProofProfileRunner = "riddle" | "local-playwright" | "browserless" | "github-actions" | (string & {});
11
+ type RiddleProofProfileFailureAction = "fail" | "neutral" | "review";
12
+ type RiddleProofProfileBaselinePolicy = "invariant_only" | "production_comparison" | "last_accepted_artifact" | "golden_reference_artifact" | (string & {});
13
+ interface RiddleProofProfileViewport {
14
+ name: string;
15
+ width: number;
16
+ height: number;
17
+ }
18
+ interface RiddleProofProfileTarget {
19
+ url?: string;
20
+ route?: string;
21
+ viewports: RiddleProofProfileViewport[];
22
+ auth?: "none" | (string & {});
23
+ wait_for_selector?: string;
24
+ wait_ms?: number;
25
+ }
26
+ interface RiddleProofProfileCheck {
27
+ type: RiddleProofProfileCheckType;
28
+ label?: string;
29
+ expected_path?: string;
30
+ selector?: string;
31
+ text?: string;
32
+ pattern?: string;
33
+ flags?: string;
34
+ min_count?: number;
35
+ max_overflow_px?: number;
36
+ }
37
+ interface RiddleProofProfile {
38
+ version: typeof RIDDLE_PROOF_PROFILE_VERSION;
39
+ name: string;
40
+ target: RiddleProofProfileTarget;
41
+ checks: RiddleProofProfileCheck[];
42
+ artifacts: string[];
43
+ baseline_policy: RiddleProofProfileBaselinePolicy;
44
+ failure_policy: Partial<Record<RiddleProofProfileStatus, RiddleProofProfileFailureAction>>;
45
+ metadata?: Record<string, JsonValue>;
46
+ }
47
+ interface RiddleProofProfileRouteEvidence {
48
+ requested: string;
49
+ observed: string;
50
+ expected_path?: string;
51
+ matched: boolean;
52
+ http_status?: number | null;
53
+ error?: string;
54
+ }
55
+ interface RiddleProofProfileViewportEvidence {
56
+ name: string;
57
+ width: number;
58
+ height: number;
59
+ url?: string;
60
+ route: RiddleProofProfileRouteEvidence;
61
+ title?: string;
62
+ body_text_length?: number;
63
+ body_text_sample?: string;
64
+ scroll_width?: number;
65
+ client_width?: number;
66
+ overflow_px?: number;
67
+ selectors?: Record<string, {
68
+ count: number;
69
+ visible_count: number;
70
+ }>;
71
+ text_matches?: Record<string, boolean>;
72
+ screenshot_label?: string;
73
+ navigation_error?: string;
74
+ wait_error?: string;
75
+ }
76
+ interface RiddleProofProfileEvidence {
77
+ version: typeof RIDDLE_PROOF_PROFILE_EVIDENCE_VERSION;
78
+ profile_name: string;
79
+ target_url: string;
80
+ baseline_policy: RiddleProofProfileBaselinePolicy;
81
+ captured_at: string;
82
+ viewports: RiddleProofProfileViewportEvidence[];
83
+ console: {
84
+ events: Array<{
85
+ type: string;
86
+ text: string;
87
+ location?: JsonValue;
88
+ }>;
89
+ fatal_count: number;
90
+ };
91
+ page_errors: Array<{
92
+ message: string;
93
+ }>;
94
+ dom_summary?: Record<string, JsonValue>;
95
+ }
96
+ interface RiddleProofProfileCheckResult {
97
+ type: RiddleProofProfileCheckType | (string & {});
98
+ label?: string;
99
+ status: "passed" | "failed" | "skipped" | "needs_human_review";
100
+ evidence: Record<string, JsonValue>;
101
+ message?: string;
102
+ }
103
+ interface RiddleProofProfileResult {
104
+ version: typeof RIDDLE_PROOF_PROFILE_RESULT_VERSION;
105
+ profile_name: string;
106
+ runner: RiddleProofProfileRunner;
107
+ status: RiddleProofProfileStatus;
108
+ baseline_policy: RiddleProofProfileBaselinePolicy;
109
+ route: RiddleProofProfileRouteEvidence;
110
+ artifacts: {
111
+ screenshots: string[];
112
+ console?: string;
113
+ proof_json?: string;
114
+ dom_summary?: string;
115
+ riddle_artifacts?: RiddleProofProfileArtifactRef[];
116
+ };
117
+ checks: RiddleProofProfileCheckResult[];
118
+ summary: string;
119
+ captured_at: string;
120
+ evidence?: RiddleProofProfileEvidence;
121
+ riddle?: {
122
+ job_id?: string;
123
+ status?: string | null;
124
+ terminal?: boolean;
125
+ };
126
+ error?: string;
127
+ }
128
+ interface RiddleProofProfileArtifactRef {
129
+ name: string;
130
+ url?: string;
131
+ path?: string;
132
+ kind?: string;
133
+ content_type?: string;
134
+ source?: string;
135
+ }
136
+ interface NormalizeRiddleProofProfileOptions {
137
+ url?: string;
138
+ route?: string;
139
+ viewports?: RiddleProofProfileViewport[];
140
+ }
141
+ declare function slugifyRiddleProofProfileName(value: string): string;
142
+ declare function normalizeRiddleProofProfile(input: unknown, options?: NormalizeRiddleProofProfileOptions): RiddleProofProfile;
143
+ declare function resolveRiddleProofProfileTargetUrl(profile: RiddleProofProfile): string;
144
+ declare function assessRiddleProofProfileEvidence(profile: RiddleProofProfile, evidence: RiddleProofProfileEvidence | undefined, options?: {
145
+ runner?: RiddleProofProfileRunner;
146
+ riddle?: RiddleProofProfileResult["riddle"];
147
+ artifacts?: RiddleProofProfileArtifactRef[];
148
+ }): RiddleProofProfileResult;
149
+ declare function summarizeRiddleProofProfileResult(input: {
150
+ profile_name: string;
151
+ status: RiddleProofProfileStatus;
152
+ checks: RiddleProofProfileCheckResult[];
153
+ viewports: RiddleProofProfileViewportEvidence[];
154
+ }): string;
155
+ declare function profileStatusExitCode(profile: RiddleProofProfile, status: RiddleProofProfileStatus): 0 | 1;
156
+ declare function createRiddleProofProfileConfigurationError(name: string, error: unknown, runner?: RiddleProofProfileRunner): RiddleProofProfileResult;
157
+ declare function createRiddleProofProfileEnvironmentBlockedResult(input: {
158
+ profile: RiddleProofProfile;
159
+ runner?: RiddleProofProfileRunner;
160
+ error?: unknown;
161
+ riddle?: RiddleProofProfileResult["riddle"];
162
+ artifacts?: RiddleProofProfileArtifactRef[];
163
+ }): RiddleProofProfileResult;
164
+ declare function createRiddleProofProfileInsufficientResult(input: {
165
+ profile: RiddleProofProfile;
166
+ runner?: RiddleProofProfileRunner;
167
+ error?: unknown;
168
+ riddle?: RiddleProofProfileResult["riddle"];
169
+ artifacts?: RiddleProofProfileArtifactRef[];
170
+ }): RiddleProofProfileResult;
171
+ declare function buildRiddleProofProfileScript(profile: RiddleProofProfile): string;
172
+ declare function collectRiddleProfileArtifactRefs(input: unknown): RiddleProofProfileArtifactRef[];
173
+ declare function extractRiddleProofProfileResult(input: unknown): RiddleProofProfileResult | undefined;
174
+
175
+ export { type NormalizeRiddleProofProfileOptions, RIDDLE_PROOF_PROFILE_CHECK_TYPES, RIDDLE_PROOF_PROFILE_EVIDENCE_VERSION, RIDDLE_PROOF_PROFILE_RESULT_VERSION, RIDDLE_PROOF_PROFILE_STATUSES, RIDDLE_PROOF_PROFILE_VERSION, type RiddleProofProfile, type RiddleProofProfileArtifactRef, type RiddleProofProfileBaselinePolicy, type RiddleProofProfileCheck, type RiddleProofProfileCheckResult, type RiddleProofProfileCheckType, type RiddleProofProfileEvidence, type RiddleProofProfileFailureAction, type RiddleProofProfileResult, type RiddleProofProfileRouteEvidence, type RiddleProofProfileRunner, type RiddleProofProfileStatus, type RiddleProofProfileTarget, type RiddleProofProfileViewport, type RiddleProofProfileViewportEvidence, assessRiddleProofProfileEvidence, buildRiddleProofProfileScript, collectRiddleProfileArtifactRefs, createRiddleProofProfileConfigurationError, createRiddleProofProfileEnvironmentBlockedResult, createRiddleProofProfileInsufficientResult, extractRiddleProofProfileResult, normalizeRiddleProofProfile, profileStatusExitCode, resolveRiddleProofProfileTargetUrl, slugifyRiddleProofProfileName, summarizeRiddleProofProfileResult };
@@ -0,0 +1,38 @@
1
+ import {
2
+ RIDDLE_PROOF_PROFILE_CHECK_TYPES,
3
+ RIDDLE_PROOF_PROFILE_EVIDENCE_VERSION,
4
+ RIDDLE_PROOF_PROFILE_RESULT_VERSION,
5
+ RIDDLE_PROOF_PROFILE_STATUSES,
6
+ RIDDLE_PROOF_PROFILE_VERSION,
7
+ assessRiddleProofProfileEvidence,
8
+ buildRiddleProofProfileScript,
9
+ collectRiddleProfileArtifactRefs,
10
+ createRiddleProofProfileConfigurationError,
11
+ createRiddleProofProfileEnvironmentBlockedResult,
12
+ createRiddleProofProfileInsufficientResult,
13
+ extractRiddleProofProfileResult,
14
+ normalizeRiddleProofProfile,
15
+ profileStatusExitCode,
16
+ resolveRiddleProofProfileTargetUrl,
17
+ slugifyRiddleProofProfileName,
18
+ summarizeRiddleProofProfileResult
19
+ } from "./chunk-7NMAU4DP.js";
20
+ export {
21
+ RIDDLE_PROOF_PROFILE_CHECK_TYPES,
22
+ RIDDLE_PROOF_PROFILE_EVIDENCE_VERSION,
23
+ RIDDLE_PROOF_PROFILE_RESULT_VERSION,
24
+ RIDDLE_PROOF_PROFILE_STATUSES,
25
+ RIDDLE_PROOF_PROFILE_VERSION,
26
+ assessRiddleProofProfileEvidence,
27
+ buildRiddleProofProfileScript,
28
+ collectRiddleProfileArtifactRefs,
29
+ createRiddleProofProfileConfigurationError,
30
+ createRiddleProofProfileEnvironmentBlockedResult,
31
+ createRiddleProofProfileInsufficientResult,
32
+ extractRiddleProofProfileResult,
33
+ normalizeRiddleProofProfile,
34
+ profileStatusExitCode,
35
+ resolveRiddleProofProfileTargetUrl,
36
+ slugifyRiddleProofProfileName,
37
+ summarizeRiddleProofProfileResult
38
+ };
@@ -0,0 +1,26 @@
1
+ {
2
+ "version": "riddle-proof.profile.v1",
3
+ "name": "page-content-basic",
4
+ "target": {
5
+ "route": "/",
6
+ "viewports": [
7
+ { "name": "mobile", "width": 390, "height": 844 },
8
+ { "name": "desktop", "width": 1440, "height": 1000 }
9
+ ],
10
+ "auth": "none",
11
+ "wait_for_selector": "body"
12
+ },
13
+ "checks": [
14
+ { "type": "route_loaded", "expected_path": "/" },
15
+ { "type": "selector_visible", "selector": "body" },
16
+ { "type": "text_visible", "text": "Example" },
17
+ { "type": "no_mobile_horizontal_overflow" },
18
+ { "type": "no_fatal_console_errors" }
19
+ ],
20
+ "artifacts": ["screenshot", "console", "dom_summary", "proof_json"],
21
+ "failure_policy": {
22
+ "environment_blocked": "neutral",
23
+ "proof_insufficient": "fail",
24
+ "product_regression": "fail"
25
+ }
26
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riddledc/riddle-proof",
3
- "version": "0.5.57",
3
+ "version": "0.7.0",
4
4
  "description": "Reusable Riddle Proof contracts and helpers for evidence-backed agent changes.",
5
5
  "license": "MIT",
6
6
  "author": "RiddleDC",
@@ -84,6 +84,11 @@
84
84
  "import": "./dist/basic-gameplay.js",
85
85
  "require": "./dist/basic-gameplay.cjs"
86
86
  },
87
+ "./profile": {
88
+ "types": "./dist/profile.d.ts",
89
+ "import": "./dist/profile.js",
90
+ "require": "./dist/profile.cjs"
91
+ },
87
92
  "./openclaw": {
88
93
  "types": "./dist/openclaw.d.ts",
89
94
  "import": "./dist/openclaw.js",
@@ -110,6 +115,7 @@
110
115
  },
111
116
  "files": [
112
117
  "dist",
118
+ "examples",
113
119
  "lib",
114
120
  "runtime",
115
121
  "README.md",
@@ -125,7 +131,7 @@
125
131
  "typescript": "^5.4.5"
126
132
  },
127
133
  "scripts": {
128
- "build": "tsup src/index.ts src/types.ts src/result.ts src/state.ts src/checkpoint.ts src/run-card.ts src/runner.ts src/engine-harness.ts src/codex-exec-agent.ts src/local-agent.ts src/cli.ts src/diagnostics.ts src/proof-session.ts src/playability.ts src/basic-gameplay.ts src/openclaw.ts src/proof-run-core.ts src/proof-run-engine.ts src/riddle-client.ts --format cjs,esm --dts --out-dir dist --clean",
134
+ "build": "tsup src/index.ts src/types.ts src/result.ts src/state.ts src/checkpoint.ts src/run-card.ts src/runner.ts src/engine-harness.ts src/codex-exec-agent.ts src/local-agent.ts src/cli.ts src/diagnostics.ts src/proof-session.ts src/playability.ts src/basic-gameplay.ts src/profile.ts src/openclaw.ts src/proof-run-core.ts src/proof-run-engine.ts src/riddle-client.ts --format cjs,esm --dts --out-dir dist --clean",
129
135
  "clean": "rm -rf dist",
130
136
  "lint": "echo 'lint: (not configured)'",
131
137
  "test": "npm run build && node test.js && node proof-run.test.js"