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

@opencode-ai/protocol

Package Overview
Dependencies
Maintainers
2
Versions
1581
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-18905
to
0.0.0-dev-18906
+6
-1
dist/groups/plugin.d.ts

@@ -41,3 +41,3 @@ import { Location } from "@opencode-ai/schema/location";

}>>;
}>>, never, never, never> | HttpApiEndpoint.HttpApiEndpoint<"plugin.check", "POST", "/api/plugin/check", never, Schema.toCodecStringTree<Schema.Struct<{
}>>, never, never, never> | HttpApiEndpoint.HttpApiEndpoint<"plugin.awaitActivation", "POST", "/api/plugin/await-activation", never, Schema.toCodecStringTree<Schema.Struct<{
readonly location: Schema.optional<Schema.Struct<{

@@ -47,2 +47,7 @@ readonly directory: Schema.optional<Schema.String>;

}>>;
}>>, never, never, Schema.toCodecJson<HttpApiSchema.NoContent>, never, never, never> | HttpApiEndpoint.HttpApiEndpoint<"plugin.check", "POST", "/api/plugin/check", never, Schema.toCodecStringTree<Schema.Struct<{
readonly location: Schema.optional<Schema.Struct<{
readonly directory: Schema.optional<Schema.String>;
readonly workspace: Schema.optional<Schema.String>;
}>>;
}>>, Schema.toCodecJson<Schema.Struct<{

@@ -49,0 +54,0 @@ readonly target: Schema.optional<Schema.String>;

@@ -18,2 +18,12 @@ import { Location } from "@opencode-ai/schema/location";

})))
.add(HttpApiEndpoint.post("plugin.awaitActivation", "/api/plugin/await-activation", {
query: LocationQuery,
success: HttpApiSchema.NoContent,
})
.annotateMerge(locationQueryOpenApi)
.annotateMerge(OpenApi.annotations({
identifier: "v2.plugin.awaitActivation",
summary: "Wait for plugin activation",
description: "Wait for configured plugin activation at a Location to settle, including missing-package installs. Completion does not imply every plugin succeeded or background resource discovery finished. Cancelling this wait does not cancel activation.",
})))
.add(HttpApiEndpoint.post("plugin.check", "/api/plugin/check", {

@@ -20,0 +30,0 @@ query: LocationQuery,

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

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

"dependencies": {
"@opencode-ai/schema": "0.0.0-dev-18905",
"@opencode-ai/schema": "0.0.0-dev-18906",
"effect": "4.0.0-rc.112"

@@ -38,0 +38,0 @@ },