@opencode-ai/schema 0.0.0-next-17174 → 0.0.0-next-17178
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 +92 -0
- package/dist/event-manifest.d.ts +184 -0
- package/dist/session-event.d.ts +460 -0
- package/dist/session-event.js +2 -0
- package/package.json +1 -1
|
@@ -226,6 +226,7 @@ export declare const SessionDurable: {
|
|
|
226
226
|
}>>, never, never>;
|
|
227
227
|
readonly data: import("effect/Schema").Struct<{
|
|
228
228
|
readonly agent: import("effect/Schema").brand<import("effect/Schema").String, "Agent.ID">;
|
|
229
|
+
readonly previous: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").String, "Agent.ID">>>, import("effect/Schema").optionalKey<import("effect/Schema").brand<import("effect/Schema").String, "Agent.ID">>, never, never>;
|
|
229
230
|
readonly sessionID: import("effect/Schema").brand<import("effect/Schema").String, "SessionID"> & {
|
|
230
231
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
231
232
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -240,6 +241,7 @@ export declare const SessionDurable: {
|
|
|
240
241
|
};
|
|
241
242
|
data: import("effect/Schema").Struct<{
|
|
242
243
|
readonly agent: import("effect/Schema").brand<import("effect/Schema").String, "Agent.ID">;
|
|
244
|
+
readonly previous: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").String, "Agent.ID">>>, import("effect/Schema").optionalKey<import("effect/Schema").brand<import("effect/Schema").String, "Agent.ID">>, never, never>;
|
|
243
245
|
readonly sessionID: import("effect/Schema").brand<import("effect/Schema").String, "SessionID"> & {
|
|
244
246
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
245
247
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -300,6 +302,51 @@ export declare const SessionDurable: {
|
|
|
300
302
|
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
301
303
|
};
|
|
302
304
|
};
|
|
305
|
+
readonly previous: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Struct<{
|
|
306
|
+
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Model.ID">;
|
|
307
|
+
readonly providerID: import("effect/Schema").brand<import("effect/Schema").String, "Provider.ID"> & {
|
|
308
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
309
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
310
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
311
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
312
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
313
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
314
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
315
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
316
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
317
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
318
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
319
|
+
};
|
|
320
|
+
readonly variant: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").String, "Model.VariantID">>>, import("effect/Schema").optionalKey<import("effect/Schema").brand<import("effect/Schema").String, "Model.VariantID">>, never, never>;
|
|
321
|
+
}> & {
|
|
322
|
+
parse: (input: string) => {
|
|
323
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
324
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
325
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
326
|
+
};
|
|
327
|
+
}>>, import("effect/Schema").optionalKey<import("effect/Schema").Struct<{
|
|
328
|
+
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Model.ID">;
|
|
329
|
+
readonly providerID: import("effect/Schema").brand<import("effect/Schema").String, "Provider.ID"> & {
|
|
330
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
331
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
332
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
333
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
334
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
335
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
336
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
337
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
338
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
339
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
340
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
341
|
+
};
|
|
342
|
+
readonly variant: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").String, "Model.VariantID">>>, import("effect/Schema").optionalKey<import("effect/Schema").brand<import("effect/Schema").String, "Model.VariantID">>, never, never>;
|
|
343
|
+
}> & {
|
|
344
|
+
parse: (input: string) => {
|
|
345
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
346
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
347
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
348
|
+
};
|
|
349
|
+
}>, never, never>;
|
|
303
350
|
readonly sessionID: import("effect/Schema").brand<import("effect/Schema").String, "SessionID"> & {
|
|
304
351
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
305
352
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -336,6 +383,51 @@ export declare const SessionDurable: {
|
|
|
336
383
|
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
337
384
|
};
|
|
338
385
|
};
|
|
386
|
+
readonly previous: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").Struct<{
|
|
387
|
+
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Model.ID">;
|
|
388
|
+
readonly providerID: import("effect/Schema").brand<import("effect/Schema").String, "Provider.ID"> & {
|
|
389
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
390
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
391
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
392
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
393
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
394
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
395
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
396
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
397
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
398
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
399
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
400
|
+
};
|
|
401
|
+
readonly variant: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").String, "Model.VariantID">>>, import("effect/Schema").optionalKey<import("effect/Schema").brand<import("effect/Schema").String, "Model.VariantID">>, never, never>;
|
|
402
|
+
}> & {
|
|
403
|
+
parse: (input: string) => {
|
|
404
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
405
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
406
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
407
|
+
};
|
|
408
|
+
}>>, import("effect/Schema").optionalKey<import("effect/Schema").Struct<{
|
|
409
|
+
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Model.ID">;
|
|
410
|
+
readonly providerID: import("effect/Schema").brand<import("effect/Schema").String, "Provider.ID"> & {
|
|
411
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
412
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
413
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
414
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
415
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
416
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
417
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
418
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
419
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
420
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
421
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
422
|
+
};
|
|
423
|
+
readonly variant: import("effect/Schema").decodeTo<import("effect/Schema").optional<import("effect/Schema").toType<import("effect/Schema").brand<import("effect/Schema").String, "Model.VariantID">>>, import("effect/Schema").optionalKey<import("effect/Schema").brand<import("effect/Schema").String, "Model.VariantID">>, never, never>;
|
|
424
|
+
}> & {
|
|
425
|
+
parse: (input: string) => {
|
|
426
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
427
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
428
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
429
|
+
};
|
|
430
|
+
}>, never, never>;
|
|
339
431
|
readonly sessionID: import("effect/Schema").brand<import("effect/Schema").String, "SessionID"> & {
|
|
340
432
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
341
433
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
package/dist/event-manifest.d.ts
CHANGED
|
@@ -390,6 +390,7 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
390
390
|
}>>, never, never>;
|
|
391
391
|
readonly data: Schema.Struct<{
|
|
392
392
|
readonly agent: Schema.brand<Schema.String, "Agent.ID">;
|
|
393
|
+
readonly previous: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Agent.ID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Agent.ID">>, never, never>;
|
|
393
394
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
394
395
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
395
396
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -404,6 +405,7 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
404
405
|
};
|
|
405
406
|
data: Schema.Struct<{
|
|
406
407
|
readonly agent: Schema.brand<Schema.String, "Agent.ID">;
|
|
408
|
+
readonly previous: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Agent.ID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Agent.ID">>, never, never>;
|
|
407
409
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
408
410
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
409
411
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -464,6 +466,51 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
464
466
|
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
465
467
|
};
|
|
466
468
|
};
|
|
469
|
+
readonly previous: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
470
|
+
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
471
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
472
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
473
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
474
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
475
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
476
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
477
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
478
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
479
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
480
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
481
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
482
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
483
|
+
};
|
|
484
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
485
|
+
}> & {
|
|
486
|
+
parse: (input: string) => {
|
|
487
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
488
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
489
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
490
|
+
};
|
|
491
|
+
}>>, Schema.optionalKey<Schema.Struct<{
|
|
492
|
+
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
493
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
494
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
495
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
496
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
497
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
498
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
499
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
500
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
501
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
502
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
503
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
504
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
505
|
+
};
|
|
506
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
507
|
+
}> & {
|
|
508
|
+
parse: (input: string) => {
|
|
509
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
510
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
511
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
512
|
+
};
|
|
513
|
+
}>, never, never>;
|
|
467
514
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
468
515
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
469
516
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -500,6 +547,51 @@ export declare const ServerDefinitions: readonly [Schema.Struct<{
|
|
|
500
547
|
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
501
548
|
};
|
|
502
549
|
};
|
|
550
|
+
readonly previous: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
551
|
+
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
552
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
553
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
554
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
555
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
556
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
557
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
558
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
559
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
560
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
561
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
562
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
563
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
564
|
+
};
|
|
565
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
566
|
+
}> & {
|
|
567
|
+
parse: (input: string) => {
|
|
568
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
569
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
570
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
571
|
+
};
|
|
572
|
+
}>>, Schema.optionalKey<Schema.Struct<{
|
|
573
|
+
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
574
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
575
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
576
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
577
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
578
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
579
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
580
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
581
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
582
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
583
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
584
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
585
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
586
|
+
};
|
|
587
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
588
|
+
}> & {
|
|
589
|
+
parse: (input: string) => {
|
|
590
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
591
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
592
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
593
|
+
};
|
|
594
|
+
}>, never, never>;
|
|
503
595
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
504
596
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
505
597
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -5916,6 +6008,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
5916
6008
|
}>>, never, never>;
|
|
5917
6009
|
readonly data: Schema.Struct<{
|
|
5918
6010
|
readonly agent: Schema.brand<Schema.String, "Agent.ID">;
|
|
6011
|
+
readonly previous: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Agent.ID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Agent.ID">>, never, never>;
|
|
5919
6012
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
5920
6013
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
5921
6014
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -5930,6 +6023,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
5930
6023
|
};
|
|
5931
6024
|
data: Schema.Struct<{
|
|
5932
6025
|
readonly agent: Schema.brand<Schema.String, "Agent.ID">;
|
|
6026
|
+
readonly previous: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Agent.ID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Agent.ID">>, never, never>;
|
|
5933
6027
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
5934
6028
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
5935
6029
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -5990,6 +6084,51 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
5990
6084
|
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
5991
6085
|
};
|
|
5992
6086
|
};
|
|
6087
|
+
readonly previous: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
6088
|
+
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
6089
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
6090
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
6091
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
6092
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
6093
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
6094
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
6095
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
6096
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
6097
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
6098
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
6099
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
6100
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
6101
|
+
};
|
|
6102
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
6103
|
+
}> & {
|
|
6104
|
+
parse: (input: string) => {
|
|
6105
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
6106
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
6107
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
6108
|
+
};
|
|
6109
|
+
}>>, Schema.optionalKey<Schema.Struct<{
|
|
6110
|
+
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
6111
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
6112
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
6113
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
6114
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
6115
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
6116
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
6117
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
6118
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
6119
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
6120
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
6121
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
6122
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
6123
|
+
};
|
|
6124
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
6125
|
+
}> & {
|
|
6126
|
+
parse: (input: string) => {
|
|
6127
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
6128
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
6129
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
6130
|
+
};
|
|
6131
|
+
}>, never, never>;
|
|
5993
6132
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
5994
6133
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
5995
6134
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -6026,6 +6165,51 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
6026
6165
|
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
6027
6166
|
};
|
|
6028
6167
|
};
|
|
6168
|
+
readonly previous: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
6169
|
+
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
6170
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
6171
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
6172
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
6173
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
6174
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
6175
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
6176
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
6177
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
6178
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
6179
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
6180
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
6181
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
6182
|
+
};
|
|
6183
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
6184
|
+
}> & {
|
|
6185
|
+
parse: (input: string) => {
|
|
6186
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
6187
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
6188
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
6189
|
+
};
|
|
6190
|
+
}>>, Schema.optionalKey<Schema.Struct<{
|
|
6191
|
+
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
6192
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
6193
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
6194
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
6195
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
6196
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
6197
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
6198
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
6199
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
6200
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
6201
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
6202
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
6203
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
6204
|
+
};
|
|
6205
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
6206
|
+
}> & {
|
|
6207
|
+
parse: (input: string) => {
|
|
6208
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
6209
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
6210
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
6211
|
+
};
|
|
6212
|
+
}>, never, never>;
|
|
6029
6213
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
6030
6214
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
6031
6215
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
package/dist/session-event.d.ts
CHANGED
|
@@ -235,6 +235,7 @@ export declare const AgentSelected: Schema.Struct<{
|
|
|
235
235
|
}>>, never, never>;
|
|
236
236
|
readonly data: Schema.Struct<{
|
|
237
237
|
readonly agent: Schema.brand<Schema.String, "Agent.ID">;
|
|
238
|
+
readonly previous: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Agent.ID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Agent.ID">>, never, never>;
|
|
238
239
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
239
240
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
240
241
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -249,6 +250,7 @@ export declare const AgentSelected: Schema.Struct<{
|
|
|
249
250
|
};
|
|
250
251
|
data: Schema.Struct<{
|
|
251
252
|
readonly agent: Schema.brand<Schema.String, "Agent.ID">;
|
|
253
|
+
readonly previous: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Agent.ID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Agent.ID">>, never, never>;
|
|
252
254
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
253
255
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
254
256
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -311,6 +313,51 @@ export declare const ModelSelected: Schema.Struct<{
|
|
|
311
313
|
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
312
314
|
};
|
|
313
315
|
};
|
|
316
|
+
readonly previous: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
317
|
+
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
318
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
319
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
320
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
321
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
322
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
323
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
324
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
325
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
326
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
327
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
328
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
329
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
330
|
+
};
|
|
331
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
332
|
+
}> & {
|
|
333
|
+
parse: (input: string) => {
|
|
334
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
335
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
336
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
337
|
+
};
|
|
338
|
+
}>>, Schema.optionalKey<Schema.Struct<{
|
|
339
|
+
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
340
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
341
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
342
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
343
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
344
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
345
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
346
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
347
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
348
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
349
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
350
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
351
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
352
|
+
};
|
|
353
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
354
|
+
}> & {
|
|
355
|
+
parse: (input: string) => {
|
|
356
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
357
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
358
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
359
|
+
};
|
|
360
|
+
}>, never, never>;
|
|
314
361
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
315
362
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
316
363
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -347,6 +394,51 @@ export declare const ModelSelected: Schema.Struct<{
|
|
|
347
394
|
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
348
395
|
};
|
|
349
396
|
};
|
|
397
|
+
readonly previous: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
398
|
+
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
399
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
400
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
401
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
402
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
403
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
404
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
405
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
406
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
407
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
408
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
409
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
410
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
411
|
+
};
|
|
412
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
413
|
+
}> & {
|
|
414
|
+
parse: (input: string) => {
|
|
415
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
416
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
417
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
418
|
+
};
|
|
419
|
+
}>>, Schema.optionalKey<Schema.Struct<{
|
|
420
|
+
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
421
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
422
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
423
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
424
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
425
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
426
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
427
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
428
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
429
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
430
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
431
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
432
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
433
|
+
};
|
|
434
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
435
|
+
}> & {
|
|
436
|
+
parse: (input: string) => {
|
|
437
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
438
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
439
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
440
|
+
};
|
|
441
|
+
}>, never, never>;
|
|
350
442
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
351
443
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
352
444
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -3985,6 +4077,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
3985
4077
|
}>>, never, never>;
|
|
3986
4078
|
readonly data: Schema.Struct<{
|
|
3987
4079
|
readonly agent: Schema.brand<Schema.String, "Agent.ID">;
|
|
4080
|
+
readonly previous: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Agent.ID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Agent.ID">>, never, never>;
|
|
3988
4081
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
3989
4082
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
3990
4083
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -3999,6 +4092,7 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
3999
4092
|
};
|
|
4000
4093
|
data: Schema.Struct<{
|
|
4001
4094
|
readonly agent: Schema.brand<Schema.String, "Agent.ID">;
|
|
4095
|
+
readonly previous: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Agent.ID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Agent.ID">>, never, never>;
|
|
4002
4096
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
4003
4097
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
4004
4098
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -4059,6 +4153,51 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
4059
4153
|
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
4060
4154
|
};
|
|
4061
4155
|
};
|
|
4156
|
+
readonly previous: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
4157
|
+
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
4158
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
4159
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4160
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4161
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4162
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4163
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4164
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4165
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4166
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4167
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4168
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4169
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4170
|
+
};
|
|
4171
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
4172
|
+
}> & {
|
|
4173
|
+
parse: (input: string) => {
|
|
4174
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
4175
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4176
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
4177
|
+
};
|
|
4178
|
+
}>>, Schema.optionalKey<Schema.Struct<{
|
|
4179
|
+
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
4180
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
4181
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4182
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4183
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4184
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4185
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4186
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4187
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4188
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4189
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4190
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4191
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4192
|
+
};
|
|
4193
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
4194
|
+
}> & {
|
|
4195
|
+
parse: (input: string) => {
|
|
4196
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
4197
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4198
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
4199
|
+
};
|
|
4200
|
+
}>, never, never>;
|
|
4062
4201
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
4063
4202
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
4064
4203
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -4095,6 +4234,51 @@ export declare const Definitions: readonly [Schema.Struct<{
|
|
|
4095
4234
|
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
4096
4235
|
};
|
|
4097
4236
|
};
|
|
4237
|
+
readonly previous: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
4238
|
+
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
4239
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
4240
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4241
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4242
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4243
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4244
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4245
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4246
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4247
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4248
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4249
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4250
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4251
|
+
};
|
|
4252
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
4253
|
+
}> & {
|
|
4254
|
+
parse: (input: string) => {
|
|
4255
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
4256
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4257
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
4258
|
+
};
|
|
4259
|
+
}>>, Schema.optionalKey<Schema.Struct<{
|
|
4260
|
+
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
4261
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
4262
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4263
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4264
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4265
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4266
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4267
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4268
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4269
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4270
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4271
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4272
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4273
|
+
};
|
|
4274
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
4275
|
+
}> & {
|
|
4276
|
+
parse: (input: string) => {
|
|
4277
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
4278
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
4279
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
4280
|
+
};
|
|
4281
|
+
}>, never, never>;
|
|
4098
4282
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
4099
4283
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
4100
4284
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -7542,6 +7726,7 @@ export declare const DurableDefinitions: readonly [...((Schema.Struct<{
|
|
|
7542
7726
|
}>>, never, never>;
|
|
7543
7727
|
readonly data: Schema.Struct<{
|
|
7544
7728
|
readonly agent: Schema.brand<Schema.String, "Agent.ID">;
|
|
7729
|
+
readonly previous: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Agent.ID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Agent.ID">>, never, never>;
|
|
7545
7730
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
7546
7731
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
7547
7732
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -7556,6 +7741,7 @@ export declare const DurableDefinitions: readonly [...((Schema.Struct<{
|
|
|
7556
7741
|
};
|
|
7557
7742
|
data: Schema.Struct<{
|
|
7558
7743
|
readonly agent: Schema.brand<Schema.String, "Agent.ID">;
|
|
7744
|
+
readonly previous: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Agent.ID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Agent.ID">>, never, never>;
|
|
7559
7745
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
7560
7746
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
7561
7747
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -7616,6 +7802,51 @@ export declare const DurableDefinitions: readonly [...((Schema.Struct<{
|
|
|
7616
7802
|
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
7617
7803
|
};
|
|
7618
7804
|
};
|
|
7805
|
+
readonly previous: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
7806
|
+
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
7807
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
7808
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7809
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7810
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7811
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7812
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7813
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7814
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7815
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7816
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7817
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7818
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7819
|
+
};
|
|
7820
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
7821
|
+
}> & {
|
|
7822
|
+
parse: (input: string) => {
|
|
7823
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
7824
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7825
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
7826
|
+
};
|
|
7827
|
+
}>>, Schema.optionalKey<Schema.Struct<{
|
|
7828
|
+
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
7829
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
7830
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7831
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7832
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7833
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7834
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7835
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7836
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7837
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7838
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7839
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7840
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7841
|
+
};
|
|
7842
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
7843
|
+
}> & {
|
|
7844
|
+
parse: (input: string) => {
|
|
7845
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
7846
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7847
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
7848
|
+
};
|
|
7849
|
+
}>, never, never>;
|
|
7619
7850
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
7620
7851
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
7621
7852
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -7652,6 +7883,51 @@ export declare const DurableDefinitions: readonly [...((Schema.Struct<{
|
|
|
7652
7883
|
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
7653
7884
|
};
|
|
7654
7885
|
};
|
|
7886
|
+
readonly previous: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
7887
|
+
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
7888
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
7889
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7890
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7891
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7892
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7893
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7894
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7895
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7896
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7897
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7898
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7899
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7900
|
+
};
|
|
7901
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
7902
|
+
}> & {
|
|
7903
|
+
parse: (input: string) => {
|
|
7904
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
7905
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7906
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
7907
|
+
};
|
|
7908
|
+
}>>, Schema.optionalKey<Schema.Struct<{
|
|
7909
|
+
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
7910
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
7911
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7912
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7913
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7914
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7915
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7916
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7917
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7918
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7919
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7920
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7921
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7922
|
+
};
|
|
7923
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
7924
|
+
}> & {
|
|
7925
|
+
parse: (input: string) => {
|
|
7926
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
7927
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
7928
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
7929
|
+
};
|
|
7930
|
+
}>, never, never>;
|
|
7655
7931
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
7656
7932
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
7657
7933
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -11176,6 +11452,7 @@ export declare const Durable: Schema.Union<readonly [...((Schema.Struct<{
|
|
|
11176
11452
|
}>>, never, never>;
|
|
11177
11453
|
readonly data: Schema.Struct<{
|
|
11178
11454
|
readonly agent: Schema.brand<Schema.String, "Agent.ID">;
|
|
11455
|
+
readonly previous: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Agent.ID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Agent.ID">>, never, never>;
|
|
11179
11456
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
11180
11457
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
11181
11458
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -11190,6 +11467,7 @@ export declare const Durable: Schema.Union<readonly [...((Schema.Struct<{
|
|
|
11190
11467
|
};
|
|
11191
11468
|
data: Schema.Struct<{
|
|
11192
11469
|
readonly agent: Schema.brand<Schema.String, "Agent.ID">;
|
|
11470
|
+
readonly previous: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Agent.ID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Agent.ID">>, never, never>;
|
|
11193
11471
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
11194
11472
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
11195
11473
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -11250,6 +11528,51 @@ export declare const Durable: Schema.Union<readonly [...((Schema.Struct<{
|
|
|
11250
11528
|
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
11251
11529
|
};
|
|
11252
11530
|
};
|
|
11531
|
+
readonly previous: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
11532
|
+
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
11533
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
11534
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11535
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11536
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11537
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11538
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11539
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11540
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11541
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11542
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11543
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11544
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11545
|
+
};
|
|
11546
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
11547
|
+
}> & {
|
|
11548
|
+
parse: (input: string) => {
|
|
11549
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
11550
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11551
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
11552
|
+
};
|
|
11553
|
+
}>>, Schema.optionalKey<Schema.Struct<{
|
|
11554
|
+
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
11555
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
11556
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11557
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11558
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11559
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11560
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11561
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11562
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11563
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11564
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11565
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11566
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11567
|
+
};
|
|
11568
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
11569
|
+
}> & {
|
|
11570
|
+
parse: (input: string) => {
|
|
11571
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
11572
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11573
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
11574
|
+
};
|
|
11575
|
+
}>, never, never>;
|
|
11253
11576
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
11254
11577
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
11255
11578
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -11286,6 +11609,51 @@ export declare const Durable: Schema.Union<readonly [...((Schema.Struct<{
|
|
|
11286
11609
|
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
11287
11610
|
};
|
|
11288
11611
|
};
|
|
11612
|
+
readonly previous: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
11613
|
+
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
11614
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
11615
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11616
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11617
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11618
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11619
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11620
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11621
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11622
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11623
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11624
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11625
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11626
|
+
};
|
|
11627
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
11628
|
+
}> & {
|
|
11629
|
+
parse: (input: string) => {
|
|
11630
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
11631
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11632
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
11633
|
+
};
|
|
11634
|
+
}>>, Schema.optionalKey<Schema.Struct<{
|
|
11635
|
+
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
11636
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
11637
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11638
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11639
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11640
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11641
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11642
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11643
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11644
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11645
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11646
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11647
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11648
|
+
};
|
|
11649
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
11650
|
+
}> & {
|
|
11651
|
+
parse: (input: string) => {
|
|
11652
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
11653
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11654
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
11655
|
+
};
|
|
11656
|
+
}>, never, never>;
|
|
11289
11657
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
11290
11658
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
11291
11659
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -14484,6 +14852,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Union<re
|
|
|
14484
14852
|
}>>, never, never>;
|
|
14485
14853
|
readonly data: Schema.Struct<{
|
|
14486
14854
|
readonly agent: Schema.brand<Schema.String, "Agent.ID">;
|
|
14855
|
+
readonly previous: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Agent.ID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Agent.ID">>, never, never>;
|
|
14487
14856
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
14488
14857
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
14489
14858
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -14498,6 +14867,7 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Union<re
|
|
|
14498
14867
|
};
|
|
14499
14868
|
data: Schema.Struct<{
|
|
14500
14869
|
readonly agent: Schema.brand<Schema.String, "Agent.ID">;
|
|
14870
|
+
readonly previous: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Agent.ID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Agent.ID">>, never, never>;
|
|
14501
14871
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
14502
14872
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
14503
14873
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -14558,6 +14928,51 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Union<re
|
|
|
14558
14928
|
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
14559
14929
|
};
|
|
14560
14930
|
};
|
|
14931
|
+
readonly previous: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
14932
|
+
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
14933
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
14934
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
14935
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
14936
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
14937
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
14938
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
14939
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
14940
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
14941
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
14942
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
14943
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
14944
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
14945
|
+
};
|
|
14946
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
14947
|
+
}> & {
|
|
14948
|
+
parse: (input: string) => {
|
|
14949
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
14950
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
14951
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
14952
|
+
};
|
|
14953
|
+
}>>, Schema.optionalKey<Schema.Struct<{
|
|
14954
|
+
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
14955
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
14956
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
14957
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
14958
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
14959
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
14960
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
14961
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
14962
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
14963
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
14964
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
14965
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
14966
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
14967
|
+
};
|
|
14968
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
14969
|
+
}> & {
|
|
14970
|
+
parse: (input: string) => {
|
|
14971
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
14972
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
14973
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
14974
|
+
};
|
|
14975
|
+
}>, never, never>;
|
|
14561
14976
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
14562
14977
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
14563
14978
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
@@ -14594,6 +15009,51 @@ export declare const All: Schema.toTaggedUnion<"type", readonly [Schema.Union<re
|
|
|
14594
15009
|
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
14595
15010
|
};
|
|
14596
15011
|
};
|
|
15012
|
+
readonly previous: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
15013
|
+
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
15014
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
15015
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
15016
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
15017
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
15018
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
15019
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
15020
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
15021
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
15022
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
15023
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
15024
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
15025
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
15026
|
+
};
|
|
15027
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
15028
|
+
}> & {
|
|
15029
|
+
parse: (input: string) => {
|
|
15030
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
15031
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
15032
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
15033
|
+
};
|
|
15034
|
+
}>>, Schema.optionalKey<Schema.Struct<{
|
|
15035
|
+
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
15036
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
15037
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
15038
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
15039
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
15040
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
15041
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
15042
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
15043
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
15044
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
15045
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
15046
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
15047
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
15048
|
+
};
|
|
15049
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
15050
|
+
}> & {
|
|
15051
|
+
parse: (input: string) => {
|
|
15052
|
+
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
15053
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
15054
|
+
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
15055
|
+
};
|
|
15056
|
+
}>, never, never>;
|
|
14597
15057
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
14598
15058
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
14599
15059
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
package/dist/session-event.js
CHANGED
|
@@ -61,6 +61,7 @@ export const AgentSelected = Event.durable({
|
|
|
61
61
|
schema: {
|
|
62
62
|
...Base,
|
|
63
63
|
agent: Agent.ID,
|
|
64
|
+
previous: Agent.ID.pipe(optional),
|
|
64
65
|
},
|
|
65
66
|
});
|
|
66
67
|
export const ModelSelected = Event.durable({
|
|
@@ -69,6 +70,7 @@ export const ModelSelected = Event.durable({
|
|
|
69
70
|
schema: {
|
|
70
71
|
...Base,
|
|
71
72
|
model: Model.Ref,
|
|
73
|
+
previous: Model.Ref.pipe(optional),
|
|
72
74
|
},
|
|
73
75
|
});
|
|
74
76
|
export const Moved = Event.durable({
|