@opencode-ai/protocol
Advanced tools
@@ -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
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
1700206
1.44%27513
1.39%+ Added
- Removed