🎩 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
847
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-17038
to
0.0.0-next-17041
+27
-0
dist/groups/message.d.ts

@@ -210,2 +210,29 @@ import { Schema } from "effect";

}>>>, never, never>;
readonly skills: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
readonly id: Schema.brand<Schema.String, "Skill.ID">;
readonly name: Schema.brand<Schema.String, "Skill.Name">;
readonly text: Schema.String;
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
readonly start: Schema.Finite;
readonly end: Schema.Finite;
readonly text: Schema.String;
}>>>, Schema.optionalKey<Schema.Struct<{
readonly start: Schema.Finite;
readonly end: Schema.Finite;
readonly text: Schema.String;
}>>, never, never>;
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
readonly id: Schema.brand<Schema.String, "Skill.ID">;
readonly name: Schema.brand<Schema.String, "Skill.Name">;
readonly text: Schema.String;
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
readonly start: Schema.Finite;
readonly end: Schema.Finite;
readonly text: Schema.String;
}>>>, Schema.optionalKey<Schema.Struct<{
readonly start: Schema.Finite;
readonly end: Schema.Finite;
readonly text: Schema.String;
}>>, never, never>;
}>>>, never, never>;
readonly type: Schema.tag<"user">;

@@ -212,0 +239,0 @@ readonly id: Schema.brand<Schema.String, "Session.Message.ID"> & {

+1
-0

@@ -257,2 +257,3 @@ import { SessionMessage } from "@opencode-ai/schema/session-message";

agents: PromptInput.Prompt.fields.agents,
skills: PromptInput.Prompt.fields.skills,
delivery: SessionPending.Delivery.pipe(Schema.optional),

@@ -259,0 +260,0 @@ resume: Schema.Boolean.pipe(Schema.optional),

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

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

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

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

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

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