@opencode-ai/schema
Advanced tools
+2
-0
@@ -17,2 +17,4 @@ export * as Vcs from "./vcs.js"; | ||
| } | ||
| export declare const BranchList: Schema.$Array<Schema.String>; | ||
| export type BranchList = typeof BranchList.Type; | ||
| export declare const Mode: Schema.Literals<readonly ["working", "branch"]>; | ||
@@ -19,0 +21,0 @@ export type Mode = typeof Mode.Type; |
+1
-0
@@ -11,2 +11,3 @@ export * as Vcs from "./vcs.js"; | ||
| }).annotate({ identifier: "Vcs.Info" }); | ||
| export const BranchList = Schema.Array(Schema.String).annotate({ identifier: "Vcs.BranchList" }); | ||
| export const Mode = Schema.Literals(["working", "branch"]).annotate({ identifier: "Vcs.Mode" }); | ||
@@ -13,0 +14,0 @@ export const FileStatus = Schema.Struct({ |
@@ -11,2 +11,3 @@ export * as Worktree from "./worktree.js"; | ||
| readonly from: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "AbsolutePath">>>, Schema.optionalKey<Schema.brand<Schema.String, "AbsolutePath">>, never, never>; | ||
| readonly branch: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Trim>>, Schema.optionalKey<Schema.Trim>, never, never>; | ||
| readonly directory: Schema.brand<Schema.String, "AbsolutePath">; | ||
@@ -13,0 +14,0 @@ readonly name: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>; |
+1
-0
@@ -12,2 +12,3 @@ export * as Worktree from "./worktree.js"; | ||
| from: optional(AbsolutePath), | ||
| branch: optional(Schema.Trim.pipe(Schema.check(Schema.isNonEmpty()))), | ||
| directory: AbsolutePath, | ||
@@ -14,0 +15,0 @@ name: optional(Schema.String), |
+1
-1
| { | ||
| "$schema": "https://json.schemastore.org/package.json", | ||
| "name": "@opencode-ai/schema", | ||
| "version": "0.0.0-dev-18189", | ||
| "version": "0.0.0-dev-18190", | ||
| "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.
3506369
0.01%55744
0.01%