@opencode/ai 0.0.0-dev-19794 → 0.0.0-dev-19808
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/protocols/alibaba-messages.d.ts +1 -1
- package/dist/protocols/anthropic-messages.d.ts +19 -19
- package/dist/protocols/anthropic-messages.js +2 -2
- package/dist/protocols/meta-messages.d.ts +3 -3
- package/dist/protocols/zai-messages.d.ts +1 -1
- package/dist/providers/alibaba.d.ts +1 -1
- package/dist/providers/anthropic-compatible.d.ts +3 -3
- package/dist/providers/anthropic.d.ts +3 -3
- package/dist/providers/cloudflare-ai-gateway.d.ts +6 -6
- package/dist/providers/google-vertex-messages.d.ts +3 -3
- package/dist/providers/meta.d.ts +3 -3
- package/dist/providers/minimax.d.ts +3 -3
- package/dist/providers/moonshot.d.ts +3 -3
- package/dist/providers/zai-coding-plan.d.ts +1 -1
- package/package.json +3 -3
|
@@ -228,7 +228,7 @@ export declare const protocol: Protocol<{
|
|
|
228
228
|
readonly type: string;
|
|
229
229
|
readonly budget_tokens?: number | undefined;
|
|
230
230
|
} | undefined;
|
|
231
|
-
readonly service_tier?: "auto" | "standard_only" | undefined;
|
|
231
|
+
readonly service_tier?: "auto" | (string & {}) | "standard_only" | undefined;
|
|
232
232
|
readonly container?: string | {
|
|
233
233
|
readonly id?: string | null | undefined;
|
|
234
234
|
readonly skills?: readonly {
|
|
@@ -31,28 +31,28 @@ declare const AnthropicThinkingBlockBinding: Schema.Struct<{
|
|
|
31
31
|
readonly prefix_mismatch_behavior: Schema.optional<Schema.declare<(string & {}) | "error" | "drop_block", (string & {}) | "error" | "drop_block">>;
|
|
32
32
|
}>;
|
|
33
33
|
declare const Thinking: Schema.Union<readonly [Schema.decodeTo<Schema.Struct<{
|
|
34
|
-
readonly display: Schema.optional<Schema.
|
|
34
|
+
readonly display: Schema.optional<Schema.declare<(string & {}) | "summarized" | "omitted", (string & {}) | "summarized" | "omitted">>;
|
|
35
35
|
readonly block_binding: Schema.optional<Schema.Struct<{
|
|
36
36
|
readonly prefix_mismatch_behavior: Schema.optional<Schema.declare<(string & {}) | "error" | "drop_block", (string & {}) | "error" | "drop_block">>;
|
|
37
37
|
}>>;
|
|
38
38
|
readonly type: Schema.tag<"enabled">;
|
|
39
39
|
readonly budget_tokens: Schema.Number;
|
|
40
40
|
}>, Schema.Union<readonly [Schema.Struct<{
|
|
41
|
-
readonly display: Schema.optional<Schema.
|
|
41
|
+
readonly display: Schema.optional<Schema.declare<(string & {}) | "summarized" | "omitted", (string & {}) | "summarized" | "omitted">>;
|
|
42
42
|
readonly block_binding: Schema.optional<Schema.Struct<{
|
|
43
43
|
readonly prefix_mismatch_behavior: Schema.optional<Schema.declare<(string & {}) | "error" | "drop_block", (string & {}) | "error" | "drop_block">>;
|
|
44
44
|
}>>;
|
|
45
45
|
readonly type: Schema.tag<"enabled">;
|
|
46
46
|
readonly budgetTokens: Schema.Number;
|
|
47
47
|
}>, Schema.Struct<{
|
|
48
|
-
readonly display: Schema.optional<Schema.
|
|
48
|
+
readonly display: Schema.optional<Schema.declare<(string & {}) | "summarized" | "omitted", (string & {}) | "summarized" | "omitted">>;
|
|
49
49
|
readonly block_binding: Schema.optional<Schema.Struct<{
|
|
50
50
|
readonly prefix_mismatch_behavior: Schema.optional<Schema.declare<(string & {}) | "error" | "drop_block", (string & {}) | "error" | "drop_block">>;
|
|
51
51
|
}>>;
|
|
52
52
|
readonly type: Schema.tag<"enabled">;
|
|
53
53
|
readonly budget_tokens: Schema.Number;
|
|
54
54
|
}>]>, never, never>, Schema.Struct<{
|
|
55
|
-
readonly display: Schema.optional<Schema.
|
|
55
|
+
readonly display: Schema.optional<Schema.declare<(string & {}) | "summarized" | "omitted", (string & {}) | "summarized" | "omitted">>;
|
|
56
56
|
readonly block_binding: Schema.optional<Schema.Struct<{
|
|
57
57
|
readonly prefix_mismatch_behavior: Schema.optional<Schema.declare<(string & {}) | "error" | "drop_block", (string & {}) | "error" | "drop_block">>;
|
|
58
58
|
}>>;
|
|
@@ -74,28 +74,28 @@ declare const Options: Schema.Struct<{
|
|
|
74
74
|
}>>;
|
|
75
75
|
}>>;
|
|
76
76
|
readonly thinking: Schema.optional<Schema.Union<readonly [Schema.decodeTo<Schema.Struct<{
|
|
77
|
-
readonly display: Schema.optional<Schema.
|
|
77
|
+
readonly display: Schema.optional<Schema.declare<(string & {}) | "summarized" | "omitted", (string & {}) | "summarized" | "omitted">>;
|
|
78
78
|
readonly block_binding: Schema.optional<Schema.Struct<{
|
|
79
79
|
readonly prefix_mismatch_behavior: Schema.optional<Schema.declare<(string & {}) | "error" | "drop_block", (string & {}) | "error" | "drop_block">>;
|
|
80
80
|
}>>;
|
|
81
81
|
readonly type: Schema.tag<"enabled">;
|
|
82
82
|
readonly budget_tokens: Schema.Number;
|
|
83
83
|
}>, Schema.Union<readonly [Schema.Struct<{
|
|
84
|
-
readonly display: Schema.optional<Schema.
|
|
84
|
+
readonly display: Schema.optional<Schema.declare<(string & {}) | "summarized" | "omitted", (string & {}) | "summarized" | "omitted">>;
|
|
85
85
|
readonly block_binding: Schema.optional<Schema.Struct<{
|
|
86
86
|
readonly prefix_mismatch_behavior: Schema.optional<Schema.declare<(string & {}) | "error" | "drop_block", (string & {}) | "error" | "drop_block">>;
|
|
87
87
|
}>>;
|
|
88
88
|
readonly type: Schema.tag<"enabled">;
|
|
89
89
|
readonly budgetTokens: Schema.Number;
|
|
90
90
|
}>, Schema.Struct<{
|
|
91
|
-
readonly display: Schema.optional<Schema.
|
|
91
|
+
readonly display: Schema.optional<Schema.declare<(string & {}) | "summarized" | "omitted", (string & {}) | "summarized" | "omitted">>;
|
|
92
92
|
readonly block_binding: Schema.optional<Schema.Struct<{
|
|
93
93
|
readonly prefix_mismatch_behavior: Schema.optional<Schema.declare<(string & {}) | "error" | "drop_block", (string & {}) | "error" | "drop_block">>;
|
|
94
94
|
}>>;
|
|
95
95
|
readonly type: Schema.tag<"enabled">;
|
|
96
96
|
readonly budget_tokens: Schema.Number;
|
|
97
97
|
}>]>, never, never>, Schema.Struct<{
|
|
98
|
-
readonly display: Schema.optional<Schema.
|
|
98
|
+
readonly display: Schema.optional<Schema.declare<(string & {}) | "summarized" | "omitted", (string & {}) | "summarized" | "omitted">>;
|
|
99
99
|
readonly block_binding: Schema.optional<Schema.Struct<{
|
|
100
100
|
readonly prefix_mismatch_behavior: Schema.optional<Schema.declare<(string & {}) | "error" | "drop_block", (string & {}) | "error" | "drop_block">>;
|
|
101
101
|
}>>;
|
|
@@ -104,8 +104,8 @@ declare const Options: Schema.Struct<{
|
|
|
104
104
|
readonly type: Schema.tag<"disabled">;
|
|
105
105
|
}>]>>;
|
|
106
106
|
readonly effort: Schema.optional<Schema.String>;
|
|
107
|
-
readonly service_tier: Schema.optional<Schema.
|
|
108
|
-
readonly serviceTier: Schema.optional<Schema.
|
|
107
|
+
readonly service_tier: Schema.optional<Schema.declare<"auto" | (string & {}) | "standard_only", "auto" | (string & {}) | "standard_only">>;
|
|
108
|
+
readonly serviceTier: Schema.optional<Schema.declare<"auto" | (string & {}) | "standard_only", "auto" | (string & {}) | "standard_only">>;
|
|
109
109
|
readonly metadata: Schema.optional<Schema.Struct<{
|
|
110
110
|
readonly user_id: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
111
111
|
}>>;
|
|
@@ -369,14 +369,14 @@ export declare const AnthropicMessagesBody: Schema.Struct<{
|
|
|
369
369
|
top_k: Schema.optional<Schema.Number>;
|
|
370
370
|
stop_sequences: Schema.optional<Schema.$Array<Schema.String>>;
|
|
371
371
|
thinking: Schema.optional<Schema.Union<readonly [Schema.Struct<{
|
|
372
|
-
readonly display: Schema.optional<Schema.
|
|
372
|
+
readonly display: Schema.optional<Schema.declare<(string & {}) | "summarized" | "omitted", (string & {}) | "summarized" | "omitted">>;
|
|
373
373
|
readonly block_binding: Schema.optional<Schema.Struct<{
|
|
374
374
|
readonly prefix_mismatch_behavior: Schema.optional<Schema.declare<(string & {}) | "error" | "drop_block", (string & {}) | "error" | "drop_block">>;
|
|
375
375
|
}>>;
|
|
376
376
|
readonly type: Schema.tag<"enabled">;
|
|
377
377
|
readonly budget_tokens: Schema.Number;
|
|
378
378
|
}>, Schema.Struct<{
|
|
379
|
-
readonly display: Schema.optional<Schema.
|
|
379
|
+
readonly display: Schema.optional<Schema.declare<(string & {}) | "summarized" | "omitted", (string & {}) | "summarized" | "omitted">>;
|
|
380
380
|
readonly block_binding: Schema.optional<Schema.Struct<{
|
|
381
381
|
readonly prefix_mismatch_behavior: Schema.optional<Schema.declare<(string & {}) | "error" | "drop_block", (string & {}) | "error" | "drop_block">>;
|
|
382
382
|
}>>;
|
|
@@ -403,7 +403,7 @@ export declare const AnthropicMessagesBody: Schema.Struct<{
|
|
|
403
403
|
metadata: Schema.optional<Schema.Struct<{
|
|
404
404
|
readonly user_id: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
405
405
|
}>>;
|
|
406
|
-
service_tier: Schema.optional<Schema.
|
|
406
|
+
service_tier: Schema.optional<Schema.declare<"auto" | (string & {}) | "standard_only", "auto" | (string & {}) | "standard_only">>;
|
|
407
407
|
}>;
|
|
408
408
|
export type AnthropicMessagesBody = Schema.Schema.Type<typeof AnthropicMessagesBody>;
|
|
409
409
|
/**
|
|
@@ -627,20 +627,20 @@ export declare const protocol: Protocol<{
|
|
|
627
627
|
readonly thinking?: {
|
|
628
628
|
readonly type: "enabled";
|
|
629
629
|
readonly budget_tokens: number;
|
|
630
|
-
readonly display?: "summarized" | "omitted" | undefined;
|
|
630
|
+
readonly display?: (string & {}) | "summarized" | "omitted" | undefined;
|
|
631
631
|
readonly block_binding?: {
|
|
632
632
|
readonly prefix_mismatch_behavior?: (string & {}) | "error" | "drop_block" | undefined;
|
|
633
633
|
} | undefined;
|
|
634
634
|
} | {
|
|
635
635
|
readonly type: "adaptive";
|
|
636
|
-
readonly display?: "summarized" | "omitted" | undefined;
|
|
636
|
+
readonly display?: (string & {}) | "summarized" | "omitted" | undefined;
|
|
637
637
|
readonly block_binding?: {
|
|
638
638
|
readonly prefix_mismatch_behavior?: (string & {}) | "error" | "drop_block" | undefined;
|
|
639
639
|
} | undefined;
|
|
640
640
|
} | {
|
|
641
641
|
readonly type: "disabled";
|
|
642
642
|
} | undefined;
|
|
643
|
-
readonly service_tier?: "auto" | "standard_only" | undefined;
|
|
643
|
+
readonly service_tier?: "auto" | (string & {}) | "standard_only" | undefined;
|
|
644
644
|
readonly container?: string | {
|
|
645
645
|
readonly id?: string | null | undefined;
|
|
646
646
|
readonly skills?: readonly {
|
|
@@ -984,20 +984,20 @@ export declare const route: Route<{
|
|
|
984
984
|
readonly thinking?: {
|
|
985
985
|
readonly type: "enabled";
|
|
986
986
|
readonly budget_tokens: number;
|
|
987
|
-
readonly display?: "summarized" | "omitted" | undefined;
|
|
987
|
+
readonly display?: (string & {}) | "summarized" | "omitted" | undefined;
|
|
988
988
|
readonly block_binding?: {
|
|
989
989
|
readonly prefix_mismatch_behavior?: (string & {}) | "error" | "drop_block" | undefined;
|
|
990
990
|
} | undefined;
|
|
991
991
|
} | {
|
|
992
992
|
readonly type: "adaptive";
|
|
993
|
-
readonly display?: "summarized" | "omitted" | undefined;
|
|
993
|
+
readonly display?: (string & {}) | "summarized" | "omitted" | undefined;
|
|
994
994
|
readonly block_binding?: {
|
|
995
995
|
readonly prefix_mismatch_behavior?: (string & {}) | "error" | "drop_block" | undefined;
|
|
996
996
|
} | undefined;
|
|
997
997
|
} | {
|
|
998
998
|
readonly type: "disabled";
|
|
999
999
|
} | undefined;
|
|
1000
|
-
readonly service_tier?: "auto" | "standard_only" | undefined;
|
|
1000
|
+
readonly service_tier?: "auto" | (string & {}) | "standard_only" | undefined;
|
|
1001
1001
|
readonly container?: string | {
|
|
1002
1002
|
readonly id?: string | null | undefined;
|
|
1003
1003
|
readonly skills?: readonly {
|
|
@@ -51,7 +51,7 @@ const AnthropicCacheControl = Schema.Struct({
|
|
|
51
51
|
type: Schema.tag("ephemeral"),
|
|
52
52
|
ttl: Schema.optional(Schema.Literals(["5m", "1h"])),
|
|
53
53
|
});
|
|
54
|
-
const AnthropicServiceTier =
|
|
54
|
+
const AnthropicServiceTier = knownString();
|
|
55
55
|
const AnthropicTextBlock = Schema.Struct({
|
|
56
56
|
type: Schema.tag("text"),
|
|
57
57
|
text: Schema.String,
|
|
@@ -213,7 +213,7 @@ const AnthropicThinkingBlockBinding = Schema.Struct({
|
|
|
213
213
|
prefix_mismatch_behavior: Schema.optional(knownString()),
|
|
214
214
|
});
|
|
215
215
|
const AnthropicThinkingFields = {
|
|
216
|
-
display: Schema.optional(
|
|
216
|
+
display: Schema.optional(knownString()),
|
|
217
217
|
block_binding: Schema.optional(AnthropicThinkingBlockBinding),
|
|
218
218
|
};
|
|
219
219
|
const AnthropicThinkingEnabled = Schema.Struct({
|
|
@@ -221,20 +221,20 @@ export declare const protocol: Protocol<{
|
|
|
221
221
|
readonly thinking?: {
|
|
222
222
|
readonly type: "enabled";
|
|
223
223
|
readonly budget_tokens: number;
|
|
224
|
-
readonly display?: "summarized" | "omitted" | undefined;
|
|
224
|
+
readonly display?: (string & {}) | "summarized" | "omitted" | undefined;
|
|
225
225
|
readonly block_binding?: {
|
|
226
226
|
readonly prefix_mismatch_behavior?: (string & {}) | "error" | "drop_block" | undefined;
|
|
227
227
|
} | undefined;
|
|
228
228
|
} | {
|
|
229
229
|
readonly type: "adaptive";
|
|
230
|
-
readonly display?: "summarized" | "omitted" | undefined;
|
|
230
|
+
readonly display?: (string & {}) | "summarized" | "omitted" | undefined;
|
|
231
231
|
readonly block_binding?: {
|
|
232
232
|
readonly prefix_mismatch_behavior?: (string & {}) | "error" | "drop_block" | undefined;
|
|
233
233
|
} | undefined;
|
|
234
234
|
} | {
|
|
235
235
|
readonly type: "disabled";
|
|
236
236
|
} | undefined;
|
|
237
|
-
readonly service_tier?: "auto" | "standard_only" | undefined;
|
|
237
|
+
readonly service_tier?: "auto" | (string & {}) | "standard_only" | undefined;
|
|
238
238
|
readonly container?: string | {
|
|
239
239
|
readonly id?: string | null | undefined;
|
|
240
240
|
readonly skills?: readonly {
|
|
@@ -222,7 +222,7 @@ export declare const protocol: Protocol<{
|
|
|
222
222
|
readonly thinking?: {
|
|
223
223
|
readonly type: string;
|
|
224
224
|
} | undefined;
|
|
225
|
-
readonly service_tier?: "auto" | "standard_only" | undefined;
|
|
225
|
+
readonly service_tier?: "auto" | (string & {}) | "standard_only" | undefined;
|
|
226
226
|
readonly container?: string | {
|
|
227
227
|
readonly id?: string | null | undefined;
|
|
228
228
|
readonly skills?: readonly {
|
|
@@ -360,7 +360,7 @@ export declare const routes: (Route<{
|
|
|
360
360
|
readonly type: string;
|
|
361
361
|
readonly budget_tokens?: number | undefined;
|
|
362
362
|
} | undefined;
|
|
363
|
-
readonly service_tier?: "auto" | "standard_only" | undefined;
|
|
363
|
+
readonly service_tier?: "auto" | (string & {}) | "standard_only" | undefined;
|
|
364
364
|
readonly container?: string | {
|
|
365
365
|
readonly id?: string | null | undefined;
|
|
366
366
|
readonly skills?: readonly {
|
|
@@ -238,20 +238,20 @@ export declare const routes: import("../route/client.js").Route<{
|
|
|
238
238
|
readonly thinking?: {
|
|
239
239
|
readonly type: "enabled";
|
|
240
240
|
readonly budget_tokens: number;
|
|
241
|
-
readonly display?: "summarized" | "omitted" | undefined;
|
|
241
|
+
readonly display?: (string & {}) | "summarized" | "omitted" | undefined;
|
|
242
242
|
readonly block_binding?: {
|
|
243
243
|
readonly prefix_mismatch_behavior?: (string & {}) | "error" | "drop_block" | undefined;
|
|
244
244
|
} | undefined;
|
|
245
245
|
} | {
|
|
246
246
|
readonly type: "adaptive";
|
|
247
|
-
readonly display?: "summarized" | "omitted" | undefined;
|
|
247
|
+
readonly display?: (string & {}) | "summarized" | "omitted" | undefined;
|
|
248
248
|
readonly block_binding?: {
|
|
249
249
|
readonly prefix_mismatch_behavior?: (string & {}) | "error" | "drop_block" | undefined;
|
|
250
250
|
} | undefined;
|
|
251
251
|
} | {
|
|
252
252
|
readonly type: "disabled";
|
|
253
253
|
} | undefined;
|
|
254
|
-
readonly service_tier?: "auto" | "standard_only" | undefined;
|
|
254
|
+
readonly service_tier?: "auto" | (string & {}) | "standard_only" | undefined;
|
|
255
255
|
readonly container?: string | {
|
|
256
256
|
readonly id?: string | null | undefined;
|
|
257
257
|
readonly skills?: readonly {
|
|
@@ -223,20 +223,20 @@ export declare const routes: import("../route/client.js").Route<{
|
|
|
223
223
|
readonly thinking?: {
|
|
224
224
|
readonly type: "enabled";
|
|
225
225
|
readonly budget_tokens: number;
|
|
226
|
-
readonly display?: "summarized" | "omitted" | undefined;
|
|
226
|
+
readonly display?: (string & {}) | "summarized" | "omitted" | undefined;
|
|
227
227
|
readonly block_binding?: {
|
|
228
228
|
readonly prefix_mismatch_behavior?: (string & {}) | "error" | "drop_block" | undefined;
|
|
229
229
|
} | undefined;
|
|
230
230
|
} | {
|
|
231
231
|
readonly type: "adaptive";
|
|
232
|
-
readonly display?: "summarized" | "omitted" | undefined;
|
|
232
|
+
readonly display?: (string & {}) | "summarized" | "omitted" | undefined;
|
|
233
233
|
readonly block_binding?: {
|
|
234
234
|
readonly prefix_mismatch_behavior?: (string & {}) | "error" | "drop_block" | undefined;
|
|
235
235
|
} | undefined;
|
|
236
236
|
} | {
|
|
237
237
|
readonly type: "disabled";
|
|
238
238
|
} | undefined;
|
|
239
|
-
readonly service_tier?: "auto" | "standard_only" | undefined;
|
|
239
|
+
readonly service_tier?: "auto" | (string & {}) | "standard_only" | undefined;
|
|
240
240
|
readonly container?: string | {
|
|
241
241
|
readonly id?: string | null | undefined;
|
|
242
242
|
readonly skills?: readonly {
|
|
@@ -474,20 +474,20 @@ export declare const messagesRoute: import("../route/client.js").Route<{
|
|
|
474
474
|
readonly thinking?: {
|
|
475
475
|
readonly type: "enabled";
|
|
476
476
|
readonly budget_tokens: number;
|
|
477
|
-
readonly display?: "summarized" | "omitted" | undefined;
|
|
477
|
+
readonly display?: (string & {}) | "summarized" | "omitted" | undefined;
|
|
478
478
|
readonly block_binding?: {
|
|
479
479
|
readonly prefix_mismatch_behavior?: (string & {}) | "error" | "drop_block" | undefined;
|
|
480
480
|
} | undefined;
|
|
481
481
|
} | {
|
|
482
482
|
readonly type: "adaptive";
|
|
483
|
-
readonly display?: "summarized" | "omitted" | undefined;
|
|
483
|
+
readonly display?: (string & {}) | "summarized" | "omitted" | undefined;
|
|
484
484
|
readonly block_binding?: {
|
|
485
485
|
readonly prefix_mismatch_behavior?: (string & {}) | "error" | "drop_block" | undefined;
|
|
486
486
|
} | undefined;
|
|
487
487
|
} | {
|
|
488
488
|
readonly type: "disabled";
|
|
489
489
|
} | undefined;
|
|
490
|
-
readonly service_tier?: "auto" | "standard_only" | undefined;
|
|
490
|
+
readonly service_tier?: "auto" | (string & {}) | "standard_only" | undefined;
|
|
491
491
|
readonly container?: string | {
|
|
492
492
|
readonly id?: string | null | undefined;
|
|
493
493
|
readonly skills?: readonly {
|
|
@@ -846,20 +846,20 @@ export declare const routes: (import("../route/client.js").Route<{
|
|
|
846
846
|
readonly thinking?: {
|
|
847
847
|
readonly type: "enabled";
|
|
848
848
|
readonly budget_tokens: number;
|
|
849
|
-
readonly display?: "summarized" | "omitted" | undefined;
|
|
849
|
+
readonly display?: (string & {}) | "summarized" | "omitted" | undefined;
|
|
850
850
|
readonly block_binding?: {
|
|
851
851
|
readonly prefix_mismatch_behavior?: (string & {}) | "error" | "drop_block" | undefined;
|
|
852
852
|
} | undefined;
|
|
853
853
|
} | {
|
|
854
854
|
readonly type: "adaptive";
|
|
855
|
-
readonly display?: "summarized" | "omitted" | undefined;
|
|
855
|
+
readonly display?: (string & {}) | "summarized" | "omitted" | undefined;
|
|
856
856
|
readonly block_binding?: {
|
|
857
857
|
readonly prefix_mismatch_behavior?: (string & {}) | "error" | "drop_block" | undefined;
|
|
858
858
|
} | undefined;
|
|
859
859
|
} | {
|
|
860
860
|
readonly type: "disabled";
|
|
861
861
|
} | undefined;
|
|
862
|
-
readonly service_tier?: "auto" | "standard_only" | undefined;
|
|
862
|
+
readonly service_tier?: "auto" | (string & {}) | "standard_only" | undefined;
|
|
863
863
|
readonly container?: string | {
|
|
864
864
|
readonly id?: string | null | undefined;
|
|
865
865
|
readonly skills?: readonly {
|
|
@@ -236,20 +236,20 @@ export declare const routes: Route<{
|
|
|
236
236
|
thinking?: {
|
|
237
237
|
readonly type: "enabled";
|
|
238
238
|
readonly budget_tokens: number;
|
|
239
|
-
readonly display?: "summarized" | "omitted" | undefined;
|
|
239
|
+
readonly display?: (string & {}) | "summarized" | "omitted" | undefined;
|
|
240
240
|
readonly block_binding?: {
|
|
241
241
|
readonly prefix_mismatch_behavior?: (string & {}) | "error" | "drop_block" | undefined;
|
|
242
242
|
} | undefined;
|
|
243
243
|
} | {
|
|
244
244
|
readonly type: "adaptive";
|
|
245
|
-
readonly display?: "summarized" | "omitted" | undefined;
|
|
245
|
+
readonly display?: (string & {}) | "summarized" | "omitted" | undefined;
|
|
246
246
|
readonly block_binding?: {
|
|
247
247
|
readonly prefix_mismatch_behavior?: (string & {}) | "error" | "drop_block" | undefined;
|
|
248
248
|
} | undefined;
|
|
249
249
|
} | {
|
|
250
250
|
readonly type: "disabled";
|
|
251
251
|
} | undefined;
|
|
252
|
-
service_tier?: "auto" | "standard_only" | undefined;
|
|
252
|
+
service_tier?: "auto" | (string & {}) | "standard_only" | undefined;
|
|
253
253
|
container?: string | {
|
|
254
254
|
readonly id?: string | null | undefined;
|
|
255
255
|
readonly skills?: readonly {
|
package/dist/providers/meta.d.ts
CHANGED
|
@@ -548,20 +548,20 @@ export declare const routes: (Route<{
|
|
|
548
548
|
readonly thinking?: {
|
|
549
549
|
readonly type: "enabled";
|
|
550
550
|
readonly budget_tokens: number;
|
|
551
|
-
readonly display?: "summarized" | "omitted" | undefined;
|
|
551
|
+
readonly display?: (string & {}) | "summarized" | "omitted" | undefined;
|
|
552
552
|
readonly block_binding?: {
|
|
553
553
|
readonly prefix_mismatch_behavior?: (string & {}) | "error" | "drop_block" | undefined;
|
|
554
554
|
} | undefined;
|
|
555
555
|
} | {
|
|
556
556
|
readonly type: "adaptive";
|
|
557
|
-
readonly display?: "summarized" | "omitted" | undefined;
|
|
557
|
+
readonly display?: (string & {}) | "summarized" | "omitted" | undefined;
|
|
558
558
|
readonly block_binding?: {
|
|
559
559
|
readonly prefix_mismatch_behavior?: (string & {}) | "error" | "drop_block" | undefined;
|
|
560
560
|
} | undefined;
|
|
561
561
|
} | {
|
|
562
562
|
readonly type: "disabled";
|
|
563
563
|
} | undefined;
|
|
564
|
-
readonly service_tier?: "auto" | "standard_only" | undefined;
|
|
564
|
+
readonly service_tier?: "auto" | (string & {}) | "standard_only" | undefined;
|
|
565
565
|
readonly container?: string | {
|
|
566
566
|
readonly id?: string | null | undefined;
|
|
567
567
|
readonly skills?: readonly {
|
|
@@ -249,20 +249,20 @@ export declare const routes: (Route<{
|
|
|
249
249
|
readonly thinking?: {
|
|
250
250
|
readonly type: "enabled";
|
|
251
251
|
readonly budget_tokens: number;
|
|
252
|
-
readonly display?: "summarized" | "omitted" | undefined;
|
|
252
|
+
readonly display?: (string & {}) | "summarized" | "omitted" | undefined;
|
|
253
253
|
readonly block_binding?: {
|
|
254
254
|
readonly prefix_mismatch_behavior?: (string & {}) | "error" | "drop_block" | undefined;
|
|
255
255
|
} | undefined;
|
|
256
256
|
} | {
|
|
257
257
|
readonly type: "adaptive";
|
|
258
|
-
readonly display?: "summarized" | "omitted" | undefined;
|
|
258
|
+
readonly display?: (string & {}) | "summarized" | "omitted" | undefined;
|
|
259
259
|
readonly block_binding?: {
|
|
260
260
|
readonly prefix_mismatch_behavior?: (string & {}) | "error" | "drop_block" | undefined;
|
|
261
261
|
} | undefined;
|
|
262
262
|
} | {
|
|
263
263
|
readonly type: "disabled";
|
|
264
264
|
} | undefined;
|
|
265
|
-
readonly service_tier?: "auto" | "standard_only" | undefined;
|
|
265
|
+
readonly service_tier?: "auto" | (string & {}) | "standard_only" | undefined;
|
|
266
266
|
readonly container?: string | {
|
|
267
267
|
readonly id?: string | null | undefined;
|
|
268
268
|
readonly skills?: readonly {
|
|
@@ -247,20 +247,20 @@ export declare const routes: (Route<{
|
|
|
247
247
|
readonly thinking?: {
|
|
248
248
|
readonly type: "enabled";
|
|
249
249
|
readonly budget_tokens: number;
|
|
250
|
-
readonly display?: "summarized" | "omitted" | undefined;
|
|
250
|
+
readonly display?: (string & {}) | "summarized" | "omitted" | undefined;
|
|
251
251
|
readonly block_binding?: {
|
|
252
252
|
readonly prefix_mismatch_behavior?: (string & {}) | "error" | "drop_block" | undefined;
|
|
253
253
|
} | undefined;
|
|
254
254
|
} | {
|
|
255
255
|
readonly type: "adaptive";
|
|
256
|
-
readonly display?: "summarized" | "omitted" | undefined;
|
|
256
|
+
readonly display?: (string & {}) | "summarized" | "omitted" | undefined;
|
|
257
257
|
readonly block_binding?: {
|
|
258
258
|
readonly prefix_mismatch_behavior?: (string & {}) | "error" | "drop_block" | undefined;
|
|
259
259
|
} | undefined;
|
|
260
260
|
} | {
|
|
261
261
|
readonly type: "disabled";
|
|
262
262
|
} | undefined;
|
|
263
|
-
readonly service_tier?: "auto" | "standard_only" | undefined;
|
|
263
|
+
readonly service_tier?: "auto" | (string & {}) | "standard_only" | undefined;
|
|
264
264
|
readonly container?: string | {
|
|
265
265
|
readonly id?: string | null | undefined;
|
|
266
266
|
readonly skills?: readonly {
|
|
@@ -508,7 +508,7 @@ export declare const routes: (Route<{
|
|
|
508
508
|
readonly thinking?: {
|
|
509
509
|
readonly type: string;
|
|
510
510
|
} | undefined;
|
|
511
|
-
readonly service_tier?: "auto" | "standard_only" | undefined;
|
|
511
|
+
readonly service_tier?: "auto" | (string & {}) | "standard_only" | undefined;
|
|
512
512
|
readonly container?: string | {
|
|
513
513
|
readonly id?: string | null | undefined;
|
|
514
514
|
readonly skills?: readonly {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package.json",
|
|
3
|
-
"version": "0.0.0-dev-
|
|
3
|
+
"version": "0.0.0-dev-19808",
|
|
4
4
|
"name": "@opencode/ai",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@clack/prompts": "1.0.0-alpha.1",
|
|
32
32
|
"@effect/platform-node": "4.0.0-rc.112",
|
|
33
|
-
"@opencode/http-recorder": "0.0.0-dev-
|
|
33
|
+
"@opencode/http-recorder": "0.0.0-dev-19808",
|
|
34
34
|
"@tsconfig/bun": "1.0.9",
|
|
35
35
|
"@types/bun": "1.4.0",
|
|
36
36
|
"@typescript/native-preview": "7.0.0-dev.20251207.1",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"@aws-sdk/credential-providers": "3.1057.0",
|
|
41
41
|
"@smithy/eventstream-codec": "4.2.14",
|
|
42
42
|
"@smithy/util-utf8": "4.2.2",
|
|
43
|
-
"@opencode/schema": "0.0.0-dev-
|
|
43
|
+
"@opencode/schema": "0.0.0-dev-19808",
|
|
44
44
|
"aws4fetch": "1.0.20",
|
|
45
45
|
"effect": "4.0.0-rc.112",
|
|
46
46
|
"google-auth-library": "10.5.0"
|