@riddledc/riddle-proof 0.4.0 → 0.4.1

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.
@@ -591,7 +591,7 @@ async function runRiddleProofEngineHarness(input) {
591
591
  message
592
592
  });
593
593
  }
594
- let nextParams = initialRunParams(request, input, state);
594
+ let nextParams = input.resume_params || initialRunParams(request, input, state);
595
595
  let lastResult = null;
596
596
  for (let index = 0; index < maxIterations; index += 1) {
597
597
  state.iterations += 1;
@@ -831,7 +831,7 @@ async function runRiddleProofEngineHarness(input) {
831
831
  message
832
832
  });
833
833
  }
834
- let nextParams = initialRunParams(request, input, state);
834
+ let nextParams = input.resume_params || initialRunParams(request, input, state);
835
835
  let lastResult = null;
836
836
  for (let index = 0; index < maxIterations; index += 1) {
837
837
  state.iterations += 1;
@@ -57,6 +57,7 @@ interface RunRiddleProofEngineHarnessInput {
57
57
  config?: RiddleProofEngineHarnessConfig;
58
58
  state?: RiddleProofRunState;
59
59
  state_path?: string;
60
+ resume_params?: RiddleProofWorkflowParams;
60
61
  max_iterations?: number;
61
62
  dry_run?: boolean;
62
63
  auto_approve?: boolean;
@@ -57,6 +57,7 @@ interface RunRiddleProofEngineHarnessInput {
57
57
  config?: RiddleProofEngineHarnessConfig;
58
58
  state?: RiddleProofRunState;
59
59
  state_path?: string;
60
+ resume_params?: RiddleProofWorkflowParams;
60
61
  max_iterations?: number;
61
62
  dry_run?: boolean;
62
63
  auto_approve?: boolean;
@@ -2,7 +2,7 @@ import {
2
2
  createDisabledRiddleProofAgentAdapter,
3
3
  readRiddleProofRunStatus,
4
4
  runRiddleProofEngineHarness
5
- } from "./chunk-US63AYQU.js";
5
+ } from "./chunk-UON7C6N4.js";
6
6
  import "./chunk-5FHUOSNO.js";
7
7
  import "./chunk-5DC6YXN4.js";
8
8
  export {
package/dist/index.cjs CHANGED
@@ -1333,7 +1333,7 @@ async function runRiddleProofEngineHarness(input) {
1333
1333
  message
1334
1334
  });
1335
1335
  }
1336
- let nextParams = initialRunParams(request, input, state);
1336
+ let nextParams = input.resume_params || initialRunParams(request, input, state);
1337
1337
  let lastResult = null;
1338
1338
  for (let index = 0; index < maxIterations; index += 1) {
1339
1339
  state.iterations += 1;
package/dist/index.js CHANGED
@@ -2,7 +2,7 @@ import {
2
2
  createDisabledRiddleProofAgentAdapter,
3
3
  readRiddleProofRunStatus,
4
4
  runRiddleProofEngineHarness
5
- } from "./chunk-US63AYQU.js";
5
+ } from "./chunk-UON7C6N4.js";
6
6
  import {
7
7
  runRiddleProof
8
8
  } from "./chunk-F65YYXVO.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riddledc/riddle-proof",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "Reusable Riddle Proof contracts and helpers for evidence-backed agent changes.",
5
5
  "license": "MIT",
6
6
  "author": "RiddleDC",