@compilr-dev/sdk 0.1.21 → 0.1.22
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/dist/models/model-registry.js +26 -16
- package/package.json +1 -1
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
*/
|
|
18
18
|
export const MODEL_REGISTRY = [
|
|
19
19
|
// ---------------------------------------------------------------------------
|
|
20
|
-
// Claude Models (Anthropic)
|
|
20
|
+
// Claude Models (Anthropic) — Current generation (4.6 + Haiku 4.5)
|
|
21
21
|
// ---------------------------------------------------------------------------
|
|
22
22
|
{
|
|
23
23
|
id: 'claude-haiku-4-5-20251001',
|
|
@@ -30,8 +30,8 @@ export const MODEL_REGISTRY = [
|
|
|
30
30
|
contextWindow: 200000,
|
|
31
31
|
},
|
|
32
32
|
{
|
|
33
|
-
id: 'claude-sonnet-4-
|
|
34
|
-
displayName: 'Sonnet 4.
|
|
33
|
+
id: 'claude-sonnet-4-6',
|
|
34
|
+
displayName: 'Sonnet 4.6',
|
|
35
35
|
description: 'Balanced (recommended)',
|
|
36
36
|
provider: 'claude',
|
|
37
37
|
defaultTier: 'balanced',
|
|
@@ -40,8 +40,8 @@ export const MODEL_REGISTRY = [
|
|
|
40
40
|
contextWindow: 200000,
|
|
41
41
|
},
|
|
42
42
|
{
|
|
43
|
-
id: 'claude-opus-4-
|
|
44
|
-
displayName: 'Opus 4.
|
|
43
|
+
id: 'claude-opus-4-6',
|
|
44
|
+
displayName: 'Opus 4.6',
|
|
45
45
|
description: 'Most capable',
|
|
46
46
|
provider: 'claude',
|
|
47
47
|
defaultTier: 'powerful',
|
|
@@ -49,26 +49,36 @@ export const MODEL_REGISTRY = [
|
|
|
49
49
|
status: 'supported',
|
|
50
50
|
contextWindow: 200000,
|
|
51
51
|
},
|
|
52
|
-
//
|
|
52
|
+
// Legacy Claude models (still supported)
|
|
53
53
|
{
|
|
54
|
-
id: 'claude-
|
|
55
|
-
displayName: 'Sonnet
|
|
54
|
+
id: 'claude-sonnet-4-5-20250929',
|
|
55
|
+
displayName: 'Sonnet 4.5',
|
|
56
|
+
description: 'Previous generation',
|
|
57
|
+
provider: 'claude',
|
|
58
|
+
thinkingFormat: 'claude',
|
|
59
|
+
status: 'supported',
|
|
60
|
+
contextWindow: 200000,
|
|
61
|
+
notes: 'Legacy — consider upgrading to Sonnet 4.6',
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
id: 'claude-opus-4-5-20251101',
|
|
65
|
+
displayName: 'Opus 4.5',
|
|
56
66
|
description: 'Previous generation',
|
|
57
67
|
provider: 'claude',
|
|
58
68
|
thinkingFormat: 'claude',
|
|
59
69
|
status: 'supported',
|
|
60
70
|
contextWindow: 200000,
|
|
61
|
-
notes: '
|
|
71
|
+
notes: 'Legacy — consider upgrading to Opus 4.6',
|
|
62
72
|
},
|
|
63
73
|
{
|
|
64
|
-
id: 'claude-
|
|
65
|
-
displayName: '
|
|
74
|
+
id: 'claude-sonnet-4-20250514',
|
|
75
|
+
displayName: 'Sonnet 4',
|
|
66
76
|
description: 'Previous generation',
|
|
67
77
|
provider: 'claude',
|
|
68
78
|
thinkingFormat: 'claude',
|
|
69
79
|
status: 'supported',
|
|
70
80
|
contextWindow: 200000,
|
|
71
|
-
notes: '
|
|
81
|
+
notes: 'Legacy',
|
|
72
82
|
},
|
|
73
83
|
// ---------------------------------------------------------------------------
|
|
74
84
|
// Gemini Models (Google)
|
|
@@ -413,8 +423,8 @@ export const MODEL_REGISTRY = [
|
|
|
413
423
|
status: 'supported',
|
|
414
424
|
},
|
|
415
425
|
{
|
|
416
|
-
id: 'anthropic/claude-
|
|
417
|
-
displayName: 'Claude
|
|
426
|
+
id: 'anthropic/claude-sonnet-4-6',
|
|
427
|
+
displayName: 'Claude Sonnet 4.6',
|
|
418
428
|
description: 'Balanced (via OpenRouter)',
|
|
419
429
|
provider: 'openrouter',
|
|
420
430
|
defaultTier: 'balanced',
|
|
@@ -422,8 +432,8 @@ export const MODEL_REGISTRY = [
|
|
|
422
432
|
status: 'supported',
|
|
423
433
|
},
|
|
424
434
|
{
|
|
425
|
-
id: 'anthropic/claude-
|
|
426
|
-
displayName: 'Claude
|
|
435
|
+
id: 'anthropic/claude-opus-4-6',
|
|
436
|
+
displayName: 'Claude Opus 4.6',
|
|
427
437
|
description: 'Most capable (via OpenRouter)',
|
|
428
438
|
provider: 'openrouter',
|
|
429
439
|
defaultTier: 'powerful',
|