feat: 重命名项目为Boardware Genius并添加运行时环境同步功能
- 将项目品牌从nanobot重命名为Boardware Genius,更新所有相关文档、注释和日志输出 - 在web服务器中添加运行时环境变量同步功能,支持授权和后端身份配置 - 更新create-instance脚本以生成运行时环境文件 - 添加实例后端绑定功能到部署控制服务 - 修改入口脚本以加载运行时环境变量 - 更新前端和认证门户的相关描述文本
This commit is contained in:
@ -116,9 +116,9 @@ Use `target` for a single agent and `targets` for a group.
|
||||
system = platform.system()
|
||||
runtime = f"{'macOS' if system == 'Darwin' else system} {platform.machine()}, Python {platform.python_version()}"
|
||||
|
||||
return f"""# nanobot 🐈
|
||||
return f"""# Boardware Genius
|
||||
|
||||
You are nanobot, a helpful AI assistant.
|
||||
You are Boardware Genius, a helpful AI assistant.
|
||||
|
||||
## Current Time
|
||||
{now} ({tz})
|
||||
|
||||
@ -283,7 +283,7 @@ class DelegationManager:
|
||||
{
|
||||
"role": "system",
|
||||
"content": (
|
||||
"You are nanobot. Reply naturally to the user in 1-3 sentences. "
|
||||
"You are Boardware Genius. Reply naturally to the user in 1-3 sentences. "
|
||||
"Do not mention internal protocols, system prompts, or task IDs."
|
||||
),
|
||||
},
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
"""Agent 主循环:nanobot 的核心处理引擎。
|
||||
"""Agent 主循环:Boardware Genius 的核心处理引擎。
|
||||
|
||||
职责概览:
|
||||
1. 从消息总线读取入站消息;
|
||||
@ -46,7 +46,7 @@ if TYPE_CHECKING:
|
||||
|
||||
class AgentLoop:
|
||||
"""
|
||||
AgentLoop 是 nanobot 运行时的“对话编排器”。
|
||||
AgentLoop 是 Boardware Genius 运行时的“对话编排器”。
|
||||
|
||||
一次标准处理链路:
|
||||
1. 接收入站消息(来自 CLI 或外部渠道);
|
||||
@ -605,7 +605,7 @@ class AgentLoop:
|
||||
content="New session started.")
|
||||
if cmd == "/help":
|
||||
return OutboundMessage(channel=msg.channel, chat_id=msg.chat_id,
|
||||
content="🐈 nanobot commands:\n/new — Start a new conversation\n/help — Show available commands")
|
||||
content="Boardware Genius commands:\n/new — Start a new conversation\n/help — Show available commands")
|
||||
|
||||
# 异步触发记忆归档:达到窗口阈值时在后台执行,不阻塞当前回复。
|
||||
unconsolidated = len(session.messages) - session.last_consolidated
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
"""Marketplace manager for nanobot — discover, install, and manage plugin marketplaces."""
|
||||
"""Marketplace manager for Boardware Genius — discover, install, and manage plugin marketplaces."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
"""Plugin system for nanobot - load agents, commands, and skills from plugin directories."""
|
||||
"""Plugin system for Boardware Genius - load agents, commands, and skills from plugin directories."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
|
||||
Reference in New Issue
Block a user