New:Socket for Asana Is Now Available.Learn more
Sign In

@opencode-ai/schema

Package Overview
Dependencies
Maintainers
2
Versions
1248
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-dev-18189
to
0.0.0-dev-18190
+2
-0
dist/vcs.d.ts

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

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

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