@opencode-ai/protocol
Advanced tools
@@ -21,2 +21,3 @@ import { Location } from "@opencode-ai/schema/location"; | ||
| readonly outdated: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literal<true>>>, Schema.optionalKey<Schema.Literal<true>>, never, never>; | ||
| readonly updating: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literal<true>>>, Schema.optionalKey<Schema.Literal<true>>, never, never>; | ||
| }>, Schema.Struct<{ | ||
@@ -59,2 +60,3 @@ readonly type: Schema.Literal<"local">; | ||
| readonly outdated: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literal<true>>>, Schema.optionalKey<Schema.Literal<true>>, never, never>; | ||
| readonly updating: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literal<true>>>, Schema.optionalKey<Schema.Literal<true>>, never, never>; | ||
| }>, Schema.Struct<{ | ||
@@ -85,3 +87,3 @@ readonly type: Schema.Literal<"local">; | ||
| }>>, Schema.toCodecJson<Schema.Struct<{ | ||
| readonly target: Schema.String; | ||
| readonly targets: Schema.$Array<Schema.String>; | ||
| }>>, never, Schema.toCodecJson<HttpApiSchema.NoContent>, Schema.toCodecJson<typeof InvalidRequestError | typeof ServiceUnavailableError>, never, never>, false>; |
@@ -32,3 +32,3 @@ import { Location } from "@opencode-ai/schema/location"; | ||
| query: LocationQuery, | ||
| payload: Schema.Struct({ target: Schema.String }), | ||
| payload: Schema.Struct({ targets: Schema.Array(Schema.String) }), | ||
| success: HttpApiSchema.NoContent, | ||
@@ -40,4 +40,4 @@ error: [InvalidRequestError, ServiceUnavailableError], | ||
| identifier: "v2.plugin.update", | ||
| summary: "Update plugin", | ||
| description: "Update one package plugin and notify active locations to reload it.", | ||
| summary: "Update plugins", | ||
| description: "Update package plugins concurrently and notify active locations to reload them. Responds once every update has finished; fails when any update fails.", | ||
| }))) | ||
@@ -44,0 +44,0 @@ .annotateMerge(OpenApi.annotations({ |
+2
-2
| { | ||
| "$schema": "https://json.schemastore.org/package.json", | ||
| "name": "@opencode-ai/protocol", | ||
| "version": "0.0.0-dev-18855", | ||
| "version": "0.0.0-dev-18857", | ||
| "type": "module", | ||
@@ -35,3 +35,3 @@ "license": "MIT", | ||
| "dependencies": { | ||
| "@opencode-ai/schema": "0.0.0-dev-18855", | ||
| "@opencode-ai/schema": "0.0.0-dev-18857", | ||
| "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.
2109388
0.02%33833
0.01%+ Added
- Removed