New:Socket for Asana Is Now Available.Learn more
Get Started

@opencode-ai/protocol

Package Overview
Dependencies
Maintainers
2
Versions
1390
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-15181
to
0.0.0-next-15182
+14
-2
dist/groups/agent.d.ts

@@ -31,3 +31,9 @@ import { Agent } from "@opencode-ai/schema/agent";

readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
}>>>, Schema.optionalKey<Schema.Struct<{
}> & {
parse: (input: string) => {
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
readonly providerID: string & import("effect/Brand").Brand<"ProviderV2.ID">;
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
};
}>>, Schema.optionalKey<Schema.Struct<{
readonly id: Schema.brand<Schema.String, "Model.ID">;

@@ -48,3 +54,9 @@ readonly providerID: Schema.brand<Schema.String, "ProviderV2.ID"> & {

readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
}>>, never, never>;
}> & {
parse: (input: string) => {
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
readonly providerID: string & import("effect/Brand").Brand<"ProviderV2.ID">;
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
};
}>, never, never>;
readonly request: Schema.Struct<{

@@ -51,0 +63,0 @@ readonly settings: Schema.withConstructorDefault<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;

@@ -32,3 +32,9 @@ import { Location } from "@opencode-ai/schema/location";

readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
}>>>, Schema.optionalKey<Schema.Struct<{
}> & {
parse: (input: string) => {
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
readonly providerID: string & import("effect/Brand").Brand<"ProviderV2.ID">;
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
};
}>>, Schema.optionalKey<Schema.Struct<{
readonly id: Schema.brand<Schema.String, "Model.ID">;

@@ -49,5 +55,11 @@ readonly providerID: Schema.brand<Schema.String, "ProviderV2.ID"> & {

readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
}>>, never, never>;
}> & {
parse: (input: string) => {
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
readonly providerID: string & import("effect/Brand").Brand<"ProviderV2.ID">;
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
};
}>, never, never>;
readonly subtask: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
}>>;
}>>, HttpApiEndpoint.Json<never>, never, never>, false>;

@@ -27,3 +27,9 @@ import { Schema } from "effect";

readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
}>>;
}> & {
parse: (input: string) => {
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
readonly providerID: string & import("effect/Brand").Brand<"ProviderV2.ID">;
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
};
}>;
}>>, HttpApiEndpoint.StringTree<never>, HttpApiEndpoint.Json<Schema.Struct<{

@@ -30,0 +36,0 @@ readonly data: Schema.Struct<{

@@ -48,3 +48,9 @@ import { Schema } from "effect";

readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
}>;
}> & {
parse: (input: string) => {
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
readonly providerID: string & import("effect/Brand").Brand<"ProviderV2.ID">;
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
};
};
readonly previous: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{

@@ -66,3 +72,9 @@ readonly id: Schema.brand<Schema.String, "Model.ID">;

readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
}>>>, Schema.optionalKey<Schema.Struct<{
}> & {
parse: (input: string) => {
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
readonly providerID: string & import("effect/Brand").Brand<"ProviderV2.ID">;
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
};
}>>, Schema.optionalKey<Schema.Struct<{
readonly id: Schema.brand<Schema.String, "Model.ID">;

@@ -83,3 +95,9 @@ readonly providerID: Schema.brand<Schema.String, "ProviderV2.ID"> & {

readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
}>>, never, never>;
}> & {
parse: (input: string) => {
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
readonly providerID: string & import("effect/Brand").Brand<"ProviderV2.ID">;
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
};
}>, never, never>;
readonly id: Schema.brand<Schema.String, "Session.Message.ID"> & {

@@ -288,3 +306,9 @@ create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;

readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
}>;
}> & {
parse: (input: string) => {
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
readonly providerID: string & import("effect/Brand").Brand<"ProviderV2.ID">;
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
};
};
readonly content: Schema.$Array<Schema.toTaggedUnion<"type", readonly [Schema.Struct<{

@@ -291,0 +315,0 @@ readonly type: Schema.tag<"text">;

+2
-2
{
"$schema": "https://json.schemastore.org/package.json",
"name": "@opencode-ai/protocol",
"version": "0.0.0-next-15181",
"version": "0.0.0-next-15182",
"type": "module",

@@ -29,3 +29,3 @@ "license": "MIT",

"dependencies": {
"@opencode-ai/schema": "0.0.0-next-15181",
"@opencode-ai/schema": "0.0.0-next-15182",
"effect": "4.0.0-beta.83"

@@ -32,0 +32,0 @@ },

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display