@opencode-ai/schema
Advanced tools
@@ -29,2 +29,3 @@ export * as Location from "./location.js"; | ||
| readonly directory: Schema.brand<Schema.String, "AbsolutePath">; | ||
| readonly canonical: Schema.brand<Schema.String, "AbsolutePath">; | ||
| }>; | ||
@@ -31,0 +32,0 @@ }>, {}>; |
+1
-0
@@ -16,2 +16,3 @@ export * as Location from "./location.js"; | ||
| directory: AbsolutePath, | ||
| canonical: AbsolutePath, | ||
| }), | ||
@@ -18,0 +19,0 @@ }) { |
@@ -13,2 +13,3 @@ export * as Project from "./project.js"; | ||
| readonly directory: Schema.brand<Schema.String, "AbsolutePath">; | ||
| readonly canonical: Schema.brand<Schema.String, "AbsolutePath">; | ||
| }>; | ||
@@ -58,3 +59,3 @@ export interface Current extends Schema.Schema.Type<typeof Current> { | ||
| }; | ||
| readonly worktree: Schema.String; | ||
| readonly canonical: Schema.brand<Schema.String, "AbsolutePath">; | ||
| readonly vcs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["git", "hg"]>>>, Schema.optionalKey<Schema.Literals<readonly ["git", "hg"]>>, never, never>; | ||
@@ -116,3 +117,3 @@ readonly name: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>; | ||
| }; | ||
| readonly worktree: Schema.String; | ||
| readonly canonical: Schema.brand<Schema.String, "AbsolutePath">; | ||
| readonly vcs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["git", "hg"]>>>, Schema.optionalKey<Schema.Literals<readonly ["git", "hg"]>>, never, never>; | ||
@@ -149,3 +150,3 @@ readonly name: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>; | ||
| }; | ||
| readonly worktree: Schema.String; | ||
| readonly canonical: Schema.brand<Schema.String, "AbsolutePath">; | ||
| readonly vcs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["git", "hg"]>>>, Schema.optionalKey<Schema.Literals<readonly ["git", "hg"]>>, never, never>; | ||
@@ -205,3 +206,3 @@ readonly name: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>; | ||
| }; | ||
| readonly worktree: Schema.String; | ||
| readonly canonical: Schema.brand<Schema.String, "AbsolutePath">; | ||
| readonly vcs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["git", "hg"]>>>, Schema.optionalKey<Schema.Literals<readonly ["git", "hg"]>>, never, never>; | ||
@@ -238,3 +239,3 @@ readonly name: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>; | ||
| }; | ||
| readonly worktree: Schema.String; | ||
| readonly canonical: Schema.brand<Schema.String, "AbsolutePath">; | ||
| readonly vcs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["git", "hg"]>>>, Schema.optionalKey<Schema.Literals<readonly ["git", "hg"]>>, never, never>; | ||
@@ -241,0 +242,0 @@ readonly name: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>; |
+2
-1
@@ -11,2 +11,3 @@ export * as Project from "./project.js"; | ||
| directory: AbsolutePath, | ||
| canonical: AbsolutePath, | ||
| }).annotate({ identifier: "Project.Current" }); | ||
@@ -36,3 +37,3 @@ export const Directory = Schema.Struct({ | ||
| id: ID, | ||
| worktree: Schema.String, | ||
| canonical: AbsolutePath, | ||
| vcs: optional(Vcs), | ||
@@ -39,0 +40,0 @@ name: optional(Schema.String), |
+1
-1
| { | ||
| "$schema": "https://json.schemastore.org/package.json", | ||
| "name": "@opencode-ai/schema", | ||
| "version": "0.0.0-next-16494", | ||
| "version": "0.0.0-next-16495", | ||
| "type": "module", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
Sorry, the diff of this file is too big to display
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.
3612512
0.01%56835
0.01%