@riddledc/riddle-proof 0.7.225 → 0.7.227
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/adapters/codex-exec-agent.cjs +893 -0
- package/dist/adapters/codex-exec-agent.d.cts +3 -0
- package/dist/adapters/codex-exec-agent.d.ts +3 -0
- package/dist/adapters/codex-exec-agent.js +13 -0
- package/dist/adapters/codex.cjs +893 -0
- package/dist/adapters/codex.d.cts +3 -0
- package/dist/adapters/codex.d.ts +3 -0
- package/dist/adapters/codex.js +13 -0
- package/dist/adapters/local-agent.cjs +893 -0
- package/dist/adapters/local-agent.d.cts +3 -0
- package/dist/adapters/local-agent.d.ts +3 -0
- package/dist/adapters/local-agent.js +13 -0
- package/dist/adapters/openclaw.cjs +213 -0
- package/dist/adapters/openclaw.d.cts +2 -0
- package/dist/adapters/openclaw.d.ts +2 -0
- package/dist/adapters/openclaw.js +17 -0
- package/dist/advanced/engine-harness.cjs +5701 -0
- package/dist/advanced/engine-harness.d.cts +2 -0
- package/dist/advanced/engine-harness.d.ts +2 -0
- package/dist/advanced/engine-harness.js +16 -0
- package/dist/advanced/index.cjs +6242 -0
- package/dist/advanced/index.d.cts +5 -0
- package/dist/advanced/index.d.ts +5 -0
- package/dist/advanced/index.js +23 -0
- package/dist/advanced/proof-run-core.cjs +1085 -0
- package/dist/advanced/proof-run-core.d.cts +1 -0
- package/dist/advanced/proof-run-core.d.ts +1 -0
- package/dist/advanced/proof-run-core.js +59 -0
- package/dist/advanced/proof-run-engine.cjs +2905 -0
- package/dist/advanced/proof-run-engine.d.cts +2 -0
- package/dist/advanced/proof-run-engine.d.ts +2 -0
- package/dist/advanced/proof-run-engine.js +10 -0
- package/dist/advanced/runner.cjs +833 -0
- package/dist/advanced/runner.d.cts +2 -0
- package/dist/advanced/runner.d.ts +2 -0
- package/dist/advanced/runner.js +12 -0
- package/dist/app-contract/index.cjs +24 -0
- package/dist/app-contract/index.d.cts +1 -0
- package/dist/app-contract/index.d.ts +1 -0
- package/dist/app-contract/index.js +2 -0
- package/dist/basic-gameplay.js +1 -0
- package/dist/checkpoint.js +1 -0
- package/dist/chunk-BHL4JSGM.js +1900 -0
- package/dist/chunk-BTN76IGW.js +115 -0
- package/dist/{chunk-TGHTM66Z.js → chunk-COERZX63.js} +10 -2
- package/dist/{chunk-4DRRIJDX.js → chunk-IWLQQ5S5.js} +27 -4
- package/dist/chunk-MLKGABMK.js +9 -0
- package/dist/chunk-OFSECTSC.js +0 -0
- package/dist/{chunk-GBVEQQIM.js → chunk-TJ63IE65.js} +36 -1
- package/dist/chunk-VZD5LH7U.js +4138 -0
- package/dist/cli/index.cjs +18 -0
- package/dist/cli/index.d.cts +2 -0
- package/dist/cli/index.d.ts +2 -0
- package/dist/cli/index.js +12 -0
- package/dist/cli.cjs +19 -2
- package/dist/cli.d.cts +1 -0
- package/dist/cli.d.ts +1 -0
- package/dist/cli.js +8 -4139
- package/dist/codex-exec-agent.d.cts +1 -1
- package/dist/codex-exec-agent.d.ts +1 -1
- package/dist/codex-exec-agent.js +1 -0
- package/dist/diagnostics.js +1 -0
- package/dist/engine-harness-CMACHP6A.d.ts +96 -0
- package/dist/engine-harness-LBfqbFSe.d.cts +96 -0
- package/dist/engine-harness.cjs +19 -2
- package/dist/engine-harness.d.cts +2 -79
- package/dist/engine-harness.d.ts +2 -79
- package/dist/engine-harness.js +3 -2
- package/dist/index.cjs +19 -2
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +4 -3
- package/dist/local-agent.d.cts +1 -1
- package/dist/local-agent.d.ts +1 -1
- package/dist/local-agent.js +1 -0
- package/dist/openclaw.js +8 -107
- package/dist/playability.js +1 -0
- package/dist/profile/index.cjs +9403 -0
- package/dist/profile/index.d.cts +2 -0
- package/dist/profile/index.d.ts +2 -0
- package/dist/profile/index.js +53 -0
- package/dist/profile.js +1 -0
- package/dist/proof-run-core-CE0jx7wL.d.cts +359 -0
- package/dist/proof-run-core-CE0jx7wL.d.ts +359 -0
- package/dist/proof-run-core.d.cts +1 -322
- package/dist/proof-run-core.d.ts +1 -322
- package/dist/proof-run-core.js +2 -1
- package/dist/proof-run-engine-CSSc0mNn.d.ts +764 -0
- package/dist/proof-run-engine-HSRpUeBi.d.cts +764 -0
- package/dist/proof-run-engine.cjs +4 -0
- package/dist/proof-run-engine.d.cts +2 -757
- package/dist/proof-run-engine.d.ts +2 -757
- package/dist/proof-run-engine.js +5 -1881
- package/dist/proof-session.js +1 -0
- package/dist/result.js +1 -0
- package/dist/riddle-client.js +1 -0
- package/dist/run-card.js +1 -0
- package/dist/runner-4LJ5z0D-.d.cts +29 -0
- package/dist/runner-BdQpOkZD.d.ts +29 -0
- package/dist/runner.d.cts +2 -22
- package/dist/runner.d.ts +2 -22
- package/dist/runner.js +3 -2
- package/dist/runtime/index.cjs +528 -0
- package/dist/runtime/index.d.cts +1 -0
- package/dist/runtime/index.d.ts +1 -0
- package/dist/runtime/index.js +37 -0
- package/dist/runtime/riddle-client.cjs +528 -0
- package/dist/runtime/riddle-client.d.cts +1 -0
- package/dist/runtime/riddle-client.d.ts +1 -0
- package/dist/runtime/riddle-client.js +37 -0
- package/dist/spec/checkpoint.cjs +807 -0
- package/dist/spec/checkpoint.d.cts +2 -0
- package/dist/spec/checkpoint.d.ts +2 -0
- package/dist/spec/checkpoint.js +34 -0
- package/dist/spec/index.cjs +1510 -0
- package/dist/spec/index.d.cts +5 -0
- package/dist/spec/index.d.ts +5 -0
- package/dist/spec/index.js +80 -0
- package/dist/spec/result.cjs +259 -0
- package/dist/spec/result.d.cts +2 -0
- package/dist/spec/result.d.ts +2 -0
- package/dist/spec/result.js +21 -0
- package/dist/spec/run-card.cjs +287 -0
- package/dist/spec/run-card.d.cts +2 -0
- package/dist/spec/run-card.d.ts +2 -0
- package/dist/spec/run-card.js +11 -0
- package/dist/spec/state.cjs +541 -0
- package/dist/spec/state.d.cts +2 -0
- package/dist/spec/state.d.ts +2 -0
- package/dist/spec/state.js +28 -0
- package/dist/spec/types.cjs +18 -0
- package/dist/spec/types.d.cts +1 -0
- package/dist/spec/types.d.ts +1 -0
- package/dist/spec/types.js +1 -0
- package/dist/state.js +1 -0
- package/package.json +95 -2
- package/runtime/lib/verify.py +53 -3
- package/runtime/pipelines/riddle-proof-setup.lobster +45 -41
- package/runtime/tests/recon_verify_smoke.py +41 -0
package/dist/codex-exec-agent.js
CHANGED
package/dist/diagnostics.js
CHANGED
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { RiddleProofRunParams, RiddleProofRunState, RiddleProofBlocker, RiddleProofCheckpointVisibility, RiddleProofCheckpointResponse, RiddleProofRunStatusSnapshot, RiddleProofRunResult } from './types.js';
|
|
2
|
+
|
|
3
|
+
type RiddleProofShipMode = "none" | "ship";
|
|
4
|
+
type RiddleProofCheckpointMode = "auto" | "yield";
|
|
5
|
+
interface RiddleProofWorkflowParams extends Record<string, unknown> {
|
|
6
|
+
action: string;
|
|
7
|
+
state_path?: string;
|
|
8
|
+
leave_draft?: boolean;
|
|
9
|
+
cleanup_merged_pr?: boolean;
|
|
10
|
+
fetch_base?: boolean;
|
|
11
|
+
update_base_checkout?: boolean;
|
|
12
|
+
}
|
|
13
|
+
interface RiddleProofEngineResult extends Record<string, unknown> {
|
|
14
|
+
ok?: boolean;
|
|
15
|
+
state_path?: string;
|
|
16
|
+
checkpoint?: string | null;
|
|
17
|
+
checkpointContract?: Record<string, unknown> | null;
|
|
18
|
+
decisionRequest?: Record<string, unknown> | null;
|
|
19
|
+
state?: Record<string, unknown> | null;
|
|
20
|
+
summary?: string;
|
|
21
|
+
shipGate?: Record<string, unknown> | null;
|
|
22
|
+
}
|
|
23
|
+
interface RiddleProofEngine {
|
|
24
|
+
execute(params: RiddleProofWorkflowParams): Promise<RiddleProofEngineResult>;
|
|
25
|
+
}
|
|
26
|
+
interface RiddleProofEngineHarnessConfig {
|
|
27
|
+
riddleProofDir?: string;
|
|
28
|
+
defaultReviewer?: string;
|
|
29
|
+
riddleEngineModuleUrl?: string;
|
|
30
|
+
stateDir?: string;
|
|
31
|
+
defaultMaxIterations?: number;
|
|
32
|
+
defaultShipMode?: RiddleProofShipMode;
|
|
33
|
+
}
|
|
34
|
+
interface RiddleProofAgentPayload {
|
|
35
|
+
ok?: boolean;
|
|
36
|
+
payload?: Record<string, unknown>;
|
|
37
|
+
summary?: string;
|
|
38
|
+
blocker?: RiddleProofBlocker;
|
|
39
|
+
diffDetected?: boolean;
|
|
40
|
+
changedFiles?: string[];
|
|
41
|
+
testsRun?: string[];
|
|
42
|
+
implementationNotes?: string;
|
|
43
|
+
details?: Record<string, unknown>;
|
|
44
|
+
}
|
|
45
|
+
interface RiddleProofEngineHarnessContext {
|
|
46
|
+
request: RiddleProofRunParams;
|
|
47
|
+
state: RiddleProofRunState;
|
|
48
|
+
engineResult: RiddleProofEngineResult;
|
|
49
|
+
fullRiddleState: Record<string, unknown> | null;
|
|
50
|
+
checkpoint: string;
|
|
51
|
+
}
|
|
52
|
+
interface RiddleProofAgentAdapter {
|
|
53
|
+
assessRecon(context: RiddleProofEngineHarnessContext): Promise<RiddleProofAgentPayload>;
|
|
54
|
+
authorProofPacket(context: RiddleProofEngineHarnessContext): Promise<RiddleProofAgentPayload>;
|
|
55
|
+
implementChange(context: RiddleProofEngineHarnessContext & {
|
|
56
|
+
workdir?: string | null;
|
|
57
|
+
}): Promise<RiddleProofAgentPayload>;
|
|
58
|
+
assessProof(context: RiddleProofEngineHarnessContext): Promise<RiddleProofAgentPayload>;
|
|
59
|
+
}
|
|
60
|
+
interface RunRiddleProofEngineHarnessInput {
|
|
61
|
+
request: RiddleProofRunParams;
|
|
62
|
+
engine?: RiddleProofEngine | (() => Promise<RiddleProofEngine>);
|
|
63
|
+
agent?: RiddleProofAgentAdapter;
|
|
64
|
+
config?: RiddleProofEngineHarnessConfig;
|
|
65
|
+
state?: RiddleProofRunState;
|
|
66
|
+
state_path?: string;
|
|
67
|
+
resume_params?: RiddleProofWorkflowParams;
|
|
68
|
+
checkpoint_mode?: RiddleProofCheckpointMode;
|
|
69
|
+
checkpoint_visibility?: RiddleProofCheckpointVisibility;
|
|
70
|
+
checkpoint_response?: RiddleProofCheckpointResponse | Record<string, unknown>;
|
|
71
|
+
max_iterations?: number;
|
|
72
|
+
dry_run?: boolean;
|
|
73
|
+
auto_approve?: boolean;
|
|
74
|
+
}
|
|
75
|
+
declare function createDisabledRiddleProofAgentAdapter(): RiddleProofAgentAdapter;
|
|
76
|
+
declare function readRiddleProofRunStatus(state_path: string): RiddleProofRunStatusSnapshot | null;
|
|
77
|
+
declare function runRiddleProofEngineHarness(input: RunRiddleProofEngineHarnessInput): Promise<RiddleProofRunResult>;
|
|
78
|
+
|
|
79
|
+
type engineHarness_RiddleProofAgentAdapter = RiddleProofAgentAdapter;
|
|
80
|
+
type engineHarness_RiddleProofAgentPayload = RiddleProofAgentPayload;
|
|
81
|
+
type engineHarness_RiddleProofCheckpointMode = RiddleProofCheckpointMode;
|
|
82
|
+
type engineHarness_RiddleProofEngine = RiddleProofEngine;
|
|
83
|
+
type engineHarness_RiddleProofEngineHarnessConfig = RiddleProofEngineHarnessConfig;
|
|
84
|
+
type engineHarness_RiddleProofEngineHarnessContext = RiddleProofEngineHarnessContext;
|
|
85
|
+
type engineHarness_RiddleProofEngineResult = RiddleProofEngineResult;
|
|
86
|
+
type engineHarness_RiddleProofShipMode = RiddleProofShipMode;
|
|
87
|
+
type engineHarness_RiddleProofWorkflowParams = RiddleProofWorkflowParams;
|
|
88
|
+
type engineHarness_RunRiddleProofEngineHarnessInput = RunRiddleProofEngineHarnessInput;
|
|
89
|
+
declare const engineHarness_createDisabledRiddleProofAgentAdapter: typeof createDisabledRiddleProofAgentAdapter;
|
|
90
|
+
declare const engineHarness_readRiddleProofRunStatus: typeof readRiddleProofRunStatus;
|
|
91
|
+
declare const engineHarness_runRiddleProofEngineHarness: typeof runRiddleProofEngineHarness;
|
|
92
|
+
declare namespace engineHarness {
|
|
93
|
+
export { type engineHarness_RiddleProofAgentAdapter as RiddleProofAgentAdapter, type engineHarness_RiddleProofAgentPayload as RiddleProofAgentPayload, type engineHarness_RiddleProofCheckpointMode as RiddleProofCheckpointMode, type engineHarness_RiddleProofEngine as RiddleProofEngine, type engineHarness_RiddleProofEngineHarnessConfig as RiddleProofEngineHarnessConfig, type engineHarness_RiddleProofEngineHarnessContext as RiddleProofEngineHarnessContext, type engineHarness_RiddleProofEngineResult as RiddleProofEngineResult, type engineHarness_RiddleProofShipMode as RiddleProofShipMode, type engineHarness_RiddleProofWorkflowParams as RiddleProofWorkflowParams, type engineHarness_RunRiddleProofEngineHarnessInput as RunRiddleProofEngineHarnessInput, engineHarness_createDisabledRiddleProofAgentAdapter as createDisabledRiddleProofAgentAdapter, engineHarness_readRiddleProofRunStatus as readRiddleProofRunStatus, engineHarness_runRiddleProofEngineHarness as runRiddleProofEngineHarness };
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
export { type RiddleProofAgentAdapter as R, type RiddleProofAgentPayload as a, type RiddleProofCheckpointMode as b, type RiddleProofEngine as c, type RiddleProofEngineHarnessConfig as d, type RiddleProofEngineHarnessContext as e, type RiddleProofEngineResult as f, type RiddleProofShipMode as g, type RiddleProofWorkflowParams as h, type RunRiddleProofEngineHarnessInput as i, createDisabledRiddleProofAgentAdapter as j, runRiddleProofEngineHarness as k, engineHarness as l, readRiddleProofRunStatus as r };
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { RiddleProofRunParams, RiddleProofRunState, RiddleProofBlocker, RiddleProofCheckpointVisibility, RiddleProofCheckpointResponse, RiddleProofRunStatusSnapshot, RiddleProofRunResult } from './types.cjs';
|
|
2
|
+
|
|
3
|
+
type RiddleProofShipMode = "none" | "ship";
|
|
4
|
+
type RiddleProofCheckpointMode = "auto" | "yield";
|
|
5
|
+
interface RiddleProofWorkflowParams extends Record<string, unknown> {
|
|
6
|
+
action: string;
|
|
7
|
+
state_path?: string;
|
|
8
|
+
leave_draft?: boolean;
|
|
9
|
+
cleanup_merged_pr?: boolean;
|
|
10
|
+
fetch_base?: boolean;
|
|
11
|
+
update_base_checkout?: boolean;
|
|
12
|
+
}
|
|
13
|
+
interface RiddleProofEngineResult extends Record<string, unknown> {
|
|
14
|
+
ok?: boolean;
|
|
15
|
+
state_path?: string;
|
|
16
|
+
checkpoint?: string | null;
|
|
17
|
+
checkpointContract?: Record<string, unknown> | null;
|
|
18
|
+
decisionRequest?: Record<string, unknown> | null;
|
|
19
|
+
state?: Record<string, unknown> | null;
|
|
20
|
+
summary?: string;
|
|
21
|
+
shipGate?: Record<string, unknown> | null;
|
|
22
|
+
}
|
|
23
|
+
interface RiddleProofEngine {
|
|
24
|
+
execute(params: RiddleProofWorkflowParams): Promise<RiddleProofEngineResult>;
|
|
25
|
+
}
|
|
26
|
+
interface RiddleProofEngineHarnessConfig {
|
|
27
|
+
riddleProofDir?: string;
|
|
28
|
+
defaultReviewer?: string;
|
|
29
|
+
riddleEngineModuleUrl?: string;
|
|
30
|
+
stateDir?: string;
|
|
31
|
+
defaultMaxIterations?: number;
|
|
32
|
+
defaultShipMode?: RiddleProofShipMode;
|
|
33
|
+
}
|
|
34
|
+
interface RiddleProofAgentPayload {
|
|
35
|
+
ok?: boolean;
|
|
36
|
+
payload?: Record<string, unknown>;
|
|
37
|
+
summary?: string;
|
|
38
|
+
blocker?: RiddleProofBlocker;
|
|
39
|
+
diffDetected?: boolean;
|
|
40
|
+
changedFiles?: string[];
|
|
41
|
+
testsRun?: string[];
|
|
42
|
+
implementationNotes?: string;
|
|
43
|
+
details?: Record<string, unknown>;
|
|
44
|
+
}
|
|
45
|
+
interface RiddleProofEngineHarnessContext {
|
|
46
|
+
request: RiddleProofRunParams;
|
|
47
|
+
state: RiddleProofRunState;
|
|
48
|
+
engineResult: RiddleProofEngineResult;
|
|
49
|
+
fullRiddleState: Record<string, unknown> | null;
|
|
50
|
+
checkpoint: string;
|
|
51
|
+
}
|
|
52
|
+
interface RiddleProofAgentAdapter {
|
|
53
|
+
assessRecon(context: RiddleProofEngineHarnessContext): Promise<RiddleProofAgentPayload>;
|
|
54
|
+
authorProofPacket(context: RiddleProofEngineHarnessContext): Promise<RiddleProofAgentPayload>;
|
|
55
|
+
implementChange(context: RiddleProofEngineHarnessContext & {
|
|
56
|
+
workdir?: string | null;
|
|
57
|
+
}): Promise<RiddleProofAgentPayload>;
|
|
58
|
+
assessProof(context: RiddleProofEngineHarnessContext): Promise<RiddleProofAgentPayload>;
|
|
59
|
+
}
|
|
60
|
+
interface RunRiddleProofEngineHarnessInput {
|
|
61
|
+
request: RiddleProofRunParams;
|
|
62
|
+
engine?: RiddleProofEngine | (() => Promise<RiddleProofEngine>);
|
|
63
|
+
agent?: RiddleProofAgentAdapter;
|
|
64
|
+
config?: RiddleProofEngineHarnessConfig;
|
|
65
|
+
state?: RiddleProofRunState;
|
|
66
|
+
state_path?: string;
|
|
67
|
+
resume_params?: RiddleProofWorkflowParams;
|
|
68
|
+
checkpoint_mode?: RiddleProofCheckpointMode;
|
|
69
|
+
checkpoint_visibility?: RiddleProofCheckpointVisibility;
|
|
70
|
+
checkpoint_response?: RiddleProofCheckpointResponse | Record<string, unknown>;
|
|
71
|
+
max_iterations?: number;
|
|
72
|
+
dry_run?: boolean;
|
|
73
|
+
auto_approve?: boolean;
|
|
74
|
+
}
|
|
75
|
+
declare function createDisabledRiddleProofAgentAdapter(): RiddleProofAgentAdapter;
|
|
76
|
+
declare function readRiddleProofRunStatus(state_path: string): RiddleProofRunStatusSnapshot | null;
|
|
77
|
+
declare function runRiddleProofEngineHarness(input: RunRiddleProofEngineHarnessInput): Promise<RiddleProofRunResult>;
|
|
78
|
+
|
|
79
|
+
type engineHarness_RiddleProofAgentAdapter = RiddleProofAgentAdapter;
|
|
80
|
+
type engineHarness_RiddleProofAgentPayload = RiddleProofAgentPayload;
|
|
81
|
+
type engineHarness_RiddleProofCheckpointMode = RiddleProofCheckpointMode;
|
|
82
|
+
type engineHarness_RiddleProofEngine = RiddleProofEngine;
|
|
83
|
+
type engineHarness_RiddleProofEngineHarnessConfig = RiddleProofEngineHarnessConfig;
|
|
84
|
+
type engineHarness_RiddleProofEngineHarnessContext = RiddleProofEngineHarnessContext;
|
|
85
|
+
type engineHarness_RiddleProofEngineResult = RiddleProofEngineResult;
|
|
86
|
+
type engineHarness_RiddleProofShipMode = RiddleProofShipMode;
|
|
87
|
+
type engineHarness_RiddleProofWorkflowParams = RiddleProofWorkflowParams;
|
|
88
|
+
type engineHarness_RunRiddleProofEngineHarnessInput = RunRiddleProofEngineHarnessInput;
|
|
89
|
+
declare const engineHarness_createDisabledRiddleProofAgentAdapter: typeof createDisabledRiddleProofAgentAdapter;
|
|
90
|
+
declare const engineHarness_readRiddleProofRunStatus: typeof readRiddleProofRunStatus;
|
|
91
|
+
declare const engineHarness_runRiddleProofEngineHarness: typeof runRiddleProofEngineHarness;
|
|
92
|
+
declare namespace engineHarness {
|
|
93
|
+
export { type engineHarness_RiddleProofAgentAdapter as RiddleProofAgentAdapter, type engineHarness_RiddleProofAgentPayload as RiddleProofAgentPayload, type engineHarness_RiddleProofCheckpointMode as RiddleProofCheckpointMode, type engineHarness_RiddleProofEngine as RiddleProofEngine, type engineHarness_RiddleProofEngineHarnessConfig as RiddleProofEngineHarnessConfig, type engineHarness_RiddleProofEngineHarnessContext as RiddleProofEngineHarnessContext, type engineHarness_RiddleProofEngineResult as RiddleProofEngineResult, type engineHarness_RiddleProofShipMode as RiddleProofShipMode, type engineHarness_RiddleProofWorkflowParams as RiddleProofWorkflowParams, type engineHarness_RunRiddleProofEngineHarnessInput as RunRiddleProofEngineHarnessInput, engineHarness_createDisabledRiddleProofAgentAdapter as createDisabledRiddleProofAgentAdapter, engineHarness_readRiddleProofRunStatus as readRiddleProofRunStatus, engineHarness_runRiddleProofEngineHarness as runRiddleProofEngineHarness };
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
export { type RiddleProofAgentAdapter as R, type RiddleProofAgentPayload as a, type RiddleProofCheckpointMode as b, type RiddleProofEngine as c, type RiddleProofEngineHarnessConfig as d, type RiddleProofEngineHarnessContext as e, type RiddleProofEngineResult as f, type RiddleProofShipMode as g, type RiddleProofWorkflowParams as h, type RunRiddleProofEngineHarnessInput as i, createDisabledRiddleProofAgentAdapter as j, runRiddleProofEngineHarness as k, engineHarness as l, readRiddleProofRunStatus as r };
|
package/dist/engine-harness.cjs
CHANGED
|
@@ -1661,6 +1661,10 @@ async function executeWorkflow(params, pluginConfig, resolvedConfig) {
|
|
|
1661
1661
|
const timer = beginRuntimeStep(config.statePath, action, step, stepWorkflowFile);
|
|
1662
1662
|
let output;
|
|
1663
1663
|
try {
|
|
1664
|
+
if (step === "setup") {
|
|
1665
|
+
(0, import_node_fs2.mkdirSync)(import_node_path2.default.dirname(config.argsPath), { recursive: true });
|
|
1666
|
+
(0, import_node_fs2.writeFileSync)(config.argsPath, JSON.stringify(args, null, 2));
|
|
1667
|
+
}
|
|
1664
1668
|
output = JSON.parse(
|
|
1665
1669
|
(0, import_node_child_process.execFileSync)(lobsterCommand, [...lobsterPrefix, "run", "--file", stepWorkflowFile, "--args-json", JSON.stringify(args)], {
|
|
1666
1670
|
encoding: "utf-8",
|
|
@@ -4394,6 +4398,16 @@ function baseContinuation(result) {
|
|
|
4394
4398
|
continue_from_checkpoint: true
|
|
4395
4399
|
};
|
|
4396
4400
|
}
|
|
4401
|
+
function carryRequestControlFlags(params, request) {
|
|
4402
|
+
if (!noImplementationModeFor(request)) return params;
|
|
4403
|
+
return compactRecord({
|
|
4404
|
+
...params,
|
|
4405
|
+
mode: request.mode,
|
|
4406
|
+
implementation_mode: request.implementation_mode || "none",
|
|
4407
|
+
require_diff: request.require_diff ?? false,
|
|
4408
|
+
allow_code_changes: request.allow_code_changes ?? false
|
|
4409
|
+
});
|
|
4410
|
+
}
|
|
4397
4411
|
function initialRunParams(request, input, state) {
|
|
4398
4412
|
return compactRecord({
|
|
4399
4413
|
action: "run",
|
|
@@ -5548,7 +5562,10 @@ async function runRiddleProofEngineHarness(input) {
|
|
|
5548
5562
|
message
|
|
5549
5563
|
});
|
|
5550
5564
|
}
|
|
5551
|
-
let nextParams =
|
|
5565
|
+
let nextParams = carryRequestControlFlags(
|
|
5566
|
+
input.resume_params || checkpointContinuation.next || initialRunParams(request, input, state),
|
|
5567
|
+
request
|
|
5568
|
+
);
|
|
5552
5569
|
let lastResult = null;
|
|
5553
5570
|
const stageIterations = {};
|
|
5554
5571
|
for (let index = 0; index < maxIterations; index += 1) {
|
|
@@ -5661,7 +5678,7 @@ async function runRiddleProofEngineHarness(input) {
|
|
|
5661
5678
|
message: "The harness route returned no next step."
|
|
5662
5679
|
});
|
|
5663
5680
|
}
|
|
5664
|
-
nextParams = routed.next;
|
|
5681
|
+
nextParams = carryRequestControlFlags(routed.next, request);
|
|
5665
5682
|
}
|
|
5666
5683
|
return blockerResult(state, lastResult, {
|
|
5667
5684
|
code: "max_iterations_reached",
|
|
@@ -1,79 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
type RiddleProofShipMode = "none" | "ship";
|
|
4
|
-
type RiddleProofCheckpointMode = "auto" | "yield";
|
|
5
|
-
interface RiddleProofWorkflowParams extends Record<string, unknown> {
|
|
6
|
-
action: string;
|
|
7
|
-
state_path?: string;
|
|
8
|
-
leave_draft?: boolean;
|
|
9
|
-
cleanup_merged_pr?: boolean;
|
|
10
|
-
fetch_base?: boolean;
|
|
11
|
-
update_base_checkout?: boolean;
|
|
12
|
-
}
|
|
13
|
-
interface RiddleProofEngineResult extends Record<string, unknown> {
|
|
14
|
-
ok?: boolean;
|
|
15
|
-
state_path?: string;
|
|
16
|
-
checkpoint?: string | null;
|
|
17
|
-
checkpointContract?: Record<string, unknown> | null;
|
|
18
|
-
decisionRequest?: Record<string, unknown> | null;
|
|
19
|
-
state?: Record<string, unknown> | null;
|
|
20
|
-
summary?: string;
|
|
21
|
-
shipGate?: Record<string, unknown> | null;
|
|
22
|
-
}
|
|
23
|
-
interface RiddleProofEngine {
|
|
24
|
-
execute(params: RiddleProofWorkflowParams): Promise<RiddleProofEngineResult>;
|
|
25
|
-
}
|
|
26
|
-
interface RiddleProofEngineHarnessConfig {
|
|
27
|
-
riddleProofDir?: string;
|
|
28
|
-
defaultReviewer?: string;
|
|
29
|
-
riddleEngineModuleUrl?: string;
|
|
30
|
-
stateDir?: string;
|
|
31
|
-
defaultMaxIterations?: number;
|
|
32
|
-
defaultShipMode?: RiddleProofShipMode;
|
|
33
|
-
}
|
|
34
|
-
interface RiddleProofAgentPayload {
|
|
35
|
-
ok?: boolean;
|
|
36
|
-
payload?: Record<string, unknown>;
|
|
37
|
-
summary?: string;
|
|
38
|
-
blocker?: RiddleProofBlocker;
|
|
39
|
-
diffDetected?: boolean;
|
|
40
|
-
changedFiles?: string[];
|
|
41
|
-
testsRun?: string[];
|
|
42
|
-
implementationNotes?: string;
|
|
43
|
-
details?: Record<string, unknown>;
|
|
44
|
-
}
|
|
45
|
-
interface RiddleProofEngineHarnessContext {
|
|
46
|
-
request: RiddleProofRunParams;
|
|
47
|
-
state: RiddleProofRunState;
|
|
48
|
-
engineResult: RiddleProofEngineResult;
|
|
49
|
-
fullRiddleState: Record<string, unknown> | null;
|
|
50
|
-
checkpoint: string;
|
|
51
|
-
}
|
|
52
|
-
interface RiddleProofAgentAdapter {
|
|
53
|
-
assessRecon(context: RiddleProofEngineHarnessContext): Promise<RiddleProofAgentPayload>;
|
|
54
|
-
authorProofPacket(context: RiddleProofEngineHarnessContext): Promise<RiddleProofAgentPayload>;
|
|
55
|
-
implementChange(context: RiddleProofEngineHarnessContext & {
|
|
56
|
-
workdir?: string | null;
|
|
57
|
-
}): Promise<RiddleProofAgentPayload>;
|
|
58
|
-
assessProof(context: RiddleProofEngineHarnessContext): Promise<RiddleProofAgentPayload>;
|
|
59
|
-
}
|
|
60
|
-
interface RunRiddleProofEngineHarnessInput {
|
|
61
|
-
request: RiddleProofRunParams;
|
|
62
|
-
engine?: RiddleProofEngine | (() => Promise<RiddleProofEngine>);
|
|
63
|
-
agent?: RiddleProofAgentAdapter;
|
|
64
|
-
config?: RiddleProofEngineHarnessConfig;
|
|
65
|
-
state?: RiddleProofRunState;
|
|
66
|
-
state_path?: string;
|
|
67
|
-
resume_params?: RiddleProofWorkflowParams;
|
|
68
|
-
checkpoint_mode?: RiddleProofCheckpointMode;
|
|
69
|
-
checkpoint_visibility?: RiddleProofCheckpointVisibility;
|
|
70
|
-
checkpoint_response?: RiddleProofCheckpointResponse | Record<string, unknown>;
|
|
71
|
-
max_iterations?: number;
|
|
72
|
-
dry_run?: boolean;
|
|
73
|
-
auto_approve?: boolean;
|
|
74
|
-
}
|
|
75
|
-
declare function createDisabledRiddleProofAgentAdapter(): RiddleProofAgentAdapter;
|
|
76
|
-
declare function readRiddleProofRunStatus(state_path: string): RiddleProofRunStatusSnapshot | null;
|
|
77
|
-
declare function runRiddleProofEngineHarness(input: RunRiddleProofEngineHarnessInput): Promise<RiddleProofRunResult>;
|
|
78
|
-
|
|
79
|
-
export { type RiddleProofAgentAdapter, type RiddleProofAgentPayload, type RiddleProofCheckpointMode, type RiddleProofEngine, type RiddleProofEngineHarnessConfig, type RiddleProofEngineHarnessContext, type RiddleProofEngineResult, type RiddleProofShipMode, type RiddleProofWorkflowParams, type RunRiddleProofEngineHarnessInput, createDisabledRiddleProofAgentAdapter, readRiddleProofRunStatus, runRiddleProofEngineHarness };
|
|
1
|
+
import './types.cjs';
|
|
2
|
+
export { R as RiddleProofAgentAdapter, a as RiddleProofAgentPayload, b as RiddleProofCheckpointMode, c as RiddleProofEngine, d as RiddleProofEngineHarnessConfig, e as RiddleProofEngineHarnessContext, f as RiddleProofEngineResult, g as RiddleProofShipMode, h as RiddleProofWorkflowParams, i as RunRiddleProofEngineHarnessInput, j as createDisabledRiddleProofAgentAdapter, r as readRiddleProofRunStatus, k as runRiddleProofEngineHarness } from './engine-harness-LBfqbFSe.cjs';
|
package/dist/engine-harness.d.ts
CHANGED
|
@@ -1,79 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
type RiddleProofShipMode = "none" | "ship";
|
|
4
|
-
type RiddleProofCheckpointMode = "auto" | "yield";
|
|
5
|
-
interface RiddleProofWorkflowParams extends Record<string, unknown> {
|
|
6
|
-
action: string;
|
|
7
|
-
state_path?: string;
|
|
8
|
-
leave_draft?: boolean;
|
|
9
|
-
cleanup_merged_pr?: boolean;
|
|
10
|
-
fetch_base?: boolean;
|
|
11
|
-
update_base_checkout?: boolean;
|
|
12
|
-
}
|
|
13
|
-
interface RiddleProofEngineResult extends Record<string, unknown> {
|
|
14
|
-
ok?: boolean;
|
|
15
|
-
state_path?: string;
|
|
16
|
-
checkpoint?: string | null;
|
|
17
|
-
checkpointContract?: Record<string, unknown> | null;
|
|
18
|
-
decisionRequest?: Record<string, unknown> | null;
|
|
19
|
-
state?: Record<string, unknown> | null;
|
|
20
|
-
summary?: string;
|
|
21
|
-
shipGate?: Record<string, unknown> | null;
|
|
22
|
-
}
|
|
23
|
-
interface RiddleProofEngine {
|
|
24
|
-
execute(params: RiddleProofWorkflowParams): Promise<RiddleProofEngineResult>;
|
|
25
|
-
}
|
|
26
|
-
interface RiddleProofEngineHarnessConfig {
|
|
27
|
-
riddleProofDir?: string;
|
|
28
|
-
defaultReviewer?: string;
|
|
29
|
-
riddleEngineModuleUrl?: string;
|
|
30
|
-
stateDir?: string;
|
|
31
|
-
defaultMaxIterations?: number;
|
|
32
|
-
defaultShipMode?: RiddleProofShipMode;
|
|
33
|
-
}
|
|
34
|
-
interface RiddleProofAgentPayload {
|
|
35
|
-
ok?: boolean;
|
|
36
|
-
payload?: Record<string, unknown>;
|
|
37
|
-
summary?: string;
|
|
38
|
-
blocker?: RiddleProofBlocker;
|
|
39
|
-
diffDetected?: boolean;
|
|
40
|
-
changedFiles?: string[];
|
|
41
|
-
testsRun?: string[];
|
|
42
|
-
implementationNotes?: string;
|
|
43
|
-
details?: Record<string, unknown>;
|
|
44
|
-
}
|
|
45
|
-
interface RiddleProofEngineHarnessContext {
|
|
46
|
-
request: RiddleProofRunParams;
|
|
47
|
-
state: RiddleProofRunState;
|
|
48
|
-
engineResult: RiddleProofEngineResult;
|
|
49
|
-
fullRiddleState: Record<string, unknown> | null;
|
|
50
|
-
checkpoint: string;
|
|
51
|
-
}
|
|
52
|
-
interface RiddleProofAgentAdapter {
|
|
53
|
-
assessRecon(context: RiddleProofEngineHarnessContext): Promise<RiddleProofAgentPayload>;
|
|
54
|
-
authorProofPacket(context: RiddleProofEngineHarnessContext): Promise<RiddleProofAgentPayload>;
|
|
55
|
-
implementChange(context: RiddleProofEngineHarnessContext & {
|
|
56
|
-
workdir?: string | null;
|
|
57
|
-
}): Promise<RiddleProofAgentPayload>;
|
|
58
|
-
assessProof(context: RiddleProofEngineHarnessContext): Promise<RiddleProofAgentPayload>;
|
|
59
|
-
}
|
|
60
|
-
interface RunRiddleProofEngineHarnessInput {
|
|
61
|
-
request: RiddleProofRunParams;
|
|
62
|
-
engine?: RiddleProofEngine | (() => Promise<RiddleProofEngine>);
|
|
63
|
-
agent?: RiddleProofAgentAdapter;
|
|
64
|
-
config?: RiddleProofEngineHarnessConfig;
|
|
65
|
-
state?: RiddleProofRunState;
|
|
66
|
-
state_path?: string;
|
|
67
|
-
resume_params?: RiddleProofWorkflowParams;
|
|
68
|
-
checkpoint_mode?: RiddleProofCheckpointMode;
|
|
69
|
-
checkpoint_visibility?: RiddleProofCheckpointVisibility;
|
|
70
|
-
checkpoint_response?: RiddleProofCheckpointResponse | Record<string, unknown>;
|
|
71
|
-
max_iterations?: number;
|
|
72
|
-
dry_run?: boolean;
|
|
73
|
-
auto_approve?: boolean;
|
|
74
|
-
}
|
|
75
|
-
declare function createDisabledRiddleProofAgentAdapter(): RiddleProofAgentAdapter;
|
|
76
|
-
declare function readRiddleProofRunStatus(state_path: string): RiddleProofRunStatusSnapshot | null;
|
|
77
|
-
declare function runRiddleProofEngineHarness(input: RunRiddleProofEngineHarnessInput): Promise<RiddleProofRunResult>;
|
|
78
|
-
|
|
79
|
-
export { type RiddleProofAgentAdapter, type RiddleProofAgentPayload, type RiddleProofCheckpointMode, type RiddleProofEngine, type RiddleProofEngineHarnessConfig, type RiddleProofEngineHarnessContext, type RiddleProofEngineResult, type RiddleProofShipMode, type RiddleProofWorkflowParams, type RunRiddleProofEngineHarnessInput, createDisabledRiddleProofAgentAdapter, readRiddleProofRunStatus, runRiddleProofEngineHarness };
|
|
1
|
+
import './types.js';
|
|
2
|
+
export { R as RiddleProofAgentAdapter, a as RiddleProofAgentPayload, b as RiddleProofCheckpointMode, c as RiddleProofEngine, d as RiddleProofEngineHarnessConfig, e as RiddleProofEngineHarnessContext, f as RiddleProofEngineResult, g as RiddleProofShipMode, h as RiddleProofWorkflowParams, i as RunRiddleProofEngineHarnessInput, j as createDisabledRiddleProofAgentAdapter, r as readRiddleProofRunStatus, k as runRiddleProofEngineHarness } from './engine-harness-CMACHP6A.js';
|
package/dist/engine-harness.js
CHANGED
|
@@ -2,12 +2,13 @@ import {
|
|
|
2
2
|
createDisabledRiddleProofAgentAdapter,
|
|
3
3
|
readRiddleProofRunStatus,
|
|
4
4
|
runRiddleProofEngineHarness
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-IWLQQ5S5.js";
|
|
6
6
|
import "./chunk-OHJQRDST.js";
|
|
7
7
|
import "./chunk-Y2KTBACQ.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-TJ63IE65.js";
|
|
9
9
|
import "./chunk-2CFVREFI.js";
|
|
10
10
|
import "./chunk-VY4Y5U57.js";
|
|
11
|
+
import "./chunk-MLKGABMK.js";
|
|
11
12
|
export {
|
|
12
13
|
createDisabledRiddleProofAgentAdapter,
|
|
13
14
|
readRiddleProofRunStatus,
|
package/dist/index.cjs
CHANGED
|
@@ -1661,6 +1661,10 @@ async function executeWorkflow(params, pluginConfig, resolvedConfig) {
|
|
|
1661
1661
|
const timer = beginRuntimeStep(config.statePath, action, step, stepWorkflowFile);
|
|
1662
1662
|
let output;
|
|
1663
1663
|
try {
|
|
1664
|
+
if (step === "setup") {
|
|
1665
|
+
(0, import_node_fs2.mkdirSync)(import_node_path2.default.dirname(config.argsPath), { recursive: true });
|
|
1666
|
+
(0, import_node_fs2.writeFileSync)(config.argsPath, JSON.stringify(args, null, 2));
|
|
1667
|
+
}
|
|
1664
1668
|
output = JSON.parse(
|
|
1665
1669
|
(0, import_node_child_process.execFileSync)(lobsterCommand, [...lobsterPrefix, "run", "--file", stepWorkflowFile, "--args-json", JSON.stringify(args)], {
|
|
1666
1670
|
encoding: "utf-8",
|
|
@@ -5128,6 +5132,16 @@ function baseContinuation(result) {
|
|
|
5128
5132
|
continue_from_checkpoint: true
|
|
5129
5133
|
};
|
|
5130
5134
|
}
|
|
5135
|
+
function carryRequestControlFlags(params, request) {
|
|
5136
|
+
if (!noImplementationModeFor(request)) return params;
|
|
5137
|
+
return compactRecord({
|
|
5138
|
+
...params,
|
|
5139
|
+
mode: request.mode,
|
|
5140
|
+
implementation_mode: request.implementation_mode || "none",
|
|
5141
|
+
require_diff: request.require_diff ?? false,
|
|
5142
|
+
allow_code_changes: request.allow_code_changes ?? false
|
|
5143
|
+
});
|
|
5144
|
+
}
|
|
5131
5145
|
function initialRunParams(request, input, state) {
|
|
5132
5146
|
return compactRecord({
|
|
5133
5147
|
action: "run",
|
|
@@ -6282,7 +6296,10 @@ async function runRiddleProofEngineHarness(input) {
|
|
|
6282
6296
|
message
|
|
6283
6297
|
});
|
|
6284
6298
|
}
|
|
6285
|
-
let nextParams =
|
|
6299
|
+
let nextParams = carryRequestControlFlags(
|
|
6300
|
+
input.resume_params || checkpointContinuation.next || initialRunParams(request, input, state),
|
|
6301
|
+
request
|
|
6302
|
+
);
|
|
6286
6303
|
let lastResult = null;
|
|
6287
6304
|
const stageIterations = {};
|
|
6288
6305
|
for (let index = 0; index < maxIterations; index += 1) {
|
|
@@ -6395,7 +6412,7 @@ async function runRiddleProofEngineHarness(input) {
|
|
|
6395
6412
|
message: "The harness route returned no next step."
|
|
6396
6413
|
});
|
|
6397
6414
|
}
|
|
6398
|
-
nextParams = routed.next;
|
|
6415
|
+
nextParams = carryRequestControlFlags(routed.next, request);
|
|
6399
6416
|
}
|
|
6400
6417
|
return blockerResult(state, lastResult, {
|
|
6401
6418
|
code: "max_iterations_reached",
|
package/dist/index.d.cts
CHANGED
|
@@ -3,8 +3,8 @@ export { TerminalMetadataInput, applyTerminalMetadata, compactRecord, createRunR
|
|
|
3
3
|
export { CreateRunStateInput, RIDDLE_PROOF_RUN_STATE_VERSION, RunEventInput, appendRunEvent, appendStageHeartbeat, applyPrLifecycleState, createRunState, createRunStatusSnapshot, normalizeIntegrationContext, normalizePrLifecycleState, normalizeRunParams, setRunStatus } from './state.cjs';
|
|
4
4
|
export { RIDDLE_PROOF_CHECKPOINT_PACKET_VERSION, RIDDLE_PROOF_CHECKPOINT_RESPONSE_VERSION, authorPacketPayloadFromCheckpointResponse, buildAuthorCheckpointPacket, buildCheckpointPacketForEngineResult, buildProofAssessmentCheckpointPacket, buildStageCheckpointPacket, checkpointResponseIdentity, checkpointSummaryFromState, createCheckpointResponseTemplate, isDuplicateCheckpointResponse, normalizeCheckpointResponse, proofContractFromAuthorCheckpointResponse, statePathsForRunState } from './checkpoint.cjs';
|
|
5
5
|
export { RIDDLE_PROOF_RUN_CARD_VERSION, createRiddleProofRunCard } from './run-card.cjs';
|
|
6
|
-
export { RiddleProofRunnerAdapters, RunRiddleProofInput, runRiddleProof } from './runner
|
|
7
|
-
export { RiddleProofAgentAdapter, RiddleProofAgentPayload, RiddleProofCheckpointMode, RiddleProofEngine, RiddleProofEngineHarnessConfig, RiddleProofEngineHarnessContext, RiddleProofEngineResult, RiddleProofShipMode, RiddleProofWorkflowParams, RunRiddleProofEngineHarnessInput, createDisabledRiddleProofAgentAdapter, readRiddleProofRunStatus, runRiddleProofEngineHarness } from './engine-harness.cjs';
|
|
6
|
+
export { R as RiddleProofRunnerAdapters, a as RunRiddleProofInput, r as runRiddleProof } from './runner-4LJ5z0D-.cjs';
|
|
7
|
+
export { R as RiddleProofAgentAdapter, a as RiddleProofAgentPayload, b as RiddleProofCheckpointMode, c as RiddleProofEngine, d as RiddleProofEngineHarnessConfig, e as RiddleProofEngineHarnessContext, f as RiddleProofEngineResult, g as RiddleProofShipMode, h as RiddleProofWorkflowParams, i as RunRiddleProofEngineHarnessInput, j as createDisabledRiddleProofAgentAdapter, r as readRiddleProofRunStatus, k as runRiddleProofEngineHarness } from './engine-harness-LBfqbFSe.cjs';
|
|
8
8
|
export { CodexExecAgentConfig, CodexJsonRequest, CodexJsonResult, CodexJsonRunner, CodexExecAgentConfig as LocalAgentConfig, CodexJsonRequest as LocalAgentJsonRequest, CodexJsonResult as LocalAgentJsonResult, CodexJsonRunner as LocalAgentJsonRunner, createCodexExecAgentAdapter, createCodexExecJsonRunner, createCodexExecAgentAdapter as createLocalAgentAdapter, createCodexExecJsonRunner as createLocalAgentJsonRunner, runCodexExecAgentDoctor, runCodexExecAgentDoctor as runLocalAgentDoctor } from './codex-exec-agent.cjs';
|
|
9
9
|
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';
|
|
10
10
|
export { BuildVisualProofSessionInput, RIDDLE_PROOF_VISUAL_SESSION_FINGERPRINT_VERSION, RIDDLE_PROOF_VISUAL_SESSION_VERSION, VisualProofSessionMismatch, buildVisualProofSession, compareVisualProofSessionFingerprint, parseVisualProofSession, visualSessionFingerprint, visualSessionFingerprintBasis } from './proof-session.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -3,8 +3,8 @@ export { TerminalMetadataInput, applyTerminalMetadata, compactRecord, createRunR
|
|
|
3
3
|
export { CreateRunStateInput, RIDDLE_PROOF_RUN_STATE_VERSION, RunEventInput, appendRunEvent, appendStageHeartbeat, applyPrLifecycleState, createRunState, createRunStatusSnapshot, normalizeIntegrationContext, normalizePrLifecycleState, normalizeRunParams, setRunStatus } from './state.js';
|
|
4
4
|
export { RIDDLE_PROOF_CHECKPOINT_PACKET_VERSION, RIDDLE_PROOF_CHECKPOINT_RESPONSE_VERSION, authorPacketPayloadFromCheckpointResponse, buildAuthorCheckpointPacket, buildCheckpointPacketForEngineResult, buildProofAssessmentCheckpointPacket, buildStageCheckpointPacket, checkpointResponseIdentity, checkpointSummaryFromState, createCheckpointResponseTemplate, isDuplicateCheckpointResponse, normalizeCheckpointResponse, proofContractFromAuthorCheckpointResponse, statePathsForRunState } from './checkpoint.js';
|
|
5
5
|
export { RIDDLE_PROOF_RUN_CARD_VERSION, createRiddleProofRunCard } from './run-card.js';
|
|
6
|
-
export { RiddleProofRunnerAdapters, RunRiddleProofInput, runRiddleProof } from './runner.js';
|
|
7
|
-
export { RiddleProofAgentAdapter, RiddleProofAgentPayload, RiddleProofCheckpointMode, RiddleProofEngine, RiddleProofEngineHarnessConfig, RiddleProofEngineHarnessContext, RiddleProofEngineResult, RiddleProofShipMode, RiddleProofWorkflowParams, RunRiddleProofEngineHarnessInput, createDisabledRiddleProofAgentAdapter, readRiddleProofRunStatus, runRiddleProofEngineHarness } from './engine-harness.js';
|
|
6
|
+
export { R as RiddleProofRunnerAdapters, a as RunRiddleProofInput, r as runRiddleProof } from './runner-BdQpOkZD.js';
|
|
7
|
+
export { R as RiddleProofAgentAdapter, a as RiddleProofAgentPayload, b as RiddleProofCheckpointMode, c as RiddleProofEngine, d as RiddleProofEngineHarnessConfig, e as RiddleProofEngineHarnessContext, f as RiddleProofEngineResult, g as RiddleProofShipMode, h as RiddleProofWorkflowParams, i as RunRiddleProofEngineHarnessInput, j as createDisabledRiddleProofAgentAdapter, r as readRiddleProofRunStatus, k as runRiddleProofEngineHarness } from './engine-harness-CMACHP6A.js';
|
|
8
8
|
export { CodexExecAgentConfig, CodexJsonRequest, CodexJsonResult, CodexJsonRunner, CodexExecAgentConfig as LocalAgentConfig, CodexJsonRequest as LocalAgentJsonRequest, CodexJsonResult as LocalAgentJsonResult, CodexJsonRunner as LocalAgentJsonRunner, createCodexExecAgentAdapter, createCodexExecJsonRunner, createCodexExecAgentAdapter as createLocalAgentAdapter, createCodexExecJsonRunner as createLocalAgentJsonRunner, runCodexExecAgentDoctor, runCodexExecAgentDoctor as runLocalAgentDoctor } from './codex-exec-agent.js';
|
|
9
9
|
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';
|
|
10
10
|
export { BuildVisualProofSessionInput, RIDDLE_PROOF_VISUAL_SESSION_FINGERPRINT_VERSION, RIDDLE_PROOF_VISUAL_SESSION_VERSION, VisualProofSessionMismatch, buildVisualProofSession, compareVisualProofSessionFingerprint, parseVisualProofSession, visualSessionFingerprint, visualSessionFingerprintBasis } from './proof-session.js';
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runRiddleProof
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-COERZX63.js";
|
|
4
4
|
import "./chunk-6F4PWJZI.js";
|
|
5
5
|
import {
|
|
6
6
|
RIDDLE_PROOF_PLAYABILITY_ASSESSMENT_VERSION,
|
|
@@ -95,7 +95,7 @@ import {
|
|
|
95
95
|
createDisabledRiddleProofAgentAdapter,
|
|
96
96
|
readRiddleProofRunStatus,
|
|
97
97
|
runRiddleProofEngineHarness
|
|
98
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-IWLQQ5S5.js";
|
|
99
99
|
import {
|
|
100
100
|
RIDDLE_PROOF_RUN_STATE_VERSION,
|
|
101
101
|
appendRunEvent,
|
|
@@ -112,7 +112,7 @@ import {
|
|
|
112
112
|
RIDDLE_PROOF_RUN_CARD_VERSION,
|
|
113
113
|
createRiddleProofRunCard
|
|
114
114
|
} from "./chunk-Y2KTBACQ.js";
|
|
115
|
-
import "./chunk-
|
|
115
|
+
import "./chunk-TJ63IE65.js";
|
|
116
116
|
import {
|
|
117
117
|
RIDDLE_PROOF_CHECKPOINT_PACKET_VERSION,
|
|
118
118
|
RIDDLE_PROOF_CHECKPOINT_RESPONSE_VERSION,
|
|
@@ -145,6 +145,7 @@ import {
|
|
|
145
145
|
normalizeTerminalMetadata,
|
|
146
146
|
recordValue
|
|
147
147
|
} from "./chunk-VY4Y5U57.js";
|
|
148
|
+
import "./chunk-MLKGABMK.js";
|
|
148
149
|
export {
|
|
149
150
|
BASIC_GAMEPLAY_ACTION_TYPES,
|
|
150
151
|
BASIC_GAMEPLAY_PROGRESS_CHECK_TYPES,
|
package/dist/local-agent.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { CodexExecAgentConfig as LocalAgentConfig, CodexJsonRequest as LocalAgentJsonRequest, CodexJsonResult as LocalAgentJsonResult, CodexJsonRunner as LocalAgentJsonRunner, createCodexExecAgentAdapter as createLocalAgentAdapter, createCodexExecJsonRunner as createLocalAgentJsonRunner, runCodexExecAgentDoctor as runLocalAgentDoctor } from './codex-exec-agent.cjs';
|
|
2
|
-
import './engine-harness.cjs';
|
|
2
|
+
import './engine-harness-LBfqbFSe.cjs';
|
|
3
3
|
import './types.cjs';
|
package/dist/local-agent.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { CodexExecAgentConfig as LocalAgentConfig, CodexJsonRequest as LocalAgentJsonRequest, CodexJsonResult as LocalAgentJsonResult, CodexJsonRunner as LocalAgentJsonRunner, createCodexExecAgentAdapter as createLocalAgentAdapter, createCodexExecJsonRunner as createLocalAgentJsonRunner, runCodexExecAgentDoctor as runLocalAgentDoctor } from './codex-exec-agent.js';
|
|
2
|
-
import './engine-harness.js';
|
|
2
|
+
import './engine-harness-CMACHP6A.js';
|
|
3
3
|
import './types.js';
|
package/dist/local-agent.js
CHANGED