@monotykamary/pi-opencode-provider 1.0.10 → 1.0.11

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@monotykamary/pi-opencode-provider",
3
- "version": "1.0.10",
3
+ "version": "1.0.11",
4
4
  "description": "Opencode provider extension for pi - Access GPT, Claude, Gemini, GLM, MiniMax, Kimi and more through the opencode.ai API",
5
5
  "type": "module",
6
6
  "main": "index.ts",
@@ -25,10 +25,6 @@
25
25
  "./index.ts"
26
26
  ]
27
27
  },
28
- "files": [
29
- "README.md",
30
- "LICENSE"
31
- ],
32
28
  "scripts": {
33
29
  "clean": "echo 'nothing to clean'",
34
30
  "build": "echo 'nothing to build'",
package/patch.json ADDED
@@ -0,0 +1,663 @@
1
+ {
2
+ "gpt-5.1-codex-mini": {
3
+ "thinkingLevelMap": {
4
+ "off": null,
5
+ "minimal": null,
6
+ "low": "low",
7
+ "medium": "medium",
8
+ "high": "high",
9
+ "xhigh": null,
10
+ "max": null
11
+ },
12
+ "compat": {
13
+ "sessionAffinityFormat": "openai-nosession",
14
+ "supportsOpenAIGrammarTools": true
15
+ }
16
+ },
17
+ "claude-sonnet-4-6": {
18
+ "thinkingLevelMap": {
19
+ "max": "max"
20
+ },
21
+ "compat": {
22
+ "forceAdaptiveThinking": true
23
+ }
24
+ },
25
+ "gpt-5.5-pro": {
26
+ "thinkingLevelMap": {
27
+ "off": null,
28
+ "minimal": null,
29
+ "low": null,
30
+ "medium": "medium",
31
+ "high": "high",
32
+ "xhigh": "xhigh",
33
+ "max": null
34
+ },
35
+ "compat": {
36
+ "sessionAffinityFormat": "openai-nosession",
37
+ "supportsOpenAIGrammarTools": true
38
+ }
39
+ },
40
+ "glm-5": {
41
+ "compat": {
42
+ "supportsStore": false,
43
+ "supportsDeveloperRole": false,
44
+ "maxTokensField": "max_tokens"
45
+ }
46
+ },
47
+ "gemini-3.5-flash": {
48
+ "thinkingLevelMap": {
49
+ "off": null
50
+ }
51
+ },
52
+ "gpt-5.3-codex-spark": {
53
+ "thinkingLevelMap": {
54
+ "off": null,
55
+ "xhigh": "xhigh"
56
+ }
57
+ },
58
+ "gpt-5.4-pro": {
59
+ "thinkingLevelMap": {
60
+ "off": null,
61
+ "minimal": null,
62
+ "low": null,
63
+ "medium": "medium",
64
+ "high": "high",
65
+ "xhigh": "xhigh",
66
+ "max": null
67
+ },
68
+ "compat": {
69
+ "sessionAffinityFormat": "openai-nosession",
70
+ "supportsOpenAIGrammarTools": true
71
+ }
72
+ },
73
+ "gpt-5.6-sol": {
74
+ "thinkingLevelMap": {
75
+ "off": null,
76
+ "minimal": null,
77
+ "low": "low",
78
+ "medium": "medium",
79
+ "high": "high",
80
+ "xhigh": "xhigh",
81
+ "max": "max"
82
+ },
83
+ "compat": {
84
+ "sessionAffinityFormat": "openai-nosession",
85
+ "supportsOpenAIGrammarTools": true
86
+ }
87
+ },
88
+ "glm-5.1": {
89
+ "compat": {
90
+ "supportsStore": false,
91
+ "supportsDeveloperRole": false,
92
+ "maxTokensField": "max_tokens"
93
+ }
94
+ },
95
+ "gemini-3.5-flash-lite": {
96
+ "thinkingLevelMap": {
97
+ "off": null
98
+ }
99
+ },
100
+ "claude-opus-4-6": {
101
+ "thinkingLevelMap": {
102
+ "max": "max"
103
+ },
104
+ "compat": {
105
+ "forceAdaptiveThinking": true
106
+ }
107
+ },
108
+ "claude-fable-5": {
109
+ "thinkingLevelMap": {
110
+ "off": null,
111
+ "xhigh": "xhigh",
112
+ "max": "max"
113
+ },
114
+ "compat": {
115
+ "forceAdaptiveThinking": true
116
+ }
117
+ },
118
+ "gemini-3.1-pro": {
119
+ "thinkingLevelMap": {
120
+ "off": null,
121
+ "minimal": null,
122
+ "low": "LOW",
123
+ "medium": null,
124
+ "high": "HIGH"
125
+ }
126
+ },
127
+ "deepseek-v4-flash": {
128
+ "name": "DeepSeek V4 Flash",
129
+ "thinkingLevelMap": {
130
+ "off": null,
131
+ "minimal": null,
132
+ "low": null,
133
+ "medium": null,
134
+ "high": "high",
135
+ "xhigh": null,
136
+ "max": "max"
137
+ },
138
+ "compat": {
139
+ "supportsStore": false,
140
+ "supportsDeveloperRole": false,
141
+ "maxTokensField": "max_tokens",
142
+ "supportsLongCacheRetention": false,
143
+ "requiresReasoningContentOnAssistantMessages": true
144
+ }
145
+ },
146
+ "kimi-k2.5": {
147
+ "compat": {
148
+ "supportsStore": false,
149
+ "supportsDeveloperRole": false,
150
+ "maxTokensField": "max_tokens",
151
+ "supportsLongCacheRetention": false
152
+ }
153
+ },
154
+ "minimax-m2.7": {
155
+ "compat": {
156
+ "supportsStore": false,
157
+ "supportsDeveloperRole": false,
158
+ "maxTokensField": "max_tokens",
159
+ "supportsLongCacheRetention": false
160
+ }
161
+ },
162
+ "claude-opus-4-8": {
163
+ "thinkingLevelMap": {
164
+ "xhigh": "xhigh",
165
+ "max": "max"
166
+ },
167
+ "compat": {
168
+ "forceAdaptiveThinking": true,
169
+ "supportsTemperature": false
170
+ }
171
+ },
172
+ "north-mini-code-free": {
173
+ "thinkingLevelMap": {
174
+ "off": "none",
175
+ "minimal": null,
176
+ "low": null,
177
+ "medium": null,
178
+ "high": "high",
179
+ "xhigh": null,
180
+ "max": null
181
+ },
182
+ "compat": {
183
+ "supportsStore": false,
184
+ "supportsDeveloperRole": false,
185
+ "maxTokensField": "max_tokens"
186
+ }
187
+ },
188
+ "longcat-2.0-free": {
189
+ "compat": {
190
+ "supportsStore": false,
191
+ "supportsDeveloperRole": false,
192
+ "maxTokensField": "max_tokens"
193
+ }
194
+ },
195
+ "glm-5.2": {
196
+ "thinkingLevelMap": {
197
+ "off": null,
198
+ "minimal": null,
199
+ "low": null,
200
+ "medium": null,
201
+ "high": "high",
202
+ "xhigh": null,
203
+ "max": "max"
204
+ },
205
+ "compat": {
206
+ "supportsStore": false,
207
+ "supportsDeveloperRole": false,
208
+ "maxTokensField": "max_tokens"
209
+ }
210
+ },
211
+ "ling-3.0-flash-free": {
212
+ "thinkingLevelMap": {
213
+ "off": null,
214
+ "minimal": null,
215
+ "low": "low",
216
+ "medium": "medium",
217
+ "high": "high",
218
+ "xhigh": null,
219
+ "max": null
220
+ },
221
+ "compat": {
222
+ "supportsStore": false,
223
+ "supportsDeveloperRole": false,
224
+ "maxTokensField": "max_tokens"
225
+ }
226
+ },
227
+ "laguna-s-2.1-free": {
228
+ "thinkingLevelMap": {
229
+ "off": null,
230
+ "minimal": null,
231
+ "low": "low",
232
+ "medium": "medium",
233
+ "high": "high",
234
+ "xhigh": null,
235
+ "max": null
236
+ },
237
+ "compat": {
238
+ "supportsStore": false,
239
+ "supportsDeveloperRole": false,
240
+ "maxTokensField": "max_tokens"
241
+ }
242
+ },
243
+ "deepseek-v4-flash-free": {
244
+ "name": "DeepSeek V4 Flash Free",
245
+ "thinkingLevelMap": {
246
+ "off": null,
247
+ "minimal": null,
248
+ "low": null,
249
+ "medium": null,
250
+ "high": "high",
251
+ "xhigh": null,
252
+ "max": "max"
253
+ },
254
+ "compat": {
255
+ "supportsStore": false,
256
+ "supportsDeveloperRole": false,
257
+ "maxTokensField": "max_tokens",
258
+ "requiresReasoningContentOnAssistantMessages": true
259
+ }
260
+ },
261
+ "gemini-3-flash": {
262
+ "thinkingLevelMap": {
263
+ "off": null
264
+ }
265
+ },
266
+ "kimi-k2.6": {
267
+ "compat": {
268
+ "supportsStore": false,
269
+ "supportsDeveloperRole": false,
270
+ "thinkingFormat": "deepseek",
271
+ "supportsReasoningEffort": false,
272
+ "maxTokensField": "max_tokens",
273
+ "supportsLongCacheRetention": false
274
+ }
275
+ },
276
+ "gpt-5.5": {
277
+ "thinkingLevelMap": {
278
+ "off": null,
279
+ "minimal": null,
280
+ "low": "low",
281
+ "medium": "medium",
282
+ "high": "high",
283
+ "xhigh": "xhigh",
284
+ "max": null
285
+ },
286
+ "compat": {
287
+ "sessionAffinityFormat": "openai-nosession",
288
+ "supportsOpenAIGrammarTools": true
289
+ }
290
+ },
291
+ "minimax-m3": {
292
+ "compat": {
293
+ "supportsStore": false,
294
+ "supportsDeveloperRole": false,
295
+ "maxTokensField": "max_tokens"
296
+ }
297
+ },
298
+ "gpt-5": {
299
+ "thinkingLevelMap": {
300
+ "off": null,
301
+ "minimal": "minimal",
302
+ "low": "low",
303
+ "medium": "medium",
304
+ "high": "high",
305
+ "xhigh": null,
306
+ "max": null
307
+ },
308
+ "compat": {
309
+ "sessionAffinityFormat": "openai-nosession",
310
+ "supportsOpenAIGrammarTools": true
311
+ }
312
+ },
313
+ "gpt-5-codex": {
314
+ "thinkingLevelMap": {
315
+ "off": null,
316
+ "minimal": null,
317
+ "low": "low",
318
+ "medium": "medium",
319
+ "high": "high",
320
+ "xhigh": null,
321
+ "max": null
322
+ },
323
+ "compat": {
324
+ "sessionAffinityFormat": "openai-nosession",
325
+ "supportsOpenAIGrammarTools": true
326
+ }
327
+ },
328
+ "claude-sonnet-4-5": {
329
+ "contextWindow": 200000
330
+ },
331
+ "deepseek-v4-pro": {
332
+ "thinkingLevelMap": {
333
+ "off": null,
334
+ "minimal": null,
335
+ "low": null,
336
+ "medium": null,
337
+ "high": "high",
338
+ "xhigh": null,
339
+ "max": "max"
340
+ },
341
+ "compat": {
342
+ "supportsStore": false,
343
+ "supportsDeveloperRole": false,
344
+ "maxTokensField": "max_tokens",
345
+ "supportsLongCacheRetention": false,
346
+ "requiresReasoningContentOnAssistantMessages": true
347
+ }
348
+ },
349
+ "gpt-5.4": {
350
+ "contextWindow": 272000,
351
+ "thinkingLevelMap": {
352
+ "off": null,
353
+ "minimal": null,
354
+ "low": "low",
355
+ "medium": "medium",
356
+ "high": "high",
357
+ "xhigh": "xhigh",
358
+ "max": null
359
+ },
360
+ "compat": {
361
+ "sessionAffinityFormat": "openai-nosession",
362
+ "supportsOpenAIGrammarTools": true
363
+ }
364
+ },
365
+ "gpt-5.2-codex": {
366
+ "thinkingLevelMap": {
367
+ "off": null,
368
+ "minimal": null,
369
+ "low": "low",
370
+ "medium": "medium",
371
+ "high": "high",
372
+ "xhigh": "xhigh",
373
+ "max": null
374
+ },
375
+ "compat": {
376
+ "sessionAffinityFormat": "openai-nosession",
377
+ "supportsOpenAIGrammarTools": true
378
+ }
379
+ },
380
+ "gpt-5.4-nano": {
381
+ "thinkingLevelMap": {
382
+ "off": null,
383
+ "minimal": null,
384
+ "low": "low",
385
+ "medium": "medium",
386
+ "high": "high",
387
+ "xhigh": "xhigh",
388
+ "max": null
389
+ },
390
+ "compat": {
391
+ "sessionAffinityFormat": "openai-nosession",
392
+ "supportsOpenAIGrammarTools": true
393
+ }
394
+ },
395
+ "gemini-3.6-flash": {
396
+ "thinkingLevelMap": {
397
+ "off": null
398
+ }
399
+ },
400
+ "claude-sonnet-4": {
401
+ "contextWindow": 200000
402
+ },
403
+ "gpt-5.4-mini": {
404
+ "thinkingLevelMap": {
405
+ "off": null,
406
+ "minimal": null,
407
+ "low": "low",
408
+ "medium": "medium",
409
+ "high": "high",
410
+ "xhigh": "xhigh",
411
+ "max": null
412
+ },
413
+ "compat": {
414
+ "sessionAffinityFormat": "openai-nosession",
415
+ "supportsOpenAIGrammarTools": true
416
+ }
417
+ },
418
+ "minimax-m2.5": {
419
+ "compat": {
420
+ "supportsStore": false,
421
+ "supportsDeveloperRole": false,
422
+ "maxTokensField": "max_tokens"
423
+ }
424
+ },
425
+ "gpt-5.6-luna": {
426
+ "thinkingLevelMap": {
427
+ "off": null,
428
+ "minimal": null,
429
+ "low": "low",
430
+ "medium": "medium",
431
+ "high": "high",
432
+ "xhigh": "xhigh",
433
+ "max": "max"
434
+ },
435
+ "compat": {
436
+ "sessionAffinityFormat": "openai-nosession",
437
+ "supportsOpenAIGrammarTools": true
438
+ }
439
+ },
440
+ "mimo-v2.5-free": {
441
+ "compat": {
442
+ "supportsStore": false,
443
+ "supportsDeveloperRole": false,
444
+ "maxTokensField": "max_tokens"
445
+ }
446
+ },
447
+ "gpt-5.2": {
448
+ "thinkingLevelMap": {
449
+ "off": null,
450
+ "minimal": null,
451
+ "low": "low",
452
+ "medium": "medium",
453
+ "high": "high",
454
+ "xhigh": "xhigh",
455
+ "max": null
456
+ },
457
+ "compat": {
458
+ "sessionAffinityFormat": "openai-nosession",
459
+ "supportsOpenAIGrammarTools": true
460
+ }
461
+ },
462
+ "gpt-5.3-codex": {
463
+ "thinkingLevelMap": {
464
+ "off": null,
465
+ "minimal": null,
466
+ "low": "low",
467
+ "medium": "medium",
468
+ "high": "high",
469
+ "xhigh": "xhigh",
470
+ "max": null
471
+ },
472
+ "compat": {
473
+ "sessionAffinityFormat": "openai-nosession",
474
+ "supportsOpenAIGrammarTools": true
475
+ }
476
+ },
477
+ "grok-4.5": {
478
+ "thinkingLevelMap": {
479
+ "off": null,
480
+ "minimal": null,
481
+ "low": "low",
482
+ "medium": "medium",
483
+ "high": "high",
484
+ "xhigh": null,
485
+ "max": null
486
+ },
487
+ "compat": {
488
+ "sessionAffinityFormat": "openai-nosession"
489
+ }
490
+ },
491
+ "kimi-k2.7-code": {
492
+ "compat": {
493
+ "supportsStore": false,
494
+ "supportsDeveloperRole": false,
495
+ "maxTokensField": "max_tokens"
496
+ }
497
+ },
498
+ "gpt-5.1": {
499
+ "thinkingLevelMap": {
500
+ "off": null,
501
+ "minimal": null,
502
+ "low": "low",
503
+ "medium": "medium",
504
+ "high": "high",
505
+ "xhigh": null,
506
+ "max": null
507
+ },
508
+ "compat": {
509
+ "sessionAffinityFormat": "openai-nosession",
510
+ "supportsOpenAIGrammarTools": true
511
+ }
512
+ },
513
+ "big-pickle": {
514
+ "compat": {
515
+ "supportsStore": false,
516
+ "supportsDeveloperRole": false,
517
+ "maxTokensField": "max_tokens"
518
+ }
519
+ },
520
+ "grok-build-0.1": {
521
+ "api": "openai-completions",
522
+ "thinkingLevelMap": {
523
+ "off": null,
524
+ "minimal": null,
525
+ "low": null,
526
+ "medium": null
527
+ },
528
+ "compat": {
529
+ "supportsStore": false,
530
+ "supportsDeveloperRole": false,
531
+ "supportsReasoningEffort": false,
532
+ "maxTokensField": "max_tokens"
533
+ }
534
+ },
535
+ "kimi-k3": {
536
+ "thinkingLevelMap": {
537
+ "off": null,
538
+ "minimal": null,
539
+ "low": null,
540
+ "medium": null,
541
+ "high": null,
542
+ "xhigh": null,
543
+ "max": "max"
544
+ },
545
+ "compat": {
546
+ "supportsStore": false,
547
+ "supportsDeveloperRole": false,
548
+ "maxTokensField": "max_tokens"
549
+ }
550
+ },
551
+ "gpt-5.1-codex": {
552
+ "thinkingLevelMap": {
553
+ "off": null,
554
+ "minimal": null,
555
+ "low": "low",
556
+ "medium": "medium",
557
+ "high": "high",
558
+ "xhigh": null,
559
+ "max": null
560
+ },
561
+ "compat": {
562
+ "sessionAffinityFormat": "openai-nosession",
563
+ "supportsOpenAIGrammarTools": true
564
+ }
565
+ },
566
+ "gpt-5-nano": {
567
+ "thinkingLevelMap": {
568
+ "off": null,
569
+ "minimal": "minimal",
570
+ "low": "low",
571
+ "medium": "medium",
572
+ "high": "high",
573
+ "xhigh": null,
574
+ "max": null
575
+ },
576
+ "compat": {
577
+ "sessionAffinityFormat": "openai-nosession",
578
+ "supportsOpenAIGrammarTools": true
579
+ }
580
+ },
581
+ "claude-opus-4-7": {
582
+ "thinkingLevelMap": {
583
+ "xhigh": "xhigh",
584
+ "max": "max"
585
+ },
586
+ "compat": {
587
+ "forceAdaptiveThinking": true,
588
+ "supportsTemperature": false
589
+ }
590
+ },
591
+ "gpt-5.6-terra": {
592
+ "thinkingLevelMap": {
593
+ "off": null,
594
+ "minimal": null,
595
+ "low": "low",
596
+ "medium": "medium",
597
+ "high": "high",
598
+ "xhigh": "xhigh",
599
+ "max": "max"
600
+ },
601
+ "compat": {
602
+ "sessionAffinityFormat": "openai-nosession",
603
+ "supportsOpenAIGrammarTools": true
604
+ }
605
+ },
606
+ "claude-sonnet-5": {
607
+ "thinkingLevelMap": {
608
+ "xhigh": "xhigh",
609
+ "max": "max"
610
+ },
611
+ "compat": {
612
+ "forceAdaptiveThinking": true
613
+ }
614
+ },
615
+ "nemotron-3-ultra-free": {
616
+ "compat": {
617
+ "supportsStore": false,
618
+ "supportsDeveloperRole": false,
619
+ "maxTokensField": "max_tokens"
620
+ }
621
+ },
622
+ "claude-opus-5": {
623
+ "thinkingLevelMap": {
624
+ "xhigh": "xhigh",
625
+ "max": "max"
626
+ },
627
+ "compat": {
628
+ "forceAdaptiveThinking": true,
629
+ "supportsTemperature": false
630
+ }
631
+ },
632
+ "gpt-5.1-codex-max": {
633
+ "thinkingLevelMap": {
634
+ "off": null,
635
+ "minimal": null,
636
+ "low": "low",
637
+ "medium": "medium",
638
+ "high": "high",
639
+ "xhigh": "xhigh",
640
+ "max": null
641
+ },
642
+ "compat": {
643
+ "sessionAffinityFormat": "openai-nosession",
644
+ "supportsOpenAIGrammarTools": true
645
+ }
646
+ },
647
+ "gemini-3-pro": {
648
+ "thinkingLevelMap": {
649
+ "off": null
650
+ }
651
+ },
652
+ "grok-code": {
653
+ "compat": {
654
+ "supportsReasoningEffort": false
655
+ },
656
+ "thinkingLevelMap": {
657
+ "off": null,
658
+ "minimal": null,
659
+ "low": null,
660
+ "medium": null
661
+ }
662
+ }
663
+ }