@poncho-ai/harness 0.20.0 → 0.20.2
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 +4 -4
- package/CHANGELOG.md +12 -0
- package/dist/index.js +6 -2
- package/package.json +2 -2
- package/src/harness.ts +6 -3
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @poncho-ai/harness@0.20.
|
|
2
|
+
> @poncho-ai/harness@0.20.2 build /home/runner/work/poncho-ai/poncho-ai/packages/harness
|
|
3
3
|
> tsup src/index.ts --format esm --dts
|
|
4
4
|
|
|
5
5
|
[34mCLI[39m Building entry: src/index.ts
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
[34mCLI[39m tsup v8.5.1
|
|
8
8
|
[34mCLI[39m Target: es2022
|
|
9
9
|
[34mESM[39m Build start
|
|
10
|
-
[32mESM[39m [1mdist/index.js [22m[32m199.
|
|
11
|
-
[32mESM[39m ⚡️ Build success in
|
|
10
|
+
[32mESM[39m [1mdist/index.js [22m[32m199.59 KB[39m
|
|
11
|
+
[32mESM[39m ⚡️ Build success in 148ms
|
|
12
12
|
[34mDTS[39m Build start
|
|
13
|
-
[32mDTS[39m ⚡️ Build success in
|
|
13
|
+
[32mDTS[39m ⚡️ Build success in 6340ms
|
|
14
14
|
[32mDTS[39m [1mdist/index.d.ts [22m[32m24.36 KB[39m
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @poncho-ai/harness
|
|
2
2
|
|
|
3
|
+
## 0.20.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`ec7d7a8`](https://github.com/cesr/poncho-ai/commit/ec7d7a80bf84855d19454c52053375fe86815ae4) Thanks [@cesr](https://github.com/cesr)! - Upgrade `@latitude-data/telemetry` to ^2.0.4 which adds baggage propagation for Latitude attributes on all child spans, fixing traces not appearing in the Latitude platform.
|
|
8
|
+
|
|
9
|
+
## 0.20.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`ec1bb60`](https://github.com/cesr/poncho-ai/commit/ec1bb601d4f47c1b50c391cdc169cbe1623b52aa) Thanks [@cesr](https://github.com/cesr)! - Log telemetry flush errors instead of silently swallowing them, improving diagnostics when traces fail to export.
|
|
14
|
+
|
|
3
15
|
## 0.20.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
package/dist/index.js
CHANGED
|
@@ -3712,8 +3712,12 @@ var AgentHarness = class {
|
|
|
3712
3712
|
try {
|
|
3713
3713
|
await capturePromise;
|
|
3714
3714
|
} finally {
|
|
3715
|
-
|
|
3716
|
-
|
|
3715
|
+
try {
|
|
3716
|
+
await telemetry.flush();
|
|
3717
|
+
console.info("[poncho][telemetry] flush completed");
|
|
3718
|
+
} catch (flushErr) {
|
|
3719
|
+
console.error("[poncho][telemetry] flush failed:", flushErr);
|
|
3720
|
+
}
|
|
3717
3721
|
}
|
|
3718
3722
|
}
|
|
3719
3723
|
} else {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@poncho-ai/harness",
|
|
3
|
-
"version": "0.20.
|
|
3
|
+
"version": "0.20.2",
|
|
4
4
|
"description": "Agent execution runtime - conversation loop, tool dispatch, streaming",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"@ai-sdk/anthropic": "^3.0.44",
|
|
24
24
|
"@ai-sdk/openai": "^3.0.29",
|
|
25
25
|
"@aws-sdk/client-dynamodb": "^3.988.0",
|
|
26
|
-
"@latitude-data/telemetry": "^2.0.
|
|
26
|
+
"@latitude-data/telemetry": "^2.0.4",
|
|
27
27
|
"@opentelemetry/api": "1.9.0",
|
|
28
28
|
"ai": "^6.0.86",
|
|
29
29
|
"jiti": "^2.6.1",
|
package/src/harness.ts
CHANGED
|
@@ -1190,9 +1190,12 @@ export class AgentHarness {
|
|
|
1190
1190
|
try {
|
|
1191
1191
|
await capturePromise;
|
|
1192
1192
|
} finally {
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1193
|
+
try {
|
|
1194
|
+
await telemetry.flush();
|
|
1195
|
+
console.info("[poncho][telemetry] flush completed");
|
|
1196
|
+
} catch (flushErr) {
|
|
1197
|
+
console.error("[poncho][telemetry] flush failed:", flushErr);
|
|
1198
|
+
}
|
|
1196
1199
|
}
|
|
1197
1200
|
}
|
|
1198
1201
|
} else {
|