AstrBot 4.0.0b4__tar.gz → 4.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (513) hide show
  1. astrbot-4.1.0/.github/auto_assign.yml +36 -0
  2. {astrbot-4.0.0b4 → astrbot-4.1.0}/.github/workflows/auto_release.yml +1 -1
  3. {astrbot-4.0.0b4 → astrbot-4.1.0}/.github/workflows/coverage_test.yml +1 -1
  4. {astrbot-4.0.0b4 → astrbot-4.1.0}/.github/workflows/docker-image.yml +29 -2
  5. {astrbot-4.0.0b4 → astrbot-4.1.0}/.github/workflows/stale.yml +1 -1
  6. {astrbot-4.0.0b4 → astrbot-4.1.0}/PKG-INFO +40 -53
  7. {astrbot-4.0.0b4 → astrbot-4.1.0}/README.md +38 -51
  8. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/api/event/filter/__init__.py +2 -0
  9. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/cli/utils/basic.py +12 -3
  10. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/astrbot_config_mgr.py +16 -9
  11. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/config/default.py +82 -4
  12. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/initial_loader.py +4 -1
  13. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/message/components.py +59 -50
  14. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/pipeline/process_stage/method/llm_request.py +6 -2
  15. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/pipeline/result_decorate/stage.py +5 -1
  16. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/platform/manager.py +25 -3
  17. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/platform/sources/aiocqhttp/aiocqhttp_message_event.py +26 -14
  18. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/platform/sources/aiocqhttp/aiocqhttp_platform_adapter.py +11 -4
  19. astrbot-4.1.0/astrbot/core/platform/sources/satori/satori_adapter.py +482 -0
  20. astrbot-4.1.0/astrbot/core/platform/sources/satori/satori_event.py +221 -0
  21. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/platform/sources/telegram/tg_adapter.py +0 -1
  22. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/provider/entities.py +17 -15
  23. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/provider/sources/gemini_source.py +57 -18
  24. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/provider/sources/openai_source.py +12 -5
  25. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/provider/sources/vllm_rerank_source.py +6 -0
  26. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/star/__init__.py +7 -5
  27. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/star/filter/command.py +9 -3
  28. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/star/filter/platform_adapter_type.py +3 -0
  29. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/star/register/__init__.py +2 -0
  30. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/star/register/star_handler.py +18 -4
  31. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/star/star_handler.py +9 -1
  32. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/star/star_tools.py +116 -21
  33. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/updator.py +7 -5
  34. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/utils/io.py +1 -1
  35. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/utils/t2i/network_strategy.py +11 -18
  36. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/utils/t2i/renderer.py +8 -2
  37. astrbot-4.1.0/astrbot/core/utils/t2i/template/astrbot_powershell.html +184 -0
  38. astrbot-4.1.0/astrbot/core/utils/t2i/template_manager.py +112 -0
  39. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/zip_updator.py +26 -4
  40. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/dashboard/routes/chat.py +6 -1
  41. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/dashboard/routes/config.py +24 -49
  42. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/dashboard/routes/route.py +19 -2
  43. astrbot-4.1.0/astrbot/dashboard/routes/t2i.py +230 -0
  44. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/dashboard/routes/update.py +3 -5
  45. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/dashboard/server.py +13 -4
  46. astrbot-4.1.0/changelogs/v3.5.27.md +5 -0
  47. astrbot-4.1.0/changelogs/v4.0.0-beta.5.md +15 -0
  48. astrbot-4.1.0/changelogs/v4.0.0.md +24 -0
  49. astrbot-4.1.0/changelogs/v4.1.0.md +15 -0
  50. astrbot-4.1.0/dashboard/src/assets/images/platform_logos/satori.png +0 -0
  51. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/components/shared/AstrBotConfig.vue +49 -41
  52. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/components/shared/AstrBotConfigV4.vue +25 -17
  53. astrbot-4.1.0/dashboard/src/components/shared/ObjectEditor.vue +282 -0
  54. astrbot-4.1.0/dashboard/src/components/shared/T2ITemplateEditor.vue +546 -0
  55. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/i18n/locales/en-US/core/header.json +1 -1
  56. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/i18n/locales/en-US/features/platform.json +5 -0
  57. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/i18n/locales/zh-CN/core/header.json +1 -1
  58. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/i18n/locales/zh-CN/features/platform.json +5 -0
  59. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/layouts/full/vertical-header/VerticalHeader.vue +0 -4
  60. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/views/ConfigPage.vue +3 -1
  61. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/views/ExtensionPage.vue +2 -2
  62. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/views/PlatformPage.vue +108 -28
  63. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/views/alkaid/KnowledgeBase.vue +2 -2
  64. {astrbot-4.0.0b4 → astrbot-4.1.0}/main.py +33 -14
  65. {astrbot-4.0.0b4 → astrbot-4.1.0}/packages/astrbot/main.py +5 -2
  66. {astrbot-4.0.0b4 → astrbot-4.1.0}/packages/python_interpreter/main.py +4 -4
  67. {astrbot-4.0.0b4 → astrbot-4.1.0}/packages/web_searcher/main.py +30 -10
  68. {astrbot-4.0.0b4 → astrbot-4.1.0}/pyproject.toml +2 -2
  69. astrbot-4.0.0b4/dashboard/src/components/shared/T2ITemplateEditor.vue +0 -307
  70. {astrbot-4.0.0b4 → astrbot-4.1.0}/.dockerignore +0 -0
  71. {astrbot-4.0.0b4 → astrbot-4.1.0}/.github/FUNDING.yml +0 -0
  72. {astrbot-4.0.0b4 → astrbot-4.1.0}/.github/ISSUE_TEMPLATE/PLUGIN_PUBLISH.yml +0 -0
  73. {astrbot-4.0.0b4 → astrbot-4.1.0}/.github/ISSUE_TEMPLATE/bug-report.yml +0 -0
  74. {astrbot-4.0.0b4 → astrbot-4.1.0}/.github/ISSUE_TEMPLATE/feature-request.yml +0 -0
  75. {astrbot-4.0.0b4 → astrbot-4.1.0}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
  76. {astrbot-4.0.0b4 → astrbot-4.1.0}/.github/copilot-instructions.md +0 -0
  77. {astrbot-4.0.0b4 → astrbot-4.1.0}/.github/dependabot.yml +0 -0
  78. {astrbot-4.0.0b4 → astrbot-4.1.0}/.github/workflows/codeql.yml +0 -0
  79. {astrbot-4.0.0b4 → astrbot-4.1.0}/.github/workflows/dashboard_ci.yml +0 -0
  80. {astrbot-4.0.0b4 → astrbot-4.1.0}/.gitignore +0 -0
  81. {astrbot-4.0.0b4 → astrbot-4.1.0}/.pre-commit-config.yaml +0 -0
  82. {astrbot-4.0.0b4 → astrbot-4.1.0}/.python-version +0 -0
  83. {astrbot-4.0.0b4 → astrbot-4.1.0}/CODE_OF_CONDUCT.md +0 -0
  84. {astrbot-4.0.0b4 → astrbot-4.1.0}/Dockerfile +0 -0
  85. {astrbot-4.0.0b4 → astrbot-4.1.0}/Dockerfile_with_node +0 -0
  86. {astrbot-4.0.0b4 → astrbot-4.1.0}/LICENSE +0 -0
  87. {astrbot-4.0.0b4 → astrbot-4.1.0}/README_en.md +0 -0
  88. {astrbot-4.0.0b4 → astrbot-4.1.0}/README_ja.md +0 -0
  89. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/__init__.py +0 -0
  90. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/api/__init__.py +0 -0
  91. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/api/all.py +0 -0
  92. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/api/event/__init__.py +0 -0
  93. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/api/message_components.py +0 -0
  94. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/api/platform/__init__.py +0 -0
  95. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/api/provider/__init__.py +0 -0
  96. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/api/star/__init__.py +0 -0
  97. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/api/util/__init__.py +0 -0
  98. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/cli/__init__.py +0 -0
  99. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/cli/__main__.py +0 -0
  100. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/cli/commands/__init__.py +0 -0
  101. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/cli/commands/cmd_conf.py +0 -0
  102. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/cli/commands/cmd_init.py +0 -0
  103. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/cli/commands/cmd_plug.py +0 -0
  104. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/cli/commands/cmd_run.py +0 -0
  105. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/cli/utils/__init__.py +0 -0
  106. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/cli/utils/plugin.py +0 -0
  107. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/cli/utils/version_comparator.py +0 -0
  108. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/__init__.py +0 -0
  109. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/agent/agent.py +0 -0
  110. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/agent/handoff.py +0 -0
  111. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/agent/hooks.py +0 -0
  112. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/agent/mcp_client.py +0 -0
  113. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/agent/response.py +0 -0
  114. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/agent/run_context.py +0 -0
  115. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/agent/runners/__init__.py +0 -0
  116. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/agent/runners/base.py +0 -0
  117. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/agent/runners/tool_loop_agent_runner.py +0 -0
  118. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/agent/tool.py +0 -0
  119. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/agent/tool_executor.py +0 -0
  120. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/astr_agent_context.py +0 -0
  121. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/config/__init__.py +0 -0
  122. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/config/astrbot_config.py +0 -0
  123. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/conversation_mgr.py +0 -0
  124. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/core_lifecycle.py +0 -0
  125. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/db/__init__.py +0 -0
  126. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/db/migration/helper.py +0 -0
  127. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/db/migration/migra_3_to_4.py +0 -0
  128. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/db/migration/shared_preferences_v3.py +0 -0
  129. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/db/migration/sqlite_v3.py +0 -0
  130. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/db/po.py +0 -0
  131. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/db/sqlite.py +0 -0
  132. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/db/vec_db/base.py +0 -0
  133. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/db/vec_db/faiss_impl/__init__.py +0 -0
  134. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/db/vec_db/faiss_impl/document_storage.py +0 -0
  135. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/db/vec_db/faiss_impl/embedding_storage.py +0 -0
  136. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/db/vec_db/faiss_impl/sqlite_init.sql +0 -0
  137. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/db/vec_db/faiss_impl/vec_db.py +0 -0
  138. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/event_bus.py +0 -0
  139. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/file_token_service.py +0 -0
  140. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/log.py +0 -0
  141. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/message/message_event_result.py +0 -0
  142. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/persona_mgr.py +0 -0
  143. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/pipeline/__init__.py +0 -0
  144. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/pipeline/content_safety_check/stage.py +0 -0
  145. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/pipeline/content_safety_check/strategies/__init__.py +0 -0
  146. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/pipeline/content_safety_check/strategies/baidu_aip.py +0 -0
  147. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/pipeline/content_safety_check/strategies/keywords.py +0 -0
  148. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/pipeline/content_safety_check/strategies/strategy.py +0 -0
  149. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/pipeline/context.py +0 -0
  150. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/pipeline/context_utils.py +0 -0
  151. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/pipeline/preprocess_stage/stage.py +0 -0
  152. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/pipeline/process_stage/method/star_request.py +0 -0
  153. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/pipeline/process_stage/stage.py +0 -0
  154. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/pipeline/rate_limit_check/stage.py +0 -0
  155. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/pipeline/respond/stage.py +0 -0
  156. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/pipeline/scheduler.py +0 -0
  157. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/pipeline/session_status_check/stage.py +0 -0
  158. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/pipeline/stage.py +0 -0
  159. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/pipeline/waking_check/stage.py +0 -0
  160. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/pipeline/whitelist_check/stage.py +0 -0
  161. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/platform/__init__.py +0 -0
  162. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/platform/astr_message_event.py +0 -0
  163. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/platform/astrbot_message.py +0 -0
  164. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/platform/message_session.py +0 -0
  165. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/platform/message_type.py +0 -0
  166. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/platform/platform.py +0 -0
  167. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/platform/platform_metadata.py +0 -0
  168. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/platform/register.py +0 -0
  169. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/platform/sources/dingtalk/dingtalk_adapter.py +0 -0
  170. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/platform/sources/dingtalk/dingtalk_event.py +0 -0
  171. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/platform/sources/discord/client.py +0 -0
  172. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/platform/sources/discord/components.py +0 -0
  173. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/platform/sources/discord/discord_platform_adapter.py +0 -0
  174. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/platform/sources/discord/discord_platform_event.py +0 -0
  175. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/platform/sources/lark/lark_adapter.py +0 -0
  176. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/platform/sources/lark/lark_event.py +0 -0
  177. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/platform/sources/qqofficial/qqofficial_message_event.py +0 -0
  178. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/platform/sources/qqofficial/qqofficial_platform_adapter.py +0 -0
  179. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/platform/sources/qqofficial_webhook/qo_webhook_adapter.py +0 -0
  180. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/platform/sources/qqofficial_webhook/qo_webhook_event.py +0 -0
  181. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/platform/sources/qqofficial_webhook/qo_webhook_server.py +0 -0
  182. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/platform/sources/slack/client.py +0 -0
  183. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/platform/sources/slack/slack_adapter.py +0 -0
  184. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/platform/sources/slack/slack_event.py +0 -0
  185. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/platform/sources/telegram/tg_event.py +0 -0
  186. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/platform/sources/webchat/webchat_adapter.py +0 -0
  187. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/platform/sources/webchat/webchat_event.py +0 -0
  188. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/platform/sources/webchat/webchat_queue_mgr.py +0 -0
  189. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/platform/sources/wechatpadpro/wechatpadpro_adapter.py +0 -0
  190. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/platform/sources/wechatpadpro/wechatpadpro_message_event.py +0 -0
  191. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/platform/sources/wechatpadpro/xml_data_parser.py +0 -0
  192. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/platform/sources/wecom/wecom_adapter.py +0 -0
  193. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/platform/sources/wecom/wecom_event.py +0 -0
  194. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/platform/sources/wecom/wecom_kf.py +0 -0
  195. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/platform/sources/wecom/wecom_kf_message.py +0 -0
  196. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/platform/sources/weixin_official_account/weixin_offacc_adapter.py +0 -0
  197. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/platform/sources/weixin_official_account/weixin_offacc_event.py +0 -0
  198. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/platform_message_history_mgr.py +0 -0
  199. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/provider/__init__.py +0 -0
  200. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/provider/entites.py +0 -0
  201. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/provider/func_tool_manager.py +0 -0
  202. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/provider/manager.py +0 -0
  203. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/provider/provider.py +0 -0
  204. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/provider/register.py +0 -0
  205. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/provider/sources/anthropic_source.py +0 -0
  206. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/provider/sources/azure_tts_source.py +0 -0
  207. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/provider/sources/dashscope_source.py +0 -0
  208. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/provider/sources/dashscope_tts.py +0 -0
  209. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/provider/sources/dify_source.py +0 -0
  210. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/provider/sources/edge_tts_source.py +0 -0
  211. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/provider/sources/fishaudio_tts_api_source.py +0 -0
  212. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/provider/sources/gemini_embedding_source.py +0 -0
  213. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/provider/sources/gemini_tts_source.py +0 -0
  214. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/provider/sources/gsv_selfhosted_source.py +0 -0
  215. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/provider/sources/gsvi_tts_source.py +0 -0
  216. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/provider/sources/minimax_tts_api_source.py +0 -0
  217. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/provider/sources/openai_embedding_source.py +0 -0
  218. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/provider/sources/openai_tts_api_source.py +0 -0
  219. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/provider/sources/sensevoice_selfhosted_source.py +0 -0
  220. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/provider/sources/volcengine_tts.py +0 -0
  221. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/provider/sources/whisper_api_source.py +0 -0
  222. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/provider/sources/whisper_selfhosted_source.py +0 -0
  223. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/provider/sources/zhipu_source.py +0 -0
  224. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/star/README.md +0 -0
  225. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/star/config.py +0 -0
  226. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/star/context.py +0 -0
  227. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/star/filter/__init__.py +0 -0
  228. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/star/filter/command_group.py +0 -0
  229. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/star/filter/custom_filter.py +0 -0
  230. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/star/filter/event_message_type.py +0 -0
  231. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/star/filter/permission.py +0 -0
  232. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/star/filter/regex.py +0 -0
  233. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/star/register/star.py +0 -0
  234. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/star/session_llm_manager.py +0 -0
  235. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/star/session_plugin_manager.py +0 -0
  236. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/star/star.py +0 -0
  237. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/star/star_manager.py +0 -0
  238. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/star/updator.py +0 -0
  239. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/utils/astrbot_path.py +0 -0
  240. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/utils/command_parser.py +0 -0
  241. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/utils/dify_api_client.py +0 -0
  242. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/utils/log_pipe.py +0 -0
  243. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/utils/metrics.py +0 -0
  244. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/utils/path_util.py +0 -0
  245. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/utils/pip_installer.py +0 -0
  246. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/utils/session_lock.py +0 -0
  247. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/utils/session_waiter.py +0 -0
  248. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/utils/shared_preferences.py +0 -0
  249. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/utils/t2i/__init__.py +0 -0
  250. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/utils/t2i/local_strategy.py +0 -0
  251. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/utils/t2i/template/base.html +0 -0
  252. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/utils/tencent_record_helper.py +0 -0
  253. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/core/utils/version_comparator.py +0 -0
  254. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/dashboard/routes/__init__.py +0 -0
  255. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/dashboard/routes/auth.py +0 -0
  256. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/dashboard/routes/conversation.py +0 -0
  257. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/dashboard/routes/file.py +0 -0
  258. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/dashboard/routes/log.py +0 -0
  259. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/dashboard/routes/persona.py +0 -0
  260. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/dashboard/routes/plugin.py +0 -0
  261. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/dashboard/routes/session_management.py +0 -0
  262. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/dashboard/routes/stat.py +0 -0
  263. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/dashboard/routes/static_file.py +0 -0
  264. {astrbot-4.0.0b4 → astrbot-4.1.0}/astrbot/dashboard/routes/tools.py +0 -0
  265. {astrbot-4.0.0b4 → astrbot-4.1.0}/changelogs/v3.4.0.md +0 -0
  266. {astrbot-4.0.0b4 → astrbot-4.1.0}/changelogs/v3.4.1.md +0 -0
  267. {astrbot-4.0.0b4 → astrbot-4.1.0}/changelogs/v3.4.10.md +0 -0
  268. {astrbot-4.0.0b4 → astrbot-4.1.0}/changelogs/v3.4.11.md +0 -0
  269. {astrbot-4.0.0b4 → astrbot-4.1.0}/changelogs/v3.4.12.md +0 -0
  270. {astrbot-4.0.0b4 → astrbot-4.1.0}/changelogs/v3.4.13.md +0 -0
  271. {astrbot-4.0.0b4 → astrbot-4.1.0}/changelogs/v3.4.14.md +0 -0
  272. {astrbot-4.0.0b4 → astrbot-4.1.0}/changelogs/v3.4.15.md +0 -0
  273. {astrbot-4.0.0b4 → astrbot-4.1.0}/changelogs/v3.4.16.md +0 -0
  274. {astrbot-4.0.0b4 → astrbot-4.1.0}/changelogs/v3.4.17.md +0 -0
  275. {astrbot-4.0.0b4 → astrbot-4.1.0}/changelogs/v3.4.18.md +0 -0
  276. {astrbot-4.0.0b4 → astrbot-4.1.0}/changelogs/v3.4.19.md +0 -0
  277. {astrbot-4.0.0b4 → astrbot-4.1.0}/changelogs/v3.4.20.md +0 -0
  278. {astrbot-4.0.0b4 → astrbot-4.1.0}/changelogs/v3.4.21.md +0 -0
  279. {astrbot-4.0.0b4 → astrbot-4.1.0}/changelogs/v3.4.22.md +0 -0
  280. {astrbot-4.0.0b4 → astrbot-4.1.0}/changelogs/v3.4.23.md +0 -0
  281. {astrbot-4.0.0b4 → astrbot-4.1.0}/changelogs/v3.4.24.md +0 -0
  282. {astrbot-4.0.0b4 → astrbot-4.1.0}/changelogs/v3.4.25.md +0 -0
  283. {astrbot-4.0.0b4 → astrbot-4.1.0}/changelogs/v3.4.26.md +0 -0
  284. {astrbot-4.0.0b4 → astrbot-4.1.0}/changelogs/v3.4.27.md +0 -0
  285. {astrbot-4.0.0b4 → astrbot-4.1.0}/changelogs/v3.4.28.md +0 -0
  286. {astrbot-4.0.0b4 → astrbot-4.1.0}/changelogs/v3.4.29.md +0 -0
  287. {astrbot-4.0.0b4 → astrbot-4.1.0}/changelogs/v3.4.3.md +0 -0
  288. {astrbot-4.0.0b4 → astrbot-4.1.0}/changelogs/v3.4.30.md +0 -0
  289. {astrbot-4.0.0b4 → astrbot-4.1.0}/changelogs/v3.4.31.md +0 -0
  290. {astrbot-4.0.0b4 → astrbot-4.1.0}/changelogs/v3.4.32.md +0 -0
  291. {astrbot-4.0.0b4 → astrbot-4.1.0}/changelogs/v3.4.33.md +0 -0
  292. {astrbot-4.0.0b4 → astrbot-4.1.0}/changelogs/v3.4.35.md +0 -0
  293. {astrbot-4.0.0b4 → astrbot-4.1.0}/changelogs/v3.4.36.md +0 -0
  294. {astrbot-4.0.0b4 → astrbot-4.1.0}/changelogs/v3.4.37.md +0 -0
  295. {astrbot-4.0.0b4 → astrbot-4.1.0}/changelogs/v3.4.38.md +0 -0
  296. {astrbot-4.0.0b4 → astrbot-4.1.0}/changelogs/v3.4.39.md +0 -0
  297. {astrbot-4.0.0b4 → astrbot-4.1.0}/changelogs/v3.4.4.md +0 -0
  298. {astrbot-4.0.0b4 → astrbot-4.1.0}/changelogs/v3.4.5.md +0 -0
  299. {astrbot-4.0.0b4 → astrbot-4.1.0}/changelogs/v3.4.6.md +0 -0
  300. {astrbot-4.0.0b4 → astrbot-4.1.0}/changelogs/v3.4.7.md +0 -0
  301. {astrbot-4.0.0b4 → astrbot-4.1.0}/changelogs/v3.4.8.md +0 -0
  302. {astrbot-4.0.0b4 → astrbot-4.1.0}/changelogs/v3.4.9.md +0 -0
  303. {astrbot-4.0.0b4 → astrbot-4.1.0}/changelogs/v3.5.0.md +0 -0
  304. {astrbot-4.0.0b4 → astrbot-4.1.0}/changelogs/v3.5.1.md +0 -0
  305. {astrbot-4.0.0b4 → astrbot-4.1.0}/changelogs/v3.5.10.md +0 -0
  306. {astrbot-4.0.0b4 → astrbot-4.1.0}/changelogs/v3.5.11.md +0 -0
  307. {astrbot-4.0.0b4 → astrbot-4.1.0}/changelogs/v3.5.12.md +0 -0
  308. {astrbot-4.0.0b4 → astrbot-4.1.0}/changelogs/v3.5.13.md +0 -0
  309. {astrbot-4.0.0b4 → astrbot-4.1.0}/changelogs/v3.5.14.md +0 -0
  310. {astrbot-4.0.0b4 → astrbot-4.1.0}/changelogs/v3.5.15.md +0 -0
  311. {astrbot-4.0.0b4 → astrbot-4.1.0}/changelogs/v3.5.16.md +0 -0
  312. {astrbot-4.0.0b4 → astrbot-4.1.0}/changelogs/v3.5.17.md +0 -0
  313. {astrbot-4.0.0b4 → astrbot-4.1.0}/changelogs/v3.5.18.md +0 -0
  314. {astrbot-4.0.0b4 → astrbot-4.1.0}/changelogs/v3.5.19.md +0 -0
  315. {astrbot-4.0.0b4 → astrbot-4.1.0}/changelogs/v3.5.2.md +0 -0
  316. {astrbot-4.0.0b4 → astrbot-4.1.0}/changelogs/v3.5.20.md +0 -0
  317. {astrbot-4.0.0b4 → astrbot-4.1.0}/changelogs/v3.5.21.md +0 -0
  318. {astrbot-4.0.0b4 → astrbot-4.1.0}/changelogs/v3.5.22.md +0 -0
  319. {astrbot-4.0.0b4 → astrbot-4.1.0}/changelogs/v3.5.23.md +0 -0
  320. {astrbot-4.0.0b4 → astrbot-4.1.0}/changelogs/v3.5.24.md +0 -0
  321. {astrbot-4.0.0b4 → astrbot-4.1.0}/changelogs/v3.5.25.md +0 -0
  322. {astrbot-4.0.0b4 → astrbot-4.1.0}/changelogs/v3.5.26.md +0 -0
  323. {astrbot-4.0.0b4 → astrbot-4.1.0}/changelogs/v3.5.3.1.md +0 -0
  324. {astrbot-4.0.0b4 → astrbot-4.1.0}/changelogs/v3.5.3.2.md +0 -0
  325. {astrbot-4.0.0b4 → astrbot-4.1.0}/changelogs/v3.5.3.md +0 -0
  326. {astrbot-4.0.0b4 → astrbot-4.1.0}/changelogs/v3.5.4.md +0 -0
  327. {astrbot-4.0.0b4 → astrbot-4.1.0}/changelogs/v3.5.5.md +0 -0
  328. {astrbot-4.0.0b4 → astrbot-4.1.0}/changelogs/v3.5.6.md +0 -0
  329. {astrbot-4.0.0b4 → astrbot-4.1.0}/changelogs/v3.5.7.md +0 -0
  330. {astrbot-4.0.0b4 → astrbot-4.1.0}/changelogs/v3.5.8.md +0 -0
  331. {astrbot-4.0.0b4 → astrbot-4.1.0}/changelogs/v3.5.9.md +0 -0
  332. {astrbot-4.0.0b4 → astrbot-4.1.0}/changelogs/v4.0.0-beta.3.md +0 -0
  333. {astrbot-4.0.0b4 → astrbot-4.1.0}/changelogs/v4.0.0-beta.4.md +0 -0
  334. {astrbot-4.0.0b4 → astrbot-4.1.0}/compose.yml +0 -0
  335. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/.gitignore +0 -0
  336. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/LICENSE +0 -0
  337. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/README.md +0 -0
  338. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/env.d.ts +0 -0
  339. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/index.html +0 -0
  340. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/public/_redirects +0 -0
  341. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/public/favicon.svg +0 -0
  342. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/App.vue +0 -0
  343. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/assets/images/astrbot_banner.png +0 -0
  344. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/assets/images/astrbot_logo_mini.webp +0 -0
  345. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/assets/images/platform_logos/dingtalk.svg +0 -0
  346. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/assets/images/platform_logos/discord.svg +0 -0
  347. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/assets/images/platform_logos/kook.png +0 -0
  348. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/assets/images/platform_logos/lark.png +0 -0
  349. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/assets/images/platform_logos/qq.png +0 -0
  350. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/assets/images/platform_logos/slack.svg +0 -0
  351. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/assets/images/platform_logos/telegram.svg +0 -0
  352. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/assets/images/platform_logos/vocechat.png +0 -0
  353. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/assets/images/platform_logos/wechat.png +0 -0
  354. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/assets/images/platform_logos/wecom.png +0 -0
  355. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/components/ConfirmDialog.vue +0 -0
  356. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/components/chat/ProviderModelSelector.vue +0 -0
  357. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/components/shared/ConsoleDisplayer.vue +0 -0
  358. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/components/shared/ExtensionCard.vue +0 -0
  359. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/components/shared/ItemCard.vue +0 -0
  360. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/components/shared/ItemCardGrid.vue +0 -0
  361. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/components/shared/KnowledgeBaseSelector.vue +0 -0
  362. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/components/shared/LanguageSwitcher.vue +0 -0
  363. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/components/shared/ListConfigItem.vue +0 -0
  364. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/components/shared/Logo.vue +0 -0
  365. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/components/shared/MigrationDialog.vue +0 -0
  366. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/components/shared/PersonaSelector.vue +0 -0
  367. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/components/shared/PluginSetSelector.vue +0 -0
  368. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/components/shared/ProviderSelector.vue +0 -0
  369. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/components/shared/ProxySelector.vue +0 -0
  370. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/components/shared/ReadmeDialog.vue +0 -0
  371. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/components/shared/UiParentCard.vue +0 -0
  372. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/components/shared/WaitingForRestart.vue +0 -0
  373. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/config.ts +0 -0
  374. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/i18n/composables.ts +0 -0
  375. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/i18n/loader.ts +0 -0
  376. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/i18n/locales/en-US/core/actions.json +0 -0
  377. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/i18n/locales/en-US/core/common.json +0 -0
  378. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/i18n/locales/en-US/core/navigation.json +0 -0
  379. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/i18n/locales/en-US/core/status.json +0 -0
  380. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/i18n/locales/en-US/features/about.json +0 -0
  381. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/i18n/locales/en-US/features/alkaid/index.json +0 -0
  382. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/i18n/locales/en-US/features/alkaid/knowledge-base.json +0 -0
  383. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/i18n/locales/en-US/features/alkaid/memory.json +0 -0
  384. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/i18n/locales/en-US/features/auth.json +0 -0
  385. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/i18n/locales/en-US/features/chart.json +0 -0
  386. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/i18n/locales/en-US/features/chat.json +0 -0
  387. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/i18n/locales/en-US/features/config.json +0 -0
  388. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/i18n/locales/en-US/features/console.json +0 -0
  389. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/i18n/locales/en-US/features/conversation.json +0 -0
  390. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/i18n/locales/en-US/features/dashboard.json +0 -0
  391. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/i18n/locales/en-US/features/extension.json +0 -0
  392. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/i18n/locales/en-US/features/migration.json +0 -0
  393. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/i18n/locales/en-US/features/persona.json +0 -0
  394. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/i18n/locales/en-US/features/provider.json +0 -0
  395. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/i18n/locales/en-US/features/session-management.json +0 -0
  396. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/i18n/locales/en-US/features/settings.json +0 -0
  397. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/i18n/locales/en-US/features/tool-use.json +0 -0
  398. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/i18n/locales/en-US/messages/errors.json +0 -0
  399. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/i18n/locales/en-US/messages/success.json +0 -0
  400. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/i18n/locales/en-US/messages/validation.json +0 -0
  401. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/i18n/locales/zh-CN/core/actions.json +0 -0
  402. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/i18n/locales/zh-CN/core/common.json +0 -0
  403. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/i18n/locales/zh-CN/core/navigation.json +0 -0
  404. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/i18n/locales/zh-CN/core/status.json +0 -0
  405. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/i18n/locales/zh-CN/features/about.json +0 -0
  406. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/i18n/locales/zh-CN/features/alkaid/index.json +0 -0
  407. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/i18n/locales/zh-CN/features/alkaid/knowledge-base.json +0 -0
  408. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/i18n/locales/zh-CN/features/alkaid/memory.json +0 -0
  409. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/i18n/locales/zh-CN/features/auth.json +0 -0
  410. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/i18n/locales/zh-CN/features/chart.json +0 -0
  411. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/i18n/locales/zh-CN/features/chat.json +0 -0
  412. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/i18n/locales/zh-CN/features/config.json +0 -0
  413. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/i18n/locales/zh-CN/features/console.json +0 -0
  414. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/i18n/locales/zh-CN/features/conversation.json +0 -0
  415. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/i18n/locales/zh-CN/features/dashboard.json +0 -0
  416. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/i18n/locales/zh-CN/features/extension.json +0 -0
  417. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/i18n/locales/zh-CN/features/migration.json +0 -0
  418. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/i18n/locales/zh-CN/features/persona.json +0 -0
  419. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/i18n/locales/zh-CN/features/provider.json +0 -0
  420. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/i18n/locales/zh-CN/features/session-management.json +0 -0
  421. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/i18n/locales/zh-CN/features/settings.json +0 -0
  422. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/i18n/locales/zh-CN/features/tool-use.json +0 -0
  423. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/i18n/locales/zh-CN/messages/errors.json +0 -0
  424. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/i18n/locales/zh-CN/messages/success.json +0 -0
  425. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/i18n/locales/zh-CN/messages/validation.json +0 -0
  426. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/i18n/tools/index.ts +0 -0
  427. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/i18n/translations.ts +0 -0
  428. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/i18n/types.ts +0 -0
  429. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/i18n/validator.ts +0 -0
  430. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/layouts/blank/BlankLayout.vue +0 -0
  431. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/layouts/full/FullLayout.vue +0 -0
  432. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/layouts/full/vertical-sidebar/NavItem.vue +0 -0
  433. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/layouts/full/vertical-sidebar/VerticalSidebar.vue +0 -0
  434. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/layouts/full/vertical-sidebar/sidebarItem.ts +0 -0
  435. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/main.ts +0 -0
  436. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/plugins/confirmPlugin.ts +0 -0
  437. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/plugins/vuetify.ts +0 -0
  438. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/router/AuthRoutes.ts +0 -0
  439. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/router/ChatBoxRoutes.ts +0 -0
  440. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/router/MainRoutes.ts +0 -0
  441. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/router/index.ts +0 -0
  442. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/scss/_override.scss +0 -0
  443. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/scss/_variables.scss +0 -0
  444. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/scss/components/_VButtons.scss +0 -0
  445. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/scss/components/_VCard.scss +0 -0
  446. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/scss/components/_VField.scss +0 -0
  447. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/scss/components/_VInput.scss +0 -0
  448. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/scss/components/_VNavigationDrawer.scss +0 -0
  449. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/scss/components/_VScrollbar.scss +0 -0
  450. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/scss/components/_VShadow.scss +0 -0
  451. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/scss/components/_VTabs.scss +0 -0
  452. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/scss/components/_VTextField.scss +0 -0
  453. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/scss/layout/_container.scss +0 -0
  454. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/scss/layout/_sidebar.scss +0 -0
  455. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/scss/pages/_dashboards.scss +0 -0
  456. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/scss/style.scss +0 -0
  457. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/stores/auth.ts +0 -0
  458. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/stores/common.js +0 -0
  459. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/stores/customizer.ts +0 -0
  460. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/theme/DarkTheme.ts +0 -0
  461. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/theme/LightTheme.ts +0 -0
  462. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/types/themeTypes/ThemeType.ts +0 -0
  463. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/types/vue3-print-nb.d.ts +0 -0
  464. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/types/vue_tabler_icon.d.ts +0 -0
  465. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/views/AboutPage.vue +0 -0
  466. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/views/AlkaidPage.vue +0 -0
  467. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/views/ChatBoxPage.vue +0 -0
  468. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/views/ChatPage.vue +0 -0
  469. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/views/ConsolePage.vue +0 -0
  470. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/views/ConversationPage.vue +0 -0
  471. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/views/PersonaPage.vue +0 -0
  472. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/views/ProviderPage.vue +0 -0
  473. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/views/SessionManagementPage.vue +0 -0
  474. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/views/Settings.vue +0 -0
  475. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/views/ToolUsePage.vue +0 -0
  476. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/views/alkaid/LongTermMemory.vue +0 -0
  477. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/views/alkaid/Other.vue +0 -0
  478. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/views/authentication/auth/LoginPage.vue +0 -0
  479. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/views/authentication/authForms/AuthLogin.vue +0 -0
  480. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/views/dashboards/default/DefaultDashboard.vue +0 -0
  481. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/views/dashboards/default/components/MemoryUsage.vue +0 -0
  482. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/views/dashboards/default/components/MessageStat.vue +0 -0
  483. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/views/dashboards/default/components/OnlinePlatform.vue +0 -0
  484. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/views/dashboards/default/components/OnlineTime.vue +0 -0
  485. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/views/dashboards/default/components/PlatformStat.vue +0 -0
  486. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/views/dashboards/default/components/RunningTime.vue +0 -0
  487. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/src/views/dashboards/default/components/TotalMessage.vue +0 -0
  488. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/tsconfig.json +0 -0
  489. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/tsconfig.vite-config.json +0 -0
  490. {astrbot-4.0.0b4 → astrbot-4.1.0}/dashboard/vite.config.ts +0 -0
  491. {astrbot-4.0.0b4 → astrbot-4.1.0}/packages/astrbot/long_term_memory.py +0 -0
  492. {astrbot-4.0.0b4 → astrbot-4.1.0}/packages/astrbot/metadata.yaml +0 -0
  493. {astrbot-4.0.0b4 → astrbot-4.1.0}/packages/python_interpreter/metadata.yaml +0 -0
  494. {astrbot-4.0.0b4 → astrbot-4.1.0}/packages/python_interpreter/requirements.txt +0 -0
  495. {astrbot-4.0.0b4 → astrbot-4.1.0}/packages/python_interpreter/shared/api.py +0 -0
  496. {astrbot-4.0.0b4 → astrbot-4.1.0}/packages/reminder/main.py +0 -0
  497. {astrbot-4.0.0b4 → astrbot-4.1.0}/packages/reminder/metadata.yaml +0 -0
  498. {astrbot-4.0.0b4 → astrbot-4.1.0}/packages/session_controller/main.py +0 -0
  499. {astrbot-4.0.0b4 → astrbot-4.1.0}/packages/session_controller/metadata.yaml +0 -0
  500. {astrbot-4.0.0b4 → astrbot-4.1.0}/packages/thinking_filter/main.py +0 -0
  501. {astrbot-4.0.0b4 → astrbot-4.1.0}/packages/thinking_filter/metadata.yaml +0 -0
  502. {astrbot-4.0.0b4 → astrbot-4.1.0}/packages/web_searcher/engines/__init__.py +0 -0
  503. {astrbot-4.0.0b4 → astrbot-4.1.0}/packages/web_searcher/engines/bing.py +0 -0
  504. {astrbot-4.0.0b4 → astrbot-4.1.0}/packages/web_searcher/engines/google.py +0 -0
  505. {astrbot-4.0.0b4 → astrbot-4.1.0}/packages/web_searcher/engines/sogo.py +0 -0
  506. {astrbot-4.0.0b4 → astrbot-4.1.0}/packages/web_searcher/metadata.yaml +0 -0
  507. {astrbot-4.0.0b4 → astrbot-4.1.0}/requirements.txt +0 -0
  508. {astrbot-4.0.0b4 → astrbot-4.1.0}/samples/stt_health_check.wav +0 -0
  509. {astrbot-4.0.0b4 → astrbot-4.1.0}/tests/test_dashboard.py +0 -0
  510. {astrbot-4.0.0b4 → astrbot-4.1.0}/tests/test_main.py +0 -0
  511. {astrbot-4.0.0b4 → astrbot-4.1.0}/tests/test_pipeline.py +0 -0
  512. {astrbot-4.0.0b4 → astrbot-4.1.0}/tests/test_plugin_manager.py +0 -0
  513. {astrbot-4.0.0b4 → astrbot-4.1.0}/uv.lock +0 -0
@@ -0,0 +1,36 @@
1
+ # Set to true to add reviewers to pull requests
2
+ addReviewers: true
3
+
4
+ # Set to true to add assignees to pull requests
5
+ addAssignees: false
6
+
7
+ # A list of reviewers to be added to pull requests (GitHub user name)
8
+ reviewers:
9
+ - Soulter
10
+ - Raven95676
11
+ - Larch-C
12
+ - anka-afk
13
+ - advent259141
14
+ # - zouyonghe
15
+
16
+ # A number of reviewers added to the pull request
17
+ # Set 0 to add all the reviewers (default: 0)
18
+ numberOfReviewers: 2
19
+
20
+ # A list of assignees, overrides reviewers if set
21
+ # assignees:
22
+ # - assigneeA
23
+
24
+ # A number of assignees to add to the pull request
25
+ # Set to 0 to add all of the assignees.
26
+ # Uses numberOfReviewers if unset.
27
+ # numberOfAssignees: 2
28
+
29
+ # A list of keywords to be skipped the process that add reviewers if pull requests include it
30
+ skipKeywords:
31
+ - wip
32
+ - draft
33
+
34
+ # A list of users to be skipped by both the add reviewers and add assignees processes
35
+ # skipUsers:
36
+ # - dependabot[bot]
@@ -73,7 +73,7 @@ jobs:
73
73
  uses: actions/checkout@v5
74
74
 
75
75
  - name: Set up Python
76
- uses: actions/setup-python@v5
76
+ uses: actions/setup-python@v6
77
77
  with:
78
78
  python-version: '3.10'
79
79
 
@@ -22,7 +22,7 @@ jobs:
22
22
  fetch-depth: 0
23
23
 
24
24
  - name: Set up Python
25
- uses: actions/setup-python@v5
25
+ uses: actions/setup-python@v6
26
26
 
27
27
  - name: Install dependencies
28
28
  run: |
@@ -27,6 +27,33 @@ jobs:
27
27
  if: github.event_name == 'workflow_dispatch'
28
28
  run: git checkout ${{ steps.get-latest-tag.outputs.latest_tag }}
29
29
 
30
+ - name: Check if version is pre-release
31
+ id: check-prerelease
32
+ run: |
33
+ if [ "${{ github.event_name }}" == "workflow_dispatch" ]; then
34
+ version="${{ steps.get-latest-tag.outputs.latest_tag }}"
35
+ else
36
+ version="${{ github.ref_name }}"
37
+ fi
38
+ if [[ "$version" == *"beta"* ]] || [[ "$version" == *"alpha"* ]]; then
39
+ echo "is_prerelease=true" >> $GITHUB_OUTPUT
40
+ echo "Version $version is a pre-release, will not push latest tag"
41
+ else
42
+ echo "is_prerelease=false" >> $GITHUB_OUTPUT
43
+ echo "Version $version is a stable release, will push latest tag"
44
+ fi
45
+
46
+ - name: Build Dashboard
47
+ run: |
48
+ cd dashboard
49
+ npm install
50
+ npm run build
51
+ mkdir -p dist/assets
52
+ echo $(git rev-parse HEAD) > dist/assets/version
53
+ cd ..
54
+ mkdir -p data
55
+ cp -r dashboard/dist data/
56
+
30
57
  - name: Set QEMU
31
58
  uses: docker/setup-qemu-action@v3
32
59
 
@@ -53,9 +80,9 @@ jobs:
53
80
  platforms: linux/amd64,linux/arm64
54
81
  push: true
55
82
  tags: |
56
- ${{ secrets.DOCKER_HUB_USERNAME }}/astrbot:latest
83
+ ${{ steps.check-prerelease.outputs.is_prerelease == 'false' && format('{0}/astrbot:latest', secrets.DOCKER_HUB_USERNAME) || '' }}
57
84
  ${{ secrets.DOCKER_HUB_USERNAME }}/astrbot:${{ github.event_name == 'workflow_dispatch' && steps.get-latest-tag.outputs.latest_tag || github.ref_name }}
58
- ghcr.io/soulter/astrbot:latest
85
+ ${{ steps.check-prerelease.outputs.is_prerelease == 'false' && 'ghcr.io/soulter/astrbot:latest' || '' }}
59
86
  ghcr.io/soulter/astrbot:${{ github.event_name == 'workflow_dispatch' && steps.get-latest-tag.outputs.latest_tag || github.ref_name }}
60
87
 
61
88
  - name: Post build notifications
@@ -18,7 +18,7 @@ jobs:
18
18
  pull-requests: write
19
19
 
20
20
  steps:
21
- - uses: actions/stale@v9
21
+ - uses: actions/stale@v10
22
22
  with:
23
23
  repo-token: ${{ secrets.GITHUB_TOKEN }}
24
24
  stale-issue-message: 'Stale issue message'
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: AstrBot
3
- Version: 4.0.0b4
3
+ Version: 4.1.0
4
4
  Summary: 易上手的多平台 LLM 聊天机器人及开发框架
5
5
  License-File: LICENSE
6
6
  Requires-Python: >=3.10
@@ -20,7 +20,7 @@ Requires-Dist: defusedxml>=0.7.1
20
20
  Requires-Dist: deprecated>=1.2.18
21
21
  Requires-Dist: dingtalk-stream>=0.22.1
22
22
  Requires-Dist: docstring-parser>=0.16
23
- Requires-Dist: faiss-cpu>=1.10.0
23
+ Requires-Dist: faiss-cpu==1.10.0
24
24
  Requires-Dist: filelock>=3.18.0
25
25
  Requires-Dist: google-genai>=1.14.0
26
26
  Requires-Dist: googlesearch-python>=1.3.0
@@ -58,8 +58,6 @@ Description-Content-Type: text/markdown
58
58
 
59
59
  <div align="center">
60
60
 
61
- _✨ 易上手的多平台 LLM 聊天机器人及开发框架 ✨_
62
-
63
61
  <a href="https://trendshift.io/repositories/12875" target="_blank"><img src="https://trendshift.io/api/badge/repositories/12875" alt="Soulter%2FAstrBot | Trendshift" style="width: 250px; height: 55px;" width="250" height="55"/></a>
64
62
 
65
63
  [![GitHub release (latest by date)](https://img.shields.io/github/v/release/Soulter/AstrBot?style=for-the-badge&color=76bad9)](https://github.com/Soulter/AstrBot/releases/latest)
@@ -68,7 +66,6 @@ _✨ 易上手的多平台 LLM 聊天机器人及开发框架 ✨_
68
66
  <a href="https://qm.qq.com/cgi-bin/qm/qr?k=wtbaNx7EioxeaqS9z7RQWVXPIxg2zYr7&jump_from=webapi&authKey=vlqnv/AV2DbJEvGIcxdlNSpfxVy+8vVqijgreRdnVKOaydpc+YSw4MctmEbr0k5"><img alt="QQ_community" src="https://img.shields.io/badge/QQ群-775869627-purple?style=for-the-badge&color=76bad9"></a>
69
67
  <a href="https://t.me/+hAsD2Ebl5as3NmY1"><img alt="Telegram_community" src="https://img.shields.io/badge/Telegram-AstrBot-purple?style=for-the-badge&color=76bad9"></a>
70
68
  [![wakatime](https://wakatime.com/badge/user/915e5316-99c6-4563-a483-ef186cf000c9/project/018e705a-a1a7-409a-a849-3013485e6c8e.svg?style=for-the-badge&color=76bad9)](https://wakatime.com/badge/user/915e5316-99c6-4563-a483-ef186cf000c9/project/018e705a-a1a7-409a-a849-3013485e6c8e)
71
- ![Dynamic JSON Badge](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fapi.soulter.top%2Fastrbot%2Fstats&query=v&label=7日消息量&cacheSeconds=3600&style=for-the-badge&color=3b618e)
72
69
  ![Dynamic JSON Badge](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fapi.soulter.top%2Fastrbot%2Fplugin-num&query=%24.result&suffix=%E4%B8%AA&style=for-the-badge&label=%E6%8F%92%E4%BB%B6%E5%B8%82%E5%9C%BA&cacheSeconds=3600)
73
70
 
74
71
  <a href="https://github.com/Soulter/AstrBot/blob/master/README_en.md">English</a> |
@@ -79,7 +76,7 @@ _✨ 易上手的多平台 LLM 聊天机器人及开发框架 ✨_
79
76
 
80
77
  AstrBot 是一个开源的一站式 Agentic 聊天机器人平台及开发框架。
81
78
 
82
- ## 主要功能
79
+ ## 主要功能
83
80
 
84
81
  1. **大模型对话**。支持接入多种大模型服务。支持多模态、工具调用、MCP、原生知识库、人设等功能。
85
82
  2. **多消息平台支持**。支持接入 QQ、企业微信、微信公众号、飞书、Telegram、钉钉、Discord、KOOK 等平台。支持速率限制、白名单、百度内容审核。
@@ -87,7 +84,7 @@ AstrBot 是一个开源的一站式 Agentic 聊天机器人平台及开发框架
87
84
  4. **插件扩展**。深度优化的插件机制,支持[开发插件](https://astrbot.app/dev/plugin.html)扩展功能,社区插件生态丰富。
88
85
  5. **WebUI**。可视化配置和管理机器人,功能齐全。
89
86
 
90
- ## ✨ 使用方式
87
+ ## 部署方式
91
88
 
92
89
  #### Docker 部署
93
90
 
@@ -131,9 +128,7 @@ AstrBot 已由雨云官方上架至云应用平台,可一键部署。
131
128
 
132
129
  #### 手动部署
133
130
 
134
- > 推荐使用 `uv`。
135
-
136
- 首先,安装 uv:
131
+ 首先安装 uv
137
132
 
138
133
  ```bash
139
134
  pip install uv
@@ -148,6 +143,26 @@ uv run main.py
148
143
 
149
144
  或者请参阅官方文档 [通过源码部署 AstrBot](https://astrbot.app/deploy/astrbot/cli.html) 。
150
145
 
146
+ ## 🌍 社区
147
+
148
+ ### QQ 群组
149
+
150
+ - 1 群:322154837
151
+ - 3 群:630166526
152
+ - 5 群:822130018
153
+ - 6 群:753075035
154
+ - 开发者群:975206796
155
+ - 开发者群(备份):295657329
156
+
157
+ ### Telegram 群组
158
+
159
+ <a href="https://t.me/+hAsD2Ebl5as3NmY1"><img alt="Telegram_community" src="https://img.shields.io/badge/Telegram-AstrBot-purple?style=for-the-badge&color=76bad9"></a>
160
+
161
+ ### Discord 群组
162
+
163
+ <a href="https://discord.gg/hAVk6tgV36"><img alt="Discord_community" src="https://img.shields.io/badge/Discord-AstrBot-purple?style=for-the-badge&color=76bad9"></a>
164
+
165
+
151
166
  ## ⚡ 消息平台支持情况
152
167
 
153
168
  | 平台 | 支持性 |
@@ -164,22 +179,18 @@ uv run main.py
164
179
  | Discord | ✔ |
165
180
  | [KOOK](https://github.com/wuyan1003/astrbot_plugin_kook_adapter) | ✔ |
166
181
  | [VoceChat](https://github.com/HikariFroya/astrbot_plugin_vocechat) | ✔ |
167
- | 微信对话开放平台 | 🚧 |
168
- | WhatsApp | 🚧 |
169
- | 小爱音响 | 🚧 |
170
182
 
171
183
  ## ⚡ 提供商支持情况
172
184
 
173
185
  | 名称 | 支持性 | 类型 | 备注 |
174
186
  | -------- | ------- | ------- | ------- |
175
- | OpenAI API | ✔ | 文本生成 | 也支持 DeepSeek、Gemini、Kimi、xAI 等兼容 OpenAI API 的服务 |
176
- | Claude API | ✔ | 文本生成 | |
177
- | Google Gemini API | ✔ | 文本生成 | |
187
+ | OpenAI | ✔ | 文本生成 | 支持任何兼容 OpenAI API 的服务 |
188
+ | Anthropic | ✔ | 文本生成 | |
189
+ | Google Gemini | ✔ | 文本生成 | |
178
190
  | Dify | ✔ | LLMOps | |
179
191
  | 阿里云百炼应用 | ✔ | LLMOps | |
180
192
  | Ollama | ✔ | 模型加载器 | 本地部署 DeepSeek、Llama 等开源语言模型 |
181
193
  | LM Studio | ✔ | 模型加载器 | 本地部署 DeepSeek、Llama 等开源语言模型 |
182
- | LLMTuner | ✔ | 模型加载器 | 本地加载 lora 等微调模型 |
183
194
  | [优云智算](https://www.compshare.cn/?ytag=GPU_YY-gh_astrbot&referral_code=FV7DcGowN4hB5UuXKgpE74) | ✔ | 模型 API 及算力服务平台 | |
184
195
  | [302.AI](https://share.302.ai/rr1M3l) | ✔ | 模型 API 服务平台 | |
185
196
  | 硅基流动 | ✔ | 模型 API 服务平台 | |
@@ -195,7 +206,6 @@ uv run main.py
195
206
  | 阿里云百炼 TTS | ✔ | 文本转语音 | |
196
207
  | Azure TTS | ✔ | 文本转语音 | Microsoft Azure TTS |
197
208
 
198
-
199
209
  ## ❤️ 贡献
200
210
 
201
211
  欢迎任何 Issues/Pull Requests!只需要将你的更改提交到此项目 :)
@@ -214,38 +224,6 @@ pip install pre-commit
214
224
  pre-commit install
215
225
  ```
216
226
 
217
- ## 🌟 支持
218
-
219
- - Star 这个项目!
220
- - 在[爱发电](https://afdian.com/a/soulter)支持我!
221
-
222
- ## ✨ Demo
223
-
224
- <details><summary>👉 点击展开多张 Demo 截图 👈</summary>
225
-
226
- <div align='center'>
227
-
228
- <img src="https://github.com/user-attachments/assets/4ee688d9-467d-45c8-99d6-368f9a8a92d8" width="600">
229
-
230
- _✨基于 Docker 的沙箱化代码执行器(Beta 测试)✨_
231
-
232
- <img src="https://github.com/user-attachments/assets/0378f407-6079-4f64-ae4c-e97ab20611d2" height=500>
233
-
234
- _✨ 多模态、网页搜索、长文本转图片(可配置) ✨_
235
-
236
- <img src="https://github.com/user-attachments/assets/e137a9e1-340a-4bf2-bb2b-771132780735" height=150>
237
- <img src="https://github.com/user-attachments/assets/480f5e82-cf6a-4955-a869-0d73137aa6e1" height=150>
238
-
239
- _✨ 插件系统——部分插件展示 ✨_
240
-
241
- <img src="https://github.com/user-attachments/assets/0cdbf564-2f59-4da5-b524-ce0e7ef3d978" width=600>
242
-
243
- _✨ WebUI ✨_
244
-
245
- </div>
246
-
247
- </details>
248
-
249
227
 
250
228
  ## ❤️ Special Thanks
251
229
 
@@ -255,10 +233,18 @@ _✨ WebUI ✨_
255
233
  <img src="https://contrib.rocks/image?repo=AstrBotDevs/AstrBot" />
256
234
  </a>
257
235
 
258
- 此外,本项目的诞生离不开以下开源项目:
236
+ 此外,本项目的诞生离不开以下开源项目的帮助:
259
237
 
260
238
  - [NapNeko/NapCatQQ](https://github.com/NapNeko/NapCatQQ) - 伟大的猫猫框架
261
- - [wechatpy/wechatpy](https://github.com/wechatpy/wechatpy)
239
+
240
+ 另外,一些同类型其他的活跃开源 Bot 项目:
241
+
242
+ - [nonebot/nonebot2](https://github.com/nonebot/nonebot2) - 扩展性极强的 Bot 框架
243
+ - [koishijs/koishi](https://github.com/koishijs/koishi) - 扩展性极强的 Bot 框架
244
+ - [MaiM-with-u/MaiBot](https://github.com/MaiM-with-u/MaiBot) - 注重拟人功能的 ChatBot
245
+ - [langbot-app/LangBot](https://github.com/langbot-app/LangBot) - 功能丰富的 Bot 平台
246
+ - [LroMiose/nekro-agent](https://github.com/KroMiose/nekro-agent) - 注重 Agent 的 ChatBot
247
+ - [zhenxun-org/zhenxun_bot](https://github.com/zhenxun-org/zhenxun_bot) - 功能完善的 ChatBot
262
248
 
263
249
  ## ⭐ Star History
264
250
 
@@ -271,7 +257,8 @@ _✨ WebUI ✨_
271
257
 
272
258
  </div>
273
259
 
274
- ![10k-star-banner-credit-by-kevin](https://github.com/user-attachments/assets/c97fc5fb-20b9-4bc8-9998-c20b930ab097)
260
+
261
+ </details>
275
262
 
276
263
 
277
264
  _私は、高性能ですから!_
@@ -6,8 +6,6 @@
6
6
 
7
7
  <div align="center">
8
8
 
9
- _✨ 易上手的多平台 LLM 聊天机器人及开发框架 ✨_
10
-
11
9
  <a href="https://trendshift.io/repositories/12875" target="_blank"><img src="https://trendshift.io/api/badge/repositories/12875" alt="Soulter%2FAstrBot | Trendshift" style="width: 250px; height: 55px;" width="250" height="55"/></a>
12
10
 
13
11
  [![GitHub release (latest by date)](https://img.shields.io/github/v/release/Soulter/AstrBot?style=for-the-badge&color=76bad9)](https://github.com/Soulter/AstrBot/releases/latest)
@@ -16,7 +14,6 @@ _✨ 易上手的多平台 LLM 聊天机器人及开发框架 ✨_
16
14
  <a href="https://qm.qq.com/cgi-bin/qm/qr?k=wtbaNx7EioxeaqS9z7RQWVXPIxg2zYr7&jump_from=webapi&authKey=vlqnv/AV2DbJEvGIcxdlNSpfxVy+8vVqijgreRdnVKOaydpc+YSw4MctmEbr0k5"><img alt="QQ_community" src="https://img.shields.io/badge/QQ群-775869627-purple?style=for-the-badge&color=76bad9"></a>
17
15
  <a href="https://t.me/+hAsD2Ebl5as3NmY1"><img alt="Telegram_community" src="https://img.shields.io/badge/Telegram-AstrBot-purple?style=for-the-badge&color=76bad9"></a>
18
16
  [![wakatime](https://wakatime.com/badge/user/915e5316-99c6-4563-a483-ef186cf000c9/project/018e705a-a1a7-409a-a849-3013485e6c8e.svg?style=for-the-badge&color=76bad9)](https://wakatime.com/badge/user/915e5316-99c6-4563-a483-ef186cf000c9/project/018e705a-a1a7-409a-a849-3013485e6c8e)
19
- ![Dynamic JSON Badge](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fapi.soulter.top%2Fastrbot%2Fstats&query=v&label=7日消息量&cacheSeconds=3600&style=for-the-badge&color=3b618e)
20
17
  ![Dynamic JSON Badge](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fapi.soulter.top%2Fastrbot%2Fplugin-num&query=%24.result&suffix=%E4%B8%AA&style=for-the-badge&label=%E6%8F%92%E4%BB%B6%E5%B8%82%E5%9C%BA&cacheSeconds=3600)
21
18
 
22
19
  <a href="https://github.com/Soulter/AstrBot/blob/master/README_en.md">English</a> |
@@ -27,7 +24,7 @@ _✨ 易上手的多平台 LLM 聊天机器人及开发框架 ✨_
27
24
 
28
25
  AstrBot 是一个开源的一站式 Agentic 聊天机器人平台及开发框架。
29
26
 
30
- ## 主要功能
27
+ ## 主要功能
31
28
 
32
29
  1. **大模型对话**。支持接入多种大模型服务。支持多模态、工具调用、MCP、原生知识库、人设等功能。
33
30
  2. **多消息平台支持**。支持接入 QQ、企业微信、微信公众号、飞书、Telegram、钉钉、Discord、KOOK 等平台。支持速率限制、白名单、百度内容审核。
@@ -35,7 +32,7 @@ AstrBot 是一个开源的一站式 Agentic 聊天机器人平台及开发框架
35
32
  4. **插件扩展**。深度优化的插件机制,支持[开发插件](https://astrbot.app/dev/plugin.html)扩展功能,社区插件生态丰富。
36
33
  5. **WebUI**。可视化配置和管理机器人,功能齐全。
37
34
 
38
- ## ✨ 使用方式
35
+ ## 部署方式
39
36
 
40
37
  #### Docker 部署
41
38
 
@@ -79,9 +76,7 @@ AstrBot 已由雨云官方上架至云应用平台,可一键部署。
79
76
 
80
77
  #### 手动部署
81
78
 
82
- > 推荐使用 `uv`。
83
-
84
- 首先,安装 uv:
79
+ 首先安装 uv
85
80
 
86
81
  ```bash
87
82
  pip install uv
@@ -96,6 +91,26 @@ uv run main.py
96
91
 
97
92
  或者请参阅官方文档 [通过源码部署 AstrBot](https://astrbot.app/deploy/astrbot/cli.html) 。
98
93
 
94
+ ## 🌍 社区
95
+
96
+ ### QQ 群组
97
+
98
+ - 1 群:322154837
99
+ - 3 群:630166526
100
+ - 5 群:822130018
101
+ - 6 群:753075035
102
+ - 开发者群:975206796
103
+ - 开发者群(备份):295657329
104
+
105
+ ### Telegram 群组
106
+
107
+ <a href="https://t.me/+hAsD2Ebl5as3NmY1"><img alt="Telegram_community" src="https://img.shields.io/badge/Telegram-AstrBot-purple?style=for-the-badge&color=76bad9"></a>
108
+
109
+ ### Discord 群组
110
+
111
+ <a href="https://discord.gg/hAVk6tgV36"><img alt="Discord_community" src="https://img.shields.io/badge/Discord-AstrBot-purple?style=for-the-badge&color=76bad9"></a>
112
+
113
+
99
114
  ## ⚡ 消息平台支持情况
100
115
 
101
116
  | 平台 | 支持性 |
@@ -112,22 +127,18 @@ uv run main.py
112
127
  | Discord | ✔ |
113
128
  | [KOOK](https://github.com/wuyan1003/astrbot_plugin_kook_adapter) | ✔ |
114
129
  | [VoceChat](https://github.com/HikariFroya/astrbot_plugin_vocechat) | ✔ |
115
- | 微信对话开放平台 | 🚧 |
116
- | WhatsApp | 🚧 |
117
- | 小爱音响 | 🚧 |
118
130
 
119
131
  ## ⚡ 提供商支持情况
120
132
 
121
133
  | 名称 | 支持性 | 类型 | 备注 |
122
134
  | -------- | ------- | ------- | ------- |
123
- | OpenAI API | ✔ | 文本生成 | 也支持 DeepSeek、Gemini、Kimi、xAI 等兼容 OpenAI API 的服务 |
124
- | Claude API | ✔ | 文本生成 | |
125
- | Google Gemini API | ✔ | 文本生成 | |
135
+ | OpenAI | ✔ | 文本生成 | 支持任何兼容 OpenAI API 的服务 |
136
+ | Anthropic | ✔ | 文本生成 | |
137
+ | Google Gemini | ✔ | 文本生成 | |
126
138
  | Dify | ✔ | LLMOps | |
127
139
  | 阿里云百炼应用 | ✔ | LLMOps | |
128
140
  | Ollama | ✔ | 模型加载器 | 本地部署 DeepSeek、Llama 等开源语言模型 |
129
141
  | LM Studio | ✔ | 模型加载器 | 本地部署 DeepSeek、Llama 等开源语言模型 |
130
- | LLMTuner | ✔ | 模型加载器 | 本地加载 lora 等微调模型 |
131
142
  | [优云智算](https://www.compshare.cn/?ytag=GPU_YY-gh_astrbot&referral_code=FV7DcGowN4hB5UuXKgpE74) | ✔ | 模型 API 及算力服务平台 | |
132
143
  | [302.AI](https://share.302.ai/rr1M3l) | ✔ | 模型 API 服务平台 | |
133
144
  | 硅基流动 | ✔ | 模型 API 服务平台 | |
@@ -143,7 +154,6 @@ uv run main.py
143
154
  | 阿里云百炼 TTS | ✔ | 文本转语音 | |
144
155
  | Azure TTS | ✔ | 文本转语音 | Microsoft Azure TTS |
145
156
 
146
-
147
157
  ## ❤️ 贡献
148
158
 
149
159
  欢迎任何 Issues/Pull Requests!只需要将你的更改提交到此项目 :)
@@ -162,38 +172,6 @@ pip install pre-commit
162
172
  pre-commit install
163
173
  ```
164
174
 
165
- ## 🌟 支持
166
-
167
- - Star 这个项目!
168
- - 在[爱发电](https://afdian.com/a/soulter)支持我!
169
-
170
- ## ✨ Demo
171
-
172
- <details><summary>👉 点击展开多张 Demo 截图 👈</summary>
173
-
174
- <div align='center'>
175
-
176
- <img src="https://github.com/user-attachments/assets/4ee688d9-467d-45c8-99d6-368f9a8a92d8" width="600">
177
-
178
- _✨基于 Docker 的沙箱化代码执行器(Beta 测试)✨_
179
-
180
- <img src="https://github.com/user-attachments/assets/0378f407-6079-4f64-ae4c-e97ab20611d2" height=500>
181
-
182
- _✨ 多模态、网页搜索、长文本转图片(可配置) ✨_
183
-
184
- <img src="https://github.com/user-attachments/assets/e137a9e1-340a-4bf2-bb2b-771132780735" height=150>
185
- <img src="https://github.com/user-attachments/assets/480f5e82-cf6a-4955-a869-0d73137aa6e1" height=150>
186
-
187
- _✨ 插件系统——部分插件展示 ✨_
188
-
189
- <img src="https://github.com/user-attachments/assets/0cdbf564-2f59-4da5-b524-ce0e7ef3d978" width=600>
190
-
191
- _✨ WebUI ✨_
192
-
193
- </div>
194
-
195
- </details>
196
-
197
175
 
198
176
  ## ❤️ Special Thanks
199
177
 
@@ -203,10 +181,18 @@ _✨ WebUI ✨_
203
181
  <img src="https://contrib.rocks/image?repo=AstrBotDevs/AstrBot" />
204
182
  </a>
205
183
 
206
- 此外,本项目的诞生离不开以下开源项目:
184
+ 此外,本项目的诞生离不开以下开源项目的帮助:
207
185
 
208
186
  - [NapNeko/NapCatQQ](https://github.com/NapNeko/NapCatQQ) - 伟大的猫猫框架
209
- - [wechatpy/wechatpy](https://github.com/wechatpy/wechatpy)
187
+
188
+ 另外,一些同类型其他的活跃开源 Bot 项目:
189
+
190
+ - [nonebot/nonebot2](https://github.com/nonebot/nonebot2) - 扩展性极强的 Bot 框架
191
+ - [koishijs/koishi](https://github.com/koishijs/koishi) - 扩展性极强的 Bot 框架
192
+ - [MaiM-with-u/MaiBot](https://github.com/MaiM-with-u/MaiBot) - 注重拟人功能的 ChatBot
193
+ - [langbot-app/LangBot](https://github.com/langbot-app/LangBot) - 功能丰富的 Bot 平台
194
+ - [LroMiose/nekro-agent](https://github.com/KroMiose/nekro-agent) - 注重 Agent 的 ChatBot
195
+ - [zhenxun-org/zhenxun_bot](https://github.com/zhenxun-org/zhenxun_bot) - 功能完善的 ChatBot
210
196
 
211
197
  ## ⭐ Star History
212
198
 
@@ -219,7 +205,8 @@ _✨ WebUI ✨_
219
205
 
220
206
  </div>
221
207
 
222
- ![10k-star-banner-credit-by-kevin](https://github.com/user-attachments/assets/c97fc5fb-20b9-4bc8-9998-c20b930ab097)
208
+
209
+ </details>
223
210
 
224
211
 
225
212
  _私は、高性能ですから!_
@@ -7,6 +7,7 @@ from astrbot.core.star.register import (
7
7
  register_permission_type as permission_type,
8
8
  register_custom_filter as custom_filter,
9
9
  register_on_astrbot_loaded as on_astrbot_loaded,
10
+ register_on_platform_loaded as on_platform_loaded,
10
11
  register_on_llm_request as on_llm_request,
11
12
  register_on_llm_response as on_llm_response,
12
13
  register_llm_tool as llm_tool,
@@ -41,6 +42,7 @@ __all__ = [
41
42
  "custom_filter",
42
43
  "PermissionType",
43
44
  "on_astrbot_loaded",
45
+ "on_platform_loaded",
44
46
  "on_llm_request",
45
47
  "llm_tool",
46
48
  "on_decorating_result",
@@ -37,7 +37,10 @@ async def check_dashboard(astrbot_root: Path) -> None:
37
37
  ):
38
38
  click.echo("正在安装管理面板...")
39
39
  await download_dashboard(
40
- path="data/dashboard.zip", extract_path=str(astrbot_root)
40
+ path="data/dashboard.zip",
41
+ extract_path=str(astrbot_root),
42
+ version=f"v{VERSION}",
43
+ latest=False,
41
44
  )
42
45
  click.echo("管理面板安装完成")
43
46
 
@@ -50,7 +53,10 @@ async def check_dashboard(astrbot_root: Path) -> None:
50
53
  version = dashboard_version.split("v")[1]
51
54
  click.echo(f"管理面板版本: {version}")
52
55
  await download_dashboard(
53
- path="data/dashboard.zip", extract_path=str(astrbot_root)
56
+ path="data/dashboard.zip",
57
+ extract_path=str(astrbot_root),
58
+ version=f"v{VERSION}",
59
+ latest=False,
54
60
  )
55
61
  except Exception as e:
56
62
  click.echo(f"下载管理面板失败: {e}")
@@ -59,7 +65,10 @@ async def check_dashboard(astrbot_root: Path) -> None:
59
65
  click.echo("初始化管理面板目录...")
60
66
  try:
61
67
  await download_dashboard(
62
- path=str(astrbot_root / "dashboard.zip"), extract_path=str(astrbot_root)
68
+ path=str(astrbot_root / "dashboard.zip"),
69
+ extract_path=str(astrbot_root),
70
+ version=f"v{VERSION}",
71
+ latest=False,
63
72
  )
64
73
  click.echo("管理面板初始化完成")
65
74
  except Exception as e:
@@ -36,13 +36,21 @@ class AstrBotConfigManager:
36
36
  self.confs: dict[str, AstrBotConfig] = {}
37
37
  """uuid / "default" -> AstrBotConfig"""
38
38
  self.confs["default"] = default_config
39
+ self.abconf_data = None
39
40
  self._load_all_configs()
40
41
 
42
+ def _get_abconf_data(self) -> dict:
43
+ """获取所有的 abconf 数据"""
44
+ if self.abconf_data is None:
45
+ self.abconf_data = self.sp.get(
46
+ "abconf_mapping", {}, scope="global", scope_id="global"
47
+ )
48
+ return self.abconf_data
49
+
41
50
  def _load_all_configs(self):
42
51
  """Load all configurations from the shared preferences."""
43
- abconf_data = self.sp.get(
44
- "abconf_mapping", {}, scope="global", scope_id="global"
45
- )
52
+ abconf_data = self._get_abconf_data()
53
+ self.abconf_data = abconf_data
46
54
  for uuid_, meta in abconf_data.items():
47
55
  filename = meta["path"]
48
56
  conf_path = os.path.join(get_astrbot_config_path(), filename)
@@ -72,9 +80,7 @@ class AstrBotConfigManager:
72
80
  ConfInfo: 包含配置文件的 uuid, 路径和名称等信息, 是一个 dict 类型
73
81
  """
74
82
  # uuid -> { "umop": list, "path": str, "name": str }
75
- abconf_data = self.sp.get(
76
- "abconf_mapping", {}, scope="global", scope_id="global"
77
- )
83
+ abconf_data = self._get_abconf_data()
78
84
  if isinstance(umo, MessageSession):
79
85
  umo = str(umo)
80
86
  else:
@@ -115,6 +121,7 @@ class AstrBotConfigManager:
115
121
  "name": random_word,
116
122
  }
117
123
  self.sp.put("abconf_mapping", abconf_data, scope="global", scope_id="global")
124
+ self.abconf_data = abconf_data
118
125
 
119
126
  def get_conf(self, umo: str | MessageSession | None) -> AstrBotConfig:
120
127
  """获取指定 umo 的配置文件。如果不存在,则 fallback 到默认配置文件。"""
@@ -147,9 +154,7 @@ class AstrBotConfigManager:
147
154
  """获取所有配置文件的元数据列表"""
148
155
  conf_list = []
149
156
  conf_list.append(DEFAULT_CONFIG_CONF_INFO)
150
- abconf_mapping = self.sp.get(
151
- "abconf_mapping", {}, scope="global", scope_id="global"
152
- )
157
+ abconf_mapping = self._get_abconf_data()
153
158
  for uuid_, meta in abconf_mapping.items():
154
159
  conf_list.append(ConfInfo(**meta, id=uuid_))
155
160
  return conf_list
@@ -218,6 +223,7 @@ class AstrBotConfigManager:
218
223
  # 从映射中移除
219
224
  del abconf_data[conf_id]
220
225
  self.sp.put("abconf_mapping", abconf_data, scope="global", scope_id="global")
226
+ self.abconf_data = abconf_data
221
227
 
222
228
  logger.info(f"成功删除配置文件 {conf_id}")
223
229
  return True
@@ -263,6 +269,7 @@ class AstrBotConfigManager:
263
269
 
264
270
  # 保存更新
265
271
  self.sp.put("abconf_mapping", abconf_data, scope="global", scope_id="global")
272
+ self.abconf_data = abconf_data
266
273
  logger.info(f"成功更新配置文件 {conf_id} 的信息")
267
274
  return True
268
275