@riddledc/riddle-proof 0.5.39 → 0.5.41
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/checkpoint.cjs +115 -2
- package/dist/checkpoint.d.cts +7 -2
- package/dist/checkpoint.d.ts +7 -2
- package/dist/checkpoint.js +14 -4
- package/dist/{chunk-Z3BWCHFV.js → chunk-7S7O3NKF.js} +7 -1
- package/dist/{chunk-RDTMR7XR.js → chunk-MRSYJMF4.js} +2 -2
- package/dist/{chunk-UQPTCP4D.js → chunk-RI25RGQP.js} +110 -2
- package/dist/{chunk-Z7QUCDPT.js → chunk-W7VTDN4T.js} +3 -0
- package/dist/{chunk-ORRP7CXT.js → chunk-ZBM67XGB.js} +57 -10
- package/dist/engine-harness.cjs +160 -6
- package/dist/engine-harness.js +4 -4
- package/dist/index.cjs +175 -11
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +16 -6
- package/dist/openclaw.js +2 -2
- package/dist/result.cjs +3 -0
- package/dist/result.js +1 -1
- package/dist/runner.cjs +6 -0
- package/dist/runner.js +3 -3
- package/dist/state.cjs +6 -0
- package/dist/state.d.cts +4 -1
- package/dist/state.d.ts +4 -1
- package/dist/state.js +2 -2
- package/dist/types.d.cts +56 -1
- package/dist/types.d.ts +56 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { EvidenceArtifact, EvidenceReference, ImplementationAdapter, ImplementationAdapterInput, ImplementationAdapterResult, IntegrationContext, JsonObject, JsonPrimitive, JsonValue, JudgeAdapter, NotificationAdapter, PreflightAdapter, PreflightAdapterInput, PreflightAdapterResult, ProofAdapter, ProofAdapterInput, ProofAdapterResult, RiddleProofArtifactRole, RiddleProofAssessment, RiddleProofBlocker, RiddleProofCheckpointArtifact, RiddleProofCheckpointPacket, RiddleProofCheckpointResponse, RiddleProofCheckpointRole, RiddleProofCheckpointRoutingHint, RiddleProofCheckpointVisibility, RiddleProofDecision, RiddleProofEvent, RiddleProofEvidenceBundle, RiddleProofPrLifecycleState, RiddleProofPrLifecycleStatus, RiddleProofRunParams, RiddleProofRunResult, RiddleProofRunState, RiddleProofRunStatusSnapshot, RiddleProofStage, RiddleProofStatus, RiddleProofTerminalMetadata, RiddleProofVerificationMode, RiddleProofVisualSession, RiddleProofVisualSessionFingerprintBasis, SetupAdapter, SetupAdapterInput, SetupAdapterResult, ShipAdapter } from './types.cjs';
|
|
1
|
+
export { EvidenceArtifact, EvidenceReference, ImplementationAdapter, ImplementationAdapterInput, ImplementationAdapterResult, IntegrationContext, JsonObject, JsonPrimitive, JsonValue, JudgeAdapter, NotificationAdapter, PreflightAdapter, PreflightAdapterInput, PreflightAdapterResult, ProofAdapter, ProofAdapterInput, ProofAdapterResult, RiddleProofArtifactRole, RiddleProofAssessment, RiddleProofBlocker, RiddleProofCheckpointArtifact, RiddleProofCheckpointPacket, RiddleProofCheckpointResponse, RiddleProofCheckpointRole, RiddleProofCheckpointRoutingHint, RiddleProofCheckpointSummary, RiddleProofCheckpointVisibility, RiddleProofDecision, RiddleProofEvent, RiddleProofEvidenceBundle, RiddleProofPrLifecycleState, RiddleProofPrLifecycleStatus, RiddleProofProofContract, RiddleProofRunParams, RiddleProofRunResult, RiddleProofRunState, RiddleProofRunStatusSnapshot, RiddleProofStage, RiddleProofStatePaths, RiddleProofStatus, RiddleProofTerminalMetadata, RiddleProofVerificationMode, RiddleProofVisualSession, RiddleProofVisualSessionFingerprintBasis, SetupAdapter, SetupAdapterInput, SetupAdapterResult, ShipAdapter } from './types.cjs';
|
|
2
2
|
export { TerminalMetadataInput, applyTerminalMetadata, compactRecord, createRunResult, isSuccessfulStatus, isTerminalStatus, nonEmptyString, normalizeTerminalMetadata, recordValue } from './result.cjs';
|
|
3
3
|
export { CreateRunStateInput, RIDDLE_PROOF_RUN_STATE_VERSION, RunEventInput, appendRunEvent, appendStageHeartbeat, applyPrLifecycleState, createRunState, createRunStatusSnapshot, normalizeIntegrationContext, normalizePrLifecycleState, normalizeRunParams, setRunStatus } from './state.cjs';
|
|
4
|
-
export { RIDDLE_PROOF_CHECKPOINT_PACKET_VERSION, RIDDLE_PROOF_CHECKPOINT_RESPONSE_VERSION, authorPacketPayloadFromCheckpointResponse, buildAuthorCheckpointPacket, normalizeCheckpointResponse } from './checkpoint.cjs';
|
|
4
|
+
export { RIDDLE_PROOF_CHECKPOINT_PACKET_VERSION, RIDDLE_PROOF_CHECKPOINT_RESPONSE_VERSION, authorPacketPayloadFromCheckpointResponse, buildAuthorCheckpointPacket, checkpointResponseIdentity, checkpointSummaryFromState, isDuplicateCheckpointResponse, normalizeCheckpointResponse, proofContractFromAuthorCheckpointResponse, statePathsForRunState } from './checkpoint.cjs';
|
|
5
5
|
export { RiddleProofRunnerAdapters, RunRiddleProofInput, runRiddleProof } from './runner.cjs';
|
|
6
6
|
export { RiddleProofAgentAdapter, RiddleProofAgentPayload, RiddleProofCheckpointMode, RiddleProofEngine, RiddleProofEngineHarnessConfig, RiddleProofEngineHarnessContext, RiddleProofEngineResult, RiddleProofShipMode, RiddleProofWorkflowParams, RunRiddleProofEngineHarnessInput, createDisabledRiddleProofAgentAdapter, readRiddleProofRunStatus, runRiddleProofEngineHarness } from './engine-harness.cjs';
|
|
7
7
|
export { CreateCaptureDiagnosticInput, DEFAULT_DIAGNOSTIC_ARRAY_LIMIT, DEFAULT_DIAGNOSTIC_HISTORY_LIMIT, DEFAULT_DIAGNOSTIC_STRING_LIMIT, RIDDLE_PROOF_CAPTURE_DIAGNOSTIC_VERSION, RiddleProofArtifactSummary, RiddleProofCaptureArtifactSummary, RiddleProofCaptureDiagnostic, RiddleProofDiagnosticRedactionOptions, appendCaptureDiagnostic, createCaptureDiagnostic, redactForProofDiagnostics, summarizeCaptureArtifacts } from './diagnostics.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { EvidenceArtifact, EvidenceReference, ImplementationAdapter, ImplementationAdapterInput, ImplementationAdapterResult, IntegrationContext, JsonObject, JsonPrimitive, JsonValue, JudgeAdapter, NotificationAdapter, PreflightAdapter, PreflightAdapterInput, PreflightAdapterResult, ProofAdapter, ProofAdapterInput, ProofAdapterResult, RiddleProofArtifactRole, RiddleProofAssessment, RiddleProofBlocker, RiddleProofCheckpointArtifact, RiddleProofCheckpointPacket, RiddleProofCheckpointResponse, RiddleProofCheckpointRole, RiddleProofCheckpointRoutingHint, RiddleProofCheckpointVisibility, RiddleProofDecision, RiddleProofEvent, RiddleProofEvidenceBundle, RiddleProofPrLifecycleState, RiddleProofPrLifecycleStatus, RiddleProofRunParams, RiddleProofRunResult, RiddleProofRunState, RiddleProofRunStatusSnapshot, RiddleProofStage, RiddleProofStatus, RiddleProofTerminalMetadata, RiddleProofVerificationMode, RiddleProofVisualSession, RiddleProofVisualSessionFingerprintBasis, SetupAdapter, SetupAdapterInput, SetupAdapterResult, ShipAdapter } from './types.js';
|
|
1
|
+
export { EvidenceArtifact, EvidenceReference, ImplementationAdapter, ImplementationAdapterInput, ImplementationAdapterResult, IntegrationContext, JsonObject, JsonPrimitive, JsonValue, JudgeAdapter, NotificationAdapter, PreflightAdapter, PreflightAdapterInput, PreflightAdapterResult, ProofAdapter, ProofAdapterInput, ProofAdapterResult, RiddleProofArtifactRole, RiddleProofAssessment, RiddleProofBlocker, RiddleProofCheckpointArtifact, RiddleProofCheckpointPacket, RiddleProofCheckpointResponse, RiddleProofCheckpointRole, RiddleProofCheckpointRoutingHint, RiddleProofCheckpointSummary, RiddleProofCheckpointVisibility, RiddleProofDecision, RiddleProofEvent, RiddleProofEvidenceBundle, RiddleProofPrLifecycleState, RiddleProofPrLifecycleStatus, RiddleProofProofContract, RiddleProofRunParams, RiddleProofRunResult, RiddleProofRunState, RiddleProofRunStatusSnapshot, RiddleProofStage, RiddleProofStatePaths, RiddleProofStatus, RiddleProofTerminalMetadata, RiddleProofVerificationMode, RiddleProofVisualSession, RiddleProofVisualSessionFingerprintBasis, SetupAdapter, SetupAdapterInput, SetupAdapterResult, ShipAdapter } from './types.js';
|
|
2
2
|
export { TerminalMetadataInput, applyTerminalMetadata, compactRecord, createRunResult, isSuccessfulStatus, isTerminalStatus, nonEmptyString, normalizeTerminalMetadata, recordValue } from './result.js';
|
|
3
3
|
export { CreateRunStateInput, RIDDLE_PROOF_RUN_STATE_VERSION, RunEventInput, appendRunEvent, appendStageHeartbeat, applyPrLifecycleState, createRunState, createRunStatusSnapshot, normalizeIntegrationContext, normalizePrLifecycleState, normalizeRunParams, setRunStatus } from './state.js';
|
|
4
|
-
export { RIDDLE_PROOF_CHECKPOINT_PACKET_VERSION, RIDDLE_PROOF_CHECKPOINT_RESPONSE_VERSION, authorPacketPayloadFromCheckpointResponse, buildAuthorCheckpointPacket, normalizeCheckpointResponse } from './checkpoint.js';
|
|
4
|
+
export { RIDDLE_PROOF_CHECKPOINT_PACKET_VERSION, RIDDLE_PROOF_CHECKPOINT_RESPONSE_VERSION, authorPacketPayloadFromCheckpointResponse, buildAuthorCheckpointPacket, checkpointResponseIdentity, checkpointSummaryFromState, isDuplicateCheckpointResponse, normalizeCheckpointResponse, proofContractFromAuthorCheckpointResponse, statePathsForRunState } from './checkpoint.js';
|
|
5
5
|
export { RiddleProofRunnerAdapters, RunRiddleProofInput, runRiddleProof } from './runner.js';
|
|
6
6
|
export { RiddleProofAgentAdapter, RiddleProofAgentPayload, RiddleProofCheckpointMode, RiddleProofEngine, RiddleProofEngineHarnessConfig, RiddleProofEngineHarnessContext, RiddleProofEngineResult, RiddleProofShipMode, RiddleProofWorkflowParams, RunRiddleProofEngineHarnessInput, createDisabledRiddleProofAgentAdapter, readRiddleProofRunStatus, runRiddleProofEngineHarness } from './engine-harness.js';
|
|
7
7
|
export { CreateCaptureDiagnosticInput, DEFAULT_DIAGNOSTIC_ARRAY_LIMIT, DEFAULT_DIAGNOSTIC_HISTORY_LIMIT, DEFAULT_DIAGNOSTIC_STRING_LIMIT, RIDDLE_PROOF_CAPTURE_DIAGNOSTIC_VERSION, RiddleProofArtifactSummary, RiddleProofCaptureArtifactSummary, RiddleProofCaptureDiagnostic, RiddleProofDiagnosticRedactionOptions, appendCaptureDiagnostic, createCaptureDiagnostic, redactForProofDiagnostics, summarizeCaptureArtifacts } from './diagnostics.js';
|
package/dist/index.js
CHANGED
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk-ODORKNSO.js";
|
|
10
10
|
import {
|
|
11
11
|
runRiddleProof
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-MRSYJMF4.js";
|
|
13
13
|
import "./chunk-6F4PWJZI.js";
|
|
14
14
|
import {
|
|
15
15
|
DEFAULT_DIAGNOSTIC_ARRAY_LIMIT,
|
|
@@ -25,14 +25,19 @@ import {
|
|
|
25
25
|
createDisabledRiddleProofAgentAdapter,
|
|
26
26
|
readRiddleProofRunStatus,
|
|
27
27
|
runRiddleProofEngineHarness
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-ZBM67XGB.js";
|
|
29
29
|
import {
|
|
30
30
|
RIDDLE_PROOF_CHECKPOINT_PACKET_VERSION,
|
|
31
31
|
RIDDLE_PROOF_CHECKPOINT_RESPONSE_VERSION,
|
|
32
32
|
authorPacketPayloadFromCheckpointResponse,
|
|
33
33
|
buildAuthorCheckpointPacket,
|
|
34
|
-
|
|
35
|
-
|
|
34
|
+
checkpointResponseIdentity,
|
|
35
|
+
checkpointSummaryFromState,
|
|
36
|
+
isDuplicateCheckpointResponse,
|
|
37
|
+
normalizeCheckpointResponse,
|
|
38
|
+
proofContractFromAuthorCheckpointResponse,
|
|
39
|
+
statePathsForRunState
|
|
40
|
+
} from "./chunk-RI25RGQP.js";
|
|
36
41
|
import {
|
|
37
42
|
RIDDLE_PROOF_RUN_STATE_VERSION,
|
|
38
43
|
appendRunEvent,
|
|
@@ -44,7 +49,7 @@ import {
|
|
|
44
49
|
normalizePrLifecycleState,
|
|
45
50
|
normalizeRunParams,
|
|
46
51
|
setRunStatus
|
|
47
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-7S7O3NKF.js";
|
|
48
53
|
import {
|
|
49
54
|
applyTerminalMetadata,
|
|
50
55
|
compactRecord,
|
|
@@ -54,7 +59,7 @@ import {
|
|
|
54
59
|
nonEmptyString,
|
|
55
60
|
normalizeTerminalMetadata,
|
|
56
61
|
recordValue
|
|
57
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-W7VTDN4T.js";
|
|
58
63
|
import {
|
|
59
64
|
RIDDLE_PROOF_PLAYABILITY_ASSESSMENT_VERSION,
|
|
60
65
|
RIDDLE_PROOF_PLAYABILITY_VERSION,
|
|
@@ -84,6 +89,8 @@ export {
|
|
|
84
89
|
authorPacketPayloadFromCheckpointResponse,
|
|
85
90
|
buildAuthorCheckpointPacket,
|
|
86
91
|
buildVisualProofSession,
|
|
92
|
+
checkpointResponseIdentity,
|
|
93
|
+
checkpointSummaryFromState,
|
|
87
94
|
compactRecord,
|
|
88
95
|
compareVisualProofSessionFingerprint,
|
|
89
96
|
createCaptureDiagnostic,
|
|
@@ -92,6 +99,7 @@ export {
|
|
|
92
99
|
createRunState,
|
|
93
100
|
createRunStatusSnapshot,
|
|
94
101
|
extractPlayabilityEvidence,
|
|
102
|
+
isDuplicateCheckpointResponse,
|
|
95
103
|
isRiddleProofPlayabilityMode,
|
|
96
104
|
isSuccessfulStatus,
|
|
97
105
|
isTerminalStatus,
|
|
@@ -102,12 +110,14 @@ export {
|
|
|
102
110
|
normalizeRunParams,
|
|
103
111
|
normalizeTerminalMetadata,
|
|
104
112
|
parseVisualProofSession,
|
|
113
|
+
proofContractFromAuthorCheckpointResponse,
|
|
105
114
|
readRiddleProofRunStatus,
|
|
106
115
|
recordValue,
|
|
107
116
|
redactForProofDiagnostics,
|
|
108
117
|
runRiddleProof,
|
|
109
118
|
runRiddleProofEngineHarness,
|
|
110
119
|
setRunStatus,
|
|
120
|
+
statePathsForRunState,
|
|
111
121
|
summarizeCaptureArtifacts,
|
|
112
122
|
visualSessionFingerprint,
|
|
113
123
|
visualSessionFingerprintBasis
|
package/dist/openclaw.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
normalizeIntegrationContext,
|
|
3
3
|
normalizeRunParams
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-7S7O3NKF.js";
|
|
5
5
|
import {
|
|
6
6
|
compactRecord
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-W7VTDN4T.js";
|
|
8
8
|
|
|
9
9
|
// src/openclaw.ts
|
|
10
10
|
function parseOpenClawAssertions(value) {
|
package/dist/result.cjs
CHANGED
|
@@ -234,6 +234,9 @@ function createRunResult(input) {
|
|
|
234
234
|
finalized: state.finalized,
|
|
235
235
|
blocker: state.blocker,
|
|
236
236
|
checkpoint_packet: state.checkpoint_packet,
|
|
237
|
+
checkpoint_summary: state.checkpoint_summary,
|
|
238
|
+
state_paths: state.state_paths,
|
|
239
|
+
proof_contract: state.proof_contract,
|
|
237
240
|
proof_session: state.proof_session,
|
|
238
241
|
evidence_bundle: input.evidence_bundle,
|
|
239
242
|
raw: input.raw
|
package/dist/result.js
CHANGED
package/dist/runner.cjs
CHANGED
|
@@ -124,6 +124,9 @@ function createRunResult(input) {
|
|
|
124
124
|
finalized: state.finalized,
|
|
125
125
|
blocker: state.blocker,
|
|
126
126
|
checkpoint_packet: state.checkpoint_packet,
|
|
127
|
+
checkpoint_summary: state.checkpoint_summary,
|
|
128
|
+
state_paths: state.state_paths,
|
|
129
|
+
proof_contract: state.proof_contract,
|
|
127
130
|
proof_session: state.proof_session,
|
|
128
131
|
evidence_bundle: input.evidence_bundle,
|
|
129
132
|
raw: input.raw
|
|
@@ -223,6 +226,9 @@ function createRunState(input) {
|
|
|
223
226
|
iterations: input.iterations ?? 0,
|
|
224
227
|
last_checkpoint: input.last_checkpoint ?? null,
|
|
225
228
|
checkpoint_packet: input.checkpoint_packet,
|
|
229
|
+
checkpoint_summary: input.checkpoint_summary,
|
|
230
|
+
state_paths: input.state_paths,
|
|
231
|
+
proof_contract: input.proof_contract,
|
|
226
232
|
checkpoint_history: input.checkpoint_history,
|
|
227
233
|
events: input.events ? [...input.events] : []
|
|
228
234
|
});
|
package/dist/runner.js
CHANGED
package/dist/state.cjs
CHANGED
|
@@ -170,6 +170,9 @@ function createRunState(input) {
|
|
|
170
170
|
iterations: input.iterations ?? 0,
|
|
171
171
|
last_checkpoint: input.last_checkpoint ?? null,
|
|
172
172
|
checkpoint_packet: input.checkpoint_packet,
|
|
173
|
+
checkpoint_summary: input.checkpoint_summary,
|
|
174
|
+
state_paths: input.state_paths,
|
|
175
|
+
proof_contract: input.proof_contract,
|
|
173
176
|
checkpoint_history: input.checkpoint_history,
|
|
174
177
|
events: input.events ? [...input.events] : []
|
|
175
178
|
});
|
|
@@ -245,6 +248,9 @@ function createRunStatusSnapshot(state, at = timestamp()) {
|
|
|
245
248
|
stage_elapsed_ms: elapsedMs(state.stage_started_at, at),
|
|
246
249
|
blocker: state.blocker,
|
|
247
250
|
checkpoint_packet: state.checkpoint_packet,
|
|
251
|
+
checkpoint_summary: state.checkpoint_summary,
|
|
252
|
+
state_paths: state.state_paths,
|
|
253
|
+
proof_contract: state.proof_contract,
|
|
248
254
|
latest_event: latestEvent
|
|
249
255
|
});
|
|
250
256
|
}
|
package/dist/state.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { RiddleProofRunParams, RiddleProofStatus, RiddleProofStage, RiddleProofCheckpointPacket, RiddleProofCheckpointResponse, RiddleProofEvent, RiddleProofRunState, RiddleProofPrLifecycleState, RiddleProofRunStatusSnapshot, IntegrationContext } from './types.cjs';
|
|
1
|
+
import { RiddleProofRunParams, RiddleProofStatus, RiddleProofStage, RiddleProofCheckpointPacket, RiddleProofCheckpointSummary, RiddleProofStatePaths, RiddleProofProofContract, RiddleProofCheckpointResponse, RiddleProofEvent, RiddleProofRunState, RiddleProofPrLifecycleState, RiddleProofRunStatusSnapshot, IntegrationContext } from './types.cjs';
|
|
2
2
|
|
|
3
3
|
declare const RIDDLE_PROOF_RUN_STATE_VERSION: "riddle-proof.run-state.v1";
|
|
4
4
|
interface CreateRunStateInput {
|
|
@@ -15,6 +15,9 @@ interface CreateRunStateInput {
|
|
|
15
15
|
iterations?: number;
|
|
16
16
|
last_checkpoint?: string | null;
|
|
17
17
|
checkpoint_packet?: RiddleProofCheckpointPacket;
|
|
18
|
+
checkpoint_summary?: RiddleProofCheckpointSummary;
|
|
19
|
+
state_paths?: RiddleProofStatePaths;
|
|
20
|
+
proof_contract?: RiddleProofProofContract;
|
|
18
21
|
checkpoint_history?: Array<{
|
|
19
22
|
ts: string;
|
|
20
23
|
packet?: RiddleProofCheckpointPacket;
|
package/dist/state.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { RiddleProofRunParams, RiddleProofStatus, RiddleProofStage, RiddleProofCheckpointPacket, RiddleProofCheckpointResponse, RiddleProofEvent, RiddleProofRunState, RiddleProofPrLifecycleState, RiddleProofRunStatusSnapshot, IntegrationContext } from './types.js';
|
|
1
|
+
import { RiddleProofRunParams, RiddleProofStatus, RiddleProofStage, RiddleProofCheckpointPacket, RiddleProofCheckpointSummary, RiddleProofStatePaths, RiddleProofProofContract, RiddleProofCheckpointResponse, RiddleProofEvent, RiddleProofRunState, RiddleProofPrLifecycleState, RiddleProofRunStatusSnapshot, IntegrationContext } from './types.js';
|
|
2
2
|
|
|
3
3
|
declare const RIDDLE_PROOF_RUN_STATE_VERSION: "riddle-proof.run-state.v1";
|
|
4
4
|
interface CreateRunStateInput {
|
|
@@ -15,6 +15,9 @@ interface CreateRunStateInput {
|
|
|
15
15
|
iterations?: number;
|
|
16
16
|
last_checkpoint?: string | null;
|
|
17
17
|
checkpoint_packet?: RiddleProofCheckpointPacket;
|
|
18
|
+
checkpoint_summary?: RiddleProofCheckpointSummary;
|
|
19
|
+
state_paths?: RiddleProofStatePaths;
|
|
20
|
+
proof_contract?: RiddleProofProofContract;
|
|
18
21
|
checkpoint_history?: Array<{
|
|
19
22
|
ts: string;
|
|
20
23
|
packet?: RiddleProofCheckpointPacket;
|
package/dist/state.js
CHANGED
|
@@ -9,8 +9,8 @@ import {
|
|
|
9
9
|
normalizePrLifecycleState,
|
|
10
10
|
normalizeRunParams,
|
|
11
11
|
setRunStatus
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-7S7O3NKF.js";
|
|
13
|
+
import "./chunk-W7VTDN4T.js";
|
|
14
14
|
export {
|
|
15
15
|
RIDDLE_PROOF_RUN_STATE_VERSION,
|
|
16
16
|
appendRunEvent,
|
package/dist/types.d.cts
CHANGED
|
@@ -105,6 +105,52 @@ interface RiddleProofCheckpointResponse {
|
|
|
105
105
|
};
|
|
106
106
|
created_at: string;
|
|
107
107
|
}
|
|
108
|
+
interface RiddleProofStatePaths {
|
|
109
|
+
wrapper_state_path?: string | null;
|
|
110
|
+
engine_state_path?: string | null;
|
|
111
|
+
resume_state_path?: string | null;
|
|
112
|
+
}
|
|
113
|
+
interface RiddleProofCheckpointSummary {
|
|
114
|
+
pending: boolean;
|
|
115
|
+
packet_count: number;
|
|
116
|
+
response_count: number;
|
|
117
|
+
duplicate_response_count?: number;
|
|
118
|
+
latest_checkpoint?: string | null;
|
|
119
|
+
latest_stage?: RiddleProofStage | null;
|
|
120
|
+
latest_kind?: string | null;
|
|
121
|
+
latest_decision?: string | null;
|
|
122
|
+
latest_packet_summary?: string | null;
|
|
123
|
+
latest_response_summary?: string | null;
|
|
124
|
+
latest_resume_token?: string | null;
|
|
125
|
+
latest_response_token?: string | null;
|
|
126
|
+
token_matches?: boolean | null;
|
|
127
|
+
last_packet_at?: string | null;
|
|
128
|
+
last_response_at?: string | null;
|
|
129
|
+
state_paths?: RiddleProofStatePaths;
|
|
130
|
+
}
|
|
131
|
+
interface RiddleProofProofContract {
|
|
132
|
+
version: "riddle-proof.proof-contract.v1";
|
|
133
|
+
checkpoint?: string | null;
|
|
134
|
+
source_response?: {
|
|
135
|
+
run_id?: string;
|
|
136
|
+
checkpoint?: string;
|
|
137
|
+
resume_token?: string;
|
|
138
|
+
decision?: string;
|
|
139
|
+
summary?: string;
|
|
140
|
+
created_at?: string;
|
|
141
|
+
};
|
|
142
|
+
proof_plan?: string;
|
|
143
|
+
capture_script?: string;
|
|
144
|
+
artifact_contract?: Record<string, unknown>;
|
|
145
|
+
assertions?: unknown;
|
|
146
|
+
baseline_understanding?: Record<string, unknown>;
|
|
147
|
+
route_assumptions?: Record<string, unknown>;
|
|
148
|
+
stop_condition?: string;
|
|
149
|
+
rationale?: unknown;
|
|
150
|
+
verdict_dimensions?: Record<string, unknown>;
|
|
151
|
+
payload?: Record<string, unknown>;
|
|
152
|
+
created_at: string;
|
|
153
|
+
}
|
|
108
154
|
interface IntegrationContext {
|
|
109
155
|
source?: "openclaw" | "discord" | "github" | "cli" | "riddle" | (string & {});
|
|
110
156
|
channel_id?: string;
|
|
@@ -167,6 +213,9 @@ interface RiddleProofRunState {
|
|
|
167
213
|
finalized?: boolean;
|
|
168
214
|
blocker?: RiddleProofBlocker;
|
|
169
215
|
checkpoint_packet?: RiddleProofCheckpointPacket;
|
|
216
|
+
checkpoint_summary?: RiddleProofCheckpointSummary;
|
|
217
|
+
state_paths?: RiddleProofStatePaths;
|
|
218
|
+
proof_contract?: RiddleProofProofContract;
|
|
170
219
|
checkpoint_history?: Array<{
|
|
171
220
|
ts: string;
|
|
172
221
|
packet?: RiddleProofCheckpointPacket;
|
|
@@ -208,6 +257,9 @@ interface RiddleProofRunResult {
|
|
|
208
257
|
finalized?: boolean;
|
|
209
258
|
blocker?: RiddleProofBlocker;
|
|
210
259
|
checkpoint_packet?: RiddleProofCheckpointPacket;
|
|
260
|
+
checkpoint_summary?: RiddleProofCheckpointSummary;
|
|
261
|
+
state_paths?: RiddleProofStatePaths;
|
|
262
|
+
proof_contract?: RiddleProofProofContract;
|
|
211
263
|
proof_session?: RiddleProofVisualSession;
|
|
212
264
|
evidence_bundle?: RiddleProofEvidenceBundle;
|
|
213
265
|
raw?: Record<string, unknown>;
|
|
@@ -240,6 +292,9 @@ interface RiddleProofRunStatusSnapshot {
|
|
|
240
292
|
stage_elapsed_ms?: number;
|
|
241
293
|
blocker?: RiddleProofBlocker;
|
|
242
294
|
checkpoint_packet?: RiddleProofCheckpointPacket;
|
|
295
|
+
checkpoint_summary?: RiddleProofCheckpointSummary;
|
|
296
|
+
state_paths?: RiddleProofStatePaths;
|
|
297
|
+
proof_contract?: RiddleProofProofContract;
|
|
243
298
|
latest_event?: RiddleProofEvent;
|
|
244
299
|
}
|
|
245
300
|
interface RiddleProofEvidenceBundle {
|
|
@@ -460,4 +515,4 @@ interface RiddleProofVisualSessionFingerprintBasis {
|
|
|
460
515
|
capture_script_hash?: string;
|
|
461
516
|
}
|
|
462
517
|
|
|
463
|
-
export type { EvidenceArtifact, EvidenceReference, ImplementationAdapter, ImplementationAdapterInput, ImplementationAdapterResult, IntegrationContext, JsonObject, JsonPrimitive, JsonValue, JudgeAdapter, NotificationAdapter, PreflightAdapter, PreflightAdapterInput, PreflightAdapterResult, ProofAdapter, ProofAdapterInput, ProofAdapterResult, RiddleProofArtifactRole, RiddleProofAssessment, RiddleProofBlocker, RiddleProofCheckpointArtifact, RiddleProofCheckpointPacket, RiddleProofCheckpointResponse, RiddleProofCheckpointRole, RiddleProofCheckpointRoutingHint, RiddleProofCheckpointVisibility, RiddleProofDecision, RiddleProofEvent, RiddleProofEvidenceBundle, RiddleProofPrLifecycleState, RiddleProofPrLifecycleStatus, RiddleProofRunParams, RiddleProofRunResult, RiddleProofRunState, RiddleProofRunStatusSnapshot, RiddleProofStage, RiddleProofStatus, RiddleProofTerminalMetadata, RiddleProofVerificationMode, RiddleProofVisualSession, RiddleProofVisualSessionFingerprintBasis, SetupAdapter, SetupAdapterInput, SetupAdapterResult, ShipAdapter };
|
|
518
|
+
export type { EvidenceArtifact, EvidenceReference, ImplementationAdapter, ImplementationAdapterInput, ImplementationAdapterResult, IntegrationContext, JsonObject, JsonPrimitive, JsonValue, JudgeAdapter, NotificationAdapter, PreflightAdapter, PreflightAdapterInput, PreflightAdapterResult, ProofAdapter, ProofAdapterInput, ProofAdapterResult, RiddleProofArtifactRole, RiddleProofAssessment, RiddleProofBlocker, RiddleProofCheckpointArtifact, RiddleProofCheckpointPacket, RiddleProofCheckpointResponse, RiddleProofCheckpointRole, RiddleProofCheckpointRoutingHint, RiddleProofCheckpointSummary, RiddleProofCheckpointVisibility, RiddleProofDecision, RiddleProofEvent, RiddleProofEvidenceBundle, RiddleProofPrLifecycleState, RiddleProofPrLifecycleStatus, RiddleProofProofContract, RiddleProofRunParams, RiddleProofRunResult, RiddleProofRunState, RiddleProofRunStatusSnapshot, RiddleProofStage, RiddleProofStatePaths, RiddleProofStatus, RiddleProofTerminalMetadata, RiddleProofVerificationMode, RiddleProofVisualSession, RiddleProofVisualSessionFingerprintBasis, SetupAdapter, SetupAdapterInput, SetupAdapterResult, ShipAdapter };
|
package/dist/types.d.ts
CHANGED
|
@@ -105,6 +105,52 @@ interface RiddleProofCheckpointResponse {
|
|
|
105
105
|
};
|
|
106
106
|
created_at: string;
|
|
107
107
|
}
|
|
108
|
+
interface RiddleProofStatePaths {
|
|
109
|
+
wrapper_state_path?: string | null;
|
|
110
|
+
engine_state_path?: string | null;
|
|
111
|
+
resume_state_path?: string | null;
|
|
112
|
+
}
|
|
113
|
+
interface RiddleProofCheckpointSummary {
|
|
114
|
+
pending: boolean;
|
|
115
|
+
packet_count: number;
|
|
116
|
+
response_count: number;
|
|
117
|
+
duplicate_response_count?: number;
|
|
118
|
+
latest_checkpoint?: string | null;
|
|
119
|
+
latest_stage?: RiddleProofStage | null;
|
|
120
|
+
latest_kind?: string | null;
|
|
121
|
+
latest_decision?: string | null;
|
|
122
|
+
latest_packet_summary?: string | null;
|
|
123
|
+
latest_response_summary?: string | null;
|
|
124
|
+
latest_resume_token?: string | null;
|
|
125
|
+
latest_response_token?: string | null;
|
|
126
|
+
token_matches?: boolean | null;
|
|
127
|
+
last_packet_at?: string | null;
|
|
128
|
+
last_response_at?: string | null;
|
|
129
|
+
state_paths?: RiddleProofStatePaths;
|
|
130
|
+
}
|
|
131
|
+
interface RiddleProofProofContract {
|
|
132
|
+
version: "riddle-proof.proof-contract.v1";
|
|
133
|
+
checkpoint?: string | null;
|
|
134
|
+
source_response?: {
|
|
135
|
+
run_id?: string;
|
|
136
|
+
checkpoint?: string;
|
|
137
|
+
resume_token?: string;
|
|
138
|
+
decision?: string;
|
|
139
|
+
summary?: string;
|
|
140
|
+
created_at?: string;
|
|
141
|
+
};
|
|
142
|
+
proof_plan?: string;
|
|
143
|
+
capture_script?: string;
|
|
144
|
+
artifact_contract?: Record<string, unknown>;
|
|
145
|
+
assertions?: unknown;
|
|
146
|
+
baseline_understanding?: Record<string, unknown>;
|
|
147
|
+
route_assumptions?: Record<string, unknown>;
|
|
148
|
+
stop_condition?: string;
|
|
149
|
+
rationale?: unknown;
|
|
150
|
+
verdict_dimensions?: Record<string, unknown>;
|
|
151
|
+
payload?: Record<string, unknown>;
|
|
152
|
+
created_at: string;
|
|
153
|
+
}
|
|
108
154
|
interface IntegrationContext {
|
|
109
155
|
source?: "openclaw" | "discord" | "github" | "cli" | "riddle" | (string & {});
|
|
110
156
|
channel_id?: string;
|
|
@@ -167,6 +213,9 @@ interface RiddleProofRunState {
|
|
|
167
213
|
finalized?: boolean;
|
|
168
214
|
blocker?: RiddleProofBlocker;
|
|
169
215
|
checkpoint_packet?: RiddleProofCheckpointPacket;
|
|
216
|
+
checkpoint_summary?: RiddleProofCheckpointSummary;
|
|
217
|
+
state_paths?: RiddleProofStatePaths;
|
|
218
|
+
proof_contract?: RiddleProofProofContract;
|
|
170
219
|
checkpoint_history?: Array<{
|
|
171
220
|
ts: string;
|
|
172
221
|
packet?: RiddleProofCheckpointPacket;
|
|
@@ -208,6 +257,9 @@ interface RiddleProofRunResult {
|
|
|
208
257
|
finalized?: boolean;
|
|
209
258
|
blocker?: RiddleProofBlocker;
|
|
210
259
|
checkpoint_packet?: RiddleProofCheckpointPacket;
|
|
260
|
+
checkpoint_summary?: RiddleProofCheckpointSummary;
|
|
261
|
+
state_paths?: RiddleProofStatePaths;
|
|
262
|
+
proof_contract?: RiddleProofProofContract;
|
|
211
263
|
proof_session?: RiddleProofVisualSession;
|
|
212
264
|
evidence_bundle?: RiddleProofEvidenceBundle;
|
|
213
265
|
raw?: Record<string, unknown>;
|
|
@@ -240,6 +292,9 @@ interface RiddleProofRunStatusSnapshot {
|
|
|
240
292
|
stage_elapsed_ms?: number;
|
|
241
293
|
blocker?: RiddleProofBlocker;
|
|
242
294
|
checkpoint_packet?: RiddleProofCheckpointPacket;
|
|
295
|
+
checkpoint_summary?: RiddleProofCheckpointSummary;
|
|
296
|
+
state_paths?: RiddleProofStatePaths;
|
|
297
|
+
proof_contract?: RiddleProofProofContract;
|
|
243
298
|
latest_event?: RiddleProofEvent;
|
|
244
299
|
}
|
|
245
300
|
interface RiddleProofEvidenceBundle {
|
|
@@ -460,4 +515,4 @@ interface RiddleProofVisualSessionFingerprintBasis {
|
|
|
460
515
|
capture_script_hash?: string;
|
|
461
516
|
}
|
|
462
517
|
|
|
463
|
-
export type { EvidenceArtifact, EvidenceReference, ImplementationAdapter, ImplementationAdapterInput, ImplementationAdapterResult, IntegrationContext, JsonObject, JsonPrimitive, JsonValue, JudgeAdapter, NotificationAdapter, PreflightAdapter, PreflightAdapterInput, PreflightAdapterResult, ProofAdapter, ProofAdapterInput, ProofAdapterResult, RiddleProofArtifactRole, RiddleProofAssessment, RiddleProofBlocker, RiddleProofCheckpointArtifact, RiddleProofCheckpointPacket, RiddleProofCheckpointResponse, RiddleProofCheckpointRole, RiddleProofCheckpointRoutingHint, RiddleProofCheckpointVisibility, RiddleProofDecision, RiddleProofEvent, RiddleProofEvidenceBundle, RiddleProofPrLifecycleState, RiddleProofPrLifecycleStatus, RiddleProofRunParams, RiddleProofRunResult, RiddleProofRunState, RiddleProofRunStatusSnapshot, RiddleProofStage, RiddleProofStatus, RiddleProofTerminalMetadata, RiddleProofVerificationMode, RiddleProofVisualSession, RiddleProofVisualSessionFingerprintBasis, SetupAdapter, SetupAdapterInput, SetupAdapterResult, ShipAdapter };
|
|
518
|
+
export type { EvidenceArtifact, EvidenceReference, ImplementationAdapter, ImplementationAdapterInput, ImplementationAdapterResult, IntegrationContext, JsonObject, JsonPrimitive, JsonValue, JudgeAdapter, NotificationAdapter, PreflightAdapter, PreflightAdapterInput, PreflightAdapterResult, ProofAdapter, ProofAdapterInput, ProofAdapterResult, RiddleProofArtifactRole, RiddleProofAssessment, RiddleProofBlocker, RiddleProofCheckpointArtifact, RiddleProofCheckpointPacket, RiddleProofCheckpointResponse, RiddleProofCheckpointRole, RiddleProofCheckpointRoutingHint, RiddleProofCheckpointSummary, RiddleProofCheckpointVisibility, RiddleProofDecision, RiddleProofEvent, RiddleProofEvidenceBundle, RiddleProofPrLifecycleState, RiddleProofPrLifecycleStatus, RiddleProofProofContract, RiddleProofRunParams, RiddleProofRunResult, RiddleProofRunState, RiddleProofRunStatusSnapshot, RiddleProofStage, RiddleProofStatePaths, RiddleProofStatus, RiddleProofTerminalMetadata, RiddleProofVerificationMode, RiddleProofVisualSession, RiddleProofVisualSessionFingerprintBasis, SetupAdapter, SetupAdapterInput, SetupAdapterResult, ShipAdapter };
|