@opencode-ai/ai
Advanced tools
@@ -1,2 +0,2 @@ | ||
| import type { Route as RouteDef, RouteDefaultsInput } from "../route/client.js"; | ||
| import { Route, type RouteDefaultsInput } from "../route/client.js"; | ||
| import type { ProviderPackage } from "../provider-package.js"; | ||
@@ -22,3 +22,3 @@ import { type Credentials } from "../protocols/utils/bedrock-auth.js"; | ||
| } | ||
| export declare const routes: (RouteDef<{ | ||
| export declare const routes: (Route<{ | ||
| readonly model: string; | ||
@@ -121,3 +121,3 @@ readonly messages: readonly ({ | ||
| readonly presence_penalty?: number | undefined; | ||
| }, import("../route/transport/http.js").HttpPrepared<string>> | RouteDef<{ | ||
| }, import("../route/transport/http.js").HttpPrepared<string>> | Route<{ | ||
| readonly input: readonly ({ | ||
@@ -312,3 +312,3 @@ readonly [x: string]: unknown; | ||
| readonly parallel_tool_calls?: boolean | undefined; | ||
| }, import("../protocols/open-responses-channel.js").Prepared>)[]; | ||
| }, import("../route/transport/http.js").HttpPrepared<string>>)[]; | ||
| export declare const configure: (input?: Config) => { | ||
@@ -315,0 +315,0 @@ id: string & import("effect/Brand").Brand<"AI.ProviderID">; |
| import { Auth } from "../route/auth.js"; | ||
| import { Route } from "../route/client.js"; | ||
| import { OpenAIChat } from "../protocols/openai-chat.js"; | ||
@@ -8,5 +9,11 @@ import { OpenAIResponses } from "../protocols/openai-responses.js"; | ||
| export const id = ProviderID.make("amazon-bedrock"); | ||
| const responsesRoute = OpenAIResponses.route.with({ | ||
| const responsesRoute = Route.make({ | ||
| id: "bedrock-mantle-responses", | ||
| provider: id, | ||
| providerMetadataKey: OpenAIResponses.route.providerMetadataKey, | ||
| protocol: OpenAIResponses.protocol, | ||
| endpoint: OpenAIResponses.route.endpoint, | ||
| auth: OpenAIResponses.route.auth, | ||
| transport: OpenAIResponses.httpTransport, | ||
| defaults: OpenAIResponses.route.defaults, | ||
| }); | ||
@@ -13,0 +20,0 @@ const chatRoute = OpenAIChat.route.with({ |
+3
-3
| { | ||
| "$schema": "https://json.schemastore.org/package.json", | ||
| "version": "0.0.0-beta-18269", | ||
| "version": "0.0.0-beta-18286", | ||
| "name": "@opencode-ai/ai", | ||
@@ -33,3 +33,3 @@ "type": "module", | ||
| "@effect/platform-node": "4.0.0-rc.111", | ||
| "@opencode-ai/http-recorder": "0.0.0-beta-18269", | ||
| "@opencode-ai/http-recorder": "0.0.0-beta-18286", | ||
| "@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-beta-18269", | ||
| "@opencode-ai/schema": "0.0.0-beta-18286", | ||
| "aws4fetch": "1.0.20", | ||
@@ -46,0 +46,0 @@ "effect": "4.0.0-rc.111", |
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.
1345553
0.02%30956
0.02%+ Added
- Removed