@opencode-ai/schema 0.0.0-beta-18219 → 0.0.0-beta-18269
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/provider.d.ts +2 -0
- package/dist/credential.d.ts +153 -0
- package/dist/credential.js +15 -1
- package/dist/event-manifest.d.ts +284 -94
- package/dist/event-manifest.js +4 -3
- package/dist/integration.d.ts +2 -73
- package/dist/integration.js +3 -5
- package/dist/model.d.ts +6 -0
- package/dist/model.js +2 -0
- package/dist/prompt.d.ts +5 -0
- package/dist/prompt.js +1 -0
- package/dist/session-event.d.ts +20 -0
- package/dist/session-inbox.d.ts +8 -0
- package/dist/session-message.d.ts +4 -0
- package/dist/session-transfer.d.ts +2 -0
- package/dist/worktree.d.ts +22 -0
- package/dist/worktree.js +23 -8
- package/package.json +1 -1
package/dist/event-manifest.d.ts
CHANGED
|
@@ -41,7 +41,7 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
41
41
|
};
|
|
42
42
|
readonly created: Schema.Finite;
|
|
43
43
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
44
|
-
readonly type: Schema.Literal<"
|
|
44
|
+
readonly type: Schema.Literal<"credential.updated">;
|
|
45
45
|
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
46
46
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
47
47
|
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
@@ -63,7 +63,7 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
63
63
|
}>>, never, never>;
|
|
64
64
|
readonly data: Schema.Struct<{}>;
|
|
65
65
|
}> & {
|
|
66
|
-
type: "
|
|
66
|
+
type: "credential.updated";
|
|
67
67
|
durability: "ephemeral";
|
|
68
68
|
durable: undefined;
|
|
69
69
|
data: Schema.Struct<{}>;
|
|
@@ -73,7 +73,7 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
73
73
|
};
|
|
74
74
|
readonly created: Schema.Finite;
|
|
75
75
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
76
|
-
readonly type: Schema.Literal<"
|
|
76
|
+
readonly type: Schema.Literal<"credential.switched">;
|
|
77
77
|
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
78
78
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
79
79
|
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
@@ -95,14 +95,52 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
95
95
|
}>>, never, never>;
|
|
96
96
|
readonly data: Schema.Struct<{
|
|
97
97
|
readonly integrationID: Schema.brand<Schema.String, "Integration.ID">;
|
|
98
|
+
readonly credentialID: Schema.NullOr<Schema.brand<Schema.String, "Credential.ID"> & {
|
|
99
|
+
create: () => string & import("effect/Brand").Brand<"Credential.ID">;
|
|
100
|
+
}>;
|
|
98
101
|
}>;
|
|
99
102
|
}> & {
|
|
100
|
-
type: "
|
|
103
|
+
type: "credential.switched";
|
|
101
104
|
durability: "ephemeral";
|
|
102
105
|
durable: undefined;
|
|
103
106
|
data: Schema.Struct<{
|
|
104
107
|
readonly integrationID: Schema.brand<Schema.String, "Integration.ID">;
|
|
108
|
+
readonly credentialID: Schema.NullOr<Schema.brand<Schema.String, "Credential.ID"> & {
|
|
109
|
+
create: () => string & import("effect/Brand").Brand<"Credential.ID">;
|
|
110
|
+
}>;
|
|
105
111
|
}>;
|
|
112
|
+
}, Schema.Struct<{
|
|
113
|
+
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
114
|
+
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
115
|
+
};
|
|
116
|
+
readonly created: Schema.Finite;
|
|
117
|
+
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
118
|
+
readonly type: Schema.Literal<"integration.updated">;
|
|
119
|
+
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
120
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
121
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
122
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
123
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
124
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
125
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
126
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
127
|
+
}>, never, never>;
|
|
128
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
129
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
130
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
131
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
132
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
133
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
134
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
135
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
136
|
+
}>, never, never>;
|
|
137
|
+
}>>, never, never>;
|
|
138
|
+
readonly data: Schema.Struct<{}>;
|
|
139
|
+
}> & {
|
|
140
|
+
type: "integration.updated";
|
|
141
|
+
durability: "ephemeral";
|
|
142
|
+
durable: undefined;
|
|
143
|
+
data: Schema.Struct<{}>;
|
|
106
144
|
}, Schema.Struct<{
|
|
107
145
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
108
146
|
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -1197,6 +1235,7 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
1197
1235
|
readonly skills: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
1198
1236
|
readonly id: Schema.brand<Schema.String, "Skill.ID">;
|
|
1199
1237
|
readonly name: Schema.brand<Schema.String, "Skill.Name">;
|
|
1238
|
+
readonly text: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1200
1239
|
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
1201
1240
|
readonly start: Schema.Finite;
|
|
1202
1241
|
readonly end: Schema.Finite;
|
|
@@ -1209,6 +1248,7 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
1209
1248
|
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
1210
1249
|
readonly id: Schema.brand<Schema.String, "Skill.ID">;
|
|
1211
1250
|
readonly name: Schema.brand<Schema.String, "Skill.Name">;
|
|
1251
|
+
readonly text: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1212
1252
|
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
1213
1253
|
readonly start: Schema.Finite;
|
|
1214
1254
|
readonly end: Schema.Finite;
|
|
@@ -1378,6 +1418,7 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
1378
1418
|
readonly skills: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
1379
1419
|
readonly id: Schema.brand<Schema.String, "Skill.ID">;
|
|
1380
1420
|
readonly name: Schema.brand<Schema.String, "Skill.Name">;
|
|
1421
|
+
readonly text: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1381
1422
|
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
1382
1423
|
readonly start: Schema.Finite;
|
|
1383
1424
|
readonly end: Schema.Finite;
|
|
@@ -1390,6 +1431,7 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
1390
1431
|
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
1391
1432
|
readonly id: Schema.brand<Schema.String, "Skill.ID">;
|
|
1392
1433
|
readonly name: Schema.brand<Schema.String, "Skill.Name">;
|
|
1434
|
+
readonly text: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
1393
1435
|
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
1394
1436
|
readonly start: Schema.Finite;
|
|
1395
1437
|
readonly end: Schema.Finite;
|
|
@@ -4075,6 +4117,92 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
4075
4117
|
durability: "ephemeral";
|
|
4076
4118
|
durable: undefined;
|
|
4077
4119
|
data: Schema.Struct<{}>;
|
|
4120
|
+
}, Schema.Struct<{
|
|
4121
|
+
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
4122
|
+
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
4123
|
+
};
|
|
4124
|
+
readonly created: Schema.Finite;
|
|
4125
|
+
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
4126
|
+
readonly type: Schema.Literal<"project.updated">;
|
|
4127
|
+
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
4128
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
4129
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
4130
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
4131
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
4132
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
4133
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
4134
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
4135
|
+
}>, never, never>;
|
|
4136
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
4137
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
4138
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
4139
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
4140
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
4141
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
4142
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
4143
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
4144
|
+
}>, never, never>;
|
|
4145
|
+
}>>, never, never>;
|
|
4146
|
+
readonly data: Schema.Struct<{
|
|
4147
|
+
readonly id: Schema.brand<Schema.String, "Project.ID"> & {
|
|
4148
|
+
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
4149
|
+
};
|
|
4150
|
+
readonly canonical: Schema.brand<Schema.String, "AbsolutePath">;
|
|
4151
|
+
readonly vcs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["git", "hg"]>>>, Schema.optionalKey<Schema.Literals<readonly ["git", "hg"]>>, never, never>;
|
|
4152
|
+
readonly name: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
4153
|
+
readonly icon: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
4154
|
+
readonly url: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
4155
|
+
readonly override: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
4156
|
+
readonly color: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
4157
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
4158
|
+
readonly url: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
4159
|
+
readonly override: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
4160
|
+
readonly color: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
4161
|
+
}>>, never, never>;
|
|
4162
|
+
readonly commands: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
4163
|
+
readonly start: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
4164
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
4165
|
+
readonly start: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
4166
|
+
}>>, never, never>;
|
|
4167
|
+
readonly time: Schema.Struct<{
|
|
4168
|
+
readonly created: Schema.Int;
|
|
4169
|
+
readonly updated: Schema.Int;
|
|
4170
|
+
readonly initialized: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
4171
|
+
}>;
|
|
4172
|
+
readonly sandboxes: Schema.$Array<Schema.String>;
|
|
4173
|
+
}>;
|
|
4174
|
+
}> & {
|
|
4175
|
+
type: "project.updated";
|
|
4176
|
+
durability: "ephemeral";
|
|
4177
|
+
durable: undefined;
|
|
4178
|
+
data: Schema.Struct<{
|
|
4179
|
+
readonly id: Schema.brand<Schema.String, "Project.ID"> & {
|
|
4180
|
+
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
4181
|
+
};
|
|
4182
|
+
readonly canonical: Schema.brand<Schema.String, "AbsolutePath">;
|
|
4183
|
+
readonly vcs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["git", "hg"]>>>, Schema.optionalKey<Schema.Literals<readonly ["git", "hg"]>>, never, never>;
|
|
4184
|
+
readonly name: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
4185
|
+
readonly icon: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
4186
|
+
readonly url: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
4187
|
+
readonly override: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
4188
|
+
readonly color: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
4189
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
4190
|
+
readonly url: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
4191
|
+
readonly override: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
4192
|
+
readonly color: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
4193
|
+
}>>, never, never>;
|
|
4194
|
+
readonly commands: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
4195
|
+
readonly start: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
4196
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
4197
|
+
readonly start: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
4198
|
+
}>>, never, never>;
|
|
4199
|
+
readonly time: Schema.Struct<{
|
|
4200
|
+
readonly created: Schema.Int;
|
|
4201
|
+
readonly updated: Schema.Int;
|
|
4202
|
+
readonly initialized: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
4203
|
+
}>;
|
|
4204
|
+
readonly sandboxes: Schema.$Array<Schema.String>;
|
|
4205
|
+
}>;
|
|
4078
4206
|
}, Schema.Struct<{
|
|
4079
4207
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
4080
4208
|
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -4154,6 +4282,11 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
4154
4282
|
readonly previous: Schema.brand<Schema.String, "Project.ID"> & {
|
|
4155
4283
|
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
4156
4284
|
};
|
|
4285
|
+
readonly adopted: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.brand<Schema.String, "Project.ID"> & {
|
|
4286
|
+
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
4287
|
+
}>>>, Schema.optionalKey<Schema.$Array<Schema.brand<Schema.String, "Project.ID"> & {
|
|
4288
|
+
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
4289
|
+
}>>, never, never>;
|
|
4157
4290
|
}>;
|
|
4158
4291
|
}> & {
|
|
4159
4292
|
type: "worktree.resolved";
|
|
@@ -4170,6 +4303,11 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
4170
4303
|
readonly previous: Schema.brand<Schema.String, "Project.ID"> & {
|
|
4171
4304
|
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
4172
4305
|
};
|
|
4306
|
+
readonly adopted: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.brand<Schema.String, "Project.ID"> & {
|
|
4307
|
+
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
4308
|
+
}>>>, Schema.optionalKey<Schema.$Array<Schema.brand<Schema.String, "Project.ID"> & {
|
|
4309
|
+
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
4310
|
+
}>>, never, never>;
|
|
4173
4311
|
}>;
|
|
4174
4312
|
}, Schema.Struct<{
|
|
4175
4313
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
@@ -5679,7 +5817,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
5679
5817
|
};
|
|
5680
5818
|
readonly created: Schema.Finite;
|
|
5681
5819
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
5682
|
-
readonly type: Schema.Literal<"
|
|
5820
|
+
readonly type: Schema.Literal<"credential.updated">;
|
|
5683
5821
|
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
5684
5822
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
5685
5823
|
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
@@ -5701,7 +5839,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
5701
5839
|
}>>, never, never>;
|
|
5702
5840
|
readonly data: Schema.Struct<{}>;
|
|
5703
5841
|
}> & {
|
|
5704
|
-
type: "
|
|
5842
|
+
type: "credential.updated";
|
|
5705
5843
|
durability: "ephemeral";
|
|
5706
5844
|
durable: undefined;
|
|
5707
5845
|
data: Schema.Struct<{}>;
|
|
@@ -5711,7 +5849,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
5711
5849
|
};
|
|
5712
5850
|
readonly created: Schema.Finite;
|
|
5713
5851
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
5714
|
-
readonly type: Schema.Literal<"
|
|
5852
|
+
readonly type: Schema.Literal<"credential.switched">;
|
|
5715
5853
|
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
5716
5854
|
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
5717
5855
|
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
@@ -5733,14 +5871,52 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
5733
5871
|
}>>, never, never>;
|
|
5734
5872
|
readonly data: Schema.Struct<{
|
|
5735
5873
|
readonly integrationID: Schema.brand<Schema.String, "Integration.ID">;
|
|
5874
|
+
readonly credentialID: Schema.NullOr<Schema.brand<Schema.String, "Credential.ID"> & {
|
|
5875
|
+
create: () => string & import("effect/Brand").Brand<"Credential.ID">;
|
|
5876
|
+
}>;
|
|
5736
5877
|
}>;
|
|
5737
5878
|
}> & {
|
|
5738
|
-
type: "
|
|
5879
|
+
type: "credential.switched";
|
|
5739
5880
|
durability: "ephemeral";
|
|
5740
5881
|
durable: undefined;
|
|
5741
5882
|
data: Schema.Struct<{
|
|
5742
5883
|
readonly integrationID: Schema.brand<Schema.String, "Integration.ID">;
|
|
5884
|
+
readonly credentialID: Schema.NullOr<Schema.brand<Schema.String, "Credential.ID"> & {
|
|
5885
|
+
create: () => string & import("effect/Brand").Brand<"Credential.ID">;
|
|
5886
|
+
}>;
|
|
5743
5887
|
}>;
|
|
5888
|
+
}, Schema.Struct<{
|
|
5889
|
+
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
5890
|
+
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
5891
|
+
};
|
|
5892
|
+
readonly created: Schema.Finite;
|
|
5893
|
+
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
5894
|
+
readonly type: Schema.Literal<"integration.updated">;
|
|
5895
|
+
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
5896
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
5897
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
5898
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
5899
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
5900
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
5901
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
5902
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
5903
|
+
}>, never, never>;
|
|
5904
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
5905
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
5906
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
5907
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
5908
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
5909
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
5910
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
5911
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
5912
|
+
}>, never, never>;
|
|
5913
|
+
}>>, never, never>;
|
|
5914
|
+
readonly data: Schema.Struct<{}>;
|
|
5915
|
+
}> & {
|
|
5916
|
+
type: "integration.updated";
|
|
5917
|
+
durability: "ephemeral";
|
|
5918
|
+
durable: undefined;
|
|
5919
|
+
data: Schema.Struct<{}>;
|
|
5744
5920
|
}, Schema.Struct<{
|
|
5745
5921
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
5746
5922
|
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -6835,6 +7011,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
6835
7011
|
readonly skills: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
6836
7012
|
readonly id: Schema.brand<Schema.String, "Skill.ID">;
|
|
6837
7013
|
readonly name: Schema.brand<Schema.String, "Skill.Name">;
|
|
7014
|
+
readonly text: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
6838
7015
|
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
6839
7016
|
readonly start: Schema.Finite;
|
|
6840
7017
|
readonly end: Schema.Finite;
|
|
@@ -6847,6 +7024,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
6847
7024
|
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
6848
7025
|
readonly id: Schema.brand<Schema.String, "Skill.ID">;
|
|
6849
7026
|
readonly name: Schema.brand<Schema.String, "Skill.Name">;
|
|
7027
|
+
readonly text: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
6850
7028
|
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
6851
7029
|
readonly start: Schema.Finite;
|
|
6852
7030
|
readonly end: Schema.Finite;
|
|
@@ -7016,6 +7194,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
7016
7194
|
readonly skills: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
7017
7195
|
readonly id: Schema.brand<Schema.String, "Skill.ID">;
|
|
7018
7196
|
readonly name: Schema.brand<Schema.String, "Skill.Name">;
|
|
7197
|
+
readonly text: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
7019
7198
|
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
7020
7199
|
readonly start: Schema.Finite;
|
|
7021
7200
|
readonly end: Schema.Finite;
|
|
@@ -7028,6 +7207,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
7028
7207
|
}>>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
7029
7208
|
readonly id: Schema.brand<Schema.String, "Skill.ID">;
|
|
7030
7209
|
readonly name: Schema.brand<Schema.String, "Skill.Name">;
|
|
7210
|
+
readonly text: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
7031
7211
|
readonly mention: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
7032
7212
|
readonly start: Schema.Finite;
|
|
7033
7213
|
readonly end: Schema.Finite;
|
|
@@ -9785,6 +9965,92 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
9785
9965
|
durability: "ephemeral";
|
|
9786
9966
|
durable: undefined;
|
|
9787
9967
|
data: Schema.Struct<{}>;
|
|
9968
|
+
}, Schema.Struct<{
|
|
9969
|
+
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
9970
|
+
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
9971
|
+
};
|
|
9972
|
+
readonly created: Schema.Finite;
|
|
9973
|
+
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
9974
|
+
readonly type: Schema.Literal<"project.updated">;
|
|
9975
|
+
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
9976
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
9977
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
9978
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
9979
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
9980
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
9981
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
9982
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
9983
|
+
}>, never, never>;
|
|
9984
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
9985
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
9986
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
9987
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
9988
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
9989
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
9990
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
9991
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
9992
|
+
}>, never, never>;
|
|
9993
|
+
}>>, never, never>;
|
|
9994
|
+
readonly data: Schema.Struct<{
|
|
9995
|
+
readonly id: Schema.brand<Schema.String, "Project.ID"> & {
|
|
9996
|
+
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
9997
|
+
};
|
|
9998
|
+
readonly canonical: Schema.brand<Schema.String, "AbsolutePath">;
|
|
9999
|
+
readonly vcs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["git", "hg"]>>>, Schema.optionalKey<Schema.Literals<readonly ["git", "hg"]>>, never, never>;
|
|
10000
|
+
readonly name: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
10001
|
+
readonly icon: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
10002
|
+
readonly url: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
10003
|
+
readonly override: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
10004
|
+
readonly color: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
10005
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
10006
|
+
readonly url: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
10007
|
+
readonly override: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
10008
|
+
readonly color: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
10009
|
+
}>>, never, never>;
|
|
10010
|
+
readonly commands: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
10011
|
+
readonly start: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
10012
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
10013
|
+
readonly start: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
10014
|
+
}>>, never, never>;
|
|
10015
|
+
readonly time: Schema.Struct<{
|
|
10016
|
+
readonly created: Schema.Int;
|
|
10017
|
+
readonly updated: Schema.Int;
|
|
10018
|
+
readonly initialized: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
10019
|
+
}>;
|
|
10020
|
+
readonly sandboxes: Schema.$Array<Schema.String>;
|
|
10021
|
+
}>;
|
|
10022
|
+
}> & {
|
|
10023
|
+
type: "project.updated";
|
|
10024
|
+
durability: "ephemeral";
|
|
10025
|
+
durable: undefined;
|
|
10026
|
+
data: Schema.Struct<{
|
|
10027
|
+
readonly id: Schema.brand<Schema.String, "Project.ID"> & {
|
|
10028
|
+
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
10029
|
+
};
|
|
10030
|
+
readonly canonical: Schema.brand<Schema.String, "AbsolutePath">;
|
|
10031
|
+
readonly vcs: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Literals<readonly ["git", "hg"]>>>, Schema.optionalKey<Schema.Literals<readonly ["git", "hg"]>>, never, never>;
|
|
10032
|
+
readonly name: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
10033
|
+
readonly icon: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
10034
|
+
readonly url: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
10035
|
+
readonly override: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
10036
|
+
readonly color: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
10037
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
10038
|
+
readonly url: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
10039
|
+
readonly override: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
10040
|
+
readonly color: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
10041
|
+
}>>, never, never>;
|
|
10042
|
+
readonly commands: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
10043
|
+
readonly start: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
10044
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
10045
|
+
readonly start: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
10046
|
+
}>>, never, never>;
|
|
10047
|
+
readonly time: Schema.Struct<{
|
|
10048
|
+
readonly created: Schema.Int;
|
|
10049
|
+
readonly updated: Schema.Int;
|
|
10050
|
+
readonly initialized: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
10051
|
+
}>;
|
|
10052
|
+
readonly sandboxes: Schema.$Array<Schema.String>;
|
|
10053
|
+
}>;
|
|
9788
10054
|
}, Schema.Struct<{
|
|
9789
10055
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
9790
10056
|
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -9864,6 +10130,11 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
9864
10130
|
readonly previous: Schema.brand<Schema.String, "Project.ID"> & {
|
|
9865
10131
|
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
9866
10132
|
};
|
|
10133
|
+
readonly adopted: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.brand<Schema.String, "Project.ID"> & {
|
|
10134
|
+
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
10135
|
+
}>>>, Schema.optionalKey<Schema.$Array<Schema.brand<Schema.String, "Project.ID"> & {
|
|
10136
|
+
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
10137
|
+
}>>, never, never>;
|
|
9867
10138
|
}>;
|
|
9868
10139
|
}> & {
|
|
9869
10140
|
type: "worktree.resolved";
|
|
@@ -9880,6 +10151,11 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
9880
10151
|
readonly previous: Schema.brand<Schema.String, "Project.ID"> & {
|
|
9881
10152
|
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
9882
10153
|
};
|
|
10154
|
+
readonly adopted: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.brand<Schema.String, "Project.ID"> & {
|
|
10155
|
+
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
10156
|
+
}>>>, Schema.optionalKey<Schema.$Array<Schema.brand<Schema.String, "Project.ID"> & {
|
|
10157
|
+
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
10158
|
+
}>>, never, never>;
|
|
9883
10159
|
}>;
|
|
9884
10160
|
}, Schema.Struct<{
|
|
9885
10161
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
@@ -11259,92 +11535,6 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
11259
11535
|
data: Schema.Struct<{
|
|
11260
11536
|
readonly file: Schema.String;
|
|
11261
11537
|
}>;
|
|
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
11538
|
}, Schema.Struct<{
|
|
11349
11539
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
11350
11540
|
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
package/dist/event-manifest.js
CHANGED
|
@@ -4,6 +4,7 @@ import { Agent } from "./agent.js";
|
|
|
4
4
|
import { Catalog } from "./catalog.js";
|
|
5
5
|
import { Command } from "./command.js";
|
|
6
6
|
import { Config } from "./config.js";
|
|
7
|
+
import { Credential } from "./credential.js";
|
|
7
8
|
import { Durable } from "./durable-event-manifest.js";
|
|
8
9
|
import { Event } from "./event.js";
|
|
9
10
|
import { FileSystem } from "./filesystem.js";
|
|
@@ -34,13 +35,13 @@ import { WorkspaceEvent } from "./workspace-event.js";
|
|
|
34
35
|
import { WorktreeEvent } from "./worktree-event.js";
|
|
35
36
|
import { WebSearch } from "./websearch.js";
|
|
36
37
|
const coreDefinitions = Event.inventory(...SessionEvent.Definitions);
|
|
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 foundationDefinitions = Event.inventory(...ModelsDev.Event.Definitions, ...Credential.Event.Definitions, ...Integration.Event.Definitions, ...Catalog.Event.Definitions, ...Agent.Event.Definitions, ...coreDefinitions);
|
|
39
|
+
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
40
|
export const ServerDefinitions = Event.inventory(...foundationDefinitions, ...featureDefinitions,
|
|
40
41
|
// Current events the TUI consumes from the public stream.
|
|
41
42
|
...SessionStatusEvent.Definitions, ...TuiEvent.Definitions, ...InstallationEvent.Definitions, ...VcsEvent.Definitions, McpEvent.StatusChanged, McpEvent.ResourcesChanged);
|
|
42
43
|
export const Server = Event.latest(ServerDefinitions);
|
|
43
44
|
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, ...
|
|
45
|
+
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
46
|
export const Latest = Event.latest(Definitions);
|
|
46
47
|
export { Durable };
|