惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
U
Unit 42
IT之家
IT之家
Y
Y Combinator Blog
T
Tailwind CSS Blog
B
Blog
大猫的无限游戏
大猫的无限游戏
博客园 - 叶小钗
Jina AI
Jina AI
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
I
InfoQ
J
Java Code Geeks
F
Fortinet All Blogs
T
The Blog of Author Tim Ferriss
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
H
Hackread – Cybersecurity News, Data Breaches, AI and More
人人都是产品经理
人人都是产品经理
腾讯CDC
Hugging Face - Blog
Hugging Face - Blog
GbyAI
GbyAI
博客园 - 司徒正美
The GitHub Blog
The GitHub Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
L
LangChain Blog

Recent Commits to openclaw:main

test: merge chat side-result checks · openclaw/openclaw@ddd2c2a test: merge cron history checks · openclaw/openclaw@f7eb746 test: merge responsive navigation shell checks · openclaw/openclaw@c2e4b47 docs(changelog): add codex oauth fixes · openclaw/openclaw@628e6cd test: merge navigation routing cases · openclaw/openclaw@5d8cecb Tests: mock channel registry bundled fallback · openclaw/openclaw@2b08233 Secrets: avoid broad web search discovery for single plugin config · openclaw/openclaw@a464f59 test: merge config view browser checks · openclaw/openclaw@20cf511 fix(status): align oauth health with runtime · openclaw/openclaw@eed7116 feat: add macOS screen snapshots for monitor preview (#67954) thanks … · openclaw/openclaw@f377db1 fix: report shared auth scopes in hello-ok (#67810) thanks @BunsDev · openclaw/openclaw@0b6c39b Auto-reply: avoid eager bundled route fallback · openclaw/openclaw@3ea1bf4 Tests: narrow session binding contract setup · openclaw/openclaw@54e4e16 fix(macOS): enable undo/redo in webchat composer text input (#34962) · openclaw/openclaw@00951dc Tests: speed up channel setup promotion · openclaw/openclaw@82b529a Docs: refresh agent instructions · openclaw/openclaw@5775fe2 fix(auth): serialize OAuth refresh across agents to fix #26322 (#67876) · openclaw/openclaw@8e79080 test: allow ollama public surface boundary test · openclaw/openclaw@7d4f1a6 Docs: add test performance guardrails · openclaw/openclaw@89706d3 Tests: restore context-engine usage proof · openclaw/openclaw@e4c4f95 Tests: slim context engine runtime coverage · openclaw/openclaw@74c198f ci: retry failed custom checkouts · openclaw/openclaw@0ee5baf test: trim duplicate provider auth onboarding cases · openclaw/openclaw@1ffc02e matrix: fix sessions_spawn --thread subagent session spawning (#67643) · openclaw/openclaw@1ce2596 test: reduce auth choice fixture churn · openclaw/openclaw@857b9cd test: mock health status config boundaries · openclaw/openclaw@9d5ab4a test: mock onboard config io boundary · openclaw/openclaw@299694d test: mock legacy state plugin boundaries · openclaw/openclaw@2713089 test: mock channel install boundaries · openclaw/openclaw@b945248 test: mock doctor preview channel boundaries · openclaw/openclaw@b1a3ad4
fix: simplify Crestodian startup greeting · openclaw/open...
steipete · 2026-04-25 · via Recent Commits to openclaw:main

@@ -237,16 +237,70 @@ export function formatCrestodianOverview(overview: CrestodianOverview): string {

237237238238

export function recommendCrestodianNextStep(overview: CrestodianOverview): string {

239239

if (!overview.config.exists) {

240-

return 'say "setup" to create a starter config';

240+

return 'run "setup" to create a starter config';

241241

}

242242

if (!overview.config.valid) {

243-

return 'say "validate config" or "doctor" to inspect the config';

243+

return 'run "validate config" or "doctor" to inspect the config';

244244

}

245245

if (!overview.defaultModel) {

246-

return 'say "setup" or "set default model <provider/model>"';

246+

return 'run "setup" or "set default model <provider/model>"';

247247

}

248248

if (!overview.gateway.reachable) {

249-

return 'say "gateway status" or "restart gateway"';

249+

return 'run "gateway status" or "restart gateway"';

250250

}

251-

return 'say "talk to agent" to enter your default agent';

251+

return 'run "talk to agent" to enter your default agent';

252+

}

253+254+

function formatStartupConfigStatus(overview: CrestodianOverview): string {

255+

if (!overview.config.exists) {

256+

return "missing";

257+

}

258+

return overview.config.valid ? "valid" : "invalid";

259+

}

260+261+

function formatStartupUse(overview: CrestodianOverview): string {

262+

if (overview.defaultModel) {

263+

return `Using: ${overview.defaultModel} for fuzzy local planning.`;

264+

}

265+

return "Using: deterministic typed commands until we configure a model.";

266+

}

267+268+

function formatStartupGatewayStatus(overview: CrestodianOverview): string {

269+

if (overview.gateway.reachable) {

270+

return `Gateway: reachable at ${overview.gateway.url}.`;

271+

}

272+

return `Gateway: not reachable at ${overview.gateway.url}; I already did the first probe.`;

273+

}

274+275+

function formatStartupAction(overview: CrestodianOverview): string {

276+

if (!overview.config.exists) {

277+

return "I can start by creating a starter config with `setup`.";

278+

}

279+

if (!overview.config.valid) {

280+

return "I can start debugging with `validate config` or `doctor`.";

281+

}

282+

if (!overview.defaultModel) {

283+

return "I can start by choosing a model with `setup`.";

284+

}

285+

if (!overview.gateway.reachable) {

286+

return "I can start debugging with `gateway status`, or queue `restart gateway` for approval.";

287+

}

288+

return "Everything basic is reachable. Use `talk to agent` when you want the normal agent.";

289+

}

290+291+

export function formatCrestodianStartupMessage(overview: CrestodianOverview): string {

292+

const agent = overview.agents.find((entry) => entry.id === overview.defaultAgentId);

293+

const agentLabel = agent?.name

294+

? `${overview.defaultAgentId} (${agent.name})`

295+

: overview.defaultAgentId;

296+

return [

297+

"## Hi, I'm Crestodian.",

298+

"",

299+

"- Start me when setup, config, Gateway, model choice, or agent routing feels off.",

300+

`- ${formatStartupUse(overview)}`,

301+

`- Config: ${formatStartupConfigStatus(overview)}. Default agent: ${agentLabel}.`,

302+

`- ${formatStartupGatewayStatus(overview)}`,

303+

"",

304+

formatStartupAction(overview),

305+

].join("\n");

252306

}