@zyraxon-ai/protocol 19.0.5 → 19.0.6
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/api.d.ts +209 -2
- package/dist/api.d.ts.map +1 -1
- package/dist/api.js +12 -0
- package/dist/api.js.map +1 -1
- package/dist/errors.d.ts.map +1 -1
- package/dist/errors.js +1 -0
- package/dist/errors.js.map +1 -1
- package/dist/groups/agent.d.ts +2 -0
- package/dist/groups/agent.d.ts.map +1 -1
- package/dist/groups/agent.js +1 -0
- package/dist/groups/agent.js.map +1 -1
- package/dist/groups/command.d.ts +2 -0
- package/dist/groups/command.d.ts.map +1 -1
- package/dist/groups/command.js +1 -0
- package/dist/groups/command.js.map +1 -1
- package/dist/groups/credential.d.ts.map +1 -1
- package/dist/groups/credential.js +1 -0
- package/dist/groups/credential.js.map +1 -1
- package/dist/groups/event.d.ts +49 -0
- package/dist/groups/event.d.ts.map +1 -1
- package/dist/groups/event.js +1 -0
- package/dist/groups/event.js.map +1 -1
- package/dist/groups/fs.d.ts.map +1 -1
- package/dist/groups/fs.js +1 -0
- package/dist/groups/fs.js.map +1 -1
- package/dist/groups/health.d.ts.map +1 -1
- package/dist/groups/health.js +1 -0
- package/dist/groups/health.js.map +1 -1
- package/dist/groups/integration.d.ts.map +1 -1
- package/dist/groups/integration.js +1 -0
- package/dist/groups/integration.js.map +1 -1
- package/dist/groups/location.d.ts.map +1 -1
- package/dist/groups/location.js +1 -0
- package/dist/groups/location.js.map +1 -1
- package/dist/groups/message.d.ts +3 -0
- package/dist/groups/message.d.ts.map +1 -1
- package/dist/groups/message.js +1 -0
- package/dist/groups/message.js.map +1 -1
- package/dist/groups/model.d.ts +1 -0
- package/dist/groups/model.d.ts.map +1 -1
- package/dist/groups/model.js +1 -0
- package/dist/groups/model.js.map +1 -1
- package/dist/groups/permission.d.ts.map +1 -1
- package/dist/groups/permission.js +1 -0
- package/dist/groups/permission.js.map +1 -1
- package/dist/groups/project-copy.d.ts.map +1 -1
- package/dist/groups/project-copy.js +1 -0
- package/dist/groups/project-copy.js.map +1 -1
- package/dist/groups/provider.d.ts +3 -0
- package/dist/groups/provider.d.ts.map +1 -1
- package/dist/groups/provider.js +1 -0
- package/dist/groups/provider.js.map +1 -1
- package/dist/groups/pty.d.ts.map +1 -1
- package/dist/groups/pty.js +1 -0
- package/dist/groups/pty.js.map +1 -1
- package/dist/groups/question.d.ts.map +1 -1
- package/dist/groups/question.js +1 -0
- package/dist/groups/question.js.map +1 -1
- package/dist/groups/reference.d.ts.map +1 -1
- package/dist/groups/reference.js +1 -0
- package/dist/groups/reference.js.map +1 -1
- package/dist/groups/session.d.ts +22 -0
- package/dist/groups/session.d.ts.map +1 -1
- package/dist/groups/session.js +1 -0
- package/dist/groups/session.js.map +1 -1
- package/dist/groups/skill.d.ts.map +1 -1
- package/dist/groups/skill.js +1 -0
- package/dist/groups/skill.js.map +1 -1
- package/dist/groups/storage.d.ts +118 -0
- package/dist/groups/storage.d.ts.map +1 -0
- package/dist/groups/storage.js +91 -0
- package/dist/groups/storage.js.map +1 -0
- package/dist/middleware/authorization.d.ts.map +1 -1
- package/dist/middleware/authorization.js +1 -0
- package/dist/middleware/authorization.js.map +1 -1
- package/dist/middleware/schema-error.d.ts.map +1 -1
- package/dist/middleware/schema-error.js +1 -0
- package/dist/middleware/schema-error.js.map +1 -1
- package/package.json +10 -23
package/dist/api.d.ts
CHANGED
|
@@ -23,6 +23,7 @@ declare const makeApiFromGroup: <const Group extends HttpApiGroup.Any, LocationI
|
|
|
23
23
|
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "ModelV2.ID">;
|
|
24
24
|
readonly providerID: import("effect/Schema").brand<import("effect/Schema").String, "ProviderV2.ID"> & {
|
|
25
25
|
opencode: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
26
|
+
zyraxon: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
26
27
|
anthropic: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
27
28
|
openai: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
28
29
|
google: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
@@ -39,6 +40,7 @@ declare const makeApiFromGroup: <const Group extends HttpApiGroup.Any, LocationI
|
|
|
39
40
|
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "ModelV2.ID">;
|
|
40
41
|
readonly providerID: import("effect/Schema").brand<import("effect/Schema").String, "ProviderV2.ID"> & {
|
|
41
42
|
opencode: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
43
|
+
zyraxon: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
42
44
|
anthropic: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
43
45
|
openai: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
44
46
|
google: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
@@ -131,6 +133,7 @@ declare const makeApiFromGroup: <const Group extends HttpApiGroup.Any, LocationI
|
|
|
131
133
|
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "ModelV2.ID">;
|
|
132
134
|
readonly providerID: import("effect/Schema").brand<import("effect/Schema").String, "ProviderV2.ID"> & {
|
|
133
135
|
opencode: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
136
|
+
zyraxon: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
134
137
|
anthropic: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
135
138
|
openai: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
136
139
|
google: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
@@ -147,6 +150,7 @@ declare const makeApiFromGroup: <const Group extends HttpApiGroup.Any, LocationI
|
|
|
147
150
|
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "ModelV2.ID">;
|
|
148
151
|
readonly providerID: import("effect/Schema").brand<import("effect/Schema").String, "ProviderV2.ID"> & {
|
|
149
152
|
opencode: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
153
|
+
zyraxon: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
150
154
|
anthropic: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
151
155
|
openai: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
152
156
|
google: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
@@ -369,6 +373,7 @@ declare const makeApiFromGroup: <const Group extends HttpApiGroup.Any, LocationI
|
|
|
369
373
|
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "ModelV2.ID">;
|
|
370
374
|
readonly providerID: import("effect/Schema").brand<import("effect/Schema").String, "ProviderV2.ID"> & {
|
|
371
375
|
opencode: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
376
|
+
zyraxon: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
372
377
|
anthropic: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
373
378
|
openai: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
374
379
|
google: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
@@ -413,6 +418,7 @@ declare const makeApiFromGroup: <const Group extends HttpApiGroup.Any, LocationI
|
|
|
413
418
|
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "ModelV2.ID">;
|
|
414
419
|
readonly providerID: import("effect/Schema").brand<import("effect/Schema").String, "ProviderV2.ID"> & {
|
|
415
420
|
opencode: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
421
|
+
zyraxon: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
416
422
|
anthropic: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
417
423
|
openai: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
418
424
|
google: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
@@ -429,6 +435,7 @@ declare const makeApiFromGroup: <const Group extends HttpApiGroup.Any, LocationI
|
|
|
429
435
|
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "ModelV2.ID">;
|
|
430
436
|
readonly providerID: import("effect/Schema").brand<import("effect/Schema").String, "ProviderV2.ID"> & {
|
|
431
437
|
opencode: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
438
|
+
zyraxon: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
432
439
|
anthropic: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
433
440
|
openai: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
434
441
|
google: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
@@ -544,6 +551,7 @@ declare const makeApiFromGroup: <const Group extends HttpApiGroup.Any, LocationI
|
|
|
544
551
|
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "ModelV2.ID">;
|
|
545
552
|
readonly providerID: import("effect/Schema").brand<import("effect/Schema").String, "ProviderV2.ID"> & {
|
|
546
553
|
opencode: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
554
|
+
zyraxon: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
547
555
|
anthropic: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
548
556
|
openai: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
549
557
|
google: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
@@ -560,6 +568,7 @@ declare const makeApiFromGroup: <const Group extends HttpApiGroup.Any, LocationI
|
|
|
560
568
|
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "ModelV2.ID">;
|
|
561
569
|
readonly providerID: import("effect/Schema").brand<import("effect/Schema").String, "ProviderV2.ID"> & {
|
|
562
570
|
opencode: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
571
|
+
zyraxon: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
563
572
|
anthropic: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
564
573
|
openai: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
565
574
|
google: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
@@ -659,6 +668,7 @@ declare const makeApiFromGroup: <const Group extends HttpApiGroup.Any, LocationI
|
|
|
659
668
|
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "ModelV2.ID">;
|
|
660
669
|
readonly providerID: import("effect/Schema").brand<import("effect/Schema").String, "ProviderV2.ID"> & {
|
|
661
670
|
opencode: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
671
|
+
zyraxon: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
662
672
|
anthropic: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
663
673
|
openai: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
664
674
|
google: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
@@ -970,6 +980,7 @@ declare const makeApiFromGroup: <const Group extends HttpApiGroup.Any, LocationI
|
|
|
970
980
|
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "ModelV2.ID">;
|
|
971
981
|
readonly providerID: import("effect/Schema").brand<import("effect/Schema").String, "ProviderV2.ID"> & {
|
|
972
982
|
opencode: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
983
|
+
zyraxon: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
973
984
|
anthropic: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
974
985
|
openai: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
975
986
|
google: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
@@ -1068,6 +1079,7 @@ declare const makeApiFromGroup: <const Group extends HttpApiGroup.Any, LocationI
|
|
|
1068
1079
|
readonly text: import("effect/Schema").String;
|
|
1069
1080
|
}>>, never, never>;
|
|
1070
1081
|
}>>>, never, never>;
|
|
1082
|
+
readonly replyLanguage: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
1071
1083
|
readonly type: import("effect/Schema").Literal<"user">;
|
|
1072
1084
|
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Session.Message.ID"> & {
|
|
1073
1085
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
@@ -1120,6 +1132,7 @@ declare const makeApiFromGroup: <const Group extends HttpApiGroup.Any, LocationI
|
|
|
1120
1132
|
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "ModelV2.ID">;
|
|
1121
1133
|
readonly providerID: import("effect/Schema").brand<import("effect/Schema").String, "ProviderV2.ID"> & {
|
|
1122
1134
|
opencode: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
1135
|
+
zyraxon: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
1123
1136
|
anthropic: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
1124
1137
|
openai: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
1125
1138
|
google: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
@@ -1441,6 +1454,7 @@ declare const makeApiFromGroup: <const Group extends HttpApiGroup.Any, LocationI
|
|
|
1441
1454
|
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "ModelV2.ID">;
|
|
1442
1455
|
readonly providerID: import("effect/Schema").brand<import("effect/Schema").String, "ProviderV2.ID"> & {
|
|
1443
1456
|
opencode: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
1457
|
+
zyraxon: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
1444
1458
|
anthropic: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
1445
1459
|
openai: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
1446
1460
|
google: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
@@ -1469,6 +1483,7 @@ declare const makeApiFromGroup: <const Group extends HttpApiGroup.Any, LocationI
|
|
|
1469
1483
|
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "ModelV2.ID">;
|
|
1470
1484
|
readonly providerID: import("effect/Schema").brand<import("effect/Schema").String, "ProviderV2.ID"> & {
|
|
1471
1485
|
opencode: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
1486
|
+
zyraxon: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
1472
1487
|
anthropic: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
1473
1488
|
openai: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
1474
1489
|
google: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
@@ -2478,6 +2493,7 @@ declare const makeApiFromGroup: <const Group extends HttpApiGroup.Any, LocationI
|
|
|
2478
2493
|
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "ModelV2.ID">;
|
|
2479
2494
|
readonly providerID: import("effect/Schema").brand<import("effect/Schema").String, "ProviderV2.ID"> & {
|
|
2480
2495
|
opencode: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
2496
|
+
zyraxon: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
2481
2497
|
anthropic: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
2482
2498
|
openai: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
2483
2499
|
google: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
@@ -2508,6 +2524,7 @@ declare const makeApiFromGroup: <const Group extends HttpApiGroup.Any, LocationI
|
|
|
2508
2524
|
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "ModelV2.ID">;
|
|
2509
2525
|
readonly providerID: import("effect/Schema").brand<import("effect/Schema").String, "ProviderV2.ID"> & {
|
|
2510
2526
|
opencode: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
2527
|
+
zyraxon: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
2511
2528
|
anthropic: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
2512
2529
|
openai: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
2513
2530
|
google: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
@@ -3924,6 +3941,7 @@ declare const makeApiFromGroup: <const Group extends HttpApiGroup.Any, LocationI
|
|
|
3924
3941
|
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "ModelV2.ID">;
|
|
3925
3942
|
readonly providerID: import("effect/Schema").brand<import("effect/Schema").String, "ProviderV2.ID"> & {
|
|
3926
3943
|
opencode: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
3944
|
+
zyraxon: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
3927
3945
|
anthropic: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
3928
3946
|
openai: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
3929
3947
|
google: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
@@ -3952,6 +3970,7 @@ declare const makeApiFromGroup: <const Group extends HttpApiGroup.Any, LocationI
|
|
|
3952
3970
|
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "ModelV2.ID">;
|
|
3953
3971
|
readonly providerID: import("effect/Schema").brand<import("effect/Schema").String, "ProviderV2.ID"> & {
|
|
3954
3972
|
opencode: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
3973
|
+
zyraxon: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
3955
3974
|
anthropic: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
3956
3975
|
openai: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
3957
3976
|
google: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
@@ -4961,6 +4980,7 @@ declare const makeApiFromGroup: <const Group extends HttpApiGroup.Any, LocationI
|
|
|
4961
4980
|
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "ModelV2.ID">;
|
|
4962
4981
|
readonly providerID: import("effect/Schema").brand<import("effect/Schema").String, "ProviderV2.ID"> & {
|
|
4963
4982
|
opencode: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
4983
|
+
zyraxon: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
4964
4984
|
anthropic: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
4965
4985
|
openai: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
4966
4986
|
google: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
@@ -4991,6 +5011,7 @@ declare const makeApiFromGroup: <const Group extends HttpApiGroup.Any, LocationI
|
|
|
4991
5011
|
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "ModelV2.ID">;
|
|
4992
5012
|
readonly providerID: import("effect/Schema").brand<import("effect/Schema").String, "ProviderV2.ID"> & {
|
|
4993
5013
|
opencode: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
5014
|
+
zyraxon: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
4994
5015
|
anthropic: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
4995
5016
|
openai: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
4996
5017
|
google: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
@@ -7079,6 +7100,7 @@ declare const makeApiFromGroup: <const Group extends HttpApiGroup.Any, LocationI
|
|
|
7079
7100
|
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "ModelV2.ID">;
|
|
7080
7101
|
readonly providerID: import("effect/Schema").brand<import("effect/Schema").String, "ProviderV2.ID"> & {
|
|
7081
7102
|
opencode: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
7103
|
+
zyraxon: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
7082
7104
|
anthropic: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
7083
7105
|
openai: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
7084
7106
|
google: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
@@ -7177,6 +7199,7 @@ declare const makeApiFromGroup: <const Group extends HttpApiGroup.Any, LocationI
|
|
|
7177
7199
|
readonly text: import("effect/Schema").String;
|
|
7178
7200
|
}>>, never, never>;
|
|
7179
7201
|
}>>>, never, never>;
|
|
7202
|
+
readonly replyLanguage: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
7180
7203
|
readonly type: import("effect/Schema").Literal<"user">;
|
|
7181
7204
|
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Session.Message.ID"> & {
|
|
7182
7205
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
@@ -7229,6 +7252,7 @@ declare const makeApiFromGroup: <const Group extends HttpApiGroup.Any, LocationI
|
|
|
7229
7252
|
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "ModelV2.ID">;
|
|
7230
7253
|
readonly providerID: import("effect/Schema").brand<import("effect/Schema").String, "ProviderV2.ID"> & {
|
|
7231
7254
|
opencode: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
7255
|
+
zyraxon: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
7232
7256
|
anthropic: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
7233
7257
|
openai: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
7234
7258
|
google: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
@@ -7463,6 +7487,7 @@ declare const makeApiFromGroup: <const Group extends HttpApiGroup.Any, LocationI
|
|
|
7463
7487
|
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "ModelV2.ID">;
|
|
7464
7488
|
readonly providerID: import("effect/Schema").brand<import("effect/Schema").String, "ProviderV2.ID"> & {
|
|
7465
7489
|
opencode: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
7490
|
+
zyraxon: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
7466
7491
|
anthropic: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
7467
7492
|
openai: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
7468
7493
|
google: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
@@ -7561,6 +7586,7 @@ declare const makeApiFromGroup: <const Group extends HttpApiGroup.Any, LocationI
|
|
|
7561
7586
|
readonly text: import("effect/Schema").String;
|
|
7562
7587
|
}>>, never, never>;
|
|
7563
7588
|
}>>>, never, never>;
|
|
7589
|
+
readonly replyLanguage: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
7564
7590
|
readonly type: import("effect/Schema").Literal<"user">;
|
|
7565
7591
|
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Session.Message.ID"> & {
|
|
7566
7592
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
@@ -7613,6 +7639,7 @@ declare const makeApiFromGroup: <const Group extends HttpApiGroup.Any, LocationI
|
|
|
7613
7639
|
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "ModelV2.ID">;
|
|
7614
7640
|
readonly providerID: import("effect/Schema").brand<import("effect/Schema").String, "ProviderV2.ID"> & {
|
|
7615
7641
|
opencode: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
7642
|
+
zyraxon: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
7616
7643
|
anthropic: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
7617
7644
|
openai: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
7618
7645
|
google: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
@@ -7836,6 +7863,7 @@ declare const makeApiFromGroup: <const Group extends HttpApiGroup.Any, LocationI
|
|
|
7836
7863
|
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "ModelV2.ID">;
|
|
7837
7864
|
readonly providerID: import("effect/Schema").brand<import("effect/Schema").String, "ProviderV2.ID"> & {
|
|
7838
7865
|
opencode: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
7866
|
+
zyraxon: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
7839
7867
|
anthropic: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
7840
7868
|
openai: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
7841
7869
|
google: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
@@ -7980,6 +8008,7 @@ declare const makeApiFromGroup: <const Group extends HttpApiGroup.Any, LocationI
|
|
|
7980
8008
|
readonly data: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
7981
8009
|
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "ProviderV2.ID"> & {
|
|
7982
8010
|
opencode: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
8011
|
+
zyraxon: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
7983
8012
|
anthropic: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
7984
8013
|
openai: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
7985
8014
|
google: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
@@ -8041,6 +8070,7 @@ declare const makeApiFromGroup: <const Group extends HttpApiGroup.Any, LocationI
|
|
|
8041
8070
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./errors").ServiceUnavailableError>, SchemaErrorMiddleware | Authorization | LocationId, Exclude<Exclude<HttpApiMiddleware.Requires<LocationId>, never>, never>> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"provider.get", "GET", "/api/provider/:providerID", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
8042
8071
|
providerID: import("effect/Schema").brand<import("effect/Schema").String, "ProviderV2.ID"> & {
|
|
8043
8072
|
opencode: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
8073
|
+
zyraxon: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
8044
8074
|
anthropic: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
8045
8075
|
openai: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
8046
8076
|
google: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
@@ -8062,6 +8092,7 @@ declare const makeApiFromGroup: <const Group extends HttpApiGroup.Any, LocationI
|
|
|
8062
8092
|
readonly data: import("effect/Schema").Struct<{
|
|
8063
8093
|
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "ProviderV2.ID"> & {
|
|
8064
8094
|
opencode: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
8095
|
+
zyraxon: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
8065
8096
|
anthropic: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
8066
8097
|
openai: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
8067
8098
|
google: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
@@ -8434,6 +8465,7 @@ declare const makeApiFromGroup: <const Group extends HttpApiGroup.Any, LocationI
|
|
|
8434
8465
|
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "ModelV2.ID">;
|
|
8435
8466
|
readonly providerID: import("effect/Schema").brand<import("effect/Schema").String, "ProviderV2.ID"> & {
|
|
8436
8467
|
opencode: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
8468
|
+
zyraxon: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
8437
8469
|
anthropic: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
8438
8470
|
openai: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
8439
8471
|
google: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
@@ -8450,6 +8482,7 @@ declare const makeApiFromGroup: <const Group extends HttpApiGroup.Any, LocationI
|
|
|
8450
8482
|
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "ModelV2.ID">;
|
|
8451
8483
|
readonly providerID: import("effect/Schema").brand<import("effect/Schema").String, "ProviderV2.ID"> & {
|
|
8452
8484
|
opencode: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
8485
|
+
zyraxon: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
8453
8486
|
anthropic: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
8454
8487
|
openai: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
8455
8488
|
google: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
@@ -8746,7 +8779,82 @@ declare const makeApiFromGroup: <const Group extends HttpApiGroup.Any, LocationI
|
|
|
8746
8779
|
readonly directory: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
8747
8780
|
readonly workspace: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
8748
8781
|
}>>;
|
|
8749
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/unstable/httpapi/HttpApiSchema").NoContent>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./groups/project-copy").ProjectCopyError>, SchemaErrorMiddleware | Authorization | LocationId, Exclude<Exclude<HttpApiMiddleware.Requires<LocationId>, never>, never>>, false
|
|
8782
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/unstable/httpapi/HttpApiSchema").NoContent>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./groups/project-copy").ProjectCopyError>, SchemaErrorMiddleware | Authorization | LocationId, Exclude<Exclude<HttpApiMiddleware.Requires<LocationId>, never>, never>>, false> | HttpApiGroup.HttpApiGroup<"server.storage", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"storage.usage", "GET", "/api/storage", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
8783
|
+
readonly location: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
8784
|
+
readonly directory: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
8785
|
+
readonly workspace: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
8786
|
+
}>>;
|
|
8787
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
8788
|
+
readonly location: typeof import("@zyraxon-ai/schema/location").Info;
|
|
8789
|
+
readonly data: import("effect/Schema").Struct<{
|
|
8790
|
+
readonly path: import("effect/Schema").String;
|
|
8791
|
+
readonly bytes: import("effect/Schema").Number;
|
|
8792
|
+
readonly pages: import("effect/Schema").Number;
|
|
8793
|
+
readonly freelistPages: import("effect/Schema").Number;
|
|
8794
|
+
readonly pageSize: import("effect/Schema").Number;
|
|
8795
|
+
readonly sessions: import("effect/Schema").Number;
|
|
8796
|
+
readonly messages: import("effect/Schema").Number;
|
|
8797
|
+
readonly parts: import("effect/Schema").Number;
|
|
8798
|
+
}>;
|
|
8799
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<never>, SchemaErrorMiddleware | Authorization | LocationId, Exclude<Exclude<HttpApiMiddleware.Requires<LocationId>, never>, never>> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"storage.compact", "POST", "/api/storage/compact", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
8800
|
+
readonly location: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
8801
|
+
readonly directory: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
8802
|
+
readonly workspace: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
8803
|
+
}>>;
|
|
8804
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
8805
|
+
readonly location: typeof import("@zyraxon-ai/schema/location").Info;
|
|
8806
|
+
readonly data: import("effect/Schema").Struct<{
|
|
8807
|
+
readonly sessions: import("effect/Schema").Number;
|
|
8808
|
+
readonly messages: import("effect/Schema").Number;
|
|
8809
|
+
readonly parts: import("effect/Schema").Number;
|
|
8810
|
+
readonly bytesBefore: import("effect/Schema").Number;
|
|
8811
|
+
readonly bytesAfter: import("effect/Schema").Number;
|
|
8812
|
+
}>;
|
|
8813
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<never>, SchemaErrorMiddleware | Authorization | LocationId, Exclude<Exclude<HttpApiMiddleware.Requires<LocationId>, never>, never>> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"storage.purge", "POST", "/api/storage/purge", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
8814
|
+
readonly location: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
8815
|
+
readonly directory: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
8816
|
+
readonly workspace: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
8817
|
+
}>>;
|
|
8818
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
8819
|
+
readonly sessionIDs: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").String>>;
|
|
8820
|
+
readonly olderThan: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
8821
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
8822
|
+
readonly location: typeof import("@zyraxon-ai/schema/location").Info;
|
|
8823
|
+
readonly data: import("effect/Schema").Struct<{
|
|
8824
|
+
readonly sessions: import("effect/Schema").Number;
|
|
8825
|
+
readonly messages: import("effect/Schema").Number;
|
|
8826
|
+
readonly parts: import("effect/Schema").Number;
|
|
8827
|
+
readonly bytesBefore: import("effect/Schema").Number;
|
|
8828
|
+
readonly bytesAfter: import("effect/Schema").Number;
|
|
8829
|
+
}>;
|
|
8830
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./errors").InvalidRequestError>, SchemaErrorMiddleware | Authorization | LocationId, Exclude<Exclude<HttpApiMiddleware.Requires<LocationId>, never>, never>> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"storage.locations", "GET", "/api/storage/locations", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
8831
|
+
readonly location: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
8832
|
+
readonly directory: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
8833
|
+
readonly workspace: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
8834
|
+
}>>;
|
|
8835
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
8836
|
+
readonly location: typeof import("@zyraxon-ai/schema/location").Info;
|
|
8837
|
+
readonly data: import("effect/Schema").Struct<{
|
|
8838
|
+
readonly locations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
8839
|
+
readonly id: import("effect/Schema").String;
|
|
8840
|
+
readonly label: import("effect/Schema").String;
|
|
8841
|
+
readonly kind: import("effect/Schema").Literals<readonly ["database", "directory", "config", "mcp"]>;
|
|
8842
|
+
readonly path: import("effect/Schema").String;
|
|
8843
|
+
readonly exists: import("effect/Schema").Boolean;
|
|
8844
|
+
readonly bytes: import("effect/Schema").Number;
|
|
8845
|
+
readonly deletable: import("effect/Schema").Boolean;
|
|
8846
|
+
}>>;
|
|
8847
|
+
}>;
|
|
8848
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<never>, SchemaErrorMiddleware | Authorization | LocationId, Exclude<Exclude<HttpApiMiddleware.Requires<LocationId>, never>, never>>, false>>;
|
|
8849
|
+
/**
|
|
8850
|
+
* The full protocol surface, shared by the server and any client that talks to
|
|
8851
|
+
* it directly.
|
|
8852
|
+
*
|
|
8853
|
+
* Every group below has to be added to the returned API. `makeApi` used to
|
|
8854
|
+
* return only the event group, which meant routes declared here — storage among
|
|
8855
|
+
* them — never reached the server: a request for one of them answered 500 with an
|
|
8856
|
+
* empty body instead of running its handler.
|
|
8857
|
+
*/
|
|
8750
8858
|
export declare const makeApi: <LocationId extends HttpApiMiddleware.AnyId, LocationService, SessionLocationId extends HttpApiMiddleware.AnyId, SessionLocationService>(options: {
|
|
8751
8859
|
readonly definitions: ReadonlyArray<Definition>;
|
|
8752
8860
|
readonly locationMiddleware: Context.Key<LocationId, LocationService>;
|
|
@@ -8793,6 +8901,7 @@ export declare const makeApi: <LocationId extends HttpApiMiddleware.AnyId, Locat
|
|
|
8793
8901
|
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "ModelV2.ID">;
|
|
8794
8902
|
readonly providerID: import("effect/Schema").brand<import("effect/Schema").String, "ProviderV2.ID"> & {
|
|
8795
8903
|
opencode: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
8904
|
+
zyraxon: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
8796
8905
|
anthropic: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
8797
8906
|
openai: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
8798
8907
|
google: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
@@ -8809,6 +8918,7 @@ export declare const makeApi: <LocationId extends HttpApiMiddleware.AnyId, Locat
|
|
|
8809
8918
|
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "ModelV2.ID">;
|
|
8810
8919
|
readonly providerID: import("effect/Schema").brand<import("effect/Schema").String, "ProviderV2.ID"> & {
|
|
8811
8920
|
opencode: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
8921
|
+
zyraxon: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
8812
8922
|
anthropic: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
8813
8923
|
openai: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
8814
8924
|
google: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
@@ -8901,6 +9011,7 @@ export declare const makeApi: <LocationId extends HttpApiMiddleware.AnyId, Locat
|
|
|
8901
9011
|
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "ModelV2.ID">;
|
|
8902
9012
|
readonly providerID: import("effect/Schema").brand<import("effect/Schema").String, "ProviderV2.ID"> & {
|
|
8903
9013
|
opencode: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
9014
|
+
zyraxon: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
8904
9015
|
anthropic: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
8905
9016
|
openai: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
8906
9017
|
google: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
@@ -8917,6 +9028,7 @@ export declare const makeApi: <LocationId extends HttpApiMiddleware.AnyId, Locat
|
|
|
8917
9028
|
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "ModelV2.ID">;
|
|
8918
9029
|
readonly providerID: import("effect/Schema").brand<import("effect/Schema").String, "ProviderV2.ID"> & {
|
|
8919
9030
|
opencode: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
9031
|
+
zyraxon: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
8920
9032
|
anthropic: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
8921
9033
|
openai: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
8922
9034
|
google: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
@@ -9139,6 +9251,7 @@ export declare const makeApi: <LocationId extends HttpApiMiddleware.AnyId, Locat
|
|
|
9139
9251
|
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "ModelV2.ID">;
|
|
9140
9252
|
readonly providerID: import("effect/Schema").brand<import("effect/Schema").String, "ProviderV2.ID"> & {
|
|
9141
9253
|
opencode: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
9254
|
+
zyraxon: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
9142
9255
|
anthropic: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
9143
9256
|
openai: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
9144
9257
|
google: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
@@ -9183,6 +9296,7 @@ export declare const makeApi: <LocationId extends HttpApiMiddleware.AnyId, Locat
|
|
|
9183
9296
|
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "ModelV2.ID">;
|
|
9184
9297
|
readonly providerID: import("effect/Schema").brand<import("effect/Schema").String, "ProviderV2.ID"> & {
|
|
9185
9298
|
opencode: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
9299
|
+
zyraxon: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
9186
9300
|
anthropic: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
9187
9301
|
openai: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
9188
9302
|
google: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
@@ -9199,6 +9313,7 @@ export declare const makeApi: <LocationId extends HttpApiMiddleware.AnyId, Locat
|
|
|
9199
9313
|
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "ModelV2.ID">;
|
|
9200
9314
|
readonly providerID: import("effect/Schema").brand<import("effect/Schema").String, "ProviderV2.ID"> & {
|
|
9201
9315
|
opencode: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
9316
|
+
zyraxon: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
9202
9317
|
anthropic: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
9203
9318
|
openai: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
9204
9319
|
google: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
@@ -9314,6 +9429,7 @@ export declare const makeApi: <LocationId extends HttpApiMiddleware.AnyId, Locat
|
|
|
9314
9429
|
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "ModelV2.ID">;
|
|
9315
9430
|
readonly providerID: import("effect/Schema").brand<import("effect/Schema").String, "ProviderV2.ID"> & {
|
|
9316
9431
|
opencode: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
9432
|
+
zyraxon: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
9317
9433
|
anthropic: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
9318
9434
|
openai: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
9319
9435
|
google: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
@@ -9330,6 +9446,7 @@ export declare const makeApi: <LocationId extends HttpApiMiddleware.AnyId, Locat
|
|
|
9330
9446
|
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "ModelV2.ID">;
|
|
9331
9447
|
readonly providerID: import("effect/Schema").brand<import("effect/Schema").String, "ProviderV2.ID"> & {
|
|
9332
9448
|
opencode: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
9449
|
+
zyraxon: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
9333
9450
|
anthropic: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
9334
9451
|
openai: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
9335
9452
|
google: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
@@ -9429,6 +9546,7 @@ export declare const makeApi: <LocationId extends HttpApiMiddleware.AnyId, Locat
|
|
|
9429
9546
|
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "ModelV2.ID">;
|
|
9430
9547
|
readonly providerID: import("effect/Schema").brand<import("effect/Schema").String, "ProviderV2.ID"> & {
|
|
9431
9548
|
opencode: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
9549
|
+
zyraxon: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
9432
9550
|
anthropic: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
9433
9551
|
openai: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
9434
9552
|
google: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
@@ -9740,6 +9858,7 @@ export declare const makeApi: <LocationId extends HttpApiMiddleware.AnyId, Locat
|
|
|
9740
9858
|
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "ModelV2.ID">;
|
|
9741
9859
|
readonly providerID: import("effect/Schema").brand<import("effect/Schema").String, "ProviderV2.ID"> & {
|
|
9742
9860
|
opencode: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
9861
|
+
zyraxon: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
9743
9862
|
anthropic: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
9744
9863
|
openai: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
9745
9864
|
google: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
@@ -9838,6 +9957,7 @@ export declare const makeApi: <LocationId extends HttpApiMiddleware.AnyId, Locat
|
|
|
9838
9957
|
readonly text: import("effect/Schema").String;
|
|
9839
9958
|
}>>, never, never>;
|
|
9840
9959
|
}>>>, never, never>;
|
|
9960
|
+
readonly replyLanguage: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
9841
9961
|
readonly type: import("effect/Schema").Literal<"user">;
|
|
9842
9962
|
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Session.Message.ID"> & {
|
|
9843
9963
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
@@ -9890,6 +10010,7 @@ export declare const makeApi: <LocationId extends HttpApiMiddleware.AnyId, Locat
|
|
|
9890
10010
|
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "ModelV2.ID">;
|
|
9891
10011
|
readonly providerID: import("effect/Schema").brand<import("effect/Schema").String, "ProviderV2.ID"> & {
|
|
9892
10012
|
opencode: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
10013
|
+
zyraxon: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
9893
10014
|
anthropic: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
9894
10015
|
openai: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
9895
10016
|
google: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
@@ -10211,6 +10332,7 @@ export declare const makeApi: <LocationId extends HttpApiMiddleware.AnyId, Locat
|
|
|
10211
10332
|
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "ModelV2.ID">;
|
|
10212
10333
|
readonly providerID: import("effect/Schema").brand<import("effect/Schema").String, "ProviderV2.ID"> & {
|
|
10213
10334
|
opencode: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
10335
|
+
zyraxon: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
10214
10336
|
anthropic: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
10215
10337
|
openai: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
10216
10338
|
google: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
@@ -10239,6 +10361,7 @@ export declare const makeApi: <LocationId extends HttpApiMiddleware.AnyId, Locat
|
|
|
10239
10361
|
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "ModelV2.ID">;
|
|
10240
10362
|
readonly providerID: import("effect/Schema").brand<import("effect/Schema").String, "ProviderV2.ID"> & {
|
|
10241
10363
|
opencode: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
10364
|
+
zyraxon: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
10242
10365
|
anthropic: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
10243
10366
|
openai: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
10244
10367
|
google: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
@@ -11248,6 +11371,7 @@ export declare const makeApi: <LocationId extends HttpApiMiddleware.AnyId, Locat
|
|
|
11248
11371
|
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "ModelV2.ID">;
|
|
11249
11372
|
readonly providerID: import("effect/Schema").brand<import("effect/Schema").String, "ProviderV2.ID"> & {
|
|
11250
11373
|
opencode: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
11374
|
+
zyraxon: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
11251
11375
|
anthropic: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
11252
11376
|
openai: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
11253
11377
|
google: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
@@ -11278,6 +11402,7 @@ export declare const makeApi: <LocationId extends HttpApiMiddleware.AnyId, Locat
|
|
|
11278
11402
|
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "ModelV2.ID">;
|
|
11279
11403
|
readonly providerID: import("effect/Schema").brand<import("effect/Schema").String, "ProviderV2.ID"> & {
|
|
11280
11404
|
opencode: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
11405
|
+
zyraxon: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
11281
11406
|
anthropic: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
11282
11407
|
openai: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
11283
11408
|
google: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
@@ -12694,6 +12819,7 @@ export declare const makeApi: <LocationId extends HttpApiMiddleware.AnyId, Locat
|
|
|
12694
12819
|
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "ModelV2.ID">;
|
|
12695
12820
|
readonly providerID: import("effect/Schema").brand<import("effect/Schema").String, "ProviderV2.ID"> & {
|
|
12696
12821
|
opencode: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
12822
|
+
zyraxon: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
12697
12823
|
anthropic: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
12698
12824
|
openai: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
12699
12825
|
google: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
@@ -12722,6 +12848,7 @@ export declare const makeApi: <LocationId extends HttpApiMiddleware.AnyId, Locat
|
|
|
12722
12848
|
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "ModelV2.ID">;
|
|
12723
12849
|
readonly providerID: import("effect/Schema").brand<import("effect/Schema").String, "ProviderV2.ID"> & {
|
|
12724
12850
|
opencode: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
12851
|
+
zyraxon: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
12725
12852
|
anthropic: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
12726
12853
|
openai: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
12727
12854
|
google: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
@@ -13731,6 +13858,7 @@ export declare const makeApi: <LocationId extends HttpApiMiddleware.AnyId, Locat
|
|
|
13731
13858
|
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "ModelV2.ID">;
|
|
13732
13859
|
readonly providerID: import("effect/Schema").brand<import("effect/Schema").String, "ProviderV2.ID"> & {
|
|
13733
13860
|
opencode: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
13861
|
+
zyraxon: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
13734
13862
|
anthropic: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
13735
13863
|
openai: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
13736
13864
|
google: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
@@ -13761,6 +13889,7 @@ export declare const makeApi: <LocationId extends HttpApiMiddleware.AnyId, Locat
|
|
|
13761
13889
|
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "ModelV2.ID">;
|
|
13762
13890
|
readonly providerID: import("effect/Schema").brand<import("effect/Schema").String, "ProviderV2.ID"> & {
|
|
13763
13891
|
opencode: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
13892
|
+
zyraxon: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
13764
13893
|
anthropic: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
13765
13894
|
openai: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
13766
13895
|
google: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
@@ -15849,6 +15978,7 @@ export declare const makeApi: <LocationId extends HttpApiMiddleware.AnyId, Locat
|
|
|
15849
15978
|
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "ModelV2.ID">;
|
|
15850
15979
|
readonly providerID: import("effect/Schema").brand<import("effect/Schema").String, "ProviderV2.ID"> & {
|
|
15851
15980
|
opencode: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
15981
|
+
zyraxon: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
15852
15982
|
anthropic: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
15853
15983
|
openai: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
15854
15984
|
google: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
@@ -15947,6 +16077,7 @@ export declare const makeApi: <LocationId extends HttpApiMiddleware.AnyId, Locat
|
|
|
15947
16077
|
readonly text: import("effect/Schema").String;
|
|
15948
16078
|
}>>, never, never>;
|
|
15949
16079
|
}>>>, never, never>;
|
|
16080
|
+
readonly replyLanguage: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
15950
16081
|
readonly type: import("effect/Schema").Literal<"user">;
|
|
15951
16082
|
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Session.Message.ID"> & {
|
|
15952
16083
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
@@ -15999,6 +16130,7 @@ export declare const makeApi: <LocationId extends HttpApiMiddleware.AnyId, Locat
|
|
|
15999
16130
|
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "ModelV2.ID">;
|
|
16000
16131
|
readonly providerID: import("effect/Schema").brand<import("effect/Schema").String, "ProviderV2.ID"> & {
|
|
16001
16132
|
opencode: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
16133
|
+
zyraxon: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
16002
16134
|
anthropic: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
16003
16135
|
openai: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
16004
16136
|
google: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
@@ -16233,6 +16365,7 @@ export declare const makeApi: <LocationId extends HttpApiMiddleware.AnyId, Locat
|
|
|
16233
16365
|
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "ModelV2.ID">;
|
|
16234
16366
|
readonly providerID: import("effect/Schema").brand<import("effect/Schema").String, "ProviderV2.ID"> & {
|
|
16235
16367
|
opencode: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
16368
|
+
zyraxon: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
16236
16369
|
anthropic: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
16237
16370
|
openai: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
16238
16371
|
google: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
@@ -16331,6 +16464,7 @@ export declare const makeApi: <LocationId extends HttpApiMiddleware.AnyId, Locat
|
|
|
16331
16464
|
readonly text: import("effect/Schema").String;
|
|
16332
16465
|
}>>, never, never>;
|
|
16333
16466
|
}>>>, never, never>;
|
|
16467
|
+
readonly replyLanguage: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
16334
16468
|
readonly type: import("effect/Schema").Literal<"user">;
|
|
16335
16469
|
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Session.Message.ID"> & {
|
|
16336
16470
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
@@ -16383,6 +16517,7 @@ export declare const makeApi: <LocationId extends HttpApiMiddleware.AnyId, Locat
|
|
|
16383
16517
|
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "ModelV2.ID">;
|
|
16384
16518
|
readonly providerID: import("effect/Schema").brand<import("effect/Schema").String, "ProviderV2.ID"> & {
|
|
16385
16519
|
opencode: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
16520
|
+
zyraxon: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
16386
16521
|
anthropic: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
16387
16522
|
openai: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
16388
16523
|
google: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
@@ -16606,6 +16741,7 @@ export declare const makeApi: <LocationId extends HttpApiMiddleware.AnyId, Locat
|
|
|
16606
16741
|
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "ModelV2.ID">;
|
|
16607
16742
|
readonly providerID: import("effect/Schema").brand<import("effect/Schema").String, "ProviderV2.ID"> & {
|
|
16608
16743
|
opencode: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
16744
|
+
zyraxon: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
16609
16745
|
anthropic: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
16610
16746
|
openai: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
16611
16747
|
google: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
@@ -16750,6 +16886,7 @@ export declare const makeApi: <LocationId extends HttpApiMiddleware.AnyId, Locat
|
|
|
16750
16886
|
readonly data: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
16751
16887
|
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "ProviderV2.ID"> & {
|
|
16752
16888
|
opencode: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
16889
|
+
zyraxon: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
16753
16890
|
anthropic: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
16754
16891
|
openai: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
16755
16892
|
google: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
@@ -16811,6 +16948,7 @@ export declare const makeApi: <LocationId extends HttpApiMiddleware.AnyId, Locat
|
|
|
16811
16948
|
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./errors").ServiceUnavailableError>, SchemaErrorMiddleware | Authorization | LocationId, Exclude<Exclude<HttpApiMiddleware.Requires<LocationId>, never>, never>> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"provider.get", "GET", "/api/provider/:providerID", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
16812
16949
|
providerID: import("effect/Schema").brand<import("effect/Schema").String, "ProviderV2.ID"> & {
|
|
16813
16950
|
opencode: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
16951
|
+
zyraxon: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
16814
16952
|
anthropic: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
16815
16953
|
openai: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
16816
16954
|
google: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
@@ -16832,6 +16970,7 @@ export declare const makeApi: <LocationId extends HttpApiMiddleware.AnyId, Locat
|
|
|
16832
16970
|
readonly data: import("effect/Schema").Struct<{
|
|
16833
16971
|
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "ProviderV2.ID"> & {
|
|
16834
16972
|
opencode: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
16973
|
+
zyraxon: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
16835
16974
|
anthropic: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
16836
16975
|
openai: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
16837
16976
|
google: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
@@ -17204,6 +17343,7 @@ export declare const makeApi: <LocationId extends HttpApiMiddleware.AnyId, Locat
|
|
|
17204
17343
|
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "ModelV2.ID">;
|
|
17205
17344
|
readonly providerID: import("effect/Schema").brand<import("effect/Schema").String, "ProviderV2.ID"> & {
|
|
17206
17345
|
opencode: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
17346
|
+
zyraxon: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
17207
17347
|
anthropic: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
17208
17348
|
openai: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
17209
17349
|
google: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
@@ -17220,6 +17360,7 @@ export declare const makeApi: <LocationId extends HttpApiMiddleware.AnyId, Locat
|
|
|
17220
17360
|
readonly id: import("effect/Schema").brand<import("effect/Schema").String, "ModelV2.ID">;
|
|
17221
17361
|
readonly providerID: import("effect/Schema").brand<import("effect/Schema").String, "ProviderV2.ID"> & {
|
|
17222
17362
|
opencode: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
17363
|
+
zyraxon: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
17223
17364
|
anthropic: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
17224
17365
|
openai: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
17225
17366
|
google: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
@@ -17516,7 +17657,73 @@ export declare const makeApi: <LocationId extends HttpApiMiddleware.AnyId, Locat
|
|
|
17516
17657
|
readonly directory: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
17517
17658
|
readonly workspace: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
17518
17659
|
}>>;
|
|
17519
|
-
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/unstable/httpapi/HttpApiSchema").NoContent>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./groups/project-copy").ProjectCopyError>, SchemaErrorMiddleware | Authorization | LocationId, Exclude<Exclude<HttpApiMiddleware.Requires<LocationId>, never>, never>>, false
|
|
17660
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/unstable/httpapi/HttpApiSchema").NoContent>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./groups/project-copy").ProjectCopyError>, SchemaErrorMiddleware | Authorization | LocationId, Exclude<Exclude<HttpApiMiddleware.Requires<LocationId>, never>, never>>, false> | HttpApiGroup.HttpApiGroup<"server.storage", import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"storage.usage", "GET", "/api/storage", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
17661
|
+
readonly location: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
17662
|
+
readonly directory: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
17663
|
+
readonly workspace: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
17664
|
+
}>>;
|
|
17665
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
17666
|
+
readonly location: typeof import("@zyraxon-ai/schema/location").Info;
|
|
17667
|
+
readonly data: import("effect/Schema").Struct<{
|
|
17668
|
+
readonly path: import("effect/Schema").String;
|
|
17669
|
+
readonly bytes: import("effect/Schema").Number;
|
|
17670
|
+
readonly pages: import("effect/Schema").Number;
|
|
17671
|
+
readonly freelistPages: import("effect/Schema").Number;
|
|
17672
|
+
readonly pageSize: import("effect/Schema").Number;
|
|
17673
|
+
readonly sessions: import("effect/Schema").Number;
|
|
17674
|
+
readonly messages: import("effect/Schema").Number;
|
|
17675
|
+
readonly parts: import("effect/Schema").Number;
|
|
17676
|
+
}>;
|
|
17677
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<never>, SchemaErrorMiddleware | Authorization | LocationId, Exclude<Exclude<HttpApiMiddleware.Requires<LocationId>, never>, never>> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"storage.compact", "POST", "/api/storage/compact", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
17678
|
+
readonly location: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
17679
|
+
readonly directory: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
17680
|
+
readonly workspace: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
17681
|
+
}>>;
|
|
17682
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
17683
|
+
readonly location: typeof import("@zyraxon-ai/schema/location").Info;
|
|
17684
|
+
readonly data: import("effect/Schema").Struct<{
|
|
17685
|
+
readonly sessions: import("effect/Schema").Number;
|
|
17686
|
+
readonly messages: import("effect/Schema").Number;
|
|
17687
|
+
readonly parts: import("effect/Schema").Number;
|
|
17688
|
+
readonly bytesBefore: import("effect/Schema").Number;
|
|
17689
|
+
readonly bytesAfter: import("effect/Schema").Number;
|
|
17690
|
+
}>;
|
|
17691
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<never>, SchemaErrorMiddleware | Authorization | LocationId, Exclude<Exclude<HttpApiMiddleware.Requires<LocationId>, never>, never>> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"storage.purge", "POST", "/api/storage/purge", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
17692
|
+
readonly location: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
17693
|
+
readonly directory: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
17694
|
+
readonly workspace: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
17695
|
+
}>>;
|
|
17696
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
17697
|
+
readonly sessionIDs: import("effect/Schema").optional<import("effect/Schema").$Array<import("effect/Schema").String>>;
|
|
17698
|
+
readonly olderThan: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
17699
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
17700
|
+
readonly location: typeof import("@zyraxon-ai/schema/location").Info;
|
|
17701
|
+
readonly data: import("effect/Schema").Struct<{
|
|
17702
|
+
readonly sessions: import("effect/Schema").Number;
|
|
17703
|
+
readonly messages: import("effect/Schema").Number;
|
|
17704
|
+
readonly parts: import("effect/Schema").Number;
|
|
17705
|
+
readonly bytesBefore: import("effect/Schema").Number;
|
|
17706
|
+
readonly bytesAfter: import("effect/Schema").Number;
|
|
17707
|
+
}>;
|
|
17708
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<typeof import("./errors").InvalidRequestError>, SchemaErrorMiddleware | Authorization | LocationId, Exclude<Exclude<HttpApiMiddleware.Requires<LocationId>, never>, never>> | import("effect/unstable/httpapi/HttpApiEndpoint").HttpApiEndpoint<"storage.locations", "GET", "/api/storage/locations", import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<import("effect/Schema").Struct<{
|
|
17709
|
+
readonly location: import("effect/Schema").optional<import("effect/Schema").Struct<{
|
|
17710
|
+
readonly directory: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
17711
|
+
readonly workspace: import("effect/Schema").optional<import("effect/Schema").String>;
|
|
17712
|
+
}>>;
|
|
17713
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").StringTree<never>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<import("effect/Schema").Struct<{
|
|
17714
|
+
readonly location: typeof import("@zyraxon-ai/schema/location").Info;
|
|
17715
|
+
readonly data: import("effect/Schema").Struct<{
|
|
17716
|
+
readonly locations: import("effect/Schema").$Array<import("effect/Schema").Struct<{
|
|
17717
|
+
readonly id: import("effect/Schema").String;
|
|
17718
|
+
readonly label: import("effect/Schema").String;
|
|
17719
|
+
readonly kind: import("effect/Schema").Literals<readonly ["database", "directory", "config", "mcp"]>;
|
|
17720
|
+
readonly path: import("effect/Schema").String;
|
|
17721
|
+
readonly exists: import("effect/Schema").Boolean;
|
|
17722
|
+
readonly bytes: import("effect/Schema").Number;
|
|
17723
|
+
readonly deletable: import("effect/Schema").Boolean;
|
|
17724
|
+
}>>;
|
|
17725
|
+
}>;
|
|
17726
|
+
}>>, import("effect/unstable/httpapi/HttpApiEndpoint").Json<never>, SchemaErrorMiddleware | Authorization | LocationId, Exclude<Exclude<HttpApiMiddleware.Requires<LocationId>, never>, never>>, false>>;
|
|
17520
17727
|
export declare const makeDefaultApi: <LocationId extends HttpApiMiddleware.AnyId, LocationService, SessionLocationId extends HttpApiMiddleware.AnyId, SessionLocationService>(options: {
|
|
17521
17728
|
readonly locationMiddleware: Context.Key<LocationId, LocationService>;
|
|
17522
17729
|
readonly sessionLocationMiddleware: Context.Key<SessionLocationId, SessionLocationService>;
|