@opencode-ai/protocol
Advanced tools
@@ -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 @@ }, |
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.
2110397
0.05%33848
0.04%+ Added
- Removed