Oscar
20024cfec9
perf(dashboard): 删除多余的CommandPage.vue文件(已被模块化引用)
2025-12-11 15:36:22 +08:00
Oscar
042c507127
refactor(commandPanel): 移除未使用的 filterState 常量
2025-12-11 15:28:55 +08:00
Oscar
1f87984133
Merge branch 'master' of https://github.com/ocetars/AstrBot-OscarDev into feature/command-panel
2025-12-11 14:45:01 +08:00
Soulter
aa6d07afcc
refactor: move all internal commands from astrbot plugin to default_command plugin ( #3960 )
...
* refactor: move all internal commands from astrbot plugin to default_command plugin
* ruff check
* feat: add config
* ruff check
2025-12-08 22:17:32 +08:00
Soulter
2c36649874
feat: add Agent Runner test prompt dialog in ProviderPage ( #3968 )
2025-12-08 21:46:47 +08:00
Oscar
6fd86eda13
fix(sidebar): 补全新增侧边栏项后的侧边栏位追加逻辑
2025-12-08 17:28:58 +08:00
vmoranv
f0fb447fbc
feat: custom plugin api source manager ( #3956 )
...
* feat: custom plugin api source manager
* fix: rename plugin source file in a safer way
* chore: turned the way of saving plugin source to backend and refacted some components
* style: clean up whitespace and improve logging message formatting
---------
Co-authored-by: Soulter <905617992@qq.com >
2025-12-08 00:32:50 +08:00
Soulter
37566182b0
feat: segment reply supports segmentation words ( #3959 )
...
* feat: segment reply supports segmentation words
* chore: ruff format
* feat: enhance segmented reply processing by refining word extraction logic
* ruff format
2025-12-08 00:27:17 +08:00
Soulter
e460b411da
chore: remove dev version from webui ( #3951 )
...
* chore: remove dev version
* chore: remove development version references from header localization files
2025-12-07 15:23:30 +08:00
Oscar Shaw
5d856900ef
perf: some UI/UX fixes, change Console to Platform Logs ( #3873 )
...
* refactor: 统一‘平台日志’文案
* perf: 优化自动滚动开关键操作逻辑
* perf: add tooltips to save and code editor buttons
2025-12-05 16:02:20 +08:00
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
Oscar Shaw
54d26dcd38
perf: integrate Pinia store for log cache management ( #3852 )
...
* perf: integrate Pinia store for log cache management
* perf: remove unused code
2025-12-04 14:26:05 +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
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
Soulter
54e49b997b
feat: enhance platform management with status tracking and error handling
...
- Introduced PlatformStatus enum to manage platform states (pending, running, error, stopped).
- Added error recording and retrieval functionality in the Platform class.
- Implemented a new method in PlatformManager to gather statistics for all platforms.
- Updated the dashboard to display platform statuses and error details, including a dialog for error insights.
- Enhanced localization for runtime statuses and error dialogs in both English and Chinese.
2025-12-03 16:48:57 +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
Soulter
5714944eef
feat: unified platform webhook url ( #3889 )
...
* feat: unified platform webhook url
* chore: ruff format
* fix: 修复 Telegram 语音使用 Whisper API 报错 (#3884 )
* Update whisper_api_source.py
* chore: ruff format
---------
Co-authored-by: Soulter <905617992@qq.com >
* Update astrbot/dashboard/routes/platform.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Update astrbot/core/platform/sources/qqofficial_webhook/qo_webhook_adapter.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* chore: ruff format
* fix: update webhook dialog descriptions for clarity in English and Chinese locales
* fix: update webhook URL paths to include '/api' prefix for consistency across the application
---------
Co-authored-by: 易推倒白毛 <zhaixingbi@gmail.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-12-03 15:44:52 +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
5e7a0591d9
refactor(command): 移除指令重命名时的别名功能
2025-12-03 14:25:49 +08:00
Ocetars
f0770c5c4d
feat: 新增命令管理国际化支持
2025-12-02 20:56:33 +08:00
Ocetars
0858ec4cba
feat: 新增命令管理界面页面
2025-12-02 20:56:21 +08:00
Soulter
f7a716af43
refactor: message storage format of webchat, support reply and file message segment ( #3845 )
...
* refactor: message storage format of webchat
* refactor: update image and record handling in webchat event processing
* fix: thinking placeholder in webchat
* feat: supports file upload in webchat
* feat: supports to delete attachments when webchat session is deleted
* perf: improve performance of file downloading
* refactor: remove unused import in chat route
* feat: add message timestamp formatting and localization support in chat
* fix: handle missing filename in file upload for chat route
* feat: enhance file handling in chat and webchat, supporting video uploads and improved attachment management
* fix: update property name for embedded files in message handling
* fix: compute variable errors after uninstalling plugins
* feat: supported for reply message and standarlize the message param
* fix: ensure message actions are displayed for the last message in the list
2025-12-02 17:11:08 +08:00
Copilot
a708901e7f
fix: fix dark mode white background in conversation preview dialog ( #3881 )
...
* Initial plan
* Fix dark mode background issue in conversation data preview
Co-authored-by: Soulter <37870767+Soulter@users.noreply.github.com >
* style: update conversation messages container background color and add debug log for dark mode detection
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: Soulter <37870767+Soulter@users.noreply.github.com >
Co-authored-by: Soulter <905617992@qq.com >
2025-12-02 17:03:59 +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
Soulter
38281ba2cf
refactor: restore reachability check configuration in default settings and localization files
2025-12-01 00:38:30 +08:00
邹永赫
dcda871fc0
feat: provider availability reachability improvements ( #3708 )
2025-12-01 01:06:10 +09: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
Oscar Shaw
93c69a639a
feat: 新增群聊模式下的专用图片转述模型配置 ( #3822 )
...
* feat: add image caption provider configuration for group chat
- Introduced `image_caption_provider_id` to allow separate configuration for group chat image understanding.
- Updated metadata and hints in English and Chinese for clarity on new settings.
- Adjusted logic in long term memory to utilize the new provider ID for image captioning.
* fix: format
* Fix logic for image caption and active reply settings
* Fix indentation and formatting in long_term_memory.py
* chore: ruff format
---------
Co-authored-by: Soulter <37870767+Soulter@users.noreply.github.com >
Co-authored-by: Soulter <905617992@qq.com >
2025-11-29 23:53:32 +08:00
Oscar Shaw
d76d1bd7fe
perf: adjust padding for PlatformPage and ProviderPage log sections ( #3825 )
...
- Added bottom margin to log card for better spacing.
2025-11-29 19:15:35 +08:00
Soulter
df4412aa80
style: adjust bot-embedded-image max-width and remove hover effect for improved layout
2025-11-29 01:31:25 +08:00
Oscar Shaw
37cc4e2121
perf: console tag UI improve ( #3816 )
...
- Added yarn.lock to .gitignore to prevent tracking of Yarn lock files.
- Updated ConsoleDisplayer.vue to improve chip styling
2025-11-28 17:17:11 +08:00
Soulter
4e29684aa3
fix: add plugin set and knowledge bases selection in custom rules page ( #3813 )
...
fixes : #3806
2025-11-28 13:29:50 +08:00
Soulter
0a55060e89
fix: session controller in webchat
2025-11-27 22:32:35 +08:00
Soulter
77859c7daa
feat: enhance provider status display in ProviderPage
...
- Added a tooltip to show detailed provider status, including availability and error messages.
- Refactored item details template to include status chips for better visual representation.
- Removed unused status section to streamline the UI.
2025-11-27 16:39:51 +08:00
Soulter
75e95aa9ca
fix: update session management icon in sidebar
...
- Changed the icon for the session management sidebar item from 'mdi-account-group' to 'mdi-pencil-ruler' for better representation.
2025-11-27 14:00:05 +08:00