@diegopetrucci/pi-extensions 0.1.66 → 0.1.67
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/extensions/code-reviewer/index.ts +3 -1
- package/extensions/code-reviewer/package.json +1 -1
- package/extensions/contrarian/index.ts +4 -11
- package/extensions/contrarian/package.json +1 -1
- package/extensions/oracle/index.ts +3 -11
- package/extensions/oracle/package.json +1 -1
- package/package.json +4 -4
|
@@ -23,6 +23,7 @@ const THINKING_LEVELS = ["off", "minimal", "low", "medium", "high", "xhigh", "ma
|
|
|
23
23
|
type ThinkingLevel = (typeof THINKING_LEVELS)[number];
|
|
24
24
|
type ThinkingLevelMap = Partial<Record<ThinkingLevel, unknown | null>>;
|
|
25
25
|
const CODE_REVIEWER_MODEL_PREFERENCES = [
|
|
26
|
+
"gpt-6-astra",
|
|
26
27
|
"gpt-5.6-sol",
|
|
27
28
|
"gpt-5.6-terra",
|
|
28
29
|
"gpt-5.6-luna",
|
|
@@ -56,8 +57,9 @@ const PROVIDER_MODEL_PREFERENCES: Record<string, string[]> = {
|
|
|
56
57
|
"claude-sonnet-4-6",
|
|
57
58
|
"claude-sonnet-4-5",
|
|
58
59
|
],
|
|
59
|
-
openai: ["gpt-5.6-sol", "gpt-5.6-terra", "gpt-5.6-luna", "gpt-5.5", "gpt-5", "gpt-4.1", "o3", "o4-mini"],
|
|
60
|
+
openai: ["gpt-6-astra", "gpt-5.6-sol", "gpt-5.6-terra", "gpt-5.6-luna", "gpt-5.5", "gpt-5", "gpt-4.1", "o3", "o4-mini"],
|
|
60
61
|
"openai-codex": [
|
|
62
|
+
"gpt-6-astra",
|
|
61
63
|
"gpt-5.6-sol",
|
|
62
64
|
"gpt-5.6-terra",
|
|
63
65
|
"gpt-5.6-luna",
|
|
@@ -105,6 +105,7 @@ const CONTRARIAN_STATUS_ID = "contrarian";
|
|
|
105
105
|
const CONTRARIAN_WIDGET_ID = "contrarian";
|
|
106
106
|
const CONTRARIAN_CONFIG_FILE = "contrarian.json";
|
|
107
107
|
const CONTRARIAN_MODEL_PREFERENCES = [
|
|
108
|
+
"gpt-6-astra",
|
|
108
109
|
"gpt-5.6-sol",
|
|
109
110
|
"gpt-5.6-terra",
|
|
110
111
|
"gpt-5.6-luna",
|
|
@@ -247,21 +248,16 @@ const PROVIDER_MODEL_PREFERENCES: Record<string, string[]> = {
|
|
|
247
248
|
"claude-fable-5",
|
|
248
249
|
"claude-opus-4.8",
|
|
249
250
|
"claude-opus-4.7",
|
|
250
|
-
"
|
|
251
|
-
"claude-opus-4.5",
|
|
251
|
+
"gpt-6-astra",
|
|
252
252
|
"gpt-5.6-sol",
|
|
253
253
|
"gpt-5.6-terra",
|
|
254
254
|
"gpt-5.6-luna",
|
|
255
255
|
"gpt-5.5",
|
|
256
256
|
"gpt-5.4",
|
|
257
257
|
"gpt-5.3-codex",
|
|
258
|
-
"gpt-5.2-codex",
|
|
259
|
-
"gpt-5.2",
|
|
260
|
-
"gemini-3.1-pro-preview",
|
|
261
258
|
"gemini-3.5-flash",
|
|
262
259
|
"claude-sonnet-5",
|
|
263
260
|
"claude-sonnet-4.6",
|
|
264
|
-
"claude-sonnet-4.5",
|
|
265
261
|
"gpt-5-mini",
|
|
266
262
|
"kimi-k3",
|
|
267
263
|
"kimi-k2.7-code",
|
|
@@ -323,6 +319,7 @@ const PROVIDER_MODEL_PREFERENCES: Record<string, string[]> = {
|
|
|
323
319
|
"zai-glm-5-2",
|
|
324
320
|
],
|
|
325
321
|
openai: [
|
|
322
|
+
"gpt-6-astra",
|
|
326
323
|
"gpt-5.6-sol",
|
|
327
324
|
"gpt-5.6-terra",
|
|
328
325
|
"gpt-5.6-luna",
|
|
@@ -342,6 +339,7 @@ const PROVIDER_MODEL_PREFERENCES: Record<string, string[]> = {
|
|
|
342
339
|
"gpt-5-mini",
|
|
343
340
|
],
|
|
344
341
|
"openai-codex": [
|
|
342
|
+
"gpt-6-astra",
|
|
345
343
|
"gpt-5.6-sol",
|
|
346
344
|
"gpt-5.6-terra",
|
|
347
345
|
"gpt-5.6-luna",
|
|
@@ -400,9 +398,7 @@ const PROVIDER_MODEL_PREFERENCES: Record<string, string[]> = {
|
|
|
400
398
|
"anthropic/claude-fable-5",
|
|
401
399
|
"~anthropic/claude-fable-latest",
|
|
402
400
|
"anthropic/claude-opus-4.8",
|
|
403
|
-
"anthropic/claude-opus-4.8-fast",
|
|
404
401
|
"anthropic/claude-opus-4.7",
|
|
405
|
-
"anthropic/claude-opus-4.7-fast",
|
|
406
402
|
"anthropic/claude-opus-4.6",
|
|
407
403
|
"anthropic/claude-opus-4.5",
|
|
408
404
|
"anthropic/claude-opus-4.1",
|
|
@@ -528,7 +524,6 @@ const PROVIDER_MODEL_PREFERENCES: Record<string, string[]> = {
|
|
|
528
524
|
"grok-4.6",
|
|
529
525
|
"grok-4.5",
|
|
530
526
|
"grok-4.3",
|
|
531
|
-
"grok-build-0.1",
|
|
532
527
|
],
|
|
533
528
|
xiaomi: ["mimo-v2.5-pro-ultraspeed", "mimo-v2.5-pro", "mimo-v2.5"],
|
|
534
529
|
"xiaomi-token-plan-ams": ["mimo-v2.5-pro", "mimo-v2.5"],
|
|
@@ -541,9 +536,7 @@ const PROVIDER_MODEL_PREFERENCES: Record<string, string[]> = {
|
|
|
541
536
|
"deepseek-ai/deepseek-v4-pro-0813",
|
|
542
537
|
"moonshotai/kimi-k2.6",
|
|
543
538
|
"minimaxai/minimax-m3",
|
|
544
|
-
"openai/gpt-oss-120b",
|
|
545
539
|
"nvidia/nemotron-3-nano-omni-30b-a3b-reasoning",
|
|
546
|
-
"nvidia/nemotron-3-nano-30b-a3b",
|
|
547
540
|
],
|
|
548
541
|
zai: [
|
|
549
542
|
"glm-5.3",
|
|
@@ -230,21 +230,16 @@ const PROVIDER_MODEL_PREFERENCES: Record<string, string[]> = {
|
|
|
230
230
|
"claude-fable-5",
|
|
231
231
|
"claude-opus-4.8",
|
|
232
232
|
"claude-opus-4.7",
|
|
233
|
-
"
|
|
234
|
-
"claude-opus-4.5",
|
|
233
|
+
"gpt-6-astra",
|
|
235
234
|
"gpt-5.6-sol",
|
|
236
235
|
"gpt-5.6-terra",
|
|
237
236
|
"gpt-5.6-luna",
|
|
238
237
|
"gpt-5.5",
|
|
239
238
|
"gpt-5.4",
|
|
240
239
|
"gpt-5.3-codex",
|
|
241
|
-
"gpt-5.2-codex",
|
|
242
|
-
"gpt-5.2",
|
|
243
|
-
"gemini-3.1-pro-preview",
|
|
244
240
|
"gemini-3.5-flash",
|
|
245
241
|
"claude-sonnet-5",
|
|
246
242
|
"claude-sonnet-4.6",
|
|
247
|
-
"claude-sonnet-4.5",
|
|
248
243
|
"gpt-5-mini",
|
|
249
244
|
"kimi-k3",
|
|
250
245
|
"kimi-k2.7-code",
|
|
@@ -306,6 +301,7 @@ const PROVIDER_MODEL_PREFERENCES: Record<string, string[]> = {
|
|
|
306
301
|
"zai-glm-5-2",
|
|
307
302
|
],
|
|
308
303
|
openai: [
|
|
304
|
+
"gpt-6-astra",
|
|
309
305
|
"gpt-5.6-sol",
|
|
310
306
|
"gpt-5.6-terra",
|
|
311
307
|
"gpt-5.6-luna",
|
|
@@ -325,6 +321,7 @@ const PROVIDER_MODEL_PREFERENCES: Record<string, string[]> = {
|
|
|
325
321
|
"gpt-5-mini",
|
|
326
322
|
],
|
|
327
323
|
"openai-codex": [
|
|
324
|
+
"gpt-6-astra",
|
|
328
325
|
"gpt-5.6-sol",
|
|
329
326
|
"gpt-5.6-terra",
|
|
330
327
|
"gpt-5.6-luna",
|
|
@@ -383,9 +380,7 @@ const PROVIDER_MODEL_PREFERENCES: Record<string, string[]> = {
|
|
|
383
380
|
"anthropic/claude-fable-5",
|
|
384
381
|
"~anthropic/claude-fable-latest",
|
|
385
382
|
"anthropic/claude-opus-4.8",
|
|
386
|
-
"anthropic/claude-opus-4.8-fast",
|
|
387
383
|
"anthropic/claude-opus-4.7",
|
|
388
|
-
"anthropic/claude-opus-4.7-fast",
|
|
389
384
|
"anthropic/claude-opus-4.6",
|
|
390
385
|
"anthropic/claude-opus-4.5",
|
|
391
386
|
"anthropic/claude-opus-4.1",
|
|
@@ -511,7 +506,6 @@ const PROVIDER_MODEL_PREFERENCES: Record<string, string[]> = {
|
|
|
511
506
|
"grok-4.6",
|
|
512
507
|
"grok-4.5",
|
|
513
508
|
"grok-4.3",
|
|
514
|
-
"grok-build-0.1",
|
|
515
509
|
],
|
|
516
510
|
xiaomi: ["mimo-v2.5-pro-ultraspeed", "mimo-v2.5-pro", "mimo-v2.5"],
|
|
517
511
|
"xiaomi-token-plan-ams": ["mimo-v2.5-pro", "mimo-v2.5"],
|
|
@@ -524,9 +518,7 @@ const PROVIDER_MODEL_PREFERENCES: Record<string, string[]> = {
|
|
|
524
518
|
"deepseek-ai/deepseek-v4-pro-0813",
|
|
525
519
|
"moonshotai/kimi-k2.6",
|
|
526
520
|
"minimaxai/minimax-m3",
|
|
527
|
-
"openai/gpt-oss-120b",
|
|
528
521
|
"nvidia/nemotron-3-nano-omni-30b-a3b-reasoning",
|
|
529
|
-
"nvidia/nemotron-3-nano-30b-a3b",
|
|
530
522
|
],
|
|
531
523
|
zai: [
|
|
532
524
|
"glm-5.3",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@diegopetrucci/pi-extensions",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.67",
|
|
4
4
|
"description": "A collection of pi extensions and skills for annotation UIs, context management, workflow audits, contrarian review, review-comment triage, notifications, brrr push alerts, safety guards, GitHub research, repo-local knowledge, todos, tool rendering, model/provider helpers, and Xiaohei-style article illustrations.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pi-package",
|
|
@@ -71,9 +71,9 @@
|
|
|
71
71
|
]
|
|
72
72
|
},
|
|
73
73
|
"devDependencies": {
|
|
74
|
-
"@earendil-works/pi-ai": "^0.
|
|
75
|
-
"@earendil-works/pi-coding-agent": "^0.
|
|
76
|
-
"@earendil-works/pi-tui": "^0.
|
|
74
|
+
"@earendil-works/pi-ai": "^0.85.1",
|
|
75
|
+
"@earendil-works/pi-coding-agent": "^0.85.1",
|
|
76
|
+
"@earendil-works/pi-tui": "^0.85.1",
|
|
77
77
|
"@types/node": "^25.9.1",
|
|
78
78
|
"husky": "^9.1.7",
|
|
79
79
|
"typebox": "^1.3.6",
|