| fix: enforce Python 3.12 at startup and align Ruff (#11469) * fix: align runtime version comparison * fix: check the Python version before startup imports * chore: target Python 3.12 in Ruff --------- Co-authored-by: wcqqq1214 <wcqqq1214@gmail.com> | 1 day ago |
| fix: enforce Python 3.12 at startup and align Ruff (#11469) * fix: align runtime version comparison * fix: check the Python version before startup imports * chore: target Python 3.12 in Ruff --------- Co-authored-by: wcqqq1214 <wcqqq1214@gmail.com> | 1 day ago |
| feat(chatui): rename the conversation in place from the header title (#11442) * feat(chatui): rename the conversation by double-clicking the header title Double-clicking the conversation title in the middle of the ChatUI header opens the existing edit-name dialog for the current conversation (the same dialog and save path as the sidebar's rename). A project-only title is not renamable, and neither is the title on the model provider pages; the title tooltip mentions the double-click. * docs(chatui): describe renaming from the header title Note the double-click rename in the WebUI guide's ChatUI list and add a changelog entry pair. * feat(chatui): rename the conversation in place from the header title Double-clicking the header title, or pressing Enter or F2 on it, turns it into an input. Enter or blur saves through the existing rename path, Esc cancels, and an empty or unchanged name sends nothing. The edit keeps the conversation it started on and is cancelled when the conversation changes. The input is outside the desktop drag region. * fix(chatui): keep dragging the window from the header title In the desktop app the renamable title moves the window once the mouse has moved a few pixels, using the same start_dragging command as the shell's drag region, so a double-click still renames and never maximizes or restores the window. The title uses the default cursor; the input stays out of the drag region. A title that cannot be renamed is a normal drag region. The input is bound with v-model again. | 1 day ago |
| feat: improve MCP server setup and namespace tools (#11408) * feat: improve MCP server setup and namespace tools * test: trim MCP transport coverage * refactor: derive MCP tool namespaces from the current server name * fix: lock MCP server names in the edit dialog * feat: surface saved tool settings without legacy name matching * feat: stage removal of unlisted persona tools * fix: clarify the unavailable persona tools heading * feat: delete saved settings for unregistered tools | 1 day ago |
| fix: enforce Python 3.12 at startup and align Ruff (#11469) * fix: align runtime version comparison * fix: check the Python version before startup imports * chore: target Python 3.12 in Ruff --------- Co-authored-by: wcqqq1214 <wcqqq1214@gmail.com> | 1 day ago |
| fix: remove discontinued NapCat deployment guidance (#11110) * docs: remove discontinued NapCat deployment guidance NapCat stopped maintenance: the repository now keeps only an ending notice, the NapCat-Docker repository and the mlikiowa/napcat-docker image are gone, so every deployment recipe built on them is dead. Drop the NapCat appendix, the Docker Compose snippet, and the Kubernetes sidecar tutorial, and genericize the remaining NapCat-specific wording in the token field and the OneBot troubleshooting entry. Keep a short warning so users searching for NapCat still learn why it is gone and are told to evaluate other OneBot v11 implementations themselves. * chore(k8s): remove the NapCat sidecar manifests The manifests deploy mlikiowa/napcat-docker, which no longer exists on Docker Hub, so the pod can only end up in ImagePullBackOff. The Kubernetes docs no longer reference this directory. * chore: drop stale NapCat references from compose comments Both comments pointed at the deleted NapCat-Docker repository, and the port comment named NapCat although the port is a generic OneBot v11 WebSocket port. * docs: stop advertising NapCat on the community deployment page The third-party Docker deployment script can no longer install a working NapCat, so describe it as an AstrBot deployment script only. * docs: keep the standalone log label in the Kubernetes guide Only the Sidecar log block is obsolete; keep the standalone log entry so the section still explains which deployment the command belongs to. * Update aiocqhttp.md * Update aiocqhttp.md * Update faq.md --------- Co-authored-by: Soulter <37870767+Soulter@users.noreply.github.com> | 15 days ago |
| feat: improve MCP server setup and namespace tools (#11408) * feat: improve MCP server setup and namespace tools * test: trim MCP transport coverage * refactor: derive MCP tool namespaces from the current server name * fix: lock MCP server names in the edit dialog * feat: surface saved tool settings without legacy name matching * feat: stage removal of unlisted persona tools * fix: clarify the unavailable persona tools heading * feat: delete saved settings for unregistered tools | 1 day ago |
| feat:实现了speech_to_text类型的供应商可用性检查 | 1 year ago |
| perf(ci): simplify CI and speed it up (#11226) * CI: Simplify smoke test * follow-up for standardizing uv setup and skip redundant syncs * CI: Use uv for project sync workflows Reference actions by version tag and reduce the sync timeout from 120 to 10 minutes. Drop references to the deleted delivery test and remove workflow security assertions. | 11 days ago |
| fix: enforce Python 3.12 at startup and align Ruff (#11469) * fix: align runtime version comparison * fix: check the Python version before startup imports * chore: target Python 3.12 in Ruff --------- Co-authored-by: wcqqq1214 <wcqqq1214@gmail.com> | 1 day ago |
| 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 1cbfdf9d1b70330a01d1960c4e761a46a2187988. * 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> | 11 months ago |
| fix: avoid shadowing the .astrbot marker file in the system temp dir (#10784) * fix: avoid shadowing the .astrbot marker file in the system temp dir * fix: ignore the fallback temp dir in git and docker * fix: always use a dedicated system temporary directory * revert: restore conditional system temporary directory fallback Reverts commit 62454a30cecc13f31c989955d68453d775e8befb. * docs: note plugin temp directory collision in NAS environments --------- Co-authored-by: rwzdk <rwzdk@users.noreply.github.com> Co-authored-by: Soulter <905617992@qq.com> | 1 month ago |
| fix MDI font scanning; bump MDI font version (#11193) * fix .gitignore symlink compatibility * bump Material Design Icons version to v7.4.47; replace nonexistent mdi-platform with mdi-circle-off-outline to de-warning during pnpm build * Fix MDI scanning and skip build font subsettingz | 11 days ago |
| chore: pin Ruff to 0.15.22 (#9369) | 4 months ago |
| Revert "可选后端,实现前后端分离" (#5536) | 8 months ago |
| fix: enforce Python 3.12 at startup and align Ruff (#11469) * fix: align runtime version comparison * fix: check the Python version before startup imports * chore: target Python 3.12 in Ruff --------- Co-authored-by: wcqqq1214 <wcqqq1214@gmail.com> | 1 day ago |
| docs: add Simplified Chinese Code of Conduct and link it in issue templates (#10580) * docs: add Simplified Chinese Code of Conduct and link it in issue templates * fix: add missing reporter security commitment to Chinese Code of Conduct * Update CODE_OF_CONDUCT.md * Update contact email for reporting misconduct --------- Co-authored-by: XTsat <XTsat@users.noreply.github.com> Co-authored-by: Soulter <37870767+Soulter@users.noreply.github.com> | 1 month ago |
| docs: add Simplified Chinese Code of Conduct and link it in issue templates (#10580) * docs: add Simplified Chinese Code of Conduct and link it in issue templates * fix: add missing reporter security commitment to Chinese Code of Conduct * Update CODE_OF_CONDUCT.md * Update contact email for reporting misconduct --------- Co-authored-by: XTsat <XTsat@users.noreply.github.com> Co-authored-by: Soulter <37870767+Soulter@users.noreply.github.com> | 1 month ago |
| docs: sync guides with current WebUI navigation (#10093) | 2 months ago |
| chore: bump version to 4.29.3 (#10738) * chore: bump version to 4.29.3 * fix(deps): enforce secure package minimums in project metadata * fix(docker): refresh pip and CA dependencies during image builds * docs: trim 4.29.3 release notes | 1 month ago |
| docs: refine EULA | 10 months ago |
| feat: add EULA hint for first notification (#7955) * docs: add FIRST_NOTICE.ru-RU.md * docs: add metrics notice to FIRST_NOTICE files * docs: add metrics notice to FIRST_NOTICE * docs: update FIRST_NOTICE to reference system config * docs: update FIRST_NOTICE to reference system config * docs: update FIRST_NOTICE to reference system config * Update FIRST_NOTICE.md * Update FIRST_NOTICE.en-US.md * Update FIRST_NOTICE.ru-RU.md | 6 months ago |
| feat(i18n): add Japanese localization (#9955) | 2 months ago |
| feat: add EULA hint for first notification (#7955) * docs: add FIRST_NOTICE.ru-RU.md * docs: add metrics notice to FIRST_NOTICE files * docs: add metrics notice to FIRST_NOTICE * docs: update FIRST_NOTICE to reference system config * docs: update FIRST_NOTICE to reference system config * docs: update FIRST_NOTICE to reference system config * Update FIRST_NOTICE.md * Update FIRST_NOTICE.en-US.md * Update FIRST_NOTICE.ru-RU.md | 6 months ago |
| feat: add EULA hint for first notification (#7955) * docs: add FIRST_NOTICE.ru-RU.md * docs: add metrics notice to FIRST_NOTICE files * docs: add metrics notice to FIRST_NOTICE * docs: update FIRST_NOTICE to reference system config * docs: update FIRST_NOTICE to reference system config * docs: update FIRST_NOTICE to reference system config * Update FIRST_NOTICE.md * Update FIRST_NOTICE.en-US.md * Update FIRST_NOTICE.ru-RU.md | 6 months ago |
| Update LICENSE | 1 year ago |
| refactor: simplify updater architecture (#9493) | 3 months ago |
| feat: add DeepSeek STT and TTS providers (#11118) * feat: add DeepSeek speech providers * test: isolate DeepSeek STT tests from ffmpeg * test: trim redundant DeepSeek speech coverage | 14 days ago |
| docs: refine provider integration docs. | 30 days ago |
| feat: add DeepSeek STT and TTS providers (#11118) * feat: add DeepSeek speech providers * test: isolate DeepSeek STT tests from ffmpeg * test: trim redundant DeepSeek speech coverage | 14 days ago |
| feat: add DeepSeek STT and TTS providers (#11118) * feat: add DeepSeek speech providers * test: isolate DeepSeek STT tests from ffmpeg * test: trim redundant DeepSeek speech coverage | 14 days ago |
| feat: add DeepSeek STT and TTS providers (#11118) * feat: add DeepSeek speech providers * test: isolate DeepSeek STT tests from ffmpeg * test: trim redundant DeepSeek speech coverage | 14 days ago |
| feat: add DeepSeek STT and TTS providers (#11118) * feat: add DeepSeek speech providers * test: isolate DeepSeek STT tests from ffmpeg * test: trim redundant DeepSeek speech coverage | 14 days ago |
| feat: add DeepSeek STT and TTS providers (#11118) * feat: add DeepSeek speech providers * test: isolate DeepSeek STT tests from ffmpeg * test: trim redundant DeepSeek speech coverage | 14 days ago |
| fix: remove discontinued NapCat deployment guidance (#11110) * docs: remove discontinued NapCat deployment guidance NapCat stopped maintenance: the repository now keeps only an ending notice, the NapCat-Docker repository and the mlikiowa/napcat-docker image are gone, so every deployment recipe built on them is dead. Drop the NapCat appendix, the Docker Compose snippet, and the Kubernetes sidecar tutorial, and genericize the remaining NapCat-specific wording in the token field and the OneBot troubleshooting entry. Keep a short warning so users searching for NapCat still learn why it is gone and are told to evaluate other OneBot v11 implementations themselves. * chore(k8s): remove the NapCat sidecar manifests The manifests deploy mlikiowa/napcat-docker, which no longer exists on Docker Hub, so the pod can only end up in ImagePullBackOff. The Kubernetes docs no longer reference this directory. * chore: drop stale NapCat references from compose comments Both comments pointed at the deleted NapCat-Docker repository, and the port comment named NapCat although the port is a generic OneBot v11 WebSocket port. * docs: stop advertising NapCat on the community deployment page The third-party Docker deployment script can no longer install a working NapCat, so describe it as an AstrBot deployment script only. * docs: keep the standalone log label in the Kubernetes guide Only the Sidecar log block is obsolete; keep the standalone log entry so the section still explains which deployment the command belongs to. * Update aiocqhttp.md * Update aiocqhttp.md * Update faq.md --------- Co-authored-by: Soulter <37870767+Soulter@users.noreply.github.com> | 15 days ago |
| fix: remove discontinued NapCat deployment guidance (#11110) * docs: remove discontinued NapCat deployment guidance NapCat stopped maintenance: the repository now keeps only an ending notice, the NapCat-Docker repository and the mlikiowa/napcat-docker image are gone, so every deployment recipe built on them is dead. Drop the NapCat appendix, the Docker Compose snippet, and the Kubernetes sidecar tutorial, and genericize the remaining NapCat-specific wording in the token field and the OneBot troubleshooting entry. Keep a short warning so users searching for NapCat still learn why it is gone and are told to evaluate other OneBot v11 implementations themselves. * chore(k8s): remove the NapCat sidecar manifests The manifests deploy mlikiowa/napcat-docker, which no longer exists on Docker Hub, so the pod can only end up in ImagePullBackOff. The Kubernetes docs no longer reference this directory. * chore: drop stale NapCat references from compose comments Both comments pointed at the deleted NapCat-Docker repository, and the port comment named NapCat although the port is a generic OneBot v11 WebSocket port. * docs: stop advertising NapCat on the community deployment page The third-party Docker deployment script can no longer install a working NapCat, so describe it as an AstrBot deployment script only. * docs: keep the standalone log label in the Kubernetes guide Only the Sidecar log block is obsolete; keep the standalone log entry so the section still explains which deployment the command belongs to. * Update aiocqhttp.md * Update aiocqhttp.md * Update faq.md --------- Co-authored-by: Soulter <37870767+Soulter@users.noreply.github.com> | 15 days ago |
| fix: enforce Python 3.12 at startup and align Ruff (#11469) * fix: align runtime version comparison * fix: check the Python version before startup imports * chore: target Python 3.12 in Ruff --------- Co-authored-by: wcqqq1214 <wcqqq1214@gmail.com> | 1 day ago |
| fix: enforce Python 3.12 at startup and align Ruff (#11469) * fix: align runtime version comparison * fix: check the Python version before startup imports * chore: target Python 3.12 in Ruff --------- Co-authored-by: wcqqq1214 <wcqqq1214@gmail.com> | 1 day ago |
| refactor(core): migrate backend backbone from Quart to FastAPI and introduce more OpenAPI (#8688) * refactor: migrate to fastapi * structure refactor * fix: pyright fix * refactor: improve error handling and public messages in plugin services * feat(api): refactor API client integration and enhance request handling - Updated API client configuration to use a dedicated HTTP client. - Introduced utility functions for generating options, queries, and form data for API requests. - Refactored multiple API methods to utilize the new utility functions for improved consistency and readability. - Renamed types for clarity and updated import statements accordingly. feat(docs): add script to update OpenAPI JSON from YAML spec - Created a Python script to convert OpenAPI YAML specification to JSON format. - The script supports customizable input and output paths. - Ensured the script handles directory creation for output paths and validates the YAML structure. * fix * feat(auth): implement rate limiting for v1 login endpoint and enhance request handling * Refactor dashboard API routers to use legacy_router for backward compatibility - Changed all instances of dashboard_router to legacy_router across multiple API modules including platform, plugins, providers, sessions, skills, stats, subagents, t2i, tools, updates, and asgi_runtime. - Updated route definitions to ensure existing endpoints remain functional under the new router structure. - Introduced support for Quart request context in asgi_runtime to enhance compatibility with existing Quart-based plugins. - Added a test case to validate the functionality of the new Quart request context handling in plugin extensions. * chore: remove cli test * fix: update dashboard tests for fastapi migration * chore: satisfy ruff checks * fix: update openapi api key scopes * fix: sync config scope chip selection * fix: restore quart dependency * docs: clarify quart plugin api compatibility * docs: update openapi scope documentation * fix: use singular skill openapi scope * fix: hide update service exception details * fix: address fastapi review comments * fix: address dashboard review findings * docs: revert unrelated package deployment changes * docs: update agent api generation guidance * feat: add plugin page web api helpers * docs: add plugin page bridge demo * fix: type plugin upload files * fix: stabilize plugin page uploads * fix: type plugin web request proxy * docs: remove plugin page docs example * fix: authenticate plugin page SSE bridge | 5 months ago |
| feat: add native Windows AppContainer sandbox (#10466) * feat: add native Windows AppContainer sandbox * feat: expose Windows sandbox policies in dashboard * docs: explain Windows local sandbox setup and limitations * fix: serialize Windows sandbox process cleanup * fix: use IOCP for Windows sandbox sessions * fix: align Windows dependencies and file access tests * docs: add Windows sandbox screenshots and update shell guidance * fix: preserve conditional ACEs during Windows sandbox setup * Merge remote-tracking branch 'origin/master' into fix/pr10466-merge-master # Conflicts: # dashboard/src/components/shared/LocalPermissionMatrix.vue # dashboard/src/i18n/locales/en-US/features/config-metadata.json # dashboard/src/i18n/locales/ja-JP/features/config-metadata.json # dashboard/src/i18n/locales/ru-RU/features/config-metadata.json # dashboard/src/i18n/locales/zh-CN/features/config-metadata.json # docs/en/use/astrbot-agent-sandbox.md # docs/en/use/computer.md # docs/zh/use/astrbot-agent-sandbox.md # docs/zh/use/computer.md * fix(webui): clarify local permission status and setup guidance * docs: preserve upstream guidance alongside Windows additions --------- Co-authored-by: tong <erxian.zhang@foxmail.com> | 27 days ago |
| chore: remove redundant logger messages and improve log clarity Co-authored-by: Copilot <copilot@github.com> | 6 months ago |