@diegopetrucci/pi-contrarian 0.1.4 → 0.1.5
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/index.ts +24 -9
- package/package.json +5 -1
package/index.ts
CHANGED
|
@@ -247,7 +247,7 @@ const PROVIDER_MODEL_PREFERENCES: Record<string, string[]> = {
|
|
|
247
247
|
"MiniMaxAI/MiniMax-M2.5",
|
|
248
248
|
"Qwen/Qwen3-Coder-Next",
|
|
249
249
|
],
|
|
250
|
-
"kimi-coding": ["
|
|
250
|
+
"kimi-coding": ["k3", "kimi-for-coding", "kimi-for-coding-highspeed"],
|
|
251
251
|
minimax: ["MiniMax-M3", "MiniMax-M2.7-highspeed", "MiniMax-M2.7"],
|
|
252
252
|
"minimax-cn": ["MiniMax-M3", "MiniMax-M2.7-highspeed", "MiniMax-M2.7"],
|
|
253
253
|
mistral: [
|
|
@@ -375,17 +375,35 @@ const PROVIDER_MODEL_PREFERENCES: Record<string, string[]> = {
|
|
|
375
375
|
"z-ai/glm-5.2",
|
|
376
376
|
"z-ai/glm-5.1",
|
|
377
377
|
],
|
|
378
|
+
"qwen-token-plan": [
|
|
379
|
+
"qwen3.8-max-preview",
|
|
380
|
+
"qwen3.7-max",
|
|
381
|
+
"qwen3.7-plus",
|
|
382
|
+
"qwen3.6-plus",
|
|
383
|
+
"deepseek-v4-pro",
|
|
384
|
+
"glm-5.2",
|
|
385
|
+
"kimi-k2.7-code",
|
|
386
|
+
"minimax-m2.5",
|
|
387
|
+
],
|
|
388
|
+
"qwen-token-plan-cn": [
|
|
389
|
+
"qwen3.8-max-preview",
|
|
390
|
+
"qwen3.7-max",
|
|
391
|
+
"qwen3.7-plus",
|
|
392
|
+
"qwen3.6-plus",
|
|
393
|
+
"deepseek-v4-pro",
|
|
394
|
+
"glm-5.2",
|
|
395
|
+
"kimi-k2.7-code",
|
|
396
|
+
"minimax-m2.5",
|
|
397
|
+
],
|
|
378
398
|
together: [
|
|
379
399
|
"deepseek-ai/DeepSeek-V4-Pro",
|
|
380
400
|
"zai-org/GLM-5.2",
|
|
381
|
-
"zai-org/GLM-5.1",
|
|
382
401
|
"moonshotai/Kimi-K2.7-Code",
|
|
383
402
|
"moonshotai/Kimi-K2.6",
|
|
384
403
|
"Qwen/Qwen3.7-Max",
|
|
385
404
|
"Qwen/Qwen3.6-Plus",
|
|
386
405
|
"MiniMaxAI/MiniMax-M3",
|
|
387
406
|
"MiniMaxAI/MiniMax-M2.7",
|
|
388
|
-
"Qwen/Qwen3.5-397B-A17B",
|
|
389
407
|
"openai/gpt-oss-120b",
|
|
390
408
|
"openai/gpt-oss-20b",
|
|
391
409
|
"nvidia/nemotron-3-ultra-550b-a55b",
|
|
@@ -433,13 +451,8 @@ const PROVIDER_MODEL_PREFERENCES: Record<string, string[]> = {
|
|
|
433
451
|
],
|
|
434
452
|
xai: [
|
|
435
453
|
"grok-4.5",
|
|
436
|
-
"grok-4.20-0309-reasoning",
|
|
437
|
-
"grok-4.20-0309-non-reasoning",
|
|
438
454
|
"grok-4.3",
|
|
439
455
|
"grok-build-0.1",
|
|
440
|
-
"grok-code-fast-1",
|
|
441
|
-
"grok-3-fast",
|
|
442
|
-
"grok-3",
|
|
443
456
|
],
|
|
444
457
|
xiaomi: ["mimo-v2.5-pro", "mimo-v2.5", "mimo-v2-pro", "mimo-v2-omni", "mimo-v2-flash"],
|
|
445
458
|
"xiaomi-token-plan-ams": ["mimo-v2.5-pro", "mimo-v2.5", "mimo-v2-pro"],
|
|
@@ -450,7 +463,8 @@ const PROVIDER_MODEL_PREFERENCES: Record<string, string[]> = {
|
|
|
450
463
|
"nvidia/nemotron-3-super-120b-a12b",
|
|
451
464
|
"moonshotai/kimi-k2.6",
|
|
452
465
|
"z-ai/glm-5.2",
|
|
453
|
-
"
|
|
466
|
+
"minimaxai/minimax-m3",
|
|
467
|
+
"mistralai/mistral-large-3-675b-instruct-2512",
|
|
454
468
|
"openai/gpt-oss-120b",
|
|
455
469
|
"nvidia/nemotron-3-nano-omni-30b-a3b-reasoning",
|
|
456
470
|
"nvidia/nemotron-3-nano-30b-a3b",
|
|
@@ -1211,6 +1225,7 @@ function renderCollapsedText(text: string, lineLimit = COLLAPSED_LINE_LIMIT): st
|
|
|
1211
1225
|
|
|
1212
1226
|
export const __test__ = {
|
|
1213
1227
|
findAvailableModel,
|
|
1228
|
+
isModelAvailabilityError,
|
|
1214
1229
|
parseModelPreference,
|
|
1215
1230
|
resolveThinkingLevel,
|
|
1216
1231
|
selectContrarianModel,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@diegopetrucci/pi-contrarian",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"description": "A read-only contrarian subagent extension for pi that stress-tests plans, designs, assumptions, and conclusions.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pi-package",
|
|
@@ -33,5 +33,9 @@
|
|
|
33
33
|
"@earendil-works/pi-coding-agent": "*",
|
|
34
34
|
"@earendil-works/pi-tui": "*",
|
|
35
35
|
"typebox": "*"
|
|
36
|
+
},
|
|
37
|
+
"type": "module",
|
|
38
|
+
"engines": {
|
|
39
|
+
"node": ">=22.19.0"
|
|
36
40
|
}
|
|
37
41
|
}
|