@blockrun/franklin 3.29.15 → 3.29.16

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.
@@ -5,7 +5,7 @@ import { getOrCreateWallet, getOrCreateSolanaWallet } from '@blockrun/llm';
5
5
  import { BLOCKRUN_DIR, loadChain, API_URLS } from '../config.js';
6
6
  import { retryFetchBalance } from './balance-retry.js';
7
7
  import { flushStats, loadStats } from '../stats/tracker.js';
8
- import { OPUS_PRICING, MODEL_PRICING } from '../pricing.js';
8
+ import { OPUS_PRICING } from '../pricing.js';
9
9
  import { loadConfig } from './config.js';
10
10
  import { printBanner } from '../banner.js';
11
11
  import { assembleInstructions } from '../agent/context.js';
@@ -190,15 +190,9 @@ export async function startCommand(options) {
190
190
  process.exitCode = exitCode;
191
191
  return;
192
192
  }
193
- // Warn when a paid model is active so users know they'll be charged.
194
- // Derive "free" from MODEL_PRICING so adding a new free entry there is enough —
195
- // no second hardcoded list to keep in sync.
196
- const pricing = MODEL_PRICING[model];
197
- const isFree = pricing != null && pricing.input === 0 && pricing.output === 0 && (pricing.perCall ?? 0) === 0;
198
- if (!isFree) {
199
- console.log(chalk.yellow(` Model: ${model} (paid — charges from your wallet per call)`));
200
- console.log(chalk.dim(` Switch to free with: /model free\n`));
201
- }
193
+ // Show the active model at startup. No paid/free framing — Franklin is the
194
+ // agent with a wallet; spending is the point, not a warning.
195
+ console.log(chalk.dim(` Model: ${model}\n`));
202
196
  // Auto-create wallet if needed (no interruption — free models work without funding)
203
197
  let walletAddress = '';
204
198
  if (chain === 'solana') {
@@ -11,7 +11,7 @@
11
11
  * - Cost projections and efficiency metrics
12
12
  */
13
13
  import { loadStats } from './tracker.js';
14
- import { OPUS_PRICING, MODEL_PRICING } from '../pricing.js';
14
+ import { OPUS_PRICING } from '../pricing.js';
15
15
  import { formatTokens, formatUsd, shortModelName } from './format.js';
16
16
  // ─── Generate Report ──────────────────────────────────────────────────────
17
17
  export function generateInsights(days = 30) {
@@ -193,5 +193,3 @@ export function formatInsights(report, days) {
193
193
  lines.push('');
194
194
  return lines.join('\n');
195
195
  }
196
- // Silence unused import warning
197
- void MODEL_PRICING;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blockrun/franklin",
3
- "version": "3.29.15",
3
+ "version": "3.29.16",
4
4
  "description": "Franklin Agent — 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": {