AstrBot 4.0.0b2__tar.gz → 4.0.0b4__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.0.0b2 → astrbot-4.0.0b4}/PKG-INFO +1 -1
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/config/default.py +3 -3
- astrbot-4.0.0b2/changelogs/v4.0.0-beta.1.md → astrbot-4.0.0b4/changelogs/v4.0.0-beta.3.md +1 -1
- astrbot-4.0.0b4/changelogs/v4.0.0-beta.4.md +8 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/components/shared/MigrationDialog.vue +25 -3
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/i18n/locales/en-US/features/migration.json +3 -1
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/i18n/locales/zh-CN/features/migration.json +3 -1
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/views/PersonaPage.vue +1 -2
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/packages/astrbot/long_term_memory.py +12 -6
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/packages/astrbot/main.py +4 -4
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/pyproject.toml +1 -1
- astrbot-4.0.0b4/uv.lock +3407 -0
- astrbot-4.0.0b2/changelogs/v4.0.0-beta.2.md +0 -1
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/.dockerignore +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/.github/FUNDING.yml +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/.github/ISSUE_TEMPLATE/PLUGIN_PUBLISH.yml +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/.github/ISSUE_TEMPLATE/bug-report.yml +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/.github/ISSUE_TEMPLATE/feature-request.yml +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/.github/copilot-instructions.md +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/.github/dependabot.yml +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/.github/workflows/auto_release.yml +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/.github/workflows/codeql.yml +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/.github/workflows/coverage_test.yml +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/.github/workflows/dashboard_ci.yml +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/.github/workflows/docker-image.yml +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/.github/workflows/stale.yml +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/.gitignore +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/.pre-commit-config.yaml +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/.python-version +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/CODE_OF_CONDUCT.md +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/Dockerfile +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/Dockerfile_with_node +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/LICENSE +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/README.md +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/README_en.md +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/README_ja.md +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/__init__.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/api/__init__.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/api/all.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/api/event/__init__.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/api/event/filter/__init__.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/api/message_components.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/api/platform/__init__.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/api/provider/__init__.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/api/star/__init__.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/api/util/__init__.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/cli/__init__.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/cli/__main__.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/cli/commands/__init__.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/cli/commands/cmd_conf.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/cli/commands/cmd_init.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/cli/commands/cmd_plug.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/cli/commands/cmd_run.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/cli/utils/__init__.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/cli/utils/basic.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/cli/utils/plugin.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/cli/utils/version_comparator.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/__init__.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/agent/agent.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/agent/handoff.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/agent/hooks.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/agent/mcp_client.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/agent/response.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/agent/run_context.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/agent/runners/__init__.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/agent/runners/base.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/agent/runners/tool_loop_agent_runner.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/agent/tool.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/agent/tool_executor.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/astr_agent_context.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/astrbot_config_mgr.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/config/__init__.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/config/astrbot_config.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/conversation_mgr.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/core_lifecycle.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/db/__init__.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/db/migration/helper.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/db/migration/migra_3_to_4.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/db/migration/shared_preferences_v3.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/db/migration/sqlite_v3.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/db/po.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/db/sqlite.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/db/vec_db/base.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/db/vec_db/faiss_impl/__init__.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/db/vec_db/faiss_impl/document_storage.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/db/vec_db/faiss_impl/embedding_storage.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/db/vec_db/faiss_impl/sqlite_init.sql +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/db/vec_db/faiss_impl/vec_db.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/event_bus.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/file_token_service.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/initial_loader.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/log.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/message/components.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/message/message_event_result.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/persona_mgr.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/pipeline/__init__.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/pipeline/content_safety_check/stage.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/pipeline/content_safety_check/strategies/__init__.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/pipeline/content_safety_check/strategies/baidu_aip.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/pipeline/content_safety_check/strategies/keywords.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/pipeline/content_safety_check/strategies/strategy.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/pipeline/context.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/pipeline/context_utils.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/pipeline/preprocess_stage/stage.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/pipeline/process_stage/method/llm_request.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/pipeline/process_stage/method/star_request.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/pipeline/process_stage/stage.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/pipeline/rate_limit_check/stage.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/pipeline/respond/stage.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/pipeline/result_decorate/stage.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/pipeline/scheduler.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/pipeline/session_status_check/stage.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/pipeline/stage.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/pipeline/waking_check/stage.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/pipeline/whitelist_check/stage.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/platform/__init__.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/platform/astr_message_event.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/platform/astrbot_message.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/platform/manager.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/platform/message_session.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/platform/message_type.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/platform/platform.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/platform/platform_metadata.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/platform/register.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/platform/sources/aiocqhttp/aiocqhttp_message_event.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/platform/sources/aiocqhttp/aiocqhttp_platform_adapter.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/platform/sources/dingtalk/dingtalk_adapter.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/platform/sources/dingtalk/dingtalk_event.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/platform/sources/discord/client.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/platform/sources/discord/components.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/platform/sources/discord/discord_platform_adapter.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/platform/sources/discord/discord_platform_event.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/platform/sources/lark/lark_adapter.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/platform/sources/lark/lark_event.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/platform/sources/qqofficial/qqofficial_message_event.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/platform/sources/qqofficial/qqofficial_platform_adapter.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/platform/sources/qqofficial_webhook/qo_webhook_adapter.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/platform/sources/qqofficial_webhook/qo_webhook_event.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/platform/sources/qqofficial_webhook/qo_webhook_server.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/platform/sources/slack/client.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/platform/sources/slack/slack_adapter.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/platform/sources/slack/slack_event.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/platform/sources/telegram/tg_adapter.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/platform/sources/telegram/tg_event.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/platform/sources/webchat/webchat_adapter.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/platform/sources/webchat/webchat_event.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/platform/sources/webchat/webchat_queue_mgr.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/platform/sources/wechatpadpro/wechatpadpro_adapter.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/platform/sources/wechatpadpro/wechatpadpro_message_event.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/platform/sources/wechatpadpro/xml_data_parser.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/platform/sources/wecom/wecom_adapter.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/platform/sources/wecom/wecom_event.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/platform/sources/wecom/wecom_kf.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/platform/sources/wecom/wecom_kf_message.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/platform/sources/weixin_official_account/weixin_offacc_adapter.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/platform/sources/weixin_official_account/weixin_offacc_event.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/platform_message_history_mgr.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/provider/__init__.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/provider/entites.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/provider/entities.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/provider/func_tool_manager.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/provider/manager.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/provider/provider.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/provider/register.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/provider/sources/anthropic_source.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/provider/sources/azure_tts_source.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/provider/sources/dashscope_source.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/provider/sources/dashscope_tts.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/provider/sources/dify_source.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/provider/sources/edge_tts_source.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/provider/sources/fishaudio_tts_api_source.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/provider/sources/gemini_embedding_source.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/provider/sources/gemini_source.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/provider/sources/gemini_tts_source.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/provider/sources/gsv_selfhosted_source.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/provider/sources/gsvi_tts_source.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/provider/sources/minimax_tts_api_source.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/provider/sources/openai_embedding_source.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/provider/sources/openai_source.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/provider/sources/openai_tts_api_source.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/provider/sources/sensevoice_selfhosted_source.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/provider/sources/vllm_rerank_source.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/provider/sources/volcengine_tts.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/provider/sources/whisper_api_source.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/provider/sources/whisper_selfhosted_source.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/provider/sources/zhipu_source.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/star/README.md +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/star/__init__.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/star/config.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/star/context.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/star/filter/__init__.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/star/filter/command.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/star/filter/command_group.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/star/filter/custom_filter.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/star/filter/event_message_type.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/star/filter/permission.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/star/filter/platform_adapter_type.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/star/filter/regex.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/star/register/__init__.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/star/register/star.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/star/register/star_handler.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/star/session_llm_manager.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/star/session_plugin_manager.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/star/star.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/star/star_handler.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/star/star_manager.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/star/star_tools.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/star/updator.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/updator.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/utils/astrbot_path.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/utils/command_parser.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/utils/dify_api_client.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/utils/io.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/utils/log_pipe.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/utils/metrics.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/utils/path_util.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/utils/pip_installer.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/utils/session_lock.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/utils/session_waiter.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/utils/shared_preferences.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/utils/t2i/__init__.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/utils/t2i/local_strategy.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/utils/t2i/network_strategy.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/utils/t2i/renderer.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/utils/t2i/template/base.html +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/utils/tencent_record_helper.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/utils/version_comparator.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/core/zip_updator.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/dashboard/routes/__init__.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/dashboard/routes/auth.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/dashboard/routes/chat.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/dashboard/routes/config.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/dashboard/routes/conversation.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/dashboard/routes/file.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/dashboard/routes/log.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/dashboard/routes/persona.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/dashboard/routes/plugin.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/dashboard/routes/route.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/dashboard/routes/session_management.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/dashboard/routes/stat.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/dashboard/routes/static_file.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/dashboard/routes/tools.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/dashboard/routes/update.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/astrbot/dashboard/server.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/changelogs/v3.4.0.md +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/changelogs/v3.4.1.md +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/changelogs/v3.4.10.md +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/changelogs/v3.4.11.md +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/changelogs/v3.4.12.md +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/changelogs/v3.4.13.md +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/changelogs/v3.4.14.md +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/changelogs/v3.4.15.md +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/changelogs/v3.4.16.md +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/changelogs/v3.4.17.md +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/changelogs/v3.4.18.md +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/changelogs/v3.4.19.md +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/changelogs/v3.4.20.md +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/changelogs/v3.4.21.md +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/changelogs/v3.4.22.md +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/changelogs/v3.4.23.md +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/changelogs/v3.4.24.md +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/changelogs/v3.4.25.md +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/changelogs/v3.4.26.md +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/changelogs/v3.4.27.md +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/changelogs/v3.4.28.md +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/changelogs/v3.4.29.md +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/changelogs/v3.4.3.md +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/changelogs/v3.4.30.md +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/changelogs/v3.4.31.md +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/changelogs/v3.4.32.md +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/changelogs/v3.4.33.md +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/changelogs/v3.4.35.md +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/changelogs/v3.4.36.md +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/changelogs/v3.4.37.md +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/changelogs/v3.4.38.md +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/changelogs/v3.4.39.md +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/changelogs/v3.4.4.md +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/changelogs/v3.4.5.md +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/changelogs/v3.4.6.md +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/changelogs/v3.4.7.md +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/changelogs/v3.4.8.md +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/changelogs/v3.4.9.md +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/changelogs/v3.5.0.md +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/changelogs/v3.5.1.md +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/changelogs/v3.5.10.md +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/changelogs/v3.5.11.md +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/changelogs/v3.5.12.md +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/changelogs/v3.5.13.md +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/changelogs/v3.5.14.md +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/changelogs/v3.5.15.md +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/changelogs/v3.5.16.md +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/changelogs/v3.5.17.md +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/changelogs/v3.5.18.md +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/changelogs/v3.5.19.md +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/changelogs/v3.5.2.md +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/changelogs/v3.5.20.md +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/changelogs/v3.5.21.md +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/changelogs/v3.5.22.md +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/changelogs/v3.5.23.md +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/changelogs/v3.5.24.md +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/changelogs/v3.5.25.md +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/changelogs/v3.5.26.md +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/changelogs/v3.5.3.1.md +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/changelogs/v3.5.3.2.md +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/changelogs/v3.5.3.md +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/changelogs/v3.5.4.md +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/changelogs/v3.5.5.md +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/changelogs/v3.5.6.md +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/changelogs/v3.5.7.md +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/changelogs/v3.5.8.md +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/changelogs/v3.5.9.md +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/compose.yml +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/.gitignore +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/LICENSE +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/README.md +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/env.d.ts +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/index.html +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/public/_redirects +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/public/favicon.svg +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/App.vue +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/assets/images/astrbot_banner.png +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/assets/images/astrbot_logo_mini.webp +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/assets/images/platform_logos/dingtalk.svg +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/assets/images/platform_logos/discord.svg +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/assets/images/platform_logos/kook.png +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/assets/images/platform_logos/lark.png +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/assets/images/platform_logos/qq.png +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/assets/images/platform_logos/slack.svg +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/assets/images/platform_logos/telegram.svg +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/assets/images/platform_logos/vocechat.png +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/assets/images/platform_logos/wechat.png +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/assets/images/platform_logos/wecom.png +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/components/ConfirmDialog.vue +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/components/chat/ProviderModelSelector.vue +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/components/shared/AstrBotConfig.vue +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/components/shared/AstrBotConfigV4.vue +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/components/shared/ConsoleDisplayer.vue +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/components/shared/ExtensionCard.vue +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/components/shared/ItemCard.vue +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/components/shared/ItemCardGrid.vue +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/components/shared/KnowledgeBaseSelector.vue +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/components/shared/LanguageSwitcher.vue +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/components/shared/ListConfigItem.vue +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/components/shared/Logo.vue +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/components/shared/PersonaSelector.vue +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/components/shared/PluginSetSelector.vue +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/components/shared/ProviderSelector.vue +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/components/shared/ProxySelector.vue +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/components/shared/ReadmeDialog.vue +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/components/shared/T2ITemplateEditor.vue +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/components/shared/UiParentCard.vue +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/components/shared/WaitingForRestart.vue +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/config.ts +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/i18n/composables.ts +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/i18n/loader.ts +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/i18n/locales/en-US/core/actions.json +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/i18n/locales/en-US/core/common.json +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/i18n/locales/en-US/core/header.json +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/i18n/locales/en-US/core/navigation.json +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/i18n/locales/en-US/core/status.json +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/i18n/locales/en-US/features/about.json +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/i18n/locales/en-US/features/alkaid/index.json +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/i18n/locales/en-US/features/alkaid/knowledge-base.json +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/i18n/locales/en-US/features/alkaid/memory.json +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/i18n/locales/en-US/features/auth.json +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/i18n/locales/en-US/features/chart.json +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/i18n/locales/en-US/features/chat.json +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/i18n/locales/en-US/features/config.json +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/i18n/locales/en-US/features/console.json +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/i18n/locales/en-US/features/conversation.json +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/i18n/locales/en-US/features/dashboard.json +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/i18n/locales/en-US/features/extension.json +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/i18n/locales/en-US/features/persona.json +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/i18n/locales/en-US/features/platform.json +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/i18n/locales/en-US/features/provider.json +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/i18n/locales/en-US/features/session-management.json +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/i18n/locales/en-US/features/settings.json +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/i18n/locales/en-US/features/tool-use.json +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/i18n/locales/en-US/messages/errors.json +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/i18n/locales/en-US/messages/success.json +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/i18n/locales/en-US/messages/validation.json +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/i18n/locales/zh-CN/core/actions.json +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/i18n/locales/zh-CN/core/common.json +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/i18n/locales/zh-CN/core/header.json +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/i18n/locales/zh-CN/core/navigation.json +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/i18n/locales/zh-CN/core/status.json +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/i18n/locales/zh-CN/features/about.json +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/i18n/locales/zh-CN/features/alkaid/index.json +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/i18n/locales/zh-CN/features/alkaid/knowledge-base.json +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/i18n/locales/zh-CN/features/alkaid/memory.json +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/i18n/locales/zh-CN/features/auth.json +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/i18n/locales/zh-CN/features/chart.json +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/i18n/locales/zh-CN/features/chat.json +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/i18n/locales/zh-CN/features/config.json +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/i18n/locales/zh-CN/features/console.json +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/i18n/locales/zh-CN/features/conversation.json +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/i18n/locales/zh-CN/features/dashboard.json +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/i18n/locales/zh-CN/features/extension.json +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/i18n/locales/zh-CN/features/persona.json +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/i18n/locales/zh-CN/features/platform.json +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/i18n/locales/zh-CN/features/provider.json +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/i18n/locales/zh-CN/features/session-management.json +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/i18n/locales/zh-CN/features/settings.json +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/i18n/locales/zh-CN/features/tool-use.json +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/i18n/locales/zh-CN/messages/errors.json +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/i18n/locales/zh-CN/messages/success.json +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/i18n/locales/zh-CN/messages/validation.json +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/i18n/tools/index.ts +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/i18n/translations.ts +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/i18n/types.ts +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/i18n/validator.ts +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/layouts/blank/BlankLayout.vue +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/layouts/full/FullLayout.vue +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/layouts/full/vertical-header/VerticalHeader.vue +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/layouts/full/vertical-sidebar/NavItem.vue +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/layouts/full/vertical-sidebar/VerticalSidebar.vue +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/layouts/full/vertical-sidebar/sidebarItem.ts +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/main.ts +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/plugins/confirmPlugin.ts +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/plugins/vuetify.ts +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/router/AuthRoutes.ts +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/router/ChatBoxRoutes.ts +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/router/MainRoutes.ts +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/router/index.ts +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/scss/_override.scss +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/scss/_variables.scss +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/scss/components/_VButtons.scss +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/scss/components/_VCard.scss +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/scss/components/_VField.scss +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/scss/components/_VInput.scss +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/scss/components/_VNavigationDrawer.scss +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/scss/components/_VScrollbar.scss +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/scss/components/_VShadow.scss +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/scss/components/_VTabs.scss +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/scss/components/_VTextField.scss +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/scss/layout/_container.scss +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/scss/layout/_sidebar.scss +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/scss/pages/_dashboards.scss +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/scss/style.scss +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/stores/auth.ts +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/stores/common.js +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/stores/customizer.ts +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/theme/DarkTheme.ts +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/theme/LightTheme.ts +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/types/themeTypes/ThemeType.ts +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/types/vue3-print-nb.d.ts +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/types/vue_tabler_icon.d.ts +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/views/AboutPage.vue +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/views/AlkaidPage.vue +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/views/ChatBoxPage.vue +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/views/ChatPage.vue +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/views/ConfigPage.vue +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/views/ConsolePage.vue +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/views/ConversationPage.vue +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/views/ExtensionPage.vue +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/views/PlatformPage.vue +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/views/ProviderPage.vue +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/views/SessionManagementPage.vue +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/views/Settings.vue +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/views/ToolUsePage.vue +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/views/alkaid/KnowledgeBase.vue +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/views/alkaid/LongTermMemory.vue +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/views/alkaid/Other.vue +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/views/authentication/auth/LoginPage.vue +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/views/authentication/authForms/AuthLogin.vue +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/views/dashboards/default/DefaultDashboard.vue +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/views/dashboards/default/components/MemoryUsage.vue +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/views/dashboards/default/components/MessageStat.vue +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/views/dashboards/default/components/OnlinePlatform.vue +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/views/dashboards/default/components/OnlineTime.vue +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/views/dashboards/default/components/PlatformStat.vue +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/views/dashboards/default/components/RunningTime.vue +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/views/dashboards/default/components/TotalMessage.vue +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/tsconfig.json +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/tsconfig.vite-config.json +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/vite.config.ts +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/main.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/packages/astrbot/metadata.yaml +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/packages/python_interpreter/main.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/packages/python_interpreter/metadata.yaml +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/packages/python_interpreter/requirements.txt +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/packages/python_interpreter/shared/api.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/packages/reminder/main.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/packages/reminder/metadata.yaml +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/packages/session_controller/main.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/packages/session_controller/metadata.yaml +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/packages/thinking_filter/main.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/packages/thinking_filter/metadata.yaml +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/packages/web_searcher/engines/__init__.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/packages/web_searcher/engines/bing.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/packages/web_searcher/engines/google.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/packages/web_searcher/engines/sogo.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/packages/web_searcher/main.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/packages/web_searcher/metadata.yaml +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/requirements.txt +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/samples/stt_health_check.wav +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/tests/test_dashboard.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/tests/test_main.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/tests/test_pipeline.py +0 -0
- {astrbot-4.0.0b2 → astrbot-4.0.0b4}/tests/test_plugin_manager.py +0 -0
|
@@ -6,7 +6,7 @@ import os
|
|
|
6
6
|
|
|
7
7
|
from astrbot.core.utils.astrbot_path import get_astrbot_data_path
|
|
8
8
|
|
|
9
|
-
VERSION = "4.0.0-beta.
|
|
9
|
+
VERSION = "4.0.0-beta.4"
|
|
10
10
|
DB_PATH = os.path.join(get_astrbot_data_path(), "data_v4.db")
|
|
11
11
|
|
|
12
12
|
# 默认配置
|
|
@@ -1913,7 +1913,7 @@ CONFIG_METADATA_3 = {
|
|
|
1913
1913
|
"type": "bool",
|
|
1914
1914
|
},
|
|
1915
1915
|
"provider_settings.identifier": {
|
|
1916
|
-
"description": "
|
|
1916
|
+
"description": "用户识别",
|
|
1917
1917
|
"type": "bool",
|
|
1918
1918
|
},
|
|
1919
1919
|
"provider_settings.datetime_system_prompt": {
|
|
@@ -2288,7 +2288,7 @@ CONFIG_METADATA_3_SYSTEM = {
|
|
|
2288
2288
|
"condition": {
|
|
2289
2289
|
"t2i_strategy": "remote",
|
|
2290
2290
|
},
|
|
2291
|
-
"_special": "t2i_template"
|
|
2291
|
+
"_special": "t2i_template",
|
|
2292
2292
|
},
|
|
2293
2293
|
"log_level": {
|
|
2294
2294
|
"description": "控制台日志级别",
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
# What's Changed
|
|
2
2
|
|
|
3
|
-
> 请仔细阅读:**这是 v4.0.0 的测试版本(beta.
|
|
3
|
+
> 请仔细阅读:**这是 v4.0.0 的测试版本(beta.3),功能尚未完全稳定和加入**。v4.0.0 被设计为向前兼容,如有任何插件兼容性问题或者其他异常请在 GitHub 提交 [Issue](https://github.com/AstrBotDevs/AstrBot/issues)。在测试版本期间,您可以无缝回退到旧版本的 AstrBot,并且数据不受影响。新版本文档请[从此](https://docs-v4.astrbot.app/)访问,直到第一个 v4.0.0 稳定版本发布。
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
# What's Changed
|
|
2
|
+
|
|
3
|
+
> 请仔细阅读:**这是 v4.0.0 的测试版本(beta.4),功能尚未完全稳定和加入**。v4.0.0 被设计为向前兼容,如有任何插件兼容性问题或者其他异常请在 GitHub 提交 [Issue](https://github.com/AstrBotDevs/AstrBot/issues)。在测试版本期间,您可以无缝回退到旧版本的 AstrBot,并且数据不受影响。新版本文档请[从此](https://docs-v4.astrbot.app/)访问,直到第一个 v4.0.0 稳定版本发布。
|
|
4
|
+
|
|
5
|
+
相较于 beta.3:
|
|
6
|
+
|
|
7
|
+
1. 修复了主动回复时报错的问题
|
|
8
|
+
2. 数据迁移完毕之后引导重启程序
|
|
@@ -12,7 +12,13 @@
|
|
|
12
12
|
<div v-if="migrationCompleted" class="text-center py-8">
|
|
13
13
|
<v-icon size="64" color="success" class="mb-4">mdi-check-circle</v-icon>
|
|
14
14
|
<h3 class="mb-4">{{ t('features.migration.dialog.completed') }}</h3>
|
|
15
|
-
{{ migrationResult?.message || t('features.migration.dialog.success') }}
|
|
15
|
+
<p class="mb-4">{{ migrationResult?.message || t('features.migration.dialog.success') }}</p>
|
|
16
|
+
<v-alert type="info" variant="tonal" class="mb-4">
|
|
17
|
+
<template v-slot:prepend>
|
|
18
|
+
<v-icon>mdi-information</v-icon>
|
|
19
|
+
</template>
|
|
20
|
+
{{ t('features.migration.dialog.restartRecommended') }}
|
|
21
|
+
</v-alert>
|
|
16
22
|
</div>
|
|
17
23
|
|
|
18
24
|
<div v-else-if="migrating" class="migration-in-progress">
|
|
@@ -80,8 +86,11 @@
|
|
|
80
86
|
<v-card-actions class="px-6 py-4">
|
|
81
87
|
<v-spacer></v-spacer>
|
|
82
88
|
<template v-if="migrationCompleted">
|
|
83
|
-
<v-btn color="
|
|
84
|
-
{{ t('core.common.
|
|
89
|
+
<v-btn color="grey" variant="text" @click="handleClose">
|
|
90
|
+
{{ t('core.common.close') }}
|
|
91
|
+
</v-btn>
|
|
92
|
+
<v-btn color="primary" variant="elevated" @click="restartAstrBot">
|
|
93
|
+
{{ t('features.migration.dialog.restartNow') }}
|
|
85
94
|
</v-btn>
|
|
86
95
|
</template>
|
|
87
96
|
<template v-else>
|
|
@@ -96,6 +105,8 @@
|
|
|
96
105
|
</v-card-actions>
|
|
97
106
|
</v-card>
|
|
98
107
|
</v-dialog>
|
|
108
|
+
|
|
109
|
+
<WaitingForRestart ref="wfr"></WaitingForRestart>
|
|
99
110
|
</template>
|
|
100
111
|
|
|
101
112
|
<script setup>
|
|
@@ -103,6 +114,7 @@ import { ref, computed, watch } from 'vue'
|
|
|
103
114
|
import axios from 'axios'
|
|
104
115
|
import { useI18n } from '@/i18n/composables'
|
|
105
116
|
import ConsoleDisplayer from './ConsoleDisplayer.vue'
|
|
117
|
+
import WaitingForRestart from './WaitingForRestart.vue'
|
|
106
118
|
|
|
107
119
|
const { t } = useI18n()
|
|
108
120
|
|
|
@@ -114,6 +126,7 @@ const migrationCompleted = ref(false)
|
|
|
114
126
|
const migrationResult = ref(null)
|
|
115
127
|
const platforms = ref([])
|
|
116
128
|
const selectedPlatforms = ref({})
|
|
129
|
+
const wfr = ref(null)
|
|
117
130
|
|
|
118
131
|
let resolvePromise = null
|
|
119
132
|
|
|
@@ -244,6 +257,15 @@ const getPlatformLabel = (platform) => {
|
|
|
244
257
|
return `${name}`
|
|
245
258
|
}
|
|
246
259
|
|
|
260
|
+
// 重启 AstrBot
|
|
261
|
+
const restartAstrBot = () => {
|
|
262
|
+
axios.post('/api/stat/restart-core').then(() => {
|
|
263
|
+
if (wfr.value) {
|
|
264
|
+
wfr.value.check();
|
|
265
|
+
}
|
|
266
|
+
})
|
|
267
|
+
}
|
|
268
|
+
|
|
247
269
|
// 打开对话框的方法
|
|
248
270
|
const open = () => {
|
|
249
271
|
isOpen.value = true
|
{astrbot-4.0.0b2 → astrbot-4.0.0b4}/dashboard/src/i18n/locales/en-US/features/migration.json
RENAMED
|
@@ -11,6 +11,8 @@
|
|
|
11
11
|
"migratingSubtitle": "Please wait patiently, do not close this window during migration",
|
|
12
12
|
"migrationError": "Migration failed",
|
|
13
13
|
"success": "Migration completed successfully!",
|
|
14
|
-
"completed": "Migration Completed"
|
|
14
|
+
"completed": "Migration Completed",
|
|
15
|
+
"restartRecommended": "It is recommended to restart the application for all changes to take effect.",
|
|
16
|
+
"restartNow": "Restart Now"
|
|
15
17
|
}
|
|
16
18
|
}
|
|
@@ -383,8 +383,7 @@ export default {
|
|
|
383
383
|
messageType: 'success',
|
|
384
384
|
personaIdRules: [
|
|
385
385
|
v => !!v || this.tm('validation.required'),
|
|
386
|
-
v => (v && v.length >=
|
|
387
|
-
v => /^[a-zA-Z0-9_-]+$/.test(v) || this.tm('validation.alphanumeric')
|
|
386
|
+
v => (v && v.length >= 0) || this.tm('validation.minLength', { min: 2 }),
|
|
388
387
|
],
|
|
389
388
|
systemPromptRules: [
|
|
390
389
|
v => !!v || this.tm('validation.required'),
|
|
@@ -25,14 +25,18 @@ class LongTermMemory:
|
|
|
25
25
|
def cfg(self, event: AstrMessageEvent):
|
|
26
26
|
cfg = self.context.get_config(umo=event.unified_msg_origin)
|
|
27
27
|
try:
|
|
28
|
-
max_cnt = int(cfg["group_message_max_cnt"])
|
|
28
|
+
max_cnt = int(cfg["provider_ltm_settings"]["group_message_max_cnt"])
|
|
29
29
|
except BaseException as e:
|
|
30
30
|
logger.error(e)
|
|
31
31
|
max_cnt = 300
|
|
32
|
-
image_caption =
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
32
|
+
image_caption = (
|
|
33
|
+
True
|
|
34
|
+
if cfg["provider_settings"]["default_image_caption_provider_id"]
|
|
35
|
+
else False
|
|
36
|
+
)
|
|
37
|
+
image_caption_prompt = cfg["provider_settings"]["image_caption_prompt"]
|
|
38
|
+
image_caption_provider_id = cfg["provider_settings"]["default_image_caption_provider_id"]
|
|
39
|
+
active_reply = cfg["provider_ltm_settings"]["active_reply"]
|
|
36
40
|
enable_active_reply = active_reply.get("enable", False)
|
|
37
41
|
ar_method = active_reply["method"]
|
|
38
42
|
ar_possibility = active_reply["possibility_reply"]
|
|
@@ -88,7 +92,9 @@ class LongTermMemory:
|
|
|
88
92
|
|
|
89
93
|
if cfg["ar_whitelist"] and (
|
|
90
94
|
event.unified_msg_origin not in cfg["ar_whitelist"]
|
|
91
|
-
and (
|
|
95
|
+
and (
|
|
96
|
+
event.get_group_id() and event.get_group_id() not in cfg["ar_whitelist"]
|
|
97
|
+
)
|
|
92
98
|
):
|
|
93
99
|
return False
|
|
94
100
|
|
|
@@ -1110,7 +1110,9 @@ UID: {user_id} 此 ID 可用于设置管理员。
|
|
|
1110
1110
|
@filter.command("unset")
|
|
1111
1111
|
async def unset_variable(self, event: AstrMessageEvent, key: str):
|
|
1112
1112
|
uid = event.unified_msg_origin
|
|
1113
|
-
session_var = await sp.session_get(
|
|
1113
|
+
session_var = await sp.session_get(
|
|
1114
|
+
umo="uid", key="session_variables", default={}
|
|
1115
|
+
)
|
|
1114
1116
|
|
|
1115
1117
|
if key not in session_var:
|
|
1116
1118
|
yield event.plain_result("没有那个变量名。格式 /unset 变量名。")
|
|
@@ -1176,9 +1178,7 @@ UID: {user_id} 此 ID 可用于设置管理员。
|
|
|
1176
1178
|
)
|
|
1177
1179
|
return
|
|
1178
1180
|
|
|
1179
|
-
prompt =
|
|
1180
|
-
if not prompt:
|
|
1181
|
-
prompt = event.message_str
|
|
1181
|
+
prompt = event.message_str
|
|
1182
1182
|
|
|
1183
1183
|
yield event.request_llm(
|
|
1184
1184
|
prompt=prompt,
|