From b6681a505a6dc0aa1586a8f3536233e24349cf8a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 30 Jul 2026 15:28:37 +0000 Subject: [PATCH] chore(main): release blade-code 1.0.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 345 ++++++++++++++++++++++++++++++++++ package.json | 2 +- 3 files changed, 347 insertions(+), 2 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 4cff5b91..37fcefaa 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.4.2" + ".": "1.0.0" } diff --git a/CHANGELOG.md b/CHANGELOG.md index 34485572..20f1974a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,351 @@ ## ✅ 已完成功能(4/4) +## [1.0.0](https://github.com/echoVic/blade-code/compare/blade-code-v0.4.2...blade-code-v1.0.0) (2026-07-30) + + +### ⚠ BREAKING CHANGES + +* **model:** 移除 BladeConfig 中的 provider/apiKey/baseUrl/model 字段,改为 models 数组和 currentModelId +* **权限系统:** 权限规则格式变更,需要更新本地配置 + +### Features + +* **acp:** 添加 Agent Client Protocol 支持 ([d8c3c51](https://github.com/echoVic/blade-code/commit/d8c3c51f727ea5e09e0f47e1a0f578234f9bcbf8)) +* **acp:** 添加 Todo 列表更新回调并发送 ACP plan 更新 ([7f08307](https://github.com/echoVic/blade-code/commit/7f08307f75f12cca0ddd6ff69d1ed56010fcf462)) +* add /git slash command with AI-powered git operations ([ce0f284](https://github.com/echoVic/blade-code/commit/ce0f2847a20f0dc5d3c47642b5a11401093157fd)) +* add Auto Memory system for cross-session persistent knowledge ([4012898](https://github.com/echoVic/blade-code/commit/401289817d99c6096e14787c3be8618f6b060c14)) +* add task abort functionality and improve UI feedback ([81bb194](https://github.com/echoVic/blade-code/commit/81bb1947dbdf932322c3c8c63d7956307de832cb)) +* add theme command and UI theme selector with enhanced theme system ([548a1fb](https://github.com/echoVic/blade-code/commit/548a1fb4797edec1d09b385ff866feb88d31dbe6)) +* add thinking block UI and model detection, enhance chat features ([fe0c77e](https://github.com/echoVic/blade-code/commit/fe0c77ec0a545ee00d9cbe2bf355cec88052422f)) +* **agent:** 为系统提示词添加语言注入功能 ([de2fe52](https://github.com/echoVic/blade-code/commit/de2fe525b7811df2fa243608795a0591504fb189)) +* **agent:** 优化上下文压缩逻辑并分离 token 限制参数 ([0dae63f](https://github.com/echoVic/blade-code/commit/0dae63f9d0cd049caeb420f41ee87c13343fc15d)) +* **agent:** 增强任务中止处理逻辑并支持中断原因区分 ([538a058](https://github.com/echoVic/blade-code/commit/538a058e9467b7bbdd15a2b740412fb11650f50a)) +* **agent:** 实现执行循环生成器测试 ([a83ddee](https://github.com/echoVic/blade-code/commit/a83ddeeea16da73d6e01ad7105085c370d617008)) +* **agent:** 引入会话运行时管理以支持会话级资源隔离 ([5d30dac](https://github.com/echoVic/blade-code/commit/5d30daca1296304f9c5c0c5e4882816bdf18ccca)) +* **agent:** 新增TurnExecutor实现带重试机制的单轮对话执行 ([f4751b8](https://github.com/echoVic/blade-code/commit/f4751b885dfd781606927415dfd7c0cbcf5a7a3f)) +* **agent:** 流式工具安全与 fallback 事务边界 (Phase 1) ([e26212d](https://github.com/echoVic/blade-code/commit/e26212d280f9211462f3d7c1bb9a8cabf5d14b11)) +* **agent:** 添加 token 使用量和压缩状态回调功能 ([9b8568c](https://github.com/echoVic/blade-code/commit/9b8568c47acd9ffe7a80c38b23948ac009dd3103)) +* **agent:** 添加 token 预算递减收益检测功能 ([28915fa](https://github.com/echoVic/blade-code/commit/28915fa24a7bf0555666439ba120a46506b1d2d6)) +* **agent:** 添加Agent初始化、销毁及组件获取方法 ([f875ca5](https://github.com/echoVic/blade-code/commit/f875ca53401378126d8bbb4550326a6116b5dede)) +* **agent:** 添加对Claude Code配置的兼容支持 ([0d4fdce](https://github.com/echoVic/blade-code/commit/0d4fdce15cdfd8003f0cec094fed3e9294bea522)) +* **agent:** 添加对话轮次限制功能 ([88082f8](https://github.com/echoVic/blade-code/commit/88082f8094b93018a0e485d112314059ad88f07b)) +* **agent:** 添加流式工具执行器测试 ([a83ddee](https://github.com/echoVic/blade-code/commit/a83ddeeea16da73d6e01ad7105085c370d617008)) +* **agent:** 重构 agent 循环为 AsyncGenerator 模式并实现 drainLoop 工具 ([b7e6a7b](https://github.com/echoVic/blade-code/commit/b7e6a7b2983284a1b281b899916ba2f9314a4b3c)) +* **antigravity:** 添加 Gemini CLI OAuth 支持并优化用户初始化流程 ([2503a66](https://github.com/echoVic/blade-code/commit/2503a66bc9a1d3eb7793098652df6410404c721d)) +* **auth:** 添加 Antigravity 和 Copilot 的 OAuth 登录功能 ([9d74f52](https://github.com/echoVic/blade-code/commit/9d74f526a927c777a4dba6d5a130ed742aeff7dd)) +* **base64-parser:** 添加完整的 Base64 编解码工具 ([e431afb](https://github.com/echoVic/blade-code/commit/e431afba7b30849dd5ad79bd9c163ba412917c6d)) +* **benchmark:** 添加真实仓库基准测试工具和更详细的无头事件 ([d4e5ad3](https://github.com/echoVic/blade-code/commit/d4e5ad3464bc6f1ce6134282f916d6b1fc5f90bb)) +* **blade.tsx:** 添加API密钥检查及初始化逻辑 ([20d681a](https://github.com/echoVic/blade-code/commit/20d681a4de96b4ce6ee06f42b2a0c4ec24138c48)) +* **chat:** 支持 thinking 模型的 reasoning 内容处理 ([42e4cb2](https://github.com/echoVic/blade-code/commit/42e4cb2070e58c309ce762591705865a46a7bf01)) +* **chat:** 支持流式响应中的token用量统计 ([6cb5735](https://github.com/echoVic/blade-code/commit/6cb5735d635b21a50326d8da45bf7a035f9bc2f2)) +* **chat:** 添加 Blade Claude 服务支持 ([e65ce52](https://github.com/echoVic/blade-code/commit/e65ce5238dc71e8c3bff24123ee1c0733e2a5cb0)) +* **chat:** 添加模型降级和输出恢复功能 ([70c77a2](https://github.com/echoVic/blade-code/commit/70c77a2a36eb843b6727a53cba8c658ef6325310)) +* **ci:** 支持使用 GitHub CLI 一键添加 NPM Token ([cb4221e](https://github.com/echoVic/blade-code/commit/cb4221e249781d07edd1d230aefcb96bbe4ba256)) +* **ci:** 添加 NPM Token 配置助手脚本 ([d21a6f4](https://github.com/echoVic/blade-code/commit/d21a6f4842eadd3a1fc8d1eca69b846c8c8bdc84)) +* **cli:** add model override CLI option and related handling ([6b2e737](https://github.com/echoVic/blade-code/commit/6b2e737923e3b0a57b0d5c87824d2bef8cbf991d)) +* **cli:** add native openai provider support ([810ab66](https://github.com/echoVic/blade-code/commit/810ab66e3d74d72f4f413a18e7ed478a5fbe05d1)) +* **cli:** add native openai provider support ([523633b](https://github.com/echoVic/blade-code/commit/523633b5d6d6ec08751ef68f3627538274deb4a6)) +* **cli:** add native openai provider support ([5cd1734](https://github.com/echoVic/blade-code/commit/5cd1734eee48f5d77b2da5910f30d23de37fc2ca)) +* **cli:** add session runtime reuse and headless runner ([ea2ad74](https://github.com/echoVic/blade-code/commit/ea2ad743072dde6867a06459ce2dcbdbf654fb3c)) +* **cli:** 为headless和print命令添加会话恢复功能 ([9750322](https://github.com/echoVic/blade-code/commit/975032257773b4f3cc4eb28e41d8df6163cb3abd)) +* **cli:** 优化构建配置和错误处理逻辑 ([bb5b8dc](https://github.com/echoVic/blade-code/commit/bb5b8dcf311de7ac980cbcbd20fa2130c1e3e8be)) +* **cli:** 实现交互式命令行界面和统一命令执行入口 ([a9bdfde](https://github.com/echoVic/blade-code/commit/a9bdfde3529e126f70ee3759de7299d6a4308204)) +* **cli:** 实现新的CLI UI组件和命令系统 ([819e5f5](https://github.com/echoVic/blade-code/commit/819e5f54e3ea74dff484f23db750a5bf5b6f1439)) +* **cli:** 支持 Markdown 引用块渲染并改进表格显示 ([150a48f](https://github.com/echoVic/blade-code/commit/150a48f6771c734fbd68e84d3521511cae074e66)) +* **cli:** 支持逗号分隔的工具列表参数 ([db1318e](https://github.com/echoVic/blade-code/commit/db1318ede8bb1d51e206ef645a968e76288e4d58)) +* **cli:** 添加无头模式支持并实现结构化事件流输出 ([bd7089e](https://github.com/echoVic/blade-code/commit/bd7089e0ca4d6c81ca00efb1fc49f88a71768c5d)) +* **cli:** 重构CLI界面并添加新组件 ([994fd4a](https://github.com/echoVic/blade-code/commit/994fd4a0897ee5cb9dab691c2c8934352add1f05)) +* **commands:** 添加 IDE 连接和管理命令 ([f55c43b](https://github.com/echoVic/blade-code/commit/f55c43b3b2cd9f8dc341d994b646eda6099e89df)) +* **command:** 添加待处理命令队列功能 ([adac3a4](https://github.com/echoVic/blade-code/commit/adac3a4690e40352cf1282d71641f7b2f5c8e7f6)) +* **components:** 优化MessageArea流式渲染性能 ([ea391df](https://github.com/echoVic/blade-code/commit/ea391df2417591f641a2b2df6d6d3e0a0e2587e8)) +* **ConfigService:** 统一LLM配置参数到auth下 ([20d681a](https://github.com/echoVic/blade-code/commit/20d681a4de96b4ce6ee06f42b2a0c4ec24138c48)) +* **config:** 扩展 MCP 配置类型 ([e528ada](https://github.com/echoVic/blade-code/commit/e528adaff9b54426d4e428260eb5b2a21d2784f9)) +* **config:** 扩展默认配置支持多语言和主题设置 ([de2fe52](https://github.com/echoVic/blade-code/commit/de2fe525b7811df2fa243608795a0591504fb189)) +* **config:** 更新SECURITY.md和安全报告流程 ([8953e6b](https://github.com/echoVic/blade-code/commit/8953e6ba76cac301e7f3b1535cf9412c36654064)) +* **context:** 实现工具结果预算测试 ([a83ddee](https://github.com/echoVic/blade-code/commit/a83ddeeea16da73d6e01ad7105085c370d617008)) +* **context:** 新增响应式压缩测试 ([a83ddee](https://github.com/echoVic/blade-code/commit/a83ddeeea16da73d6e01ad7105085c370d617008)) +* **context:** 添加令牌预算测试 ([a83ddee](https://github.com/echoVic/blade-code/commit/a83ddeeea16da73d6e01ad7105085c370d617008)) +* **core:** 添加新类型定义和工具函数 ([cd3796d](https://github.com/echoVic/blade-code/commit/cd3796d00bdf28b65fec5a49d69b06f6049c55c2)) +* **core:** 添加核心工具系统模块和类型定义 ([819e5f5](https://github.com/echoVic/blade-code/commit/819e5f54e3ea74dff484f23db750a5bf5b6f1439)) +* **docs:** 重构文档结构并添加新内容 ([9cdad07](https://github.com/echoVic/blade-code/commit/9cdad079045221c1c342f463e2ef72ea30205de5)) +* **edit:** 增强智能匹配功能并添加编辑纠错工具 ([b872df8](https://github.com/echoVic/blade-code/commit/b872df84dedbcdfa23d8a92f0e457e7dc44fd1d1)) +* **edit:** 添加富文本错误信息和模糊匹配功能 ([d31f260](https://github.com/echoVic/blade-code/commit/d31f260d8ba5f131b44e79c45a52e6665bc0d772)) +* **execution:** 为工具操作添加预览功能 ([4f9870b](https://github.com/echoVic/blade-code/commit/4f9870ba7e1b1e8f28607e27d69a2eab8face53b)) +* **execution:** 添加并发调度器实现工具调用分桶限流 ([0af1b62](https://github.com/echoVic/blade-code/commit/0af1b624168fe80010635d4fd2c31d5ac19b54a0)) +* **github:** 添加ISSUE_TEMPLATE和PULL_REQUEST_TEMPLATE,完善社区贡献流程 ([8953e6b](https://github.com/echoVic/blade-code/commit/8953e6ba76cac301e7f3b1535cf9412c36654064)) +* **git:** 添加 pre-commit 命令用于 AI 生成 commit message ([2cea2a9](https://github.com/echoVic/blade-code/commit/2cea2a92ba680d03a1de4142921dfe03238bb547)) +* **graceful-shutdown:** 实现优雅退出机制 ([8c0903c](https://github.com/echoVic/blade-code/commit/8c0903c58c076123e692dc76cb87c77ad5b7c8f9)) +* **grep:** 实现四级智能降级策略并重构搜索工具 ([cc8a33a](https://github.com/echoVic/blade-code/commit/cc8a33a9643612c6bf9814a254862b3b52d36b1e)) +* **hooks:** 为useConfirmation添加确认对话框队列功能 ([91627d2](https://github.com/echoVic/blade-code/commit/91627d24f7bfdfb061eed83056517c10af607c98)) +* **hooks:** 实现完整的 Hook 系统 ([3dd6080](https://github.com/echoVic/blade-code/commit/3dd6080b4fcfcd978c443ae7deb24cdb9f058065)) +* **hooks:** 实现完整的钩子系统与Claude对齐 ([185c814](https://github.com/echoVic/blade-code/commit/185c814c0446f94aea6fa1d0a8f171e48e72fac5)) +* **hooks:** 新增 Function 和 HTTP Hook 支持 ([5281f6f](https://github.com/echoVic/blade-code/commit/5281f6ffe165b4c17c1774e1f16bbd5de49511e7)) +* **hooks:** 添加useAgent钩子管理Agent生命周期 ([a3bd8f2](https://github.com/echoVic/blade-code/commit/a3bd8f2a92d7f535645de8cee136bc39e26d15b2)) +* improve spec mode ([eecb0b1](https://github.com/echoVic/blade-code/commit/eecb0b1b67284a360c6ff27b81270484ae97ec7f)) +* **logging:** 改进日志系统以支持会话隔离和优雅关闭 ([a319da3](https://github.com/echoVic/blade-code/commit/a319da30949419ea7df917640c50b91b7da40ea3)) +* **loop:** 添加模型降级处理逻辑 ([6d5407d](https://github.com/echoVic/blade-code/commit/6d5407d2b966d103ede9cc40a74d3194eb015323)) +* **loop:** 确保恢复分支消息的持久化和正确顺序 ([07276fa](https://github.com/echoVic/blade-code/commit/07276fa2219eb2e102fbc4f2478e2cf1a776c3b1)) +* **markdown:** 实现完整的 Markdown 渲染系统 ([5d0fe13](https://github.com/echoVic/blade-code/commit/5d0fe13a546a3848ee758f9fa1e921a8ade3682c)) +* **mcp:** 添加 MCP 服务器状态查看功能 ([b83a05e](https://github.com/echoVic/blade-code/commit/b83a05ec7e847f452a93d03f82b8dbcd01df4eca)) +* **mcp:** 重构 MCP 配置管理并支持全局配置 ([3f00ff3](https://github.com/echoVic/blade-code/commit/3f00ff306bbdb281cd59830cf4e706ce47c37e40)) +* **mcp:** 重构MCP协议实现并添加工具集成支持 ([782c966](https://github.com/echoVic/blade-code/commit/782c9661dcd321acb0d069654c6834f18fb33964)) +* **mcp:** 重构MCP模块并添加OAuth认证支持 ([c793f82](https://github.com/echoVic/blade-code/commit/c793f82088630006f663b03445049c4e79ed9223)) +* **memory:** add /memory edit command with $EDITOR support ([75dbfe7](https://github.com/echoVic/blade-code/commit/75dbfe75d1c32158430ae512c17e0f74143f97c0)) +* **MessageRenderer:** 添加对 <command-message> 标签的支持 ([86b4cd4](https://github.com/echoVic/blade-code/commit/86b4cd4bd24e97a95b5847ac0a8e4e7022582b59)) +* **model-config:** 添加模型配置向导组件及支持自定义HTTP头 ([2dd1f1a](https://github.com/echoVic/blade-code/commit/2dd1f1a9d52e49b5f1e7776083402d896c1a8c05)) +* **model-config:** 重构配置向导流程并改进用户提示 ([700ff07](https://github.com/echoVic/blade-code/commit/700ff073282dac3001cbf802d0b013386dd50106)) +* **model:** 实现多模型配置管理和切换功能 ([793805b](https://github.com/echoVic/blade-code/commit/793805bb025486efa6c00fc9d8f148dc2e179605)) +* **model:** 支持单次对话指定模型功能 ([80e80c5](https://github.com/echoVic/blade-code/commit/80e80c55c2ec9eed289fa8f89fcaf6edaf91b880)) +* **model:** 添加模型编辑功能并优化选择器界面 ([2b27dda](https://github.com/echoVic/blade-code/commit/2b27dda3e36a9f2c9f5c05dfb6172f23022259ef)) +* **permissions:** 实现权限管理系统增强功能 ([bc949bf](https://github.com/echoVic/blade-code/commit/bc949bf4216136ee0cb6caae27a7c68e8fe8d042)) +* **permission:** 增强Bash命令权限检查的语义分析和规范化 ([56d703a](https://github.com/echoVic/blade-code/commit/56d703afcba25b21a7219e3066b7d65160a77f76)) +* **plan-mode:** 实现 Plan 模式功能及退出工具 ([fc82532](https://github.com/echoVic/blade-code/commit/fc82532b5eb900dc40f456197c14fba142355caa)) +* **plan:** 增强计划模式功能 ([647e956](https://github.com/echoVic/blade-code/commit/647e956644a80f84e90ab3fc45130cdcf66fca23)) +* **plugins:** 实现插件系统核心功能 ([4d084d5](https://github.com/echoVic/blade-code/commit/4d084d50d0ac0089f67dbd3cd9ecfcbb7369215e)) +* **prompts:** 重构系统提示构建顺序并模块化默认提示 ([7711103](https://github.com/echoVic/blade-code/commit/77111038af427b7dfa137dff12446edb7a7023bf)) +* **scripts:** 支持同步 changelog 到外部 blade-doc 仓库 ([1b969cd](https://github.com/echoVic/blade-code/commit/1b969cddc2a6a003a84e7b5de24bf9ca803e41ae)) +* **security:** 增强权限系统安全检测能力 ([67ebd21](https://github.com/echoVic/blade-code/commit/67ebd217f56b09af795f4d7cf89997105f84b627)) +* **server:** 新增Blade服务器核心功能及API路由 ([52e3db3](https://github.com/echoVic/blade-code/commit/52e3db31a62a49bd29820278e8e10090496c73d4)) +* **server:** 新增MCP和Skills API路由 ([de2fe52](https://github.com/echoVic/blade-code/commit/de2fe525b7811df2fa243608795a0591504fb189)) +* **services:** 添加Vercel AI聊天服务测试 ([a83ddee](https://github.com/echoVic/blade-code/commit/a83ddeeea16da73d6e01ad7105085c370d617008)) +* **SessionSelector:** 添加会话选择器的分页功能 ([d15c739](https://github.com/echoVic/blade-code/commit/d15c739610c3c5e3de8333bd32085229e016d93c)) +* **shell:** 实现智能输出截断工具 ([ca8b506](https://github.com/echoVic/blade-code/commit/ca8b506b14d46bc733dcee16c0e48b7682adcf2e)) +* **shutdown:** 实现双击 SIGINT 退出功能 ([db1318e](https://github.com/echoVic/blade-code/commit/db1318ede8bb1d51e206ef645a968e76288e4d58)) +* **skills:** 实现完整的技能管理系统 ([8cecfb9](https://github.com/echoVic/blade-code/commit/8cecfb9498cd51d9d1234d02a360453eb6153ab2)) +* **skills:** 新增 SkillInstaller 用于首次启动时自动下载官方技能 ([86b4cd4](https://github.com/echoVic/blade-code/commit/86b4cd4bd24e97a95b5847ac0a8e4e7022582b59)) +* **skills:** 添加 Skills 系统支持动态 Prompt 扩展和工具限制 ([9094378](https://github.com/echoVic/blade-code/commit/909437859a41a527433bd76b8a2cc593ad752e69)) +* **slash-commands:** 新增/agents命令支持Subagents管理 ([a3bd8f2](https://github.com/echoVic/blade-code/commit/a3bd8f2a92d7f535645de8cee136bc39e26d15b2)) +* **spec:** 优化 Spec 模式工作流和状态管理 ([3ce48f7](https://github.com/echoVic/blade-code/commit/3ce48f7bfcc005b0d2ff24ffce28e6eefdbf9c08)) +* **spec:** 实现规格驱动开发模式的核心功能 ([94707a2](https://github.com/echoVic/blade-code/commit/94707a2ec748f5a96636fe8606f8b9e0c1eeb985)) +* **store:** 添加 JsonValue 等 JSON 相关类型定义 ([0533fdc](https://github.com/echoVic/blade-code/commit/0533fdca08cf5b0de4c28e0b7cc6eab4314dc63c)) +* **store:** 添加 Zustand store 及相关 slices ([e528ada](https://github.com/echoVic/blade-code/commit/e528adaff9b54426d4e428260eb5b2a21d2784f9)) +* **store:** 添加 Zustand store 实现及防御性初始化检查 ([26f2cbf](https://github.com/echoVic/blade-code/commit/26f2cbf013004e8a605921be1b34d49c2db06dff)) +* **store:** 添加原子操作 addAssistantMessageAndClearThinking 避免闪烁 ([23a815b](https://github.com/echoVic/blade-code/commit/23a815bc4db4e4e3946157f2bf352cf1a68768a0)) +* **streaming:** 添加消息流缓冲机制优化高频事件处理 ([7fe7f95](https://github.com/echoVic/blade-code/commit/7fe7f95a337ab004aed35e983f0a7dc81da47c34)) +* **subagents:** 重构并实现新的 subagent 系统 ([79f55e2](https://github.com/echoVic/blade-code/commit/79f55e281df479fcd7199e74a9cdb9c06f108620)) +* **subagent:** 添加子任务执行进度显示功能 ([a3254c3](https://github.com/echoVic/blade-code/commit/a3254c314bcb68d22e5da1780ffd004877ef6df1)) +* **system-prompt:** 实现系统提示功能并集成到聊天服务 ([15a8d56](https://github.com/echoVic/blade-code/commit/15a8d56afd7e2fa079a823f14be8591aaad6ef64)) +* **system:** 添加 AskUserQuestion 工具支持 ([60082fe](https://github.com/echoVic/blade-code/commit/60082fe28e2064f233045b90c1a79608830dbfe4)) +* **team:** 新增 Agent Team 协作功能 ([08dceef](https://github.com/echoVic/blade-code/commit/08dceeff794fb4ecc6f6b61c442d916296cab144)) +* **terminal:** 支持Node.js环境的终端WebSocket连接 ([ff2cde1](https://github.com/echoVic/blade-code/commit/ff2cde1c18d7ce4c3efc6124107bc594ac57560e)) +* **terminal:** 添加bun-pty类型定义并修复pty调用 ([ae75567](https://github.com/echoVic/blade-code/commit/ae75567a99dd20abcb40e34e236dbc180b1feffd)) +* **terminal:** 添加终端resize时的Static组件刷新功能 ([bc3b98f](https://github.com/echoVic/blade-code/commit/bc3b98f2e73fea5001518cd3a637285b6ab9465c)) +* **tests:** 新增多个单元测试文件覆盖核心功能 ([114612a](https://github.com/echoVic/blade-code/commit/114612aa31c8000b518908b3f7a278f9344b93f3)) +* **tests:** 添加全面的单元测试、集成测试和端到端测试 ([4e7ce95](https://github.com/echoVic/blade-code/commit/4e7ce9517d4418932c3aaaeee43d6948fdbbea2e)) +* **test:** 添加测试脚本和配置管理工具 ([0349eba](https://github.com/echoVic/blade-code/commit/0349eba0a8d0ccca699acf5c0dbfe552c8b19965)) +* **todo:** 修改todo文件命名格式并支持上下文sessionId ([93bf54f](https://github.com/echoVic/blade-code/commit/93bf54f6bac6ccfa204d509d4e43d1eebda0cb91)) +* **tools:** 为TaskTool添加子Agent工厂支持递归任务 ([f4751b8](https://github.com/echoVic/blade-code/commit/f4751b885dfd781606927415dfd7c0cbcf5a7a3f)) +* **tools:** 增强文件操作工具的提示信息 ([de2fe52](https://github.com/echoVic/blade-code/commit/de2fe525b7811df2fa243608795a0591504fb189)) +* **tools:** 实现文件操作和搜索工具集 ([7a4bde6](https://github.com/echoVic/blade-code/commit/7a4bde6bbb989dce81e80e98db82123cd2d6c0a4)) +* **tools:** 新增shell、web和task工具模块 ([6ea8982](https://github.com/echoVic/blade-code/commit/6ea898202817f837d118ae230c44df81dcf7e510)) +* **tools:** 添加 TeamCreate, TeamStatus 和 TeamDelete 到预加载工具集 ([bfe79ac](https://github.com/echoVic/blade-code/commit/bfe79ac90c13ed8f2cfb0ac2dcd93301a522cd8f)) +* **tools:** 重构工具系统使用 Zod Schema 并简化 API ([a533ebe](https://github.com/echoVic/blade-code/commit/a533ebe92f10a25edb54b917aaca6e04cc2ad308)) +* **tools:** 重构工具系统并添加工具调用支持 ([ffec1b9](https://github.com/echoVic/blade-code/commit/ffec1b9c0af9daf16b218d512bb9290f7af338e0)) +* **tools:** 重构工具系统架构并实现核心功能 ([665862b](https://github.com/echoVic/blade-code/commit/665862b33fbaf2b23fa0896d24fef1b79ce7f97c)) +* **ui:** 优化加载指示器和代码高亮组件 ([ae3ce21](https://github.com/echoVic/blade-code/commit/ae3ce218ed2b525b1e12182c98ae9dd75d5ff45a)) +* **ui:** 优化输入框禁用状态和确认提示样式 ([4f9870b](https://github.com/echoVic/blade-code/commit/4f9870ba7e1b1e8f28607e27d69a2eab8face53b)) +* **ui:** 实现AgentsManager组件用于管理Subagents ([a3bd8f2](https://github.com/echoVic/blade-code/commit/a3bd8f2a92d7f535645de8cee136bc39e26d15b2)) +* **ui:** 实现Markdown渲染功能并添加语法高亮支持 ([4d8b75e](https://github.com/echoVic/blade-code/commit/4d8b75e2e85abddc0683457a041fbc4d9ad22c27)) +* **ui:** 实现两层焦点管理系统并重构向导组件 ([b19b371](https://github.com/echoVic/blade-code/commit/b19b371d7ff7d5d27c2c8f03fe00c2ddb1a44e7f)) +* **ui:** 实现双击 Ctrl+C 退出提示及状态管理 ([26f2cbf](https://github.com/echoVic/blade-code/commit/26f2cbf013004e8a605921be1b34d49c2db06dff)) +* **ui:** 实现流式工具执行显示功能 ([d75f7b6](https://github.com/echoVic/blade-code/commit/d75f7b6561b38e99a9b4436e253b07aac7fb3659)) +* **ui:** 改进代码块和确认提示的显示效果 ([deabaee](https://github.com/echoVic/blade-code/commit/deabaeec987ed5e3c62574b6d659134bb4648c8a)) +* **ui:** 添加UI组件库和主题配置 ([2506a02](https://github.com/echoVic/blade-code/commit/2506a024d77dcc96b1e3f1ee122225013667cf5e)) +* **ui:** 添加主输入框处理hook实现键盘交互和命令建议 ([3c66e3b](https://github.com/echoVic/blade-code/commit/3c66e3b61eff4a3724e0c456208b2dcc8cbd5d52)) +* **ui:** 添加主题系统支持,包含13种内置主题和自定义主题功能 ([c387c67](https://github.com/echoVic/blade-code/commit/c387c67733eb95f0cfee88ca13f94187dcc4d866)) +* **ui:** 添加任务中断提示和内容保留逻辑 ([db1318e](https://github.com/echoVic/blade-code/commit/db1318ede8bb1d51e206ef645a968e76288e4d58)) +* **ui:** 添加基于 Ink 的终端 UI 组件库 ([54d88cf](https://github.com/echoVic/blade-code/commit/54d88cf38e1ed9de82ffddb98c587b684099c7d1)) +* **UI:** 添加子会话引用卡片展示与导航 ([6b7f4c9](https://github.com/echoVic/blade-code/commit/6b7f4c9c801ac7b16bc2fbd1d0b52b2c3bc98b7d)) +* **ui:** 添加快捷键帮助功能并重构模态框管理 ([d0e8867](https://github.com/echoVic/blade-code/commit/d0e8867f006f68a26eb5a6c4f6cd3eaeb9eb23f2)) +* **UI:** 添加文件预览开关控制 ([d5b5b67](https://github.com/echoVic/blade-code/commit/d5b5b67bf6dda398f57ab32e5bad94a2bb1520af)) +* **ui:** 重命名界面组件并添加API密钥状态显示 ([941a6ea](https://github.com/echoVic/blade-code/commit/941a6ea31dc683f1de568721a5bfd17220de6158)) +* **ui:** 重构加载指示器组件并添加幽默短语循环 ([d6f2bf9](https://github.com/echoVic/blade-code/commit/d6f2bf9e1aa3cf062fbf48481dbf840891844b67)) +* **utils:** 新增file-patterns模块实现文件过滤功能 ([f4751b8](https://github.com/echoVic/blade-code/commit/f4751b885dfd781606927415dfd7c0cbcf5a7a3f)) +* **utils:** 新增Markdown增量解析缓存机制 ([ea391df](https://github.com/echoVic/blade-code/commit/ea391df2417591f641a2b2df6d6d3e0a0e2587e8)) +* **version:** 添加交互式版本更新提示组件 ([8f879f7](https://github.com/echoVic/blade-code/commit/8f879f70404a7288d89717895c087f193b2f1dbd)) +* **volcengine:** 更新默认模型并完善 setCurrentProvider 方法 ([40efb28](https://github.com/echoVic/blade-code/commit/40efb28d1eac87bd0cae13131117f25dad933de7)) +* **vscode-extension:** 添加 VS Code 扩展基础功能 ([f55c43b](https://github.com/echoVic/blade-code/commit/f55c43b3b2cd9f8dc341d994b646eda6099e89df)) +* **web:** enhance WebSearch tool with multi-provider fallback ([f1f61e2](https://github.com/echoVic/blade-code/commit/f1f61e2be0d24af8c1a1c1e44fdcc26070c4ce82)) +* **web:** 实现暗黑/亮色主题切换功能 ([de2fe52](https://github.com/echoVic/blade-code/commit/de2fe525b7811df2fa243608795a0591504fb189)) +* **web:** 添加代码块高亮组件和性能测试 ([14d1977](https://github.com/echoVic/blade-code/commit/14d19777c10844f5d82429d532fca86d0d3d30d5)) +* **web:** 添加完整的Web UI界面 ([55540e5](https://github.com/echoVic/blade-code/commit/55540e5a89038db47b054f360d607646ee1753f1)) +* **web:** 添加搜索缓存和输出截断功能 ([ca8b506](https://github.com/echoVic/blade-code/commit/ca8b506b14d46bc733dcee16c0e48b7682adcf2e)) +* **web:** 添加终端功能及UI改进 ([37831e3](https://github.com/echoVic/blade-code/commit/37831e3637e6caa2a9694e6823025ef1bb2cde25)) +* **web:** 集成Jina Reader内容提取功能 ([ca8b506](https://github.com/echoVic/blade-code/commit/ca8b506b14d46bc733dcee16c0e48b7682adcf2e)) +* **上下文:** 实现上下文压缩系统 ([8501ddc](https://github.com/echoVic/blade-code/commit/8501ddc914e7f8d38a7e7a65844c7c0c3f6a312d)) +* **上下文管理:** 添加上下文压缩和工具结果预算功能 ([4024f51](https://github.com/echoVic/blade-code/commit/4024f5146bf977e6ae228d07b88f2138bb669e5e)) +* 优化孤儿 tool 消息过滤逻辑并添加测试 ([08ee508](https://github.com/echoVic/blade-code/commit/08ee5080c3ea9e00b9520b32beb058130e5e684d)) +* **会话:** 实现临时会话功能并增强侧边栏 ([4c598e9](https://github.com/echoVic/blade-code/commit/4c598e9776e546c48b3e56617a8e1de81e8af6c2)) +* **会话:** 实现交互式会话恢复功能 ([c6de1b1](https://github.com/echoVic/blade-code/commit/c6de1b1f5331dd6d8fc4fd59fe292c478729b01a)) +* **会话恢复:** 实现会话恢复时保留原始上下文消息 ([d80631f](https://github.com/echoVic/blade-code/commit/d80631f1ed17c065904fd37afe9bb7b60726db7e)) +* **会话:** 添加会话恢复功能及相关组件 ([0524c7e](https://github.com/echoVic/blade-code/commit/0524c7ecd9a7d830b440a02da790b31f75e89753)) +* **会话:** 添加稳定的工具调用和子代理ID生成功能 ([0ae38b7](https://github.com/echoVic/blade-code/commit/0ae38b79f2b5eba4f13dda9309f95ed236a38719)) +* **内置模型:** 更新智谱 API 代理服务地址并实现密钥获取逻辑 ([176a4ad](https://github.com/echoVic/blade-code/commit/176a4ad8ae79d665f1d2a27038cf73305a638380)) +* **发布脚本:** 添加同步远程 tags 功能确保 changelog 生成正确 ([8eb208f](https://github.com/echoVic/blade-code/commit/8eb208f623651a902f1594ea2ca71ac6778fafe9)) +* 增强Agent架构,添加新组件及功能 ([e723949](https://github.com/echoVic/blade-code/commit/e7239490d720a6a7e18b4b3c1ec2c42060ca984e)) +* 增强模型配置和版本自动升级功能 ([3b9ff42](https://github.com/echoVic/blade-code/commit/3b9ff42f201ffc5fe2f6883ed69934c82cc48d14)) +* **多模态支持:** 添加图片粘贴和多模态消息处理功能 ([057a6f0](https://github.com/echoVic/blade-code/commit/057a6f07101ff4931e056de3c0c8c5828900a99f)) +* **子代理:** 添加子代理会话ID支持并优化相关功能 ([c39a083](https://github.com/echoVic/blade-code/commit/c39a083714dc4b148da1180353629f927249613a)) +* **子任务:** 增强子任务执行状态展示和交互 ([f725f00](https://github.com/echoVic/blade-code/commit/f725f00bf3d7134789b1d9fb2a2f0c894f6c53c2)) +* **存储:** 引入新的JSONL事件schema支持会话、消息、部件分离 ([6b7f4c9](https://github.com/echoVic/blade-code/commit/6b7f4c9c801ac7b16bc2fbd1d0b52b2c3bc98b7d)) +* 实现 agentic loop 核心功能 ([89e3037](https://github.com/echoVic/blade-code/commit/89e3037106b6e2824097242c1b84949999bde48c)) +* 实现子代理系统及任务工具改进 ([b67f966](https://github.com/echoVic/blade-code/commit/b67f96661bd637657a53cfa70b252994719006a4)) +* 实现智能文件提及功能(@提及) ([b9eca15](https://github.com/echoVic/blade-code/commit/b9eca156d287bb66198569193811a1c8c51a6530)) +* 实现核心架构重构和功能扩展 ([6af3630](https://github.com/echoVic/blade-code/commit/6af3630bf149b10d2002070768e602adcb3a15e6)) +* 实现流式消息处理与性能优化 ([1d01dd8](https://github.com/echoVic/blade-code/commit/1d01dd8af9f889ecbd8ac5ab69392e1b4332bcc7)) +* 实现深度合并策略和Zod验证器 ([a9ce7c6](https://github.com/echoVic/blade-code/commit/a9ce7c60dfb39856bfa5c7f93a4b15318b2ab15d)) +* 实现渐进式工具披露、自动验证传感器和内置验证Agent ([618ecae](https://github.com/echoVic/blade-code/commit/618ecae6ff2f00b3c0b4e054fee290094c5486b7)) +* 实现用户确认流程集成与权限系统增强 ([17d0325](https://github.com/echoVic/blade-code/commit/17d03251270908d600fcb1543f7cfa7c2a085d3c)) +* 实现统一错误处理系统和重构工具包 ([a9ce7c6](https://github.com/echoVic/blade-code/commit/a9ce7c60dfb39856bfa5c7f93a4b15318b2ab15d)) +* 实现聊天会话管理和消息流式处理功能 ([9b2682c](https://github.com/echoVic/blade-code/commit/9b2682ce139f340b9ac19856ab50494a62c67015)) +* 实现首次使用设置向导和多提供商支持 ([fa3a699](https://github.com/echoVic/blade-code/commit/fa3a699e57b755177092753a7ea53625910d87c7)) +* 实现高优先级和中优先级功能 ([047486c](https://github.com/echoVic/blade-code/commit/047486ceb58cd5f8c9aef84dea85ea3c8b3ac34c)) +* 将代码中的中文提示信息翻译为英文 ([6871bdb](https://github.com/echoVic/blade-code/commit/6871bdbcb79e1e9e513d4963f22b28b0c68e93c2)) +* **工具:** 改造Task工具为子会话创建器 ([6b7f4c9](https://github.com/echoVic/blade-code/commit/6b7f4c9c801ac7b16bc2fbd1d0b52b2c3bc98b7d)) +* **工具消息:** 添加工具消息支持并增强文件写入预览功能 ([84471e7](https://github.com/echoVic/blade-code/commit/84471e7497baab009dae40a46ecdebc8d4717a28)) +* **工具调用:** 添加工具元数据支持 ([d5b5b67](https://github.com/echoVic/blade-code/commit/d5b5b67bf6dda398f57ab32e5bad94a2bb1520af)) +* 引入统一的 CWD 管理系统 ([4b779c6](https://github.com/echoVic/blade-code/commit/4b779c6110c7f1886b959cf8def90a5acf47e214)) +* **循环检测:** 实现三层渐进式循环检测机制 ([bca9855](https://github.com/echoVic/blade-code/commit/bca98556a3e8b68f3a9f7e32e8bfade9af899730)) +* **循环检测:** 改进循环检测机制和警告提示 ([2e98858](https://github.com/echoVic/blade-code/commit/2e988588c8f8c4302556b03493c723e6462e47ea)) +* 支持多模态图像输入功能 ([fecd446](https://github.com/echoVic/blade-code/commit/fecd4468bb77356846a774a1948f1257b394babf)) +* **文件处理:** 支持 glob 模式匹配和目录树展示 ([447bfdf](https://github.com/echoVic/blade-code/commit/447bfdf0b0037da85198bf19cc6e928b52782239)) +* **文件工具:** 增强文件修改检测并记录操作类型 ([45f5dba](https://github.com/echoVic/blade-code/commit/45f5dba4b86334ad41b6be2fed4227c459d86604)) +* **文件编辑:** 完成文本编辑器三阶段增强 ([f3f6c90](https://github.com/echoVic/blade-code/commit/f3f6c90a8eb2fd39f4ca525ae13307ac0e186662)) +* **文件预览:** 支持展示所有变更文件并允许展开/折叠差异 ([a96ac69](https://github.com/echoVic/blade-code/commit/a96ac69829d04108c6cd149b5e8707b805456f04)) +* **斜杠命令:** 添加/resume命令实现会话恢复 ([0524c7e](https://github.com/echoVic/blade-code/commit/0524c7ecd9a7d830b440a02da790b31f75e89753)) +* 新增多模态消息处理、错误分类、流式缓冲和slash命令路由功能 ([9de54d5](https://github.com/echoVic/blade-code/commit/9de54d56392a0dfe51948fc06e525981777bafce)) +* **日志:** 支持按session分文件记录日志 ([d5b5b67](https://github.com/echoVic/blade-code/commit/d5b5b67bf6dda398f57ab32e5bad94a2bb1520af)) +* 更新 UI 组件样式和提示文本 ([d58cdc6](https://github.com/echoVic/blade-code/commit/d58cdc6c0291247fc229223133e02a602d93dc51)) +* 更新文档结构和内容,优化用户指南和功能说明 ([8953e6b](https://github.com/echoVic/blade-code/commit/8953e6ba76cac301e7f3b1535cf9412c36654064)) +* **权限:** 添加 Memory 工具类型并优化权限检查流程 ([1a08bec](https://github.com/echoVic/blade-code/commit/1a08becc308664661c7f5342984e65b5bb0eccc2)) +* **权限系统:** 重构为分布式设计并实现三大优化 ([254f0ca](https://github.com/echoVic/blade-code/commit/254f0ca61a143d19bbe7cbffb40b3d9f8a9386d8)) +* **消息区域:** 优化消息折叠策略并重构渲染逻辑 ([cae1263](https://github.com/echoVic/blade-code/commit/cae126335c5fc8eaedde4c65bb71d53e5ca8ef93)) +* **消息历史:** 添加历史消息折叠功能及快捷键支持 ([ea70721](https://github.com/echoVic/blade-code/commit/ea7072115c484d160480a743dc1d6f043a3ef788)) +* **消息:** 添加权限模式支持并优化侧边栏样式 ([5b83127](https://github.com/echoVic/blade-code/commit/5b831279186fed7f7613e37bf6a67980fe55965c)) +* 添加 Blade 命令和技能文档文件 ([108c121](https://github.com/echoVic/blade-code/commit/108c121c2910e1d7f199d0050057e485ecb81f52)) +* 添加 GPT OpenAI Platform 支持及清屏功能 ([98a105f](https://github.com/echoVic/blade-code/commit/98a105f0b2ac40f2360b75785650919c7ff5173c)) +* 添加 Ink UI 组件库集成和现代化界面改进 ([041b927](https://github.com/echoVic/blade-code/commit/041b9277243caa9be6d97460cbd9d8c833e00048)) +* 添加 TODO 管理工具并规范文件命名 ([315ea7e](https://github.com/echoVic/blade-code/commit/315ea7e1cb34960905ee7d61548ecf1ea406bf2d)) +* 添加CLAUDE.md文档并删除过时的CHANGELOG.md ([d964f47](https://github.com/echoVic/blade-code/commit/d964f4774d08af11d5b58f8eb4b2f1b6a081cd3a)) +* 添加JSON配置加载器和持久化器实现 ([a9ce7c6](https://github.com/echoVic/blade-code/commit/a9ce7c60dfb39856bfa5c7f93a4b15318b2ab15d)) +* 添加Subagents系统及相关文档 ([a3bd8f2](https://github.com/echoVic/blade-code/commit/a3bd8f2a92d7f535645de8cee136bc39e26d15b2)) +* 添加内置免费模型 GLM-4.7 及相关支持功能 ([6295748](https://github.com/echoVic/blade-code/commit/6295748f843cc8f76abfd8d487aab23747cdaae1)) +* 添加后台命令管理和网络搜索功能 ([f4d6b11](https://github.com/echoVic/blade-code/commit/f4d6b11cf0346f408ec905d63e6699d5d7589f1e)) +* 添加多语言支持并优化UI主题配置 ([de2fe52](https://github.com/echoVic/blade-code/commit/de2fe525b7811df2fa243608795a0591504fb189)) +* 添加对Anthropic、Gemini和Azure OpenAI的支持 ([0550a04](https://github.com/echoVic/blade-code/commit/0550a04f1e6a58a099fbf8fe4e0c4d04e14c9707)) +* 添加工具黑名单支持并优化会话处理 ([9750322](https://github.com/echoVic/blade-code/commit/975032257773b4f3cc4eb28e41d8df6163cb3abd)) +* 添加新Agent架构及相关组件 ([b661634](https://github.com/echoVic/blade-code/commit/b6616348413d92741d598ba0204032074b349365)) +* 添加模型管理和会话功能 ([c85cff9](https://github.com/echoVic/blade-code/commit/c85cff9eaa2a8afa3befff9f3eead955891c59a2)) +* 添加自定义 Slash Commands 系统 ([f9c1334](https://github.com/echoVic/blade-code/commit/f9c13342248bf33e8040585da46970ecb2850309)) +* **版本检查:** 添加启动时自动检查版本更新功能 ([d2408ff](https://github.com/echoVic/blade-code/commit/d2408fff8ff0d1143315afbb7f344504eb148548)) +* 移除pino日志库并实现自定义日志系统 ([d5b5b67](https://github.com/echoVic/blade-code/commit/d5b5b67bf6dda398f57ab32e5bad94a2bb1520af)) +* 统一LLM配置参数并优化UI交互 ([20d681a](https://github.com/echoVic/blade-code/commit/20d681a4de96b4ce6ee06f42b2a0c4ec24138c48)) +* **网络:** 添加统一的代理fetch工具并替换多处直接fetch调用 ([a3894a6](https://github.com/echoVic/blade-code/commit/a3894a64966b4d3fbff142a62a9f74583a552384)) +* **输入处理:** 实现智能Ctrl+C处理及主输入Hook ([0524c7e](https://github.com/echoVic/blade-code/commit/0524c7ecd9a7d830b440a02da790b31f75e89753)) +* 迁移命令行工具从commander到yargs ([5ca1716](https://github.com/echoVic/blade-code/commit/5ca17163abf1a4470afed01f14bbe5094671562c)) +* **配置系统:** 实现统一配置管理系统和React上下文集成 ([b13308c](https://github.com/echoVic/blade-code/commit/b13308ce6e80eb8a233bbb9b104990e1276a9d78)) +* 重构为无状态Agent并实现JSONL持久化存储 ([506607b](https://github.com/echoVic/blade-code/commit/506607bdf36328454284d402689611ec81b13efe)) +* 重构后台任务管理并引入 TaskOutput 工具 ([0270e2b](https://github.com/echoVic/blade-code/commit/0270e2bf775c9bb578dd8fa331ef6338575850e4)) +* 重构命令模块并添加新功能 ([37286b0](https://github.com/echoVic/blade-code/commit/37286b054fa5aca3998db96ef3fbf125f0a50e65)) +* 重构工具系统并添加Plan模式支持 ([fbb4776](https://github.com/echoVic/blade-code/commit/fbb47764fabe0eeded7754a0e80471ade7d31e2e)) +* 重构流式消息处理与Markdown增量解析 ([ea391df](https://github.com/echoVic/blade-code/commit/ea391df2417591f641a2b2df6d6d3e0a0e2587e8)) +* 重构状态管理为 Zustand 实现单一数据源架构 ([26f2cbf](https://github.com/echoVic/blade-code/commit/26f2cbf013004e8a605921be1b34d49c2db06dff)) +* 重构聊天服务以支持无状态设计和AI SDK集成 ([60fce5a](https://github.com/echoVic/blade-code/commit/60fce5aa2a59f8f2dc10e152295627410e7d97dd)) +* 重构项目为monorepo结构并实现核心功能 ([703e38d](https://github.com/echoVic/blade-code/commit/703e38d968272fe2545ff636eb23bdcea10a2ba9)) +* 重构项目结构并添加新功能 ([c8bfd1b](https://github.com/echoVic/blade-code/commit/c8bfd1bb668c8f90b00508b69de9434adf8083a6)) + + +### Bug Fixes + +* add blade-claude provider to ModelConfigWizard ([2976448](https://github.com/echoVic/blade-code/commit/2976448d1ae25f179f2c710eb3e758e131e1b18d)) +* **agent/runtime:** 修复模型切换后未立即生效的问题 ([aafce51](https://github.com/echoVic/blade-code/commit/aafce510c7379498fdce559410407e5d2277a2eb)) +* **agent:** 事件协议收敛 + 接口定型 + continue 分支状态修复 ([aeccc85](https://github.com/echoVic/blade-code/commit/aeccc8509bbd0df461e3228782605c54f0ab12e5)) +* **agent:** 修复令牌计数使用 totalTokens 而不是计算值 ([db1318e](https://github.com/echoVic/blade-code/commit/db1318ede8bb1d51e206ef645a968e76288e4d58)) +* **agent:** 修复工具执行中的信号处理和恢复计数器问题 ([d0a4e69](https://github.com/echoVic/blade-code/commit/d0a4e697b016a7a4840f1c0f815520977ada5ac0)) +* **ai:** 支持更多令牌计数字段并修复状态检查 ([db1318e](https://github.com/echoVic/blade-code/commit/db1318ede8bb1d51e206ef645a968e76288e4d58)) +* allow root execution in container/sandbox/CI environments ([e7ca53d](https://github.com/echoVic/blade-code/commit/e7ca53d9d0db061313e75fa1f4d5d7ef014c15e3)) +* allow root execution in container/sandbox/CI environments ([9f02561](https://github.com/echoVic/blade-code/commit/9f025617b3d1cef6f9f33777808c11e90afb74c0)) +* **api:** 处理API错误时显示友好错误信息并允许系统消息 ([80bcdd8](https://github.com/echoVic/blade-code/commit/80bcdd8eae5738c2a673e3d400572146f7142f7b)) +* **BackgroundAgentManager:** 修复 killAgent 无法停止后台任务的问题 ([914b15b](https://github.com/echoVic/blade-code/commit/914b15b3e5b4b9a1a183e147418498b33dde62c0)) +* **BackgroundAgentManager:** 修复 resume 无法保留对话历史的问题 ([c05f896](https://github.com/echoVic/blade-code/commit/c05f896c37b8b831a4f14186020686200ccfadbe)) +* **BladeInterface:** 过滤会话消息中的非用户和助手消息 ([d9fe11d](https://github.com/echoVic/blade-code/commit/d9fe11d402934cbfb8213c70aeca2c304a23f718)) +* **build:** 修复web依赖安装问题并添加npmrc配置 ([ff2cde1](https://github.com/echoVic/blade-code/commit/ff2cde1c18d7ce4c3efc6124107bc594ac57560e)) +* **chat:** 自动补全ChatService的baseUrl端点 ([f4751b8](https://github.com/echoVic/blade-code/commit/f4751b885dfd781606927415dfd7c0cbcf5a7a3f)) +* **ci:** 使用 npm 安装 pnpm 替代 action-setup 修复兼容性问题 ([e18543c](https://github.com/echoVic/blade-code/commit/e18543cf7be4ab6d10491afd23d6de6068e59e2b)) +* **ci:** 使用 pnpm/action-setup 修复 CI 流程 ([d75ed21](https://github.com/echoVic/blade-code/commit/d75ed21fb148ebf41cf278c010d4b42d105319f5)) +* **ci:** 使用 standalone 模式修复 pnpm 安装问题 ([e16a57d](https://github.com/echoVic/blade-code/commit/e16a57d3d173c6496045c480dd972d0fae2222d1)) +* **ci:** 使用新的 Release Please action 并将配置移到根目录 ([cb268b9](https://github.com/echoVic/blade-code/commit/cb268b9deef8df6f680f9d11a5b8f8325e31f471)) +* **ci:** 修复 Release Please 工作流配置 ([e90040a](https://github.com/echoVic/blade-code/commit/e90040a48a29ebc1c5c0cc8526a09f79bd7e420f)) +* **ci:** 在 CI 环境跳过 prepare 脚本避免 bun 依赖 ([ef92bc3](https://github.com/echoVic/blade-code/commit/ef92bc390999d5108e79247e88ee79b02a003a6f)) +* **ci:** 添加 Bun 运行时支持 ([bec375e](https://github.com/echoVic/blade-code/commit/bec375e29291d76e00bd51509adc4e33cb399df5)) +* **ci:** 添加 Release Please 所需的 token 和权限配置 ([4744db0](https://github.com/echoVic/blade-code/commit/4744db0f88fa6acd8f8431b1fea5cad7601fb10d)) +* **ci:** 简化 Release Please 配置 ([d26678c](https://github.com/echoVic/blade-code/commit/d26678cfa3cc3340eabbb892ed89287ff6ecc8f5)) +* **cli:** 修复多轮对话中stream_end的finalize问题 ([30e7688](https://github.com/echoVic/blade-code/commit/30e76887361afb6923cf8abe88540fa3f8142208)) +* **cli:** 改进发布脚本的远程同步和分支校验逻辑 ([c1a8b2c](https://github.com/echoVic/blade-code/commit/c1a8b2cf6db98576eeeddfa0f2464fddb57f676d)) +* **cli:** 改进帮助命令输出和权限模式处理 ([04e0532](https://github.com/echoVic/blade-code/commit/04e053246bb265aa22c5090aac9b803837977e4f)) +* **CommandHandler:** 修复流式消息终止处理逻辑 ([ea391df](https://github.com/echoVic/blade-code/commit/ea391df2417591f641a2b2df6d6d3e0a0e2587e8)) +* **command:** 中止现有控制器时添加中断原因 ([db1318e](https://github.com/echoVic/blade-code/commit/db1318ede8bb1d51e206ef645a968e76288e4d58)) +* **completionPolicy:** 修复 setTimeout 泄漏并删除不可达类型 ([dacb2bc](https://github.com/echoVic/blade-code/commit/dacb2bc5af59c0b88e656e22c89fdf546755f8d1)) +* **config:** 调整配置加载顺序使环境变量具有最高优先级 ([f4751b8](https://github.com/echoVic/blade-code/commit/f4751b885dfd781606927415dfd7c0cbcf5a7a3f)) +* **CopilotChatService:** 修复消息序列验证问题并更新本地设置 ([49835a1](https://github.com/echoVic/blade-code/commit/49835a1054bb05a0ef1e8f6d910be6b9a6e91f71)) +* **core:** 修复类型导入路径和错误处理 ([cd3796d](https://github.com/echoVic/blade-code/commit/cd3796d00bdf28b65fec5a49d69b06f6049c55c2)) +* correct web dist path detection in server ([b778444](https://github.com/echoVic/blade-code/commit/b778444cef3fe08b953a9c1ae9845da0cb15b0a3)) +* createTool.execute now passes ExecutionContext to tools ([bbd353a](https://github.com/echoVic/blade-code/commit/bbd353a55656797d50ae93cba9e2700a1f6f2ed8)) +* **CustomTextInput:** 合并 backspace 和 delete 处理逻辑 ([d31f260](https://github.com/echoVic/blade-code/commit/d31f260d8ba5f131b44e79c45a52e6665bc0d772)) +* **CustomTextInput:** 增加需要外部处理的快捷键检查 ([cedc179](https://github.com/echoVic/blade-code/commit/cedc179fb29e64abd1f5e8ef32167e407013f2d8)) +* **CustomTextInput:** 规范化输入文本中的换行符 ([3109593](https://github.com/echoVic/blade-code/commit/310959366ae86381e1a673607c736e67d49c9cab)) +* **error:** API 错误信息友好化,不再向用户暴露完整堆栈 ([58b1bd4](https://github.com/echoVic/blade-code/commit/58b1bd46e2f238740bd5e7e9c274520269a75600)) +* git operations should run in monorepo root to include changelog ([913d26c](https://github.com/echoVic/blade-code/commit/913d26cf6f838733c4e846f70497c0fed8ac7923)) +* **graceful-shutdown:** 替换直接process.exit为safeExit确保终端状态恢复 ([eed4662](https://github.com/echoVic/blade-code/commit/eed46628768a2fbd66588bb896549f316a6552c0)) +* **loop-detection:** 改进沉默循环检测逻辑,区分工具调用和真正空响应 ([96d5598](https://github.com/echoVic/blade-code/commit/96d5598b905105d9a5ed3c3f0949553c9e08714b)) +* **loop:** 修复 appendBoth 导致消息重复的 bug ([cad0a77](https://github.com/echoVic/blade-code/commit/cad0a77a0fffbdaeac6acc98e63e8001d266b552)) +* **MessageArea:** 修复历史消息展开时的清屏问题 ([86b4cd4](https://github.com/echoVic/blade-code/commit/86b4cd4bd24e97a95b5847ac0a8e4e7022582b59)) +* **phase4:** 修复 code review 发现的两个问题 ([336a46d](https://github.com/echoVic/blade-code/commit/336a46de30e09ef4e974ce2a0ea3a6251388bc3d)) +* **pnpm-lock:** 更新rollup依赖的libc配置 ([579544e](https://github.com/echoVic/blade-code/commit/579544e7d749e44de5de734800bb7c1ecfeeedb9)) +* **release:** 更新发布脚本错误处理 ([2486d31](https://github.com/echoVic/blade-code/commit/2486d3122e261a11ba837692db7fff0928d487ee)) +* remove main field requirement from release script ([c716195](https://github.com/echoVic/blade-code/commit/c716195150137880b551affc0ab174190ba0db00)) +* resolve unused variable lint errors ([f4e23a6](https://github.com/echoVic/blade-code/commit/f4e23a65c450b45d954dda863c3399f18ad0790b)) +* **review:** 修复最终 code review 发现的三个问题 ([6f48b1f](https://github.com/echoVic/blade-code/commit/6f48b1f6ebb373f4c153c179ec2e2caea2d74343)) +* **scripts:** 为依赖检查添加超时避免卡住 ([3eda2ed](https://github.com/echoVic/blade-code/commit/3eda2ed0c1ac364ac2dce52786fa3b0d0ff5c72b)) +* **scripts:** 支持带scope的提交消息格式 ([bbbe90c](https://github.com/echoVic/blade-code/commit/bbbe90ce93c7531074858a228c10e53a06a06ce8)) +* stop release flow after npm publish failure ([1b1d3bf](https://github.com/echoVic/blade-code/commit/1b1d3bf593a0349b290f82211a9a78042084c18b)) +* **subagent:** 删除 SubagentContext 旧命名回调,完成 onEvent 收敛 ([99c201a](https://github.com/echoVic/blade-code/commit/99c201ab6deaa80da539902ce7f5eb3a8d918bb4)) +* **tests:** 修复测试中的错误和警告 ([114612a](https://github.com/echoVic/blade-code/commit/114612aa31c8000b518908b3f7a278f9344b93f3)) +* **ui:** 修复 Enter 键行为,仅用于提交而非接受建议 ([0df82e5](https://github.com/echoVic/blade-code/commit/0df82e55c35f0233bf791211a18ca8f3c0d3f45d)) +* **ui:** 修复分支显示和加载文案优先级问题 ([98d2730](https://github.com/echoVic/blade-code/commit/98d27300dc4de79baa7b07df8194a256aa2ee773)) +* **ui:** 修复消息区域清理时光标位置问题 ([1752cd3](https://github.com/echoVic/blade-code/commit/1752cd368e65e9d1e901fcda4ee179b7968bc8a3)) +* **ui:** 正确处理恢复会话中的 ContentPart 数组 ([db1318e](https://github.com/echoVic/blade-code/commit/db1318ede8bb1d51e206ef645a968e76288e4d58)) +* **ui:** 移除内置 Claude 模型及相关功能 ([e5dfdb4](https://github.com/echoVic/blade-code/commit/e5dfdb47fc8a01a15ea3129b5ba9447ec745529a)) +* **ui:** 解决终端resize残影问题并优化布局 ([30f15be](https://github.com/echoVic/blade-code/commit/30f15be81f812f026916e56c4a229cafd0eee7cb)) +* **useCommandHandler:** 修复重复创建 abortController 导致任务状态错误的问题 ([189152a](https://github.com/echoVic/blade-code/commit/189152a195420dc10cb14923f59524ec0bede474)) +* **validation:** 确保空对象模式显式输出 required 数组 ([68f0273](https://github.com/echoVic/blade-code/commit/68f027332f518be8ac3f23cf3a423378db190703)) +* **VersionChecker:** 指定官方 registry 确保获取最新版本 ([66e72b1](https://github.com/echoVic/blade-code/commit/66e72b173a4e905231394b34311ab62d031c55c3)) +* **web:** 修复聊天列表消息渲染问题 ([de2fe52](https://github.com/echoVic/blade-code/commit/de2fe525b7811df2fa243608795a0591504fb189)) +* **会话:** 改进工具调用结果处理逻辑 ([d5b5b67](https://github.com/echoVic/blade-code/commit/d5b5b67bf6dda398f57ab32e5bad94a2bb1520af)) +* **会话路由:** 修复会话列表去重逻辑并添加子代理过滤 ([c39a083](https://github.com/echoVic/blade-code/commit/c39a083714dc4b148da1180353629f927249613a)) +* **侧边栏:** 修复会话标题生成逻辑 ([a96ac69](https://github.com/echoVic/blade-code/commit/a96ac69829d04108c6cd149b5e8707b805456f04)) +* **命令处理:** 修复命令中止时的竞态条件问题 ([f4c542d](https://github.com/echoVic/blade-code/commit/f4c542da86b6e61dc6d390be6f97a1e4bd40a6f4)) +* 更新 changelog 文件路径并移除重复的同步逻辑 ([624eb65](https://github.com/echoVic/blade-code/commit/624eb65b4d64720c3d6c756d6b66a50893a09cb8)) +* **权限确认:** 修复确认处理逻辑和UI展示 ([d5b5b67](https://github.com/echoVic/blade-code/commit/d5b5b67bf6dda398f57ab32e5bad94a2bb1520af)) +* **模型配置:** 修复内置模型更新逻辑 ([36dd8c1](https://github.com/echoVic/blade-code/commit/36dd8c1c919ffe9c9e43bc78c8c410e982f9dd71)) +* 添加操作中止检查并优化中止处理流程 ([008175c](https://github.com/echoVic/blade-code/commit/008175c9b0c053fc46cdefde676e1ab7892644a4)) +* 统一目录创建权限为755并修复路径处理问题 ([f055e1e](https://github.com/echoVic/blade-code/commit/f055e1e250a5ff336b30b852a9b22dd81c3e9f46)) + + +### Performance Improvements + +* **glob:** 用 fast-glob 替换 glob 提升文件搜索性能 ([df2f0f9](https://github.com/echoVic/blade-code/commit/df2f0f99f315559f377fc13244d2045c21aa5d25)) +* **search:** 优化FindTool和GrepTool默认排除常见目录 ([f4751b8](https://github.com/echoVic/blade-code/commit/f4751b885dfd781606927415dfd7c0cbcf5a7a3f)) +* **ui:** 优化流式输出渲染性能并改进工具详情显示 ([1a63bf6](https://github.com/echoVic/blade-code/commit/1a63bf6ba308d45ec657d0f1069f361ed02f7d1d)) +* **ui:** 使用 React.memo 优化组件重渲染 ([23a815b](https://github.com/echoVic/blade-code/commit/23a815bc4db4e4e3946157f2bf352cf1a68768a0)) +* **ui:** 终端交互层全面性能优化 ([82937a8](https://github.com/echoVic/blade-code/commit/82937a81385554871d7c2afbc8c8f1db70b2fd40)) +* **utils:** 使用 LRU 缓存优化文件模式匹配性能 ([e528ada](https://github.com/echoVic/blade-code/commit/e528adaff9b54426d4e428260eb5b2a21d2784f9)) +* **version:** 使用 semver 替代自定义版本比较逻辑 ([3f00ff3](https://github.com/echoVic/blade-code/commit/3f00ff306bbdb281cd59830cf4e706ce47c37e40)) +* **web:** 优化代码分割和懒加载以提升性能 ([14d1977](https://github.com/echoVic/blade-code/commit/14d19777c10844f5d82429d532fca86d0d3d30d5)) +* 优化内存管理和性能 ([cd3796d](https://github.com/echoVic/blade-code/commit/cd3796d00bdf28b65fec5a49d69b06f6049c55c2)) +* **持久化存储:** 改进子代理任务状态跟踪性能 ([c39a083](https://github.com/echoVic/blade-code/commit/c39a083714dc4b148da1180353629f927249613a)) + ### 1. 📎 @ 文件引用功能 让用户可以通过 `@src/utils.ts:10-20` 快速引用代码片段 diff --git a/package.json b/package.json index 763f548a..63ae2311 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "blade-monorepo", - "version": "0.1.10", + "version": "1.0.0", "private": true, "description": "🗡️ Blade Code - Monorepo for AI-powered coding assistant", "type": "module",