@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.
- package/.turbo/turbo-build.log +5 -5
- package/CHANGELOG.md +6 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +3 -1
- package/package.json +1 -1
- package/src/harness.ts +9 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @poncho-ai/harness@0.60.
|
|
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
|
[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[32m574.16 KB[39m
|
|
11
12
|
[32mESM[39m [1mdist/isolate-F2PPSUL6.js [22m[32m53.82 KB[39m
|
|
12
|
-
[32mESM[39m
|
|
13
|
-
[32mESM[39m ⚡️ Build success in 251ms
|
|
13
|
+
[32mESM[39m ⚡️ Build success in 245ms
|
|
14
14
|
[34mDTS[39m Build start
|
|
15
|
-
[32mDTS[39m ⚡️ Build success in
|
|
16
|
-
[32mDTS[39m [1mdist/index.d.ts [22m[32m105.
|
|
15
|
+
[32mDTS[39m ⚡️ Build success in 7563ms
|
|
16
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m105.62 KB[39m
|
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
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
|
|