Ocetars
adcffcc466
style(commandPanel): 微调指令面板UI
2025-12-04 16:17:12 +08:00
Ocetars
238aa30331
refactor(commandPanel): 重命名指令模块目录为 commandPanel
2025-12-04 16:05:49 +08:00
Ocetars
26a27776ab
refactor(command): 模块化指令管理面板前端代码
2025-12-04 15:58:11 +08:00
Ocetars
eb2c88f802
style(extension): 文案修改
2025-12-04 15:23:53 +08:00
Ocetars
81a0e0f28e
refactor(command): 移除指令表格内部加载指示器
2025-12-04 15:12:10 +08:00
Ocetars
aa61815fcd
feat(extension): 添加插件指令冲突检测与提示
...
- 在插件安装或启用后,自动检测并提示指令冲突。
- 当检测到指令冲突时,显示警告对话框,告知用户冲突数量及可能的影响。
2025-12-03 20:58:53 +08:00
Ocetars
f34902574f
style(command): 更新空状态描述
2025-12-03 19:55:42 +08:00
Ocetars
b1b031077c
refactor(command): 更新指令数展示逻辑
2025-12-03 19:48:22 +08:00
Ocetars
7f0e011126
feat(command): 添加系统插件指令过滤与冲突处理
2025-12-03 19:41:27 +08:00
Ocetars
7b7d9f1b8c
style(command-page): 优化命令列表UI
2025-12-03 19:19:56 +08:00
Ocetars
fe040da7a4
refactor(command): 修改指令列表排序逻辑
2025-12-03 19:10:20 +08:00
Ocetars
b98cd1bd72
style(command): 优化指令组子指令数量显示UI
2025-12-03 18:09:12 +08:00
Ocetars
7fa71c538e
feat(command-management): 新增指令层级管理与UI展示
...
- 【后端】
- `CommandDescriptor` 新增 `parent_group_handler` 和 `sub_commands` 字段,支持指令层级结构定义。
- `list_commands` 函数重构,实现指令的层级收集与构建,将子指令正确挂载到其父指令组下。
- 新增 `_collect_all_descriptors` 和 `_find_parent_group_handler` 辅助函数,用于全面收集指令并定位父指令组。
- `_build_descriptor` 优化指令类型判断逻辑,明确区分普通指令、指令组和子指令。
- `_descriptor_to_dict` 递归处理子指令,确保 API 返回完整的指令层级数据。
- 【前端】
- 指令管理页面 (`CommandPage.vue`) 增加指令类型筛选器,并支持指令组的展开/折叠功能。
- 表格展示优化,为指令组和子指令添加不同的样式和缩进,提升层级结构的视觉可读性。
- 指令详情对话框新增指令类型、所属指令组和子指令列表的展示。
- 更新 `CommandItem` 接口,以适配后端提供的层级数据结构。
- 【i18n】
- 新增指令类型(指令、指令组、子指令)的国际化文本。
- 更新指令管理相关 UI 文本,包括表格头部、详情对话框字段和筛选器选项。
2025-12-03 17:58:52 +08:00
Ocetars
97c0be85e4
refactor(command): 调整指令管理中的成员权限显示与筛选
...
- 更新指令筛选逻辑,当选择“所有人”权限筛选时,将同时包含 `everyone` 和 `member` 权限的指令。
2025-12-03 17:12:09 +08:00
Ocetars
b1273ff997
style: UI 细节
2025-12-03 15:55:11 +08:00
Ocetars
e560f396c5
refactor(command): 优化指令页面布局并更新冲突警告
...
- 【布局优化】重新组织指令管理页面布局,将筛选器移至顶部独立行
- 【信息展示】将搜索栏与总指令数、已禁用指令数合并显示,提升页面空间利用率
- 【视觉更新】更新指令冲突警告样式
2025-12-03 15:45:12 +08:00
Ocetars
9c842ecd03
style(command-page): 调整命令页面表格样式和图标大小
2025-12-03 15:24:53 +08:00
Ocetars
281ac6dcfe
chore(command-page): 禁用命令表格部分列的排序功能
2025-12-03 15:11:36 +08:00
Ocetars
7aa44ba3d8
feat(command): 优化指令冲突显示与提示
...
- 【功能】新增指令冲突警告提示,当检测到冲突时显示详细信息及解决方案。
- 【优化】调整指令列表排序逻辑,将冲突指令优先显示并分组。
- 【样式】为冲突指令行添加专属高亮样式,提升视觉识别度。
- 【国际化】更新英文和中文多语言文件,增加指令冲突警告相关的翻译文本。
2025-12-03 15:04:30 +08:00
Ocetars
8144b61ae0
fix(command): 排除已禁用指令的冲突检测
...
- 只有 `effective_command` 存在且 `enabled` 为 `True` 的指令才会被纳入冲突检测范围。
2025-12-03 14:43:18 +08:00
Ocetars
3da0c77e87
fix(command): 修正指令冲突检测逻辑
2025-12-03 14:34:25 +08:00
Ocetars
5e7a0591d9
refactor(command): 移除指令重命名时的别名功能
2025-12-03 14:25:49 +08:00
Ocetars
09d6b715f0
test: 新增命令管理相关测试
2025-12-02 20:57:03 +08:00
Ocetars
f0770c5c4d
feat: 新增命令管理国际化支持
2025-12-02 20:56:33 +08:00
Ocetars
0858ec4cba
feat: 新增命令管理界面页面
2025-12-02 20:56:21 +08:00
Ocetars
ae07835da7
feat: 新增命令管理后台 API
2025-12-02 20:56:05 +08:00
Ocetars
6ba1c51cd2
feat: 将命令管理集成到 Star 框架
2025-12-02 20:55:24 +08:00
Ocetars
2dc28eff89
feat: 实现核心命令管理系统
2025-12-02 20:55:14 +08:00
Ocetars
68c1e4ecf9
feat: 新增命令配置数据库模型
2025-12-02 20:53:53 +08:00
Soulter
e9be8cf69f
chore: bump version to 4.7.4
v4.7.4
2025-12-01 18:42:07 +08:00
Soulter
31d53edb9d
refactor: standardize provider test method implementation
...
- Updated the `test` method in all provider classes to remove return values and raise exceptions for failure cases, enhancing clarity and consistency.
- Adjusted related logic in the dashboard and command routes to align with the new `test` method behavior, simplifying error handling.
2025-12-01 18:37:08 +08:00
Soulter
2ba0460f19
feat: introduce file extract capability ( #3870 )
...
* feat: introduce file extract capability
powered by MoonshotAI
* fix: correct indentation in default configuration file
* fix: add error handling for file extract application in InternalAgentSubStage
* fix: update file name handling in InternalAgentSubStage to correctly associate file names with extracted content
* feat: add condition settings for local agent runner in default configuration
* fix: enhance file naming logic in File component and update prompt handling in InternalAgentSubStage
2025-12-01 18:12:39 +08:00
雪語
0e034f0fbd
fix: aiocqhttp 适配器 NapCat 文件名获取为空 ( #3853 )
...
* aiocqhttp 适配器 NapCat 文件名获取为空
修复使用 NapCat 时,文件消息的 File.name 为空的问题。原代码硬编码 name="",导致下游插件无法获取文件名和扩展名
* Enhance file name retrieval from message data
Updated file name extraction logic to check multiple fields for better accuracy.
2025-12-01 13:36:19 +08:00
Soulter
2a7d03f9e1
fix: fit language and log AI responses more clearly ( #3864 )
...
* fix: fit language and log AI responses more clearly
* chore: ruff format
2025-12-01 13:24:52 +08:00
Soulter
72fac4b9f1
feat: implement unified provider availability testing across components ( #3865 )
...
- Added a `test` method to each provider class to standardize availability checks.
- Updated the dashboard and command routes to utilize the new `test` method for provider reachability verification, simplifying the logic and improving maintainability.
- Removed redundant reachability check logic from the command handler.
2025-12-01 13:17:20 +08:00
Soulter
38281ba2cf
refactor: restore reachability check configuration in default settings and localization files
2025-12-01 00:38:30 +08:00
Soulter
21aa3174f4
fix: disable reachability check in default configuration
2025-12-01 00:16:11 +08:00
邹永赫
dcda871fc0
feat: provider availability reachability improvements ( #3708 )
2025-12-01 01:06:10 +09:00
Soulter
c13c51f499
fix: assistant message validation error when tool_call exists but content not exists ( #3862 )
...
* fix: assistant message validation error when tool_call exists but content not exists
* fix: enhance content validation in Message model to allow None for assistant role with tool_calls
2025-11-30 23:42:37 +08:00
Dt8333
a130db5cf4
fix: 将 Graceful shutdown 的异常改为 KeyboardInterrupt ( #3855 )
2025-11-30 20:31:17 +08:00
邹永赫
7faeb5cea8
Merge pull request #3850 from zouyonghe/feature/plugin-upgrade-all
...
增加升级所有插件按钮
2025-11-30 15:12:36 +09:00
ZouYonghe
8d3ff61e0d
Format plugin route with ruff
2025-11-30 11:56:24 +08:00
ZouYonghe
4c03e82570
Fix plugin update JSON parsing and concurrency handling
2025-11-30 11:50:46 +08:00
ZouYonghe
e7e8664ab4
chore: tweak update all label
2025-11-30 11:18:30 +08:00
ZouYonghe
1dd1623e7d
feat: batch update plugins via new api
2025-11-30 11:11:36 +08:00
ZouYonghe
80d8161d58
feat: add update all plugins action
2025-11-30 10:40:46 +08:00
Soulter
fc80d7d681
chore: bump version to 4.7.3
v4.7.3
2025-11-30 00:42:49 +08:00
Soulter
c2f036b27c
chore: bump vertion to 4.7.2
v4.7.2
2025-11-30 00:33:07 +08:00
Soulter
4087bbb512
perf: set content attribute optional to AssistantMessageSegment for enhanced message handling
...
fixes : #3843
2025-11-30 00:32:00 +08:00
Soulter
e1c728582d
chore: bump version to 4.7.2
2025-11-30 00:18:23 +08:00