@poncho-ai/harness 0.59.4 → 0.59.5
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/.turbo/turbo-build.log +5 -5
- package/CHANGELOG.md +6 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +2 -1
- package/package.json +1 -1
- package/src/harness.ts +6 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @poncho-ai/harness@0.59.
|
|
2
|
+
> @poncho-ai/harness@0.59.5 build /home/runner/work/poncho-ai/poncho-ai/packages/harness
|
|
3
3
|
> node scripts/embed-docs.js && tsup src/index.ts --format esm --dts
|
|
4
4
|
|
|
5
5
|
[embed-docs] Generated poncho-docs.ts with 4 topics
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
[34mCLI[39m tsup v8.5.1
|
|
9
9
|
[34mCLI[39m Target: es2022
|
|
10
10
|
[34mESM[39m Build start
|
|
11
|
-
[32mESM[39m [1mdist/index.js [22m[
|
|
11
|
+
[32mESM[39m [1mdist/index.js [22m[32m557.00 KB[39m
|
|
12
12
|
[32mESM[39m [1mdist/isolate-F2PPSUL6.js [22m[32m53.82 KB[39m
|
|
13
|
-
[32mESM[39m ⚡️ Build success in
|
|
13
|
+
[32mESM[39m ⚡️ Build success in 252ms
|
|
14
14
|
[34mDTS[39m Build start
|
|
15
|
-
[32mDTS[39m ⚡️ Build success in
|
|
16
|
-
[32mDTS[39m [1mdist/index.d.ts [22m[32m101.
|
|
15
|
+
[32mDTS[39m ⚡️ Build success in 7698ms
|
|
16
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m101.66 KB[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @poncho-ai/harness
|
|
2
2
|
|
|
3
|
+
## 0.59.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`d14c390`](https://github.com/cesr/poncho-ai/commit/d14c390ce6830f7446ea7a4e934d2cb76833c455) Thanks [@cesr](https://github.com/cesr)! - `continueFromToolResult` accepts and forwards the per-run `model` override, so approval-checkpoint continuations run on the same model as the checkpointed run instead of re-reading the (possibly concurrently-mutated) agent frontmatter.
|
|
8
|
+
|
|
3
9
|
## 0.59.4
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/dist/index.d.ts
CHANGED
|
@@ -1582,6 +1582,11 @@ declare class AgentHarness {
|
|
|
1582
1582
|
/** Emit no telemetry for the continuation run (e.g. resuming an
|
|
1583
1583
|
* incognito turn after an approval). */
|
|
1584
1584
|
suppressTelemetry?: boolean;
|
|
1585
|
+
/** Per-run model override for the continuation run — same semantics as
|
|
1586
|
+
* `RunInput.model`. Forward the model the checkpointed run was using,
|
|
1587
|
+
* otherwise the continuation falls back to the agent definition's
|
|
1588
|
+
* (possibly concurrently-mutated) frontmatter model. */
|
|
1589
|
+
model?: string;
|
|
1585
1590
|
}): AsyncGenerator<AgentEvent>;
|
|
1586
1591
|
runToCompletion(input: RunInput): Promise<HarnessRunOutput>;
|
|
1587
1592
|
}
|
package/dist/index.js
CHANGED
|
@@ -11921,7 +11921,8 @@ ${this.skillFingerprint}`;
|
|
|
11921
11921
|
tenantId: input.tenantId,
|
|
11922
11922
|
parameters: input.parameters,
|
|
11923
11923
|
abortSignal: input.abortSignal,
|
|
11924
|
-
suppressTelemetry: input.suppressTelemetry
|
|
11924
|
+
suppressTelemetry: input.suppressTelemetry,
|
|
11925
|
+
model: input.model
|
|
11925
11926
|
});
|
|
11926
11927
|
}
|
|
11927
11928
|
async runToCompletion(input) {
|
package/package.json
CHANGED
package/src/harness.ts
CHANGED
|
@@ -3841,6 +3841,11 @@ Code is wrapped in an async IIFE — use \`return\` to return a value to the too
|
|
|
3841
3841
|
/** Emit no telemetry for the continuation run (e.g. resuming an
|
|
3842
3842
|
* incognito turn after an approval). */
|
|
3843
3843
|
suppressTelemetry?: boolean;
|
|
3844
|
+
/** Per-run model override for the continuation run — same semantics as
|
|
3845
|
+
* `RunInput.model`. Forward the model the checkpointed run was using,
|
|
3846
|
+
* otherwise the continuation falls back to the agent definition's
|
|
3847
|
+
* (possibly concurrently-mutated) frontmatter model. */
|
|
3848
|
+
model?: string;
|
|
3844
3849
|
}): AsyncGenerator<AgentEvent> {
|
|
3845
3850
|
const messages = [...input.messages];
|
|
3846
3851
|
const lastMsg = messages[messages.length - 1];
|
|
@@ -3900,6 +3905,7 @@ Code is wrapped in an async IIFE — use \`return\` to return a value to the too
|
|
|
3900
3905
|
parameters: input.parameters,
|
|
3901
3906
|
abortSignal: input.abortSignal,
|
|
3902
3907
|
suppressTelemetry: input.suppressTelemetry,
|
|
3908
|
+
model: input.model,
|
|
3903
3909
|
});
|
|
3904
3910
|
}
|
|
3905
3911
|
|