@opencode-ai/schema 0.0.0-beta-18600 → 0.0.0-beta-18684

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/vcs.d.ts CHANGED
@@ -16,7 +16,14 @@ export interface Info extends Schema.Schema.Type<typeof Info> {
16
16
  }
17
17
  export declare const BranchList: Schema.$Array<Schema.String>;
18
18
  export type BranchList = typeof BranchList.Type;
19
- export declare const Mode: Schema.Literals<readonly ["working", "branch"]>;
19
+ export declare const Base: Schema.Struct<{
20
+ readonly name: Schema.String;
21
+ readonly ref: Schema.String;
22
+ readonly source: Schema.Literals<readonly ["reflog", "default"]>;
23
+ }>;
24
+ export interface Base extends Schema.Schema.Type<typeof Base> {
25
+ }
26
+ export declare const Mode: Schema.Literals<readonly ["working", "branch", "committed"]>;
20
27
  export type Mode = typeof Mode.Type;
21
28
  export declare const FileStatus: Schema.Struct<{
22
29
  readonly file: Schema.String;
package/dist/vcs.js CHANGED
@@ -9,7 +9,12 @@ export const Info = Schema.Struct({
9
9
  branch: Branch,
10
10
  }).annotate({ identifier: "Vcs.Info" });
11
11
  export const BranchList = Schema.Array(Schema.String).annotate({ identifier: "Vcs.BranchList" });
12
- export const Mode = Schema.Literals(["working", "branch"]).annotate({ identifier: "Vcs.Mode" });
12
+ export const Base = Schema.Struct({
13
+ name: Schema.String,
14
+ ref: Schema.String,
15
+ source: Schema.Literals(["reflog", "default"]),
16
+ }).annotate({ identifier: "Vcs.Base" });
17
+ export const Mode = Schema.Literals(["working", "branch", "committed"]).annotate({ identifier: "Vcs.Mode" });
13
18
  export const FileStatus = Schema.Struct({
14
19
  file: Schema.String,
15
20
  additions: NonNegativeInt,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@opencode-ai/schema",
4
- "version": "0.0.0-beta-18600",
4
+ "version": "0.0.0-beta-18684",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "repository": {