AstrBot 4.12.4__tar.gz → 4.13.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 (798) hide show
  1. {astrbot-4.12.4 → astrbot-4.13.0}/PKG-INFO +1 -1
  2. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/builtin_stars/astrbot/process_llm_request.py +42 -1
  3. astrbot-4.13.0/astrbot/cli/__init__.py +1 -0
  4. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/agent/runners/tool_loop_agent_runner.py +91 -1
  5. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/agent/tool.py +61 -20
  6. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/astr_agent_tool_exec.py +2 -2
  7. {astrbot-4.12.4/astrbot/core/sandbox → astrbot-4.13.0/astrbot/core/computer}/booters/base.py +4 -4
  8. {astrbot-4.12.4/astrbot/core/sandbox → astrbot-4.13.0/astrbot/core/computer}/booters/boxlite.py +2 -2
  9. astrbot-4.13.0/astrbot/core/computer/booters/local.py +234 -0
  10. {astrbot-4.12.4/astrbot/core/sandbox → astrbot-4.13.0/astrbot/core/computer}/booters/shipyard.py +2 -2
  11. astrbot-4.13.0/astrbot/core/computer/computer_client.py +102 -0
  12. {astrbot-4.12.4/astrbot/core/sandbox → astrbot-4.13.0/astrbot/core/computer}/tools/__init__.py +2 -1
  13. {astrbot-4.12.4/astrbot/core/sandbox → astrbot-4.13.0/astrbot/core/computer}/tools/fs.py +1 -1
  14. astrbot-4.13.0/astrbot/core/computer/tools/python.py +94 -0
  15. {astrbot-4.12.4/astrbot/core/sandbox → astrbot-4.13.0/astrbot/core/computer}/tools/shell.py +13 -5
  16. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/config/default.py +61 -9
  17. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/db/__init__.py +3 -0
  18. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/db/po.py +4 -0
  19. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/db/sqlite.py +19 -1
  20. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/message/components.py +2 -2
  21. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/persona_mgr.py +8 -0
  22. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/pipeline/context_utils.py +2 -2
  23. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/pipeline/preprocess_stage/stage.py +1 -1
  24. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/pipeline/process_stage/method/agent_sub_stages/internal.py +16 -2
  25. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/pipeline/process_stage/utils.py +19 -4
  26. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/pipeline/scheduler.py +1 -1
  27. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/platform/sources/aiocqhttp/aiocqhttp_message_event.py +3 -3
  28. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/platform/sources/qqofficial/qqofficial_message_event.py +5 -7
  29. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/provider/manager.py +31 -0
  30. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/provider/sources/gemini_source.py +12 -9
  31. astrbot-4.13.0/astrbot/core/skills/__init__.py +3 -0
  32. astrbot-4.13.0/astrbot/core/skills/skill_manager.py +237 -0
  33. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/star/command_management.py +1 -1
  34. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/star/config.py +1 -1
  35. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/star/filter/command.py +1 -1
  36. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/star/filter/custom_filter.py +2 -2
  37. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/star/register/star_handler.py +1 -1
  38. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/utils/astrbot_path.py +6 -0
  39. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/dashboard/routes/__init__.py +2 -0
  40. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/dashboard/routes/config.py +236 -2
  41. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/dashboard/routes/persona.py +7 -0
  42. astrbot-4.13.0/astrbot/dashboard/routes/skills.py +148 -0
  43. astrbot-4.13.0/astrbot/dashboard/routes/util.py +102 -0
  44. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/dashboard/server.py +19 -5
  45. astrbot-4.13.0/changelogs/v4.13.0.md +18 -0
  46. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/components/chat/MessageList.vue +1 -1
  47. astrbot-4.13.0/dashboard/src/components/extension/SkillsSection.vue +213 -0
  48. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/components/shared/AstrBotConfig.vue +23 -1
  49. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/components/shared/ConfigItemRenderer.vue +19 -0
  50. astrbot-4.13.0/dashboard/src/components/shared/FileConfigItem.vue +407 -0
  51. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/components/shared/ItemCard.vue +26 -21
  52. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/components/shared/PersonaForm.vue +186 -2
  53. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/components/shared/ProxySelector.vue +14 -1
  54. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/i18n/locales/en-US/features/config-metadata.json +26 -3
  55. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/i18n/locales/en-US/features/config.json +18 -1
  56. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/i18n/locales/en-US/features/extension.json +28 -0
  57. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/i18n/locales/en-US/features/persona.json +12 -0
  58. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/i18n/locales/zh-CN/features/config-metadata.json +26 -3
  59. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/i18n/locales/zh-CN/features/config.json +19 -1
  60. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/i18n/locales/zh-CN/features/extension.json +28 -0
  61. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/i18n/locales/zh-CN/features/persona.json +12 -0
  62. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/layouts/full/vertical-header/VerticalHeader.vue +9 -2
  63. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/stores/personaStore.ts +1 -0
  64. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/views/ExtensionPage.vue +95 -15
  65. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/views/alkaid/KnowledgeBase.vue +8 -2
  66. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/views/persona/PersonaCard.vue +9 -0
  67. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/views/persona/PersonaManager.vue +20 -0
  68. {astrbot-4.12.4 → astrbot-4.13.0}/pyproject.toml +1 -1
  69. astrbot-4.12.4/astrbot/cli/__init__.py +0 -1
  70. astrbot-4.12.4/astrbot/core/sandbox/sandbox_client.py +0 -52
  71. astrbot-4.12.4/astrbot/core/sandbox/tools/python.py +0 -74
  72. {astrbot-4.12.4 → astrbot-4.13.0}/.dockerignore +0 -0
  73. {astrbot-4.12.4 → astrbot-4.13.0}/.github/FUNDING.yml +0 -0
  74. {astrbot-4.12.4 → astrbot-4.13.0}/.github/ISSUE_TEMPLATE/PLUGIN_PUBLISH.yml +0 -0
  75. {astrbot-4.12.4 → astrbot-4.13.0}/.github/ISSUE_TEMPLATE/bug-report.yml +0 -0
  76. {astrbot-4.12.4 → astrbot-4.13.0}/.github/ISSUE_TEMPLATE/feature-request.yml +0 -0
  77. {astrbot-4.12.4 → astrbot-4.13.0}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
  78. {astrbot-4.12.4 → astrbot-4.13.0}/.github/auto_assign.yml +0 -0
  79. {astrbot-4.12.4 → astrbot-4.13.0}/.github/copilot-instructions.md +0 -0
  80. {astrbot-4.12.4 → astrbot-4.13.0}/.github/dependabot.yml +0 -0
  81. {astrbot-4.12.4 → astrbot-4.13.0}/.github/workflows/auto_release.yml +0 -0
  82. {astrbot-4.12.4 → astrbot-4.13.0}/.github/workflows/code-format.yml +0 -0
  83. {astrbot-4.12.4 → astrbot-4.13.0}/.github/workflows/codeql.yml +0 -0
  84. {astrbot-4.12.4 → astrbot-4.13.0}/.github/workflows/coverage_test.yml +0 -0
  85. {astrbot-4.12.4 → astrbot-4.13.0}/.github/workflows/dashboard_ci.yml +0 -0
  86. {astrbot-4.12.4 → astrbot-4.13.0}/.github/workflows/docker-image.yml +0 -0
  87. {astrbot-4.12.4 → astrbot-4.13.0}/.github/workflows/smoke_test.yml +0 -0
  88. {astrbot-4.12.4 → astrbot-4.13.0}/.github/workflows/stale.yml +0 -0
  89. {astrbot-4.12.4 → astrbot-4.13.0}/.gitignore +0 -0
  90. {astrbot-4.12.4 → astrbot-4.13.0}/.pre-commit-config.yaml +0 -0
  91. {astrbot-4.12.4 → astrbot-4.13.0}/.python-version +0 -0
  92. {astrbot-4.12.4 → astrbot-4.13.0}/CODE_OF_CONDUCT.md +0 -0
  93. {astrbot-4.12.4 → astrbot-4.13.0}/CONTRIBUTING.md +0 -0
  94. {astrbot-4.12.4 → astrbot-4.13.0}/Dockerfile +0 -0
  95. {astrbot-4.12.4 → astrbot-4.13.0}/EULA.md +0 -0
  96. {astrbot-4.12.4 → astrbot-4.13.0}/LICENSE +0 -0
  97. {astrbot-4.12.4 → astrbot-4.13.0}/README.md +0 -0
  98. {astrbot-4.12.4 → astrbot-4.13.0}/README_en.md +0 -0
  99. {astrbot-4.12.4 → astrbot-4.13.0}/README_fr.md +0 -0
  100. {astrbot-4.12.4 → astrbot-4.13.0}/README_ja.md +0 -0
  101. {astrbot-4.12.4 → astrbot-4.13.0}/README_ru.md +0 -0
  102. {astrbot-4.12.4 → astrbot-4.13.0}/README_zh-TW.md +0 -0
  103. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/__init__.py +0 -0
  104. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/api/__init__.py +0 -0
  105. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/api/all.py +0 -0
  106. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/api/event/__init__.py +0 -0
  107. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/api/event/filter/__init__.py +0 -0
  108. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/api/message_components.py +0 -0
  109. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/api/platform/__init__.py +0 -0
  110. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/api/provider/__init__.py +0 -0
  111. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/api/star/__init__.py +0 -0
  112. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/api/util/__init__.py +0 -0
  113. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/builtin_stars/astrbot/long_term_memory.py +0 -0
  114. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/builtin_stars/astrbot/main.py +0 -0
  115. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/builtin_stars/astrbot/metadata.yaml +0 -0
  116. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/builtin_stars/builtin_commands/commands/__init__.py +0 -0
  117. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/builtin_stars/builtin_commands/commands/admin.py +0 -0
  118. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/builtin_stars/builtin_commands/commands/alter_cmd.py +0 -0
  119. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/builtin_stars/builtin_commands/commands/conversation.py +0 -0
  120. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/builtin_stars/builtin_commands/commands/help.py +0 -0
  121. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/builtin_stars/builtin_commands/commands/llm.py +0 -0
  122. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/builtin_stars/builtin_commands/commands/persona.py +0 -0
  123. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/builtin_stars/builtin_commands/commands/plugin.py +0 -0
  124. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/builtin_stars/builtin_commands/commands/provider.py +0 -0
  125. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/builtin_stars/builtin_commands/commands/setunset.py +0 -0
  126. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/builtin_stars/builtin_commands/commands/sid.py +0 -0
  127. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/builtin_stars/builtin_commands/commands/t2i.py +0 -0
  128. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/builtin_stars/builtin_commands/commands/tts.py +0 -0
  129. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/builtin_stars/builtin_commands/commands/utils/rst_scene.py +0 -0
  130. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/builtin_stars/builtin_commands/main.py +0 -0
  131. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/builtin_stars/builtin_commands/metadata.yaml +0 -0
  132. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/builtin_stars/reminder/main.py +0 -0
  133. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/builtin_stars/reminder/metadata.yaml +0 -0
  134. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/builtin_stars/session_controller/main.py +0 -0
  135. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/builtin_stars/session_controller/metadata.yaml +0 -0
  136. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/builtin_stars/web_searcher/engines/__init__.py +0 -0
  137. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/builtin_stars/web_searcher/engines/bing.py +0 -0
  138. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/builtin_stars/web_searcher/engines/sogo.py +0 -0
  139. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/builtin_stars/web_searcher/main.py +0 -0
  140. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/builtin_stars/web_searcher/metadata.yaml +0 -0
  141. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/cli/__main__.py +0 -0
  142. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/cli/commands/__init__.py +0 -0
  143. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/cli/commands/cmd_conf.py +0 -0
  144. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/cli/commands/cmd_init.py +0 -0
  145. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/cli/commands/cmd_plug.py +0 -0
  146. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/cli/commands/cmd_run.py +0 -0
  147. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/cli/utils/__init__.py +0 -0
  148. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/cli/utils/basic.py +0 -0
  149. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/cli/utils/plugin.py +0 -0
  150. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/cli/utils/version_comparator.py +0 -0
  151. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/__init__.py +0 -0
  152. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/agent/agent.py +0 -0
  153. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/agent/context/compressor.py +0 -0
  154. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/agent/context/config.py +0 -0
  155. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/agent/context/manager.py +0 -0
  156. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/agent/context/token_counter.py +0 -0
  157. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/agent/context/truncator.py +0 -0
  158. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/agent/handoff.py +0 -0
  159. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/agent/hooks.py +0 -0
  160. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/agent/mcp_client.py +0 -0
  161. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/agent/message.py +0 -0
  162. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/agent/response.py +0 -0
  163. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/agent/run_context.py +0 -0
  164. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/agent/runners/__init__.py +0 -0
  165. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/agent/runners/base.py +0 -0
  166. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/agent/runners/coze/coze_agent_runner.py +0 -0
  167. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/agent/runners/coze/coze_api_client.py +0 -0
  168. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/agent/runners/dashscope/dashscope_agent_runner.py +0 -0
  169. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/agent/runners/dify/dify_agent_runner.py +0 -0
  170. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/agent/runners/dify/dify_api_client.py +0 -0
  171. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/agent/tool_executor.py +0 -0
  172. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/astr_agent_context.py +0 -0
  173. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/astr_agent_hooks.py +0 -0
  174. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/astr_agent_run_util.py +0 -0
  175. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/astrbot_config_mgr.py +0 -0
  176. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/backup/__init__.py +0 -0
  177. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/backup/constants.py +0 -0
  178. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/backup/exporter.py +0 -0
  179. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/backup/importer.py +0 -0
  180. {astrbot-4.12.4/astrbot/core/sandbox → astrbot-4.13.0/astrbot/core/computer}/olayer/__init__.py +0 -0
  181. {astrbot-4.12.4/astrbot/core/sandbox → astrbot-4.13.0/astrbot/core/computer}/olayer/filesystem.py +0 -0
  182. {astrbot-4.12.4/astrbot/core/sandbox → astrbot-4.13.0/astrbot/core/computer}/olayer/python.py +0 -0
  183. {astrbot-4.12.4/astrbot/core/sandbox → astrbot-4.13.0/astrbot/core/computer}/olayer/shell.py +0 -0
  184. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/config/__init__.py +0 -0
  185. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/config/astrbot_config.py +0 -0
  186. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/config/i18n_utils.py +0 -0
  187. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/conversation_mgr.py +0 -0
  188. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/core_lifecycle.py +0 -0
  189. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/db/migration/helper.py +0 -0
  190. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/db/migration/migra_3_to_4.py +0 -0
  191. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/db/migration/migra_45_to_46.py +0 -0
  192. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/db/migration/migra_token_usage.py +0 -0
  193. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/db/migration/migra_webchat_session.py +0 -0
  194. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/db/migration/shared_preferences_v3.py +0 -0
  195. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/db/migration/sqlite_v3.py +0 -0
  196. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/db/vec_db/base.py +0 -0
  197. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/db/vec_db/faiss_impl/__init__.py +0 -0
  198. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/db/vec_db/faiss_impl/document_storage.py +0 -0
  199. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/db/vec_db/faiss_impl/embedding_storage.py +0 -0
  200. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/db/vec_db/faiss_impl/sqlite_init.sql +0 -0
  201. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/db/vec_db/faiss_impl/vec_db.py +0 -0
  202. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/event_bus.py +0 -0
  203. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/exceptions.py +0 -0
  204. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/file_token_service.py +0 -0
  205. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/initial_loader.py +0 -0
  206. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/knowledge_base/chunking/__init__.py +0 -0
  207. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/knowledge_base/chunking/base.py +0 -0
  208. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/knowledge_base/chunking/fixed_size.py +0 -0
  209. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/knowledge_base/chunking/recursive.py +0 -0
  210. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/knowledge_base/kb_db_sqlite.py +0 -0
  211. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/knowledge_base/kb_helper.py +0 -0
  212. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/knowledge_base/kb_mgr.py +0 -0
  213. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/knowledge_base/models.py +0 -0
  214. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/knowledge_base/parsers/__init__.py +0 -0
  215. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/knowledge_base/parsers/base.py +0 -0
  216. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/knowledge_base/parsers/markitdown_parser.py +0 -0
  217. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/knowledge_base/parsers/pdf_parser.py +0 -0
  218. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/knowledge_base/parsers/text_parser.py +0 -0
  219. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/knowledge_base/parsers/url_parser.py +0 -0
  220. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/knowledge_base/parsers/util.py +0 -0
  221. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/knowledge_base/prompts.py +0 -0
  222. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/knowledge_base/retrieval/__init__.py +0 -0
  223. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/knowledge_base/retrieval/hit_stopwords.txt +0 -0
  224. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/knowledge_base/retrieval/manager.py +0 -0
  225. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/knowledge_base/retrieval/rank_fusion.py +0 -0
  226. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/knowledge_base/retrieval/sparse_retriever.py +0 -0
  227. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/log.py +0 -0
  228. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/message/message_event_result.py +0 -0
  229. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/pipeline/__init__.py +0 -0
  230. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/pipeline/content_safety_check/stage.py +0 -0
  231. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/pipeline/content_safety_check/strategies/__init__.py +0 -0
  232. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/pipeline/content_safety_check/strategies/baidu_aip.py +0 -0
  233. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/pipeline/content_safety_check/strategies/keywords.py +0 -0
  234. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/pipeline/content_safety_check/strategies/strategy.py +0 -0
  235. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/pipeline/context.py +0 -0
  236. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/pipeline/process_stage/method/agent_request.py +0 -0
  237. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/pipeline/process_stage/method/agent_sub_stages/third_party.py +0 -0
  238. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/pipeline/process_stage/method/star_request.py +0 -0
  239. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/pipeline/process_stage/stage.py +0 -0
  240. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/pipeline/rate_limit_check/stage.py +0 -0
  241. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/pipeline/respond/stage.py +0 -0
  242. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/pipeline/result_decorate/stage.py +0 -0
  243. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/pipeline/session_status_check/stage.py +0 -0
  244. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/pipeline/stage.py +0 -0
  245. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/pipeline/waking_check/stage.py +0 -0
  246. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/pipeline/whitelist_check/stage.py +0 -0
  247. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/platform/__init__.py +0 -0
  248. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/platform/astr_message_event.py +0 -0
  249. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/platform/astrbot_message.py +0 -0
  250. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/platform/manager.py +0 -0
  251. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/platform/message_session.py +0 -0
  252. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/platform/message_type.py +0 -0
  253. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/platform/platform.py +0 -0
  254. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/platform/platform_metadata.py +0 -0
  255. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/platform/register.py +0 -0
  256. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/platform/sources/aiocqhttp/aiocqhttp_platform_adapter.py +0 -0
  257. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/platform/sources/dingtalk/dingtalk_adapter.py +0 -0
  258. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/platform/sources/dingtalk/dingtalk_event.py +0 -0
  259. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/platform/sources/discord/client.py +0 -0
  260. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/platform/sources/discord/components.py +0 -0
  261. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/platform/sources/discord/discord_platform_adapter.py +0 -0
  262. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/platform/sources/discord/discord_platform_event.py +0 -0
  263. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/platform/sources/lark/lark_adapter.py +0 -0
  264. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/platform/sources/lark/lark_event.py +0 -0
  265. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/platform/sources/lark/server.py +0 -0
  266. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/platform/sources/misskey/misskey_adapter.py +0 -0
  267. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/platform/sources/misskey/misskey_api.py +0 -0
  268. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/platform/sources/misskey/misskey_event.py +0 -0
  269. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/platform/sources/misskey/misskey_utils.py +0 -0
  270. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/platform/sources/qqofficial/qqofficial_platform_adapter.py +0 -0
  271. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/platform/sources/qqofficial_webhook/qo_webhook_adapter.py +0 -0
  272. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/platform/sources/qqofficial_webhook/qo_webhook_event.py +0 -0
  273. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/platform/sources/qqofficial_webhook/qo_webhook_server.py +0 -0
  274. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/platform/sources/satori/satori_adapter.py +0 -0
  275. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/platform/sources/satori/satori_event.py +0 -0
  276. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/platform/sources/slack/client.py +0 -0
  277. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/platform/sources/slack/slack_adapter.py +0 -0
  278. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/platform/sources/slack/slack_event.py +0 -0
  279. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/platform/sources/telegram/tg_adapter.py +0 -0
  280. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/platform/sources/telegram/tg_event.py +0 -0
  281. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/platform/sources/webchat/webchat_adapter.py +0 -0
  282. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/platform/sources/webchat/webchat_event.py +0 -0
  283. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/platform/sources/webchat/webchat_queue_mgr.py +0 -0
  284. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/platform/sources/wecom/wecom_adapter.py +0 -0
  285. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/platform/sources/wecom/wecom_event.py +0 -0
  286. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/platform/sources/wecom/wecom_kf.py +0 -0
  287. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/platform/sources/wecom/wecom_kf_message.py +0 -0
  288. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/platform/sources/wecom_ai_bot/WXBizJsonMsgCrypt.py +0 -0
  289. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/platform/sources/wecom_ai_bot/__init__.py +0 -0
  290. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/platform/sources/wecom_ai_bot/ierror.py +0 -0
  291. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/platform/sources/wecom_ai_bot/wecomai_adapter.py +0 -0
  292. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/platform/sources/wecom_ai_bot/wecomai_api.py +0 -0
  293. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/platform/sources/wecom_ai_bot/wecomai_event.py +0 -0
  294. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/platform/sources/wecom_ai_bot/wecomai_queue_mgr.py +0 -0
  295. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/platform/sources/wecom_ai_bot/wecomai_server.py +0 -0
  296. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/platform/sources/wecom_ai_bot/wecomai_utils.py +0 -0
  297. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/platform/sources/weixin_official_account/weixin_offacc_adapter.py +0 -0
  298. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/platform/sources/weixin_official_account/weixin_offacc_event.py +0 -0
  299. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/platform_message_history_mgr.py +0 -0
  300. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/provider/__init__.py +0 -0
  301. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/provider/entites.py +0 -0
  302. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/provider/entities.py +0 -0
  303. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/provider/func_tool_manager.py +0 -0
  304. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/provider/provider.py +0 -0
  305. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/provider/register.py +0 -0
  306. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/provider/sources/anthropic_source.py +0 -0
  307. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/provider/sources/azure_tts_source.py +0 -0
  308. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/provider/sources/bailian_rerank_source.py +0 -0
  309. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/provider/sources/dashscope_tts.py +0 -0
  310. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/provider/sources/edge_tts_source.py +0 -0
  311. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/provider/sources/fishaudio_tts_api_source.py +0 -0
  312. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/provider/sources/gemini_embedding_source.py +0 -0
  313. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/provider/sources/gemini_tts_source.py +0 -0
  314. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/provider/sources/genie_tts.py +0 -0
  315. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/provider/sources/groq_source.py +0 -0
  316. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/provider/sources/gsv_selfhosted_source.py +0 -0
  317. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/provider/sources/gsvi_tts_source.py +0 -0
  318. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/provider/sources/minimax_tts_api_source.py +0 -0
  319. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/provider/sources/openai_embedding_source.py +0 -0
  320. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/provider/sources/openai_source.py +0 -0
  321. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/provider/sources/openai_tts_api_source.py +0 -0
  322. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/provider/sources/sensevoice_selfhosted_source.py +0 -0
  323. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/provider/sources/vllm_rerank_source.py +0 -0
  324. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/provider/sources/volcengine_tts.py +0 -0
  325. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/provider/sources/whisper_api_source.py +0 -0
  326. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/provider/sources/whisper_selfhosted_source.py +0 -0
  327. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/provider/sources/xai_source.py +0 -0
  328. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/provider/sources/xinference_rerank_source.py +0 -0
  329. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/provider/sources/xinference_stt_provider.py +0 -0
  330. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/provider/sources/zhipu_source.py +0 -0
  331. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/star/README.md +0 -0
  332. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/star/__init__.py +0 -0
  333. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/star/context.py +0 -0
  334. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/star/filter/__init__.py +0 -0
  335. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/star/filter/command_group.py +0 -0
  336. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/star/filter/event_message_type.py +0 -0
  337. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/star/filter/permission.py +0 -0
  338. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/star/filter/platform_adapter_type.py +0 -0
  339. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/star/filter/regex.py +0 -0
  340. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/star/register/__init__.py +0 -0
  341. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/star/register/star.py +0 -0
  342. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/star/session_llm_manager.py +0 -0
  343. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/star/session_plugin_manager.py +0 -0
  344. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/star/star.py +0 -0
  345. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/star/star_handler.py +0 -0
  346. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/star/star_manager.py +0 -0
  347. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/star/star_tools.py +0 -0
  348. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/star/updator.py +0 -0
  349. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/umop_config_router.py +0 -0
  350. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/updator.py +0 -0
  351. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/utils/command_parser.py +0 -0
  352. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/utils/file_extract.py +0 -0
  353. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/utils/io.py +0 -0
  354. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/utils/llm_metadata.py +0 -0
  355. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/utils/log_pipe.py +0 -0
  356. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/utils/metrics.py +0 -0
  357. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/utils/migra_helper.py +0 -0
  358. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/utils/path_util.py +0 -0
  359. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/utils/pip_installer.py +0 -0
  360. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/utils/plugin_kv_store.py +0 -0
  361. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/utils/session_lock.py +0 -0
  362. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/utils/session_waiter.py +0 -0
  363. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/utils/shared_preferences.py +0 -0
  364. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/utils/t2i/__init__.py +0 -0
  365. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/utils/t2i/local_strategy.py +0 -0
  366. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/utils/t2i/network_strategy.py +0 -0
  367. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/utils/t2i/renderer.py +0 -0
  368. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/utils/t2i/template/astrbot_powershell.html +0 -0
  369. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/utils/t2i/template/base.html +0 -0
  370. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/utils/t2i/template_manager.py +0 -0
  371. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/utils/tencent_record_helper.py +0 -0
  372. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/utils/version_comparator.py +0 -0
  373. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/utils/webhook_utils.py +0 -0
  374. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/core/zip_updator.py +0 -0
  375. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/dashboard/routes/auth.py +0 -0
  376. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/dashboard/routes/backup.py +0 -0
  377. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/dashboard/routes/chat.py +0 -0
  378. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/dashboard/routes/chatui_project.py +0 -0
  379. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/dashboard/routes/command.py +0 -0
  380. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/dashboard/routes/conversation.py +0 -0
  381. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/dashboard/routes/file.py +0 -0
  382. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/dashboard/routes/knowledge_base.py +0 -0
  383. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/dashboard/routes/live_chat.py +0 -0
  384. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/dashboard/routes/log.py +0 -0
  385. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/dashboard/routes/platform.py +0 -0
  386. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/dashboard/routes/plugin.py +0 -0
  387. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/dashboard/routes/route.py +0 -0
  388. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/dashboard/routes/session_management.py +0 -0
  389. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/dashboard/routes/stat.py +0 -0
  390. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/dashboard/routes/static_file.py +0 -0
  391. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/dashboard/routes/t2i.py +0 -0
  392. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/dashboard/routes/tools.py +0 -0
  393. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/dashboard/routes/update.py +0 -0
  394. {astrbot-4.12.4 → astrbot-4.13.0}/astrbot/dashboard/utils.py +0 -0
  395. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v3.4.0.md +0 -0
  396. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v3.4.1.md +0 -0
  397. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v3.4.10.md +0 -0
  398. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v3.4.11.md +0 -0
  399. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v3.4.12.md +0 -0
  400. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v3.4.13.md +0 -0
  401. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v3.4.14.md +0 -0
  402. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v3.4.15.md +0 -0
  403. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v3.4.16.md +0 -0
  404. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v3.4.17.md +0 -0
  405. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v3.4.18.md +0 -0
  406. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v3.4.19.md +0 -0
  407. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v3.4.20.md +0 -0
  408. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v3.4.21.md +0 -0
  409. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v3.4.22.md +0 -0
  410. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v3.4.23.md +0 -0
  411. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v3.4.24.md +0 -0
  412. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v3.4.25.md +0 -0
  413. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v3.4.26.md +0 -0
  414. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v3.4.27.md +0 -0
  415. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v3.4.28.md +0 -0
  416. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v3.4.29.md +0 -0
  417. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v3.4.3.md +0 -0
  418. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v3.4.30.md +0 -0
  419. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v3.4.31.md +0 -0
  420. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v3.4.32.md +0 -0
  421. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v3.4.33.md +0 -0
  422. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v3.4.35.md +0 -0
  423. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v3.4.36.md +0 -0
  424. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v3.4.37.md +0 -0
  425. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v3.4.38.md +0 -0
  426. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v3.4.39.md +0 -0
  427. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v3.4.4.md +0 -0
  428. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v3.4.5.md +0 -0
  429. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v3.4.6.md +0 -0
  430. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v3.4.7.md +0 -0
  431. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v3.4.8.md +0 -0
  432. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v3.4.9.md +0 -0
  433. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v3.5.0.md +0 -0
  434. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v3.5.1.md +0 -0
  435. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v3.5.10.md +0 -0
  436. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v3.5.11.md +0 -0
  437. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v3.5.12.md +0 -0
  438. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v3.5.13.md +0 -0
  439. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v3.5.14.md +0 -0
  440. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v3.5.15.md +0 -0
  441. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v3.5.16.md +0 -0
  442. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v3.5.17.md +0 -0
  443. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v3.5.18.md +0 -0
  444. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v3.5.19.md +0 -0
  445. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v3.5.2.md +0 -0
  446. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v3.5.20.md +0 -0
  447. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v3.5.21.md +0 -0
  448. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v3.5.22.md +0 -0
  449. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v3.5.23.md +0 -0
  450. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v3.5.24.md +0 -0
  451. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v3.5.25.md +0 -0
  452. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v3.5.26.md +0 -0
  453. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v3.5.27.md +0 -0
  454. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v3.5.3.1.md +0 -0
  455. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v3.5.3.2.md +0 -0
  456. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v3.5.3.md +0 -0
  457. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v3.5.4.md +0 -0
  458. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v3.5.5.md +0 -0
  459. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v3.5.6.md +0 -0
  460. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v3.5.7.md +0 -0
  461. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v3.5.8.md +0 -0
  462. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v3.5.9.md +0 -0
  463. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v4.0.0-beta.3.md +0 -0
  464. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v4.0.0-beta.4.md +0 -0
  465. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v4.0.0-beta.5.md +0 -0
  466. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v4.0.0.md +0 -0
  467. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v4.1.0.md +0 -0
  468. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v4.1.1.md +0 -0
  469. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v4.1.2.md +0 -0
  470. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v4.1.3.md +0 -0
  471. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v4.1.4.md +0 -0
  472. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v4.1.5.md +0 -0
  473. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v4.1.6.md +0 -0
  474. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v4.1.7.md +0 -0
  475. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v4.10.0-alpha.1.md +0 -0
  476. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v4.10.0-alpha.2.md +0 -0
  477. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v4.10.0.md +0 -0
  478. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v4.10.1.md +0 -0
  479. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v4.10.2.md +0 -0
  480. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v4.10.3.md +0 -0
  481. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v4.10.4.md +0 -0
  482. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v4.10.5.md +0 -0
  483. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v4.10.6.md +0 -0
  484. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v4.11.0.md +0 -0
  485. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v4.11.1.md +0 -0
  486. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v4.11.2.md +0 -0
  487. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v4.11.3.md +0 -0
  488. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v4.11.4.md +0 -0
  489. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v4.12.0.md +0 -0
  490. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v4.12.1.md +0 -0
  491. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v4.12.2.md +0 -0
  492. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v4.12.3.md +0 -0
  493. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v4.12.4.md +0 -0
  494. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v4.2.0.md +0 -0
  495. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v4.2.1.md +0 -0
  496. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v4.3.0.md +0 -0
  497. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v4.3.1.md +0 -0
  498. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v4.3.2.md +0 -0
  499. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v4.3.3.md +0 -0
  500. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v4.3.5.md +0 -0
  501. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v4.5.0.md +0 -0
  502. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v4.5.1.md +0 -0
  503. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v4.5.2.md +0 -0
  504. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v4.5.3.md +0 -0
  505. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v4.5.4.md +0 -0
  506. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v4.5.5.md +0 -0
  507. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v4.5.6.md +0 -0
  508. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v4.5.7.md +0 -0
  509. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v4.5.8.md +0 -0
  510. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v4.6.0.md +0 -0
  511. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v4.6.1.md +0 -0
  512. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v4.7.0.md +0 -0
  513. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v4.7.1.md +0 -0
  514. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v4.7.3.md +0 -0
  515. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v4.7.4.md +0 -0
  516. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v4.8.0.md +0 -0
  517. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v4.9.0.md +0 -0
  518. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v4.9.1.md +0 -0
  519. {astrbot-4.12.4 → astrbot-4.13.0}/changelogs/v4.9.2.md +0 -0
  520. {astrbot-4.12.4 → astrbot-4.13.0}/compose-with-shipyard.yml +0 -0
  521. {astrbot-4.12.4 → astrbot-4.13.0}/compose.yml +0 -0
  522. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/.gitignore +0 -0
  523. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/LICENSE +0 -0
  524. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/README.md +0 -0
  525. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/env.d.ts +0 -0
  526. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/index.html +0 -0
  527. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/public/_redirects +0 -0
  528. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/public/favicon.svg +0 -0
  529. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/App.vue +0 -0
  530. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/assets/images/astrbot_banner.png +0 -0
  531. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/assets/images/astrbot_logo_mini.webp +0 -0
  532. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/assets/images/icon-no-shadow.svg +0 -0
  533. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/assets/images/loading-seio.webp +0 -0
  534. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/assets/images/platform_logos/dingtalk.svg +0 -0
  535. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/assets/images/platform_logos/discord.svg +0 -0
  536. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/assets/images/platform_logos/kook.png +0 -0
  537. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/assets/images/platform_logos/lark.png +0 -0
  538. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/assets/images/platform_logos/misskey.png +0 -0
  539. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/assets/images/platform_logos/onebot.png +0 -0
  540. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/assets/images/platform_logos/qq.png +0 -0
  541. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/assets/images/platform_logos/satori.png +0 -0
  542. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/assets/images/platform_logos/slack.svg +0 -0
  543. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/assets/images/platform_logos/telegram.svg +0 -0
  544. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/assets/images/platform_logos/vocechat.png +0 -0
  545. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/assets/images/platform_logos/wechat.png +0 -0
  546. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/assets/images/platform_logos/wecom.png +0 -0
  547. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/assets/images/plugin_icon.png +0 -0
  548. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/assets/images/xmas-hat.png +0 -0
  549. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/components/ConfirmDialog.vue +0 -0
  550. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/components/chat/Chat.vue +0 -0
  551. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/components/chat/ChatInput.vue +0 -0
  552. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/components/chat/ConfigSelector.vue +0 -0
  553. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/components/chat/ConversationSidebar.vue +0 -0
  554. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/components/chat/LiveMode.vue +0 -0
  555. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/components/chat/LiveOrb.vue +0 -0
  556. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/components/chat/ProjectDialog.vue +0 -0
  557. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/components/chat/ProjectList.vue +0 -0
  558. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/components/chat/ProjectView.vue +0 -0
  559. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/components/chat/ProviderConfigDialog.vue +0 -0
  560. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/components/chat/ProviderModelMenu.vue +0 -0
  561. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/components/chat/StandaloneChat.vue +0 -0
  562. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/components/chat/WelcomeView.vue +0 -0
  563. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/components/chat/message_list_comps/ActionRef.vue +0 -0
  564. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/components/chat/message_list_comps/IPythonToolBlock.vue +0 -0
  565. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/components/chat/message_list_comps/ReasoningBlock.vue +0 -0
  566. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/components/chat/message_list_comps/RefNode.vue +0 -0
  567. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/components/chat/message_list_comps/RefsSidebar.vue +0 -0
  568. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/components/chat/message_list_comps/ToolCallCard.vue +0 -0
  569. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/components/config/AstrBotCoreConfigWrapper.vue +0 -0
  570. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/components/extension/McpServersSection.vue +0 -0
  571. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/components/extension/componentPanel/components/CommandFilters.vue +0 -0
  572. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/components/extension/componentPanel/components/CommandTable.vue +0 -0
  573. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/components/extension/componentPanel/components/DetailsDialog.vue +0 -0
  574. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/components/extension/componentPanel/components/RenameDialog.vue +0 -0
  575. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/components/extension/componentPanel/components/ToolTable.vue +0 -0
  576. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/components/extension/componentPanel/composables/useCommandActions.ts +0 -0
  577. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/components/extension/componentPanel/composables/useCommandFilters.ts +0 -0
  578. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/components/extension/componentPanel/composables/useComponentData.ts +0 -0
  579. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/components/extension/componentPanel/index.vue +0 -0
  580. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/components/extension/componentPanel/types.ts +0 -0
  581. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/components/folder/BaseCreateFolderDialog.vue +0 -0
  582. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/components/folder/BaseFolderBreadcrumb.vue +0 -0
  583. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/components/folder/BaseFolderCard.vue +0 -0
  584. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/components/folder/BaseFolderItemSelector.vue +0 -0
  585. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/components/folder/BaseFolderTree.vue +0 -0
  586. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/components/folder/BaseFolderTreeNode.vue +0 -0
  587. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/components/folder/BaseMoveTargetNode.vue +0 -0
  588. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/components/folder/BaseMoveToFolderDialog.vue +0 -0
  589. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/components/folder/README.md +0 -0
  590. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/components/folder/index.ts +0 -0
  591. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/components/folder/types.ts +0 -0
  592. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/components/folder/useFolderManager.ts +0 -0
  593. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/components/platform/AddNewPlatform.vue +0 -0
  594. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/components/provider/AddNewProvider.vue +0 -0
  595. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/components/provider/ProviderModelsPanel.vue +0 -0
  596. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/components/provider/ProviderSourcesPanel.vue +0 -0
  597. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/components/shared/AstrBotConfigV4.vue +0 -0
  598. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/components/shared/BackupDialog.vue +0 -0
  599. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/components/shared/ChangelogDialog.vue +0 -0
  600. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/components/shared/ConsoleDisplayer.vue +0 -0
  601. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/components/shared/ExtensionCard.vue +0 -0
  602. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/components/shared/ItemCardGrid.vue +0 -0
  603. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/components/shared/KnowledgeBaseSelector.vue +0 -0
  604. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/components/shared/LanguageSwitcher.vue +0 -0
  605. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/components/shared/ListConfigItem.vue +0 -0
  606. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/components/shared/Logo.vue +0 -0
  607. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/components/shared/MigrationDialog.vue +0 -0
  608. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/components/shared/ObjectEditor.vue +0 -0
  609. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/components/shared/PersonaSelector.vue +0 -0
  610. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/components/shared/PluginSetSelector.vue +0 -0
  611. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/components/shared/ProviderSelector.vue +0 -0
  612. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/components/shared/ReadmeDialog.vue +0 -0
  613. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/components/shared/SidebarCustomizer.vue +0 -0
  614. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/components/shared/StyledMenu.vue +0 -0
  615. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/components/shared/T2ITemplateEditor.vue +0 -0
  616. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/components/shared/TemplateListEditor.vue +0 -0
  617. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/components/shared/UninstallConfirmDialog.vue +0 -0
  618. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/components/shared/WaitingForRestart.vue +0 -0
  619. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/composables/useConversations.ts +0 -0
  620. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/composables/useMediaHandling.ts +0 -0
  621. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/composables/useMessages.ts +0 -0
  622. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/composables/useProjects.ts +0 -0
  623. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/composables/useProviderSources.ts +0 -0
  624. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/composables/useRecording.ts +0 -0
  625. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/composables/useSessions.ts +0 -0
  626. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/composables/useVADRecording.ts +0 -0
  627. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/config.ts +0 -0
  628. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/i18n/composables.ts +0 -0
  629. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/i18n/loader.ts +0 -0
  630. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/i18n/locales/en-US/core/actions.json +0 -0
  631. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/i18n/locales/en-US/core/common.json +0 -0
  632. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/i18n/locales/en-US/core/header.json +0 -0
  633. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/i18n/locales/en-US/core/navigation.json +0 -0
  634. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/i18n/locales/en-US/core/shared.json +0 -0
  635. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/i18n/locales/en-US/core/status.json +0 -0
  636. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/i18n/locales/en-US/features/about.json +0 -0
  637. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/i18n/locales/en-US/features/alkaid/index.json +0 -0
  638. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/i18n/locales/en-US/features/alkaid/knowledge-base.json +0 -0
  639. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/i18n/locales/en-US/features/alkaid/memory.json +0 -0
  640. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/i18n/locales/en-US/features/auth.json +0 -0
  641. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/i18n/locales/en-US/features/chart.json +0 -0
  642. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/i18n/locales/en-US/features/chat.json +0 -0
  643. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/i18n/locales/en-US/features/command.json +0 -0
  644. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/i18n/locales/en-US/features/console.json +0 -0
  645. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/i18n/locales/en-US/features/conversation.json +0 -0
  646. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/i18n/locales/en-US/features/dashboard.json +0 -0
  647. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/i18n/locales/en-US/features/knowledge-base/detail.json +0 -0
  648. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/i18n/locales/en-US/features/knowledge-base/document.json +0 -0
  649. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/i18n/locales/en-US/features/knowledge-base/index.json +0 -0
  650. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/i18n/locales/en-US/features/migration.json +0 -0
  651. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/i18n/locales/en-US/features/platform.json +0 -0
  652. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/i18n/locales/en-US/features/provider.json +0 -0
  653. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/i18n/locales/en-US/features/session-management.json +0 -0
  654. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/i18n/locales/en-US/features/settings.json +0 -0
  655. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/i18n/locales/en-US/features/tool-use.json +0 -0
  656. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/i18n/locales/en-US/messages/errors.json +0 -0
  657. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/i18n/locales/en-US/messages/success.json +0 -0
  658. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/i18n/locales/en-US/messages/validation.json +0 -0
  659. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/i18n/locales/zh-CN/core/actions.json +0 -0
  660. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/i18n/locales/zh-CN/core/common.json +0 -0
  661. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/i18n/locales/zh-CN/core/header.json +0 -0
  662. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/i18n/locales/zh-CN/core/navigation.json +0 -0
  663. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/i18n/locales/zh-CN/core/shared.json +0 -0
  664. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/i18n/locales/zh-CN/core/status.json +0 -0
  665. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/i18n/locales/zh-CN/features/about.json +0 -0
  666. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/i18n/locales/zh-CN/features/alkaid/index.json +0 -0
  667. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/i18n/locales/zh-CN/features/alkaid/knowledge-base.json +0 -0
  668. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/i18n/locales/zh-CN/features/alkaid/memory.json +0 -0
  669. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/i18n/locales/zh-CN/features/auth.json +0 -0
  670. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/i18n/locales/zh-CN/features/chart.json +0 -0
  671. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/i18n/locales/zh-CN/features/chat.json +0 -0
  672. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/i18n/locales/zh-CN/features/command.json +0 -0
  673. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/i18n/locales/zh-CN/features/console.json +0 -0
  674. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/i18n/locales/zh-CN/features/conversation.json +0 -0
  675. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/i18n/locales/zh-CN/features/dashboard.json +0 -0
  676. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/i18n/locales/zh-CN/features/knowledge-base/detail.json +0 -0
  677. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/i18n/locales/zh-CN/features/knowledge-base/document.json +0 -0
  678. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/i18n/locales/zh-CN/features/knowledge-base/index.json +0 -0
  679. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/i18n/locales/zh-CN/features/migration.json +0 -0
  680. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/i18n/locales/zh-CN/features/platform.json +0 -0
  681. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/i18n/locales/zh-CN/features/provider.json +0 -0
  682. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/i18n/locales/zh-CN/features/session-management.json +0 -0
  683. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/i18n/locales/zh-CN/features/settings.json +0 -0
  684. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/i18n/locales/zh-CN/features/tool-use.json +0 -0
  685. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/i18n/locales/zh-CN/messages/errors.json +0 -0
  686. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/i18n/locales/zh-CN/messages/success.json +0 -0
  687. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/i18n/locales/zh-CN/messages/validation.json +0 -0
  688. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/i18n/tools/index.ts +0 -0
  689. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/i18n/translations.ts +0 -0
  690. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/i18n/types.ts +0 -0
  691. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/i18n/validator.ts +0 -0
  692. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/layouts/blank/BlankLayout.vue +0 -0
  693. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/layouts/full/FullLayout.vue +0 -0
  694. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/layouts/full/vertical-sidebar/NavItem.vue +0 -0
  695. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/layouts/full/vertical-sidebar/VerticalSidebar.vue +0 -0
  696. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/layouts/full/vertical-sidebar/sidebarItem.ts +0 -0
  697. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/main.ts +0 -0
  698. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/plugins/confirmPlugin.ts +0 -0
  699. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/plugins/vuetify.ts +0 -0
  700. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/router/AuthRoutes.ts +0 -0
  701. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/router/ChatBoxRoutes.ts +0 -0
  702. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/router/MainRoutes.ts +0 -0
  703. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/router/index.ts +0 -0
  704. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/scss/_override.scss +0 -0
  705. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/scss/_variables.scss +0 -0
  706. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/scss/components/_VButtons.scss +0 -0
  707. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/scss/components/_VCard.scss +0 -0
  708. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/scss/components/_VField.scss +0 -0
  709. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/scss/components/_VInput.scss +0 -0
  710. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/scss/components/_VNavigationDrawer.scss +0 -0
  711. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/scss/components/_VScrollbar.scss +0 -0
  712. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/scss/components/_VShadow.scss +0 -0
  713. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/scss/components/_VTabs.scss +0 -0
  714. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/scss/components/_VTextField.scss +0 -0
  715. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/scss/layout/_container.scss +0 -0
  716. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/scss/layout/_sidebar.scss +0 -0
  717. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/scss/pages/_dashboards.scss +0 -0
  718. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/scss/style.scss +0 -0
  719. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/stores/auth.ts +0 -0
  720. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/stores/common.js +0 -0
  721. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/stores/customizer.ts +0 -0
  722. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/stores/routerLoading.ts +0 -0
  723. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/stores/toast.js +0 -0
  724. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/theme/DarkTheme.ts +0 -0
  725. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/theme/LightTheme.ts +0 -0
  726. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/types/themeTypes/ThemeType.ts +0 -0
  727. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/types/vue3-print-nb.d.ts +0 -0
  728. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/types/vue_tabler_icon.d.ts +0 -0
  729. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/utils/platformUtils.js +0 -0
  730. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/utils/providerUtils.js +0 -0
  731. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/utils/sidebarCustomization.js +0 -0
  732. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/utils/toast.js +0 -0
  733. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/views/AboutPage.vue +0 -0
  734. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/views/AlkaidPage.vue +0 -0
  735. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/views/ChatBoxPage.vue +0 -0
  736. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/views/ChatPage.vue +0 -0
  737. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/views/ConfigPage.vue +0 -0
  738. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/views/ConsolePage.vue +0 -0
  739. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/views/ConversationPage.vue +0 -0
  740. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/views/PersonaPage.vue +0 -0
  741. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/views/PlatformPage.vue +0 -0
  742. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/views/ProviderPage.vue +0 -0
  743. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/views/SessionManagementPage.vue +0 -0
  744. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/views/Settings.vue +0 -0
  745. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/views/alkaid/LongTermMemory.vue +0 -0
  746. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/views/alkaid/Other.vue +0 -0
  747. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/views/authentication/auth/LoginPage.vue +0 -0
  748. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/views/authentication/authForms/AuthLogin.vue +0 -0
  749. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/views/dashboards/default/DefaultDashboard.vue +0 -0
  750. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/views/dashboards/default/components/MemoryUsage.vue +0 -0
  751. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/views/dashboards/default/components/MessageStat.vue +0 -0
  752. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/views/dashboards/default/components/OnlinePlatform.vue +0 -0
  753. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/views/dashboards/default/components/OnlineTime.vue +0 -0
  754. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/views/dashboards/default/components/PlatformStat.vue +0 -0
  755. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/views/dashboards/default/components/RunningTime.vue +0 -0
  756. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/views/dashboards/default/components/TotalMessage.vue +0 -0
  757. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/views/knowledge-base/DocumentDetail.vue +0 -0
  758. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/views/knowledge-base/KBDetail.vue +0 -0
  759. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/views/knowledge-base/KBList.vue +0 -0
  760. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/views/knowledge-base/components/DocumentsTab.vue +0 -0
  761. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/views/knowledge-base/components/RetrievalTab.vue +0 -0
  762. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/views/knowledge-base/components/SettingsTab.vue +0 -0
  763. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/views/knowledge-base/components/TavilyKeyDialog.vue +0 -0
  764. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/views/knowledge-base/index.vue +0 -0
  765. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/views/persona/CreateFolderDialog.vue +0 -0
  766. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/views/persona/FolderBreadcrumb.vue +0 -0
  767. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/views/persona/FolderCard.vue +0 -0
  768. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/views/persona/FolderTree.vue +0 -0
  769. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/views/persona/FolderTreeNode.vue +0 -0
  770. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/views/persona/MoveTargetNode.vue +0 -0
  771. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/views/persona/MoveToFolderDialog.vue +0 -0
  772. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/src/views/persona/index.ts +0 -0
  773. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/tsconfig.json +0 -0
  774. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/tsconfig.vite-config.json +0 -0
  775. {astrbot-4.12.4 → astrbot-4.13.0}/dashboard/vite.config.ts +0 -0
  776. {astrbot-4.12.4 → astrbot-4.13.0}/k8s/astrbot/00-namespace.yaml +0 -0
  777. {astrbot-4.12.4 → astrbot-4.13.0}/k8s/astrbot/01-pvc.yaml +0 -0
  778. {astrbot-4.12.4 → astrbot-4.13.0}/k8s/astrbot/02-deployment.yaml +0 -0
  779. {astrbot-4.12.4 → astrbot-4.13.0}/k8s/astrbot/03-service-nodeport.yaml +0 -0
  780. {astrbot-4.12.4 → astrbot-4.13.0}/k8s/astrbot/04-service-loadbalancer.yaml +0 -0
  781. {astrbot-4.12.4 → astrbot-4.13.0}/k8s/astrbot_with_napcat/00-namespace.yaml +0 -0
  782. {astrbot-4.12.4 → astrbot-4.13.0}/k8s/astrbot_with_napcat/01-pvc.yaml +0 -0
  783. {astrbot-4.12.4 → astrbot-4.13.0}/k8s/astrbot_with_napcat/02-deployment.yaml +0 -0
  784. {astrbot-4.12.4 → astrbot-4.13.0}/k8s/astrbot_with_napcat/03-service-nodeport.yaml +0 -0
  785. {astrbot-4.12.4 → astrbot-4.13.0}/k8s/astrbot_with_napcat/04-service-loadbalancer.yaml +0 -0
  786. {astrbot-4.12.4 → astrbot-4.13.0}/main.py +0 -0
  787. {astrbot-4.12.4 → astrbot-4.13.0}/requirements.txt +0 -0
  788. {astrbot-4.12.4 → astrbot-4.13.0}/samples/stt_health_check.wav +0 -0
  789. {astrbot-4.12.4 → astrbot-4.13.0}/tests/agent/test_context_manager.py +0 -0
  790. {astrbot-4.12.4 → astrbot-4.13.0}/tests/agent/test_truncator.py +0 -0
  791. {astrbot-4.12.4 → astrbot-4.13.0}/tests/test_backup.py +0 -0
  792. {astrbot-4.12.4 → astrbot-4.13.0}/tests/test_dashboard.py +0 -0
  793. {astrbot-4.12.4 → astrbot-4.13.0}/tests/test_kb_import.py +0 -0
  794. {astrbot-4.12.4 → astrbot-4.13.0}/tests/test_main.py +0 -0
  795. {astrbot-4.12.4 → astrbot-4.13.0}/tests/test_plugin_manager.py +0 -0
  796. {astrbot-4.12.4 → astrbot-4.13.0}/tests/test_security_fixes.py +0 -0
  797. {astrbot-4.12.4 → astrbot-4.13.0}/tests/test_tool_loop_agent_runner.py +0 -0
  798. {astrbot-4.12.4 → astrbot-4.13.0}/typings/faiss/__init__.pyi +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: AstrBot
3
- Version: 4.12.4
3
+ Version: 4.13.0
4
4
  Summary: Easy-to-use multi-platform LLM chatbot and development framework
5
5
  License-File: LICENSE
6
6
  Keywords: Astrbot,Astrbot Module,Astrbot Plugin
@@ -10,8 +10,11 @@ from astrbot.api.provider import Provider, ProviderRequest
10
10
  from astrbot.core.agent.message import TextPart
11
11
  from astrbot.core.pipeline.process_stage.utils import (
12
12
  CHATUI_SPECIAL_DEFAULT_PERSONA_PROMPT,
13
+ LOCAL_EXECUTE_SHELL_TOOL,
14
+ LOCAL_PYTHON_TOOL,
13
15
  )
14
16
  from astrbot.core.provider.func_tool_manager import ToolSet
17
+ from astrbot.core.skills.skill_manager import SkillManager, build_skills_prompt
15
18
 
16
19
 
17
20
  class ProcessLLMRequest:
@@ -25,6 +28,15 @@ class ProcessLLMRequest:
25
28
  else:
26
29
  logger.info(f"Timezone set to: {self.timezone}")
27
30
 
31
+ self.skill_manager = SkillManager()
32
+
33
+ def _apply_local_env_tools(self, req: ProviderRequest) -> None:
34
+ """Add local environment tools to the provider request."""
35
+ if req.func_tool is None:
36
+ req.func_tool = ToolSet()
37
+ req.func_tool.add_tool(LOCAL_EXECUTE_SHELL_TOOL)
38
+ req.func_tool.add_tool(LOCAL_PYTHON_TOOL)
39
+
28
40
  async def _ensure_persona(
29
41
  self, req: ProviderRequest, cfg: dict, umo: str, platform_type: str
30
42
  ):
@@ -66,6 +78,30 @@ class ProcessLLMRequest:
66
78
  if begin_dialogs := copy.deepcopy(persona["_begin_dialogs_processed"]):
67
79
  req.contexts[:0] = begin_dialogs
68
80
 
81
+ # skills select and prompt
82
+ runtime = self.skills_cfg.get("runtime", "local")
83
+ skills = self.skill_manager.list_skills(active_only=True, runtime=runtime)
84
+ if runtime == "sandbox" and not self.sandbox_cfg.get("enable", False):
85
+ logger.warning(
86
+ "Skills runtime is set to sandbox, but sandbox mode is disabled, will skip skills prompt injection.",
87
+ )
88
+ req.system_prompt += "\n[Background: User added some skills, and skills runtime is set to sandbox, but sandbox mode is disabled. So skills will be unavailable.]\n"
89
+ elif skills:
90
+ # persona.skills == None means all skills are allowed
91
+ if persona and persona.get("skills") is not None:
92
+ if not persona["skills"]:
93
+ return
94
+ allowed = set(persona["skills"])
95
+ skills = [skill for skill in skills if skill.name in allowed]
96
+ if skills:
97
+ req.system_prompt += f"\n{build_skills_prompt(skills)}\n"
98
+
99
+ # if user wants to use skills in non-sandbox mode, apply local env tools
100
+ runtime = self.skills_cfg.get("runtime", "local")
101
+ sandbox_enabled = self.sandbox_cfg.get("enable", False)
102
+ if runtime == "local" and not sandbox_enabled:
103
+ self._apply_local_env_tools(req)
104
+
69
105
  # tools select
70
106
  tmgr = self.ctx.get_llm_tool_manager()
71
107
  if (persona and persona.get("tools") is None) or not persona:
@@ -81,7 +117,10 @@ class ProcessLLMRequest:
81
117
  tool = tmgr.get_func(tool_name)
82
118
  if tool and tool.active:
83
119
  toolset.add_tool(tool)
84
- req.func_tool = toolset
120
+ if not req.func_tool:
121
+ req.func_tool = toolset
122
+ else:
123
+ req.func_tool.merge(toolset)
85
124
  logger.debug(f"Tool set for persona {persona_id}: {toolset.names()}")
86
125
 
87
126
  async def _ensure_img_caption(
@@ -134,6 +173,8 @@ class ProcessLLMRequest:
134
173
  cfg: dict = self.ctx.get_config(umo=event.unified_msg_origin)[
135
174
  "provider_settings"
136
175
  ]
176
+ self.skills_cfg = cfg.get("skills", {})
177
+ self.sandbox_cfg = cfg.get("sandbox", {})
137
178
 
138
179
  # prompt prefix
139
180
  if prefix := cfg.get("prompt_prefix"):
@@ -0,0 +1 @@
1
+ __version__ = "4.13.0"
@@ -1,3 +1,4 @@
1
+ import copy
1
2
  import sys
2
3
  import time
3
4
  import traceback
@@ -14,6 +15,7 @@ from mcp.types import (
14
15
 
15
16
  from astrbot import logger
16
17
  from astrbot.core.agent.message import TextPart, ThinkPart
18
+ from astrbot.core.agent.tool import ToolSet
17
19
  from astrbot.core.message.components import Json
18
20
  from astrbot.core.message.message_event_result import (
19
21
  MessageChain,
@@ -64,6 +66,7 @@ class ToolLoopAgentRunner(BaseAgentRunner[TContext]):
64
66
  # customize
65
67
  custom_token_counter: TokenCounter | None = None,
66
68
  custom_compressor: ContextCompressor | None = None,
69
+ tool_schema_mode: str | None = "full",
67
70
  **kwargs: T.Any,
68
71
  ) -> None:
69
72
  self.req = request
@@ -99,6 +102,24 @@ class ToolLoopAgentRunner(BaseAgentRunner[TContext]):
99
102
  self.agent_hooks = agent_hooks
100
103
  self.run_context = run_context
101
104
 
105
+ # These two are used for tool schema mode handling
106
+ # We now have two modes:
107
+ # - "full": use full tool schema for LLM calls, default.
108
+ # - "skills_like": use light tool schema for LLM calls, and re-query with param-only schema when needed.
109
+ # Light tool schema does not include tool parameters.
110
+ # This can reduce token usage when tools have large descriptions.
111
+ # See #4681
112
+ self.tool_schema_mode = tool_schema_mode
113
+ self._tool_schema_param_set = None
114
+ if tool_schema_mode == "skills_like":
115
+ tool_set = self.req.func_tool
116
+ if not tool_set:
117
+ return
118
+ light_set = tool_set.get_light_tool_set()
119
+ self._tool_schema_param_set = tool_set.get_param_only_tool_set()
120
+ # MODIFIE the req.func_tool to use light tool schemas
121
+ self.req.func_tool = light_set
122
+
102
123
  messages = []
103
124
  # append existing messages in the run context
104
125
  for msg in request.contexts:
@@ -253,6 +274,9 @@ class ToolLoopAgentRunner(BaseAgentRunner[TContext]):
253
274
 
254
275
  # 如果有工具调用,还需处理工具调用
255
276
  if llm_resp.tools_call_name:
277
+ if self.tool_schema_mode == "skills_like":
278
+ llm_resp, _ = await self._resolve_tool_exec(llm_resp)
279
+
256
280
  tool_call_result_blocks = []
257
281
  async for result in self._handle_function_tools(self.req, llm_resp):
258
282
  if isinstance(result, list):
@@ -269,6 +293,7 @@ class ToolLoopAgentRunner(BaseAgentRunner[TContext]):
269
293
  type=ar_type,
270
294
  data=AgentResponseData(chain=result),
271
295
  )
296
+
272
297
  # 将结果添加到上下文中
273
298
  parts = []
274
299
  if llm_resp.reasoning_content or llm_resp.reasoning_signature:
@@ -354,7 +379,7 @@ class ToolLoopAgentRunner(BaseAgentRunner[TContext]):
354
379
  try:
355
380
  if not req.func_tool:
356
381
  return
357
- func_tool = req.func_tool.get_func(func_tool_name)
382
+ func_tool = req.func_tool.get_tool(func_tool_name)
358
383
  logger.info(f"使用工具:{func_tool_name},参数:{func_tool_args}")
359
384
 
360
385
  if not func_tool:
@@ -537,6 +562,71 @@ class ToolLoopAgentRunner(BaseAgentRunner[TContext]):
537
562
  if tool_call_result_blocks:
538
563
  yield tool_call_result_blocks
539
564
 
565
+ def _build_tool_requery_context(
566
+ self, tool_names: list[str]
567
+ ) -> list[dict[str, T.Any]]:
568
+ """Build contexts for re-querying LLM with param-only tool schemas."""
569
+ contexts: list[dict[str, T.Any]] = []
570
+ for msg in self.run_context.messages:
571
+ if hasattr(msg, "model_dump"):
572
+ contexts.append(msg.model_dump()) # type: ignore[call-arg]
573
+ elif isinstance(msg, dict):
574
+ contexts.append(copy.deepcopy(msg))
575
+ instruction = (
576
+ "You have decided to call tool(s): "
577
+ + ", ".join(tool_names)
578
+ + ". Now call the tool(s) with required arguments using the tool schema, "
579
+ "and follow the existing tool-use rules."
580
+ )
581
+ if contexts and contexts[0].get("role") == "system":
582
+ content = contexts[0].get("content") or ""
583
+ contexts[0]["content"] = f"{content}\n{instruction}"
584
+ else:
585
+ contexts.insert(0, {"role": "system", "content": instruction})
586
+ return contexts
587
+
588
+ def _build_tool_subset(self, tool_set: ToolSet, tool_names: list[str]) -> ToolSet:
589
+ """Build a subset of tools from the given tool set based on tool names."""
590
+ subset = ToolSet()
591
+ for name in tool_names:
592
+ tool = tool_set.get_tool(name)
593
+ if tool:
594
+ subset.add_tool(tool)
595
+ return subset
596
+
597
+ async def _resolve_tool_exec(
598
+ self,
599
+ llm_resp: LLMResponse,
600
+ ) -> tuple[LLMResponse, ToolSet | None]:
601
+ """Used in 'skills_like' tool schema mode to re-query LLM with param-only tool schemas."""
602
+ tool_names = llm_resp.tools_call_name
603
+ if not tool_names:
604
+ return llm_resp, self.req.func_tool
605
+ full_tool_set = self.req.func_tool
606
+ if not isinstance(full_tool_set, ToolSet):
607
+ return llm_resp, self.req.func_tool
608
+
609
+ subset = self._build_tool_subset(full_tool_set, tool_names)
610
+ if not subset.tools:
611
+ return llm_resp, full_tool_set
612
+
613
+ if isinstance(self._tool_schema_param_set, ToolSet):
614
+ param_subset = self._build_tool_subset(
615
+ self._tool_schema_param_set, tool_names
616
+ )
617
+ if param_subset.tools and tool_names:
618
+ contexts = self._build_tool_requery_context(tool_names)
619
+ requery_resp = await self.provider.text_chat(
620
+ contexts=contexts,
621
+ func_tool=param_subset,
622
+ model=self.req.model,
623
+ session_id=self.req.session_id,
624
+ )
625
+ if requery_resp:
626
+ llm_resp = requery_resp
627
+
628
+ return llm_resp, subset
629
+
540
630
  def done(self) -> bool:
541
631
  """检查 Agent 是否已完成工作"""
542
632
  return self._state in (AgentState.DONE, AgentState.ERROR)
@@ -1,3 +1,4 @@
1
+ import copy
1
2
  from collections.abc import AsyncGenerator, Awaitable, Callable
2
3
  from typing import Any, Generic
3
4
 
@@ -102,6 +103,47 @@ class ToolSet:
102
103
  return tool
103
104
  return None
104
105
 
106
+ def get_light_tool_set(self) -> "ToolSet":
107
+ """Return a light tool set with only name/description."""
108
+ light_tools = []
109
+ for tool in self.tools:
110
+ if hasattr(tool, "active") and not tool.active:
111
+ continue
112
+ light_params = {
113
+ "type": "object",
114
+ "properties": {},
115
+ }
116
+ light_tools.append(
117
+ FunctionTool(
118
+ name=tool.name,
119
+ parameters=light_params,
120
+ description=tool.description,
121
+ handler=None,
122
+ )
123
+ )
124
+ return ToolSet(light_tools)
125
+
126
+ def get_param_only_tool_set(self) -> "ToolSet":
127
+ """Return a tool set with name/parameters only (no description)."""
128
+ param_tools = []
129
+ for tool in self.tools:
130
+ if hasattr(tool, "active") and not tool.active:
131
+ continue
132
+ params = (
133
+ copy.deepcopy(tool.parameters)
134
+ if tool.parameters
135
+ else {"type": "object", "properties": {}}
136
+ )
137
+ param_tools.append(
138
+ FunctionTool(
139
+ name=tool.name,
140
+ parameters=params,
141
+ description="",
142
+ handler=None,
143
+ )
144
+ )
145
+ return ToolSet(param_tools)
146
+
105
147
  @deprecated(reason="Use add_tool() instead", version="4.0.0")
106
148
  def add_func(
107
149
  self,
@@ -147,18 +189,15 @@ class ToolSet:
147
189
  """Convert tools to OpenAI API function calling schema format."""
148
190
  result = []
149
191
  for tool in self.tools:
150
- func_def = {
151
- "type": "function",
152
- "function": {
153
- "name": tool.name,
154
- "description": tool.description,
155
- },
156
- }
192
+ func_def = {"type": "function", "function": {"name": tool.name}}
193
+ if tool.description:
194
+ func_def["function"]["description"] = tool.description
157
195
 
158
- if (
159
- tool.parameters and tool.parameters.get("properties")
160
- ) or not omit_empty_parameter_field:
161
- func_def["function"]["parameters"] = tool.parameters
196
+ if tool.parameters is not None:
197
+ if (
198
+ tool.parameters and tool.parameters.get("properties")
199
+ ) or not omit_empty_parameter_field:
200
+ func_def["function"]["parameters"] = tool.parameters
162
201
 
163
202
  result.append(func_def)
164
203
  return result
@@ -171,11 +210,9 @@ class ToolSet:
171
210
  if tool.parameters:
172
211
  input_schema["properties"] = tool.parameters.get("properties", {})
173
212
  input_schema["required"] = tool.parameters.get("required", [])
174
- tool_def = {
175
- "name": tool.name,
176
- "description": tool.description,
177
- "input_schema": input_schema,
178
- }
213
+ tool_def = {"name": tool.name, "input_schema": input_schema}
214
+ if tool.description:
215
+ tool_def["description"] = tool.description
179
216
  result.append(tool_def)
180
217
  return result
181
218
 
@@ -245,10 +282,9 @@ class ToolSet:
245
282
 
246
283
  tools = []
247
284
  for tool in self.tools:
248
- d: dict[str, Any] = {
249
- "name": tool.name,
250
- "description": tool.description,
251
- }
285
+ d: dict[str, Any] = {"name": tool.name}
286
+ if tool.description:
287
+ d["description"] = tool.description
252
288
  if tool.parameters:
253
289
  d["parameters"] = convert_schema(tool.parameters)
254
290
  tools.append(d)
@@ -274,6 +310,11 @@ class ToolSet:
274
310
  """获取所有工具的名称列表"""
275
311
  return [tool.name for tool in self.tools]
276
312
 
313
+ def merge(self, other: "ToolSet"):
314
+ """Merge another ToolSet into this one."""
315
+ for tool in other.tools:
316
+ self.add_tool(tool)
317
+
277
318
  def __len__(self):
278
319
  return len(self.tools)
279
320
 
@@ -256,7 +256,7 @@ async def call_local_llm_tool(
256
256
  # 这里逐步执行异步生成器, 对于每个 yield 返回的 ret, 执行下面的代码
257
257
  # 返回值只能是 MessageEventResult 或者 None(无返回值)
258
258
  _has_yielded = True
259
- if isinstance(ret, (MessageEventResult, CommandResult)):
259
+ if isinstance(ret, MessageEventResult | CommandResult):
260
260
  # 如果返回值是 MessageEventResult, 设置结果并继续
261
261
  event.set_result(ret)
262
262
  yield
@@ -273,7 +273,7 @@ async def call_local_llm_tool(
273
273
  elif inspect.iscoroutine(ready_to_call):
274
274
  # 如果只是一个协程, 直接执行
275
275
  ret = await ready_to_call
276
- if isinstance(ret, (MessageEventResult, CommandResult)):
276
+ if isinstance(ret, MessageEventResult | CommandResult):
277
277
  event.set_result(ret)
278
278
  yield
279
279
  else:
@@ -1,7 +1,7 @@
1
1
  from ..olayer import FileSystemComponent, PythonComponent, ShellComponent
2
2
 
3
3
 
4
- class SandboxBooter:
4
+ class ComputerBooter:
5
5
  @property
6
6
  def fs(self) -> FileSystemComponent: ...
7
7
 
@@ -16,16 +16,16 @@ class SandboxBooter:
16
16
  async def shutdown(self) -> None: ...
17
17
 
18
18
  async def upload_file(self, path: str, file_name: str) -> dict:
19
- """Upload file to sandbox.
19
+ """Upload file to the computer.
20
20
 
21
21
  Should return a dict with `success` (bool) and `file_path` (str) keys.
22
22
  """
23
23
  ...
24
24
 
25
25
  async def download_file(self, remote_path: str, local_path: str):
26
- """Download file from sandbox."""
26
+ """Download file from the computer."""
27
27
  ...
28
28
 
29
29
  async def available(self) -> bool:
30
- """Check if the sandbox is available."""
30
+ """Check if the computer is available."""
31
31
  ...
@@ -11,7 +11,7 @@ from shipyard.shell import ShellComponent as ShipyardShellComponent
11
11
  from astrbot.api import logger
12
12
 
13
13
  from ..olayer import FileSystemComponent, PythonComponent, ShellComponent
14
- from .base import SandboxBooter
14
+ from .base import ComputerBooter
15
15
 
16
16
 
17
17
  class MockShipyardSandboxClient:
@@ -124,7 +124,7 @@ class MockShipyardSandboxClient:
124
124
  loop -= 1
125
125
 
126
126
 
127
- class BoxliteBooter(SandboxBooter):
127
+ class BoxliteBooter(ComputerBooter):
128
128
  async def boot(self, session_id: str) -> None:
129
129
  logger.info(
130
130
  f"Booting(Boxlite) for session: {session_id}, this may take a while..."
@@ -0,0 +1,234 @@
1
+ from __future__ import annotations
2
+
3
+ import asyncio
4
+ import os
5
+ import shutil
6
+ import subprocess
7
+ import sys
8
+ from dataclasses import dataclass
9
+ from typing import Any
10
+
11
+ from astrbot.api import logger
12
+ from astrbot.core.utils.astrbot_path import (
13
+ get_astrbot_data_path,
14
+ get_astrbot_root,
15
+ get_astrbot_temp_path,
16
+ )
17
+
18
+ from ..olayer import FileSystemComponent, PythonComponent, ShellComponent
19
+ from .base import ComputerBooter
20
+
21
+ _BLOCKED_COMMAND_PATTERNS = [
22
+ " rm -rf ",
23
+ " rm -fr ",
24
+ " rm -r ",
25
+ " mkfs",
26
+ " dd if=",
27
+ " shutdown",
28
+ " reboot",
29
+ " poweroff",
30
+ " halt",
31
+ " sudo ",
32
+ ":(){:|:&};:",
33
+ " kill -9 ",
34
+ " killall ",
35
+ ]
36
+
37
+
38
+ def _is_safe_command(command: str) -> bool:
39
+ cmd = f" {command.strip().lower()} "
40
+ return not any(pat in cmd for pat in _BLOCKED_COMMAND_PATTERNS)
41
+
42
+
43
+ def _ensure_safe_path(path: str) -> str:
44
+ abs_path = os.path.abspath(path)
45
+ allowed_roots = [
46
+ os.path.abspath(get_astrbot_root()),
47
+ os.path.abspath(get_astrbot_data_path()),
48
+ os.path.abspath(get_astrbot_temp_path()),
49
+ ]
50
+ if not any(abs_path.startswith(root) for root in allowed_roots):
51
+ raise PermissionError("Path is outside the allowed computer roots.")
52
+ return abs_path
53
+
54
+
55
+ @dataclass
56
+ class LocalShellComponent(ShellComponent):
57
+ async def exec(
58
+ self,
59
+ command: str,
60
+ cwd: str | None = None,
61
+ env: dict[str, str] | None = None,
62
+ timeout: int | None = 30,
63
+ shell: bool = True,
64
+ background: bool = False,
65
+ ) -> dict[str, Any]:
66
+ if not _is_safe_command(command):
67
+ raise PermissionError("Blocked unsafe shell command.")
68
+
69
+ def _run() -> dict[str, Any]:
70
+ run_env = os.environ.copy()
71
+ if env:
72
+ run_env.update({str(k): str(v) for k, v in env.items()})
73
+ working_dir = _ensure_safe_path(cwd) if cwd else get_astrbot_root()
74
+ if background:
75
+ proc = subprocess.Popen(
76
+ command,
77
+ shell=shell,
78
+ cwd=working_dir,
79
+ env=run_env,
80
+ stdout=subprocess.PIPE,
81
+ stderr=subprocess.PIPE,
82
+ text=True,
83
+ )
84
+ return {"pid": proc.pid, "stdout": "", "stderr": "", "exit_code": None}
85
+ result = subprocess.run(
86
+ command,
87
+ shell=shell,
88
+ cwd=working_dir,
89
+ env=run_env,
90
+ timeout=timeout,
91
+ capture_output=True,
92
+ text=True,
93
+ )
94
+ return {
95
+ "stdout": result.stdout,
96
+ "stderr": result.stderr,
97
+ "exit_code": result.returncode,
98
+ }
99
+
100
+ return await asyncio.to_thread(_run)
101
+
102
+
103
+ @dataclass
104
+ class LocalPythonComponent(PythonComponent):
105
+ async def exec(
106
+ self,
107
+ code: str,
108
+ kernel_id: str | None = None,
109
+ timeout: int = 30,
110
+ silent: bool = False,
111
+ ) -> dict[str, Any]:
112
+ def _run() -> dict[str, Any]:
113
+ try:
114
+ result = subprocess.run(
115
+ [os.environ.get("PYTHON", sys.executable), "-c", code],
116
+ timeout=timeout,
117
+ capture_output=True,
118
+ text=True,
119
+ )
120
+ stdout = "" if silent else result.stdout
121
+ stderr = result.stderr if result.returncode != 0 else ""
122
+ return {
123
+ "data": {
124
+ "output": {"text": stdout, "images": []},
125
+ "error": stderr,
126
+ }
127
+ }
128
+ except subprocess.TimeoutExpired:
129
+ return {
130
+ "data": {
131
+ "output": {"text": "", "images": []},
132
+ "error": "Execution timed out.",
133
+ }
134
+ }
135
+
136
+ return await asyncio.to_thread(_run)
137
+
138
+
139
+ @dataclass
140
+ class LocalFileSystemComponent(FileSystemComponent):
141
+ async def create_file(
142
+ self, path: str, content: str = "", mode: int = 0o644
143
+ ) -> dict[str, Any]:
144
+ def _run() -> dict[str, Any]:
145
+ abs_path = _ensure_safe_path(path)
146
+ os.makedirs(os.path.dirname(abs_path), exist_ok=True)
147
+ with open(abs_path, "w", encoding="utf-8") as f:
148
+ f.write(content)
149
+ os.chmod(abs_path, mode)
150
+ return {"success": True, "path": abs_path}
151
+
152
+ return await asyncio.to_thread(_run)
153
+
154
+ async def read_file(self, path: str, encoding: str = "utf-8") -> dict[str, Any]:
155
+ def _run() -> dict[str, Any]:
156
+ abs_path = _ensure_safe_path(path)
157
+ with open(abs_path, encoding=encoding) as f:
158
+ content = f.read()
159
+ return {"success": True, "content": content}
160
+
161
+ return await asyncio.to_thread(_run)
162
+
163
+ async def write_file(
164
+ self, path: str, content: str, mode: str = "w", encoding: str = "utf-8"
165
+ ) -> dict[str, Any]:
166
+ def _run() -> dict[str, Any]:
167
+ abs_path = _ensure_safe_path(path)
168
+ os.makedirs(os.path.dirname(abs_path), exist_ok=True)
169
+ with open(abs_path, mode, encoding=encoding) as f:
170
+ f.write(content)
171
+ return {"success": True, "path": abs_path}
172
+
173
+ return await asyncio.to_thread(_run)
174
+
175
+ async def delete_file(self, path: str) -> dict[str, Any]:
176
+ def _run() -> dict[str, Any]:
177
+ abs_path = _ensure_safe_path(path)
178
+ if os.path.isdir(abs_path):
179
+ shutil.rmtree(abs_path)
180
+ else:
181
+ os.remove(abs_path)
182
+ return {"success": True, "path": abs_path}
183
+
184
+ return await asyncio.to_thread(_run)
185
+
186
+ async def list_dir(
187
+ self, path: str = ".", show_hidden: bool = False
188
+ ) -> dict[str, Any]:
189
+ def _run() -> dict[str, Any]:
190
+ abs_path = _ensure_safe_path(path)
191
+ entries = os.listdir(abs_path)
192
+ if not show_hidden:
193
+ entries = [e for e in entries if not e.startswith(".")]
194
+ return {"success": True, "entries": entries}
195
+
196
+ return await asyncio.to_thread(_run)
197
+
198
+
199
+ class LocalBooter(ComputerBooter):
200
+ def __init__(self) -> None:
201
+ self._fs = LocalFileSystemComponent()
202
+ self._python = LocalPythonComponent()
203
+ self._shell = LocalShellComponent()
204
+
205
+ async def boot(self, session_id: str) -> None:
206
+ logger.info(f"Local computer booter initialized for session: {session_id}")
207
+
208
+ async def shutdown(self) -> None:
209
+ logger.info("Local computer booter shutdown complete.")
210
+
211
+ @property
212
+ def fs(self) -> FileSystemComponent:
213
+ return self._fs
214
+
215
+ @property
216
+ def python(self) -> PythonComponent:
217
+ return self._python
218
+
219
+ @property
220
+ def shell(self) -> ShellComponent:
221
+ return self._shell
222
+
223
+ async def upload_file(self, path: str, file_name: str) -> dict:
224
+ raise NotImplementedError(
225
+ "LocalBooter does not support upload_file operation. Use shell instead."
226
+ )
227
+
228
+ async def download_file(self, remote_path: str, local_path: str):
229
+ raise NotImplementedError(
230
+ "LocalBooter does not support download_file operation. Use shell instead."
231
+ )
232
+
233
+ async def available(self) -> bool:
234
+ return True
@@ -3,10 +3,10 @@ from shipyard import ShipyardClient, Spec
3
3
  from astrbot.api import logger
4
4
 
5
5
  from ..olayer import FileSystemComponent, PythonComponent, ShellComponent
6
- from .base import SandboxBooter
6
+ from .base import ComputerBooter
7
7
 
8
8
 
9
- class ShipyardBooter(SandboxBooter):
9
+ class ShipyardBooter(ComputerBooter):
10
10
  def __init__(
11
11
  self,
12
12
  endpoint_url: str,