@odla-ai/harness 0.9.3 → 0.9.4

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
@@ -419,6 +419,10 @@ interface CodeSkillOpts {
419
419
  broker: HarnessToolBroker;
420
420
  lease: HarnessLease;
421
421
  workspaceDir: string;
422
+ /** Expose repository inspection only. The broker still enforces this at the
423
+ * trust boundary; removing mutation tools from the manifest keeps a planner
424
+ * from spending turns calling effects it can never own. */
425
+ readOnly?: boolean;
422
426
  /** Exact CaMeL-registered recipes available to this attempt. */
423
427
  recipeIds?: readonly string[];
424
428
  /** Defaults to v1 so an unqualified run reproduces the baseline. */
@@ -447,6 +451,8 @@ interface CodeAgentAttemptOptions {
447
451
  workspaceDir: string;
448
452
  prompt: string;
449
453
  surface?: CodeSurface;
454
+ /** Present only repository inspection tools. */
455
+ readOnly?: boolean;
450
456
  maxSteps?: number;
451
457
  /** Exact registered build/test recipe IDs available to the runtime. */
452
458
  recipeIds?: readonly string[];
@@ -756,6 +762,8 @@ interface RunCodeAgentOptions {
756
762
  compaction?: CompactionPolicy | null;
757
763
  /** Tool surface the agent sees. Defaults to v1, the recorded baseline. */
758
764
  surface?: CodeSurface;
765
+ /** Present only repository inspection tools. */
766
+ readOnly?: boolean;
759
767
  /** Overrides the surface's system prompt. Leave unset to keep runs comparable. */
760
768
  system?: string;
761
769
  maxTokens?: number;
package/dist/node.d.ts CHANGED
@@ -419,6 +419,10 @@ interface CodeSkillOpts {
419
419
  broker: HarnessToolBroker;
420
420
  lease: HarnessLease;
421
421
  workspaceDir: string;
422
+ /** Expose repository inspection only. The broker still enforces this at the
423
+ * trust boundary; removing mutation tools from the manifest keeps a planner
424
+ * from spending turns calling effects it can never own. */
425
+ readOnly?: boolean;
422
426
  /** Exact CaMeL-registered recipes available to this attempt. */
423
427
  recipeIds?: readonly string[];
424
428
  /** Defaults to v1 so an unqualified run reproduces the baseline. */
@@ -447,6 +451,8 @@ interface CodeAgentAttemptOptions {
447
451
  workspaceDir: string;
448
452
  prompt: string;
449
453
  surface?: CodeSurface;
454
+ /** Present only repository inspection tools. */
455
+ readOnly?: boolean;
450
456
  maxSteps?: number;
451
457
  /** Exact registered build/test recipe IDs available to the runtime. */
452
458
  recipeIds?: readonly string[];
@@ -756,6 +762,8 @@ interface RunCodeAgentOptions {
756
762
  compaction?: CompactionPolicy | null;
757
763
  /** Tool surface the agent sees. Defaults to v1, the recorded baseline. */
758
764
  surface?: CodeSurface;
765
+ /** Present only repository inspection tools. */
766
+ readOnly?: boolean;
759
767
  /** Overrides the surface's system prompt. Leave unset to keep runs comparable. */
760
768
  system?: string;
761
769
  maxTokens?: number;
package/dist/node.js CHANGED
@@ -48,7 +48,7 @@ import {
48
48
  validateMemory,
49
49
  validateRelativePath,
50
50
  verifyCodeCandidate
51
- } from "./chunk-AEAISFY3.js";
51
+ } from "./chunk-XSUUHWNX.js";
52
52
  import "./chunk-FAN2R3GW.js";
53
53
  import {
54
54
  assertPinnedImage,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@odla-ai/harness",
3
- "version": "0.9.3",
3
+ "version": "0.9.4",
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",