@opencode/protocol 2.2.2 → 2.2.4
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/client.js +1 -0
- package/dist/errors.d.ts +12 -0
- package/dist/errors.js +10 -0
- package/dist/groups/agent.d.ts +4 -0
- package/dist/groups/artifact.d.ts +173 -0
- package/dist/groups/artifact.js +80 -0
- package/dist/groups/credential.d.ts +2 -2
- package/dist/groups/credential.js +3 -3
- package/dist/groups/event.d.ts +333 -1
- package/dist/groups/experimental.d.ts +275 -10
- package/dist/groups/experimental.js +2 -1
- package/dist/groups/generate.d.ts +4 -0
- package/dist/groups/message.d.ts +30 -0
- package/dist/groups/model.d.ts +6 -0
- package/dist/groups/persistent-pty.d.ts +13 -4
- package/dist/groups/persistent-pty.js +6 -3
- package/dist/groups/provider.d.ts +7 -0
- package/dist/groups/schedule.d.ts +128 -12
- package/dist/groups/session.d.ts +57 -0
- package/dist/groups/usage.d.ts +1 -0
- package/package.json +2 -2
package/dist/groups/message.d.ts
CHANGED
|
@@ -38,6 +38,7 @@ export declare const PublicSessionMessage: Schema.Union<readonly [Schema.Struct<
|
|
|
38
38
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
39
39
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
40
40
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
41
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
41
42
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
42
43
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
43
44
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -61,6 +62,7 @@ export declare const PublicSessionMessage: Schema.Union<readonly [Schema.Struct<
|
|
|
61
62
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
62
63
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
63
64
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
65
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
64
66
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
65
67
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
66
68
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -83,6 +85,7 @@ export declare const PublicSessionMessage: Schema.Union<readonly [Schema.Struct<
|
|
|
83
85
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
84
86
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
85
87
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
88
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
86
89
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
87
90
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
88
91
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -348,6 +351,7 @@ export declare const PublicSessionMessage: Schema.Union<readonly [Schema.Struct<
|
|
|
348
351
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
349
352
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
350
353
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
354
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
351
355
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
352
356
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
353
357
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -587,6 +591,7 @@ export declare const PublicSessionMessage: Schema.Union<readonly [Schema.Struct<
|
|
|
587
591
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
588
592
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
589
593
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
594
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
590
595
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
591
596
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
592
597
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -609,6 +614,7 @@ export declare const PublicSessionMessage: Schema.Union<readonly [Schema.Struct<
|
|
|
609
614
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
610
615
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
611
616
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
617
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
612
618
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
613
619
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
614
620
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -738,6 +744,7 @@ export declare const PublicMediaSessionMessage: Schema.Union<readonly [Schema.St
|
|
|
738
744
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
739
745
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
740
746
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
747
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
741
748
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
742
749
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
743
750
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -761,6 +768,7 @@ export declare const PublicMediaSessionMessage: Schema.Union<readonly [Schema.St
|
|
|
761
768
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
762
769
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
763
770
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
771
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
764
772
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
765
773
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
766
774
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -783,6 +791,7 @@ export declare const PublicMediaSessionMessage: Schema.Union<readonly [Schema.St
|
|
|
783
791
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
784
792
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
785
793
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
794
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
786
795
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
787
796
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
788
797
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -1094,6 +1103,7 @@ export declare const PublicMediaSessionMessage: Schema.Union<readonly [Schema.St
|
|
|
1094
1103
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1095
1104
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1096
1105
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1106
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1097
1107
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1098
1108
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1099
1109
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -1333,6 +1343,7 @@ export declare const PublicMediaSessionMessage: Schema.Union<readonly [Schema.St
|
|
|
1333
1343
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1334
1344
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1335
1345
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1346
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1336
1347
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1337
1348
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1338
1349
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -1355,6 +1366,7 @@ export declare const PublicMediaSessionMessage: Schema.Union<readonly [Schema.St
|
|
|
1355
1366
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1356
1367
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1357
1368
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1369
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1358
1370
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1359
1371
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1360
1372
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -1482,6 +1494,7 @@ export declare const SessionMediaMessagesResponse: Schema.Struct<{
|
|
|
1482
1494
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1483
1495
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1484
1496
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1497
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1485
1498
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1486
1499
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1487
1500
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -1505,6 +1518,7 @@ export declare const SessionMediaMessagesResponse: Schema.Struct<{
|
|
|
1505
1518
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1506
1519
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1507
1520
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1521
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1508
1522
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1509
1523
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1510
1524
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -1527,6 +1541,7 @@ export declare const SessionMediaMessagesResponse: Schema.Struct<{
|
|
|
1527
1541
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1528
1542
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1529
1543
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1544
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1530
1545
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1531
1546
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1532
1547
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -1838,6 +1853,7 @@ export declare const SessionMediaMessagesResponse: Schema.Struct<{
|
|
|
1838
1853
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1839
1854
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1840
1855
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1856
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1841
1857
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1842
1858
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
1843
1859
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -2077,6 +2093,7 @@ export declare const SessionMediaMessagesResponse: Schema.Struct<{
|
|
|
2077
2093
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2078
2094
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2079
2095
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2096
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2080
2097
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2081
2098
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2082
2099
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -2099,6 +2116,7 @@ export declare const SessionMediaMessagesResponse: Schema.Struct<{
|
|
|
2099
2116
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2100
2117
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2101
2118
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2119
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2102
2120
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2103
2121
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2104
2122
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -2231,6 +2249,7 @@ export declare const SessionMediaMessageResponse: Schema.Struct<{
|
|
|
2231
2249
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2232
2250
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2233
2251
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2252
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2234
2253
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2235
2254
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2236
2255
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -2254,6 +2273,7 @@ export declare const SessionMediaMessageResponse: Schema.Struct<{
|
|
|
2254
2273
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2255
2274
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2256
2275
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2276
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2257
2277
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2258
2278
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2259
2279
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -2276,6 +2296,7 @@ export declare const SessionMediaMessageResponse: Schema.Struct<{
|
|
|
2276
2296
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2277
2297
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2278
2298
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2299
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2279
2300
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2280
2301
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2281
2302
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -2587,6 +2608,7 @@ export declare const SessionMediaMessageResponse: Schema.Struct<{
|
|
|
2587
2608
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2588
2609
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2589
2610
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2611
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2590
2612
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2591
2613
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2592
2614
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -2826,6 +2848,7 @@ export declare const SessionMediaMessageResponse: Schema.Struct<{
|
|
|
2826
2848
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2827
2849
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2828
2850
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2851
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2829
2852
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2830
2853
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2831
2854
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -2848,6 +2871,7 @@ export declare const SessionMediaMessageResponse: Schema.Struct<{
|
|
|
2848
2871
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2849
2872
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2850
2873
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2874
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2851
2875
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2852
2876
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2853
2877
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -2984,6 +3008,7 @@ export declare const MessageGroup: HttpApiGroup.HttpApiGroup<"server.message", H
|
|
|
2984
3008
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2985
3009
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2986
3010
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3011
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2987
3012
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2988
3013
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
2989
3014
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -3007,6 +3032,7 @@ export declare const MessageGroup: HttpApiGroup.HttpApiGroup<"server.message", H
|
|
|
3007
3032
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3008
3033
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3009
3034
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3035
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3010
3036
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3011
3037
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3012
3038
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -3029,6 +3055,7 @@ export declare const MessageGroup: HttpApiGroup.HttpApiGroup<"server.message", H
|
|
|
3029
3055
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3030
3056
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3031
3057
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3058
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3032
3059
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3033
3060
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3034
3061
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -3294,6 +3321,7 @@ export declare const MessageGroup: HttpApiGroup.HttpApiGroup<"server.message", H
|
|
|
3294
3321
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3295
3322
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3296
3323
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3324
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3297
3325
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3298
3326
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3299
3327
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -3533,6 +3561,7 @@ export declare const MessageGroup: HttpApiGroup.HttpApiGroup<"server.message", H
|
|
|
3533
3561
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3534
3562
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3535
3563
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3564
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3536
3565
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3537
3566
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3538
3567
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -3555,6 +3584,7 @@ export declare const MessageGroup: HttpApiGroup.HttpApiGroup<"server.message", H
|
|
|
3555
3584
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3556
3585
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3557
3586
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3587
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3558
3588
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3559
3589
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
3560
3590
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
package/dist/groups/model.d.ts
CHANGED
|
@@ -55,6 +55,7 @@ export declare const ModelGroup: HttpApiGroup.HttpApiGroup<"server.model", HttpA
|
|
|
55
55
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
56
56
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
57
57
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
58
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
58
59
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
59
60
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
60
61
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -68,6 +69,7 @@ export declare const ModelGroup: HttpApiGroup.HttpApiGroup<"server.model", HttpA
|
|
|
68
69
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
69
70
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
70
71
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
72
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
71
73
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
72
74
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
73
75
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -80,6 +82,7 @@ export declare const ModelGroup: HttpApiGroup.HttpApiGroup<"server.model", HttpA
|
|
|
80
82
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
81
83
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
82
84
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
85
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
83
86
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
84
87
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
85
88
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -266,6 +269,7 @@ export declare const ModelGroup: HttpApiGroup.HttpApiGroup<"server.model", HttpA
|
|
|
266
269
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
267
270
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
268
271
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
272
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
269
273
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
270
274
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
271
275
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -279,6 +283,7 @@ export declare const ModelGroup: HttpApiGroup.HttpApiGroup<"server.model", HttpA
|
|
|
279
283
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
280
284
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
281
285
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
286
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
282
287
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
283
288
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
284
289
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -291,6 +296,7 @@ export declare const ModelGroup: HttpApiGroup.HttpApiGroup<"server.model", HttpA
|
|
|
291
296
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
292
297
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
293
298
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
299
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
294
300
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
295
301
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
296
302
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Schema } from "effect";
|
|
2
2
|
import { HttpApiEndpoint, HttpApiGroup, HttpApiSchema } from "effect/http-api";
|
|
3
|
-
import { ForbiddenError, InvalidRequestError, PtyNotFoundError, ServiceUnavailableError } from "../errors.js";
|
|
3
|
+
import { ForbiddenError, InvalidRequestError, PtyFeatureUnsupportedError, PtyNotFoundError, ServiceUnavailableError } from "../errors.js";
|
|
4
4
|
import { PTY_CONNECT_TICKET_QUERY, PTY_CONNECT_TOKEN_HEADER, PTY_CONNECT_TOKEN_HEADER_VALUE } from "./pty.js";
|
|
5
5
|
export { PTY_CONNECT_TICKET_QUERY, PTY_CONNECT_TOKEN_HEADER, PTY_CONNECT_TOKEN_HEADER_VALUE };
|
|
6
6
|
export declare const PERSISTENT_PTY_CONNECT_PATH = "/api/experimental/persistent-pty/:ptyID/connect";
|
|
@@ -55,6 +55,7 @@ export declare const PersistentPtyGroup: HttpApiGroup.HttpApiGroup<"server.exper
|
|
|
55
55
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
56
56
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
57
57
|
};
|
|
58
|
+
readonly userTitle: Schema.NullOr<Schema.String>;
|
|
58
59
|
readonly foregroundProcess: Schema.NullOr<Schema.String>;
|
|
59
60
|
readonly size: Schema.Struct<{
|
|
60
61
|
readonly cols: Schema.Int;
|
|
@@ -86,6 +87,7 @@ export declare const PersistentPtyGroup: HttpApiGroup.HttpApiGroup<"server.exper
|
|
|
86
87
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
87
88
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
88
89
|
};
|
|
90
|
+
readonly userTitle: Schema.NullOr<Schema.String>;
|
|
89
91
|
readonly foregroundProcess: Schema.NullOr<Schema.String>;
|
|
90
92
|
readonly size: Schema.Struct<{
|
|
91
93
|
readonly cols: Schema.Int;
|
|
@@ -123,6 +125,7 @@ export declare const PersistentPtyGroup: HttpApiGroup.HttpApiGroup<"server.exper
|
|
|
123
125
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
124
126
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
125
127
|
};
|
|
128
|
+
readonly userTitle: Schema.NullOr<Schema.String>;
|
|
126
129
|
readonly foregroundProcess: Schema.NullOr<Schema.String>;
|
|
127
130
|
readonly size: Schema.Struct<{
|
|
128
131
|
readonly cols: Schema.Int;
|
|
@@ -185,6 +188,7 @@ export declare const PersistentPtyGroup: HttpApiGroup.HttpApiGroup<"server.exper
|
|
|
185
188
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
186
189
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
187
190
|
};
|
|
191
|
+
readonly userTitle: Schema.NullOr<Schema.String>;
|
|
188
192
|
readonly foregroundProcess: Schema.NullOr<Schema.String>;
|
|
189
193
|
readonly size: Schema.Struct<{
|
|
190
194
|
readonly cols: Schema.Int;
|
|
@@ -209,10 +213,14 @@ export declare const PersistentPtyGroup: HttpApiGroup.HttpApiGroup<"server.exper
|
|
|
209
213
|
};
|
|
210
214
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
211
215
|
readonly attachmentID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.String>>, Schema.optionalKey<Schema.String>, never, never>;
|
|
212
|
-
readonly size: Schema.Struct<{
|
|
216
|
+
readonly size: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
213
217
|
readonly cols: Schema.Int;
|
|
214
218
|
readonly rows: Schema.Int;
|
|
215
|
-
}
|
|
219
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
220
|
+
readonly cols: Schema.Int;
|
|
221
|
+
readonly rows: Schema.Int;
|
|
222
|
+
}>>, never, never>;
|
|
223
|
+
readonly title: Schema.decodeTo<Schema.optional<Schema.toType<Schema.NullOr<Schema.String>>>, Schema.optionalKey<Schema.NullOr<Schema.String>>, never, never>;
|
|
216
224
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
217
225
|
readonly data: Schema.Struct<{
|
|
218
226
|
readonly id: Schema.brand<Schema.String, "PtyID"> & {
|
|
@@ -229,6 +237,7 @@ export declare const PersistentPtyGroup: HttpApiGroup.HttpApiGroup<"server.exper
|
|
|
229
237
|
readonly sessionID: Schema.brand<Schema.String, "SessionID"> & {
|
|
230
238
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
231
239
|
};
|
|
240
|
+
readonly userTitle: Schema.NullOr<Schema.String>;
|
|
232
241
|
readonly foregroundProcess: Schema.NullOr<Schema.String>;
|
|
233
242
|
readonly size: Schema.Struct<{
|
|
234
243
|
readonly cols: Schema.Int;
|
|
@@ -239,4 +248,4 @@ export declare const PersistentPtyGroup: HttpApiGroup.HttpApiGroup<"server.exper
|
|
|
239
248
|
readonly tail: Schema.Int;
|
|
240
249
|
}>;
|
|
241
250
|
}>;
|
|
242
|
-
}>>, Schema.toCodecJson<typeof ServiceUnavailableError | typeof PtyNotFoundError>, never, never>, false>;
|
|
251
|
+
}>>, Schema.toCodecJson<typeof ServiceUnavailableError | typeof PtyNotFoundError | typeof PtyFeatureUnsupportedError>, never, never>, false>;
|
|
@@ -4,7 +4,7 @@ import { PtyTicket } from "@opencode/schema/pty-ticket";
|
|
|
4
4
|
import { Session } from "@opencode/schema/session";
|
|
5
5
|
import { Schema } from "effect";
|
|
6
6
|
import { HttpApiEndpoint, HttpApiGroup, HttpApiSchema, OpenApi } from "effect/http-api";
|
|
7
|
-
import { ForbiddenError, InvalidRequestError, PtyNotFoundError, ServiceUnavailableError } from "../errors.js";
|
|
7
|
+
import { ForbiddenError, InvalidRequestError, PtyFeatureUnsupportedError, PtyNotFoundError, ServiceUnavailableError, } from "../errors.js";
|
|
8
8
|
import { PTY_CONNECT_TICKET_QUERY, PTY_CONNECT_TOKEN_HEADER, PTY_CONNECT_TOKEN_HEADER_VALUE } from "./pty.js";
|
|
9
9
|
export { PTY_CONNECT_TICKET_QUERY, PTY_CONNECT_TOKEN_HEADER, PTY_CONNECT_TOKEN_HEADER_VALUE };
|
|
10
10
|
export const PERSISTENT_PTY_CONNECT_PATH = "/api/experimental/persistent-pty/:ptyID/connect";
|
|
@@ -55,8 +55,11 @@ export const PersistentPtyGroup = HttpApiGroup.make("server.experimental")
|
|
|
55
55
|
params: { ptyID: Pty.ID },
|
|
56
56
|
payload: PersistentPty.UpdateInput,
|
|
57
57
|
success: Schema.Struct({ data: PersistentPty.Info }),
|
|
58
|
-
error: terminalErrors,
|
|
59
|
-
}).annotateMerge(OpenApi.annotations({
|
|
58
|
+
error: [...terminalErrors, PtyFeatureUnsupportedError],
|
|
59
|
+
}).annotateMerge(OpenApi.annotations({
|
|
60
|
+
identifier: "experimental.persistentPty.update",
|
|
61
|
+
description: "Resize when size is present and rename when title is present; a null title clears the user title so the shell's title shows again. Renaming fails with 501 while the terminal service predates renaming.",
|
|
62
|
+
})))
|
|
60
63
|
.add(HttpApiEndpoint.get("persistentPty.snapshot", "/api/experimental/persistent-pty/:ptyID/snapshot", {
|
|
61
64
|
params: { ptyID: Pty.ID },
|
|
62
65
|
success: Schema.Struct({ data: PersistentPty.Snapshot }),
|
|
@@ -10,6 +10,7 @@ export declare const ProviderGroup: HttpApiGroup.HttpApiGroup<"server.provider",
|
|
|
10
10
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
11
11
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
12
12
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
13
14
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
14
15
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
15
16
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -75,6 +76,7 @@ export declare const ProviderGroup: HttpApiGroup.HttpApiGroup<"server.provider",
|
|
|
75
76
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
76
77
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
77
78
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
79
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
78
80
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
79
81
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
80
82
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -88,6 +90,7 @@ export declare const ProviderGroup: HttpApiGroup.HttpApiGroup<"server.provider",
|
|
|
88
90
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
89
91
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
90
92
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
93
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
91
94
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
92
95
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
93
96
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -100,6 +103,7 @@ export declare const ProviderGroup: HttpApiGroup.HttpApiGroup<"server.provider",
|
|
|
100
103
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
101
104
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
102
105
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
106
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
103
107
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
104
108
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
105
109
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -193,6 +197,7 @@ export declare const ProviderGroup: HttpApiGroup.HttpApiGroup<"server.provider",
|
|
|
193
197
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
194
198
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
195
199
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
200
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
196
201
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
197
202
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
198
203
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -206,6 +211,7 @@ export declare const ProviderGroup: HttpApiGroup.HttpApiGroup<"server.provider",
|
|
|
206
211
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
207
212
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
208
213
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
214
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
209
215
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
210
216
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
211
217
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
@@ -218,6 +224,7 @@ export declare const ProviderGroup: HttpApiGroup.HttpApiGroup<"server.provider",
|
|
|
218
224
|
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
219
225
|
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
220
226
|
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
227
|
+
claudeAgent: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
221
228
|
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
222
229
|
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
223
230
|
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|