@opencode-ai/schema 0.0.0-next-16884 → 0.0.0-next-16892
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/durable-event-manifest.d.ts +190 -0
- package/dist/durable-event-manifest.js +1 -2
- package/dist/event-manifest.d.ts +2439 -7086
- package/dist/event-manifest.js +3 -8
- package/dist/session-event.d.ts +1039 -87
- package/dist/session-event.js +17 -1
- package/package.json +1 -1
package/dist/session-event.d.ts
CHANGED
|
@@ -10,6 +10,198 @@ export declare const Source: Schema.Struct<{
|
|
|
10
10
|
}>;
|
|
11
11
|
export interface Source extends Schema.Schema.Type<typeof Source> {
|
|
12
12
|
}
|
|
13
|
+
export declare const Created: Schema.Struct<{
|
|
14
|
+
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
15
|
+
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
16
|
+
};
|
|
17
|
+
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
18
|
+
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
19
|
+
readonly type: Schema.Literal<"session.created">;
|
|
20
|
+
readonly durable: Schema.Struct<{
|
|
21
|
+
readonly aggregateID: Schema.String;
|
|
22
|
+
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
23
|
+
readonly version: Schema.decodeTo<Schema.toType<Schema.brand<Schema.Int, "Event.Version">>, Schema.Literal<number>, never, never>;
|
|
24
|
+
}>;
|
|
25
|
+
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
26
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
27
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
28
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
29
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
30
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
31
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
32
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
33
|
+
}>, never, never>;
|
|
34
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
35
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
36
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
37
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
38
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
39
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
40
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
41
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
42
|
+
}>, never, never>;
|
|
43
|
+
}>>, never, never>;
|
|
44
|
+
readonly data: Schema.Struct<{
|
|
45
|
+
readonly projectID: Schema.brand<Schema.String, "Project.ID"> & {
|
|
46
|
+
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
47
|
+
};
|
|
48
|
+
readonly location: Schema.Struct<{
|
|
49
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
50
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
51
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
52
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
53
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
54
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
55
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
56
|
+
}>, never, never>;
|
|
57
|
+
}>;
|
|
58
|
+
readonly subpath: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "RelativePath">>>, Schema.optionalKey<Schema.brand<Schema.String, "RelativePath">>, never, never>;
|
|
59
|
+
readonly parentID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "SessionID"> & {
|
|
60
|
+
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
61
|
+
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
62
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "SessionID"> & {
|
|
63
|
+
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
64
|
+
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
65
|
+
}>, never, never>;
|
|
66
|
+
readonly slug: Schema.String;
|
|
67
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
68
|
+
readonly agent: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Agent.ID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Agent.ID">>, never, never>;
|
|
69
|
+
readonly model: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
70
|
+
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
71
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
72
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
73
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
74
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
75
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
76
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
77
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
78
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
79
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
80
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
81
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
82
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
83
|
+
};
|
|
84
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
85
|
+
}> & {
|
|
86
|
+
parse: (input: string) => {
|
|
87
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
88
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
89
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
90
|
+
};
|
|
91
|
+
}>>, Schema.optionalKey<Schema.Struct<{
|
|
92
|
+
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
93
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
94
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
95
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
96
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
97
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
98
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
99
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
100
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
101
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
102
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
103
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
104
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
105
|
+
};
|
|
106
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
107
|
+
}> & {
|
|
108
|
+
parse: (input: string) => {
|
|
109
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
110
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
111
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
112
|
+
};
|
|
113
|
+
}>, never, never>;
|
|
114
|
+
readonly version: Schema.String;
|
|
115
|
+
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
116
|
+
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
117
|
+
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
118
|
+
};
|
|
119
|
+
}>;
|
|
120
|
+
}> & {
|
|
121
|
+
type: "session.created";
|
|
122
|
+
durability: "durable";
|
|
123
|
+
durable: {
|
|
124
|
+
readonly version: number;
|
|
125
|
+
readonly aggregate: string;
|
|
126
|
+
};
|
|
127
|
+
data: Schema.Struct<{
|
|
128
|
+
readonly projectID: Schema.brand<Schema.String, "Project.ID"> & {
|
|
129
|
+
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
130
|
+
};
|
|
131
|
+
readonly location: Schema.Struct<{
|
|
132
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
133
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<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
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
137
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
138
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
139
|
+
}>, never, never>;
|
|
140
|
+
}>;
|
|
141
|
+
readonly subpath: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "RelativePath">>>, Schema.optionalKey<Schema.brand<Schema.String, "RelativePath">>, never, never>;
|
|
142
|
+
readonly parentID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "SessionID"> & {
|
|
143
|
+
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
144
|
+
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
145
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "SessionID"> & {
|
|
146
|
+
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
147
|
+
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
148
|
+
}>, never, never>;
|
|
149
|
+
readonly slug: Schema.String;
|
|
150
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
151
|
+
readonly agent: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Agent.ID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Agent.ID">>, never, never>;
|
|
152
|
+
readonly model: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
153
|
+
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
154
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
155
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
156
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
157
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
158
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
159
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
160
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
161
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
162
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
163
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
164
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
165
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
166
|
+
};
|
|
167
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
168
|
+
}> & {
|
|
169
|
+
parse: (input: string) => {
|
|
170
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
171
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
172
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
173
|
+
};
|
|
174
|
+
}>>, Schema.optionalKey<Schema.Struct<{
|
|
175
|
+
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
176
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
177
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
178
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
179
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
180
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
181
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
182
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
183
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
184
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
185
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
186
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
187
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
188
|
+
};
|
|
189
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
190
|
+
}> & {
|
|
191
|
+
parse: (input: string) => {
|
|
192
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
193
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
194
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
195
|
+
};
|
|
196
|
+
}>, never, never>;
|
|
197
|
+
readonly version: Schema.String;
|
|
198
|
+
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
199
|
+
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
200
|
+
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
201
|
+
};
|
|
202
|
+
}>;
|
|
203
|
+
};
|
|
204
|
+
export type Created = typeof Created.Type;
|
|
13
205
|
export declare const AgentSelected: Schema.Struct<{
|
|
14
206
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
15
207
|
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
@@ -3342,7 +3534,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
3342
3534
|
};
|
|
3343
3535
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
3344
3536
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
3345
|
-
readonly type: Schema.Literal<"session.
|
|
3537
|
+
readonly type: Schema.Literal<"session.created">;
|
|
3346
3538
|
readonly durable: Schema.Struct<{
|
|
3347
3539
|
readonly aggregateID: Schema.String;
|
|
3348
3540
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -3368,59 +3560,31 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
3368
3560
|
}>, never, never>;
|
|
3369
3561
|
}>>, never, never>;
|
|
3370
3562
|
readonly data: Schema.Struct<{
|
|
3371
|
-
readonly
|
|
3372
|
-
|
|
3563
|
+
readonly projectID: Schema.brand<Schema.String, "Project.ID"> & {
|
|
3564
|
+
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
3565
|
+
};
|
|
3566
|
+
readonly location: Schema.Struct<{
|
|
3567
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
3568
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
3569
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
3570
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
3571
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
3572
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
3573
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
3574
|
+
}>, never, never>;
|
|
3575
|
+
}>;
|
|
3576
|
+
readonly subpath: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "RelativePath">>>, Schema.optionalKey<Schema.brand<Schema.String, "RelativePath">>, never, never>;
|
|
3577
|
+
readonly parentID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "SessionID"> & {
|
|
3373
3578
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
3374
3579
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
3375
|
-
}
|
|
3376
|
-
}>;
|
|
3377
|
-
}> & {
|
|
3378
|
-
type: "session.agent.selected";
|
|
3379
|
-
durability: "durable";
|
|
3380
|
-
durable: {
|
|
3381
|
-
readonly version: number;
|
|
3382
|
-
readonly aggregate: string;
|
|
3383
|
-
};
|
|
3384
|
-
data: Schema.Struct<{
|
|
3385
|
-
readonly agent: Schema.brand<Schema.String, "Agent.ID">;
|
|
3386
|
-
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
3580
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "SessionID"> & {
|
|
3387
3581
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
3388
3582
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
3389
|
-
};
|
|
3390
|
-
}>;
|
|
3391
|
-
}, Schema.Struct<{
|
|
3392
|
-
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
3393
|
-
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
3394
|
-
};
|
|
3395
|
-
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
3396
|
-
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
3397
|
-
readonly type: Schema.Literal<"session.model.selected">;
|
|
3398
|
-
readonly durable: Schema.Struct<{
|
|
3399
|
-
readonly aggregateID: Schema.String;
|
|
3400
|
-
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
3401
|
-
readonly version: Schema.decodeTo<Schema.toType<Schema.brand<Schema.Int, "Event.Version">>, Schema.Literal<number>, never, never>;
|
|
3402
|
-
}>;
|
|
3403
|
-
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
3404
|
-
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
3405
|
-
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
3406
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
3407
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
3408
|
-
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
3409
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
3410
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
3411
|
-
}>, never, never>;
|
|
3412
|
-
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
3413
|
-
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
3414
|
-
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
3415
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
3416
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
3417
|
-
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
3418
|
-
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
3419
|
-
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
3420
3583
|
}>, never, never>;
|
|
3421
|
-
|
|
3422
|
-
|
|
3423
|
-
readonly
|
|
3584
|
+
readonly slug: Schema.String;
|
|
3585
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
3586
|
+
readonly agent: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Agent.ID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Agent.ID">>, never, never>;
|
|
3587
|
+
readonly model: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
3424
3588
|
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
3425
3589
|
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
3426
3590
|
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -3442,21 +3606,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
3442
3606
|
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3443
3607
|
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
3444
3608
|
};
|
|
3445
|
-
}
|
|
3446
|
-
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
3447
|
-
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
3448
|
-
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
3449
|
-
};
|
|
3450
|
-
}>;
|
|
3451
|
-
}> & {
|
|
3452
|
-
type: "session.model.selected";
|
|
3453
|
-
durability: "durable";
|
|
3454
|
-
durable: {
|
|
3455
|
-
readonly version: number;
|
|
3456
|
-
readonly aggregate: string;
|
|
3457
|
-
};
|
|
3458
|
-
data: Schema.Struct<{
|
|
3459
|
-
readonly model: Schema.Struct<{
|
|
3609
|
+
}>>, Schema.optionalKey<Schema.Struct<{
|
|
3460
3610
|
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
3461
3611
|
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
3462
3612
|
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -3478,19 +3628,251 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
3478
3628
|
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3479
3629
|
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
3480
3630
|
};
|
|
3481
|
-
}
|
|
3631
|
+
}>, never, never>;
|
|
3632
|
+
readonly version: Schema.String;
|
|
3482
3633
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
3483
3634
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
3484
3635
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
3485
3636
|
};
|
|
3486
3637
|
}>;
|
|
3487
|
-
}
|
|
3488
|
-
|
|
3489
|
-
|
|
3490
|
-
|
|
3491
|
-
|
|
3492
|
-
|
|
3493
|
-
|
|
3638
|
+
}> & {
|
|
3639
|
+
type: "session.created";
|
|
3640
|
+
durability: "durable";
|
|
3641
|
+
durable: {
|
|
3642
|
+
readonly version: number;
|
|
3643
|
+
readonly aggregate: string;
|
|
3644
|
+
};
|
|
3645
|
+
data: Schema.Struct<{
|
|
3646
|
+
readonly projectID: Schema.brand<Schema.String, "Project.ID"> & {
|
|
3647
|
+
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
3648
|
+
};
|
|
3649
|
+
readonly location: Schema.Struct<{
|
|
3650
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
3651
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
3652
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
3653
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
3654
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
3655
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
3656
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
3657
|
+
}>, never, never>;
|
|
3658
|
+
}>;
|
|
3659
|
+
readonly subpath: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "RelativePath">>>, Schema.optionalKey<Schema.brand<Schema.String, "RelativePath">>, never, never>;
|
|
3660
|
+
readonly parentID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "SessionID"> & {
|
|
3661
|
+
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
3662
|
+
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
3663
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "SessionID"> & {
|
|
3664
|
+
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
3665
|
+
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
3666
|
+
}>, never, never>;
|
|
3667
|
+
readonly slug: Schema.String;
|
|
3668
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
3669
|
+
readonly agent: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Agent.ID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Agent.ID">>, never, never>;
|
|
3670
|
+
readonly model: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
3671
|
+
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
3672
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
3673
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3674
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3675
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3676
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3677
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3678
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3679
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3680
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3681
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3682
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3683
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3684
|
+
};
|
|
3685
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
3686
|
+
}> & {
|
|
3687
|
+
parse: (input: string) => {
|
|
3688
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
3689
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3690
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
3691
|
+
};
|
|
3692
|
+
}>>, Schema.optionalKey<Schema.Struct<{
|
|
3693
|
+
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
3694
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
3695
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3696
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3697
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3698
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3699
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3700
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3701
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3702
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3703
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3704
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3705
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3706
|
+
};
|
|
3707
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
3708
|
+
}> & {
|
|
3709
|
+
parse: (input: string) => {
|
|
3710
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
3711
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3712
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
3713
|
+
};
|
|
3714
|
+
}>, never, never>;
|
|
3715
|
+
readonly version: Schema.String;
|
|
3716
|
+
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
3717
|
+
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
3718
|
+
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
3719
|
+
};
|
|
3720
|
+
}>;
|
|
3721
|
+
}, Schema.Struct<{
|
|
3722
|
+
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
3723
|
+
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
3724
|
+
};
|
|
3725
|
+
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
3726
|
+
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
3727
|
+
readonly type: Schema.Literal<"session.agent.selected">;
|
|
3728
|
+
readonly durable: Schema.Struct<{
|
|
3729
|
+
readonly aggregateID: Schema.String;
|
|
3730
|
+
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
3731
|
+
readonly version: Schema.decodeTo<Schema.toType<Schema.brand<Schema.Int, "Event.Version">>, Schema.Literal<number>, never, never>;
|
|
3732
|
+
}>;
|
|
3733
|
+
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
3734
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
3735
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
3736
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
3737
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
3738
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
3739
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
3740
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
3741
|
+
}>, never, never>;
|
|
3742
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
3743
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
3744
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
3745
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
3746
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
3747
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
3748
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
3749
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
3750
|
+
}>, never, never>;
|
|
3751
|
+
}>>, never, never>;
|
|
3752
|
+
readonly data: Schema.Struct<{
|
|
3753
|
+
readonly agent: Schema.brand<Schema.String, "Agent.ID">;
|
|
3754
|
+
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
3755
|
+
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
3756
|
+
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
3757
|
+
};
|
|
3758
|
+
}>;
|
|
3759
|
+
}> & {
|
|
3760
|
+
type: "session.agent.selected";
|
|
3761
|
+
durability: "durable";
|
|
3762
|
+
durable: {
|
|
3763
|
+
readonly version: number;
|
|
3764
|
+
readonly aggregate: string;
|
|
3765
|
+
};
|
|
3766
|
+
data: Schema.Struct<{
|
|
3767
|
+
readonly agent: Schema.brand<Schema.String, "Agent.ID">;
|
|
3768
|
+
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
3769
|
+
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
3770
|
+
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
3771
|
+
};
|
|
3772
|
+
}>;
|
|
3773
|
+
}, Schema.Struct<{
|
|
3774
|
+
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
3775
|
+
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
3776
|
+
};
|
|
3777
|
+
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
3778
|
+
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
3779
|
+
readonly type: Schema.Literal<"session.model.selected">;
|
|
3780
|
+
readonly durable: Schema.Struct<{
|
|
3781
|
+
readonly aggregateID: Schema.String;
|
|
3782
|
+
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
3783
|
+
readonly version: Schema.decodeTo<Schema.toType<Schema.brand<Schema.Int, "Event.Version">>, Schema.Literal<number>, never, never>;
|
|
3784
|
+
}>;
|
|
3785
|
+
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
3786
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
3787
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
3788
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
3789
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
3790
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
3791
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
3792
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
3793
|
+
}>, never, never>;
|
|
3794
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
3795
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
3796
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
3797
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
3798
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
3799
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
3800
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
3801
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
3802
|
+
}>, never, never>;
|
|
3803
|
+
}>>, never, never>;
|
|
3804
|
+
readonly data: Schema.Struct<{
|
|
3805
|
+
readonly model: Schema.Struct<{
|
|
3806
|
+
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
3807
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
3808
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3809
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3810
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3811
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3812
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3813
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3814
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3815
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3816
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3817
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3818
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3819
|
+
};
|
|
3820
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
3821
|
+
}> & {
|
|
3822
|
+
parse: (input: string) => {
|
|
3823
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
3824
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3825
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
3826
|
+
};
|
|
3827
|
+
};
|
|
3828
|
+
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
3829
|
+
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
3830
|
+
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
3831
|
+
};
|
|
3832
|
+
}>;
|
|
3833
|
+
}> & {
|
|
3834
|
+
type: "session.model.selected";
|
|
3835
|
+
durability: "durable";
|
|
3836
|
+
durable: {
|
|
3837
|
+
readonly version: number;
|
|
3838
|
+
readonly aggregate: string;
|
|
3839
|
+
};
|
|
3840
|
+
data: Schema.Struct<{
|
|
3841
|
+
readonly model: Schema.Struct<{
|
|
3842
|
+
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
3843
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
3844
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3845
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3846
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3847
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3848
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3849
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3850
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3851
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3852
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3853
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3854
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3855
|
+
};
|
|
3856
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
3857
|
+
}> & {
|
|
3858
|
+
parse: (input: string) => {
|
|
3859
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
3860
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3861
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
3862
|
+
};
|
|
3863
|
+
};
|
|
3864
|
+
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
3865
|
+
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
3866
|
+
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
3867
|
+
};
|
|
3868
|
+
}>;
|
|
3869
|
+
}, Schema.Struct<{
|
|
3870
|
+
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
3871
|
+
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
3872
|
+
};
|
|
3873
|
+
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
3874
|
+
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
3875
|
+
readonly type: Schema.Literal<"session.moved">;
|
|
3494
3876
|
readonly durable: Schema.Struct<{
|
|
3495
3877
|
readonly aggregateID: Schema.String;
|
|
3496
3878
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -6481,7 +6863,7 @@ export declare const DurableDefinitions: readonly [...((Schema.Struct<{
|
|
|
6481
6863
|
};
|
|
6482
6864
|
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
6483
6865
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
6484
|
-
readonly type: Schema.Literal<"session.
|
|
6866
|
+
readonly type: Schema.Literal<"session.created">;
|
|
6485
6867
|
readonly durable: Schema.Struct<{
|
|
6486
6868
|
readonly aggregateID: Schema.String;
|
|
6487
6869
|
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
@@ -6507,22 +6889,212 @@ export declare const DurableDefinitions: readonly [...((Schema.Struct<{
|
|
|
6507
6889
|
}>, never, never>;
|
|
6508
6890
|
}>>, never, never>;
|
|
6509
6891
|
readonly data: Schema.Struct<{
|
|
6510
|
-
readonly
|
|
6511
|
-
|
|
6892
|
+
readonly projectID: Schema.brand<Schema.String, "Project.ID"> & {
|
|
6893
|
+
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
6894
|
+
};
|
|
6895
|
+
readonly location: Schema.Struct<{
|
|
6896
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
6897
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
6898
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
6899
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
6900
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
6901
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
6902
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
6903
|
+
}>, never, never>;
|
|
6904
|
+
}>;
|
|
6905
|
+
readonly subpath: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "RelativePath">>>, Schema.optionalKey<Schema.brand<Schema.String, "RelativePath">>, never, never>;
|
|
6906
|
+
readonly parentID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "SessionID"> & {
|
|
6512
6907
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
6513
6908
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
6514
|
-
}
|
|
6515
|
-
|
|
6516
|
-
|
|
6517
|
-
|
|
6518
|
-
|
|
6519
|
-
|
|
6520
|
-
readonly
|
|
6521
|
-
readonly
|
|
6522
|
-
|
|
6523
|
-
|
|
6524
|
-
|
|
6525
|
-
|
|
6909
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "SessionID"> & {
|
|
6910
|
+
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
6911
|
+
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
6912
|
+
}>, never, never>;
|
|
6913
|
+
readonly slug: Schema.String;
|
|
6914
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
6915
|
+
readonly agent: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Agent.ID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Agent.ID">>, never, never>;
|
|
6916
|
+
readonly model: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
6917
|
+
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
6918
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
6919
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
6920
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
6921
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
6922
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
6923
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
6924
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
6925
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
6926
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
6927
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
6928
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
6929
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
6930
|
+
};
|
|
6931
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
6932
|
+
}> & {
|
|
6933
|
+
parse: (input: string) => {
|
|
6934
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
6935
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
6936
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
6937
|
+
};
|
|
6938
|
+
}>>, Schema.optionalKey<Schema.Struct<{
|
|
6939
|
+
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
6940
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
6941
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
6942
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
6943
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
6944
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
6945
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
6946
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
6947
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
6948
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
6949
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
6950
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
6951
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
6952
|
+
};
|
|
6953
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
6954
|
+
}> & {
|
|
6955
|
+
parse: (input: string) => {
|
|
6956
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
6957
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
6958
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
6959
|
+
};
|
|
6960
|
+
}>, never, never>;
|
|
6961
|
+
readonly version: Schema.String;
|
|
6962
|
+
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
6963
|
+
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
6964
|
+
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
6965
|
+
};
|
|
6966
|
+
}>;
|
|
6967
|
+
}> & {
|
|
6968
|
+
type: "session.created";
|
|
6969
|
+
durability: "durable";
|
|
6970
|
+
durable: {
|
|
6971
|
+
readonly version: number;
|
|
6972
|
+
readonly aggregate: string;
|
|
6973
|
+
};
|
|
6974
|
+
data: Schema.Struct<{
|
|
6975
|
+
readonly projectID: Schema.brand<Schema.String, "Project.ID"> & {
|
|
6976
|
+
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
6977
|
+
};
|
|
6978
|
+
readonly location: Schema.Struct<{
|
|
6979
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
6980
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
6981
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
6982
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
6983
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
6984
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
6985
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
6986
|
+
}>, never, never>;
|
|
6987
|
+
}>;
|
|
6988
|
+
readonly subpath: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "RelativePath">>>, Schema.optionalKey<Schema.brand<Schema.String, "RelativePath">>, never, never>;
|
|
6989
|
+
readonly parentID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "SessionID"> & {
|
|
6990
|
+
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
6991
|
+
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
6992
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "SessionID"> & {
|
|
6993
|
+
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
6994
|
+
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
6995
|
+
}>, never, never>;
|
|
6996
|
+
readonly slug: Schema.String;
|
|
6997
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
6998
|
+
readonly agent: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Agent.ID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Agent.ID">>, never, never>;
|
|
6999
|
+
readonly model: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
7000
|
+
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
7001
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
7002
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7003
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7004
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7005
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7006
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7007
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7008
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7009
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7010
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7011
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7012
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7013
|
+
};
|
|
7014
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
7015
|
+
}> & {
|
|
7016
|
+
parse: (input: string) => {
|
|
7017
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
7018
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7019
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
7020
|
+
};
|
|
7021
|
+
}>>, Schema.optionalKey<Schema.Struct<{
|
|
7022
|
+
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
7023
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
7024
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7025
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7026
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7027
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7028
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7029
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7030
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7031
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7032
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7033
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7034
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7035
|
+
};
|
|
7036
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
7037
|
+
}> & {
|
|
7038
|
+
parse: (input: string) => {
|
|
7039
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
7040
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7041
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
7042
|
+
};
|
|
7043
|
+
}>, never, never>;
|
|
7044
|
+
readonly version: Schema.String;
|
|
7045
|
+
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
7046
|
+
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
7047
|
+
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
7048
|
+
};
|
|
7049
|
+
}>;
|
|
7050
|
+
}) | (Schema.Struct<{
|
|
7051
|
+
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
7052
|
+
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
7053
|
+
};
|
|
7054
|
+
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
7055
|
+
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
7056
|
+
readonly type: Schema.Literal<"session.agent.selected">;
|
|
7057
|
+
readonly durable: Schema.Struct<{
|
|
7058
|
+
readonly aggregateID: Schema.String;
|
|
7059
|
+
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
7060
|
+
readonly version: Schema.decodeTo<Schema.toType<Schema.brand<Schema.Int, "Event.Version">>, Schema.Literal<number>, never, never>;
|
|
7061
|
+
}>;
|
|
7062
|
+
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
7063
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
7064
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
7065
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
7066
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
7067
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
7068
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
7069
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
7070
|
+
}>, never, never>;
|
|
7071
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
7072
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
7073
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
7074
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
7075
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
7076
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
7077
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
7078
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
7079
|
+
}>, never, never>;
|
|
7080
|
+
}>>, never, never>;
|
|
7081
|
+
readonly data: Schema.Struct<{
|
|
7082
|
+
readonly agent: Schema.brand<Schema.String, "Agent.ID">;
|
|
7083
|
+
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
7084
|
+
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
7085
|
+
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
7086
|
+
};
|
|
7087
|
+
}>;
|
|
7088
|
+
}> & {
|
|
7089
|
+
type: "session.agent.selected";
|
|
7090
|
+
durability: "durable";
|
|
7091
|
+
durable: {
|
|
7092
|
+
readonly version: number;
|
|
7093
|
+
readonly aggregate: string;
|
|
7094
|
+
};
|
|
7095
|
+
data: Schema.Struct<{
|
|
7096
|
+
readonly agent: Schema.brand<Schema.String, "Agent.ID">;
|
|
7097
|
+
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
6526
7098
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
6527
7099
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
6528
7100
|
};
|
|
@@ -9365,6 +9937,196 @@ export declare const DurableDefinitions: readonly [...((Schema.Struct<{
|
|
|
9365
9937
|
}>;
|
|
9366
9938
|
}];
|
|
9367
9939
|
export declare const Durable: Schema.Union<readonly [...((Schema.Struct<{
|
|
9940
|
+
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
9941
|
+
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
9942
|
+
};
|
|
9943
|
+
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
9944
|
+
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
9945
|
+
readonly type: Schema.Literal<"session.created">;
|
|
9946
|
+
readonly durable: Schema.Struct<{
|
|
9947
|
+
readonly aggregateID: Schema.String;
|
|
9948
|
+
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
9949
|
+
readonly version: Schema.decodeTo<Schema.toType<Schema.brand<Schema.Int, "Event.Version">>, Schema.Literal<number>, never, never>;
|
|
9950
|
+
}>;
|
|
9951
|
+
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
9952
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
9953
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
9954
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
9955
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
9956
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
9957
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
9958
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
9959
|
+
}>, never, never>;
|
|
9960
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
9961
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
9962
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
9963
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
9964
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
9965
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
9966
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
9967
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
9968
|
+
}>, never, never>;
|
|
9969
|
+
}>>, never, never>;
|
|
9970
|
+
readonly data: Schema.Struct<{
|
|
9971
|
+
readonly projectID: Schema.brand<Schema.String, "Project.ID"> & {
|
|
9972
|
+
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
9973
|
+
};
|
|
9974
|
+
readonly location: Schema.Struct<{
|
|
9975
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
9976
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
9977
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
9978
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
9979
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
9980
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
9981
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
9982
|
+
}>, never, never>;
|
|
9983
|
+
}>;
|
|
9984
|
+
readonly subpath: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "RelativePath">>>, Schema.optionalKey<Schema.brand<Schema.String, "RelativePath">>, never, never>;
|
|
9985
|
+
readonly parentID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "SessionID"> & {
|
|
9986
|
+
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
9987
|
+
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
9988
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "SessionID"> & {
|
|
9989
|
+
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
9990
|
+
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
9991
|
+
}>, never, never>;
|
|
9992
|
+
readonly slug: Schema.String;
|
|
9993
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
9994
|
+
readonly agent: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Agent.ID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Agent.ID">>, never, never>;
|
|
9995
|
+
readonly model: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
9996
|
+
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
9997
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
9998
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
9999
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10000
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10001
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10002
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10003
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10004
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10005
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10006
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10007
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10008
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10009
|
+
};
|
|
10010
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
10011
|
+
}> & {
|
|
10012
|
+
parse: (input: string) => {
|
|
10013
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
10014
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10015
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
10016
|
+
};
|
|
10017
|
+
}>>, Schema.optionalKey<Schema.Struct<{
|
|
10018
|
+
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
10019
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
10020
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10021
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10022
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10023
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10024
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10025
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10026
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10027
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10028
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10029
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10030
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10031
|
+
};
|
|
10032
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
10033
|
+
}> & {
|
|
10034
|
+
parse: (input: string) => {
|
|
10035
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
10036
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10037
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
10038
|
+
};
|
|
10039
|
+
}>, never, never>;
|
|
10040
|
+
readonly version: Schema.String;
|
|
10041
|
+
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
10042
|
+
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
10043
|
+
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
10044
|
+
};
|
|
10045
|
+
}>;
|
|
10046
|
+
}> & {
|
|
10047
|
+
type: "session.created";
|
|
10048
|
+
durability: "durable";
|
|
10049
|
+
durable: {
|
|
10050
|
+
readonly version: number;
|
|
10051
|
+
readonly aggregate: string;
|
|
10052
|
+
};
|
|
10053
|
+
data: Schema.Struct<{
|
|
10054
|
+
readonly projectID: Schema.brand<Schema.String, "Project.ID"> & {
|
|
10055
|
+
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
10056
|
+
};
|
|
10057
|
+
readonly location: Schema.Struct<{
|
|
10058
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
10059
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
10060
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
10061
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
10062
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
10063
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
10064
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
10065
|
+
}>, never, never>;
|
|
10066
|
+
}>;
|
|
10067
|
+
readonly subpath: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "RelativePath">>>, Schema.optionalKey<Schema.brand<Schema.String, "RelativePath">>, never, never>;
|
|
10068
|
+
readonly parentID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "SessionID"> & {
|
|
10069
|
+
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
10070
|
+
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
10071
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "SessionID"> & {
|
|
10072
|
+
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
10073
|
+
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
10074
|
+
}>, never, never>;
|
|
10075
|
+
readonly slug: Schema.String;
|
|
10076
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
10077
|
+
readonly agent: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Agent.ID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Agent.ID">>, never, never>;
|
|
10078
|
+
readonly model: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
10079
|
+
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
10080
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
10081
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10082
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10083
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10084
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10085
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10086
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10087
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10088
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10089
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10090
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10091
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10092
|
+
};
|
|
10093
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
10094
|
+
}> & {
|
|
10095
|
+
parse: (input: string) => {
|
|
10096
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
10097
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10098
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
10099
|
+
};
|
|
10100
|
+
}>>, Schema.optionalKey<Schema.Struct<{
|
|
10101
|
+
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
10102
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
10103
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10104
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10105
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10106
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10107
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10108
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10109
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10110
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10111
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10112
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10113
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10114
|
+
};
|
|
10115
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
10116
|
+
}> & {
|
|
10117
|
+
parse: (input: string) => {
|
|
10118
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
10119
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
10120
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
10121
|
+
};
|
|
10122
|
+
}>, never, never>;
|
|
10123
|
+
readonly version: Schema.String;
|
|
10124
|
+
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
10125
|
+
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
10126
|
+
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
10127
|
+
};
|
|
10128
|
+
}>;
|
|
10129
|
+
}) | (Schema.Struct<{
|
|
9368
10130
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
9369
10131
|
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
9370
10132
|
};
|
|
@@ -12255,6 +13017,196 @@ export declare const Durable: Schema.Union<readonly [...((Schema.Struct<{
|
|
|
12255
13017
|
}]>;
|
|
12256
13018
|
export type DurableEvent = typeof Durable.Type;
|
|
12257
13019
|
export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Struct<{
|
|
13020
|
+
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
13021
|
+
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
13022
|
+
};
|
|
13023
|
+
readonly created: Schema.decodeTo<Schema.DateTimeUtc, Schema.Finite, never, never>;
|
|
13024
|
+
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Unknown>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Unknown>>, never, never>;
|
|
13025
|
+
readonly type: Schema.Literal<"session.created">;
|
|
13026
|
+
readonly durable: Schema.Struct<{
|
|
13027
|
+
readonly aggregateID: Schema.String;
|
|
13028
|
+
readonly seq: Schema.brand<Schema.Int, "Event.Seq">;
|
|
13029
|
+
readonly version: Schema.decodeTo<Schema.toType<Schema.brand<Schema.Int, "Event.Version">>, Schema.Literal<number>, never, never>;
|
|
13030
|
+
}>;
|
|
13031
|
+
readonly location: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
13032
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
13033
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
13034
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
13035
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
13036
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
13037
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
13038
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
13039
|
+
}>, never, never>;
|
|
13040
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
13041
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
13042
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
13043
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
13044
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
13045
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
13046
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
13047
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
13048
|
+
}>, never, never>;
|
|
13049
|
+
}>>, never, never>;
|
|
13050
|
+
readonly data: Schema.Struct<{
|
|
13051
|
+
readonly projectID: Schema.brand<Schema.String, "Project.ID"> & {
|
|
13052
|
+
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
13053
|
+
};
|
|
13054
|
+
readonly location: Schema.Struct<{
|
|
13055
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
13056
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
13057
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
13058
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
13059
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
13060
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
13061
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
13062
|
+
}>, never, never>;
|
|
13063
|
+
}>;
|
|
13064
|
+
readonly subpath: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "RelativePath">>>, Schema.optionalKey<Schema.brand<Schema.String, "RelativePath">>, never, never>;
|
|
13065
|
+
readonly parentID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "SessionID"> & {
|
|
13066
|
+
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
13067
|
+
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
13068
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "SessionID"> & {
|
|
13069
|
+
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
13070
|
+
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
13071
|
+
}>, never, never>;
|
|
13072
|
+
readonly slug: Schema.String;
|
|
13073
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
13074
|
+
readonly agent: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Agent.ID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Agent.ID">>, never, never>;
|
|
13075
|
+
readonly model: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
13076
|
+
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
13077
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
13078
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13079
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13080
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13081
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13082
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13083
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13084
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13085
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13086
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13087
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13088
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13089
|
+
};
|
|
13090
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
13091
|
+
}> & {
|
|
13092
|
+
parse: (input: string) => {
|
|
13093
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
13094
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13095
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
13096
|
+
};
|
|
13097
|
+
}>>, Schema.optionalKey<Schema.Struct<{
|
|
13098
|
+
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
13099
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
13100
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13101
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13102
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13103
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13104
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13105
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13106
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13107
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13108
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13109
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13110
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13111
|
+
};
|
|
13112
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
13113
|
+
}> & {
|
|
13114
|
+
parse: (input: string) => {
|
|
13115
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
13116
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13117
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
13118
|
+
};
|
|
13119
|
+
}>, never, never>;
|
|
13120
|
+
readonly version: Schema.String;
|
|
13121
|
+
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
13122
|
+
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
13123
|
+
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
13124
|
+
};
|
|
13125
|
+
}>;
|
|
13126
|
+
}> & {
|
|
13127
|
+
type: "session.created";
|
|
13128
|
+
durability: "durable";
|
|
13129
|
+
durable: {
|
|
13130
|
+
readonly version: number;
|
|
13131
|
+
readonly aggregate: string;
|
|
13132
|
+
};
|
|
13133
|
+
data: Schema.Struct<{
|
|
13134
|
+
readonly projectID: Schema.brand<Schema.String, "Project.ID"> & {
|
|
13135
|
+
global: string & import("effect/Brand").Brand<"Project.ID">;
|
|
13136
|
+
};
|
|
13137
|
+
readonly location: Schema.Struct<{
|
|
13138
|
+
readonly directory: Schema.brand<Schema.String, "AbsolutePath">;
|
|
13139
|
+
readonly workspaceID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
13140
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
13141
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
13142
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "Workspace.ID"> & {
|
|
13143
|
+
ascending: (id?: string) => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
13144
|
+
create: () => string & import("effect/Brand").Brand<"Workspace.ID">;
|
|
13145
|
+
}>, never, never>;
|
|
13146
|
+
}>;
|
|
13147
|
+
readonly subpath: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "RelativePath">>>, Schema.optionalKey<Schema.brand<Schema.String, "RelativePath">>, never, never>;
|
|
13148
|
+
readonly parentID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "SessionID"> & {
|
|
13149
|
+
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
13150
|
+
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
13151
|
+
}>>, Schema.optionalKey<Schema.brand<Schema.String, "SessionID"> & {
|
|
13152
|
+
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
13153
|
+
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
13154
|
+
}>, never, never>;
|
|
13155
|
+
readonly slug: Schema.String;
|
|
13156
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
13157
|
+
readonly agent: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Agent.ID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Agent.ID">>, never, never>;
|
|
13158
|
+
readonly model: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
13159
|
+
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
13160
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
13161
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13162
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13163
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13164
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13165
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13166
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13167
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13168
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13169
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13170
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13171
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13172
|
+
};
|
|
13173
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
13174
|
+
}> & {
|
|
13175
|
+
parse: (input: string) => {
|
|
13176
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
13177
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13178
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
13179
|
+
};
|
|
13180
|
+
}>>, Schema.optionalKey<Schema.Struct<{
|
|
13181
|
+
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
13182
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
13183
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13184
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13185
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13186
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13187
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13188
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13189
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13190
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13191
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13192
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13193
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13194
|
+
};
|
|
13195
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
13196
|
+
}> & {
|
|
13197
|
+
parse: (input: string) => {
|
|
13198
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
13199
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13200
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
13201
|
+
};
|
|
13202
|
+
}>, never, never>;
|
|
13203
|
+
readonly version: Schema.String;
|
|
13204
|
+
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
13205
|
+
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
13206
|
+
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
13207
|
+
};
|
|
13208
|
+
}>;
|
|
13209
|
+
}, Schema.Struct<{
|
|
12258
13210
|
readonly id: Schema.brand<Schema.String, "Event.ID"> & {
|
|
12259
13211
|
create: () => string & import("effect/Brand").Brand<"Event.ID">;
|
|
12260
13212
|
};
|