Skip to content

Commit 72dbd26

Browse files
author
linyuan.yang
committed
chore(sbot): sync release notes for v0.2.1
1 parent b73873f commit 72dbd26

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/sbot/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
"name": "@qingfeng346/sbot",
33
"version": "0.2.1",
44
"description": "Self-hosted AI agent server. Open-source alternative to OpenAI, Claude, and Gemini interfaces. Run LLM agents locally with MCP tool support, memory, multi-channel integrations (Lark/Feishu), and a built-in web UI.",
5-
"releasenoteEn": "This release includes the following main changes:\n\n### Added\n\n1. Added the Agenda system, a unified replacement for the previous Scheduler and Todo features. You can create, list, update, complete, cancel, and manually trigger agendas, with editing supported in both the chat and the management page.\n2. Added Smart Heartbeat. The AI decides whether the current moment is appropriate to reach out, instead of sending on a fixed interval.\n3. Added hybrid search for notes, combining keyword and semantic retrieval for more accurate results.\n4. Added a Settings API and a Memories management API in the web UI.\n\n### Improved\n\n1. Reworked the Memory system with a new storage and service architecture, more reliable writes, automatic retry on failure, and clearer reader/writer prompts.\n2. Switched the dependency injection container to synchronous initialization for faster and more predictable startup.\n3. Improved the Heartbeat module with throttling and a shared context builder, reducing redundant triggers.\n4. Improved the Web fetch tool with better content extraction and error handling.\n5. Improved time handling by consolidating time utilities and removing the explicit time-zone field from agendas.\n6. Improved channel data sync flow and error reporting.\n7. Slimmed down the agenda prompts and tools for clearer model behavior and lower token usage.\n\n### Fixed\n\n1. Fixed several agenda synchronization issues, including incorrect state after edits and missed triggers.\n2. Fixed inconsistent \"current time\" / \"today's date\" reported in tool calls.\n3. Fixed image resize edge cases when handling large or non-standard inputs.\n4. Fixed channel prompt loading in some configurations.",
6-
"releasenoteZh": "本次主要更新如下:\n\n### 新增\n\n1. 新增「议程(Agenda)」系统,统一替代原有的定时任务(Scheduler)和待办(Todo)。支持创建、查看、更新、完成、取消和手动触发,聊天和管理页面均可编辑。\n2. 新增智能心跳(Smart Heartbeat),由 AI 判断当前是否适合主动发起消息,避免固定频率打扰。\n3. 笔记新增混合搜索(HybridSearcher),同时利用关键词与语义检索,结果更精准。\n4. Web 管理界面新增设置(Settings)接口与记忆(Memories)管理接口。\n\n### 优化\n\n1. 重构记忆(Memory)系统,采用新的存储与服务架构,写入更可靠,失败时自动重试,读写提示词更清晰。\n2. 依赖注入容器改为同步初始化,启动更快、行为更可预测。\n3. 优化心跳模块,新增节流与统一上下文构建,减少重复触发。\n4. 优化 Web fetch 工具,正文抽取与错误处理更稳定。\n5. 优化时间处理:统一时间工具类,议程移除显式时区字段,使用更直观。\n6. 优化渠道数据同步流程与错误反馈。\n7. 精简议程相关提示词与工具定义,模型行为更清晰,Token 占用更低。\n\n### 修复\n\n1. 修复多处议程同步问题,包括编辑后状态错误以及触发遗漏。\n2. 修复工具调用中「当前时间 / 今天日期」前后不一致的问题。\n3. 修复图片缩放在大尺寸或非标准输入下的异常。\n4. 修复部分配置下渠道提示词加载异常的问题。",
5+
"releasenoteEn": "This release includes the following main changes:\n\n### Added\n\n1. Added `sbot update`, which updates sbot to the latest version and stops the running service first when needed.\n2. Added more built-in chat commands, including `/status`, `/workpath`, `/agent`, `/saver`, `/note`, `/wiki`, `/memory`, `/agenda`, `/autoapprove`, `/tokens`, `/version`, and `/history`.\n3. Added richer Agenda trigger controls: fire a trigger manually, delete a trigger, choose the delivery session per trigger, and mark routines as per-fire check-ins.\n4. Added DingTalk file sending, plus session recovery from saved metadata so proactive messages can still be delivered after a restart.\n5. Added ReAct sub-task tracking with task listing, resumable task state, optional parent-context injection, and nested-depth protection.\n6. Added Agent management helpers for reference counts, unused-Agent hints, skill exclusions in \"use all\" mode, and generated sub-agent capability descriptions.\n\n### Improved\n\n1. Improved channel send/list guidance so the AI can look up a person or group by name before sending messages or files.\n2. Improved Lark message history with sender names and clearer pagination instructions.\n3. Improved generated-file delivery links so files saved in nested working-directory paths can be shared correctly.\n4. Simplified Agenda concepts by replacing category/completion-mode combinations with a clearer check-in switch.\n5. Slimmed down release tooling by removing the old helper package flow and pointing XiaoAI credential setup to sbox.\n\n### Fixed\n\n1. Fixed Agenda trigger startup and reload races that could drop schedules or cause duplicate firing.\n2. Fixed multi-trigger Agenda items being marked done too early; an item now completes only after all active triggers are exhausted.\n3. Fixed Agenda delivery target storage and channel session metadata, improving reminder and proactive-message delivery after restarts.\n4. Fixed Windows command execution and process cleanup sometimes opening a console window.\n5. Fixed built-in command results being treated as ordinary AI replies in chat.\n6. Fixed embedded-client file downloads and terminal connections in environments where direct browser links or sockets are unavailable.",
6+
"releasenoteZh": "本次主要更新如下:\n\n### 新增\n\n1. 新增 `sbot update` 命令,可更新到最新版本;如果服务正在运行,会先停止服务再升级。\n2. 聊天内新增更多内置命令,包括 `/status`、`/workpath`、`/agent`、`/saver`、`/note`、`/wiki`、`/memory`、`/agenda`、`/autoapprove`、`/tokens`、`/version`、`/history`。\n3. Agenda 触发器新增更完整的管理能力:手动触发、删除触发器、为单个触发器选择投递会话,以及逐次打卡模式。\n4. 钉钉渠道新增文件发送,并支持从已保存的会话信息恢复投递目标,重启后也能继续主动发送。\n5. ReAct 多 Agent 新增子任务追踪:可查看任务列表、续接任务状态、按需注入主对话上下文,并限制过深嵌套。\n6. Agent 管理新增引用统计、未使用提示、「使用全部」模式下排除指定技能,以及自动生成子 Agent 能力描述。\n\n### 优化\n\n1. 优化渠道发送 / 列表工具提示词,让 AI 能先按名称查找联系人或群聊,再发送消息或文件。\n2. 优化 Lark 消息历史读取,返回发送者名称,并改进分页说明。\n3. 优化生成文件的交付链接,保存到工作目录多级子目录的文件也能正确生成下载地址。\n4. 简化 Agenda 概念,将原来的分类 / 完成方式组合改为更清晰的「逐次打卡」开关。\n5. 精简发布与辅助工具链,移除旧 helper 包流程,并将小爱凭据获取说明切换到 sbox。\n\n### 修复\n\n1. 修复 Agenda 触发器启动和重载时的竞态问题,避免调度丢失或重复触发。\n2. 修复多触发器事项过早完成的问题,现在会等所有启用触发器都耗尽后才自动完成。\n3. 修复 Agenda 投递目标和渠道会话元数据保存问题,提升重启后提醒与主动消息投递的稳定性。\n4. 修复 Windows 下执行命令或清理进程时可能弹出控制台窗口的问题。\n5. 修复内置命令结果在聊天中被当成普通 AI 回复的问题。\n6. 修复嵌入式客户端在无法直接打开浏览器链接或 WebSocket 时的文件下载与终端连接问题。",
77
"license": "MIT",
88
"repository": {
99
"type": "git",

0 commit comments

Comments
 (0)