Soulter
36ffcf3cc3
fix: typing error
2025-10-21 10:56:44 +08:00
Soulter
a0f8f3ae32
style: ruff format
2025-10-21 00:21:42 +08:00
Soulter
130f52f315
chore(monaco-editor): bump monaco-editor version to 0.54.0
2025-10-21 00:18:29 +08:00
Soulter
6672190760
feat: add star count display and fetch functionality in sidebar
2025-10-20 18:19:21 +08:00
exynos
f122b17097
fix(update): 取消 WebUI 与核心版本对比,消除“webui有新版本!”的误报 ( #3106 )
...
* fix(update): 取消 WebUI 与核心版本对比,消除“webui有新版本!”的误报
不再比较 dv 与核心版本
* fix(update): 保留dv逻辑,新增installed标识以避免误报
新增安装状态布尔值,保留“dv 是否存在”的信息
* Fix dashboard version update check logic
---------
Co-authored-by: LIghtJUNction <lightjunction.me@gmail.com >
2025-10-20 16:15:42 +08:00
Soulter
2c5f68e696
refactor: 重构创建平台时的流程及一些 UI 优化 ( #3102 )
...
* refactor: 支持在平台直接选择配置文件
* add webchat
* feat: 支持新建平台时现场预览、创建和编辑配置文件
* fix: update configuration file descriptions and visibility based on updating mode
* perf: use incremental decoder
* perf: update descriptions
* fix: UI update issues in config file dialog
* fix: update UI elements for better readability and organization
* feat: enhance sidebar navigation with group feature and dynamic resizing
Co-authored-by: IGCrystal <3811541171@qq.com >
* refactor: persona selector
* perf: 修改部分默认行为
* fix: adjust ExtensionCard layout and improve responsiveness
* refactor: 配置文件绑定消息平台重构为消息平台绑定配文件
* style: add custom styling for v-select selection text
* fix: correct subtitle text in provider.json
* refactor: update conversation management terminology and improve session ID handling
* refactor: add Conversation ID localization and update table header reference
* Update astrbot/core/db/migration/migra_45_to_46.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* style: format logger warning for better readability
* refactor: comment out WebChat configuration for future reference
---------
Co-authored-by: IGCrystal <3811541171@qq.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-10-20 12:01:06 +08:00
MoonShadow1976
e1ca645a32
feat: 增强工具调用参数处理机制 ( #3036 )
...
* feat: 增强工具调用参数处理机制
在工具调用时添加参数过滤功能,只传递函数实际需要的参数
解决问题:https://github.com/AstrBotDevs/AstrBot/issues/2988
* feat: 利用现有工具定义信息处理非期望的参数
不使用`inspect`库,利用现有工具定义信息处理非期望的参数
* ruff format for code
合并结果:
移除了多余参数避免报错,代码执行器可以正常工作。
2025-10-20 02:51:16 +08:00
magisk317
5e808bab65
fix(platform): prevent 'NoneType' object is not iterable in _outline_chain and set_result ( #3103 )
...
Guard against cases where message chain is None during pipeline execution. This change enhances error-resilience for logging and processing message chains.
- Updated AstrMessageEvent._outline_chain to return an empty string when input chain is None
- Updated AstrMessageEvent.set_result to ensure result.chain is always at least an empty list
This prevents TypeError when result.chain or chain is unexpectedly None, improving pipeline stability when handling external plugins or corner cases.
Co-authored-by: engine-labs-app[bot] <140088366+engine-labs-app[bot]@users.noreply.github.com>
Co-authored-by: cto-new[bot] <140088366+cto-new[bot]@users.noreply.github.com>
2025-10-19 20:16:14 +08:00
Dt8333
361d78247b
fix(core): 修复人格预设对话的重复注入 ( #3088 )
...
备份Context避免供应商适配器移除Context内字段导致将预设会话存入历史。深拷贝人格预设会话防止运行时被意外修改。
#3063
2025-10-19 20:13:57 +08:00
a490077
3550103e45
feat: QQ 官方机器人增加沙盒模式选项,让本地部署能跳过 IP 白名单验证 ( #3087 )
...
* QQ官方机器人增加沙箱模式选项,让本地部署能跳过IP白名单验证
* chore: ruff format
---------
Co-authored-by: 郭鹏 <gp@pp052.top >
Co-authored-by: Soulter <905617992@qq.com >
2025-10-19 20:09:08 +08:00
PaloMiku
8b0d4d4de4
feat: 优化 Misskey 适配器的通知和聊天消息处理,改进 @用户提及逻辑 ( #3075 )
2025-10-19 20:05:55 +08:00
shangxue
dc71c04b67
feat(satori): 添加对合并转发消息功能的支持 ( #3050 )
...
* Update satori_event.py
* Update satori_event.py
* Update satori_event.py
* Update satori_adapter.py
* style: format code for better readability in satori_adapter.py and satori_event.py
---------
Co-authored-by: Soulter <905617992@qq.com >
2025-10-19 20:05:03 +08:00
Soulter
5c5b0f4fde
fix: 修复未安装知识库插件时的错误引导
2025-10-18 10:36:11 +08:00
Dt8333
ed6cdfedbb
fix: 修复 dashboard 的部分编译错误 ( #3041 )
...
* chore(dashboard): adding missing dependency
* fix(dashboard): 修复vertical-header中 $router 类型错误
2025-10-16 10:32:08 +08:00
PaloMiku
23f13ef05f
feat:Misskey 适配器支持文件上传、投票内容感知功能和重构部分代码 ( #2986 )
...
* feat: 为 Misskey 适配器修正一些问题,添加投票信息读取支持
* feat: 增强 Misskey 平台适配器,添加随机重连延迟和通道重新订阅功能
* feat: 添加文件上传功能并优化消息发送接口,支持同时发送文件和文本
* feat: 增强文件上传功能,支持 MIME 类型检测和外部 URL 回退
* feat: 增加 Misskey 文件上传功能开关,支持配置文件上传启用与并发限制
* feat: 添加 Misskey 文件上传目标文件夹配置,支持将文件上传到指定文件夹
* feat: 优化 Misskey 平台适配器,增强文件上传和消息发送功能,支持更多可选字段
* feat: 代码优化结构与功能
* feat(misskey): 增强消息发送逻辑和工具函数
- 重构了 `misskey_event.py` 中的 `send` 方法,使用新的适配器方法 `send_by_session`,以改进消息处理(包括文件上传)。
- 添加了详细的日志记录,以提高消息发送过程的可追溯性。
- 在 `misskey_utils.py` 中引入了 `FileIDExtractor` 和 `MessagePayloadBuilder` 类,以简化文件 ID 提取和消息载荷构建。
- 在 `misskey_utils.py` 中实现了 MIME 类型检测和文件扩展名解析,以支持多种文件上传。
- 增强了 `resolve_component_url_or_path`,以更好地处理不同类型的组件上传文件。
- 在 `upload_local_with_retries` 中添加了重试逻辑,以优雅地处理不允许的文件类型。
* feat(misskey): 限制文件上传并发数,优化消息处理逻辑
* feat(misskey): ruff formatted
* feat: 大幅优化 misskey 文件上传逻辑,简化上传流程并增强可见性解析
* feat(misskey): 移除 Url上传方式,精简日志
* fix(misskey): 修复错把URL文件当本地文件上传的问题,明确处理 URL 和本地文件的方式
* fix(misskey): 修复 session_id 解析逻辑,确保与 user_cache 键格式匹配
* perf: streaming the file with a file object in FormData to reduce peak memory usage.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* style: format debug log message for local file upload in MisskeyAPI
* refactor: remove unnecessary thread executor for reading file bytes in MisskeyAPI
---------
Co-authored-by: Soulter <37870767+Soulter@users.noreply.github.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: Soulter <905617992@qq.com >
2025-10-16 10:27:04 +08:00
Soulter
f9c59d9706
docs: fix typo
2025-10-16 09:17:09 +08:00
Soulter
e1cec42227
chore: add Node.js setup step in CI workflow
2025-10-15 23:32:53 +08:00
Soulter
8d79c50d53
chore: update CI workflow to use pnpm for package management
2025-10-15 23:12:38 +08:00
Soulter
d77830b97f
feat: add markdown-it type definitions as a dev dependency
2025-10-15 23:01:38 +08:00
Soulter
394540f689
docs: Update support status for various platforms
2025-10-15 18:48:25 +08:00
Soulter
7d776e0ce2
chore: bump version to 4.3.5
v4.3.5
2025-10-15 12:19:26 +08:00
Soulter
17df1692b9
fix: 修复 /alter_cmd reset scene <num> xxx 不可用的问题
2025-10-15 12:16:13 +08:00
Soulter
9ab652641d
feat: 支持配置工具调用超时时间并适配 ModelScope 的 MCP Server 配置 ( #3039 )
...
* feat: 支持配置工具调用超时时间并适配 ModelScope 的 MCP Server 配置。
closes : #2939
* fix: Remove unnecessary blank lines in _quick_test_mcp_connection function
2025-10-15 12:06:57 +08:00
shangxue
9119f7166f
feat: satori 适配器支持 video、reply 消息类型 ( #3035 )
...
* Update satori_event.py
* style: format
---------
Co-authored-by: Soulter <905617992@qq.com >
2025-10-15 10:45:35 +08:00
Soulter
da7d9d8eb9
feat: Add tutorial link for wecom_ai_bot platform
2025-10-15 10:42:31 +08:00
Soulter
80fccc90b7
feat: 支持接入企业微信智能机器人平台 ( #3034 )
...
* stage
* stage
* feat: 支持图片收发
* feat: add support for wecom_ai_bot in getPlatformIcon function
2025-10-14 23:20:56 +08:00
Soulter
dcebc70f1a
chore: Add new auto-assign users to configuration
2025-10-14 12:16:22 +08:00
dependabot[bot]
259e7bc322
chore(deps): bump github/codeql-action in the github-actions group ( #3032 )
...
Bumps the github-actions group with 1 update: [github/codeql-action](https://github.com/github/codeql-action ).
Updates `github/codeql-action` from 3 to 4
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-version: '4'
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: github-actions
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-14 09:35:57 +08:00
Soulter
37bdb6c6f6
feat: 内置网页搜索功能支持接入百度 AI 搜索 ( #3031 )
...
* feat: 内置网页搜索功能支持接入百度 AI 搜索
* fix: 修正配置文件中的拼写错误,更新为正确的键名
* Fix Baidu AI Search initialization logic
2025-10-14 09:35:34 +08:00
Soulter
dc71afdd3f
docs: Revise README for clarity and updated support info
...
Updated README.md to improve clarity and fix formatting issues. Removed outdated developer group information and added support details for new platforms and services.
2025-10-14 09:13:54 +08:00
Soulter
44638108d0
docs: readme
2025-10-14 08:53:23 +08:00
RC-CHN
93fcac498c
feat: 添加并优化服务提供商独立测试功能 ( #3024 )
...
* feat: 添加并优化服务提供商独立测试功能
* feat: add small size to action buttons in ItemCard and ProviderPage for better UI consistency
---------
Co-authored-by: Soulter <905617992@qq.com >
2025-10-13 13:03:20 +08:00
Soulter
79e2743aac
chore: bump version to 4.3.3
v4.3.3
2025-10-12 11:42:18 +08:00
anka
5e9c7cdd91
fix: 当没有填写 api key 时,设置为空字符串 ( #2834 )
...
* fix: 修复空key导致的无法创建Provider对象的问题
* style: format code
* Update astrbot/core/provider/provider.py
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
---------
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
Co-authored-by: Soulter <905617992@qq.com >
2025-10-12 10:50:01 +08:00
Dt8333
6f73e5087d
feat(core): 在新对话中重用先前的对话人格设置 ( #3005 )
...
* feat(core): reuse persona conf in new conversation
#2985
* refactor(core): simplify persona retrieval logic
* style: code format
---------
Co-authored-by: Soulter <905617992@qq.com >
2025-10-12 10:42:35 +08:00
Yaron
8c120b020e
fix: 修复阿里云百炼平台 TTS 下接入 CosyVoice V2, Qwen TTS 生成报错的问题 ( #2964 )
...
* fix: 修复了CosyVoice V2,Qwen TTS生成报错的问题。Fixed compatability problems with CosyVoice V2, Qwen TTS.
* fix: 将urlopen的同步请求替换为aiohttp的异步请求以下载音频
* fix: cozyvoice 报错显示
* fix: 添加阿里云百炼 TTS API Key 获取提示信息
---------
Co-authored-by: Soulter <905617992@qq.com >
2025-10-12 01:03:06 +08:00
Dt8333
12fc6f9d38
fix(LTM): fix LTM not removed when removing conversation ( #3002 )
...
#2983
2025-10-12 00:16:42 +08:00
Dt8333
a6e8483b4c
fix: 修复session-management中人格错误的显示为默认人格的问题 ( #3000 )
...
* fix: 修复session-management中人格错误的显示为默认人格的问题
#2985
* refactor: 使用命名表达式简化赋值和条件
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
* style: format edited code with ruff
format code edited by sourcery-ai
---------
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
2025-10-12 00:12:04 +08:00
Soulter
7191d28ada
fix: 启动了 TTS 但未配置 TTS 模型时,At 和 Reply 发送人无效
...
fixes : #2996
2025-10-10 12:11:03 +08:00
Soulter
e6b5e3d282
feat: tokenpony provider
2025-10-09 16:00:31 +08:00
ctrlkk
1413d6b5fe
fix: 让事件钩子被暂停时跳出循环,而不是继续执行 ( #2989 )
2025-10-09 15:01:45 +08:00
ctrlkk
dcd8a1094c
feat: 优化 SQLite 参数配置,对话和会话管理增加输入防抖机制 ( #2969 )
...
* feat: 优化 SQLite 数据库初始化设置并增强会话搜索功能,会话管理增加输入防抖
* fix: adjust SQLite cache and mmap size
---------
Co-authored-by: Soulter <905617992@qq.com >
2025-10-06 17:13:53 +08:00
Futureppo
e64b31b9ba
fix: Correct default modalities for DeepSeek provider ( #2963 )
...
* 更新 package.json
* 更新 ExtensionPage.vue
* fix(provider): Correct default modalities for DeepSeek provider
2025-10-06 16:30:05 +08:00
Dt8333
080f347511
feat: clean browser cache after update ( #2958 )
...
* feat: clean browser cache after update
* fix: move const to module
* fix: remove self prefix (a stupid mistake)
2025-10-06 16:29:18 +08:00
Dt8333
eaaff4298d
fix(Python-Interpreter): fix incorrect file read method ( #2970 )
...
fix getting file by property(Sync) in an async handler
#2960
2025-10-06 16:12:05 +08:00
Soulter
dd5a02e8ef
chore: bump version to 4.3.2
v4.3.2
2025-10-05 01:01:13 +08:00
Soulter
3211ec57ee
fix: handle Google search initialization and errors gracefully
2025-10-05 00:55:47 +08:00
Soulter
6796afdaee
fix: googlesearch
2025-10-05 00:54:24 +08:00
Soulter
cc6fe57773
fix: on_tool_end无法获得工具返回的结果 ( #2956 )
...
fixes : #2940
2025-10-05 00:37:51 +08:00
Soulter
1dfc831938
fix: 修复 reset 没有清除群聊上下文感知数据的问题 ( #2954 )
2025-10-05 00:05:42 +08:00