AstrBot 4.12.3__tar.gz → 4.12.4__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.
- {astrbot-4.12.3 → astrbot-4.12.4}/.gitignore +4 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/PKG-INFO +1 -1
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/builtin_stars/builtin_commands/commands/__init__.py +0 -2
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/builtin_stars/builtin_commands/commands/persona.py +68 -6
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/builtin_stars/builtin_commands/main.py +0 -26
- astrbot-4.12.4/astrbot/cli/__init__.py +1 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/astr_agent_hooks.py +3 -1
- astrbot-4.12.4/astrbot/core/astr_agent_run_util.py +375 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/config/default.py +30 -1
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/db/__init__.py +91 -1
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/db/po.py +42 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/db/sqlite.py +230 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/persona_mgr.py +154 -2
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/pipeline/process_stage/method/agent_sub_stages/internal.py +57 -4
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/pipeline/process_stage/utils.py +13 -1
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/pipeline/waking_check/stage.py +0 -1
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/platform/sources/aiocqhttp/aiocqhttp_platform_adapter.py +32 -14
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/platform/sources/dingtalk/dingtalk_adapter.py +61 -2
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/platform/sources/dingtalk/dingtalk_event.py +57 -11
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/platform/sources/webchat/webchat_adapter.py +1 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/platform/sources/webchat/webchat_event.py +24 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/provider/manager.py +7 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/provider/provider.py +54 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/provider/sources/gemini_embedding_source.py +1 -1
- astrbot-4.12.4/astrbot/core/provider/sources/genie_tts.py +128 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/provider/sources/openai_embedding_source.py +1 -1
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/star/context.py +9 -8
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/star/register/star_handler.py +1 -3
- astrbot-4.12.4/astrbot/dashboard/routes/live_chat.py +423 -0
- astrbot-4.12.4/astrbot/dashboard/routes/persona.py +459 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/dashboard/server.py +2 -0
- astrbot-4.12.4/changelogs/v4.12.4.md +21 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/index.html +3 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/components/chat/Chat.vue +127 -105
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/components/chat/ChatInput.vue +146 -55
- astrbot-4.12.4/dashboard/src/components/chat/LiveMode.vue +682 -0
- astrbot-4.12.4/dashboard/src/components/chat/LiveOrb.vue +494 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/components/chat/StandaloneChat.vue +1 -0
- astrbot-4.12.4/dashboard/src/components/folder/BaseCreateFolderDialog.vue +132 -0
- astrbot-4.12.4/dashboard/src/components/folder/BaseFolderBreadcrumb.vue +84 -0
- astrbot-4.12.4/dashboard/src/components/folder/BaseFolderCard.vue +143 -0
- astrbot-4.12.4/dashboard/src/components/folder/BaseFolderItemSelector.vue +513 -0
- astrbot-4.12.4/dashboard/src/components/folder/BaseFolderTree.vue +272 -0
- astrbot-4.12.4/dashboard/src/components/folder/BaseFolderTreeNode.vue +154 -0
- astrbot-4.12.4/dashboard/src/components/folder/BaseMoveTargetNode.vue +93 -0
- astrbot-4.12.4/dashboard/src/components/folder/BaseMoveToFolderDialog.vue +178 -0
- astrbot-4.12.4/dashboard/src/components/folder/README.md +349 -0
- astrbot-4.12.4/dashboard/src/components/folder/index.ts +46 -0
- astrbot-4.12.4/dashboard/src/components/folder/types.ts +249 -0
- astrbot-4.12.4/dashboard/src/components/folder/useFolderManager.ts +324 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/components/shared/PersonaForm.vue +56 -5
- astrbot-4.12.4/dashboard/src/components/shared/PersonaSelector.vue +198 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/components/shared/ProviderSelector.vue +9 -1
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/components/shared/T2ITemplateEditor.vue +22 -7
- astrbot-4.12.4/dashboard/src/composables/useVADRecording.ts +163 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/i18n/locales/en-US/core/shared.json +3 -1
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/i18n/locales/en-US/features/chat.json +7 -2
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/i18n/locales/en-US/features/persona.json +67 -3
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/i18n/locales/zh-CN/core/shared.json +3 -1
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/i18n/locales/zh-CN/features/chat.json +7 -2
- astrbot-4.12.4/dashboard/src/i18n/locales/zh-CN/features/persona.json +131 -0
- astrbot-4.12.4/dashboard/src/stores/personaStore.ts +333 -0
- astrbot-4.12.4/dashboard/src/views/PersonaPage.vue +44 -0
- astrbot-4.12.4/dashboard/src/views/persona/CreateFolderDialog.vue +77 -0
- astrbot-4.12.4/dashboard/src/views/persona/FolderBreadcrumb.vue +87 -0
- astrbot-4.12.4/dashboard/src/views/persona/FolderCard.vue +120 -0
- astrbot-4.12.4/dashboard/src/views/persona/FolderTree.vue +320 -0
- astrbot-4.12.4/dashboard/src/views/persona/FolderTreeNode.vue +66 -0
- astrbot-4.12.4/dashboard/src/views/persona/MoveTargetNode.vue +36 -0
- astrbot-4.12.4/dashboard/src/views/persona/MoveToFolderDialog.vue +201 -0
- astrbot-4.12.4/dashboard/src/views/persona/PersonaCard.vue +178 -0
- astrbot-4.12.4/dashboard/src/views/persona/PersonaManager.vue +557 -0
- astrbot-4.12.4/dashboard/src/views/persona/index.ts +23 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/pyproject.toml +1 -1
- astrbot-4.12.3/astrbot/builtin_stars/builtin_commands/commands/tool.py +0 -31
- astrbot-4.12.3/astrbot/cli/__init__.py +0 -1
- astrbot-4.12.3/astrbot/core/astr_agent_run_util.py +0 -133
- astrbot-4.12.3/astrbot/dashboard/routes/persona.py +0 -202
- astrbot-4.12.3/dashboard/src/components/shared/PersonaSelector.vue +0 -185
- astrbot-4.12.3/dashboard/src/i18n/locales/zh-CN/features/persona.json +0 -67
- astrbot-4.12.3/dashboard/src/views/PersonaPage.vue +0 -322
- {astrbot-4.12.3 → astrbot-4.12.4}/.dockerignore +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/.github/FUNDING.yml +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/.github/ISSUE_TEMPLATE/PLUGIN_PUBLISH.yml +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/.github/ISSUE_TEMPLATE/bug-report.yml +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/.github/ISSUE_TEMPLATE/feature-request.yml +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/.github/auto_assign.yml +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/.github/copilot-instructions.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/.github/dependabot.yml +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/.github/workflows/auto_release.yml +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/.github/workflows/code-format.yml +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/.github/workflows/codeql.yml +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/.github/workflows/coverage_test.yml +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/.github/workflows/dashboard_ci.yml +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/.github/workflows/docker-image.yml +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/.github/workflows/smoke_test.yml +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/.github/workflows/stale.yml +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/.pre-commit-config.yaml +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/.python-version +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/CODE_OF_CONDUCT.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/CONTRIBUTING.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/Dockerfile +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/EULA.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/LICENSE +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/README.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/README_en.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/README_fr.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/README_ja.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/README_ru.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/README_zh-TW.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/__init__.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/api/__init__.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/api/all.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/api/event/__init__.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/api/event/filter/__init__.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/api/message_components.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/api/platform/__init__.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/api/provider/__init__.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/api/star/__init__.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/api/util/__init__.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/builtin_stars/astrbot/long_term_memory.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/builtin_stars/astrbot/main.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/builtin_stars/astrbot/metadata.yaml +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/builtin_stars/astrbot/process_llm_request.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/builtin_stars/builtin_commands/commands/admin.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/builtin_stars/builtin_commands/commands/alter_cmd.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/builtin_stars/builtin_commands/commands/conversation.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/builtin_stars/builtin_commands/commands/help.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/builtin_stars/builtin_commands/commands/llm.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/builtin_stars/builtin_commands/commands/plugin.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/builtin_stars/builtin_commands/commands/provider.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/builtin_stars/builtin_commands/commands/setunset.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/builtin_stars/builtin_commands/commands/sid.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/builtin_stars/builtin_commands/commands/t2i.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/builtin_stars/builtin_commands/commands/tts.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/builtin_stars/builtin_commands/commands/utils/rst_scene.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/builtin_stars/builtin_commands/metadata.yaml +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/builtin_stars/reminder/main.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/builtin_stars/reminder/metadata.yaml +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/builtin_stars/session_controller/main.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/builtin_stars/session_controller/metadata.yaml +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/builtin_stars/web_searcher/engines/__init__.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/builtin_stars/web_searcher/engines/bing.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/builtin_stars/web_searcher/engines/sogo.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/builtin_stars/web_searcher/main.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/builtin_stars/web_searcher/metadata.yaml +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/cli/__main__.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/cli/commands/__init__.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/cli/commands/cmd_conf.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/cli/commands/cmd_init.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/cli/commands/cmd_plug.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/cli/commands/cmd_run.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/cli/utils/__init__.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/cli/utils/basic.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/cli/utils/plugin.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/cli/utils/version_comparator.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/__init__.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/agent/agent.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/agent/context/compressor.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/agent/context/config.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/agent/context/manager.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/agent/context/token_counter.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/agent/context/truncator.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/agent/handoff.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/agent/hooks.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/agent/mcp_client.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/agent/message.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/agent/response.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/agent/run_context.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/agent/runners/__init__.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/agent/runners/base.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/agent/runners/coze/coze_agent_runner.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/agent/runners/coze/coze_api_client.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/agent/runners/dashscope/dashscope_agent_runner.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/agent/runners/dify/dify_agent_runner.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/agent/runners/dify/dify_api_client.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/agent/runners/tool_loop_agent_runner.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/agent/tool.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/agent/tool_executor.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/astr_agent_context.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/astr_agent_tool_exec.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/astrbot_config_mgr.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/backup/__init__.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/backup/constants.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/backup/exporter.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/backup/importer.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/config/__init__.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/config/astrbot_config.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/config/i18n_utils.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/conversation_mgr.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/core_lifecycle.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/db/migration/helper.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/db/migration/migra_3_to_4.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/db/migration/migra_45_to_46.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/db/migration/migra_token_usage.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/db/migration/migra_webchat_session.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/db/migration/shared_preferences_v3.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/db/migration/sqlite_v3.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/db/vec_db/base.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/db/vec_db/faiss_impl/__init__.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/db/vec_db/faiss_impl/document_storage.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/db/vec_db/faiss_impl/embedding_storage.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/db/vec_db/faiss_impl/sqlite_init.sql +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/db/vec_db/faiss_impl/vec_db.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/event_bus.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/exceptions.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/file_token_service.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/initial_loader.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/knowledge_base/chunking/__init__.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/knowledge_base/chunking/base.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/knowledge_base/chunking/fixed_size.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/knowledge_base/chunking/recursive.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/knowledge_base/kb_db_sqlite.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/knowledge_base/kb_helper.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/knowledge_base/kb_mgr.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/knowledge_base/models.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/knowledge_base/parsers/__init__.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/knowledge_base/parsers/base.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/knowledge_base/parsers/markitdown_parser.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/knowledge_base/parsers/pdf_parser.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/knowledge_base/parsers/text_parser.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/knowledge_base/parsers/url_parser.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/knowledge_base/parsers/util.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/knowledge_base/prompts.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/knowledge_base/retrieval/__init__.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/knowledge_base/retrieval/hit_stopwords.txt +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/knowledge_base/retrieval/manager.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/knowledge_base/retrieval/rank_fusion.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/knowledge_base/retrieval/sparse_retriever.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/log.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/message/components.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/message/message_event_result.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/pipeline/__init__.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/pipeline/content_safety_check/stage.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/pipeline/content_safety_check/strategies/__init__.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/pipeline/content_safety_check/strategies/baidu_aip.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/pipeline/content_safety_check/strategies/keywords.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/pipeline/content_safety_check/strategies/strategy.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/pipeline/context.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/pipeline/context_utils.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/pipeline/preprocess_stage/stage.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/pipeline/process_stage/method/agent_request.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/pipeline/process_stage/method/agent_sub_stages/third_party.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/pipeline/process_stage/method/star_request.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/pipeline/process_stage/stage.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/pipeline/rate_limit_check/stage.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/pipeline/respond/stage.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/pipeline/result_decorate/stage.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/pipeline/scheduler.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/pipeline/session_status_check/stage.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/pipeline/stage.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/pipeline/whitelist_check/stage.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/platform/__init__.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/platform/astr_message_event.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/platform/astrbot_message.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/platform/manager.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/platform/message_session.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/platform/message_type.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/platform/platform.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/platform/platform_metadata.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/platform/register.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/platform/sources/aiocqhttp/aiocqhttp_message_event.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/platform/sources/discord/client.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/platform/sources/discord/components.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/platform/sources/discord/discord_platform_adapter.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/platform/sources/discord/discord_platform_event.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/platform/sources/lark/lark_adapter.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/platform/sources/lark/lark_event.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/platform/sources/lark/server.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/platform/sources/misskey/misskey_adapter.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/platform/sources/misskey/misskey_api.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/platform/sources/misskey/misskey_event.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/platform/sources/misskey/misskey_utils.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/platform/sources/qqofficial/qqofficial_message_event.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/platform/sources/qqofficial/qqofficial_platform_adapter.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/platform/sources/qqofficial_webhook/qo_webhook_adapter.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/platform/sources/qqofficial_webhook/qo_webhook_event.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/platform/sources/qqofficial_webhook/qo_webhook_server.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/platform/sources/satori/satori_adapter.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/platform/sources/satori/satori_event.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/platform/sources/slack/client.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/platform/sources/slack/slack_adapter.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/platform/sources/slack/slack_event.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/platform/sources/telegram/tg_adapter.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/platform/sources/telegram/tg_event.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/platform/sources/webchat/webchat_queue_mgr.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/platform/sources/wecom/wecom_adapter.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/platform/sources/wecom/wecom_event.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/platform/sources/wecom/wecom_kf.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/platform/sources/wecom/wecom_kf_message.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/platform/sources/wecom_ai_bot/WXBizJsonMsgCrypt.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/platform/sources/wecom_ai_bot/__init__.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/platform/sources/wecom_ai_bot/ierror.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/platform/sources/wecom_ai_bot/wecomai_adapter.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/platform/sources/wecom_ai_bot/wecomai_api.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/platform/sources/wecom_ai_bot/wecomai_event.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/platform/sources/wecom_ai_bot/wecomai_queue_mgr.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/platform/sources/wecom_ai_bot/wecomai_server.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/platform/sources/wecom_ai_bot/wecomai_utils.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/platform/sources/weixin_official_account/weixin_offacc_adapter.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/platform/sources/weixin_official_account/weixin_offacc_event.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/platform_message_history_mgr.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/provider/__init__.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/provider/entites.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/provider/entities.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/provider/func_tool_manager.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/provider/register.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/provider/sources/anthropic_source.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/provider/sources/azure_tts_source.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/provider/sources/bailian_rerank_source.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/provider/sources/dashscope_tts.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/provider/sources/edge_tts_source.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/provider/sources/fishaudio_tts_api_source.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/provider/sources/gemini_source.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/provider/sources/gemini_tts_source.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/provider/sources/groq_source.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/provider/sources/gsv_selfhosted_source.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/provider/sources/gsvi_tts_source.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/provider/sources/minimax_tts_api_source.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/provider/sources/openai_source.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/provider/sources/openai_tts_api_source.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/provider/sources/sensevoice_selfhosted_source.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/provider/sources/vllm_rerank_source.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/provider/sources/volcengine_tts.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/provider/sources/whisper_api_source.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/provider/sources/whisper_selfhosted_source.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/provider/sources/xai_source.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/provider/sources/xinference_rerank_source.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/provider/sources/xinference_stt_provider.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/provider/sources/zhipu_source.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/sandbox/booters/base.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/sandbox/booters/boxlite.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/sandbox/booters/shipyard.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/sandbox/olayer/__init__.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/sandbox/olayer/filesystem.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/sandbox/olayer/python.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/sandbox/olayer/shell.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/sandbox/sandbox_client.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/sandbox/tools/__init__.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/sandbox/tools/fs.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/sandbox/tools/python.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/sandbox/tools/shell.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/star/README.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/star/__init__.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/star/command_management.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/star/config.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/star/filter/__init__.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/star/filter/command.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/star/filter/command_group.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/star/filter/custom_filter.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/star/filter/event_message_type.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/star/filter/permission.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/star/filter/platform_adapter_type.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/star/filter/regex.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/star/register/__init__.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/star/register/star.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/star/session_llm_manager.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/star/session_plugin_manager.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/star/star.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/star/star_handler.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/star/star_manager.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/star/star_tools.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/star/updator.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/umop_config_router.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/updator.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/utils/astrbot_path.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/utils/command_parser.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/utils/file_extract.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/utils/io.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/utils/llm_metadata.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/utils/log_pipe.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/utils/metrics.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/utils/migra_helper.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/utils/path_util.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/utils/pip_installer.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/utils/plugin_kv_store.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/utils/session_lock.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/utils/session_waiter.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/utils/shared_preferences.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/utils/t2i/__init__.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/utils/t2i/local_strategy.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/utils/t2i/network_strategy.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/utils/t2i/renderer.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/utils/t2i/template/astrbot_powershell.html +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/utils/t2i/template/base.html +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/utils/t2i/template_manager.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/utils/tencent_record_helper.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/utils/version_comparator.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/utils/webhook_utils.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/core/zip_updator.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/dashboard/routes/__init__.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/dashboard/routes/auth.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/dashboard/routes/backup.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/dashboard/routes/chat.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/dashboard/routes/chatui_project.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/dashboard/routes/command.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/dashboard/routes/config.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/dashboard/routes/conversation.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/dashboard/routes/file.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/dashboard/routes/knowledge_base.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/dashboard/routes/log.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/dashboard/routes/platform.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/dashboard/routes/plugin.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/dashboard/routes/route.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/dashboard/routes/session_management.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/dashboard/routes/stat.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/dashboard/routes/static_file.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/dashboard/routes/t2i.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/dashboard/routes/tools.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/dashboard/routes/update.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/astrbot/dashboard/utils.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v3.4.0.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v3.4.1.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v3.4.10.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v3.4.11.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v3.4.12.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v3.4.13.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v3.4.14.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v3.4.15.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v3.4.16.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v3.4.17.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v3.4.18.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v3.4.19.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v3.4.20.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v3.4.21.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v3.4.22.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v3.4.23.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v3.4.24.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v3.4.25.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v3.4.26.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v3.4.27.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v3.4.28.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v3.4.29.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v3.4.3.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v3.4.30.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v3.4.31.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v3.4.32.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v3.4.33.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v3.4.35.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v3.4.36.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v3.4.37.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v3.4.38.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v3.4.39.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v3.4.4.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v3.4.5.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v3.4.6.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v3.4.7.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v3.4.8.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v3.4.9.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v3.5.0.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v3.5.1.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v3.5.10.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v3.5.11.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v3.5.12.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v3.5.13.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v3.5.14.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v3.5.15.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v3.5.16.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v3.5.17.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v3.5.18.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v3.5.19.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v3.5.2.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v3.5.20.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v3.5.21.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v3.5.22.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v3.5.23.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v3.5.24.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v3.5.25.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v3.5.26.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v3.5.27.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v3.5.3.1.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v3.5.3.2.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v3.5.3.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v3.5.4.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v3.5.5.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v3.5.6.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v3.5.7.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v3.5.8.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v3.5.9.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v4.0.0-beta.3.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v4.0.0-beta.4.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v4.0.0-beta.5.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v4.0.0.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v4.1.0.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v4.1.1.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v4.1.2.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v4.1.3.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v4.1.4.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v4.1.5.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v4.1.6.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v4.1.7.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v4.10.0-alpha.1.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v4.10.0-alpha.2.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v4.10.0.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v4.10.1.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v4.10.2.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v4.10.3.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v4.10.4.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v4.10.5.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v4.10.6.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v4.11.0.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v4.11.1.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v4.11.2.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v4.11.3.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v4.11.4.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v4.12.0.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v4.12.1.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v4.12.2.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v4.12.3.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v4.2.0.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v4.2.1.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v4.3.0.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v4.3.1.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v4.3.2.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v4.3.3.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v4.3.5.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v4.5.0.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v4.5.1.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v4.5.2.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v4.5.3.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v4.5.4.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v4.5.5.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v4.5.6.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v4.5.7.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v4.5.8.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v4.6.0.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v4.6.1.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v4.7.0.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v4.7.1.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v4.7.3.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v4.7.4.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v4.8.0.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v4.9.0.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v4.9.1.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/changelogs/v4.9.2.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/compose-with-shipyard.yml +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/compose.yml +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/.gitignore +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/LICENSE +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/README.md +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/env.d.ts +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/public/_redirects +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/public/favicon.svg +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/App.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/assets/images/astrbot_banner.png +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/assets/images/astrbot_logo_mini.webp +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/assets/images/icon-no-shadow.svg +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/assets/images/loading-seio.webp +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/assets/images/platform_logos/dingtalk.svg +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/assets/images/platform_logos/discord.svg +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/assets/images/platform_logos/kook.png +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/assets/images/platform_logos/lark.png +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/assets/images/platform_logos/misskey.png +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/assets/images/platform_logos/onebot.png +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/assets/images/platform_logos/qq.png +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/assets/images/platform_logos/satori.png +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/assets/images/platform_logos/slack.svg +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/assets/images/platform_logos/telegram.svg +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/assets/images/platform_logos/vocechat.png +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/assets/images/platform_logos/wechat.png +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/assets/images/platform_logos/wecom.png +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/assets/images/plugin_icon.png +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/assets/images/xmas-hat.png +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/components/ConfirmDialog.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/components/chat/ConfigSelector.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/components/chat/ConversationSidebar.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/components/chat/MessageList.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/components/chat/ProjectDialog.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/components/chat/ProjectList.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/components/chat/ProjectView.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/components/chat/ProviderConfigDialog.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/components/chat/ProviderModelMenu.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/components/chat/WelcomeView.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/components/chat/message_list_comps/ActionRef.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/components/chat/message_list_comps/IPythonToolBlock.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/components/chat/message_list_comps/ReasoningBlock.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/components/chat/message_list_comps/RefNode.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/components/chat/message_list_comps/RefsSidebar.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/components/chat/message_list_comps/ToolCallCard.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/components/config/AstrBotCoreConfigWrapper.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/components/extension/McpServersSection.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/components/extension/componentPanel/components/CommandFilters.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/components/extension/componentPanel/components/CommandTable.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/components/extension/componentPanel/components/DetailsDialog.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/components/extension/componentPanel/components/RenameDialog.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/components/extension/componentPanel/components/ToolTable.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/components/extension/componentPanel/composables/useCommandActions.ts +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/components/extension/componentPanel/composables/useCommandFilters.ts +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/components/extension/componentPanel/composables/useComponentData.ts +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/components/extension/componentPanel/index.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/components/extension/componentPanel/types.ts +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/components/platform/AddNewPlatform.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/components/provider/AddNewProvider.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/components/provider/ProviderModelsPanel.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/components/provider/ProviderSourcesPanel.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/components/shared/AstrBotConfig.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/components/shared/AstrBotConfigV4.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/components/shared/BackupDialog.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/components/shared/ChangelogDialog.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/components/shared/ConfigItemRenderer.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/components/shared/ConsoleDisplayer.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/components/shared/ExtensionCard.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/components/shared/ItemCard.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/components/shared/ItemCardGrid.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/components/shared/KnowledgeBaseSelector.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/components/shared/LanguageSwitcher.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/components/shared/ListConfigItem.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/components/shared/Logo.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/components/shared/MigrationDialog.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/components/shared/ObjectEditor.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/components/shared/PluginSetSelector.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/components/shared/ProxySelector.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/components/shared/ReadmeDialog.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/components/shared/SidebarCustomizer.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/components/shared/StyledMenu.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/components/shared/TemplateListEditor.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/components/shared/UninstallConfirmDialog.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/components/shared/WaitingForRestart.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/composables/useConversations.ts +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/composables/useMediaHandling.ts +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/composables/useMessages.ts +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/composables/useProjects.ts +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/composables/useProviderSources.ts +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/composables/useRecording.ts +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/composables/useSessions.ts +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/config.ts +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/i18n/composables.ts +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/i18n/loader.ts +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/i18n/locales/en-US/core/actions.json +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/i18n/locales/en-US/core/common.json +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/i18n/locales/en-US/core/header.json +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/i18n/locales/en-US/core/navigation.json +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/i18n/locales/en-US/core/status.json +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/i18n/locales/en-US/features/about.json +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/i18n/locales/en-US/features/alkaid/index.json +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/i18n/locales/en-US/features/alkaid/knowledge-base.json +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/i18n/locales/en-US/features/alkaid/memory.json +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/i18n/locales/en-US/features/auth.json +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/i18n/locales/en-US/features/chart.json +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/i18n/locales/en-US/features/command.json +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/i18n/locales/en-US/features/config-metadata.json +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/i18n/locales/en-US/features/config.json +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/i18n/locales/en-US/features/console.json +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/i18n/locales/en-US/features/conversation.json +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/i18n/locales/en-US/features/dashboard.json +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/i18n/locales/en-US/features/extension.json +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/i18n/locales/en-US/features/knowledge-base/detail.json +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/i18n/locales/en-US/features/knowledge-base/document.json +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/i18n/locales/en-US/features/knowledge-base/index.json +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/i18n/locales/en-US/features/migration.json +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/i18n/locales/en-US/features/platform.json +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/i18n/locales/en-US/features/provider.json +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/i18n/locales/en-US/features/session-management.json +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/i18n/locales/en-US/features/settings.json +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/i18n/locales/en-US/features/tool-use.json +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/i18n/locales/en-US/messages/errors.json +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/i18n/locales/en-US/messages/success.json +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/i18n/locales/en-US/messages/validation.json +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/i18n/locales/zh-CN/core/actions.json +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/i18n/locales/zh-CN/core/common.json +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/i18n/locales/zh-CN/core/header.json +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/i18n/locales/zh-CN/core/navigation.json +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/i18n/locales/zh-CN/core/status.json +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/i18n/locales/zh-CN/features/about.json +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/i18n/locales/zh-CN/features/alkaid/index.json +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/i18n/locales/zh-CN/features/alkaid/knowledge-base.json +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/i18n/locales/zh-CN/features/alkaid/memory.json +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/i18n/locales/zh-CN/features/auth.json +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/i18n/locales/zh-CN/features/chart.json +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/i18n/locales/zh-CN/features/command.json +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/i18n/locales/zh-CN/features/config-metadata.json +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/i18n/locales/zh-CN/features/config.json +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/i18n/locales/zh-CN/features/console.json +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/i18n/locales/zh-CN/features/conversation.json +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/i18n/locales/zh-CN/features/dashboard.json +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/i18n/locales/zh-CN/features/extension.json +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/i18n/locales/zh-CN/features/knowledge-base/detail.json +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/i18n/locales/zh-CN/features/knowledge-base/document.json +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/i18n/locales/zh-CN/features/knowledge-base/index.json +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/i18n/locales/zh-CN/features/migration.json +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/i18n/locales/zh-CN/features/platform.json +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/i18n/locales/zh-CN/features/provider.json +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/i18n/locales/zh-CN/features/session-management.json +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/i18n/locales/zh-CN/features/settings.json +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/i18n/locales/zh-CN/features/tool-use.json +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/i18n/locales/zh-CN/messages/errors.json +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/i18n/locales/zh-CN/messages/success.json +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/i18n/locales/zh-CN/messages/validation.json +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/i18n/tools/index.ts +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/i18n/translations.ts +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/i18n/types.ts +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/i18n/validator.ts +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/layouts/blank/BlankLayout.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/layouts/full/FullLayout.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/layouts/full/vertical-header/VerticalHeader.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/layouts/full/vertical-sidebar/NavItem.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/layouts/full/vertical-sidebar/VerticalSidebar.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/layouts/full/vertical-sidebar/sidebarItem.ts +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/main.ts +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/plugins/confirmPlugin.ts +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/plugins/vuetify.ts +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/router/AuthRoutes.ts +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/router/ChatBoxRoutes.ts +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/router/MainRoutes.ts +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/router/index.ts +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/scss/_override.scss +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/scss/_variables.scss +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/scss/components/_VButtons.scss +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/scss/components/_VCard.scss +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/scss/components/_VField.scss +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/scss/components/_VInput.scss +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/scss/components/_VNavigationDrawer.scss +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/scss/components/_VScrollbar.scss +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/scss/components/_VShadow.scss +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/scss/components/_VTabs.scss +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/scss/components/_VTextField.scss +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/scss/layout/_container.scss +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/scss/layout/_sidebar.scss +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/scss/pages/_dashboards.scss +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/scss/style.scss +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/stores/auth.ts +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/stores/common.js +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/stores/customizer.ts +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/stores/routerLoading.ts +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/stores/toast.js +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/theme/DarkTheme.ts +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/theme/LightTheme.ts +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/types/themeTypes/ThemeType.ts +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/types/vue3-print-nb.d.ts +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/types/vue_tabler_icon.d.ts +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/utils/platformUtils.js +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/utils/providerUtils.js +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/utils/sidebarCustomization.js +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/utils/toast.js +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/views/AboutPage.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/views/AlkaidPage.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/views/ChatBoxPage.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/views/ChatPage.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/views/ConfigPage.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/views/ConsolePage.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/views/ConversationPage.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/views/ExtensionPage.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/views/PlatformPage.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/views/ProviderPage.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/views/SessionManagementPage.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/views/Settings.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/views/alkaid/KnowledgeBase.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/views/alkaid/LongTermMemory.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/views/alkaid/Other.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/views/authentication/auth/LoginPage.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/views/authentication/authForms/AuthLogin.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/views/dashboards/default/DefaultDashboard.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/views/dashboards/default/components/MemoryUsage.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/views/dashboards/default/components/MessageStat.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/views/dashboards/default/components/OnlinePlatform.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/views/dashboards/default/components/OnlineTime.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/views/dashboards/default/components/PlatformStat.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/views/dashboards/default/components/RunningTime.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/views/dashboards/default/components/TotalMessage.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/views/knowledge-base/DocumentDetail.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/views/knowledge-base/KBDetail.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/views/knowledge-base/KBList.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/views/knowledge-base/components/DocumentsTab.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/views/knowledge-base/components/RetrievalTab.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/views/knowledge-base/components/SettingsTab.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/views/knowledge-base/components/TavilyKeyDialog.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/src/views/knowledge-base/index.vue +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/tsconfig.json +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/tsconfig.vite-config.json +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/dashboard/vite.config.ts +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/k8s/astrbot/00-namespace.yaml +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/k8s/astrbot/01-pvc.yaml +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/k8s/astrbot/02-deployment.yaml +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/k8s/astrbot/03-service-nodeport.yaml +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/k8s/astrbot/04-service-loadbalancer.yaml +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/k8s/astrbot_with_napcat/00-namespace.yaml +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/k8s/astrbot_with_napcat/01-pvc.yaml +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/k8s/astrbot_with_napcat/02-deployment.yaml +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/k8s/astrbot_with_napcat/03-service-nodeport.yaml +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/k8s/astrbot_with_napcat/04-service-loadbalancer.yaml +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/main.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/requirements.txt +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/samples/stt_health_check.wav +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/tests/agent/test_context_manager.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/tests/agent/test_truncator.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/tests/test_backup.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/tests/test_dashboard.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/tests/test_kb_import.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/tests/test_main.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/tests/test_plugin_manager.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/tests/test_security_fixes.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/tests/test_tool_loop_agent_runner.py +0 -0
- {astrbot-4.12.3 → astrbot-4.12.4}/typings/faiss/__init__.pyi +0 -0
{astrbot-4.12.3 → astrbot-4.12.4}/astrbot/builtin_stars/builtin_commands/commands/__init__.py
RENAMED
|
@@ -11,7 +11,6 @@ from .provider import ProviderCommands
|
|
|
11
11
|
from .setunset import SetUnsetCommands
|
|
12
12
|
from .sid import SIDCommand
|
|
13
13
|
from .t2i import T2ICommand
|
|
14
|
-
from .tool import ToolCommands
|
|
15
14
|
from .tts import TTSCommand
|
|
16
15
|
|
|
17
16
|
__all__ = [
|
|
@@ -27,5 +26,4 @@ __all__ = [
|
|
|
27
26
|
"SetUnsetCommands",
|
|
28
27
|
"T2ICommand",
|
|
29
28
|
"TTSCommand",
|
|
30
|
-
"ToolCommands",
|
|
31
29
|
]
|
{astrbot-4.12.3 → astrbot-4.12.4}/astrbot/builtin_stars/builtin_commands/commands/persona.py
RENAMED
|
@@ -1,13 +1,55 @@
|
|
|
1
1
|
import builtins
|
|
2
|
+
from typing import TYPE_CHECKING
|
|
2
3
|
|
|
3
4
|
from astrbot.api import sp, star
|
|
4
5
|
from astrbot.api.event import AstrMessageEvent, MessageEventResult
|
|
5
6
|
|
|
7
|
+
if TYPE_CHECKING:
|
|
8
|
+
from astrbot.core.db.po import Persona
|
|
9
|
+
|
|
6
10
|
|
|
7
11
|
class PersonaCommands:
|
|
8
12
|
def __init__(self, context: star.Context):
|
|
9
13
|
self.context = context
|
|
10
14
|
|
|
15
|
+
def _build_tree_output(
|
|
16
|
+
self,
|
|
17
|
+
folder_tree: list[dict],
|
|
18
|
+
all_personas: list["Persona"],
|
|
19
|
+
depth: int = 0,
|
|
20
|
+
) -> list[str]:
|
|
21
|
+
"""递归构建树状输出,使用短线条表示层级"""
|
|
22
|
+
lines: list[str] = []
|
|
23
|
+
# 使用短线条作为缩进前缀,每层只用 "│" 加一个空格
|
|
24
|
+
prefix = "│ " * depth
|
|
25
|
+
|
|
26
|
+
for folder in folder_tree:
|
|
27
|
+
# 输出文件夹
|
|
28
|
+
lines.append(f"{prefix}├ 📁 {folder['name']}/")
|
|
29
|
+
|
|
30
|
+
# 获取该文件夹下的人格
|
|
31
|
+
folder_personas = [
|
|
32
|
+
p for p in all_personas if p.folder_id == folder["folder_id"]
|
|
33
|
+
]
|
|
34
|
+
child_prefix = "│ " * (depth + 1)
|
|
35
|
+
|
|
36
|
+
# 输出该文件夹下的人格
|
|
37
|
+
for persona in folder_personas:
|
|
38
|
+
lines.append(f"{child_prefix}├ 👤 {persona.persona_id}")
|
|
39
|
+
|
|
40
|
+
# 递归处理子文件夹
|
|
41
|
+
children = folder.get("children", [])
|
|
42
|
+
if children:
|
|
43
|
+
lines.extend(
|
|
44
|
+
self._build_tree_output(
|
|
45
|
+
children,
|
|
46
|
+
all_personas,
|
|
47
|
+
depth + 1,
|
|
48
|
+
)
|
|
49
|
+
)
|
|
50
|
+
|
|
51
|
+
return lines
|
|
52
|
+
|
|
11
53
|
async def persona(self, message: AstrMessageEvent):
|
|
12
54
|
l = message.message_str.split(" ") # noqa: E741
|
|
13
55
|
umo = message.unified_msg_origin
|
|
@@ -69,12 +111,32 @@ class PersonaCommands:
|
|
|
69
111
|
.use_t2i(False),
|
|
70
112
|
)
|
|
71
113
|
elif l[1] == "list":
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
114
|
+
# 获取文件夹树和所有人格
|
|
115
|
+
folder_tree = await self.context.persona_manager.get_folder_tree()
|
|
116
|
+
all_personas = self.context.persona_manager.personas
|
|
117
|
+
|
|
118
|
+
lines = ["📂 人格列表:\n"]
|
|
119
|
+
|
|
120
|
+
# 构建树状输出
|
|
121
|
+
tree_lines = self._build_tree_output(folder_tree, all_personas)
|
|
122
|
+
lines.extend(tree_lines)
|
|
123
|
+
|
|
124
|
+
# 输出根目录下的人格(没有文件夹的)
|
|
125
|
+
root_personas = [p for p in all_personas if p.folder_id is None]
|
|
126
|
+
if root_personas:
|
|
127
|
+
if tree_lines: # 如果有文件夹内容,加个空行
|
|
128
|
+
lines.append("")
|
|
129
|
+
for persona in root_personas:
|
|
130
|
+
lines.append(f"👤 {persona.persona_id}")
|
|
131
|
+
|
|
132
|
+
# 统计信息
|
|
133
|
+
total_count = len(all_personas)
|
|
134
|
+
lines.append(f"\n共 {total_count} 个人格")
|
|
135
|
+
lines.append("\n*使用 `/persona <人格名>` 设置人格")
|
|
136
|
+
lines.append("*使用 `/persona view <人格名>` 查看详细信息")
|
|
137
|
+
|
|
138
|
+
msg = "\n".join(lines)
|
|
139
|
+
message.set_result(MessageEventResult().message(msg).use_t2i(False))
|
|
78
140
|
elif l[1] == "view":
|
|
79
141
|
if len(l) == 2:
|
|
80
142
|
message.set_result(MessageEventResult().message("请输入人格情景名"))
|
|
@@ -13,7 +13,6 @@ from .commands import (
|
|
|
13
13
|
SetUnsetCommands,
|
|
14
14
|
SIDCommand,
|
|
15
15
|
T2ICommand,
|
|
16
|
-
ToolCommands,
|
|
17
16
|
TTSCommand,
|
|
18
17
|
)
|
|
19
18
|
|
|
@@ -24,7 +23,6 @@ class Main(star.Star):
|
|
|
24
23
|
|
|
25
24
|
self.help_c = HelpCommand(self.context)
|
|
26
25
|
self.llm_c = LLMCommands(self.context)
|
|
27
|
-
self.tool_c = ToolCommands(self.context)
|
|
28
26
|
self.plugin_c = PluginCommands(self.context)
|
|
29
27
|
self.admin_c = AdminCommands(self.context)
|
|
30
28
|
self.conversation_c = ConversationCommands(self.context)
|
|
@@ -47,30 +45,6 @@ class Main(star.Star):
|
|
|
47
45
|
"""开启/关闭 LLM"""
|
|
48
46
|
await self.llm_c.llm(event)
|
|
49
47
|
|
|
50
|
-
@filter.command_group("tool")
|
|
51
|
-
def tool(self):
|
|
52
|
-
"""函数工具管理"""
|
|
53
|
-
|
|
54
|
-
@tool.command("ls")
|
|
55
|
-
async def tool_ls(self, event: AstrMessageEvent):
|
|
56
|
-
"""查看函数工具列表"""
|
|
57
|
-
await self.tool_c.tool_ls(event)
|
|
58
|
-
|
|
59
|
-
@tool.command("on")
|
|
60
|
-
async def tool_on(self, event: AstrMessageEvent, tool_name: str):
|
|
61
|
-
"""启用一个函数工具"""
|
|
62
|
-
await self.tool_c.tool_on(event, tool_name)
|
|
63
|
-
|
|
64
|
-
@tool.command("off")
|
|
65
|
-
async def tool_off(self, event: AstrMessageEvent, tool_name: str):
|
|
66
|
-
"""停用一个函数工具"""
|
|
67
|
-
await self.tool_c.tool_off(event, tool_name)
|
|
68
|
-
|
|
69
|
-
@tool.command("off_all")
|
|
70
|
-
async def tool_all_off(self, event: AstrMessageEvent):
|
|
71
|
-
"""停用所有函数工具"""
|
|
72
|
-
await self.tool_c.tool_all_off(event)
|
|
73
|
-
|
|
74
48
|
@filter.command_group("plugin")
|
|
75
49
|
def plugin(self):
|
|
76
50
|
"""插件管理"""
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "4.12.4"
|
|
@@ -56,8 +56,10 @@ class MainAgentHooks(BaseAgentRunHooks[AstrAgentContext]):
|
|
|
56
56
|
)
|
|
57
57
|
|
|
58
58
|
# special handle web_search_tavily
|
|
59
|
+
platform_name = run_context.context.event.get_platform_name()
|
|
59
60
|
if (
|
|
60
|
-
|
|
61
|
+
platform_name == "webchat"
|
|
62
|
+
and tool.name == "web_search_tavily"
|
|
61
63
|
and len(run_context.messages) > 0
|
|
62
64
|
and tool_result
|
|
63
65
|
and len(tool_result.content)
|
|
@@ -0,0 +1,375 @@
|
|
|
1
|
+
import asyncio
|
|
2
|
+
import re
|
|
3
|
+
import time
|
|
4
|
+
import traceback
|
|
5
|
+
from collections.abc import AsyncGenerator
|
|
6
|
+
|
|
7
|
+
from astrbot.core import logger
|
|
8
|
+
from astrbot.core.agent.message import Message
|
|
9
|
+
from astrbot.core.agent.runners.tool_loop_agent_runner import ToolLoopAgentRunner
|
|
10
|
+
from astrbot.core.astr_agent_context import AstrAgentContext
|
|
11
|
+
from astrbot.core.message.components import BaseMessageComponent, Json, Plain
|
|
12
|
+
from astrbot.core.message.message_event_result import (
|
|
13
|
+
MessageChain,
|
|
14
|
+
MessageEventResult,
|
|
15
|
+
ResultContentType,
|
|
16
|
+
)
|
|
17
|
+
from astrbot.core.provider.entities import LLMResponse
|
|
18
|
+
from astrbot.core.provider.provider import TTSProvider
|
|
19
|
+
|
|
20
|
+
AgentRunner = ToolLoopAgentRunner[AstrAgentContext]
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
async def run_agent(
|
|
24
|
+
agent_runner: AgentRunner,
|
|
25
|
+
max_step: int = 30,
|
|
26
|
+
show_tool_use: bool = True,
|
|
27
|
+
stream_to_general: bool = False,
|
|
28
|
+
show_reasoning: bool = False,
|
|
29
|
+
) -> AsyncGenerator[MessageChain | None, None]:
|
|
30
|
+
step_idx = 0
|
|
31
|
+
astr_event = agent_runner.run_context.context.event
|
|
32
|
+
while step_idx < max_step + 1:
|
|
33
|
+
step_idx += 1
|
|
34
|
+
|
|
35
|
+
if step_idx == max_step + 1:
|
|
36
|
+
logger.warning(
|
|
37
|
+
f"Agent reached max steps ({max_step}), forcing a final response."
|
|
38
|
+
)
|
|
39
|
+
if not agent_runner.done():
|
|
40
|
+
# 拔掉所有工具
|
|
41
|
+
if agent_runner.req:
|
|
42
|
+
agent_runner.req.func_tool = None
|
|
43
|
+
# 注入提示词
|
|
44
|
+
agent_runner.run_context.messages.append(
|
|
45
|
+
Message(
|
|
46
|
+
role="user",
|
|
47
|
+
content="工具调用次数已达到上限,请停止使用工具,并根据已经收集到的信息,对你的任务和发现进行总结,然后直接回复用户。",
|
|
48
|
+
)
|
|
49
|
+
)
|
|
50
|
+
|
|
51
|
+
try:
|
|
52
|
+
async for resp in agent_runner.step():
|
|
53
|
+
if astr_event.is_stopped():
|
|
54
|
+
return
|
|
55
|
+
if resp.type == "tool_call_result":
|
|
56
|
+
msg_chain = resp.data["chain"]
|
|
57
|
+
if msg_chain.type == "tool_direct_result":
|
|
58
|
+
# tool_direct_result 用于标记 llm tool 需要直接发送给用户的内容
|
|
59
|
+
await astr_event.send(msg_chain)
|
|
60
|
+
continue
|
|
61
|
+
if astr_event.get_platform_id() == "webchat":
|
|
62
|
+
await astr_event.send(msg_chain)
|
|
63
|
+
# 对于其他情况,暂时先不处理
|
|
64
|
+
continue
|
|
65
|
+
elif resp.type == "tool_call":
|
|
66
|
+
if agent_runner.streaming:
|
|
67
|
+
# 用来标记流式响应需要分节
|
|
68
|
+
yield MessageChain(chain=[], type="break")
|
|
69
|
+
|
|
70
|
+
if astr_event.get_platform_name() == "webchat":
|
|
71
|
+
await astr_event.send(resp.data["chain"])
|
|
72
|
+
elif show_tool_use:
|
|
73
|
+
json_comp = resp.data["chain"].chain[0]
|
|
74
|
+
if isinstance(json_comp, Json):
|
|
75
|
+
m = f"🔨 调用工具: {json_comp.data.get('name')}"
|
|
76
|
+
else:
|
|
77
|
+
m = "🔨 调用工具..."
|
|
78
|
+
chain = MessageChain(type="tool_call").message(m)
|
|
79
|
+
await astr_event.send(chain)
|
|
80
|
+
continue
|
|
81
|
+
|
|
82
|
+
if stream_to_general and resp.type == "streaming_delta":
|
|
83
|
+
continue
|
|
84
|
+
|
|
85
|
+
if stream_to_general or not agent_runner.streaming:
|
|
86
|
+
content_typ = (
|
|
87
|
+
ResultContentType.LLM_RESULT
|
|
88
|
+
if resp.type == "llm_result"
|
|
89
|
+
else ResultContentType.GENERAL_RESULT
|
|
90
|
+
)
|
|
91
|
+
astr_event.set_result(
|
|
92
|
+
MessageEventResult(
|
|
93
|
+
chain=resp.data["chain"].chain,
|
|
94
|
+
result_content_type=content_typ,
|
|
95
|
+
),
|
|
96
|
+
)
|
|
97
|
+
yield
|
|
98
|
+
astr_event.clear_result()
|
|
99
|
+
elif resp.type == "streaming_delta":
|
|
100
|
+
chain = resp.data["chain"]
|
|
101
|
+
if chain.type == "reasoning" and not show_reasoning:
|
|
102
|
+
# display the reasoning content only when configured
|
|
103
|
+
continue
|
|
104
|
+
yield resp.data["chain"] # MessageChain
|
|
105
|
+
if agent_runner.done():
|
|
106
|
+
# send agent stats to webchat
|
|
107
|
+
if astr_event.get_platform_name() == "webchat":
|
|
108
|
+
await astr_event.send(
|
|
109
|
+
MessageChain(
|
|
110
|
+
type="agent_stats",
|
|
111
|
+
chain=[Json(data=agent_runner.stats.to_dict())],
|
|
112
|
+
)
|
|
113
|
+
)
|
|
114
|
+
|
|
115
|
+
break
|
|
116
|
+
|
|
117
|
+
except Exception as e:
|
|
118
|
+
logger.error(traceback.format_exc())
|
|
119
|
+
|
|
120
|
+
err_msg = f"\n\nAstrBot 请求失败。\n错误类型: {type(e).__name__}\n错误信息: {e!s}\n\n请在平台日志查看和分享错误详情。\n"
|
|
121
|
+
|
|
122
|
+
error_llm_response = LLMResponse(
|
|
123
|
+
role="err",
|
|
124
|
+
completion_text=err_msg,
|
|
125
|
+
)
|
|
126
|
+
try:
|
|
127
|
+
await agent_runner.agent_hooks.on_agent_done(
|
|
128
|
+
agent_runner.run_context, error_llm_response
|
|
129
|
+
)
|
|
130
|
+
except Exception:
|
|
131
|
+
logger.exception("Error in on_agent_done hook")
|
|
132
|
+
|
|
133
|
+
if agent_runner.streaming:
|
|
134
|
+
yield MessageChain().message(err_msg)
|
|
135
|
+
else:
|
|
136
|
+
astr_event.set_result(MessageEventResult().message(err_msg))
|
|
137
|
+
return
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
async def run_live_agent(
|
|
141
|
+
agent_runner: AgentRunner,
|
|
142
|
+
tts_provider: TTSProvider | None = None,
|
|
143
|
+
max_step: int = 30,
|
|
144
|
+
show_tool_use: bool = True,
|
|
145
|
+
show_reasoning: bool = False,
|
|
146
|
+
) -> AsyncGenerator[MessageChain | None, None]:
|
|
147
|
+
"""Live Mode 的 Agent 运行器,支持流式 TTS
|
|
148
|
+
|
|
149
|
+
Args:
|
|
150
|
+
agent_runner: Agent 运行器
|
|
151
|
+
tts_provider: TTS Provider 实例
|
|
152
|
+
max_step: 最大步数
|
|
153
|
+
show_tool_use: 是否显示工具使用
|
|
154
|
+
show_reasoning: 是否显示推理过程
|
|
155
|
+
|
|
156
|
+
Yields:
|
|
157
|
+
MessageChain: 包含文本或音频数据的消息链
|
|
158
|
+
"""
|
|
159
|
+
# 如果没有 TTS Provider,直接发送文本
|
|
160
|
+
if not tts_provider:
|
|
161
|
+
async for chain in run_agent(
|
|
162
|
+
agent_runner,
|
|
163
|
+
max_step=max_step,
|
|
164
|
+
show_tool_use=show_tool_use,
|
|
165
|
+
stream_to_general=False,
|
|
166
|
+
show_reasoning=show_reasoning,
|
|
167
|
+
):
|
|
168
|
+
yield chain
|
|
169
|
+
return
|
|
170
|
+
|
|
171
|
+
support_stream = tts_provider.support_stream()
|
|
172
|
+
if support_stream:
|
|
173
|
+
logger.info("[Live Agent] 使用流式 TTS(原生支持 get_audio_stream)")
|
|
174
|
+
else:
|
|
175
|
+
logger.info(
|
|
176
|
+
f"[Live Agent] 使用 TTS({tts_provider.meta().type} "
|
|
177
|
+
"使用 get_audio,将按句子分块生成音频)"
|
|
178
|
+
)
|
|
179
|
+
|
|
180
|
+
# 统计数据初始化
|
|
181
|
+
tts_start_time = time.time()
|
|
182
|
+
tts_first_frame_time = 0.0
|
|
183
|
+
first_chunk_received = False
|
|
184
|
+
|
|
185
|
+
# 创建队列
|
|
186
|
+
text_queue: asyncio.Queue[str | None] = asyncio.Queue()
|
|
187
|
+
# audio_queue stored bytes or (text, bytes)
|
|
188
|
+
audio_queue: asyncio.Queue[bytes | tuple[str, bytes] | None] = asyncio.Queue()
|
|
189
|
+
|
|
190
|
+
# 1. 启动 Agent Feeder 任务:负责运行 Agent 并将文本分句喂给 text_queue
|
|
191
|
+
feeder_task = asyncio.create_task(
|
|
192
|
+
_run_agent_feeder(
|
|
193
|
+
agent_runner, text_queue, max_step, show_tool_use, show_reasoning
|
|
194
|
+
)
|
|
195
|
+
)
|
|
196
|
+
|
|
197
|
+
# 2. 启动 TTS 任务:负责从 text_queue 读取文本并生成音频到 audio_queue
|
|
198
|
+
if support_stream:
|
|
199
|
+
tts_task = asyncio.create_task(
|
|
200
|
+
_safe_tts_stream_wrapper(tts_provider, text_queue, audio_queue)
|
|
201
|
+
)
|
|
202
|
+
else:
|
|
203
|
+
tts_task = asyncio.create_task(
|
|
204
|
+
_simulated_stream_tts(tts_provider, text_queue, audio_queue)
|
|
205
|
+
)
|
|
206
|
+
|
|
207
|
+
# 3. 主循环:从 audio_queue 读取音频并 yield
|
|
208
|
+
try:
|
|
209
|
+
while True:
|
|
210
|
+
queue_item = await audio_queue.get()
|
|
211
|
+
|
|
212
|
+
if queue_item is None:
|
|
213
|
+
break
|
|
214
|
+
|
|
215
|
+
text = None
|
|
216
|
+
if isinstance(queue_item, tuple):
|
|
217
|
+
text, audio_data = queue_item
|
|
218
|
+
else:
|
|
219
|
+
audio_data = queue_item
|
|
220
|
+
|
|
221
|
+
if not first_chunk_received:
|
|
222
|
+
# 记录首帧延迟(从开始处理到收到第一个音频块)
|
|
223
|
+
tts_first_frame_time = time.time() - tts_start_time
|
|
224
|
+
first_chunk_received = True
|
|
225
|
+
|
|
226
|
+
# 将音频数据封装为 MessageChain
|
|
227
|
+
import base64
|
|
228
|
+
|
|
229
|
+
audio_b64 = base64.b64encode(audio_data).decode("utf-8")
|
|
230
|
+
comps: list[BaseMessageComponent] = [Plain(audio_b64)]
|
|
231
|
+
if text:
|
|
232
|
+
comps.append(Json(data={"text": text}))
|
|
233
|
+
chain = MessageChain(chain=comps, type="audio_chunk")
|
|
234
|
+
yield chain
|
|
235
|
+
|
|
236
|
+
except Exception as e:
|
|
237
|
+
logger.error(f"[Live Agent] 运行时发生错误: {e}", exc_info=True)
|
|
238
|
+
finally:
|
|
239
|
+
# 清理任务
|
|
240
|
+
if not feeder_task.done():
|
|
241
|
+
feeder_task.cancel()
|
|
242
|
+
if not tts_task.done():
|
|
243
|
+
tts_task.cancel()
|
|
244
|
+
|
|
245
|
+
# 确保队列被消费
|
|
246
|
+
pass
|
|
247
|
+
|
|
248
|
+
tts_end_time = time.time()
|
|
249
|
+
|
|
250
|
+
# 发送 TTS 统计信息
|
|
251
|
+
try:
|
|
252
|
+
astr_event = agent_runner.run_context.context.event
|
|
253
|
+
if astr_event.get_platform_name() == "webchat":
|
|
254
|
+
tts_duration = tts_end_time - tts_start_time
|
|
255
|
+
await astr_event.send(
|
|
256
|
+
MessageChain(
|
|
257
|
+
type="tts_stats",
|
|
258
|
+
chain=[
|
|
259
|
+
Json(
|
|
260
|
+
data={
|
|
261
|
+
"tts_total_time": tts_duration,
|
|
262
|
+
"tts_first_frame_time": tts_first_frame_time,
|
|
263
|
+
"tts": tts_provider.meta().type,
|
|
264
|
+
"chat_model": agent_runner.provider.get_model(),
|
|
265
|
+
}
|
|
266
|
+
)
|
|
267
|
+
],
|
|
268
|
+
)
|
|
269
|
+
)
|
|
270
|
+
except Exception as e:
|
|
271
|
+
logger.error(f"发送 TTS 统计信息失败: {e}")
|
|
272
|
+
|
|
273
|
+
|
|
274
|
+
async def _run_agent_feeder(
|
|
275
|
+
agent_runner: AgentRunner,
|
|
276
|
+
text_queue: asyncio.Queue,
|
|
277
|
+
max_step: int,
|
|
278
|
+
show_tool_use: bool,
|
|
279
|
+
show_reasoning: bool,
|
|
280
|
+
):
|
|
281
|
+
"""运行 Agent 并将文本输出分句放入队列"""
|
|
282
|
+
buffer = ""
|
|
283
|
+
try:
|
|
284
|
+
async for chain in run_agent(
|
|
285
|
+
agent_runner,
|
|
286
|
+
max_step=max_step,
|
|
287
|
+
show_tool_use=show_tool_use,
|
|
288
|
+
stream_to_general=False,
|
|
289
|
+
show_reasoning=show_reasoning,
|
|
290
|
+
):
|
|
291
|
+
if chain is None:
|
|
292
|
+
continue
|
|
293
|
+
|
|
294
|
+
# 提取文本
|
|
295
|
+
text = chain.get_plain_text()
|
|
296
|
+
if text:
|
|
297
|
+
buffer += text
|
|
298
|
+
|
|
299
|
+
# 分句逻辑:匹配标点符号
|
|
300
|
+
# r"([.。!!??\n]+)" 会保留分隔符
|
|
301
|
+
parts = re.split(r"([.。!!??\n]+)", buffer)
|
|
302
|
+
|
|
303
|
+
if len(parts) > 1:
|
|
304
|
+
# 处理完整的句子
|
|
305
|
+
# range step 2 因为 split 后是 [text, delim, text, delim, ...]
|
|
306
|
+
temp_buffer = ""
|
|
307
|
+
for i in range(0, len(parts) - 1, 2):
|
|
308
|
+
sentence = parts[i]
|
|
309
|
+
delim = parts[i + 1]
|
|
310
|
+
full_sentence = sentence + delim
|
|
311
|
+
temp_buffer += full_sentence
|
|
312
|
+
|
|
313
|
+
if len(temp_buffer) >= 10:
|
|
314
|
+
if temp_buffer.strip():
|
|
315
|
+
logger.info(f"[Live Agent Feeder] 分句: {temp_buffer}")
|
|
316
|
+
await text_queue.put(temp_buffer)
|
|
317
|
+
temp_buffer = ""
|
|
318
|
+
|
|
319
|
+
# 更新 buffer 为剩余部分
|
|
320
|
+
buffer = temp_buffer + parts[-1]
|
|
321
|
+
|
|
322
|
+
# 处理剩余 buffer
|
|
323
|
+
if buffer.strip():
|
|
324
|
+
await text_queue.put(buffer)
|
|
325
|
+
|
|
326
|
+
except Exception as e:
|
|
327
|
+
logger.error(f"[Live Agent Feeder] Error: {e}", exc_info=True)
|
|
328
|
+
finally:
|
|
329
|
+
# 发送结束信号
|
|
330
|
+
await text_queue.put(None)
|
|
331
|
+
|
|
332
|
+
|
|
333
|
+
async def _safe_tts_stream_wrapper(
|
|
334
|
+
tts_provider: TTSProvider,
|
|
335
|
+
text_queue: asyncio.Queue[str | None],
|
|
336
|
+
audio_queue: "asyncio.Queue[bytes | tuple[str, bytes] | None]",
|
|
337
|
+
):
|
|
338
|
+
"""包装原生流式 TTS 确保异常处理和队列关闭"""
|
|
339
|
+
try:
|
|
340
|
+
await tts_provider.get_audio_stream(text_queue, audio_queue)
|
|
341
|
+
except Exception as e:
|
|
342
|
+
logger.error(f"[Live TTS Stream] Error: {e}", exc_info=True)
|
|
343
|
+
finally:
|
|
344
|
+
await audio_queue.put(None)
|
|
345
|
+
|
|
346
|
+
|
|
347
|
+
async def _simulated_stream_tts(
|
|
348
|
+
tts_provider: TTSProvider,
|
|
349
|
+
text_queue: asyncio.Queue[str | None],
|
|
350
|
+
audio_queue: "asyncio.Queue[bytes | tuple[str, bytes] | None]",
|
|
351
|
+
):
|
|
352
|
+
"""模拟流式 TTS 分句生成音频"""
|
|
353
|
+
try:
|
|
354
|
+
while True:
|
|
355
|
+
text = await text_queue.get()
|
|
356
|
+
if text is None:
|
|
357
|
+
break
|
|
358
|
+
|
|
359
|
+
try:
|
|
360
|
+
audio_path = await tts_provider.get_audio(text)
|
|
361
|
+
|
|
362
|
+
if audio_path:
|
|
363
|
+
with open(audio_path, "rb") as f:
|
|
364
|
+
audio_data = f.read()
|
|
365
|
+
await audio_queue.put((text, audio_data))
|
|
366
|
+
except Exception as e:
|
|
367
|
+
logger.error(
|
|
368
|
+
f"[Live TTS Simulated] Error processing text '{text[:20]}...': {e}"
|
|
369
|
+
)
|
|
370
|
+
# 继续处理下一句
|
|
371
|
+
|
|
372
|
+
except Exception as e:
|
|
373
|
+
logger.error(f"[Live TTS Simulated] Critical Error: {e}", exc_info=True)
|
|
374
|
+
finally:
|
|
375
|
+
await audio_queue.put(None)
|
|
@@ -5,7 +5,7 @@ from typing import Any, TypedDict
|
|
|
5
5
|
|
|
6
6
|
from astrbot.core.utils.astrbot_path import get_astrbot_data_path
|
|
7
7
|
|
|
8
|
-
VERSION = "4.12.
|
|
8
|
+
VERSION = "4.12.4"
|
|
9
9
|
DB_PATH = os.path.join(get_astrbot_data_path(), "data_v4.db")
|
|
10
10
|
|
|
11
11
|
WEBHOOK_SUPPORTED_PLATFORMS = [
|
|
@@ -321,6 +321,7 @@ CONFIG_METADATA_2 = {
|
|
|
321
321
|
"enable": False,
|
|
322
322
|
"client_id": "",
|
|
323
323
|
"client_secret": "",
|
|
324
|
+
"card_template_id": "",
|
|
324
325
|
},
|
|
325
326
|
"Telegram": {
|
|
326
327
|
"id": "telegram",
|
|
@@ -582,6 +583,11 @@ CONFIG_METADATA_2 = {
|
|
|
582
583
|
"type": "string",
|
|
583
584
|
"hint": "可选:填写 Misskey 网盘中目标文件夹的 ID,上传的文件将放置到该文件夹内。留空则使用账号网盘根目录。",
|
|
584
585
|
},
|
|
586
|
+
"card_template_id": {
|
|
587
|
+
"description": "卡片模板 ID",
|
|
588
|
+
"type": "string",
|
|
589
|
+
"hint": "可选。钉钉互动卡片模板 ID。启用后将使用互动卡片进行流式回复。",
|
|
590
|
+
},
|
|
585
591
|
"telegram_command_register": {
|
|
586
592
|
"description": "Telegram 命令注册",
|
|
587
593
|
"type": "bool",
|
|
@@ -1179,6 +1185,19 @@ CONFIG_METADATA_2 = {
|
|
|
1179
1185
|
"openai-tts-voice": "alloy",
|
|
1180
1186
|
"timeout": "20",
|
|
1181
1187
|
},
|
|
1188
|
+
"Genie TTS": {
|
|
1189
|
+
"id": "genie_tts",
|
|
1190
|
+
"provider": "genie_tts",
|
|
1191
|
+
"type": "genie_tts",
|
|
1192
|
+
"provider_type": "text_to_speech",
|
|
1193
|
+
"enable": False,
|
|
1194
|
+
"genie_character_name": "mika",
|
|
1195
|
+
"genie_onnx_model_dir": "CharacterModels/v2ProPlus/mika/tts_models",
|
|
1196
|
+
"genie_language": "Japanese",
|
|
1197
|
+
"genie_refer_audio_path": "",
|
|
1198
|
+
"genie_refer_text": "",
|
|
1199
|
+
"timeout": 20,
|
|
1200
|
+
},
|
|
1182
1201
|
"Edge TTS": {
|
|
1183
1202
|
"id": "edge_tts",
|
|
1184
1203
|
"provider": "microsoft",
|
|
@@ -1395,6 +1414,16 @@ CONFIG_METADATA_2 = {
|
|
|
1395
1414
|
},
|
|
1396
1415
|
},
|
|
1397
1416
|
"items": {
|
|
1417
|
+
"genie_onnx_model_dir": {
|
|
1418
|
+
"description": "ONNX Model Directory",
|
|
1419
|
+
"type": "string",
|
|
1420
|
+
"hint": "The directory path containing the ONNX model files",
|
|
1421
|
+
},
|
|
1422
|
+
"genie_language": {
|
|
1423
|
+
"description": "Language",
|
|
1424
|
+
"type": "string",
|
|
1425
|
+
"options": ["Japanese", "English", "Chinese"],
|
|
1426
|
+
},
|
|
1398
1427
|
"provider_source_id": {
|
|
1399
1428
|
"invisible": True,
|
|
1400
1429
|
"type": "string",
|