Sign In

@opencode-ai/protocol

Package Overview
Dependencies
Maintainers
2
Versions
1094
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-dev-17860
to
0.0.0-dev-17880
+11
-1
dist/groups/session.js

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

import { Project } from "@opencode-ai/schema/project";
import { AbsolutePath, PositiveInt, RelativePath, statics } from "@opencode-ai/schema/schema";
import { AbsolutePath, NonNegativeInt, PositiveInt, RelativePath, statics } from "@opencode-ai/schema/schema";
import { Event } from "@opencode-ai/schema/event";

@@ -523,2 +523,12 @@ import { Workspace } from "@opencode-ai/schema/workspace";

})))
.add(HttpApiEndpoint.post("session.view", "/api/session/:sessionID/view", {
params: { sessionID: Session.ID },
payload: Schema.Struct({ idle: NonNegativeInt }),
success: HttpApiSchema.NoContent,
error: SessionNotFoundError,
}).annotateMerge(OpenApi.annotations({
identifier: "v2.session.view",
summary: "View session",
description: "Mark the idle transition observed by the viewer as viewed.",
})))
.annotateMerge(OpenApi.annotations({

@@ -525,0 +535,0 @@ title: "session",

+3
-2
{
"$schema": "https://json.schemastore.org/package.json",
"name": "@opencode-ai/protocol",
"version": "0.0.0-dev-17860",
"version": "0.0.0-dev-17880",
"type": "module",

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

"dependencies": {
"@opencode-ai/schema": "0.0.0-dev-17860",
"@opencode-ai/schema": "0.0.0-dev-17880",
"effect": "4.0.0-rc.110"

@@ -43,4 +43,5 @@ },

"@typescript/native-preview": "7.0.0-dev.20251207.1",
"prettier": "3.6.2",
"typescript": "5.8.2"
}
}

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

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