@opencode-ai/protocol 0.0.0-next-16255 → 0.0.0-next-16273
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/errors.d.ts +6 -0
- package/dist/errors.js +5 -0
- package/dist/groups/agent.d.ts +125 -29
- package/dist/groups/agent.js +13 -0
- package/dist/groups/command.d.ts +26 -26
- package/dist/groups/debug.d.ts +6 -6
- package/dist/groups/event.d.ts +5036 -6369
- package/dist/groups/generate.d.ts +13 -13
- package/dist/groups/message.d.ts +77 -77
- package/dist/groups/model.d.ts +34 -34
- package/dist/groups/permission.d.ts +14 -14
- package/dist/groups/provider.d.ts +40 -40
- package/dist/groups/question.d.ts +12 -12
- package/dist/groups/session.d.ts +1542 -1765
- package/package.json +3 -3
|
@@ -10,24 +10,24 @@ export declare const GenerateGroup: HttpApiGroup.HttpApiGroup<"server.generate",
|
|
|
10
10
|
readonly prompt: Schema.String;
|
|
11
11
|
readonly model: Schema.optional<Schema.Struct<{
|
|
12
12
|
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
13
|
-
readonly providerID: Schema.brand<Schema.String, "
|
|
14
|
-
opencode: string & import("effect/Brand").Brand<"
|
|
15
|
-
anthropic: string & import("effect/Brand").Brand<"
|
|
16
|
-
openai: string & import("effect/Brand").Brand<"
|
|
17
|
-
google: string & import("effect/Brand").Brand<"
|
|
18
|
-
googleVertex: string & import("effect/Brand").Brand<"
|
|
19
|
-
githubCopilot: string & import("effect/Brand").Brand<"
|
|
20
|
-
amazonBedrock: string & import("effect/Brand").Brand<"
|
|
21
|
-
azure: string & import("effect/Brand").Brand<"
|
|
22
|
-
openrouter: string & import("effect/Brand").Brand<"
|
|
23
|
-
mistral: string & import("effect/Brand").Brand<"
|
|
24
|
-
gitlab: string & import("effect/Brand").Brand<"
|
|
13
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
14
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
15
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
16
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
17
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
18
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
19
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
20
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
21
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
22
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
23
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
24
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
25
25
|
};
|
|
26
26
|
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
27
27
|
}> & {
|
|
28
28
|
parse: (input: string) => {
|
|
29
29
|
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
30
|
-
readonly providerID: string & import("effect/Brand").Brand<"
|
|
30
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
31
31
|
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
32
32
|
};
|
|
33
33
|
}>;
|
package/dist/groups/message.d.ts
CHANGED
|
@@ -31,69 +31,69 @@ export declare const MessageGroup: HttpApiGroup.HttpApiGroup<"server.message", H
|
|
|
31
31
|
readonly type: Schema.tag<"model-switched">;
|
|
32
32
|
readonly model: Schema.Struct<{
|
|
33
33
|
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
34
|
-
readonly providerID: Schema.brand<Schema.String, "
|
|
35
|
-
opencode: string & import("effect/Brand").Brand<"
|
|
36
|
-
anthropic: string & import("effect/Brand").Brand<"
|
|
37
|
-
openai: string & import("effect/Brand").Brand<"
|
|
38
|
-
google: string & import("effect/Brand").Brand<"
|
|
39
|
-
googleVertex: string & import("effect/Brand").Brand<"
|
|
40
|
-
githubCopilot: string & import("effect/Brand").Brand<"
|
|
41
|
-
amazonBedrock: string & import("effect/Brand").Brand<"
|
|
42
|
-
azure: string & import("effect/Brand").Brand<"
|
|
43
|
-
openrouter: string & import("effect/Brand").Brand<"
|
|
44
|
-
mistral: string & import("effect/Brand").Brand<"
|
|
45
|
-
gitlab: string & import("effect/Brand").Brand<"
|
|
34
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
35
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
36
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
37
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
38
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
39
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
40
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
41
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
42
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
43
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
44
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
45
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
46
46
|
};
|
|
47
47
|
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
48
48
|
}> & {
|
|
49
49
|
parse: (input: string) => {
|
|
50
50
|
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
51
|
-
readonly providerID: string & import("effect/Brand").Brand<"
|
|
51
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
52
52
|
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
53
53
|
};
|
|
54
54
|
};
|
|
55
55
|
readonly previous: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Struct<{
|
|
56
56
|
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
57
|
-
readonly providerID: Schema.brand<Schema.String, "
|
|
58
|
-
opencode: string & import("effect/Brand").Brand<"
|
|
59
|
-
anthropic: string & import("effect/Brand").Brand<"
|
|
60
|
-
openai: string & import("effect/Brand").Brand<"
|
|
61
|
-
google: string & import("effect/Brand").Brand<"
|
|
62
|
-
googleVertex: string & import("effect/Brand").Brand<"
|
|
63
|
-
githubCopilot: string & import("effect/Brand").Brand<"
|
|
64
|
-
amazonBedrock: string & import("effect/Brand").Brand<"
|
|
65
|
-
azure: string & import("effect/Brand").Brand<"
|
|
66
|
-
openrouter: string & import("effect/Brand").Brand<"
|
|
67
|
-
mistral: string & import("effect/Brand").Brand<"
|
|
68
|
-
gitlab: string & import("effect/Brand").Brand<"
|
|
57
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
58
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
59
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
60
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
61
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
62
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
63
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
64
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
65
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
66
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
67
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
68
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
69
69
|
};
|
|
70
70
|
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
71
71
|
}> & {
|
|
72
72
|
parse: (input: string) => {
|
|
73
73
|
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
74
|
-
readonly providerID: string & import("effect/Brand").Brand<"
|
|
74
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
75
75
|
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
76
76
|
};
|
|
77
77
|
}>>, Schema.optionalKey<Schema.Struct<{
|
|
78
78
|
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
79
|
-
readonly providerID: Schema.brand<Schema.String, "
|
|
80
|
-
opencode: string & import("effect/Brand").Brand<"
|
|
81
|
-
anthropic: string & import("effect/Brand").Brand<"
|
|
82
|
-
openai: string & import("effect/Brand").Brand<"
|
|
83
|
-
google: string & import("effect/Brand").Brand<"
|
|
84
|
-
googleVertex: string & import("effect/Brand").Brand<"
|
|
85
|
-
githubCopilot: string & import("effect/Brand").Brand<"
|
|
86
|
-
amazonBedrock: string & import("effect/Brand").Brand<"
|
|
87
|
-
azure: string & import("effect/Brand").Brand<"
|
|
88
|
-
openrouter: string & import("effect/Brand").Brand<"
|
|
89
|
-
mistral: string & import("effect/Brand").Brand<"
|
|
90
|
-
gitlab: string & import("effect/Brand").Brand<"
|
|
79
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
80
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
81
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
82
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
83
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
84
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
85
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
86
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
87
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
88
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
89
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
90
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
91
91
|
};
|
|
92
92
|
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
93
93
|
}> & {
|
|
94
94
|
parse: (input: string) => {
|
|
95
95
|
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
96
|
-
readonly providerID: string & import("effect/Brand").Brand<"
|
|
96
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
97
97
|
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
98
98
|
};
|
|
99
99
|
}>, never, never>;
|
|
@@ -130,20 +130,20 @@ export declare const MessageGroup: HttpApiGroup.HttpApiGroup<"server.message", H
|
|
|
130
130
|
}> & {
|
|
131
131
|
create: (input: import("@opencode-ai/schema/prompt").FileAttachment) => {
|
|
132
132
|
readonly data: string;
|
|
133
|
-
readonly source:
|
|
134
|
-
readonly type:
|
|
135
|
-
}
|
|
136
|
-
readonly type:
|
|
137
|
-
readonly uri:
|
|
138
|
-
}
|
|
133
|
+
readonly source: {
|
|
134
|
+
readonly type: "inline";
|
|
135
|
+
} | {
|
|
136
|
+
readonly type: "uri";
|
|
137
|
+
readonly uri: string;
|
|
138
|
+
};
|
|
139
139
|
readonly mime: string;
|
|
140
140
|
readonly description?: string | undefined;
|
|
141
141
|
readonly name?: string | undefined;
|
|
142
|
-
readonly mention?:
|
|
143
|
-
readonly start:
|
|
144
|
-
readonly end:
|
|
145
|
-
readonly text:
|
|
146
|
-
}
|
|
142
|
+
readonly mention?: {
|
|
143
|
+
readonly start: number;
|
|
144
|
+
readonly end: number;
|
|
145
|
+
readonly text: string;
|
|
146
|
+
} | undefined;
|
|
147
147
|
};
|
|
148
148
|
}>>>, Schema.optionalKey<Schema.$Array<Schema.Struct<{
|
|
149
149
|
readonly data: Schema.String;
|
|
@@ -168,20 +168,20 @@ export declare const MessageGroup: HttpApiGroup.HttpApiGroup<"server.message", H
|
|
|
168
168
|
}> & {
|
|
169
169
|
create: (input: import("@opencode-ai/schema/prompt").FileAttachment) => {
|
|
170
170
|
readonly data: string;
|
|
171
|
-
readonly source:
|
|
172
|
-
readonly type:
|
|
173
|
-
}
|
|
174
|
-
readonly type:
|
|
175
|
-
readonly uri:
|
|
176
|
-
}
|
|
171
|
+
readonly source: {
|
|
172
|
+
readonly type: "inline";
|
|
173
|
+
} | {
|
|
174
|
+
readonly type: "uri";
|
|
175
|
+
readonly uri: string;
|
|
176
|
+
};
|
|
177
177
|
readonly mime: string;
|
|
178
178
|
readonly description?: string | undefined;
|
|
179
179
|
readonly name?: string | undefined;
|
|
180
|
-
readonly mention?:
|
|
181
|
-
readonly start:
|
|
182
|
-
readonly end:
|
|
183
|
-
readonly text:
|
|
184
|
-
}
|
|
180
|
+
readonly mention?: {
|
|
181
|
+
readonly start: number;
|
|
182
|
+
readonly end: number;
|
|
183
|
+
readonly text: string;
|
|
184
|
+
} | undefined;
|
|
185
185
|
};
|
|
186
186
|
}>>, never, never>;
|
|
187
187
|
readonly agents: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Array<Schema.Struct<{
|
|
@@ -286,24 +286,24 @@ export declare const MessageGroup: HttpApiGroup.HttpApiGroup<"server.message", H
|
|
|
286
286
|
readonly agent: Schema.brand<Schema.String, "Agent.ID">;
|
|
287
287
|
readonly model: Schema.Struct<{
|
|
288
288
|
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
289
|
-
readonly providerID: Schema.brand<Schema.String, "
|
|
290
|
-
opencode: string & import("effect/Brand").Brand<"
|
|
291
|
-
anthropic: string & import("effect/Brand").Brand<"
|
|
292
|
-
openai: string & import("effect/Brand").Brand<"
|
|
293
|
-
google: string & import("effect/Brand").Brand<"
|
|
294
|
-
googleVertex: string & import("effect/Brand").Brand<"
|
|
295
|
-
githubCopilot: string & import("effect/Brand").Brand<"
|
|
296
|
-
amazonBedrock: string & import("effect/Brand").Brand<"
|
|
297
|
-
azure: string & import("effect/Brand").Brand<"
|
|
298
|
-
openrouter: string & import("effect/Brand").Brand<"
|
|
299
|
-
mistral: string & import("effect/Brand").Brand<"
|
|
300
|
-
gitlab: string & import("effect/Brand").Brand<"
|
|
289
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
290
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
291
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
292
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
293
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
294
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
295
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
296
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
297
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
298
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
299
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
300
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
301
301
|
};
|
|
302
302
|
readonly variant: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.VariantID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.VariantID">>, never, never>;
|
|
303
303
|
}> & {
|
|
304
304
|
parse: (input: string) => {
|
|
305
305
|
readonly id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
306
|
-
readonly providerID: string & import("effect/Brand").Brand<"
|
|
306
|
+
readonly providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
307
307
|
readonly variant?: (string & import("effect/Brand").Brand<"Model.VariantID">) | undefined;
|
|
308
308
|
};
|
|
309
309
|
};
|
|
@@ -346,7 +346,7 @@ export declare const MessageGroup: HttpApiGroup.HttpApiGroup<"server.message", H
|
|
|
346
346
|
readonly type: Schema.Literal<"file">;
|
|
347
347
|
readonly uri: Schema.String;
|
|
348
348
|
readonly mime: Schema.String;
|
|
349
|
-
readonly name: Schema.
|
|
349
|
+
readonly name: Schema.optional<Schema.String>;
|
|
350
350
|
}>]>>;
|
|
351
351
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>, never, never>;
|
|
352
352
|
}>, Schema.Struct<{
|
|
@@ -363,7 +363,7 @@ export declare const MessageGroup: HttpApiGroup.HttpApiGroup<"server.message", H
|
|
|
363
363
|
readonly type: Schema.Literal<"file">;
|
|
364
364
|
readonly uri: Schema.String;
|
|
365
365
|
readonly mime: Schema.String;
|
|
366
|
-
readonly name: Schema.
|
|
366
|
+
readonly name: Schema.optional<Schema.String>;
|
|
367
367
|
}>]>>>>, Schema.optionalKey<Schema.NonEmptyArray<Schema.Union<readonly [Schema.Struct<{
|
|
368
368
|
readonly type: Schema.Literal<"text">;
|
|
369
369
|
readonly text: Schema.String;
|
|
@@ -371,7 +371,7 @@ export declare const MessageGroup: HttpApiGroup.HttpApiGroup<"server.message", H
|
|
|
371
371
|
readonly type: Schema.Literal<"file">;
|
|
372
372
|
readonly uri: Schema.String;
|
|
373
373
|
readonly mime: Schema.String;
|
|
374
|
-
readonly name: Schema.
|
|
374
|
+
readonly name: Schema.optional<Schema.String>;
|
|
375
375
|
}>]>>>, never, never>;
|
|
376
376
|
readonly metadata: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>, never, never>;
|
|
377
377
|
}>]>;
|
package/dist/groups/model.d.ts
CHANGED
|
@@ -17,9 +17,9 @@ export declare const ModelGroup: HttpApiGroup.HttpApiGroup<"server.model", HttpA
|
|
|
17
17
|
readonly output: Schema.$Array<Schema.String>;
|
|
18
18
|
}>;
|
|
19
19
|
readonly variants: Schema.$Array<Schema.Struct<{
|
|
20
|
-
readonly settings: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.
|
|
20
|
+
readonly settings: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Any>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Any>>, never, never>;
|
|
21
21
|
readonly headers: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.String>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>, never, never>;
|
|
22
|
-
readonly body: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.
|
|
22
|
+
readonly body: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Any>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Any>>, never, never>;
|
|
23
23
|
readonly id: Schema.brand<Schema.String, "Model.VariantID">;
|
|
24
24
|
}>>;
|
|
25
25
|
readonly time: Schema.Struct<{
|
|
@@ -55,23 +55,23 @@ export declare const ModelGroup: HttpApiGroup.HttpApiGroup<"server.model", HttpA
|
|
|
55
55
|
readonly input: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
56
56
|
readonly output: Schema.Int;
|
|
57
57
|
}>;
|
|
58
|
-
readonly settings: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.
|
|
58
|
+
readonly settings: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Any>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Any>>, never, never>;
|
|
59
59
|
readonly headers: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.String>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>, never, never>;
|
|
60
|
-
readonly body: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.
|
|
60
|
+
readonly body: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Any>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Any>>, never, never>;
|
|
61
61
|
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
62
62
|
readonly modelID: Schema.brand<Schema.String, "Model.ID">;
|
|
63
|
-
readonly providerID: Schema.brand<Schema.String, "
|
|
64
|
-
opencode: string & import("effect/Brand").Brand<"
|
|
65
|
-
anthropic: string & import("effect/Brand").Brand<"
|
|
66
|
-
openai: string & import("effect/Brand").Brand<"
|
|
67
|
-
google: string & import("effect/Brand").Brand<"
|
|
68
|
-
googleVertex: string & import("effect/Brand").Brand<"
|
|
69
|
-
githubCopilot: string & import("effect/Brand").Brand<"
|
|
70
|
-
amazonBedrock: string & import("effect/Brand").Brand<"
|
|
71
|
-
azure: string & import("effect/Brand").Brand<"
|
|
72
|
-
openrouter: string & import("effect/Brand").Brand<"
|
|
73
|
-
mistral: string & import("effect/Brand").Brand<"
|
|
74
|
-
gitlab: string & import("effect/Brand").Brand<"
|
|
63
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
64
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
65
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
66
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
67
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
68
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
69
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
70
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
71
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
72
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
73
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
74
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
75
75
|
};
|
|
76
76
|
readonly family: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.Family">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.Family">>, never, never>;
|
|
77
77
|
readonly name: Schema.String;
|
|
@@ -85,7 +85,7 @@ export declare const ModelGroup: HttpApiGroup.HttpApiGroup<"server.model", HttpA
|
|
|
85
85
|
default: (providerID: import("@opencode-ai/schema/provider").ID, id: Model.ID) => {
|
|
86
86
|
id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
87
87
|
modelID: string & import("effect/Brand").Brand<"Model.ID">;
|
|
88
|
-
providerID: string & import("effect/Brand").Brand<"
|
|
88
|
+
providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
89
89
|
name: string & import("effect/Brand").Brand<"Model.ID">;
|
|
90
90
|
capabilities: {
|
|
91
91
|
tools: true;
|
|
@@ -119,9 +119,9 @@ export declare const ModelGroup: HttpApiGroup.HttpApiGroup<"server.model", HttpA
|
|
|
119
119
|
readonly output: Schema.$Array<Schema.String>;
|
|
120
120
|
}>;
|
|
121
121
|
readonly variants: Schema.$Array<Schema.Struct<{
|
|
122
|
-
readonly settings: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.
|
|
122
|
+
readonly settings: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Any>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Any>>, never, never>;
|
|
123
123
|
readonly headers: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.String>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>, never, never>;
|
|
124
|
-
readonly body: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.
|
|
124
|
+
readonly body: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Any>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Any>>, never, never>;
|
|
125
125
|
readonly id: Schema.brand<Schema.String, "Model.VariantID">;
|
|
126
126
|
}>>;
|
|
127
127
|
readonly time: Schema.Struct<{
|
|
@@ -157,23 +157,23 @@ export declare const ModelGroup: HttpApiGroup.HttpApiGroup<"server.model", HttpA
|
|
|
157
157
|
readonly input: Schema.decodeTo<Schema.optional<Schema.toType<Schema.Int>>, Schema.optionalKey<Schema.Int>, never, never>;
|
|
158
158
|
readonly output: Schema.Int;
|
|
159
159
|
}>;
|
|
160
|
-
readonly settings: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.
|
|
160
|
+
readonly settings: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Any>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Any>>, never, never>;
|
|
161
161
|
readonly headers: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.String>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>, never, never>;
|
|
162
|
-
readonly body: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.
|
|
162
|
+
readonly body: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Any>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Any>>, never, never>;
|
|
163
163
|
readonly id: Schema.brand<Schema.String, "Model.ID">;
|
|
164
164
|
readonly modelID: Schema.brand<Schema.String, "Model.ID">;
|
|
165
|
-
readonly providerID: Schema.brand<Schema.String, "
|
|
166
|
-
opencode: string & import("effect/Brand").Brand<"
|
|
167
|
-
anthropic: string & import("effect/Brand").Brand<"
|
|
168
|
-
openai: string & import("effect/Brand").Brand<"
|
|
169
|
-
google: string & import("effect/Brand").Brand<"
|
|
170
|
-
googleVertex: string & import("effect/Brand").Brand<"
|
|
171
|
-
githubCopilot: string & import("effect/Brand").Brand<"
|
|
172
|
-
amazonBedrock: string & import("effect/Brand").Brand<"
|
|
173
|
-
azure: string & import("effect/Brand").Brand<"
|
|
174
|
-
openrouter: string & import("effect/Brand").Brand<"
|
|
175
|
-
mistral: string & import("effect/Brand").Brand<"
|
|
176
|
-
gitlab: string & import("effect/Brand").Brand<"
|
|
165
|
+
readonly providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
166
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
167
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
168
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
169
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
170
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
171
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
172
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
173
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
174
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
175
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
176
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
177
177
|
};
|
|
178
178
|
readonly family: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Model.Family">>>, Schema.optionalKey<Schema.brand<Schema.String, "Model.Family">>, never, never>;
|
|
179
179
|
readonly name: Schema.String;
|
|
@@ -187,7 +187,7 @@ export declare const ModelGroup: HttpApiGroup.HttpApiGroup<"server.model", HttpA
|
|
|
187
187
|
default: (providerID: import("@opencode-ai/schema/provider").ID, id: Model.ID) => {
|
|
188
188
|
id: string & import("effect/Brand").Brand<"Model.ID">;
|
|
189
189
|
modelID: string & import("effect/Brand").Brand<"Model.ID">;
|
|
190
|
-
providerID: string & import("effect/Brand").Brand<"
|
|
190
|
+
providerID: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
191
191
|
name: string & import("effect/Brand").Brand<"Model.ID">;
|
|
192
192
|
capabilities: {
|
|
193
193
|
tools: true;
|
|
@@ -27,8 +27,8 @@ export declare const makePermissionGroup: <LocationId extends HttpApiMiddleware.
|
|
|
27
27
|
readonly messageID: Schema.String;
|
|
28
28
|
readonly callID: Schema.String;
|
|
29
29
|
}>]>>, never, never>;
|
|
30
|
-
readonly id: Schema.brand<Schema.String, "
|
|
31
|
-
create: (id?: string) => string & import("effect/Brand").Brand<"
|
|
30
|
+
readonly id: Schema.brand<Schema.String, "Permission.ID"> & {
|
|
31
|
+
create: (id?: string) => string & import("effect/Brand").Brand<"Permission.ID">;
|
|
32
32
|
};
|
|
33
33
|
}>>;
|
|
34
34
|
}>>, never, LocationId, HttpApiMiddleware.Requires<LocationId>> | HttpApiEndpoint.HttpApiEndpoint<"permission.saved.list", "GET", "/api/permission/saved", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
@@ -56,8 +56,8 @@ export declare const makePermissionGroup: <LocationId extends HttpApiMiddleware.
|
|
|
56
56
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
57
57
|
};
|
|
58
58
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
59
|
-
readonly id: Schema.optional<Schema.brand<Schema.String, "
|
|
60
|
-
create: (id?: string) => string & import("effect/Brand").Brand<"
|
|
59
|
+
readonly id: Schema.optional<Schema.brand<Schema.String, "Permission.ID"> & {
|
|
60
|
+
create: (id?: string) => string & import("effect/Brand").Brand<"Permission.ID">;
|
|
61
61
|
}>;
|
|
62
62
|
readonly action: Schema.String;
|
|
63
63
|
readonly resources: Schema.$Array<Schema.String>;
|
|
@@ -75,8 +75,8 @@ export declare const makePermissionGroup: <LocationId extends HttpApiMiddleware.
|
|
|
75
75
|
readonly agent: Schema.optional<Schema.brand<Schema.String, "Agent.ID">>;
|
|
76
76
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
77
77
|
readonly data: Schema.Struct<{
|
|
78
|
-
readonly id: Schema.brand<Schema.String, "
|
|
79
|
-
create: (id?: string) => string & import("effect/Brand").Brand<"
|
|
78
|
+
readonly id: Schema.brand<Schema.String, "Permission.ID"> & {
|
|
79
|
+
create: (id?: string) => string & import("effect/Brand").Brand<"Permission.ID">;
|
|
80
80
|
};
|
|
81
81
|
readonly effect: Schema.Literals<readonly ["allow", "deny", "ask"]>;
|
|
82
82
|
}>;
|
|
@@ -104,8 +104,8 @@ export declare const makePermissionGroup: <LocationId extends HttpApiMiddleware.
|
|
|
104
104
|
readonly messageID: Schema.String;
|
|
105
105
|
readonly callID: Schema.String;
|
|
106
106
|
}>]>>, never, never>;
|
|
107
|
-
readonly id: Schema.brand<Schema.String, "
|
|
108
|
-
create: (id?: string) => string & import("effect/Brand").Brand<"
|
|
107
|
+
readonly id: Schema.brand<Schema.String, "Permission.ID"> & {
|
|
108
|
+
create: (id?: string) => string & import("effect/Brand").Brand<"Permission.ID">;
|
|
109
109
|
};
|
|
110
110
|
}>>;
|
|
111
111
|
}>>, Schema.toCodecJson<typeof SessionNotFoundError>, SessionLocationId, HttpApiMiddleware.Requires<SessionLocationId>> | HttpApiEndpoint.HttpApiEndpoint<"session.permission.get", "GET", "/api/session/:sessionID/permission/:requestID", Schema.toCodecStringTree<Schema.Struct<{
|
|
@@ -113,8 +113,8 @@ export declare const makePermissionGroup: <LocationId extends HttpApiMiddleware.
|
|
|
113
113
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
114
114
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
115
115
|
};
|
|
116
|
-
requestID: Schema.brand<Schema.String, "
|
|
117
|
-
create: (id?: string) => string & import("effect/Brand").Brand<"
|
|
116
|
+
requestID: Schema.brand<Schema.String, "Permission.ID"> & {
|
|
117
|
+
create: (id?: string) => string & import("effect/Brand").Brand<"Permission.ID">;
|
|
118
118
|
};
|
|
119
119
|
}>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
120
120
|
readonly data: Schema.Struct<{
|
|
@@ -135,8 +135,8 @@ export declare const makePermissionGroup: <LocationId extends HttpApiMiddleware.
|
|
|
135
135
|
readonly messageID: Schema.String;
|
|
136
136
|
readonly callID: Schema.String;
|
|
137
137
|
}>]>>, never, never>;
|
|
138
|
-
readonly id: Schema.brand<Schema.String, "
|
|
139
|
-
create: (id?: string) => string & import("effect/Brand").Brand<"
|
|
138
|
+
readonly id: Schema.brand<Schema.String, "Permission.ID"> & {
|
|
139
|
+
create: (id?: string) => string & import("effect/Brand").Brand<"Permission.ID">;
|
|
140
140
|
};
|
|
141
141
|
}>;
|
|
142
142
|
}>>, Schema.toCodecJson<typeof SessionNotFoundError | typeof PermissionNotFoundError>, SessionLocationId, HttpApiMiddleware.Requires<SessionLocationId>> | HttpApiEndpoint.HttpApiEndpoint<"session.permission.reply", "POST", "/api/session/:sessionID/permission/:requestID/reply", Schema.toCodecStringTree<Schema.Struct<{
|
|
@@ -144,8 +144,8 @@ export declare const makePermissionGroup: <LocationId extends HttpApiMiddleware.
|
|
|
144
144
|
create: () => string & import("effect/Brand").Brand<"SessionID">;
|
|
145
145
|
descending: (id?: string) => string & import("effect/Brand").Brand<"SessionID">;
|
|
146
146
|
};
|
|
147
|
-
requestID: Schema.brand<Schema.String, "
|
|
148
|
-
create: (id?: string) => string & import("effect/Brand").Brand<"
|
|
147
|
+
requestID: Schema.brand<Schema.String, "Permission.ID"> & {
|
|
148
|
+
create: (id?: string) => string & import("effect/Brand").Brand<"Permission.ID">;
|
|
149
149
|
};
|
|
150
150
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
151
151
|
readonly reply: Schema.Literals<readonly ["once", "always", "reject"]>;
|
|
@@ -11,21 +11,21 @@ export declare const ProviderGroup: HttpApiGroup.HttpApiGroup<"server.provider",
|
|
|
11
11
|
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
12
12
|
readonly location: typeof Location.Info;
|
|
13
13
|
readonly data: Schema.$Array<Schema.Struct<{
|
|
14
|
-
readonly settings: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.
|
|
14
|
+
readonly settings: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Any>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Any>>, never, never>;
|
|
15
15
|
readonly headers: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.String>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>, never, never>;
|
|
16
|
-
readonly body: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.
|
|
17
|
-
readonly id: Schema.brand<Schema.String, "
|
|
18
|
-
opencode: string & import("effect/Brand").Brand<"
|
|
19
|
-
anthropic: string & import("effect/Brand").Brand<"
|
|
20
|
-
openai: string & import("effect/Brand").Brand<"
|
|
21
|
-
google: string & import("effect/Brand").Brand<"
|
|
22
|
-
googleVertex: string & import("effect/Brand").Brand<"
|
|
23
|
-
githubCopilot: string & import("effect/Brand").Brand<"
|
|
24
|
-
amazonBedrock: string & import("effect/Brand").Brand<"
|
|
25
|
-
azure: string & import("effect/Brand").Brand<"
|
|
26
|
-
openrouter: string & import("effect/Brand").Brand<"
|
|
27
|
-
mistral: string & import("effect/Brand").Brand<"
|
|
28
|
-
gitlab: string & import("effect/Brand").Brand<"
|
|
16
|
+
readonly body: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Any>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Any>>, never, never>;
|
|
17
|
+
readonly id: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
18
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
19
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
20
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
21
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
22
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
23
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
24
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
25
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
26
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
27
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
28
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
29
29
|
};
|
|
30
30
|
readonly integrationID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Integration.ID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Integration.ID">>, never, never>;
|
|
31
31
|
readonly name: Schema.String;
|
|
@@ -35,18 +35,18 @@ export declare const ProviderGroup: HttpApiGroup.HttpApiGroup<"server.provider",
|
|
|
35
35
|
empty: (id: Provider.ID) => Provider.Info;
|
|
36
36
|
}>;
|
|
37
37
|
}>>, Schema.toCodecJson<typeof ServiceUnavailableError>, never, never> | HttpApiEndpoint.HttpApiEndpoint<"provider.get", "GET", "/api/provider/:providerID", Schema.toCodecStringTree<Schema.Struct<{
|
|
38
|
-
providerID: Schema.brand<Schema.String, "
|
|
39
|
-
opencode: string & import("effect/Brand").Brand<"
|
|
40
|
-
anthropic: string & import("effect/Brand").Brand<"
|
|
41
|
-
openai: string & import("effect/Brand").Brand<"
|
|
42
|
-
google: string & import("effect/Brand").Brand<"
|
|
43
|
-
googleVertex: string & import("effect/Brand").Brand<"
|
|
44
|
-
githubCopilot: string & import("effect/Brand").Brand<"
|
|
45
|
-
amazonBedrock: string & import("effect/Brand").Brand<"
|
|
46
|
-
azure: string & import("effect/Brand").Brand<"
|
|
47
|
-
openrouter: string & import("effect/Brand").Brand<"
|
|
48
|
-
mistral: string & import("effect/Brand").Brand<"
|
|
49
|
-
gitlab: string & import("effect/Brand").Brand<"
|
|
38
|
+
providerID: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
39
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
40
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
41
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
42
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
43
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
44
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
45
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
46
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
47
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
48
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
49
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
50
50
|
};
|
|
51
51
|
}>>, Schema.toCodecStringTree<Schema.Struct<{
|
|
52
52
|
readonly location: Schema.optional<Schema.Struct<{
|
|
@@ -56,21 +56,21 @@ export declare const ProviderGroup: HttpApiGroup.HttpApiGroup<"server.provider",
|
|
|
56
56
|
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
57
57
|
readonly location: typeof Location.Info;
|
|
58
58
|
readonly data: Schema.Struct<{
|
|
59
|
-
readonly settings: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.
|
|
59
|
+
readonly settings: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Any>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Any>>, never, never>;
|
|
60
60
|
readonly headers: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.String>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>, never, never>;
|
|
61
|
-
readonly body: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.
|
|
62
|
-
readonly id: Schema.brand<Schema.String, "
|
|
63
|
-
opencode: string & import("effect/Brand").Brand<"
|
|
64
|
-
anthropic: string & import("effect/Brand").Brand<"
|
|
65
|
-
openai: string & import("effect/Brand").Brand<"
|
|
66
|
-
google: string & import("effect/Brand").Brand<"
|
|
67
|
-
googleVertex: string & import("effect/Brand").Brand<"
|
|
68
|
-
githubCopilot: string & import("effect/Brand").Brand<"
|
|
69
|
-
amazonBedrock: string & import("effect/Brand").Brand<"
|
|
70
|
-
azure: string & import("effect/Brand").Brand<"
|
|
71
|
-
openrouter: string & import("effect/Brand").Brand<"
|
|
72
|
-
mistral: string & import("effect/Brand").Brand<"
|
|
73
|
-
gitlab: string & import("effect/Brand").Brand<"
|
|
61
|
+
readonly body: Schema.decodeTo<Schema.optional<Schema.toType<Schema.$Record<Schema.String, Schema.Any>>>, Schema.optionalKey<Schema.$Record<Schema.String, Schema.Any>>, never, never>;
|
|
62
|
+
readonly id: Schema.brand<Schema.String, "Provider.ID"> & {
|
|
63
|
+
opencode: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
64
|
+
anthropic: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
65
|
+
openai: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
66
|
+
google: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
67
|
+
googleVertex: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
68
|
+
githubCopilot: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
69
|
+
amazonBedrock: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
70
|
+
azure: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
71
|
+
openrouter: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
72
|
+
mistral: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
73
|
+
gitlab: string & import("effect/Brand").Brand<"Provider.ID">;
|
|
74
74
|
};
|
|
75
75
|
readonly integrationID: Schema.decodeTo<Schema.optional<Schema.toType<Schema.brand<Schema.String, "Integration.ID">>>, Schema.optionalKey<Schema.brand<Schema.String, "Integration.ID">>, never, never>;
|
|
76
76
|
readonly name: Schema.String;
|