@odla-ai/harness 0.7.0 → 0.7.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.
package/dist/node.d.cts CHANGED
@@ -353,7 +353,7 @@ declare const V1_SYSTEM_PROMPT = "You are Theseus, the coding agent inside an od
353
353
  /** The v2 prompt. v1's said "Use only the odla_read, odla_apply_git_diff, and
354
354
  * odla_run_recipe tools", so leaving it in place would have told the model not
355
355
  * to touch the tools this milestone exists to test. */
356
- declare const V2_SYSTEM_PROMPT = "You are the coding agent inside an odla Code harness.\nStart by orienting: odla_list shows the files in the workspace and odla_search\nfinds a literal string across them. Prefer those over guessing a path.\nThen odla_read a bounded range, and odla_apply_git_diff to mutate.\nFor mutations, call odla_apply_git_diff with raw git diff text. It must start\nwith \"diff --git a/<path> b/<path>\", include matching \"---\" and \"+++\" file\nheaders and numbered \"@@\" hunks, and never use \"*** Begin Patch\" wrappers.\nThe workspace, model, and tool effects are controlled by the host broker.\nNever claim a build or test passed unless odla_run_recipe returned that result.";
356
+ declare const V2_SYSTEM_PROMPT = "You are the coding agent inside an odla Code harness.\nStart by orienting: odla_list shows the files in the workspace and odla_search\nfinds a literal string across them. Prefer those over guessing a path.\nThen odla_read a bounded range, and odla_apply_git_diff to mutate. When you\nneed several independent searches or file ranges, issue those read-only calls\ntogether in one turn; their results stay ordered and the harness overlaps them.\nNever issue odla_apply_git_diff or odla_run_recipe alongside another tool call.\nFor mutations, call odla_apply_git_diff with raw git diff text. It must start\nwith \"diff --git a/<path> b/<path>\", include matching \"---\" and \"+++\" file\nheaders and numbered \"@@\" hunks, and never use \"*** Begin Patch\" wrappers.\nThe workspace, model, and tool effects are controlled by the host broker.\nNever claim a build or test passed unless odla_run_recipe returned that result.";
357
357
  /** Which tool surface the agent sees. `v1` reproduces the Theseus container's exact
358
358
  * three tools so the recorded baseline stays comparable. */
359
359
  type CodeSurface = "v1" | "v2" | "v3";
package/dist/node.d.ts CHANGED
@@ -353,7 +353,7 @@ declare const V1_SYSTEM_PROMPT = "You are Theseus, the coding agent inside an od
353
353
  /** The v2 prompt. v1's said "Use only the odla_read, odla_apply_git_diff, and
354
354
  * odla_run_recipe tools", so leaving it in place would have told the model not
355
355
  * to touch the tools this milestone exists to test. */
356
- declare const V2_SYSTEM_PROMPT = "You are the coding agent inside an odla Code harness.\nStart by orienting: odla_list shows the files in the workspace and odla_search\nfinds a literal string across them. Prefer those over guessing a path.\nThen odla_read a bounded range, and odla_apply_git_diff to mutate.\nFor mutations, call odla_apply_git_diff with raw git diff text. It must start\nwith \"diff --git a/<path> b/<path>\", include matching \"---\" and \"+++\" file\nheaders and numbered \"@@\" hunks, and never use \"*** Begin Patch\" wrappers.\nThe workspace, model, and tool effects are controlled by the host broker.\nNever claim a build or test passed unless odla_run_recipe returned that result.";
356
+ declare const V2_SYSTEM_PROMPT = "You are the coding agent inside an odla Code harness.\nStart by orienting: odla_list shows the files in the workspace and odla_search\nfinds a literal string across them. Prefer those over guessing a path.\nThen odla_read a bounded range, and odla_apply_git_diff to mutate. When you\nneed several independent searches or file ranges, issue those read-only calls\ntogether in one turn; their results stay ordered and the harness overlaps them.\nNever issue odla_apply_git_diff or odla_run_recipe alongside another tool call.\nFor mutations, call odla_apply_git_diff with raw git diff text. It must start\nwith \"diff --git a/<path> b/<path>\", include matching \"---\" and \"+++\" file\nheaders and numbered \"@@\" hunks, and never use \"*** Begin Patch\" wrappers.\nThe workspace, model, and tool effects are controlled by the host broker.\nNever claim a build or test passed unless odla_run_recipe returned that result.";
357
357
  /** Which tool surface the agent sees. `v1` reproduces the Theseus container's exact
358
358
  * three tools so the recorded baseline stays comparable. */
359
359
  type CodeSurface = "v1" | "v2" | "v3";
package/dist/node.js CHANGED
@@ -44,7 +44,7 @@ import {
44
44
  validateMemory,
45
45
  validateRelativePath,
46
46
  verifyCodeCandidate
47
- } from "./chunk-QZXCQSPZ.js";
47
+ } from "./chunk-GYWQM76X.js";
48
48
  import {
49
49
  assertPinnedImage,
50
50
  buildContainerRunArgs,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@odla-ai/harness",
3
- "version": "0.7.0",
3
+ "version": "0.7.1",
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",