@opencode-ai/schema
Advanced tools
+6
-2
@@ -9,3 +9,5 @@ export * as Plugin from "./plugin.js"; | ||
| readonly type: Schema.Literal<"package">; | ||
| readonly package: Schema.String; | ||
| readonly target: Schema.String; | ||
| readonly version: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>; | ||
| readonly outdated: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literal<true>>>, Schema.optionalKey<Schema.Literal<true>>, never, never>; | ||
| }>, Schema.Struct<{ | ||
@@ -39,3 +41,5 @@ readonly type: Schema.Literal<"local">; | ||
| readonly type: Schema.Literal<"package">; | ||
| readonly package: Schema.String; | ||
| readonly target: Schema.String; | ||
| readonly version: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>; | ||
| readonly outdated: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literal<true>>>, Schema.optionalKey<Schema.Literal<true>>, never, never>; | ||
| }>, Schema.Struct<{ | ||
@@ -42,0 +46,0 @@ readonly type: Schema.Literal<"local">; |
+6
-1
@@ -8,3 +8,8 @@ export * as Plugin from "./plugin.js"; | ||
| Schema.Struct({ type: Schema.Literal("builtin") }), | ||
| Schema.Struct({ type: Schema.Literal("package"), package: Schema.String }), | ||
| Schema.Struct({ | ||
| type: Schema.Literal("package"), | ||
| target: Schema.String, | ||
| version: Schema.String.pipe(optional), | ||
| outdated: Schema.Literal(true).pipe(optional), | ||
| }), | ||
| Schema.Struct({ type: Schema.Literal("local"), path: Schema.String }), | ||
@@ -11,0 +16,0 @@ Schema.Struct({ type: Schema.Literal("sdk") }), |
+1
-1
| { | ||
| "$schema": "https://json.schemastore.org/package.json", | ||
| "name": "@opencode-ai/schema", | ||
| "version": "0.0.0-dev-18792", | ||
| "version": "0.0.0-dev-18793", | ||
| "type": "module", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
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.
3761423
0.02%59511
0.02%