346 Commits

Author SHA1 Message Date
35b9c42d07 feat: 添加 /save 命令以保存会话内容到 Markdown 文件;实现 SaveSessionCommandHandler 处理逻辑 2026-05-13 21:46:29 +08:00
oudecheng
73faaa95e4 feat: 修改 SessionCommandHandler 的构造函数为公有可见性,优化代码可读性;更新 WebSocket 处理逻辑以简化模式匹配 2026-05-13 18:01:08 +08:00
oudecheng
aace4eaa14 feat: 实现命令适配器和处理器,支持 CLI 和 WebSocket 输入,优化会话管理 2026-05-13 17:48:33 +08:00
oudecheng
1c1efcabf4 feat: 移除冗余的 provider_config 字段,优化 AgentFactory 和 Session 的构造逻辑 2026-05-13 15:41:52 +08:00
oudecheng
a06fceaf0c feat: 添加系统提示词提供者,支持动态注入和组合多个提示词源 2026-05-13 14:55:50 +08:00
oudecheng
ac2dfe39cc feat: 默认创建静默任务,优化定时任务执行逻辑,减少主对话干扰 2026-05-13 12:02:16 +08:00
oudecheng
addcaa1210 feat: 移除冗余检查规则,优化工具调用说明,增加定时任务静默模式描述 2026-05-13 11:23:56 +08:00
oudecheng
84b3fd064c feat: 修复 JSON 字符串处理逻辑,确保字符串格式的有效性 2026-05-13 10:39:32 +08:00
oudecheng
79f9e36871 feat: 更新工具描述,添加重要的目标配置说明以优化任务执行逻辑 2026-05-13 10:20:57 +08:00
oudecheng
9d3d8b812c feat: 优化工具参数序列化逻辑,确保字符串格式的有效性 2026-05-13 10:07:14 +08:00
oudecheng
3aeaea5fe4 feat: 增加最大令牌数至4000,优化内存维护服务的错误处理逻辑 2026-05-13 09:51:02 +08:00
oudecheng
cadc5e5577 feat: 支持分离 session_chat_id 和 notification_chat_id,优化任务执行逻辑 2026-05-13 09:39:05 +08:00
9d9fa1dc4b feat: 添加 memory_maintenance_timeout_secs 配置,优化内存维护超时设置 2026-05-12 22:11:34 +08:00
5a0c018ee7 feat: 更新内存维护逻辑,调整返回类型为Option以处理无结果情况 2026-05-12 21:04:17 +08:00
oudecheng
03c95e6b8f feat: 添加文件读取工具的字符截断逻辑,记录截断字符数量 2026-05-12 18:03:49 +08:00
oudecheng
4473c9fc47 feat: 增强参数截断逻辑,确保在截断时遵循UTF-8字符边界,并添加相关单元测试 2026-05-12 17:44:39 +08:00
oudecheng
7238bd20d8 feat: 添加恢复中断调度任务的功能,支持从上次会话中恢复运行中的任务 2026-05-12 16:18:45 +08:00
53e069c97c feat: 更新记忆检索和写入规则,优化查询数组要求,移除冗余并行调用说明 2026-05-11 22:56:28 +08:00
456a999494 feat: 优化内存维护逻辑,移除未使用的结构体,确保响应内容包含必要标签,并清理提示词加载中的注释和空白 2026-05-11 22:43:22 +08:00
oudecheng
3db0225838 feat: 重构记忆维护逻辑,移除不再使用的字段,添加新的整理和摘要功能 2026-05-11 15:19:46 +08:00
daec690f59 feat: 更新会话配置,重命名 session_ttl_hours 为 chat_history_ttl_hours,并调整相关逻辑以支持聊天历史过期管理 2026-05-10 19:29:55 +08:00
0ea98c6e8e feat: 添加生成系统环境信息提示词功能,并在会话历史中注入该提示词 2026-05-10 14:47:22 +08:00
181740559b feat: 移除不再使用的记忆工具提示,更新默认代理配置中的记忆处理规则 2026-05-10 14:17:45 +08:00
33e6b78267 feat: 添加工具配置示例,支持工具启用/禁用功能;更新调度器管理工具描述以支持标准 cron 语法 2026-05-10 13:57:47 +08:00
5989b817b4 feat: 更新提示词来源类型,支持用户自定义和自动生成内容;添加 AGENT.md 模板文件 2026-05-10 09:37:41 +08:00
oudecheng
83b525e442 feat: 添加虚拟调度器聊天 ID 前缀,跳过不应发送到外部通道的消息 2026-05-09 17:20:02 +08:00
oudecheng
f4758f8513 feat: 添加平台抽象层,支持跨平台兼容性;更新多个模块以使用临时目录和平台特定路径 2026-05-09 16:59:58 +08:00
oudecheng
e0a7f67dab feat: 添加对 user_openclaw 技能源的支持,更新相关描述和逻辑 2026-05-09 14:38:06 +08:00
oudecheng
ba0e1c2473 feat: 添加对 project_openclaw 技能源的支持,更新相关描述和逻辑 2026-05-09 14:31:38 +08:00
4f7a8ed645 feat: 增强调度器任务更新逻辑,支持持久化运行时状态并匹配现有任务定义 2026-05-08 09:37:15 +08:00
42eb9f85d5 feat: 更新记忆工具使用说明,增加高价值场景记录要求;优化技能索引提示格式,支持 XML 标记
Co-authored-by: Copilot <copilot@github.com>
2026-05-06 17:22:01 +08:00
69364e484b feat: 添加技能禁用功能,支持批量禁用技能并更新运行时状态 2026-05-06 15:30:59 +08:00
b239083eb5 fix: 更新技能路径,修正用户和项目 Agent 级技能的目录结构 2026-05-06 14:57:41 +08:00
32690cb792 feat: 添加媒体下载功能,优化消息发送逻辑,记录发送信息 2026-05-06 14:42:46 +08:00
597881f72e feat: Implement WeChatBot SDK with error handling and message protocol
- Add WeChatBotError enum for error handling with various error types.
- Create a Result type alias for easier error management.
- Implement ILinkClient for low-level API interactions including QR code generation, message sending, and updates retrieval.
- Define message types and structures for handling incoming messages and media content.
- Add tests for error handling and message parsing to ensure reliability.

Co-authored-by: Copilot <copilot@github.com>
2026-05-06 14:18:47 +08:00
3f5ed6e4e4 feat: 移除不必要的 list_memory_scope_keys_updated_since 方法及其测试,优化代码结构 2026-05-05 19:53:55 +08:00
7c48a0f7f9 feat: 简化内存维护逻辑,移除不必要的时间戳参数,优化代码可读性 2026-05-05 19:40:07 +08:00
aa7f1d6160 feat: 重构提示源加载逻辑,支持从多个源聚合提示内容,并优化内存摘要持久化 2026-05-05 18:27:58 +08:00
495c8cdc7e feat: 添加技能匹配摘要功能,优化技能提示信息,明确技能与工具的区别
Co-authored-by: Copilot <copilot@github.com>
2026-05-02 09:38:31 +08:00
260266b90f feat: 添加会话消息发送工具,支持文本和附件的发送,优化消息发送逻辑 2026-05-02 09:15:36 +08:00
531e72d24f feat: 添加图像处理预算和估算逻辑,优化消息内容构建,支持图像媒体引用
Co-authored-by: Copilot <copilot@github.com>
2026-05-01 21:22:07 +08:00
fc5b2a359f feat: 优化响应截断逻辑,支持多字节字符边界处理,并添加相关单元测试 2026-05-01 16:07:20 +08:00
716d92a618 feat: 引入 AgentRuntimeConfig,重构相关模块以支持运行时配置
Co-authored-by: Copilot <copilot@github.com>
2026-04-30 22:34:22 +08:00
3111abf4db feat: 更新 README.md,添加消息流转图和项目架构图,优化模块描述和配置项说明
Co-authored-by: Copilot <copilot@github.com>
2026-04-28 18:29:37 +08:00
04fc2c0710 feat: 添加记忆维护的错误处理逻辑,优化传输错误的上下文信息
Co-authored-by: Copilot <copilot@github.com>
2026-04-28 18:10:23 +08:00
891830779f feat: 重构存储逻辑,使用 ConversationRepository 和 PromptInjectionRepository 替代 SessionStore,优化会话和提示注入管理
Co-authored-by: Copilot <copilot@github.com>
2026-04-28 15:55:27 +08:00
f48b132bb9 feat: 重构调度器存储逻辑,使用 SchedulerJobRepository 替代 SessionStore,添加更新调度作业运行时的方法 2026-04-28 15:40:50 +08:00
90e44950cb feat: 重构技能事件处理逻辑,移除 SkillEventSink,添加 SkillActivateTool 模块以优化技能激活流程
Co-authored-by: Copilot <copilot@github.com>
2026-04-28 15:31:56 +08:00
396504dffb Refactor agent and storage components to introduce SkillProvider and repository patterns
- Introduced `SkillProvider` trait to abstract skill-related functionalities.
- Replaced `SkillRuntime` with `EmptySkillProvider` in `AgentLoop` for default behavior.
- Updated `AgentFactory` to accept `SkillProvider` instead of `SkillRuntime`.
- Created `SessionHistory` struct to manage chat histories and interactions.
- Added `MemoryRepository`, `SchedulerJobRepository`, and `SkillEventRepository` traits for better storage abstraction.
- Refactored tools to use new repository traits for memory and scheduler management.
- Cleaned up session management logic by consolidating chat history handling into `SessionHistory`.

Co-authored-by: Copilot <copilot@github.com>
2026-04-28 15:12:45 +08:00
6756a3d0ae feat: 添加 OutboundDispatcher 模块,重构消息分发逻辑,优化渠道消息处理
Co-authored-by: Copilot <copilot@github.com>
2026-04-28 14:52:33 +08:00