@opencode/schema 0.0.0-dev-19560 → 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 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 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]>;
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 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({
129
+ export const Entry = Schema.Union([Document, Directory]).annotate({
140
130
  identifier: "Config.Entry",
141
131
  });
142
132
  const Updated = ephemeral({
package/dist/skill.d.ts CHANGED
@@ -22,9 +22,8 @@ export declare const Info: Schema.Struct<{
22
22
  readonly id: Schema.brand<Schema.String, "Skill.ID">;
23
23
  readonly name: Schema.brand<Schema.String, "Skill.Name">;
24
24
  readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
25
- readonly slash: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
26
25
  readonly autoinvoke: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
27
- readonly location: Schema.brand<Schema.String, "AbsolutePath">;
26
+ readonly path: Schema.brand<Schema.String, "AbsolutePath">;
28
27
  readonly content: Schema.String;
29
28
  }>;
30
29
  export declare const Event: {
@@ -103,9 +102,8 @@ export declare const EmbeddedSource: Schema.Struct<{
103
102
  readonly id: Schema.brand<Schema.String, "Skill.ID">;
104
103
  readonly name: Schema.brand<Schema.String, "Skill.Name">;
105
104
  readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
106
- readonly slash: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
107
105
  readonly autoinvoke: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
108
- readonly location: Schema.brand<Schema.String, "AbsolutePath">;
106
+ readonly path: Schema.brand<Schema.String, "AbsolutePath">;
109
107
  readonly content: Schema.String;
110
108
  }>>;
111
109
  }>;
@@ -122,9 +120,8 @@ export declare const Source: Schema.Union<readonly [Schema.Struct<{
122
120
  readonly id: Schema.brand<Schema.String, "Skill.ID">;
123
121
  readonly name: Schema.brand<Schema.String, "Skill.Name">;
124
122
  readonly description: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
125
- readonly slash: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
126
123
  readonly autoinvoke: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Boolean>>, Schema.optionalKey<Schema.Boolean>, never, never>;
127
- readonly location: Schema.brand<Schema.String, "AbsolutePath">;
124
+ readonly path: Schema.brand<Schema.String, "AbsolutePath">;
128
125
  readonly content: Schema.String;
129
126
  }>>;
130
127
  }>]> & {
package/dist/skill.js CHANGED
@@ -17,9 +17,8 @@ export const Info = Schema.Struct({
17
17
  id: ID,
18
18
  name: Name,
19
19
  description: Schema.String.pipe(optional),
20
- slash: Schema.Boolean.pipe(optional),
21
20
  autoinvoke: Schema.Boolean.pipe(optional),
22
- location: AbsolutePath,
21
+ path: AbsolutePath,
23
22
  content: Schema.String,
24
23
  }).annotate({ identifier: "Skill.Info" });
25
24
  const Updated = ephemeral({ type: "skill.updated", schema: {} });
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-19560",
4
+ "version": "0.0.0-dev-19562",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "repository": {