Soulter
eeec6bcc48
refactor: move mcp and command page to extension page
2025-12-15 00:44:37 +08:00
Soulter
bd1c1c7e4f
Merge remote-tracking branch 'origin/master' into feature/command-panel
2025-12-14 22:06:13 +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
16df64c405
fix: lark domain and log_level of Lark API client ( #4038 )
...
fixes : #4035
2025-12-14 21:31:17 +08:00
i0cLiceao
6b73b19e54
fix: support using GitHub Raw content as plugin source ( #3975 )
...
* Update plugin.py
* Update plugin.py
* Update plugin.py
* Update plugin.py
2025-12-14 18:23:29 +08:00
Soulter
e7e97730af
chore: bump version to 4.9.0
v4.9.0
2025-12-13 18:49:07 +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
RC-CHN
46528391c2
feat: add pre-chunk import strategy for knowledge base ( #3973 )
...
* feat: 添加文档导入功能及相关测试
* feat: 优化文档上传功能,支持从文件名推断文件类型,并增强文档切片验证
* feat: 添加文档导入功能的无效输入测试,验证 chunks 类型和内容的错误处理
* refactor: 重构文档上传和导入任务的状态管理,添加任务初始化、结果设置和进度更新方法
2025-12-12 23:15:11 +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
ec408a2aff
fix: lark message timestamp
2025-12-11 18:20:50 +08:00
Oscar
2387abe570
refactor(sidebar): 提取侧边栏项目解析逻辑到工具函数复用
2025-12-11 17:14:02 +08:00
Oscar
7e43cca134
perf(db): 优化重构command相关数据库操作
2025-12-11 17:00:15 +08:00
Oscar
89fdb18936
perf(command): 优化指令管理辅助函数和配置绑定逻辑
2025-12-11 16:51:10 +08:00
Oscar
e710454d18
perf(command): 优化命令冲突计数逻辑
2025-12-11 15:45:14 +08:00
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
5e83a19ac5
style(builtin_commands): 补充命令描述
2025-12-11 14:48:28 +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
Oscar
c6739105c4
refactor(commands): 重构/help指令以动态显示实际命令并补充部分命令描述
2025-12-11 14:34:46 +08:00
Soulter
417179a6b9
ci: add smoke test
2025-12-11 10:44:15 +08:00
Soulter
fcd29445c7
refactor: remove unused current provider initialization in StarRequestSubStage
2025-12-11 10:36:33 +08:00
BiDuang
5f535001db
fix: incorrect modalities enum of gemini api provider ( #3993 )
2025-12-10 20:27:51 +08:00
PaloMiku
750d245b16
docs: Update README with new Zread link and badges ( #3992 )
...
ZRead 是由智谱 AI 推出的 DeepWiki 类似平替品。
2025-12-10 20:22:56 +08:00
Dt8333
f624971613
chore: fix bunches of type checking errors ( #3213 )
...
* chore(core.utils): 🚨 修正错误Lint
* chore(core.provider): 🚨 修复基类错误Lint
* chore(core.utils): 补全session_get()的重载
* chore(core.provider): 🚨 修正实现错误Lint
* chore(core.platform): 🚨 修正platform基类和webchat的错误Lint
* chore(core.platform): 修正错误实现Lint
* fix(core.provider): 修复循环调用和错误assert
* chore(core.platform): 修复部分实现Lint
* chore(core.provider): 补充Dify.text_chat_stream的参数类型
* chore(core.pipeline): 🚨 修复错误Lint
* fix(core.slack): 补充遗漏导入
* chore(core.utils): 修复错误的session_get声明
* chore(core.platform): 移除Lark adapter import中的wildcard
* chore(core.db): 修复声明和部分逻辑
* chore(core.db): 添加typings,使faiss参数能被正确识别。
* chore(core): 修复声明
* chore(core): 修改声明
* chore: 补充faiss声明
* chore(dashboard): 修改实现,减少报错
* chore(package): 修改部分声明与实现,减少报错
* chore(core): 添加Handler的overload,以去除部分assert同时通过类型检查
* chore(core.pipeline): 修改Pipeline Scheduler的execute,将判断属性改为判断类型,通过静态类型检查
* chore(core.config): 添加类型标注,通过类型检查
* chore(core.message): 为File._download_file添加检查,通过类型检查
* fix: 将断言改为条件判断以实现优雅关闭的容错性
* refactor: 移除 discord 客户端中的 assert,改用 if None 判断并抛出异常
Co-authored-by: aider (openai/gemini-3-pro-high) <aider@aider.chat >
* fix: DiscordPlatformAdapter 对 self.client.user 为 None 做日志并返回,移除断言
Co-authored-by: aider (openai/gemini-3-pro-high) <aider@aider.chat >
* fix: 增强 Lark 相关空值/异常检查并完善日志输出
Co-authored-by: aider (openai/gemini-3-pro-high) <aider@aider.chat >
* refactor: 将断言替换为条件检查并加入日志与错误处理
Co-authored-by: aider (openai/gemini-3-pro-high) <aider@aider.chat >
* chore: 移除LLM生成的无用注释
* refactor: 使用 File.get_file 替换下载逻辑并移除 assert,提供默认 filename
Co-authored-by: aider (openai/gemini-3-pro-high) <aider@aider.chat >
* fix: Slack Socket 未初始化抛出运行时异常,图片 URL 判空改为非空判断
* refactor: 将 WeChatPadProAdapter 的断言改为空值判断并添加日志
* refactor: 使用 isinstance 替代断言实现类型判断,便于静态检查
Co-authored-by: aider (openai/gemini-3-pro-high) <aider@aider.chat >
* fix: 去除cast,直接使用字段与字典访问,修正端口解析
Co-authored-by: aider (openai/gemini-3-pro-high) <aider@aider.chat >
* refactor: 使用 match-case 重构 ProviderManager 加载并通过类型检查抛出 TypeError
Co-authored-by: aider (openai/gemini-3-pro-high) <aider@aider.chat >
* fix: group_name_display 时若 group 对象为空则记录错误并返回
* fix: 将 _get_current_persona_id 的 assert 替换成 if guard 并返回 None
Co-authored-by: aider (openai/gemini-3-pro-high) <aider@aider.chat >
* fix: 优化插件目录存在性检查及图片URL非空验证,更新JSON排序配置
* fix: 将 datetime_str 的 assert 替换为显式检查并抛出异常
Co-authored-by: aider (openai/gemini-3-pro-high) <aider@aider.chat >
* refactor: 移除 cast,改为运行时检查并在找不到调度器时跳过
Co-authored-by: aider (openai/gemini-3-pro-high) <aider@aider.chat >
* refactor: 移除 cast,改用 isinstance 检查 FaissVecDB 并警告
Co-authored-by: aider (openai/gemini-3-pro-high) <aider@aider.chat >
* fix: 删除 typing.cast 导入,并在获取文件绝对路径前校验 file_
* refactor: 移除 typing.cast,简化内容安全检查调用
Co-authored-by: aider (openai/gemini-3-pro-high) <aider@aider.chat >
* refactor: 将 PlatformMetadata.id 设为必填并在注册时传入 id,移除 cast
* refactor: 移除 cast,改用 HasInitialize 与 isinstance 进行初始化
Co-authored-by: aider (openai/gemini-3-pro-high) <aider@aider.chat >
* fix: 为 ProviderManager.initialize 增加ID类型判断,避免 None 导致 get 失败
Co-authored-by: aider (openai/gemini-3-pro-high) <aider@aider.chat >
* refactor: 为 OTTSProvider 与 AzureNativeProvider 引入 _client 与 client 属性改进上下文管理
Co-authored-by: aider (openai/gemini-3-pro-high) <aider@aider.chat >
* fix: 为 Whisper 自托管源添加模型未初始化校验并直接调用 transcribe
Co-authored-by: aider (openai/gemini-3-pro-high) <aider@aider.chat >
* refactor: 移除未使用的 cast 导入并简化 platform_name 赋值
* refactor: 引入 cast 并对 id 使用 cast(str, ...) 提升类型安全
* fix: 将 _id_to_sid 返回改为 str,空值返回空串;对 id 与 message_id 使用 cast
Co-authored-by: aider (openai/gemini-3-pro-high) <aider@aider.chat >
* refactor: 重构 Discord 处理逻辑:强制 类型转换、优先斜杠指令并优化提及判断
Co-authored-by: aider (openai/gemini-3-pro-high) <aider@aider.chat >
* fix: 统一对 id 获取执行 cast,并在微信消息解析失败时抛错
* Revert "fix: 去除cast,直接使用字段与字典访问,修正端口解析"
This reverts commit 1cbfdf9d1b .
* fix: 百炼 Rerank 会话关闭时返回空结果;初始化 request.prompt 避免空值拼接
* fix: 统一处理搜索结果链接为字符串,新增 _get_url 助手并适配 Bing/Sogo
Co-authored-by: aider (openai/gemini-3-pro-high) <aider@aider.chat >
* refactor: 调整 call_handler 泛型、Discord 通道注解及 FishAudioTTS API 请求类型
* refactor: 使用 col(...) 替代列引用并对结果进行 CursorResult 强转
* chore: ruff format
---------
Co-authored-by: aider (openai/gemini-3-pro-high) <aider@aider.chat >
Co-authored-by: Soulter <905617992@qq.com >
2025-12-09 14:13:47 +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
Soulter
c95735dcc0
docs: update readme
2025-12-08 12:05:57 +08:00
Soulter
03bb278f50
chore: ruff check
2025-12-08 11:00:43 +08:00
Soulter
a5e0974da3
chore: ruff format
2025-12-08 00:36:56 +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
Soulter
e14ed804da
chore: bump version to 4.8.0
v4.8.0
2025-12-05 19:09:56 +08:00
Oscar Shaw
8e4e49df20
fix: not invoke on_llm_response hook when LLM request has error ( #3871 )
...
* fix: handle on_agent_done in error responses
- Introduced an LLMResponse for error messages to be processed by agent hooks, ensuring better error reporting and handling.
* fix: improve error logging in on_agent_done hook
---------
Co-authored-by: Soulter <37870767+Soulter@users.noreply.github.com >
2025-12-05 16:13:46 +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
Soulter
380a68b96c
chore: add CONTRIBUTING.md
2025-12-05 15:59:18 +08:00
易推倒白毛
8879bd7e9d
fix: add supports for Whisper with QQ amr audio file
...
* fix: Whisper API对QQ语音amr文件的支持
* Update whisper_api_source.py
* fix: cleanup temporary files in Whisper API
---------
Co-authored-by: Soulter <905617992@qq.com >
2025-12-05 15:41:37 +08:00
RC-CHN
2cce09400f
feat: add Kubernetes manifests for astrbot and napcat deployment with services and persistent storage ( #3901 )
...
* feat: add Kubernetes manifests for astrbot and napcat deployment with services and persistent storage
* chore: remove 11451 port
---------
Co-authored-by: Soulter <905617992@qq.com >
2025-12-04 20:36:35 +08:00
Ocetars
693f2988be
fix(command): 确保新命令配置的事务提交
2025-12-04 16:38:27 +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
Soulter
205024f27a
fix: correct SQL query syntax in SQLiteDatabase class
2025-12-04 12:51:22 +08:00
Ocetars
aa61815fcd
feat(extension): 添加插件指令冲突检测与提示
...
- 在插件安装或启用后,自动检测并提示指令冲突。
- 当检测到指令冲突时,显示警告对话框,告知用户冲突数量及可能的影响。
2025-12-03 20:58:53 +08:00