Sign In

@opencode-ai/protocol

Package Overview
Dependencies
Maintainers
2
Versions
925
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-17255
to
0.0.0-next-17263
+61
-0
dist/groups/message.d.ts

@@ -110,2 +110,63 @@ import { Schema } from "effect";

}>, Schema.Struct<{
readonly type: Schema.tag<"location-switched">;
readonly location: Schema.Struct<{
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
}>, never, never>;
}>;
readonly projectID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Project.ID"> & {
global: string & import("effect/Brand").Brand<"Project.ID">;
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Project.ID"> & {
global: string & import("effect/Brand").Brand<"Project.ID">;
}>, never, never>;
readonly subpath: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "RelativePath">>>, Schema.optionalKey<Schema.brand<Schema.String, "RelativePath">>, never, never>;
readonly previous: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
readonly location: Schema.Struct<{
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
}>, never, never>;
}>;
readonly projectID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Project.ID"> & {
global: string & import("effect/Brand").Brand<"Project.ID">;
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Project.ID"> & {
global: string & import("effect/Brand").Brand<"Project.ID">;
}>, never, never>;
readonly subpath: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "RelativePath">>>, Schema.optionalKey<Schema.brand<Schema.String, "RelativePath">>, never, never>;
}>>>, Schema.optionalKey<Schema.Struct<{
readonly location: Schema.Struct<{
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
}>, never, never>;
}>;
readonly projectID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Project.ID"> & {
global: string & import("effect/Brand").Brand<"Project.ID">;
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Project.ID"> & {
global: string & import("effect/Brand").Brand<"Project.ID">;
}>, never, never>;
readonly subpath: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "RelativePath">>>, Schema.optionalKey<Schema.brand<Schema.String, "RelativePath">>, never, never>;
}>>, never, never>;
readonly id: Schema.brand<Schema.String, "Session.Message.ID"> & {
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
fromEvent: (eventID: import("@opencode-ai/schema/event").ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
};
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
readonly time: Schema.Struct<{
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
}>;
}>, Schema.Struct<{
readonly text: Schema.String;

@@ -112,0 +173,0 @@ readonly files: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{

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

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

"dependencies": {
"@opencode-ai/schema": "0.0.0-next-17255",
"@opencode-ai/schema": "0.0.0-next-17263",
"effect": "4.0.0-beta.101"

@@ -34,0 +34,0 @@ },

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