@opencode-ai/schema 0.0.0-dev-18224 → 0.0.0-dev-18226
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 +172 -86
- package/dist/event-manifest.js +2 -2
- package/package.json +1 -1
package/dist/event-manifest.d.ts
CHANGED
|
@@ -4075,6 +4075,92 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
4075
4075
|
durability: "ephemeral";
|
|
4076
4076
|
durable: undefined;
|
|
4077
4077
|
data: Schema.Struct<{}>;
|
|
4078
|
+
}, Schema.Struct<{
|
|
4079
|
+
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
4080
|
+
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
4081
|
+
};
|
|
4082
|
+
readonly created: Schema.Finite;
|
|
4083
|
+
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
4084
|
+
readonly type: Schema.Literal<"project.updated">;
|
|
4085
|
+
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
4086
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
4087
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
4088
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
4089
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
4090
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
4091
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
4092
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
4093
|
+
}>, never, never>;
|
|
4094
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
4095
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
4096
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
4097
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
4098
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
4099
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
4100
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
4101
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
4102
|
+
}>, never, never>;
|
|
4103
|
+
}>>, never, never>;
|
|
4104
|
+
readonly data: Schema.Struct<{
|
|
4105
|
+
readonly id: Schema.brand<Schema.String, "Project.ID"> & {
|
|
4106
|
+
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
4107
|
+
};
|
|
4108
|
+
readonly canonical: Schema.brand<Schema.String, "AbsolutePath">;
|
|
4109
|
+
readonly vcs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["git", "hg"]>>>, Schema.optionalKey<Schema.Literals<readonly ["git", "hg"]>>, never, never>;
|
|
4110
|
+
readonly name: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
4111
|
+
readonly icon: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
4112
|
+
readonly url: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
4113
|
+
readonly override: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
4114
|
+
readonly color: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
4115
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
4116
|
+
readonly url: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
4117
|
+
readonly override: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
4118
|
+
readonly color: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
4119
|
+
}>>, never, never>;
|
|
4120
|
+
readonly commands: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
4121
|
+
readonly start: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
4122
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
4123
|
+
readonly start: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
4124
|
+
}>>, never, never>;
|
|
4125
|
+
readonly time: Schema.Struct<{
|
|
4126
|
+
readonly created: Schema.Int;
|
|
4127
|
+
readonly updated: Schema.Int;
|
|
4128
|
+
readonly initialized: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
4129
|
+
}>;
|
|
4130
|
+
readonly sandboxes: Schema.$Array<Schema.String>;
|
|
4131
|
+
}>;
|
|
4132
|
+
}> & {
|
|
4133
|
+
type: "project.updated";
|
|
4134
|
+
durability: "ephemeral";
|
|
4135
|
+
durable: undefined;
|
|
4136
|
+
data: Schema.Struct<{
|
|
4137
|
+
readonly id: Schema.brand<Schema.String, "Project.ID"> & {
|
|
4138
|
+
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
4139
|
+
};
|
|
4140
|
+
readonly canonical: Schema.brand<Schema.String, "AbsolutePath">;
|
|
4141
|
+
readonly vcs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["git", "hg"]>>>, Schema.optionalKey<Schema.Literals<readonly ["git", "hg"]>>, never, never>;
|
|
4142
|
+
readonly name: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
4143
|
+
readonly icon: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
4144
|
+
readonly url: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
4145
|
+
readonly override: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
4146
|
+
readonly color: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
4147
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
4148
|
+
readonly url: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
4149
|
+
readonly override: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
4150
|
+
readonly color: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
4151
|
+
}>>, never, never>;
|
|
4152
|
+
readonly commands: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
4153
|
+
readonly start: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
4154
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
4155
|
+
readonly start: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
4156
|
+
}>>, never, never>;
|
|
4157
|
+
readonly time: Schema.Struct<{
|
|
4158
|
+
readonly created: Schema.Int;
|
|
4159
|
+
readonly updated: Schema.Int;
|
|
4160
|
+
readonly initialized: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
4161
|
+
}>;
|
|
4162
|
+
readonly sandboxes: Schema.$Array<Schema.String>;
|
|
4163
|
+
}>;
|
|
4078
4164
|
}, Schema.Struct<{
|
|
4079
4165
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
4080
4166
|
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -9785,6 +9871,92 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
9785
9871
|
durability: "ephemeral";
|
|
9786
9872
|
durable: undefined;
|
|
9787
9873
|
data: Schema.Struct<{}>;
|
|
9874
|
+
}, Schema.Struct<{
|
|
9875
|
+
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
9876
|
+
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
9877
|
+
};
|
|
9878
|
+
readonly created: Schema.Finite;
|
|
9879
|
+
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
9880
|
+
readonly type: Schema.Literal<"project.updated">;
|
|
9881
|
+
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
9882
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
9883
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
9884
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
9885
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
9886
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
9887
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
9888
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
9889
|
+
}>, never, never>;
|
|
9890
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
9891
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
9892
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
9893
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
9894
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
9895
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
9896
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
9897
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
9898
|
+
}>, never, never>;
|
|
9899
|
+
}>>, never, never>;
|
|
9900
|
+
readonly data: Schema.Struct<{
|
|
9901
|
+
readonly id: Schema.brand<Schema.String, "Project.ID"> & {
|
|
9902
|
+
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
9903
|
+
};
|
|
9904
|
+
readonly canonical: Schema.brand<Schema.String, "AbsolutePath">;
|
|
9905
|
+
readonly vcs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["git", "hg"]>>>, Schema.optionalKey<Schema.Literals<readonly ["git", "hg"]>>, never, never>;
|
|
9906
|
+
readonly name: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
9907
|
+
readonly icon: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
9908
|
+
readonly url: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
9909
|
+
readonly override: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
9910
|
+
readonly color: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
9911
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
9912
|
+
readonly url: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
9913
|
+
readonly override: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
9914
|
+
readonly color: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
9915
|
+
}>>, never, never>;
|
|
9916
|
+
readonly commands: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
9917
|
+
readonly start: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
9918
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
9919
|
+
readonly start: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
9920
|
+
}>>, never, never>;
|
|
9921
|
+
readonly time: Schema.Struct<{
|
|
9922
|
+
readonly created: Schema.Int;
|
|
9923
|
+
readonly updated: Schema.Int;
|
|
9924
|
+
readonly initialized: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
9925
|
+
}>;
|
|
9926
|
+
readonly sandboxes: Schema.$Array<Schema.String>;
|
|
9927
|
+
}>;
|
|
9928
|
+
}> & {
|
|
9929
|
+
type: "project.updated";
|
|
9930
|
+
durability: "ephemeral";
|
|
9931
|
+
durable: undefined;
|
|
9932
|
+
data: Schema.Struct<{
|
|
9933
|
+
readonly id: Schema.brand<Schema.String, "Project.ID"> & {
|
|
9934
|
+
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
9935
|
+
};
|
|
9936
|
+
readonly canonical: Schema.brand<Schema.String, "AbsolutePath">;
|
|
9937
|
+
readonly vcs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["git", "hg"]>>>, Schema.optionalKey<Schema.Literals<readonly ["git", "hg"]>>, never, never>;
|
|
9938
|
+
readonly name: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
9939
|
+
readonly icon: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
9940
|
+
readonly url: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
9941
|
+
readonly override: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
9942
|
+
readonly color: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
9943
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
9944
|
+
readonly url: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
9945
|
+
readonly override: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
9946
|
+
readonly color: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
9947
|
+
}>>, never, never>;
|
|
9948
|
+
readonly commands: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
9949
|
+
readonly start: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
9950
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
9951
|
+
readonly start: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
9952
|
+
}>>, never, never>;
|
|
9953
|
+
readonly time: Schema.Struct<{
|
|
9954
|
+
readonly created: Schema.Int;
|
|
9955
|
+
readonly updated: Schema.Int;
|
|
9956
|
+
readonly initialized: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
9957
|
+
}>;
|
|
9958
|
+
readonly sandboxes: Schema.$Array<Schema.String>;
|
|
9959
|
+
}>;
|
|
9788
9960
|
}, Schema.Struct<{
|
|
9789
9961
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
9790
9962
|
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -11259,92 +11431,6 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
11259
11431
|
data: Schema.Struct<{
|
|
11260
11432
|
readonly file: Schema.String;
|
|
11261
11433
|
}>;
|
|
11262
|
-
}, Schema.Struct<{
|
|
11263
|
-
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
11264
|
-
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
11265
|
-
};
|
|
11266
|
-
readonly created: Schema.Finite;
|
|
11267
|
-
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
11268
|
-
readonly type: Schema.Literal<"project.updated">;
|
|
11269
|
-
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
11270
|
-
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
11271
|
-
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
11272
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
11273
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
11274
|
-
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
11275
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
11276
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
11277
|
-
}>, never, never>;
|
|
11278
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
11279
|
-
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
11280
|
-
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
11281
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
11282
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
11283
|
-
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
11284
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
11285
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
11286
|
-
}>, never, never>;
|
|
11287
|
-
}>>, never, never>;
|
|
11288
|
-
readonly data: Schema.Struct<{
|
|
11289
|
-
readonly id: Schema.brand<Schema.String, "Project.ID"> & {
|
|
11290
|
-
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
11291
|
-
};
|
|
11292
|
-
readonly canonical: Schema.brand<Schema.String, "AbsolutePath">;
|
|
11293
|
-
readonly vcs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["git", "hg"]>>>, Schema.optionalKey<Schema.Literals<readonly ["git", "hg"]>>, never, never>;
|
|
11294
|
-
readonly name: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
11295
|
-
readonly icon: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
11296
|
-
readonly url: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
11297
|
-
readonly override: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
11298
|
-
readonly color: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
11299
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
11300
|
-
readonly url: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
11301
|
-
readonly override: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
11302
|
-
readonly color: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
11303
|
-
}>>, never, never>;
|
|
11304
|
-
readonly commands: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
11305
|
-
readonly start: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
11306
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
11307
|
-
readonly start: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
11308
|
-
}>>, never, never>;
|
|
11309
|
-
readonly time: Schema.Struct<{
|
|
11310
|
-
readonly created: Schema.Int;
|
|
11311
|
-
readonly updated: Schema.Int;
|
|
11312
|
-
readonly initialized: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
11313
|
-
}>;
|
|
11314
|
-
readonly sandboxes: Schema.$Array<Schema.String>;
|
|
11315
|
-
}>;
|
|
11316
|
-
}> & {
|
|
11317
|
-
type: "project.updated";
|
|
11318
|
-
durability: "ephemeral";
|
|
11319
|
-
durable: undefined;
|
|
11320
|
-
data: Schema.Struct<{
|
|
11321
|
-
readonly id: Schema.brand<Schema.String, "Project.ID"> & {
|
|
11322
|
-
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
11323
|
-
};
|
|
11324
|
-
readonly canonical: Schema.brand<Schema.String, "AbsolutePath">;
|
|
11325
|
-
readonly vcs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["git", "hg"]>>>, Schema.optionalKey<Schema.Literals<readonly ["git", "hg"]>>, never, never>;
|
|
11326
|
-
readonly name: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
11327
|
-
readonly icon: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
11328
|
-
readonly url: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
11329
|
-
readonly override: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
11330
|
-
readonly color: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
11331
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
11332
|
-
readonly url: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
11333
|
-
readonly override: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
11334
|
-
readonly color: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
11335
|
-
}>>, never, never>;
|
|
11336
|
-
readonly commands: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
11337
|
-
readonly start: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
11338
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
11339
|
-
readonly start: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
11340
|
-
}>>, never, never>;
|
|
11341
|
-
readonly time: Schema.Struct<{
|
|
11342
|
-
readonly created: Schema.Int;
|
|
11343
|
-
readonly updated: Schema.Int;
|
|
11344
|
-
readonly initialized: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
11345
|
-
}>;
|
|
11346
|
-
readonly sandboxes: Schema.$Array<Schema.String>;
|
|
11347
|
-
}>;
|
|
11348
11434
|
}, Schema.Struct<{
|
|
11349
11435
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
11350
11436
|
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
package/dist/event-manifest.js
CHANGED
|
@@ -35,12 +35,12 @@ import { WorktreeEvent } from "./worktree-event.js";
|
|
|
35
35
|
import { WebSearch } from "./websearch.js";
|
|
36
36
|
const coreDefinitions = Event.inventory(...SessionEvent.Definitions);
|
|
37
37
|
const foundationDefinitions = Event.inventory(...ModelsDev.Event.Definitions, ...Integration.Event.Definitions, ...Catalog.Event.Definitions, ...Agent.Event.Definitions, ...coreDefinitions);
|
|
38
|
-
const featureDefinitions = Event.inventory(...FileSystem.Event.Definitions, ...Reference.Event.Definitions, ...Permission.Event.Definitions, ...Plugin.Event.Definitions, ...Worktree.Event.Definitions, ...Command.Event.Definitions, ...Config.Event.Definitions, ...Skill.Event.Definitions, ...Pty.Event.Definitions, ...PersistentPty.Event.Definitions, ...Shell.Event.Definitions, ...Form.Event.Definitions, ...WebSearch.Event.Definitions);
|
|
38
|
+
const featureDefinitions = Event.inventory(...FileSystem.Event.Definitions, ...Reference.Event.Definitions, ...Permission.Event.Definitions, ...Plugin.Event.Definitions, ...Project.Event.Definitions, ...Worktree.Event.Definitions, ...Command.Event.Definitions, ...Config.Event.Definitions, ...Skill.Event.Definitions, ...Pty.Event.Definitions, ...PersistentPty.Event.Definitions, ...Shell.Event.Definitions, ...Form.Event.Definitions, ...WebSearch.Event.Definitions);
|
|
39
39
|
export const ServerDefinitions = Event.inventory(...foundationDefinitions, ...featureDefinitions,
|
|
40
40
|
// Current events the TUI consumes from the public stream.
|
|
41
41
|
...SessionStatusEvent.Definitions, ...TuiEvent.Definitions, ...InstallationEvent.Definitions, ...VcsEvent.Definitions, McpEvent.StatusChanged, McpEvent.ResourcesChanged);
|
|
42
42
|
export const Server = Event.latest(ServerDefinitions);
|
|
43
43
|
export const isServer = (event) => Server.has(event.type);
|
|
44
|
-
export const Definitions = Event.inventory(...foundationDefinitions, ...InstallationEvent.Definitions, ...featureDefinitions, ...LspEvent.Definitions, ...TuiEvent.Definitions, ...McpEvent.Definitions, ...LegacyEventV1.Definitions, ...FileSystemV1.Event.Definitions, ...
|
|
44
|
+
export const Definitions = Event.inventory(...foundationDefinitions, ...InstallationEvent.Definitions, ...featureDefinitions, ...LspEvent.Definitions, ...TuiEvent.Definitions, ...McpEvent.Definitions, ...LegacyEventV1.Definitions, ...FileSystemV1.Event.Definitions, ...SessionStatusEvent.Definitions, ...SessionCompactionEvent.Definitions, ...VcsEvent.Definitions, ...WorkspaceEvent.Definitions, ...WorktreeEvent.Definitions, ...ServerEvent.Definitions);
|
|
45
45
|
export const Latest = Event.latest(Definitions);
|
|
46
46
|
export { Durable };
|