@opencode/schema 0.0.0-dev-19561 → 0.0.0-dev-19562
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 +1 -13
- package/dist/config.js +1 -11
- package/package.json +1 -1
package/dist/config.d.ts
CHANGED
|
@@ -108,19 +108,7 @@ declare const Directory_base: Schema.Class<Directory, Schema.Struct<{
|
|
|
108
108
|
}>, {}>;
|
|
109
109
|
export declare class Directory extends Directory_base {
|
|
110
110
|
}
|
|
111
|
-
declare const
|
|
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]>;
|
|
111
|
+
export declare const Entry: Schema.Union<readonly [typeof Document, typeof Directory]>;
|
|
124
112
|
export type Entry = typeof Entry.Type;
|
|
125
113
|
export declare const Event: {
|
|
126
114
|
Updated: Schema.Struct<{
|
package/dist/config.js
CHANGED
|
@@ -126,17 +126,7 @@ export class Directory extends Schema.Class("Config.Directory")({
|
|
|
126
126
|
path: AbsolutePath,
|
|
127
127
|
}) {
|
|
128
128
|
}
|
|
129
|
-
export
|
|
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({
|
|
129
|
+
export const Entry = Schema.Union([Document, Directory]).annotate({
|
|
140
130
|
identifier: "Config.Entry",
|
|
141
131
|
});
|
|
142
132
|
const Updated = ephemeral({
|