@opencode-ai/protocol 0.0.0-next-14869 → 0.0.0-next-14870
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/groups/message.d.ts +33 -0
- package/dist/groups/session.d.ts +66 -0
- package/package.json +2 -2
package/dist/groups/message.d.ts
CHANGED
|
@@ -47,6 +47,39 @@ export declare const MessageGroup: HttpApiGroup.HttpApiGroup<"server.message", H
|
|
|
47
47
|
};
|
|
48
48
|
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "VariantID">>, never, never>;
|
|
49
49
|
}>;
|
|
50
|
+
readonly previous: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
51
|
+
readonly id: Schema.brand<Schema.String, "ModelV2.ID">;
|
|
52
|
+
readonly providerID: Schema.brand<Schema.String, "ProviderV2.ID"> & {
|
|
53
|
+
opencode: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
54
|
+
anthropic: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
55
|
+
openai: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
56
|
+
google: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
57
|
+
googleVertex: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
58
|
+
githubCopilot: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
59
|
+
amazonBedrock: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
60
|
+
azure: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
61
|
+
openrouter: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
62
|
+
mistral: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
63
|
+
gitlab: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
64
|
+
};
|
|
65
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "VariantID">>, never, never>;
|
|
66
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
67
|
+
readonly id: Schema.brand<Schema.String, "ModelV2.ID">;
|
|
68
|
+
readonly providerID: Schema.brand<Schema.String, "ProviderV2.ID"> & {
|
|
69
|
+
opencode: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
70
|
+
anthropic: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
71
|
+
openai: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
72
|
+
google: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
73
|
+
googleVertex: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
74
|
+
githubCopilot: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
75
|
+
amazonBedrock: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
76
|
+
azure: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
77
|
+
openrouter: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
78
|
+
mistral: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
79
|
+
gitlab: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
80
|
+
};
|
|
81
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "VariantID">>, never, never>;
|
|
82
|
+
}>>, never, never>;
|
|
50
83
|
readonly id: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
51
84
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
52
85
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
package/dist/groups/session.d.ts
CHANGED
|
@@ -1392,6 +1392,39 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
1392
1392
|
};
|
|
1393
1393
|
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "VariantID">>, never, never>;
|
|
1394
1394
|
}>;
|
|
1395
|
+
readonly previous: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
1396
|
+
readonly id: Schema.brand<Schema.String, "ModelV2.ID">;
|
|
1397
|
+
readonly providerID: Schema.brand<Schema.String, "ProviderV2.ID"> & {
|
|
1398
|
+
opencode: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
1399
|
+
anthropic: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
1400
|
+
openai: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
1401
|
+
google: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
1402
|
+
googleVertex: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
1403
|
+
githubCopilot: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
1404
|
+
amazonBedrock: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
1405
|
+
azure: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
1406
|
+
openrouter: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
1407
|
+
mistral: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
1408
|
+
gitlab: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
1409
|
+
};
|
|
1410
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "VariantID">>, never, never>;
|
|
1411
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
1412
|
+
readonly id: Schema.brand<Schema.String, "ModelV2.ID">;
|
|
1413
|
+
readonly providerID: Schema.brand<Schema.String, "ProviderV2.ID"> & {
|
|
1414
|
+
opencode: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
1415
|
+
anthropic: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
1416
|
+
openai: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
1417
|
+
google: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
1418
|
+
googleVertex: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
1419
|
+
githubCopilot: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
1420
|
+
amazonBedrock: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
1421
|
+
azure: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
1422
|
+
openrouter: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
1423
|
+
mistral: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
1424
|
+
gitlab: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
1425
|
+
};
|
|
1426
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "VariantID">>, never, never>;
|
|
1427
|
+
}>>, never, never>;
|
|
1395
1428
|
readonly id: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
1396
1429
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
1397
1430
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
@@ -5062,6 +5095,39 @@ export declare const makeSessionGroup: <I extends HttpApiMiddleware.AnyId, S>(se
|
|
|
5062
5095
|
};
|
|
5063
5096
|
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "VariantID">>, never, never>;
|
|
5064
5097
|
}>;
|
|
5098
|
+
readonly previous: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
5099
|
+
readonly id: Schema.brand<Schema.String, "ModelV2.ID">;
|
|
5100
|
+
readonly providerID: Schema.brand<Schema.String, "ProviderV2.ID"> & {
|
|
5101
|
+
opencode: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
5102
|
+
anthropic: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
5103
|
+
openai: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
5104
|
+
google: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
5105
|
+
googleVertex: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
5106
|
+
githubCopilot: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
5107
|
+
amazonBedrock: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
5108
|
+
azure: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
5109
|
+
openrouter: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
5110
|
+
mistral: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
5111
|
+
gitlab: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
5112
|
+
};
|
|
5113
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "VariantID">>, never, never>;
|
|
5114
|
+
}>>>, Schema.optionalKey<Schema.Struct<{
|
|
5115
|
+
readonly id: Schema.brand<Schema.String, "ModelV2.ID">;
|
|
5116
|
+
readonly providerID: Schema.brand<Schema.String, "ProviderV2.ID"> & {
|
|
5117
|
+
opencode: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
5118
|
+
anthropic: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
5119
|
+
openai: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
5120
|
+
google: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
5121
|
+
googleVertex: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
5122
|
+
githubCopilot: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
5123
|
+
amazonBedrock: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
5124
|
+
azure: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
5125
|
+
openrouter: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
5126
|
+
mistral: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
5127
|
+
gitlab: string & import("effect/Brand").Brand<"ProviderV2.ID">;
|
|
5128
|
+
};
|
|
5129
|
+
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "VariantID">>, never, never>;
|
|
5130
|
+
}>>, never, never>;
|
|
5065
5131
|
readonly id: Schema.brand<Schema.String, "Session.Message.ID"> & {
|
|
5066
5132
|
create: () => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
|
5067
5133
|
fromEvent: (eventID: Event.ID) => string & import("effect/Brand").Brand<"Session.Message.ID">;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package.json",
|
|
3
3
|
"name": "@opencode-ai/protocol",
|
|
4
|
-
"version": "0.0.0-next-
|
|
4
|
+
"version": "0.0.0-next-14870",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"typecheck": "tsgo --noEmit"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@opencode-ai/schema": "0.0.0-next-
|
|
29
|
+
"@opencode-ai/schema": "0.0.0-next-14870",
|
|
30
30
|
"effect": "4.0.0-beta.83"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|