@poncho-ai/harness 0.20.6 → 0.20.7

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.20.6 build /Users/cesar/Dev/latitude/poncho-ai/packages/harness
2
+ > @poncho-ai/harness@0.20.7 build /Users/cesar/Dev/latitude/poncho-ai/packages/harness
3
3
  > tsup src/index.ts --format esm --dts
4
4
 
5
5
  CLI Building entry: src/index.ts
@@ -7,8 +7,8 @@
7
7
  CLI tsup v8.5.1
8
8
  CLI Target: es2022
9
9
  ESM Build start
10
- ESM dist/index.js 199.28 KB
11
- ESM ⚡️ Build success in 94ms
10
+ ESM dist/index.js 199.34 KB
11
+ ESM ⚡️ Build success in 115ms
12
12
  DTS Build start
13
- DTS ⚡️ Build success in 6337ms
13
+ DTS ⚡️ Build success in 3439ms
14
14
  DTS dist/index.d.ts 24.36 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @poncho-ai/harness
2
2
 
3
+ ## 0.20.7
4
+
5
+ ### Patch Changes
6
+
7
+ - [`8999a47`](https://github.com/cesr/poncho-ai/commit/8999a477b6e73ffb7c942a9cc5c85e704ec158b8) Thanks [@cesr](https://github.com/cesr)! - Enable token usage and cost tracking in Latitude telemetry by setting `recordInputs` and `recordOutputs` in the Vercel AI SDK's `experimental_telemetry` config.
8
+
3
9
  ## 0.20.6
4
10
 
5
11
  ### Patch Changes
package/dist/index.js CHANGED
@@ -4107,7 +4107,9 @@ ${textContent}` };
4107
4107
  abortSignal: input.abortSignal,
4108
4108
  ...typeof maxTokens === "number" ? { maxTokens } : {},
4109
4109
  experimental_telemetry: {
4110
- isEnabled: telemetryEnabled && !!this.latitudeTelemetry
4110
+ isEnabled: telemetryEnabled && !!this.latitudeTelemetry,
4111
+ recordInputs: true,
4112
+ recordOutputs: true
4111
4113
  }
4112
4114
  });
4113
4115
  let fullText = "";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@poncho-ai/harness",
3
- "version": "0.20.6",
3
+ "version": "0.20.7",
4
4
  "description": "Agent execution runtime - conversation loop, tool dispatch, streaming",
5
5
  "repository": {
6
6
  "type": "git",
package/src/harness.ts CHANGED
@@ -1681,6 +1681,8 @@ ${boundedMainMemory.trim()}`
1681
1681
  ...(typeof maxTokens === "number" ? { maxTokens } : {}),
1682
1682
  experimental_telemetry: {
1683
1683
  isEnabled: telemetryEnabled && !!this.latitudeTelemetry,
1684
+ recordInputs: true,
1685
+ recordOutputs: true,
1684
1686
  },
1685
1687
  });
1686
1688
  // Stream full response — use fullStream to get visibility into