@odla-ai/harness 0.10.2 → 0.10.3

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/node.d.cts CHANGED
@@ -446,6 +446,13 @@ interface CodeSkillOpts {
446
446
  * trust boundary; removing mutation tools from the manifest keeps a planner
447
447
  * from spending turns calling effects it can never own. */
448
448
  readOnly?: boolean;
449
+ /** Whether the session may run registered recipes. Defaults to `!readOnly`.
450
+ * A verifier is read-only and exists to run the proof: a recipe runs in a
451
+ * fresh container and mutates nothing in the workspace, so it is not the
452
+ * effect `readOnly` withholds. Without this a review-role session had no
453
+ * `odla_run_recipe` at all, judged by reading, and every merged verification
454
+ * failed for want of a check it could not perform (PM bug f11df55d). */
455
+ recipes?: boolean;
449
456
  /** Exact CaMeL-registered recipes available to this attempt. */
450
457
  recipeIds?: readonly string[];
451
458
  /** Defaults to v1 so an unqualified run reproduces the baseline. */
@@ -476,6 +483,8 @@ interface CodeAgentAttemptOptions {
476
483
  surface?: CodeSurface;
477
484
  /** Present only repository inspection tools. */
478
485
  readOnly?: boolean;
486
+ /** Whether registered recipes stay available to a read-only session; see CodeSkillOpts.recipes. */
487
+ recipes?: boolean;
479
488
  maxSteps?: number;
480
489
  /** Exact registered build/test recipe IDs available to the runtime. */
481
490
  recipeIds?: readonly string[];
package/dist/node.d.ts CHANGED
@@ -446,6 +446,13 @@ interface CodeSkillOpts {
446
446
  * trust boundary; removing mutation tools from the manifest keeps a planner
447
447
  * from spending turns calling effects it can never own. */
448
448
  readOnly?: boolean;
449
+ /** Whether the session may run registered recipes. Defaults to `!readOnly`.
450
+ * A verifier is read-only and exists to run the proof: a recipe runs in a
451
+ * fresh container and mutates nothing in the workspace, so it is not the
452
+ * effect `readOnly` withholds. Without this a review-role session had no
453
+ * `odla_run_recipe` at all, judged by reading, and every merged verification
454
+ * failed for want of a check it could not perform (PM bug f11df55d). */
455
+ recipes?: boolean;
449
456
  /** Exact CaMeL-registered recipes available to this attempt. */
450
457
  recipeIds?: readonly string[];
451
458
  /** Defaults to v1 so an unqualified run reproduces the baseline. */
@@ -476,6 +483,8 @@ interface CodeAgentAttemptOptions {
476
483
  surface?: CodeSurface;
477
484
  /** Present only repository inspection tools. */
478
485
  readOnly?: boolean;
486
+ /** Whether registered recipes stay available to a read-only session; see CodeSkillOpts.recipes. */
487
+ recipes?: boolean;
479
488
  maxSteps?: number;
480
489
  /** Exact registered build/test recipe IDs available to the runtime. */
481
490
  recipeIds?: readonly string[];
package/dist/node.js CHANGED
@@ -49,7 +49,7 @@ import {
49
49
  validateMemory,
50
50
  validateRelativePath,
51
51
  verifyCodeCandidate
52
- } from "./chunk-VIZALA6O.js";
52
+ } from "./chunk-TMBYA5JX.js";
53
53
  import "./chunk-KXFI3WM2.js";
54
54
  import {
55
55
  assertPinnedImage,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@odla-ai/harness",
3
- "version": "0.10.2",
3
+ "version": "0.10.3",
4
4
  "description": "Safe, inspectable coding-task protocol and credentialless container runner for odla Studio.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://odla.ai/docs/packages/harness",