🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@opencode-ai/schema

Package Overview
Dependencies
Maintainers
2
Versions
712
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opencode-ai/schema - npm Package Compare versions

Comparing version
0.0.0-next-16494
to
0.0.0-next-16495
+1
-0
dist/location.d.ts

@@ -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 @@ }>, {}>;

@@ -16,2 +16,3 @@ export * as Location from "./location.js";

directory: AbsolutePath,
canonical: AbsolutePath,
}),

@@ -18,0 +19,0 @@ }) {

+6
-5

@@ -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>;

@@ -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),

{
"$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