@jadelclemens/pi-model-map 0.0.0-stage → 0.1.1

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.
@@ -0,0 +1,571 @@
1
+ {
2
+ "provider": "cursor",
3
+ "source": "~/.pi/agent/cache/pi-cursor-agent/models.json",
4
+ "sourceListPath": "models",
5
+ "mappings": {
6
+ "claude-4-sonnet": {
7
+ "name": "Claude 4 Sonnet (Cursor)",
8
+ "map": {
9
+ "default": {
10
+ "default": "cursor-agent/claude-4-sonnet",
11
+ "thinking": "cursor-agent/claude-4-sonnet-thinking"
12
+ }
13
+ }
14
+ },
15
+ "claude-4.5-opus": {
16
+ "name": "Claude 4.5 Opus (Cursor)",
17
+ "map": {
18
+ "default": {
19
+ "default": "cursor-agent/claude-4.5-opus-high",
20
+ "thinking": "cursor-agent/claude-4.5-opus-high-thinking"
21
+ },
22
+ "high": {
23
+ "default": "cursor-agent/claude-4.5-opus-high",
24
+ "thinking": "cursor-agent/claude-4.5-opus-high-thinking"
25
+ }
26
+ }
27
+ },
28
+ "claude-4.5-sonnet": {
29
+ "name": "Claude 4.5 Sonnet (Cursor)",
30
+ "map": {
31
+ "default": {
32
+ "default": "cursor-agent/claude-4.5-sonnet",
33
+ "thinking": "cursor-agent/claude-4.5-sonnet-thinking"
34
+ }
35
+ }
36
+ },
37
+ "claude-4.6-opus": {
38
+ "name": "Claude 4.6 Opus (Cursor)",
39
+ "map": {
40
+ "default": {
41
+ "default": "cursor-agent/claude-4.6-opus-high",
42
+ "thinking": "cursor-agent/claude-4.6-opus-high-thinking"
43
+ },
44
+ "high": {
45
+ "default": "cursor-agent/claude-4.6-opus-high",
46
+ "thinking": "cursor-agent/claude-4.6-opus-high-thinking"
47
+ },
48
+ "max": {
49
+ "default": "cursor-agent/claude-4.6-opus-max",
50
+ "thinking": "cursor-agent/claude-4.6-opus-max-thinking"
51
+ }
52
+ }
53
+ },
54
+ "claude-4.6-sonnet": {
55
+ "name": "Claude 4.6 Sonnet (Cursor)",
56
+ "map": {
57
+ "default": {
58
+ "default": "cursor-agent/claude-4.6-sonnet-medium",
59
+ "thinking": "cursor-agent/claude-4.6-sonnet-medium-thinking"
60
+ },
61
+ "medium": {
62
+ "default": "cursor-agent/claude-4.6-sonnet-medium",
63
+ "thinking": "cursor-agent/claude-4.6-sonnet-medium-thinking"
64
+ }
65
+ }
66
+ },
67
+ "claude-fable-5": {
68
+ "name": "Claude Fable 5 (Cursor)",
69
+ "map": {
70
+ "default": {
71
+ "default": "cursor-agent/claude-fable-5-medium",
72
+ "thinking": "cursor-agent/claude-fable-5-thinking-medium"
73
+ },
74
+ "low": {
75
+ "default": "cursor-agent/claude-fable-5-low",
76
+ "thinking": "cursor-agent/claude-fable-5-thinking-low"
77
+ },
78
+ "medium": {
79
+ "default": "cursor-agent/claude-fable-5-medium",
80
+ "thinking": "cursor-agent/claude-fable-5-thinking-medium"
81
+ },
82
+ "high": {
83
+ "thinking": "cursor-agent/claude-fable-5-thinking-high",
84
+ "default": "cursor-agent/claude-fable-5-high"
85
+ },
86
+ "xhigh": {
87
+ "thinking": "cursor-agent/claude-fable-5-thinking-xhigh",
88
+ "default": "cursor-agent/claude-fable-5-xhigh"
89
+ },
90
+ "max": {
91
+ "default": "cursor-agent/claude-fable-5-max",
92
+ "thinking": "cursor-agent/claude-fable-5-thinking-max"
93
+ }
94
+ }
95
+ },
96
+ "claude-opus-4-7": {
97
+ "name": "Claude Opus 4.7 (Cursor)",
98
+ "map": {
99
+ "default": {
100
+ "default": "cursor-agent/claude-opus-4-7-medium",
101
+ "fast": "cursor-agent/claude-opus-4-7-medium-fast",
102
+ "thinking": "cursor-agent/claude-opus-4-7-thinking-medium",
103
+ "thinking-fast": "cursor-agent/claude-opus-4-7-thinking-medium-fast"
104
+ },
105
+ "low": {
106
+ "default": "cursor-agent/claude-opus-4-7-low",
107
+ "fast": "cursor-agent/claude-opus-4-7-low-fast",
108
+ "thinking": "cursor-agent/claude-opus-4-7-thinking-low",
109
+ "thinking-fast": "cursor-agent/claude-opus-4-7-thinking-low-fast"
110
+ },
111
+ "medium": {
112
+ "default": "cursor-agent/claude-opus-4-7-medium",
113
+ "fast": "cursor-agent/claude-opus-4-7-medium-fast",
114
+ "thinking": "cursor-agent/claude-opus-4-7-thinking-medium",
115
+ "thinking-fast": "cursor-agent/claude-opus-4-7-thinking-medium-fast"
116
+ },
117
+ "high": {
118
+ "default": "cursor-agent/claude-opus-4-7-high",
119
+ "fast": "cursor-agent/claude-opus-4-7-high-fast",
120
+ "thinking": "cursor-agent/claude-opus-4-7-thinking-high",
121
+ "thinking-fast": "cursor-agent/claude-opus-4-7-thinking-high-fast"
122
+ },
123
+ "xhigh": {
124
+ "default": "cursor-agent/claude-opus-4-7-xhigh",
125
+ "fast": "cursor-agent/claude-opus-4-7-xhigh-fast",
126
+ "thinking": "cursor-agent/claude-opus-4-7-thinking-xhigh",
127
+ "thinking-fast": "cursor-agent/claude-opus-4-7-thinking-xhigh-fast"
128
+ },
129
+ "max": {
130
+ "default": "cursor-agent/claude-opus-4-7-max",
131
+ "fast": "cursor-agent/claude-opus-4-7-max-fast",
132
+ "thinking": "cursor-agent/claude-opus-4-7-thinking-max",
133
+ "thinking-fast": "cursor-agent/claude-opus-4-7-thinking-max-fast"
134
+ }
135
+ }
136
+ },
137
+ "claude-opus-4-8": {
138
+ "name": "Claude Opus 4.8 (Cursor)",
139
+ "map": {
140
+ "default": {
141
+ "default": "cursor-agent/claude-opus-4-8-medium",
142
+ "fast": "cursor-agent/claude-opus-4-8-medium-fast",
143
+ "thinking": "cursor-agent/claude-opus-4-8-thinking-medium",
144
+ "thinking-fast": "cursor-agent/claude-opus-4-8-thinking-medium-fast"
145
+ },
146
+ "low": {
147
+ "default": "cursor-agent/claude-opus-4-8-low",
148
+ "fast": "cursor-agent/claude-opus-4-8-low-fast",
149
+ "thinking": "cursor-agent/claude-opus-4-8-thinking-low",
150
+ "thinking-fast": "cursor-agent/claude-opus-4-8-thinking-low-fast"
151
+ },
152
+ "medium": {
153
+ "default": "cursor-agent/claude-opus-4-8-medium",
154
+ "fast": "cursor-agent/claude-opus-4-8-medium-fast",
155
+ "thinking": "cursor-agent/claude-opus-4-8-thinking-medium",
156
+ "thinking-fast": "cursor-agent/claude-opus-4-8-thinking-medium-fast"
157
+ },
158
+ "high": {
159
+ "default": "cursor-agent/claude-opus-4-8-high",
160
+ "fast": "cursor-agent/claude-opus-4-8-high-fast",
161
+ "thinking": "cursor-agent/claude-opus-4-8-thinking-high",
162
+ "thinking-fast": "cursor-agent/claude-opus-4-8-thinking-high-fast"
163
+ },
164
+ "xhigh": {
165
+ "default": "cursor-agent/claude-opus-4-8-xhigh",
166
+ "fast": "cursor-agent/claude-opus-4-8-xhigh-fast",
167
+ "thinking": "cursor-agent/claude-opus-4-8-thinking-xhigh",
168
+ "thinking-fast": "cursor-agent/claude-opus-4-8-thinking-xhigh-fast"
169
+ },
170
+ "max": {
171
+ "default": "cursor-agent/claude-opus-4-8-max",
172
+ "fast": "cursor-agent/claude-opus-4-8-max-fast",
173
+ "thinking": "cursor-agent/claude-opus-4-8-thinking-max",
174
+ "thinking-fast": "cursor-agent/claude-opus-4-8-thinking-max-fast"
175
+ }
176
+ }
177
+ },
178
+ "claude-opus-5": {
179
+ "name": "Claude Opus 5 (Cursor)",
180
+ "map": {
181
+ "default": {
182
+ "default": "cursor-agent/claude-opus-5-medium",
183
+ "fast": "cursor-agent/claude-opus-5-medium-fast",
184
+ "thinking": "cursor-agent/claude-opus-5-thinking-medium",
185
+ "thinking-fast": "cursor-agent/claude-opus-5-thinking-medium-fast"
186
+ },
187
+ "low": {
188
+ "default": "cursor-agent/claude-opus-5-low",
189
+ "fast": "cursor-agent/claude-opus-5-low-fast",
190
+ "thinking": "cursor-agent/claude-opus-5-thinking-low",
191
+ "thinking-fast": "cursor-agent/claude-opus-5-thinking-low-fast"
192
+ },
193
+ "medium": {
194
+ "default": "cursor-agent/claude-opus-5-medium",
195
+ "fast": "cursor-agent/claude-opus-5-medium-fast",
196
+ "thinking": "cursor-agent/claude-opus-5-thinking-medium",
197
+ "thinking-fast": "cursor-agent/claude-opus-5-thinking-medium-fast"
198
+ },
199
+ "high": {
200
+ "thinking": "cursor-agent/claude-opus-5-thinking-high",
201
+ "thinking-fast": "cursor-agent/claude-opus-5-thinking-high-fast",
202
+ "default": "cursor-agent/claude-opus-5-high",
203
+ "fast": "cursor-agent/claude-opus-5-high-fast"
204
+ },
205
+ "xhigh": {
206
+ "thinking": "cursor-agent/claude-opus-5-thinking-xhigh",
207
+ "thinking-fast": "cursor-agent/claude-opus-5-thinking-xhigh-fast"
208
+ },
209
+ "max": {
210
+ "thinking": "cursor-agent/claude-opus-5-thinking-max",
211
+ "thinking-fast": "cursor-agent/claude-opus-5-thinking-max-fast"
212
+ }
213
+ }
214
+ },
215
+ "claude-sonnet-5": {
216
+ "name": "Claude Sonnet 5 (Cursor)",
217
+ "map": {
218
+ "default": {
219
+ "default": "cursor-agent/claude-sonnet-5-medium",
220
+ "thinking": "cursor-agent/claude-sonnet-5-thinking-medium"
221
+ },
222
+ "low": {
223
+ "default": "cursor-agent/claude-sonnet-5-low",
224
+ "thinking": "cursor-agent/claude-sonnet-5-thinking-low"
225
+ },
226
+ "medium": {
227
+ "default": "cursor-agent/claude-sonnet-5-medium",
228
+ "thinking": "cursor-agent/claude-sonnet-5-thinking-medium"
229
+ },
230
+ "high": {
231
+ "thinking": "cursor-agent/claude-sonnet-5-thinking-high",
232
+ "default": "cursor-agent/claude-sonnet-5-high"
233
+ },
234
+ "xhigh": {
235
+ "thinking": "cursor-agent/claude-sonnet-5-thinking-xhigh",
236
+ "default": "cursor-agent/claude-sonnet-5-xhigh"
237
+ },
238
+ "max": {
239
+ "default": "cursor-agent/claude-sonnet-5-max",
240
+ "thinking": "cursor-agent/claude-sonnet-5-thinking-max"
241
+ }
242
+ }
243
+ },
244
+ "composer-2.5": {
245
+ "name": "Composer 2.5 (Cursor)",
246
+ "map": {
247
+ "default": {
248
+ "default": "cursor-agent/composer-2.5",
249
+ "fast": "cursor-agent/composer-2.5-fast"
250
+ }
251
+ }
252
+ },
253
+ "cursor-grok-4.5": {
254
+ "name": "Cursor Grok 4.5 (Cursor)",
255
+ "map": {
256
+ "default": {
257
+ "default": "cursor-agent/cursor-grok-4.5-medium",
258
+ "fast": "cursor-agent/cursor-grok-4.5-medium-fast"
259
+ },
260
+ "low": {
261
+ "default": "cursor-agent/cursor-grok-4.5-low",
262
+ "fast": "cursor-agent/cursor-grok-4.5-low-fast"
263
+ },
264
+ "medium": {
265
+ "default": "cursor-agent/cursor-grok-4.5-medium",
266
+ "fast": "cursor-agent/cursor-grok-4.5-medium-fast"
267
+ },
268
+ "high": {
269
+ "default": "cursor-agent/cursor-grok-4.5-high",
270
+ "fast": "cursor-agent/cursor-grok-4.5-high-fast"
271
+ }
272
+ }
273
+ },
274
+ "cursor-grok-4.6": {
275
+ "name": "Cursor Grok 4.6 (Cursor)",
276
+ "map": {
277
+ "default": {
278
+ "default": "cursor-agent/cursor-grok-4.6-medium",
279
+ "fast": "cursor-agent/cursor-grok-4.6-medium-fast"
280
+ },
281
+ "low": {
282
+ "default": "cursor-agent/cursor-grok-4.6-low",
283
+ "fast": "cursor-agent/cursor-grok-4.6-low-fast"
284
+ },
285
+ "medium": {
286
+ "default": "cursor-agent/cursor-grok-4.6-medium",
287
+ "fast": "cursor-agent/cursor-grok-4.6-medium-fast"
288
+ },
289
+ "high": {
290
+ "fast": "cursor-agent/cursor-grok-4.6-high-fast",
291
+ "default": "cursor-agent/cursor-grok-4.6-high"
292
+ },
293
+ "xhigh": {
294
+ "default": "cursor-agent/cursor-grok-4.6-xhigh",
295
+ "fast": "cursor-agent/cursor-grok-4.6-xhigh-fast"
296
+ }
297
+ }
298
+ },
299
+ "gemini-3-flash": {
300
+ "name": "Gemini 3 Flash (Cursor)",
301
+ "map": {
302
+ "default": "cursor-agent/gemini-3-flash"
303
+ }
304
+ },
305
+ "gemini-3.1-pro": {
306
+ "name": "Gemini 3.1 Pro (Cursor)",
307
+ "map": {
308
+ "default": "cursor-agent/gemini-3.1-pro"
309
+ }
310
+ },
311
+ "gemini-3.5-flash": {
312
+ "name": "Gemini 3.5 Flash (Cursor)",
313
+ "map": {
314
+ "default": "cursor-agent/gemini-3.5-flash"
315
+ }
316
+ },
317
+ "gemini-3.6-flash": {
318
+ "name": "Gemini 3.6 Flash (Cursor)",
319
+ "map": {
320
+ "default": "cursor-agent/gemini-3.6-flash-medium",
321
+ "minimal": "cursor-agent/gemini-3.6-flash-minimal",
322
+ "low": "cursor-agent/gemini-3.6-flash-low",
323
+ "medium": "cursor-agent/gemini-3.6-flash-medium",
324
+ "high": "cursor-agent/gemini-3.6-flash-high"
325
+ }
326
+ },
327
+ "gemini-3.7-flash": {
328
+ "name": "Gemini 3.7 Flash (Cursor)",
329
+ "map": {
330
+ "default": "cursor-agent/gemini-3.7-flash-medium",
331
+ "low": "cursor-agent/gemini-3.7-flash-low",
332
+ "medium": "cursor-agent/gemini-3.7-flash-medium",
333
+ "high": "cursor-agent/gemini-3.7-flash-high"
334
+ }
335
+ },
336
+ "glm-5.2": {
337
+ "name": "GLM 5.2 (Cursor)",
338
+ "map": {
339
+ "default": "cursor-agent/glm-5.2-high",
340
+ "high": "cursor-agent/glm-5.2-high",
341
+ "max": "cursor-agent/glm-5.2-max"
342
+ }
343
+ },
344
+ "gpt-5-mini": {
345
+ "name": "GPT 5 Mini (Cursor)",
346
+ "map": {
347
+ "default": "cursor-agent/gpt-5-mini"
348
+ }
349
+ },
350
+ "gpt-5.1": {
351
+ "name": "GPT 5.1 (Cursor)",
352
+ "map": {
353
+ "default": "cursor-agent/gpt-5.1",
354
+ "low": "cursor-agent/gpt-5.1-low",
355
+ "high": "cursor-agent/gpt-5.1-high"
356
+ }
357
+ },
358
+ "gpt-5.2": {
359
+ "name": "GPT 5.2 (Cursor)",
360
+ "map": {
361
+ "default": {
362
+ "default": "cursor-agent/gpt-5.2",
363
+ "fast": "cursor-agent/gpt-5.2-fast"
364
+ },
365
+ "low": {
366
+ "default": "cursor-agent/gpt-5.2-low",
367
+ "fast": "cursor-agent/gpt-5.2-low-fast"
368
+ },
369
+ "high": {
370
+ "default": "cursor-agent/gpt-5.2-high",
371
+ "fast": "cursor-agent/gpt-5.2-high-fast"
372
+ },
373
+ "xhigh": {
374
+ "default": "cursor-agent/gpt-5.2-xhigh",
375
+ "fast": "cursor-agent/gpt-5.2-xhigh-fast"
376
+ }
377
+ }
378
+ },
379
+ "gpt-5.3-codex": {
380
+ "name": "GPT 5.3 Codex (Cursor)",
381
+ "map": {
382
+ "default": {
383
+ "default": "cursor-agent/gpt-5.3-codex",
384
+ "fast": "cursor-agent/gpt-5.3-codex-fast"
385
+ },
386
+ "low": {
387
+ "default": "cursor-agent/gpt-5.3-codex-low",
388
+ "fast": "cursor-agent/gpt-5.3-codex-low-fast"
389
+ },
390
+ "high": {
391
+ "default": "cursor-agent/gpt-5.3-codex-high",
392
+ "fast": "cursor-agent/gpt-5.3-codex-high-fast"
393
+ },
394
+ "xhigh": {
395
+ "default": "cursor-agent/gpt-5.3-codex-xhigh",
396
+ "fast": "cursor-agent/gpt-5.3-codex-xhigh-fast"
397
+ }
398
+ }
399
+ },
400
+ "gpt-5.4": {
401
+ "name": "GPT 5.4 (Cursor)",
402
+ "map": {
403
+ "default": {
404
+ "default": "cursor-agent/gpt-5.4-medium",
405
+ "fast": "cursor-agent/gpt-5.4-medium-fast"
406
+ },
407
+ "low": "cursor-agent/gpt-5.4-low",
408
+ "medium": {
409
+ "default": "cursor-agent/gpt-5.4-medium",
410
+ "fast": "cursor-agent/gpt-5.4-medium-fast"
411
+ },
412
+ "high": {
413
+ "default": "cursor-agent/gpt-5.4-high",
414
+ "fast": "cursor-agent/gpt-5.4-high-fast"
415
+ },
416
+ "xhigh": {
417
+ "default": "cursor-agent/gpt-5.4-xhigh",
418
+ "fast": "cursor-agent/gpt-5.4-xhigh-fast"
419
+ }
420
+ }
421
+ },
422
+ "gpt-5.4-mini": {
423
+ "name": "GPT 5.4 Mini (Cursor)",
424
+ "map": {
425
+ "default": "cursor-agent/gpt-5.4-mini-none",
426
+ "low": "cursor-agent/gpt-5.4-mini-low",
427
+ "medium": "cursor-agent/gpt-5.4-mini-medium",
428
+ "high": "cursor-agent/gpt-5.4-mini-high",
429
+ "xhigh": "cursor-agent/gpt-5.4-mini-xhigh"
430
+ }
431
+ },
432
+ "gpt-5.4-nano": {
433
+ "name": "GPT 5.4 Nano (Cursor)",
434
+ "map": {
435
+ "default": "cursor-agent/gpt-5.4-nano-none",
436
+ "low": "cursor-agent/gpt-5.4-nano-low",
437
+ "medium": "cursor-agent/gpt-5.4-nano-medium",
438
+ "high": "cursor-agent/gpt-5.4-nano-high",
439
+ "xhigh": "cursor-agent/gpt-5.4-nano-xhigh"
440
+ }
441
+ },
442
+ "gpt-5.5": {
443
+ "name": "GPT 5.5 (Cursor)",
444
+ "map": {
445
+ "default": {
446
+ "default": "cursor-agent/gpt-5.5-none",
447
+ "fast": "cursor-agent/gpt-5.5-none-fast"
448
+ },
449
+ "low": {
450
+ "default": "cursor-agent/gpt-5.5-low",
451
+ "fast": "cursor-agent/gpt-5.5-low-fast"
452
+ },
453
+ "medium": {
454
+ "default": "cursor-agent/gpt-5.5-medium",
455
+ "fast": "cursor-agent/gpt-5.5-medium-fast"
456
+ },
457
+ "high": {
458
+ "default": "cursor-agent/gpt-5.5-high",
459
+ "fast": "cursor-agent/gpt-5.5-high-fast"
460
+ },
461
+ "xhigh": {
462
+ "default": "cursor-agent/gpt-5.5-extra-high",
463
+ "fast": "cursor-agent/gpt-5.5-extra-high-fast"
464
+ }
465
+ }
466
+ },
467
+ "gpt-5.6-luna": {
468
+ "name": "GPT 5.6 Luna (Cursor)",
469
+ "map": {
470
+ "default": {
471
+ "default": "cursor-agent/gpt-5.6-luna-none",
472
+ "fast": "cursor-agent/gpt-5.6-luna-none-fast"
473
+ },
474
+ "low": {
475
+ "default": "cursor-agent/gpt-5.6-luna-low",
476
+ "fast": "cursor-agent/gpt-5.6-luna-low-fast"
477
+ },
478
+ "medium": {
479
+ "default": "cursor-agent/gpt-5.6-luna-medium",
480
+ "fast": "cursor-agent/gpt-5.6-luna-medium-fast"
481
+ },
482
+ "high": {
483
+ "default": "cursor-agent/gpt-5.6-luna-high",
484
+ "fast": "cursor-agent/gpt-5.6-luna-high-fast"
485
+ },
486
+ "xhigh": {
487
+ "default": "cursor-agent/gpt-5.6-luna-xhigh",
488
+ "fast": "cursor-agent/gpt-5.6-luna-xhigh-fast"
489
+ },
490
+ "max": {
491
+ "default": "cursor-agent/gpt-5.6-luna-max",
492
+ "fast": "cursor-agent/gpt-5.6-luna-max-fast"
493
+ }
494
+ }
495
+ },
496
+ "gpt-5.6-sol": {
497
+ "name": "GPT 5.6 Sol (Cursor)",
498
+ "map": {
499
+ "default": {
500
+ "default": "cursor-agent/gpt-5.6-sol-none",
501
+ "fast": "cursor-agent/gpt-5.6-sol-none-fast"
502
+ },
503
+ "low": {
504
+ "default": "cursor-agent/gpt-5.6-sol-low",
505
+ "fast": "cursor-agent/gpt-5.6-sol-low-fast"
506
+ },
507
+ "medium": {
508
+ "default": "cursor-agent/gpt-5.6-sol-medium",
509
+ "fast": "cursor-agent/gpt-5.6-sol-medium-fast"
510
+ },
511
+ "high": {
512
+ "default": "cursor-agent/gpt-5.6-sol-high",
513
+ "fast": "cursor-agent/gpt-5.6-sol-high-fast"
514
+ },
515
+ "xhigh": {
516
+ "default": "cursor-agent/gpt-5.6-sol-xhigh",
517
+ "fast": "cursor-agent/gpt-5.6-sol-xhigh-fast"
518
+ },
519
+ "max": {
520
+ "default": "cursor-agent/gpt-5.6-sol-max",
521
+ "fast": "cursor-agent/gpt-5.6-sol-max-fast"
522
+ }
523
+ }
524
+ },
525
+ "gpt-5.6-terra": {
526
+ "name": "GPT 5.6 Terra (Cursor)",
527
+ "map": {
528
+ "default": {
529
+ "default": "cursor-agent/gpt-5.6-terra-none",
530
+ "fast": "cursor-agent/gpt-5.6-terra-none-fast"
531
+ },
532
+ "low": {
533
+ "default": "cursor-agent/gpt-5.6-terra-low",
534
+ "fast": "cursor-agent/gpt-5.6-terra-low-fast"
535
+ },
536
+ "medium": {
537
+ "default": "cursor-agent/gpt-5.6-terra-medium",
538
+ "fast": "cursor-agent/gpt-5.6-terra-medium-fast"
539
+ },
540
+ "high": {
541
+ "default": "cursor-agent/gpt-5.6-terra-high",
542
+ "fast": "cursor-agent/gpt-5.6-terra-high-fast"
543
+ },
544
+ "xhigh": {
545
+ "default": "cursor-agent/gpt-5.6-terra-xhigh",
546
+ "fast": "cursor-agent/gpt-5.6-terra-xhigh-fast"
547
+ },
548
+ "max": {
549
+ "default": "cursor-agent/gpt-5.6-terra-max",
550
+ "fast": "cursor-agent/gpt-5.6-terra-max-fast"
551
+ }
552
+ }
553
+ },
554
+ "kimi-k2.7-code": {
555
+ "name": "Kimi K2.7 Code (Cursor)",
556
+ "map": {
557
+ "default": "cursor-agent/kimi-k2.7-code"
558
+ }
559
+ },
560
+ "kimi-k3": {
561
+ "name": "Kimi K3 (Cursor)",
562
+ "map": {
563
+ "default": "cursor-agent/kimi-k3-low",
564
+ "low": "cursor-agent/kimi-k3-low",
565
+ "high": "cursor-agent/kimi-k3-high",
566
+ "max": "cursor-agent/kimi-k3-max"
567
+ }
568
+ }
569
+ },
570
+ "_generated_from": "~/.pi/agent/cache/pi-cursor-agent/models.json (jq -r '.models[].modelId'), see examples/README.md"
571
+ }
package/package.json CHANGED
@@ -1,6 +1,53 @@
1
1
  {
2
2
  "name": "@jadelclemens/pi-model-map",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.1.1",
4
+ "description": "JSON-configurable Pi extension that collapses baked-effort/thinking/fast model variants into canonical models with native effort selection and /pi-model-map-thinking, /pi-model-map-fast toggles",
5
+ "type": "module",
6
+ "main": "./src/index.ts",
7
+ "types": "./src/index.ts",
8
+ "exports": {
9
+ ".": {
10
+ "types": "./src/index.ts",
11
+ "import": "./src/index.ts"
12
+ }
13
+ },
14
+ "keywords": [
15
+ "pi",
16
+ "pi-coding-agent",
17
+ "pi-package",
18
+ "thinking",
19
+ "effort",
20
+ "model-map",
21
+ "cursor-agent"
22
+ ],
23
+ "license": "MIT",
24
+ "repository": {
25
+ "type": "git",
26
+ "url": "git+https://git.jadelclemens.xyz/pi-plugins/pi-model-map.git"
27
+ },
28
+ "homepage": "https://git.jadelclemens.xyz/pi-plugins/pi-model-map#readme",
29
+ "bugs": {
30
+ "url": "https://git.jadelclemens.xyz/pi-plugins/pi-model-map/issues"
31
+ },
32
+ "files": [
33
+ "src",
34
+ "examples",
35
+ "README.md",
36
+ "LICENSE"
37
+ ],
38
+ "peerDependencies": {
39
+ "@earendil-works/pi-ai": ">=0.99.0",
40
+ "@earendil-works/pi-coding-agent": ">=0.99.0"
41
+ },
42
+ "pi": {
43
+ "extensions": [
44
+ "./src/index.ts"
45
+ ]
46
+ },
47
+ "scripts": {
48
+ "typecheck": "tsc --noEmit"
49
+ },
50
+ "devDependencies": {
51
+ "typescript": "^5.8.0"
52
+ }
53
+ }
package/src/catalog.ts ADDED
@@ -0,0 +1,29 @@
1
+ import type { ModelThinkingLevel } from "@earendil-works/pi-ai";
2
+ import type { ExtensionVirtualModel } from "@earendil-works/pi-coding-agent";
3
+
4
+ import type { ModelMapper } from "./mapping.js";
5
+
6
+ export type VirtualModelMeta = Omit<ExtensionVirtualModel, "route">;
7
+
8
+ /**
9
+ * Virtual-model metadata for one canonical family. `thinkingLevels` lists exactly what the
10
+ * family's `map` defines, plus `off` unless it has no real non-reasoning backend
11
+ * (see `ModelMapper.hasDistinctOffLevel` / `MappingEntry.offSupported`).
12
+ */
13
+ export const buildVirtualModelMeta = (mapper: ModelMapper, canonicalId: string): VirtualModelMeta => {
14
+ const metadata = mapper.getModelMetadata(canonicalId);
15
+ const offSupported = metadata?.offSupported ?? mapper.hasDistinctOffLevel(canonicalId);
16
+ const levels: ModelThinkingLevel[] = [
17
+ ...(offSupported ? (["off"] as const) : []),
18
+ ...mapper.getSupportedThinkingLevels(canonicalId),
19
+ ];
20
+ return {
21
+ provider: mapper.provider,
22
+ id: canonicalId,
23
+ name: metadata?.name ?? canonicalId,
24
+ thinkingLevels: levels.length > 0 ? levels : ["off"],
25
+ contextWindow: metadata?.contextWindow,
26
+ maxTokens: metadata?.maxTokens,
27
+ input: metadata?.input,
28
+ };
29
+ };