@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/{chunk-AEAISFY3.js → chunk-XSUUHWNX.js} +17 -4
- package/dist/chunk-XSUUHWNX.js.map +1 -0
- package/dist/code-runtime-cli.cjs +16 -3
- package/dist/code-runtime-cli.cjs.map +1 -1
- package/dist/code-runtime-cli.js +1 -1
- package/dist/node.cjs +16 -3
- package/dist/node.cjs.map +1 -1
- package/dist/node.d.cts +8 -0
- package/dist/node.d.ts +8 -0
- package/dist/node.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-AEAISFY3.js.map +0 -1
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
package/package.json
CHANGED