Conversation
added 12 commits
March 7, 2026 18:18
重构 Agent 和 ModelManager 以移除 ExecutionEngine,将上下文管理职责集中到 ContextManager 更新相关测试用例和类型定义,确保会话状态和工具调用的一致性
将代理循环中的工具执行、轮次限制和无工具决策逻辑提取为独立模块 添加并行工具执行支持并完善测试用例 优化代码结构以提高可维护性
添加对 $ref 引用的解析支持 支持 nullable 字段和联合类型 完善 enum 和 additionalProperties 处理 添加测试用例验证功能
refactor: 将 forEach 替换为 for...of 循环以提高可读性 refactor: 优化循环控制结构以避免潜在的正则表达式状态问题 test: 更新测试用例以使用更严格的类型检查 test: 增强测试工具函数以提供更好的类型安全 ci: 添加 GitHub Actions 工作流用于持续集成
删除所有与 Spec 模式相关的代码,包括: - 移除 PermissionMode 中的 SPEC 模式 - 删除 SpecManager 和相关类型定义 - 删除所有 Spec 工具(AddTask/UpdateTaskStatus/ValidateSpec 等) - 删除 Spec 模板文件 - 移除工具注册表中的 SPEC 工具相关逻辑 - 删除工具提示格式化中的 Spec 相关部分
清理不再使用的插件系统和命令系统实现,包括相关类型定义、测试文件和导出声明 移除Session中不再支持的SlashCommand相关接口 更新ToolTypes枚举,移除SlashCommand工具类型
refactor(logging): 将日志系统从全局单例重构为可注入的实例 feat(logging): 添加日志接口和类型定义 refactor: 更新所有模块以使用新的日志系统 test: 添加日志注入的测试用例
添加 ensureInitialized 调用以确保流操作前初始化 封装 agent 和 runtime 的获取逻辑,避免重复的空检查
删除文件检查点模块及其相关代码,包括CheckpointService、类型定义、测试文件以及在会话和工具中的引用
docs: 更新文档以反映当前API边界 chore: 删除不再使用的模板文件 refactor(index): 精简导出内容,移除内部实现细节
将Bun版本从latest固定为1.2.22以确保构建稳定性 移除未使用的依赖项并将部分依赖移至optionalDependencies
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.