@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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @poncho-ai/harness@0.59.4 build /home/runner/work/poncho-ai/poncho-ai/packages/harness
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
  CLI tsup v8.5.1
9
9
  CLI Target: es2022
10
10
  ESM Build start
11
- ESM dist/index.js 556.98 KB
11
+ ESM dist/index.js 557.00 KB
12
12
  ESM dist/isolate-F2PPSUL6.js 53.82 KB
13
- ESM ⚡️ Build success in 270ms
13
+ ESM ⚡️ Build success in 252ms
14
14
  DTS Build start
15
- DTS ⚡️ Build success in 8326ms
16
- DTS dist/index.d.ts 101.34 KB
15
+ DTS ⚡️ Build success in 7698ms
16
+ DTS dist/index.d.ts 101.66 KB
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@poncho-ai/harness",
3
- "version": "0.59.4",
3
+ "version": "0.59.5",
4
4
  "description": "Agent execution runtime - conversation loop, tool dispatch, streaming",
5
5
  "repository": {
6
6
  "type": "git",
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