@opencode-ai/schema 0.0.0-next-16494 → 0.0.0-next-16495
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/event-manifest.d.ts +2 -2
- package/dist/location.d.ts +1 -0
- package/dist/location.js +1 -0
- package/dist/project.d.ts +6 -5
- package/dist/project.js +2 -1
- package/package.json +1 -1
package/dist/event-manifest.d.ts
CHANGED
|
@@ -15232,7 +15232,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
15232
15232
|
readonly id: Schema.brand<Schema.String, "Project.ID"> & {
|
|
15233
15233
|
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
15234
15234
|
};
|
|
15235
|
-
readonly
|
|
15235
|
+
readonly canonical: Schema.brand<Schema.String, "AbsolutePath">;
|
|
15236
15236
|
readonly vcs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["git", "hg"]>>>, Schema.optionalKey<Schema.Literals<readonly ["git", "hg"]>>, never, never>;
|
|
15237
15237
|
readonly name: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
15238
15238
|
readonly icon: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
@@ -15264,7 +15264,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
15264
15264
|
readonly id: Schema.brand<Schema.String, "Project.ID"> & {
|
|
15265
15265
|
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
15266
15266
|
};
|
|
15267
|
-
readonly
|
|
15267
|
+
readonly canonical: Schema.brand<Schema.String, "AbsolutePath">;
|
|
15268
15268
|
readonly vcs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["git", "hg"]>>>, Schema.optionalKey<Schema.Literals<readonly ["git", "hg"]>>, never, never>;
|
|
15269
15269
|
readonly name: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
15270
15270
|
readonly icon: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
package/dist/location.d.ts
CHANGED
|
@@ -26,6 +26,7 @@ declare const Info_base: Schema.Class<Info, Schema.Struct<{
|
|
|
26
26
|
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
27
27
|
};
|
|
28
28
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
29
|
+
readonly canonical: Schema.brand<Schema.String, "AbsolutePath">;
|
|
29
30
|
}>;
|
|
30
31
|
}>, {}>;
|
|
31
32
|
export declare class Info extends Info_base {
|
package/dist/location.js
CHANGED
package/dist/project.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ export declare const Current: Schema.Struct<{
|
|
|
10
10
|
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
11
11
|
};
|
|
12
12
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
13
|
+
readonly canonical: Schema.brand<Schema.String, "AbsolutePath">;
|
|
13
14
|
}>;
|
|
14
15
|
export interface Current extends Schema.Schema.Type<typeof Current> {
|
|
15
16
|
}
|
|
@@ -54,7 +55,7 @@ export declare const Info: Schema.Struct<{
|
|
|
54
55
|
readonly id: Schema.brand<Schema.String, "Project.ID"> & {
|
|
55
56
|
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
56
57
|
};
|
|
57
|
-
readonly
|
|
58
|
+
readonly canonical: Schema.brand<Schema.String, "AbsolutePath">;
|
|
58
59
|
readonly vcs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["git", "hg"]>>>, Schema.optionalKey<Schema.Literals<readonly ["git", "hg"]>>, never, never>;
|
|
59
60
|
readonly name: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
60
61
|
readonly icon: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
@@ -111,7 +112,7 @@ export declare const Event: {
|
|
|
111
112
|
readonly id: Schema.brand<Schema.String, "Project.ID"> & {
|
|
112
113
|
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
113
114
|
};
|
|
114
|
-
readonly
|
|
115
|
+
readonly canonical: Schema.brand<Schema.String, "AbsolutePath">;
|
|
115
116
|
readonly vcs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["git", "hg"]>>>, Schema.optionalKey<Schema.Literals<readonly ["git", "hg"]>>, never, never>;
|
|
116
117
|
readonly name: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
117
118
|
readonly icon: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
@@ -143,7 +144,7 @@ export declare const Event: {
|
|
|
143
144
|
readonly id: Schema.brand<Schema.String, "Project.ID"> & {
|
|
144
145
|
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
145
146
|
};
|
|
146
|
-
readonly
|
|
147
|
+
readonly canonical: Schema.brand<Schema.String, "AbsolutePath">;
|
|
147
148
|
readonly vcs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["git", "hg"]>>>, Schema.optionalKey<Schema.Literals<readonly ["git", "hg"]>>, never, never>;
|
|
148
149
|
readonly name: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
149
150
|
readonly icon: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
@@ -198,7 +199,7 @@ export declare const Event: {
|
|
|
198
199
|
readonly id: Schema.brand<Schema.String, "Project.ID"> & {
|
|
199
200
|
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
200
201
|
};
|
|
201
|
-
readonly
|
|
202
|
+
readonly canonical: Schema.brand<Schema.String, "AbsolutePath">;
|
|
202
203
|
readonly vcs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["git", "hg"]>>>, Schema.optionalKey<Schema.Literals<readonly ["git", "hg"]>>, never, never>;
|
|
203
204
|
readonly name: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
204
205
|
readonly icon: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
@@ -230,7 +231,7 @@ export declare const Event: {
|
|
|
230
231
|
readonly id: Schema.brand<Schema.String, "Project.ID"> & {
|
|
231
232
|
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
232
233
|
};
|
|
233
|
-
readonly
|
|
234
|
+
readonly canonical: Schema.brand<Schema.String, "AbsolutePath">;
|
|
234
235
|
readonly vcs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["git", "hg"]>>>, Schema.optionalKey<Schema.Literals<readonly ["git", "hg"]>>, never, never>;
|
|
235
236
|
readonly name: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
236
237
|
readonly icon: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
package/dist/project.js
CHANGED
|
@@ -8,6 +8,7 @@ export const Vcs = Schema.Literals(["git", "hg"]).annotate({ identifier: "Projec
|
|
|
8
8
|
export const Current = Schema.Struct({
|
|
9
9
|
id: ID,
|
|
10
10
|
directory: AbsolutePath,
|
|
11
|
+
canonical: AbsolutePath,
|
|
11
12
|
}).annotate({ identifier: "Project.Current" });
|
|
12
13
|
export const Directory = Schema.Struct({
|
|
13
14
|
directory: AbsolutePath,
|
|
@@ -32,7 +33,7 @@ export const Time = Schema.Struct({
|
|
|
32
33
|
}).annotate({ identifier: "Project.Time" });
|
|
33
34
|
export const Info = Schema.Struct({
|
|
34
35
|
id: ID,
|
|
35
|
-
|
|
36
|
+
canonical: AbsolutePath,
|
|
36
37
|
vcs: optional(Vcs),
|
|
37
38
|
name: optional(Schema.String),
|
|
38
39
|
icon: optional(Icon),
|