🎩 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
775
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-16741
to
0.0.0-next-16745
+14
-0
dist/vcs.d.ts
export * as Vcs from "./vcs.js";
import { Schema } from "effect";
export declare const Branch: Schema.Struct<{
readonly current: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
}>;
export interface Branch extends Schema.Schema.Type<typeof Branch> {
}
export declare const Info: Schema.Struct<{
readonly branch: Schema.Struct<{
readonly current: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
readonly default: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
}>;
}>;
export interface Info extends Schema.Schema.Type<typeof Info> {
}
export declare const Mode: Schema.Literals<readonly ["working", "branch"]>;

@@ -4,0 +18,0 @@ export type Mode = typeof Mode.Type;

+8
-1
export * as Vcs from "./vcs.js";
import { Schema } from "effect";
import { NonNegativeInt } from "./schema.js";
import { NonNegativeInt, optional } from "./schema.js";
export const Branch = Schema.Struct({
current: optional(Schema.String),
default: optional(Schema.String),
}).annotate({ identifier: "Vcs.Branch" });
export const Info = Schema.Struct({
branch: Branch,
}).annotate({ identifier: "Vcs.Info" });
export const Mode = Schema.Literals(["working", "branch"]).annotate({ identifier: "Vcs.Mode" });

@@ -5,0 +12,0 @@ export const FileStatus = Schema.Struct({

+1
-1
{
"$schema": "https://json.schemastore.org/package.json",
"name": "@opencode-ai/schema",
"version": "0.0.0-next-16741",
"version": "0.0.0-next-16745",
"type": "module",

@@ -6,0 +6,0 @@ "license": "MIT",