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

@opencode-ai/protocol

Package Overview
Dependencies
Maintainers
2
Versions
1468
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-14833
to
0.0.0-next-14834
+29
-3
dist/groups/message.d.ts

@@ -186,5 +186,31 @@ import { Event } from "@opencode-ai/schema/event";

readonly type: Schema.Literal<"shell">;
readonly callID: Schema.String;
readonly command: Schema.String;
readonly output: Schema.String;
readonly shell: Schema.Struct<{
readonly id: Schema.brand<Schema.String, "ShellID"> & {
create: () => string & import("effect/Brand").Brand<"ShellID">;
ascending: (id?: string) => string & import("effect/Brand").Brand<"ShellID">;
};
readonly status: Schema.Literals<readonly ["running", "exited", "timeout", "killed"]>;
readonly command: Schema.String;
readonly cwd: Schema.String;
readonly shell: Schema.String;
readonly file: Schema.String;
readonly pid: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
readonly exit: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
readonly time: Schema.Struct<{
readonly started: Schema.Number;
readonly completed: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Number>>, Schema.optionalKey<Schema.Number>, never, never>;
}>;
}>;
readonly output: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
readonly output: Schema.String;
readonly cursor: Schema.Int;
readonly size: Schema.Int;
readonly truncated: Schema.Boolean;
}>>>, Schema.optionalKey<Schema.Struct<{
readonly output: Schema.String;
readonly cursor: Schema.Int;
readonly size: Schema.Int;
readonly truncated: Schema.Boolean;
}>>, never, never>;
readonly time: Schema.Struct<{

@@ -191,0 +217,0 @@ readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;

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

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

"dependencies": {
"@opencode-ai/schema": "0.0.0-next-14833",
"@opencode-ai/schema": "0.0.0-next-14834",
"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