@odla-ai/harness 0.8.0 → 0.8.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-ISR434K7.js → chunk-IWVGSWY6.js} +17 -2
- package/dist/chunk-IWVGSWY6.js.map +1 -0
- package/dist/code-runtime-cli.cjs +16 -1
- package/dist/code-runtime-cli.cjs.map +1 -1
- package/dist/code-runtime-cli.js +1 -1
- package/dist/node.cjs +16 -1
- package/dist/node.cjs.map +1 -1
- package/dist/node.d.cts +14 -0
- package/dist/node.d.ts +14 -0
- package/dist/node.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-ISR434K7.js.map +0 -1
package/dist/node.d.cts
CHANGED
|
@@ -406,6 +406,11 @@ interface CodeAgentAttemptOptions {
|
|
|
406
406
|
/** Run-wide ceiling enforced by runAgent against incremental usage. */
|
|
407
407
|
budget?: AgentRunBudget;
|
|
408
408
|
signal?: AbortSignal;
|
|
409
|
+
/** Skills the host adds beyond the sandbox surface — PM, chat — built by the
|
|
410
|
+
* caller because they need a tenant-scoped database credential the harness
|
|
411
|
+
* deliberately does not hold. Without them a coordinator can read and patch
|
|
412
|
+
* code and then has no way to record a task, a decision or a bug. */
|
|
413
|
+
extraSkills?: Skill[];
|
|
409
414
|
/** Emitted per brokered call so the engine can report tool activity. */
|
|
410
415
|
onToolCall?(call: {
|
|
411
416
|
tool: HarnessToolName;
|
|
@@ -507,6 +512,15 @@ interface TheseusRuntimeEngineOptions {
|
|
|
507
512
|
recipeExecutor?: CodeRecipeExecutor;
|
|
508
513
|
/** Owner-visible and terminal-visible bounded runtime failures. */
|
|
509
514
|
onDiagnostic?: (message: string) => void;
|
|
515
|
+
/** Skills the host adds for a session, beyond the sandbox surface.
|
|
516
|
+
*
|
|
517
|
+
* A function of the command rather than a fixed list, because PM is scoped to
|
|
518
|
+
* one app and one project: the credential and the project are properties of
|
|
519
|
+
* the session being served, not of the engine. Absent means the coordinator
|
|
520
|
+
* gets code tools only, which is what it had — able to patch a file and
|
|
521
|
+
* unable to record that it did.
|
|
522
|
+
*/
|
|
523
|
+
sessionSkills?: (command: CodeRuntimeCommand) => Skill[] | Promise<Skill[]>;
|
|
510
524
|
/** Frozen checkout snapshot owned by the foreground terminal process. */
|
|
511
525
|
localSource?: FrozenCodeLocalSource;
|
|
512
526
|
}
|
package/dist/node.d.ts
CHANGED
|
@@ -406,6 +406,11 @@ interface CodeAgentAttemptOptions {
|
|
|
406
406
|
/** Run-wide ceiling enforced by runAgent against incremental usage. */
|
|
407
407
|
budget?: AgentRunBudget;
|
|
408
408
|
signal?: AbortSignal;
|
|
409
|
+
/** Skills the host adds beyond the sandbox surface — PM, chat — built by the
|
|
410
|
+
* caller because they need a tenant-scoped database credential the harness
|
|
411
|
+
* deliberately does not hold. Without them a coordinator can read and patch
|
|
412
|
+
* code and then has no way to record a task, a decision or a bug. */
|
|
413
|
+
extraSkills?: Skill[];
|
|
409
414
|
/** Emitted per brokered call so the engine can report tool activity. */
|
|
410
415
|
onToolCall?(call: {
|
|
411
416
|
tool: HarnessToolName;
|
|
@@ -507,6 +512,15 @@ interface TheseusRuntimeEngineOptions {
|
|
|
507
512
|
recipeExecutor?: CodeRecipeExecutor;
|
|
508
513
|
/** Owner-visible and terminal-visible bounded runtime failures. */
|
|
509
514
|
onDiagnostic?: (message: string) => void;
|
|
515
|
+
/** Skills the host adds for a session, beyond the sandbox surface.
|
|
516
|
+
*
|
|
517
|
+
* A function of the command rather than a fixed list, because PM is scoped to
|
|
518
|
+
* one app and one project: the credential and the project are properties of
|
|
519
|
+
* the session being served, not of the engine. Absent means the coordinator
|
|
520
|
+
* gets code tools only, which is what it had — able to patch a file and
|
|
521
|
+
* unable to record that it did.
|
|
522
|
+
*/
|
|
523
|
+
sessionSkills?: (command: CodeRuntimeCommand) => Skill[] | Promise<Skill[]>;
|
|
510
524
|
/** Frozen checkout snapshot owned by the foreground terminal process. */
|
|
511
525
|
localSource?: FrozenCodeLocalSource;
|
|
512
526
|
}
|
package/dist/node.js
CHANGED
package/package.json
CHANGED