@opencode/schema 0.0.0-dev-19559 → 0.0.0-dev-19561
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/skill.d.ts +3 -6
- package/dist/skill.js +1 -2
- package/package.json +1 -1
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
|
|
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
|
|
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
|
|
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
|
-
|
|
21
|
+
path: AbsolutePath,
|
|
23
22
|
content: Schema.String,
|
|
24
23
|
}).annotate({ identifier: "Skill.Info" });
|
|
25
24
|
const Updated = ephemeral({ type: "skill.updated", schema: {} });
|