@opencode/ai 2.0.30 → 2.0.32

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.
Files changed (60) hide show
  1. package/dist/experimental/realtime.d.ts +55 -0
  2. package/dist/experimental/realtime.js +74 -0
  3. package/dist/experimental.d.ts +2 -0
  4. package/dist/experimental.js +1 -0
  5. package/dist/protocols/alibaba-chat.d.ts +1 -1
  6. package/dist/protocols/alibaba-messages.d.ts +1 -1
  7. package/dist/protocols/alibaba-responses.d.ts +1 -1
  8. package/dist/protocols/anthropic-messages.d.ts +2 -2
  9. package/dist/protocols/bedrock-converse.d.ts +2 -2
  10. package/dist/protocols/bedrock-converse.js +1 -1
  11. package/dist/protocols/cohere-chat.d.ts +2 -2
  12. package/dist/protocols/gemini.js +11 -1
  13. package/dist/protocols/meta-messages.d.ts +1 -1
  14. package/dist/protocols/meta-responses.d.ts +2 -2
  15. package/dist/protocols/mistral-chat.d.ts +3 -3
  16. package/dist/protocols/open-responses.d.ts +2 -2
  17. package/dist/protocols/openai-chat.d.ts +3 -3
  18. package/dist/protocols/openai-compatible-chat.d.ts +1 -1
  19. package/dist/protocols/openai-compatible-responses.d.ts +1 -1
  20. package/dist/protocols/openai-responses.d.ts +5 -5
  21. package/dist/protocols/utils/bedrock-cache.d.ts +2 -2
  22. package/dist/protocols/utils/bedrock-cache.js +5 -3
  23. package/dist/protocols/venice-chat.d.ts +1 -1
  24. package/dist/protocols/xai-responses.d.ts +1 -1
  25. package/dist/protocols/zai-chat.d.ts +1 -1
  26. package/dist/protocols/zai-messages.d.ts +1 -1
  27. package/dist/providers/alibaba.d.ts +3 -3
  28. package/dist/providers/amazon-bedrock-mantle.d.ts +3 -3
  29. package/dist/providers/amazon-bedrock.d.ts +1 -1
  30. package/dist/providers/anthropic-compatible.d.ts +1 -1
  31. package/dist/providers/anthropic.d.ts +1 -1
  32. package/dist/providers/azure.d.ts +3 -3
  33. package/dist/providers/baseten.d.ts +2 -2
  34. package/dist/providers/cerebras.d.ts +2 -2
  35. package/dist/providers/cloudflare-ai-gateway.d.ts +6 -6
  36. package/dist/providers/cloudflare-workers-ai.d.ts +2 -2
  37. package/dist/providers/cohere.d.ts +4 -4
  38. package/dist/providers/deepinfra.d.ts +2 -2
  39. package/dist/providers/deepseek.d.ts +2 -2
  40. package/dist/providers/digitalocean.d.ts +3 -3
  41. package/dist/providers/fireworks.d.ts +2 -2
  42. package/dist/providers/google-vertex-chat.d.ts +1 -1
  43. package/dist/providers/google-vertex-messages.d.ts +1 -1
  44. package/dist/providers/google-vertex-mistral.d.ts +1 -1
  45. package/dist/providers/google-vertex-responses.d.ts +1 -1
  46. package/dist/providers/groq.d.ts +2 -2
  47. package/dist/providers/meta.d.ts +3 -3
  48. package/dist/providers/minimax.d.ts +3 -3
  49. package/dist/providers/mistral.d.ts +2 -2
  50. package/dist/providers/moonshot.d.ts +3 -3
  51. package/dist/providers/openai-compatible-responses.d.ts +1 -1
  52. package/dist/providers/openai-compatible.d.ts +1 -1
  53. package/dist/providers/openai.d.ts +2 -2
  54. package/dist/providers/openrouter.d.ts +3 -3
  55. package/dist/providers/togetherai.d.ts +2 -2
  56. package/dist/providers/venice.d.ts +1 -1
  57. package/dist/providers/xai.d.ts +1 -1
  58. package/dist/providers/zai-coding-plan.d.ts +3 -3
  59. package/dist/providers/zai.d.ts +1 -1
  60. package/package.json +3 -3
@@ -20,6 +20,7 @@ export type Settings = ProviderPackage.Settings & MistralChat.ProviderOptionsInp
20
20
  };
21
21
  export declare const routes: Route<{
22
22
  readonly max_tokens?: number | undefined;
23
+ readonly temperature?: number | undefined;
23
24
  readonly tools?: readonly {
24
25
  readonly type: "function";
25
26
  readonly function: {
@@ -89,7 +90,6 @@ export declare const routes: Route<{
89
90
  readonly document_url: string;
90
91
  })[];
91
92
  })[];
92
- readonly temperature?: number | undefined;
93
93
  readonly stream: true;
94
94
  readonly tool_choice?: "auto" | "none" | "any" | {
95
95
  readonly type: "function";
@@ -151,6 +151,7 @@ export declare const routes: Route<{
151
151
  readonly summary?: "auto" | "concise" | "detailed" | undefined;
152
152
  readonly effort?: import("../schema/options.js").ReasoningEffort | undefined;
153
153
  } | undefined;
154
+ readonly temperature?: number | undefined;
154
155
  readonly tools?: readonly ({
155
156
  readonly [x: string]: unknown;
156
157
  readonly type: string;
@@ -166,7 +167,6 @@ export declare const routes: Route<{
166
167
  readonly text?: {
167
168
  readonly verbosity?: import("../protocols/utils/open-responses-options.js").TextVerbosity | undefined;
168
169
  } | undefined;
169
- readonly temperature?: number | undefined;
170
170
  readonly service_tier?: import("../protocols/utils/open-responses-options.js").ServiceTier | undefined;
171
171
  readonly tool_choice?: "required" | "auto" | "none" | {
172
172
  readonly type: "function";
@@ -108,6 +108,7 @@ export declare const protocol: Protocol<{
108
108
  readonly stream: true;
109
109
  readonly max_completion_tokens?: number | undefined;
110
110
  readonly max_tokens?: number | undefined;
111
+ readonly temperature?: number | undefined;
111
112
  readonly tools?: readonly {
112
113
  readonly function: {
113
114
  readonly description: string;
@@ -125,7 +126,6 @@ export declare const protocol: Protocol<{
125
126
  }[] | undefined;
126
127
  readonly stop?: readonly string[] | undefined;
127
128
  readonly user?: string | undefined;
128
- readonly temperature?: number | undefined;
129
129
  readonly seed?: number | undefined;
130
130
  readonly service_tier?: string | undefined;
131
131
  readonly tool_choice?: "required" | "auto" | "none" | {
@@ -307,6 +307,7 @@ export declare const route: Route<{
307
307
  readonly stream: true;
308
308
  readonly max_completion_tokens?: number | undefined;
309
309
  readonly max_tokens?: number | undefined;
310
+ readonly temperature?: number | undefined;
310
311
  readonly tools?: readonly {
311
312
  readonly function: {
312
313
  readonly description: string;
@@ -324,7 +325,6 @@ export declare const route: Route<{
324
325
  }[] | undefined;
325
326
  readonly stop?: readonly string[] | undefined;
326
327
  readonly user?: string | undefined;
327
- readonly temperature?: number | undefined;
328
328
  readonly seed?: number | undefined;
329
329
  readonly service_tier?: string | undefined;
330
330
  readonly tool_choice?: "required" | "auto" | "none" | {
@@ -125,6 +125,7 @@ export declare const routes: (Route<{
125
125
  readonly stream: true;
126
126
  readonly max_completion_tokens?: number | undefined;
127
127
  readonly max_tokens?: number | undefined;
128
+ readonly temperature?: number | undefined;
128
129
  readonly tools?: readonly {
129
130
  readonly function: {
130
131
  readonly description: string;
@@ -141,7 +142,6 @@ export declare const routes: (Route<{
141
142
  } | undefined;
142
143
  }[] | undefined;
143
144
  readonly stop?: readonly string[] | undefined;
144
- readonly temperature?: number | undefined;
145
145
  readonly seed?: number | undefined;
146
146
  readonly tool_choice?: "required" | "auto" | "none" | {
147
147
  readonly type: "function";
@@ -293,6 +293,7 @@ export declare const routes: (Route<{
293
293
  readonly summary?: "auto" | "concise" | "detailed" | undefined;
294
294
  readonly effort?: import("../schema/options.js").ReasoningEffort | undefined;
295
295
  } | undefined;
296
+ readonly temperature?: number | undefined;
296
297
  readonly tools?: readonly ({
297
298
  readonly [x: string]: unknown;
298
299
  readonly type: string;
@@ -308,7 +309,6 @@ export declare const routes: (Route<{
308
309
  readonly text?: {
309
310
  readonly verbosity?: import("../protocols/utils/open-responses-options.js").TextVerbosity | undefined;
310
311
  } | undefined;
311
- readonly temperature?: number | undefined;
312
312
  readonly service_tier?: import("../protocols/utils/open-responses-options.js").ServiceTier | undefined;
313
313
  readonly tool_choice?: "required" | "auto" | "none" | {
314
314
  readonly type: "function";
@@ -529,6 +529,7 @@ export declare const routes: (Route<{
529
529
  readonly metadata?: {
530
530
  readonly user_id?: string | null | undefined;
531
531
  } | undefined;
532
+ readonly temperature?: number | undefined;
532
533
  readonly tools?: readonly ({
533
534
  readonly type: "web_search";
534
535
  readonly name: "web_search";
@@ -558,7 +559,6 @@ export declare const routes: (Route<{
558
559
  readonly ttl?: "1h" | "5m" | undefined;
559
560
  } | undefined;
560
561
  }[] | undefined;
561
- readonly temperature?: number | undefined;
562
562
  readonly thinking?: {
563
563
  readonly type: "enabled";
564
564
  readonly budget_tokens: number;
@@ -226,6 +226,7 @@ export declare const routes: (Route<{
226
226
  readonly metadata?: {
227
227
  readonly user_id?: string | null | undefined;
228
228
  } | undefined;
229
+ readonly temperature?: number | undefined;
229
230
  readonly tools?: readonly {
230
231
  readonly description: string;
231
232
  readonly name: string;
@@ -245,7 +246,6 @@ export declare const routes: (Route<{
245
246
  readonly ttl?: "1h" | "5m" | undefined;
246
247
  } | undefined;
247
248
  }[] | undefined;
248
- readonly temperature?: number | undefined;
249
249
  readonly thinking?: {
250
250
  readonly type: "enabled";
251
251
  readonly budget_tokens: number;
@@ -439,6 +439,7 @@ export declare const routes: (Route<{
439
439
  readonly summary?: "auto" | "concise" | "detailed" | undefined;
440
440
  readonly effort?: import("../schema/options.js").ReasoningEffort | undefined;
441
441
  } | undefined;
442
+ readonly temperature?: number | undefined;
442
443
  readonly tools?: readonly ({
443
444
  readonly [x: string]: unknown;
444
445
  readonly type: string;
@@ -454,7 +455,6 @@ export declare const routes: (Route<{
454
455
  readonly text?: {
455
456
  readonly verbosity?: import("../protocols/utils/open-responses-options.js").TextVerbosity | undefined;
456
457
  } | undefined;
457
- readonly temperature?: number | undefined;
458
458
  readonly service_tier?: import("../protocols/utils/open-responses-options.js").ServiceTier | undefined;
459
459
  readonly tool_choice?: "required" | "auto" | "none" | {
460
460
  readonly type: "function";
@@ -570,6 +570,7 @@ export declare const routes: (Route<{
570
570
  readonly reasoning_split: boolean;
571
571
  readonly max_completion_tokens?: number | undefined;
572
572
  readonly max_tokens?: number | undefined;
573
+ readonly temperature?: number | undefined;
573
574
  readonly tools?: readonly {
574
575
  readonly function: {
575
576
  readonly description: string;
@@ -586,7 +587,6 @@ export declare const routes: (Route<{
586
587
  } | undefined;
587
588
  }[] | undefined;
588
589
  readonly stop?: readonly string[] | undefined;
589
- readonly temperature?: number | undefined;
590
590
  readonly seed?: number | undefined;
591
591
  readonly thinking?: {
592
592
  readonly type: string;
@@ -73,6 +73,7 @@ export declare const route: import("../route/client.js").Route<{
73
73
  })[];
74
74
  readonly stream: true;
75
75
  readonly max_tokens?: number | undefined;
76
+ readonly temperature?: number | undefined;
76
77
  readonly tools?: readonly {
77
78
  readonly type: "function";
78
79
  readonly function: {
@@ -85,7 +86,6 @@ export declare const route: import("../route/client.js").Route<{
85
86
  };
86
87
  }[] | undefined;
87
88
  readonly stop?: readonly string[] | undefined;
88
- readonly temperature?: number | undefined;
89
89
  readonly tool_choice?: "auto" | "none" | "any" | {
90
90
  readonly type: "function";
91
91
  readonly function: {
@@ -164,6 +164,7 @@ export declare const routes: import("../route/client.js").Route<{
164
164
  })[];
165
165
  readonly stream: true;
166
166
  readonly max_tokens?: number | undefined;
167
+ readonly temperature?: number | undefined;
167
168
  readonly tools?: readonly {
168
169
  readonly type: "function";
169
170
  readonly function: {
@@ -176,7 +177,6 @@ export declare const routes: import("../route/client.js").Route<{
176
177
  };
177
178
  }[] | undefined;
178
179
  readonly stop?: readonly string[] | undefined;
179
- readonly temperature?: number | undefined;
180
180
  readonly tool_choice?: "auto" | "none" | "any" | {
181
181
  readonly type: "function";
182
182
  readonly function: {
@@ -224,6 +224,7 @@ export declare const routes: (Route<{
224
224
  readonly metadata?: {
225
225
  readonly user_id?: string | null | undefined;
226
226
  } | undefined;
227
+ readonly temperature?: number | undefined;
227
228
  readonly tools?: readonly {
228
229
  readonly description: string;
229
230
  readonly name: string;
@@ -243,7 +244,6 @@ export declare const routes: (Route<{
243
244
  readonly ttl?: "1h" | "5m" | undefined;
244
245
  } | undefined;
245
246
  }[] | undefined;
246
- readonly temperature?: number | undefined;
247
247
  readonly thinking?: {
248
248
  readonly type: "enabled";
249
249
  readonly budget_tokens: number;
@@ -437,6 +437,7 @@ export declare const routes: (Route<{
437
437
  readonly summary?: "auto" | "concise" | "detailed" | undefined;
438
438
  readonly effort?: import("../schema/options.js").ReasoningEffort | undefined;
439
439
  } | undefined;
440
+ readonly temperature?: number | undefined;
440
441
  readonly tools?: readonly ({
441
442
  readonly [x: string]: unknown;
442
443
  readonly type: string;
@@ -452,7 +453,6 @@ export declare const routes: (Route<{
452
453
  readonly text?: {
453
454
  readonly verbosity?: import("../protocols/utils/open-responses-options.js").TextVerbosity | undefined;
454
455
  } | undefined;
455
- readonly temperature?: number | undefined;
456
456
  readonly service_tier?: import("../protocols/utils/open-responses-options.js").ServiceTier | undefined;
457
457
  readonly tool_choice?: "required" | "auto" | "none" | {
458
458
  readonly type: "function";
@@ -567,6 +567,7 @@ export declare const routes: (Route<{
567
567
  readonly stream: true;
568
568
  readonly max_completion_tokens?: number | undefined;
569
569
  readonly max_tokens?: number | undefined;
570
+ readonly temperature?: number | undefined;
570
571
  readonly tools?: readonly {
571
572
  readonly function: {
572
573
  readonly description: string;
@@ -583,7 +584,6 @@ export declare const routes: (Route<{
583
584
  } | undefined;
584
585
  }[] | undefined;
585
586
  readonly stop?: readonly string[] | undefined;
586
- readonly temperature?: number | undefined;
587
587
  readonly seed?: number | undefined;
588
588
  readonly thinking?: {
589
589
  readonly type: string;
@@ -149,6 +149,7 @@ export declare const routes: import("../route/client.js").Route<{
149
149
  readonly summary?: "auto" | "concise" | "detailed" | undefined;
150
150
  readonly effort?: import("../schema/options.js").ReasoningEffort | undefined;
151
151
  } | undefined;
152
+ readonly temperature?: number | undefined;
152
153
  readonly tools?: readonly ({
153
154
  readonly [x: string]: unknown;
154
155
  readonly type: string;
@@ -164,7 +165,6 @@ export declare const routes: import("../route/client.js").Route<{
164
165
  readonly text?: {
165
166
  readonly verbosity?: import("../protocols/utils/open-responses-options.js").TextVerbosity | undefined;
166
167
  } | undefined;
167
- readonly temperature?: number | undefined;
168
168
  readonly service_tier?: import("../protocols/utils/open-responses-options.js").ServiceTier | undefined;
169
169
  readonly tool_choice?: "required" | "auto" | "none" | {
170
170
  readonly type: "function";
@@ -101,6 +101,7 @@ export declare const routes: import("../route/client.js").Route<{
101
101
  readonly stream: true;
102
102
  readonly max_completion_tokens?: number | undefined;
103
103
  readonly max_tokens?: number | undefined;
104
+ readonly temperature?: number | undefined;
104
105
  readonly tools?: readonly {
105
106
  readonly function: {
106
107
  readonly description: string;
@@ -117,7 +118,6 @@ export declare const routes: import("../route/client.js").Route<{
117
118
  } | undefined;
118
119
  }[] | undefined;
119
120
  readonly stop?: readonly string[] | undefined;
120
- readonly temperature?: number | undefined;
121
121
  readonly seed?: number | undefined;
122
122
  readonly tool_choice?: "required" | "auto" | "none" | {
123
123
  readonly type: "function";
@@ -96,6 +96,7 @@ export declare const routes: (Route<{
96
96
  readonly stream: true;
97
97
  readonly max_completion_tokens?: number | undefined;
98
98
  readonly max_tokens?: number | undefined;
99
+ readonly temperature?: number | undefined;
99
100
  readonly tools?: readonly {
100
101
  readonly function: {
101
102
  readonly description: string;
@@ -112,7 +113,6 @@ export declare const routes: (Route<{
112
113
  } | undefined;
113
114
  }[] | undefined;
114
115
  readonly stop?: readonly string[] | undefined;
115
- readonly temperature?: number | undefined;
116
116
  readonly seed?: number | undefined;
117
117
  readonly tool_choice?: "required" | "auto" | "none" | {
118
118
  readonly type: "function";
@@ -264,6 +264,7 @@ export declare const routes: (Route<{
264
264
  readonly summary?: "auto" | "concise" | "detailed" | undefined;
265
265
  readonly effort?: import("../schema/options.js").ReasoningEffort | undefined;
266
266
  } | undefined;
267
+ readonly temperature?: number | undefined;
267
268
  readonly tools?: readonly ({
268
269
  readonly type: "function";
269
270
  readonly description: string;
@@ -299,7 +300,6 @@ export declare const routes: (Route<{
299
300
  readonly text?: {
300
301
  readonly verbosity?: import("../protocols/utils/open-responses-options.js").TextVerbosity | undefined;
301
302
  } | undefined;
302
- readonly temperature?: number | undefined;
303
303
  readonly service_tier?: import("../protocols/utils/open-responses-options.js").ServiceTier | undefined;
304
304
  readonly context_management?: readonly {
305
305
  readonly type: "compaction";
@@ -295,6 +295,7 @@ export declare const protocol: Protocol<{
295
295
  readonly stream: true;
296
296
  readonly max_completion_tokens?: number | undefined;
297
297
  readonly max_tokens?: number | undefined;
298
+ readonly temperature?: number | undefined;
298
299
  readonly tools?: readonly {
299
300
  readonly function: {
300
301
  readonly description: string;
@@ -311,7 +312,6 @@ export declare const protocol: Protocol<{
311
312
  } | undefined;
312
313
  }[] | undefined;
313
314
  readonly stop?: readonly string[] | undefined;
314
- readonly temperature?: number | undefined;
315
315
  readonly seed?: number | undefined;
316
316
  readonly tool_choice?: "required" | "auto" | "none" | {
317
317
  readonly type: "function";
@@ -490,6 +490,7 @@ export declare const route: Route<{
490
490
  readonly stream: true;
491
491
  readonly max_completion_tokens?: number | undefined;
492
492
  readonly max_tokens?: number | undefined;
493
+ readonly temperature?: number | undefined;
493
494
  readonly tools?: readonly {
494
495
  readonly function: {
495
496
  readonly description: string;
@@ -506,7 +507,6 @@ export declare const route: Route<{
506
507
  } | undefined;
507
508
  }[] | undefined;
508
509
  readonly stop?: readonly string[] | undefined;
509
- readonly temperature?: number | undefined;
510
510
  readonly seed?: number | undefined;
511
511
  readonly tool_choice?: "required" | "auto" | "none" | {
512
512
  readonly type: "function";
@@ -613,6 +613,7 @@ export declare const routes: Route<{
613
613
  readonly stream: true;
614
614
  readonly max_completion_tokens?: number | undefined;
615
615
  readonly max_tokens?: number | undefined;
616
+ readonly temperature?: number | undefined;
616
617
  readonly tools?: readonly {
617
618
  readonly function: {
618
619
  readonly description: string;
@@ -629,7 +630,6 @@ export declare const routes: Route<{
629
630
  } | undefined;
630
631
  }[] | undefined;
631
632
  readonly stop?: readonly string[] | undefined;
632
- readonly temperature?: number | undefined;
633
633
  readonly seed?: number | undefined;
634
634
  readonly tool_choice?: "required" | "auto" | "none" | {
635
635
  readonly type: "function";
@@ -99,6 +99,7 @@ export declare const route: Route<{
99
99
  readonly stream: true;
100
100
  readonly max_completion_tokens?: number | undefined;
101
101
  readonly max_tokens?: number | undefined;
102
+ readonly temperature?: number | undefined;
102
103
  readonly tools?: readonly {
103
104
  readonly function: {
104
105
  readonly description: string;
@@ -115,7 +116,6 @@ export declare const route: Route<{
115
116
  } | undefined;
116
117
  }[] | undefined;
117
118
  readonly stop?: readonly string[] | undefined;
118
- readonly temperature?: number | undefined;
119
119
  readonly seed?: number | undefined;
120
120
  readonly tool_choice?: "required" | "auto" | "none" | {
121
121
  readonly type: "function";
@@ -221,6 +221,7 @@ export declare const routes: Route<{
221
221
  readonly stream: true;
222
222
  readonly max_completion_tokens?: number | undefined;
223
223
  readonly max_tokens?: number | undefined;
224
+ readonly temperature?: number | undefined;
224
225
  readonly tools?: readonly {
225
226
  readonly function: {
226
227
  readonly description: string;
@@ -237,7 +238,6 @@ export declare const routes: Route<{
237
238
  } | undefined;
238
239
  }[] | undefined;
239
240
  readonly stop?: readonly string[] | undefined;
240
- readonly temperature?: number | undefined;
241
241
  readonly seed?: number | undefined;
242
242
  readonly tool_choice?: "required" | "auto" | "none" | {
243
243
  readonly type: "function";
@@ -112,6 +112,7 @@ export declare const routes: Route<{
112
112
  } | undefined;
113
113
  readonly max_completion_tokens?: number | undefined;
114
114
  readonly max_tokens?: number | undefined;
115
+ readonly temperature?: number | undefined;
115
116
  readonly tools?: readonly {
116
117
  readonly function: {
117
118
  readonly description: string;
@@ -129,7 +130,6 @@ export declare const routes: Route<{
129
130
  }[] | undefined;
130
131
  readonly stop?: readonly string[] | undefined;
131
132
  readonly user?: string | undefined;
132
- readonly temperature?: number | undefined;
133
133
  readonly seed?: number | undefined;
134
134
  readonly tool_choice?: "required" | "auto" | "none" | {
135
135
  readonly type: "function";
@@ -107,6 +107,7 @@ export declare const routes: (Route<{
107
107
  readonly stream: true;
108
108
  readonly max_completion_tokens?: number | undefined;
109
109
  readonly max_tokens?: number | undefined;
110
+ readonly temperature?: number | undefined;
110
111
  readonly tools?: readonly {
111
112
  readonly function: {
112
113
  readonly description: string;
@@ -123,7 +124,6 @@ export declare const routes: (Route<{
123
124
  } | undefined;
124
125
  }[] | undefined;
125
126
  readonly stop?: readonly string[] | undefined;
126
- readonly temperature?: number | undefined;
127
127
  readonly seed?: number | undefined;
128
128
  readonly tool_choice?: "required" | "auto" | "none" | {
129
129
  readonly type: "function";
@@ -153,6 +153,7 @@ export declare const routes: (Route<{
153
153
  readonly summary?: "auto" | "concise" | "detailed" | undefined;
154
154
  readonly effort?: import("../schema/options.js").ReasoningEffort | undefined;
155
155
  } | undefined;
156
+ readonly temperature?: number | undefined;
156
157
  readonly tools?: readonly ({
157
158
  readonly [x: string]: unknown;
158
159
  readonly type: string;
@@ -168,7 +169,6 @@ export declare const routes: (Route<{
168
169
  readonly text?: {
169
170
  readonly verbosity?: import("../protocols/utils/open-responses-options.js").TextVerbosity | undefined;
170
171
  } | undefined;
171
- readonly temperature?: number | undefined;
172
172
  readonly service_tier?: import("../protocols/utils/open-responses-options.js").ServiceTier | undefined;
173
173
  readonly tool_choice?: "required" | "auto" | "none" | {
174
174
  readonly type: "function";
@@ -283,6 +283,7 @@ export declare const routes: (Route<{
283
283
  readonly stream: true;
284
284
  readonly max_completion_tokens?: number | undefined;
285
285
  readonly max_tokens?: number | undefined;
286
+ readonly temperature?: number | undefined;
286
287
  readonly tools?: readonly {
287
288
  readonly function: {
288
289
  readonly description: string;
@@ -299,7 +300,6 @@ export declare const routes: (Route<{
299
300
  } | undefined;
300
301
  }[] | undefined;
301
302
  readonly stop?: readonly string[] | undefined;
302
- readonly temperature?: number | undefined;
303
303
  readonly seed?: number | undefined;
304
304
  readonly thinking?: {
305
305
  readonly type?: string | undefined;
@@ -520,6 +520,7 @@ export declare const routes: (Route<{
520
520
  readonly metadata?: {
521
521
  readonly user_id?: string | null | undefined;
522
522
  } | undefined;
523
+ readonly temperature?: number | undefined;
523
524
  readonly tools?: readonly {
524
525
  readonly description: string;
525
526
  readonly name: string;
@@ -539,7 +540,6 @@ export declare const routes: (Route<{
539
540
  readonly ttl?: "1h" | "5m" | undefined;
540
541
  } | undefined;
541
542
  }[] | undefined;
542
- readonly temperature?: number | undefined;
543
543
  readonly thinking?: {
544
544
  readonly type: string;
545
545
  } | undefined;
@@ -101,6 +101,7 @@ export declare const routes: Route<{
101
101
  readonly stream: true;
102
102
  readonly max_completion_tokens?: number | undefined;
103
103
  readonly max_tokens?: number | undefined;
104
+ readonly temperature?: number | undefined;
104
105
  readonly tools?: readonly {
105
106
  readonly function: {
106
107
  readonly description: string;
@@ -117,7 +118,6 @@ export declare const routes: Route<{
117
118
  } | undefined;
118
119
  }[] | undefined;
119
120
  readonly stop?: readonly string[] | undefined;
120
- readonly temperature?: number | undefined;
121
121
  readonly seed?: number | undefined;
122
122
  readonly thinking?: {
123
123
  readonly type?: string | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
- "version": "2.0.30",
3
+ "version": "2.0.32",
4
4
  "name": "@opencode/ai",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -34,7 +34,7 @@
34
34
  "devDependencies": {
35
35
  "@clack/prompts": "1.0.0-alpha.1",
36
36
  "@effect/platform-node": "4.0.1",
37
- "@opencode/http-recorder": "2.0.30",
37
+ "@opencode/http-recorder": "2.0.32",
38
38
  "@tsconfig/bun": "1.0.9",
39
39
  "@types/bun": "1.4.0",
40
40
  "@typescript/native-preview": "7.0.0-dev.20251207.1",
@@ -44,7 +44,7 @@
44
44
  "@aws-sdk/credential-providers": "3.1057.0",
45
45
  "@smithy/eventstream-codec": "4.2.14",
46
46
  "@smithy/util-utf8": "4.2.2",
47
- "@opencode/schema": "2.0.30",
47
+ "@opencode/schema": "2.0.32",
48
48
  "aws4fetch": "1.0.20",
49
49
  "effect": "4.0.1",
50
50
  "google-auth-library": "10.5.0"