@blockrun/franklin 3.8.6 → 3.8.7
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/agent/planner.js +1 -1
- package/dist/agent/tokens.js +1 -0
- package/dist/pricing.js +2 -1
- package/dist/proxy/server.js +1 -1
- package/dist/router/index.js +4 -4
- package/dist/ui/model-picker.js +4 -2
- package/package.json +1 -1
package/dist/agent/planner.js
CHANGED
|
@@ -68,7 +68,7 @@ Rules:
|
|
|
68
68
|
export function getExecutorModel(profile) {
|
|
69
69
|
switch (profile) {
|
|
70
70
|
case 'premium':
|
|
71
|
-
return 'moonshot/kimi-k2.
|
|
71
|
+
return 'moonshot/kimi-k2.6'; // Medium-tier, reliable execution (256K ctx, vision + reasoning)
|
|
72
72
|
case 'auto':
|
|
73
73
|
default:
|
|
74
74
|
return 'google/gemini-2.5-flash'; // Cheap, fast, good at instructions
|
package/dist/agent/tokens.js
CHANGED
package/dist/pricing.js
CHANGED
|
@@ -67,7 +67,8 @@ export const MODEL_PRICING = {
|
|
|
67
67
|
// Minimax
|
|
68
68
|
'minimax/minimax-m2.7': { input: 0.3, output: 1.2 },
|
|
69
69
|
'minimax/minimax-m2.5': { input: 0.3, output: 1.2 },
|
|
70
|
-
//
|
|
70
|
+
// Moonshot
|
|
71
|
+
'moonshot/kimi-k2.6': { input: 0.95, output: 4.0 },
|
|
71
72
|
'moonshot/kimi-k2.5': { input: 0.6, output: 3.0 },
|
|
72
73
|
'nvidia/kimi-k2.5': { input: 0.55, output: 2.5 },
|
|
73
74
|
// PROMOTION (active ~2026-04): flat $0.001/call for all GLM models
|
package/dist/proxy/server.js
CHANGED
|
@@ -105,7 +105,7 @@ const MODEL_SHORTCUTS = {
|
|
|
105
105
|
minimax: 'minimax/minimax-m2.7',
|
|
106
106
|
// Others
|
|
107
107
|
glm: 'zai/glm-5.1',
|
|
108
|
-
kimi: 'moonshot/kimi-k2.
|
|
108
|
+
kimi: 'moonshot/kimi-k2.6',
|
|
109
109
|
};
|
|
110
110
|
// Model pricing now uses shared source from src/pricing.ts
|
|
111
111
|
function detectModelSwitch(parsed) {
|
package/dist/router/index.js
CHANGED
|
@@ -40,15 +40,15 @@ function loadLearnedWeights() {
|
|
|
40
40
|
const AUTO_TIERS = {
|
|
41
41
|
SIMPLE: {
|
|
42
42
|
primary: 'google/gemini-2.5-flash',
|
|
43
|
-
fallback: ['moonshot/kimi-k2.
|
|
43
|
+
fallback: ['moonshot/kimi-k2.6', 'deepseek/deepseek-chat'],
|
|
44
44
|
},
|
|
45
45
|
MEDIUM: {
|
|
46
46
|
primary: 'anthropic/claude-sonnet-4.6',
|
|
47
|
-
fallback: ['openai/gpt-5.4', 'google/gemini-3.1-pro', 'moonshot/kimi-k2.
|
|
47
|
+
fallback: ['openai/gpt-5.4', 'google/gemini-3.1-pro', 'moonshot/kimi-k2.6'],
|
|
48
48
|
},
|
|
49
49
|
COMPLEX: {
|
|
50
50
|
primary: 'anthropic/claude-sonnet-4.6',
|
|
51
|
-
fallback: ['openai/gpt-5.4', 'anthropic/claude-opus-4.7', 'moonshot/kimi-k2.
|
|
51
|
+
fallback: ['openai/gpt-5.4', 'anthropic/claude-opus-4.7', 'moonshot/kimi-k2.6'],
|
|
52
52
|
},
|
|
53
53
|
REASONING: {
|
|
54
54
|
// Opus 4.7: step-change improvement in agentic coding over 4.6 per
|
|
@@ -84,7 +84,7 @@ const ECO_TIERS = {
|
|
|
84
84
|
};
|
|
85
85
|
const PREMIUM_TIERS = {
|
|
86
86
|
SIMPLE: {
|
|
87
|
-
primary: 'moonshot/kimi-k2.
|
|
87
|
+
primary: 'moonshot/kimi-k2.6',
|
|
88
88
|
fallback: ['anthropic/claude-haiku-4.5'],
|
|
89
89
|
},
|
|
90
90
|
MEDIUM: {
|
package/dist/ui/model-picker.js
CHANGED
|
@@ -58,7 +58,8 @@ export const MODEL_SHORTCUTS = {
|
|
|
58
58
|
glm: 'zai/glm-5.1',
|
|
59
59
|
'glm-turbo': 'zai/glm-5-turbo',
|
|
60
60
|
'glm5': 'zai/glm-5.1',
|
|
61
|
-
kimi: 'moonshot/kimi-k2.
|
|
61
|
+
kimi: 'moonshot/kimi-k2.6',
|
|
62
|
+
'kimi-k2.5': 'moonshot/kimi-k2.5',
|
|
62
63
|
};
|
|
63
64
|
/**
|
|
64
65
|
* Resolve a model name — supports shortcuts.
|
|
@@ -125,7 +126,8 @@ export const PICKER_CATEGORIES = [
|
|
|
125
126
|
{ id: 'openai/gpt-5-nano', shortcut: 'nano', label: 'GPT-5 Nano', price: '$0.05/$0.4' },
|
|
126
127
|
{ id: 'google/gemini-2.5-flash', shortcut: 'flash', label: 'Gemini 2.5 Flash', price: '$0.3/$2.5' },
|
|
127
128
|
{ id: 'deepseek/deepseek-chat', shortcut: 'deepseek', label: 'DeepSeek V3', price: '$0.28/$0.42' },
|
|
128
|
-
{ id: 'moonshot/kimi-k2.
|
|
129
|
+
{ id: 'moonshot/kimi-k2.6', shortcut: 'kimi', label: 'Kimi K2.6', price: '$0.95/$4' },
|
|
130
|
+
{ id: 'moonshot/kimi-k2.5', shortcut: 'kimi-k2.5', label: 'Kimi K2.5 (legacy)', price: '$0.6/$3' },
|
|
129
131
|
{ id: 'minimax/minimax-m2.7', shortcut: 'minimax', label: 'Minimax M2.7', price: '$0.3/$1.2' },
|
|
130
132
|
],
|
|
131
133
|
},
|
package/package.json
CHANGED