@opencode/schema 0.0.0-dev-19561 → 0.0.0-dev-19563

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/config.d.ts CHANGED
@@ -83,18 +83,6 @@ declare const Info_base: Schema.Class<Info, Schema.Struct<{
83
83
  }>, {}>;
84
84
  export declare class Info extends Info_base {
85
85
  }
86
- export declare const Preferences: Schema.Struct<{
87
- readonly shell: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
88
- readonly websearch: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Union<readonly [Schema.Literal<false>, typeof ConfigWebSearch.Info]>>>, Schema.optionalKey<Schema.Union<readonly [Schema.Literal<false>, typeof ConfigWebSearch.Info]>>, never, never>;
89
- }>;
90
- export interface Preferences extends Schema.Schema.Type<typeof Preferences> {
91
- }
92
- export declare const PreferencesPatch: Schema.Struct<{
93
- readonly shell: Schema.decodeTo<Schema.optional<Schema.toType<Schema.NullOr<Schema.String>>>, Schema.optionalKey<Schema.NullOr<Schema.String>>, never, never>;
94
- readonly websearch: Schema.decodeTo<Schema.optional<Schema.toType<Schema.NullOr<Schema.Union<readonly [Schema.Literal<false>, typeof ConfigWebSearch.Info]>>>>, Schema.optionalKey<Schema.NullOr<Schema.Union<readonly [Schema.Literal<false>, typeof ConfigWebSearch.Info]>>>, never, never>;
95
- }>;
96
- export interface PreferencesPatch extends Schema.Schema.Type<typeof PreferencesPatch> {
97
- }
98
86
  declare const Document_base: Schema.Class<Document, Schema.Struct<{
99
87
  readonly type: Schema.Literal<"document">;
100
88
  readonly path: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "AbsolutePath">>>, Schema.optionalKey<Schema.brand<Schema.String, "AbsolutePath">>, never, never>;
@@ -108,19 +96,7 @@ declare const Directory_base: Schema.Class<Directory, Schema.Struct<{
108
96
  }>, {}>;
109
97
  export declare class Directory extends Directory_base {
110
98
  }
111
- declare const AgentsDirectory_base: Schema.Class<AgentsDirectory, Schema.Struct<{
112
- readonly type: Schema.Literal<"agents">;
113
- readonly path: Schema.brand<Schema.String, "AbsolutePath">;
114
- }>, {}>;
115
- export declare class AgentsDirectory extends AgentsDirectory_base {
116
- }
117
- declare const ClaudeDirectory_base: Schema.Class<ClaudeDirectory, Schema.Struct<{
118
- readonly type: Schema.Literal<"claude">;
119
- readonly path: Schema.brand<Schema.String, "AbsolutePath">;
120
- }>, {}>;
121
- export declare class ClaudeDirectory extends ClaudeDirectory_base {
122
- }
123
- export declare const Entry: Schema.Union<readonly [typeof Document, typeof Directory, typeof AgentsDirectory, typeof ClaudeDirectory]>;
99
+ export declare const Entry: Schema.Union<readonly [typeof Document, typeof Directory]>;
124
100
  export type Entry = typeof Entry.Type;
125
101
  export declare const Event: {
126
102
  Updated: Schema.Struct<{
package/dist/config.js CHANGED
@@ -107,14 +107,6 @@ export class Info extends Schema.Class("Config.Info")({
107
107
  experimental: ConfigExperimental.Info.pipe(optional),
108
108
  }) {
109
109
  }
110
- export const Preferences = Schema.Struct({
111
- shell: Schema.String.pipe(optional),
112
- websearch: ConfigWebSearch.Selection.pipe(optional),
113
- }).annotate({ identifier: "Config.Preferences" });
114
- export const PreferencesPatch = Schema.Struct({
115
- shell: Schema.NullOr(Schema.String).pipe(optional),
116
- websearch: Schema.NullOr(ConfigWebSearch.Selection).pipe(optional),
117
- }).annotate({ identifier: "Config.PreferencesPatch" });
118
110
  export class Document extends Schema.Class("Config.Document")({
119
111
  type: Schema.Literal("document"),
120
112
  path: AbsolutePath.pipe(optional),
@@ -126,17 +118,7 @@ export class Directory extends Schema.Class("Config.Directory")({
126
118
  path: AbsolutePath,
127
119
  }) {
128
120
  }
129
- export class AgentsDirectory extends Schema.Class("Config.AgentsDirectory")({
130
- type: Schema.Literal("agents"),
131
- path: AbsolutePath,
132
- }) {
133
- }
134
- export class ClaudeDirectory extends Schema.Class("Config.ClaudeDirectory")({
135
- type: Schema.Literal("claude"),
136
- path: AbsolutePath,
137
- }) {
138
- }
139
- export const Entry = Schema.Union([Document, Directory, AgentsDirectory, ClaudeDirectory]).annotate({
121
+ export const Entry = Schema.Union([Document, Directory]).annotate({
140
122
  identifier: "Config.Entry",
141
123
  });
142
124
  const Updated = ephemeral({
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@opencode/schema",
4
- "version": "0.0.0-dev-19561",
4
+ "version": "0.0.0-dev-19563",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "repository": {