@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/{chunk-QZXCQSPZ.js → chunk-GYWQM76X.js} +177 -28
- package/dist/chunk-GYWQM76X.js.map +1 -0
- package/dist/code-runtime-cli.cjs +176 -27
- package/dist/code-runtime-cli.cjs.map +1 -1
- package/dist/code-runtime-cli.js +1 -1
- package/dist/node.cjs +176 -27
- package/dist/node.cjs.map +1 -1
- package/dist/node.d.cts +1 -1
- package/dist/node.d.ts +1 -1
- package/dist/node.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-QZXCQSPZ.js.map +0 -1
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
package/package.json
CHANGED