@ai-sdk/harness-opencode 1.0.182 → 1.0.184
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/CHANGELOG.md +16 -0
- package/dist/bridge/index.mjs +1 -0
- package/dist/bridge/index.mjs.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/package.json +4 -4
- package/src/bridge/create-emit-stream-event.ts +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @ai-sdk/harness-opencode
|
|
2
2
|
|
|
3
|
+
## 1.0.184
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- aa4e711: fix(harness-opencode): ignore compacted tool parts in the bridge
|
|
8
|
+
- @ai-sdk/harness@1.0.181
|
|
9
|
+
|
|
10
|
+
## 1.0.183
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies [4311fa1]
|
|
15
|
+
- Updated dependencies [4311fa1]
|
|
16
|
+
- @ai-sdk/provider-utils@5.0.79
|
|
17
|
+
- @ai-sdk/harness@1.0.180
|
|
18
|
+
|
|
3
19
|
## 1.0.182
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
package/dist/bridge/index.mjs
CHANGED
|
@@ -1621,6 +1621,7 @@ function legacyToolPartFromValue(value) {
|
|
|
1621
1621
|
const part = asOpenCodeObject(value);
|
|
1622
1622
|
if (!part || part.type !== "tool" || typeof part.tool !== "string" || typeof part.callID !== "string") return;
|
|
1623
1623
|
const stateObject = asOpenCodeObject(part.state);
|
|
1624
|
+
if (asOpenCodeObject(stateObject?.time)?.compacted != null) return void 0;
|
|
1624
1625
|
const provider = asOpenCodeObject(part.provider);
|
|
1625
1626
|
const state = stateObject ? {
|
|
1626
1627
|
status: stringValue(stateObject.status),
|