@poncho-ai/harness 0.60.0 → 0.60.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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @poncho-ai/harness@0.60.0 build /home/runner/work/poncho-ai/poncho-ai/packages/harness
2
+ > @poncho-ai/harness@0.60.1 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 574.16 KB
11
12
  ESM dist/isolate-F2PPSUL6.js 53.82 KB
12
- ESM dist/index.js 574.06 KB
13
- ESM ⚡️ Build success in 251ms
13
+ ESM ⚡️ Build success in 245ms
14
14
  DTS Build start
15
- DTS ⚡️ Build success in 7890ms
16
- DTS dist/index.d.ts 105.18 KB
15
+ DTS ⚡️ Build success in 7563ms
16
+ DTS dist/index.d.ts 105.62 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @poncho-ai/harness
2
2
 
3
+ ## 0.60.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`47d92ba`](https://github.com/cesr/poncho-ai/commit/47d92ba6e0001147423ffda39f9dbeb29b5ca359) Thanks [@cesr](https://github.com/cesr)! - Forward `volatileContext` and `telemetryAttributes` through `continueFromToolResult`. The per-conversation capture already covers same-process continuations, but a checkpoint resumed after a process restart would silently lose the embedder's volatile blocks; resume callers can now pass them explicitly.
8
+
3
9
  ## 0.60.0
4
10
 
5
11
  ### Minor Changes
package/dist/index.d.ts CHANGED
@@ -1635,6 +1635,13 @@ declare class AgentHarness {
1635
1635
  * otherwise the continuation falls back to the agent definition's
1636
1636
  * (possibly concurrently-mutated) frontmatter model. */
1637
1637
  model?: string;
1638
+ /** Same as `RunInput.volatileContext`. Pass it explicitly on resume —
1639
+ * the per-conversation capture covers same-process continuations, but
1640
+ * a checkpoint resumed after a restart would otherwise lose the
1641
+ * embedder's volatile blocks. */
1642
+ volatileContext?: string;
1643
+ /** Same as `RunInput.telemetryAttributes`, for the continuation run. */
1644
+ telemetryAttributes?: Record<string, string>;
1638
1645
  }): AsyncGenerator<AgentEvent>;
1639
1646
  runToCompletion(input: RunInput): Promise<HarnessRunOutput>;
1640
1647
  }
package/dist/index.js CHANGED
@@ -12229,7 +12229,9 @@ ${this.skillFingerprint}`;
12229
12229
  parameters: input.parameters,
12230
12230
  abortSignal: input.abortSignal,
12231
12231
  suppressTelemetry: input.suppressTelemetry,
12232
- model: input.model
12232
+ model: input.model,
12233
+ volatileContext: input.volatileContext,
12234
+ telemetryAttributes: input.telemetryAttributes
12233
12235
  });
12234
12236
  }
12235
12237
  async runToCompletion(input) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@poncho-ai/harness",
3
- "version": "0.60.0",
3
+ "version": "0.60.1",
4
4
  "description": "Agent execution runtime - conversation loop, tool dispatch, streaming",
5
5
  "repository": {
6
6
  "type": "git",
package/src/harness.ts CHANGED
@@ -4109,6 +4109,13 @@ Code is wrapped in an async IIFE — use \`return\` to return a value to the too
4109
4109
  * otherwise the continuation falls back to the agent definition's
4110
4110
  * (possibly concurrently-mutated) frontmatter model. */
4111
4111
  model?: string;
4112
+ /** Same as `RunInput.volatileContext`. Pass it explicitly on resume —
4113
+ * the per-conversation capture covers same-process continuations, but
4114
+ * a checkpoint resumed after a restart would otherwise lose the
4115
+ * embedder's volatile blocks. */
4116
+ volatileContext?: string;
4117
+ /** Same as `RunInput.telemetryAttributes`, for the continuation run. */
4118
+ telemetryAttributes?: Record<string, string>;
4112
4119
  }): AsyncGenerator<AgentEvent> {
4113
4120
  const messages = [...input.messages];
4114
4121
  const lastMsg = messages[messages.length - 1];
@@ -4169,6 +4176,8 @@ Code is wrapped in an async IIFE — use \`return\` to return a value to the too
4169
4176
  abortSignal: input.abortSignal,
4170
4177
  suppressTelemetry: input.suppressTelemetry,
4171
4178
  model: input.model,
4179
+ volatileContext: input.volatileContext,
4180
+ telemetryAttributes: input.telemetryAttributes,
4172
4181
  });
4173
4182
  }
4174
4183