@blockrun/franklin 3.9.1 → 3.9.2

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.
@@ -35,6 +35,12 @@ const MODEL_MAX_OUTPUT = {
35
35
  'google/gemini-2.5-pro': 65_536,
36
36
  'google/gemini-2.5-flash': 65_536,
37
37
  'deepseek/deepseek-chat': 8_192,
38
+ // Kimi K2.6 supports 65K output per the BlockRun gateway model entry
39
+ // (moonshot/kimi-k2.6 max_output: 65536). Without this entry the default
40
+ // 16K cap left users with 4× headroom on the table for long-form coding
41
+ // outputs and dashboard scaffolds the model can otherwise emit in a
42
+ // single response.
43
+ 'moonshot/kimi-k2.6': 65_536,
38
44
  };
39
45
  /** Get max output tokens for a model */
40
46
  export function getMaxOutputTokens(model) {
package/dist/pricing.js CHANGED
@@ -73,6 +73,8 @@ export const MODEL_PRICING = {
73
73
  'minimax/minimax-m2.5': { input: 0.3, output: 1.2 },
74
74
  // Moonshot
75
75
  'moonshot/kimi-k2.6': { input: 0.95, output: 4.0 },
76
+ // Retired (kept for legacy session-cost records; the gateway no longer
77
+ // serves these and the picker shortcuts now resolve to K2.6).
76
78
  'moonshot/kimi-k2.5': { input: 0.6, output: 3.0 },
77
79
  'nvidia/kimi-k2.5': { input: 0.55, output: 2.5 },
78
80
  // PROMOTION (active ~2026-04): flat $0.001/call for all GLM models
@@ -175,8 +175,9 @@ const MODEL_SHORTCUTS = {
175
175
  'glm5': 'zai/glm-5.1',
176
176
  kimi: 'moonshot/kimi-k2.6',
177
177
  'k2.6': 'moonshot/kimi-k2.6',
178
- 'kimi-k2.5': 'moonshot/kimi-k2.5',
179
- 'k2.5': 'moonshot/kimi-k2.5',
178
+ // K2.5 retired by the gateway — aliases resolve to K2.6 for muscle memory.
179
+ 'kimi-k2.5': 'moonshot/kimi-k2.6',
180
+ 'k2.5': 'moonshot/kimi-k2.6',
180
181
  };
181
182
  // Model pricing now uses shared source from src/pricing.ts
182
183
  function detectModelSwitch(parsed) {
@@ -79,8 +79,11 @@ export const MODEL_SHORTCUTS = {
79
79
  'glm5': 'zai/glm-5.1',
80
80
  kimi: 'moonshot/kimi-k2.6',
81
81
  'k2.6': 'moonshot/kimi-k2.6',
82
- 'kimi-k2.5': 'moonshot/kimi-k2.5',
83
- 'k2.5': 'moonshot/kimi-k2.5',
82
+ // K2.5 was retired by the gateway in favor of K2.6 (256K ctx, vision +
83
+ // reasoning, $0.95 in / $4 out — strictly better in every dimension).
84
+ // The aliases stay so muscle memory keeps working but resolve to K2.6.
85
+ 'kimi-k2.5': 'moonshot/kimi-k2.6',
86
+ 'k2.5': 'moonshot/kimi-k2.6',
84
87
  };
85
88
  /**
86
89
  * Resolve a model name — supports shortcuts.
@@ -149,7 +152,6 @@ export const PICKER_CATEGORIES = [
149
152
  { id: 'google/gemini-2.5-flash', shortcut: 'flash', label: 'Gemini 2.5 Flash', price: '$0.3/$2.5' },
150
153
  { id: 'deepseek/deepseek-chat', shortcut: 'deepseek', label: 'DeepSeek V3', price: '$0.28/$0.42' },
151
154
  { id: 'moonshot/kimi-k2.6', shortcut: 'kimi', label: 'Kimi K2.6', price: '$0.95/$4' },
152
- { id: 'moonshot/kimi-k2.5', shortcut: 'kimi-k2.5', label: 'Kimi K2.5 (legacy)', price: '$0.6/$3' },
153
155
  { id: 'minimax/minimax-m2.7', shortcut: 'minimax', label: 'Minimax M2.7', price: '$0.3/$1.2' },
154
156
  ],
155
157
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blockrun/franklin",
3
- "version": "3.9.1",
3
+ "version": "3.9.2",
4
4
  "description": "Franklin — The AI agent with a wallet. Spends USDC autonomously to get real work done. Pay per action, no subscriptions.",
5
5
  "type": "module",
6
6
  "exports": {