🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@opencode-ai/protocol

Package Overview
Dependencies
Maintainers
2
Versions
742
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opencode-ai/protocol - npm Package Compare versions

Comparing version
0.0.0-next-14869
to
0.0.0-next-14870
+33
-0
dist/groups/message.d.ts

@@ -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