@opencode-ai/protocol
Advanced tools
@@ -50,2 +50,35 @@ import { Event } from "@opencode-ai/schema/event"; | ||
| }>; | ||
| readonly previous: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{ | ||
| readonly id: Schema.brand<Schema.String, "ModelV2.ID">; | ||
| readonly providerID: Schema.brand<Schema.String, "ProviderV2.ID"> & { | ||
| opencode: string & import("effect/Brand").Brand<"ProviderV2.ID">; | ||
| anthropic: string & import("effect/Brand").Brand<"ProviderV2.ID">; | ||
| openai: string & import("effect/Brand").Brand<"ProviderV2.ID">; | ||
| google: string & import("effect/Brand").Brand<"ProviderV2.ID">; | ||
| googleVertex: string & import("effect/Brand").Brand<"ProviderV2.ID">; | ||
| githubCopilot: string & import("effect/Brand").Brand<"ProviderV2.ID">; | ||
| amazonBedrock: string & import("effect/Brand").Brand<"ProviderV2.ID">; | ||
| azure: string & import("effect/Brand").Brand<"ProviderV2.ID">; | ||
| openrouter: string & import("effect/Brand").Brand<"ProviderV2.ID">; | ||
| mistral: string & import("effect/Brand").Brand<"ProviderV2.ID">; | ||
| gitlab: string & import("effect/Brand").Brand<"ProviderV2.ID">; | ||
| }; | ||
| readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "VariantID">>, never, never>; | ||
| }>>>, Schema.optionalKey<Schema.Struct<{ | ||
| readonly id: Schema.brand<Schema.String, "ModelV2.ID">; | ||
| readonly providerID: Schema.brand<Schema.String, "ProviderV2.ID"> & { | ||
| opencode: string & import("effect/Brand").Brand<"ProviderV2.ID">; | ||
| anthropic: string & import("effect/Brand").Brand<"ProviderV2.ID">; | ||
| openai: string & import("effect/Brand").Brand<"ProviderV2.ID">; | ||
| google: string & import("effect/Brand").Brand<"ProviderV2.ID">; | ||
| googleVertex: string & import("effect/Brand").Brand<"ProviderV2.ID">; | ||
| githubCopilot: string & import("effect/Brand").Brand<"ProviderV2.ID">; | ||
| amazonBedrock: string & import("effect/Brand").Brand<"ProviderV2.ID">; | ||
| azure: string & import("effect/Brand").Brand<"ProviderV2.ID">; | ||
| openrouter: string & import("effect/Brand").Brand<"ProviderV2.ID">; | ||
| mistral: string & import("effect/Brand").Brand<"ProviderV2.ID">; | ||
| gitlab: string & import("effect/Brand").Brand<"ProviderV2.ID">; | ||
| }; | ||
| readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "VariantID">>, never, never>; | ||
| }>>, never, never>; | ||
| readonly id: Schema.brand<Schema.String, "Session.Message.ID"> & { | ||
@@ -52,0 +85,0 @@ create: () => string & import("effect/Brand").Brand<"Session.Message.ID">; |
+2
-2
| { | ||
| "$schema": "https://json.schemastore.org/package.json", | ||
| "name": "@opencode-ai/protocol", | ||
| "version": "0.0.0-next-14869", | ||
| "version": "0.0.0-next-14870", | ||
| "type": "module", | ||
@@ -29,3 +29,3 @@ "license": "MIT", | ||
| "dependencies": { | ||
| "@opencode-ai/schema": "0.0.0-next-14869", | ||
| "@opencode-ai/schema": "0.0.0-next-14870", | ||
| "effect": "4.0.0-beta.83" | ||
@@ -32,0 +32,0 @@ }, |
Sorry, the diff of this file is too big to display
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.
1708122
0.48%27602
0.36%+ Added
- Removed