Soulter
e8b54a019e
refactor: replace ProviderModelSelector with ProviderModelMenu for improved UI and functionality
2025-12-17 22:57:32 +08:00
Soulter
f52f375154
refactor: update provider handling to use new config structure and improve template retrieval
2025-12-17 16:55:12 +08:00
Soulter
6db80d36a8
fix: prevent platform ID modification during updates and ensure correct routing table handling
2025-12-17 16:16:50 +08:00
Soulter
4651bd2807
feat: implement provider deletion functionality and ensure unique provider IDs
2025-12-17 15:00:22 +08:00
Soulter
94ada3793e
Merge remote-tracking branch 'origin/master' into refactor/provider-source
2025-12-17 13:33:23 +08:00
Soulter
4d046f8490
delete: remove backup of ProviderPage.vue
2025-12-17 11:34:12 +08:00
Soulter
903dd0f9f7
feat: add manual model addition functionality and search capability in ProviderPage
2025-12-17 10:56:45 +08:00
Soulter
1acac0cac2
feat: enhance provider selection with a new drawer interface and localization updates
2025-12-17 10:39:16 +08:00
Oscar Shaw
80b89fd2ea
feat: implements command management and improve webui feature structure ( #3904 )
...
move mcp management to plugin managemanet page
* feat: 新增命令配置数据库模型
* feat: 实现核心命令管理系统
* feat: 将命令管理集成到 Star 框架
* feat: 新增命令管理后台 API
* feat: 新增命令管理界面页面
* feat: 新增命令管理国际化支持
* test: 新增命令管理相关测试
* refactor(command): 移除指令重命名时的别名功能
* fix(command): 修正指令冲突检测逻辑
* fix(command): 排除已禁用指令的冲突检测
- 只有 `effective_command` 存在且 `enabled` 为 `True` 的指令才会被纳入冲突检测范围。
* feat(command): 优化指令冲突显示与提示
- 【功能】新增指令冲突警告提示,当检测到冲突时显示详细信息及解决方案。
- 【优化】调整指令列表排序逻辑,将冲突指令优先显示并分组。
- 【样式】为冲突指令行添加专属高亮样式,提升视觉识别度。
- 【国际化】更新英文和中文多语言文件,增加指令冲突警告相关的翻译文本。
* chore(command-page): 禁用命令表格部分列的排序功能
* style(command-page): 调整命令页面表格样式和图标大小
* refactor(command): 优化指令页面布局并更新冲突警告
- 【布局优化】重新组织指令管理页面布局,将筛选器移至顶部独立行
- 【信息展示】将搜索栏与总指令数、已禁用指令数合并显示,提升页面空间利用率
- 【视觉更新】更新指令冲突警告样式
* style: UI 细节
* refactor(command): 调整指令管理中的成员权限显示与筛选
- 更新指令筛选逻辑,当选择“所有人”权限筛选时,将同时包含 `everyone` 和 `member` 权限的指令。
* 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 文本,包括表格头部、详情对话框字段和筛选器选项。
* style(command): 优化指令组子指令数量显示UI
* refactor(command): 修改指令列表排序逻辑
* style(command-page): 优化命令列表UI
* feat(command): 添加系统插件指令过滤与冲突处理
* refactor(command): 更新指令数展示逻辑
* style(command): 更新空状态描述
* feat(extension): 添加插件指令冲突检测与提示
- 在插件安装或启用后,自动检测并提示指令冲突。
- 当检测到指令冲突时,显示警告对话框,告知用户冲突数量及可能的影响。
* refactor(command): 移除指令表格内部加载指示器
* style(extension): 文案修改
* refactor(command): 模块化指令管理面板前端代码
* refactor(commandPanel): 重命名指令模块目录为 commandPanel
* style(commandPanel): 微调指令面板UI
* fix(command): 确保新命令配置的事务提交
* fix(sidebar): 补全新增侧边栏项后的侧边栏位追加逻辑
* refactor(commands): 重构/help指令以动态显示实际命令并补充部分命令描述
* style(builtin_commands): 补充命令描述
* refactor(commandPanel): 移除未使用的 filterState 常量
* perf(dashboard): 删除多余的CommandPage.vue文件(已被模块化引用)
* perf(command): 优化命令冲突计数逻辑
* perf(command): 优化指令管理辅助函数和配置绑定逻辑
* perf(db): 优化重构command相关数据库操作
* refactor(sidebar): 提取侧边栏项目解析逻辑到工具函数复用
* refactor: move mcp and command page to extension page
* refactor: remove unused imports in component panel
* fix: update terminology for handler management in extension localization
---------
Co-authored-by: Soulter <905617992@qq.com >
2025-12-16 20:24:57 +08:00
Soulter
67c33b842d
feat: add new provider icons and improve provider source handling
...
- Added icons for 'modelstack', 'tokenpony', and 'compshare' in providerUtils.js.
- Updated ProviderPage.vue to display the correct count of displayed provider sources.
- Enhanced the logic for displaying provider sources to include placeholders for unselected templates.
- Improved the display name for provider sources to show template keys for placeholders.
- Adjusted styles for better layout and overflow handling in provider source list and cards.
- Refactored source selection logic to handle placeholder sources correctly.
- Updated error handling in provider testing to provide clearer messages.
2025-12-16 16:11:56 +08:00
Soulter
5431c9f46e
refactor: remove unused tab from AddNewProvider and disable button based on provider status in ProviderPage
2025-12-16 12:26:26 +08:00
Soulter
c20c1b84bf
feat: implement LLM metadata fetching and integrate into provider model selection
2025-12-16 12:19:40 +08:00
Soulter
fd66a0ac00
perf: better UI
2025-12-16 11:24:07 +08:00
Soulter
4a5b7d1976
fix: type checking of contextwrapper
2025-12-16 09:59:56 +08:00
Soulter
02cd5e396b
feat: add trigger probability setting for TTS and support to render slider in schema ( #4047 )
...
* feat: add trigger probability setting for TTS and support to render slider in schema
* chore: ruff format
2025-12-15 16:04:27 +08:00
Soulter
9a4d05e2b6
fix: remove unnecessary persistent attribute from ReadmeDialog and adjust dialog structure in ExtensionPage
2025-12-15 15:27:42 +08:00
Soulter
b2e9dab233
refactor: enhance layout and improve provider source management in ProviderPage
2025-12-15 15:15:17 +08:00
Soulter
45110200ea
feat: update provider and provider source configuration handling
2025-12-15 12:31:29 +08:00
Copilot
65da469deb
feat: add conversation export feature to JSONL for AI training ( #4037 )
...
* Initial plan
* Add conversation export functionality (backend and frontend)
Co-authored-by: Soulter <37870767+Soulter@users.noreply.github.com >
* Address code review feedback: move imports, simplify logic, improve i18n
Co-authored-by: Soulter <37870767+Soulter@users.noreply.github.com >
* Simplify frontend download logic: remove redundant Blob wrapper and complex filename parsing
Co-authored-by: Soulter <37870767+Soulter@users.noreply.github.com >
* fix: update conversation export filename format for consistency
---------
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-14 21:44:12 +08:00
Soulter
a70088b799
Merge remote-tracking branch 'origin/master' into refactor/provider-source
2025-12-13 23:37:23 +08:00
Soulter
467ca1eb5c
fix: webui log output incompletely ( #4029 )
...
* fix: webui log output incompletely
* fix: improve SSE log parsing to handle partial data chunks
* fix: enhance log handling by implementing local cache and fetching history
* fix: log time handling to use epoch time
2025-12-13 18:46:16 +08:00
Soulter
bb45d9cb54
stage
2025-12-13 17:16:07 +08:00
Soulter
8a0b7717cc
feat: supports webhook mode for Lark platform ( #4016 )
...
* feat: add Lark platform support with unified webhook configuration
* fix: update token verification logic in LarkWebhookServer
* feat: implement event deduplication and cleanup for Lark webhook events
2025-12-12 22:12:13 +08:00
Copilot
3b81fb4985
fix: mobile dialog close button visibility ( #4010 )
...
* Initial plan
* Fix mobile dialog close button visibility by adding max-height and scrollable content
Co-authored-by: Soulter <37870767+Soulter@users.noreply.github.com >
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: Soulter <37870767+Soulter@users.noreply.github.com >
2025-12-12 16:02:24 +08:00
Soulter
c09d57a820
refactor: improve UI layout and interaction for list item management ( #4002 )
...
* refactor: improve UI layout and interaction for list item management
* feat: enhance list configuration UI with batch import functionality
* feat: add internationalization support for list configuration UI
2025-12-11 18:55:56 +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
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
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
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
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
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