@opencode-ai/ai
Advanced tools
@@ -1001,7 +1001,6 @@ import { Effect, Option, Schema } from "effect"; | ||
| for (const item of event.response?.output ?? []) { | ||
| const id = item.id ?? (item.type === "function_call" ? item.call_id : undefined); | ||
| if (id === undefined) | ||
| if (item.type !== "function_call" || | ||
| !item.call_id || | ||
| !Object.values(current.tools).some((tool) => tool?.id === item.call_id)) | ||
| continue; | ||
| if (item.type !== "function_call" || !current.tools[id]) | ||
| continue; | ||
| const [next, emitted] = yield* onOutputItemDone(current, item); | ||
@@ -1008,0 +1007,0 @@ current = next; |
+3
-3
| { | ||
| "$schema": "https://json.schemastore.org/package.json", | ||
| "version": "0.0.0-dev-18808", | ||
| "version": "0.0.0-dev-18809", | ||
| "name": "@opencode-ai/ai", | ||
@@ -33,3 +33,3 @@ "type": "module", | ||
| "@effect/platform-node": "4.0.0-rc.112", | ||
| "@opencode-ai/http-recorder": "0.0.0-dev-18808", | ||
| "@opencode-ai/http-recorder": "0.0.0-dev-18809", | ||
| "@tsconfig/bun": "1.0.9", | ||
@@ -43,3 +43,3 @@ "@types/bun": "1.3.13", | ||
| "@smithy/util-utf8": "4.2.2", | ||
| "@opencode-ai/schema": "0.0.0-dev-18808", | ||
| "@opencode-ai/schema": "0.0.0-dev-18809", | ||
| "aws4fetch": "1.0.20", | ||
@@ -46,0 +46,0 @@ "effect": "4.0.0-rc.112", |
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
1557766
035957
0+ Added
- Removed