@bolloon/bolloon-agent 0.3.19 → 0.3.20

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -20
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -15,7 +15,7 @@ import { createSubAgentManager } from './agents/subagent-manager.js';
15
15
  import { getGlobalSharedContext } from './social/global-shared-context.js';
16
16
  import { createBollharnessIntegration } from './bollharness-integration/index.js';
17
17
  import * as readline from 'readline';
18
- import { printBanner, renderDashboard, renderDialog, renderUserMessage, renderAgentMessage, renderToolCall, flowConnector, termWidth } from './cli/loading-tui.js';
18
+ import { printBanner, renderDialog, renderUserMessage, renderAgentMessage, renderToolCall, flowConnector, termWidth } from './cli/loading-tui.js';
19
19
  // 启动自动检查更新:后台、节流、检测到新版本自动安装(可被 --no-update / BOLLOON_SKIP_UPDATE 关闭)
20
20
  import { createRequire } from 'module';
21
21
  const _require = createRequire(import.meta.url);
@@ -427,25 +427,7 @@ function startCLI(comm) {
427
427
  cliModelName = foundProvider ? foundProvider[1] : '未配置';
428
428
  cliAgentName = agentIdentity?.name || 'bolloon';
429
429
  cliStartTime = Date.now();
430
- const llmName = process.env.MINIMAX_API_KEY ? 'MiniMax'
431
- : process.env.OPENAI_API_KEY ? 'OpenAI'
432
- : process.env.ANTHROPIC_API_KEY ? 'Anthropic'
433
- : process.env.DEEPSEEK_API_KEY ? 'DeepSeek'
434
- : '未配置';
435
- process.stdout.write(renderDashboard({
436
- title: '系统状态',
437
- brand: false,
438
- rows: [
439
- { label: 'LLM Provider', status: llmName === '未配置' ? 'warn' : 'ok', detail: llmName },
440
- { label: 'P2P 节点', status: peerCount > 0 ? 'ok' : 'warn', detail: `${peerCount} 个` },
441
- { label: '输入方式', status: 'info', detail: '底部对话框' },
442
- ],
443
- }) + '\n');
444
- process.stdout.write(renderDialog({
445
- title: 'Bolloon Agent',
446
- brand: false,
447
- prompt: '输入消息开始对话 · 输入 help 查看命令',
448
- }) + '\n');
430
+ process.stdout.write(`${C_DIM}Bolloon CLI ready. 输入 !cmd /queue /help${RESET}\n\n`);
449
431
  showBottomPrompt();
450
432
  const handleInput = (chunk, key) => {
451
433
  if (!isRunning)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bolloon/bolloon-agent",
3
- "version": "0.3.19",
3
+ "version": "0.3.20",
4
4
  "type": "module",
5
5
  "description": "P2P AI Document Agent - 全局安装后执行 `bolloon` 启动产品",
6
6
  "main": "dist/cli-entry.js",