@blockrun/franklin 3.8.16 → 3.8.17
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/banner.js +7 -3
- package/dist/commands/start.js +8 -2
- package/package.json +1 -1
package/dist/banner.js
CHANGED
|
@@ -83,12 +83,16 @@ function padVisible(s, targetWidth) {
|
|
|
83
83
|
return s + '\x1b[0m' + ' '.repeat(targetWidth - current);
|
|
84
84
|
}
|
|
85
85
|
export function printBanner(version) {
|
|
86
|
+
// Full portrait banner (Ben Franklin + FRANKLIN block art) is the default
|
|
87
|
+
// since v3.8.17 — it's the brand asset and the visual anchor for "Franklin
|
|
88
|
+
// is Ben Franklin's AI heir." Users who want a 2-line startup (scripting,
|
|
89
|
+
// narrow terminals, CI) can set FRANKLIN_BANNER=compact.
|
|
86
90
|
const style = process.env.FRANKLIN_BANNER?.toLowerCase();
|
|
87
|
-
if (style === '
|
|
88
|
-
|
|
91
|
+
if (style === 'compact' || style === 'minimal') {
|
|
92
|
+
printCompactBanner(version);
|
|
89
93
|
}
|
|
90
94
|
else {
|
|
91
|
-
|
|
95
|
+
printLegacyBanner(version);
|
|
92
96
|
}
|
|
93
97
|
// Kick off a background refresh for *next* startup, and print a hint now
|
|
94
98
|
// if the cache already knows about a newer version. All wrapped in
|
package/dist/commands/start.js
CHANGED
|
@@ -71,8 +71,14 @@ export async function startCommand(options) {
|
|
|
71
71
|
model = configModel;
|
|
72
72
|
}
|
|
73
73
|
else {
|
|
74
|
-
// Default:
|
|
75
|
-
|
|
74
|
+
// Default: blockrun/auto — the LLM router (v3.8.16) picks a model per
|
|
75
|
+
// prompt. SIMPLE questions route to cheap/fast models (gemini-flash,
|
|
76
|
+
// kimi); COMPLEX / REASONING to Sonnet 4.6 / Opus 4.7. Cost fallback
|
|
77
|
+
// to free models on 402 is handled in the agent loop, so an unfunded
|
|
78
|
+
// wallet still works — it just degrades to the free tier mid-session
|
|
79
|
+
// instead of starting there. Much better first-turn quality than the
|
|
80
|
+
// old nvidia-nemotron default, which stubbed tool use.
|
|
81
|
+
model = 'blockrun/auto';
|
|
76
82
|
}
|
|
77
83
|
const workDir = process.cwd();
|
|
78
84
|
// --prompt batch mode: skip all interactive startup UI/side effects so
|
package/package.json
CHANGED