New:Socket for Asana Is Now Available.Learn more
Sign In

@opencode-ai/protocol

Package Overview
Dependencies
Maintainers
2
Versions
1348
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-15029
to
0.0.0-next-15032
+1
-0
dist/groups/message.d.ts

@@ -524,2 +524,3 @@ import { Schema } from "effect";

readonly type: Schema.Literal<"compaction">;
readonly status: Schema.Literals<readonly ["queued", "running", "completed", "failed"]>;
readonly reason: Schema.Literals<readonly ["auto", "manual"]>;

@@ -526,0 +527,0 @@ readonly summary: Schema.String;

+5
-10

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

success: Schema.Struct({ data: SessionInput.Admitted }),
error: [
ConflictError,
InvalidRequestError,
SessionNotFoundError,
CommandNotFoundError,
CommandEvaluationError,
],
error: [ConflictError, InvalidRequestError, SessionNotFoundError, CommandNotFoundError, CommandEvaluationError],
})

@@ -292,4 +286,5 @@ .middleware(sessionLocationMiddleware)

params: { sessionID: Session.ID },
success: HttpApiSchema.NoContent,
error: [SessionNotFoundError, SessionBusyError, ServiceUnavailableError, UnknownError],
payload: Schema.Struct({ id: SessionMessage.ID.pipe(Schema.optional) }),
success: Schema.Struct({ data: SessionInput.Compaction }),
error: [ConflictError, SessionNotFoundError],
})

@@ -300,3 +295,3 @@ .middleware(sessionLocationMiddleware)

summary: "Compact session",
description: "Compact a session conversation.",
description: "Queue a durable session compaction request.",
})))

@@ -303,0 +298,0 @@ .add(HttpApiEndpoint.post("session.wait", "/api/session/:sessionID/wait", {

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

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

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