ErisPulse 2.11.1.dev0__tar.gz → 2.11.1.dev1__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.
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/PKG-INFO +1 -1
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/pyproject.toml +1 -1
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/CLI/commands/doctor.py +12 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/CLI/commands/run.py +14 -7
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/CLI/i18n/locales/en.py +1 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/CLI/i18n/locales/ja.py +1 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/CLI/i18n/locales/ru.py +1 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/CLI/i18n/locales/zh_cn.py +1 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/CLI/i18n/locales/zh_tw.py +1 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/CLI/utils/package_manager.py +31 -9
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/Core/Bases/adapter.py +4 -1
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/Core/Bases/adapter_patterns.py +14 -1
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/Core/Bases/config_schema.py +25 -11
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/Core/Event/governance.py +4 -1
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/Core/adapter.py +63 -11
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/Core/constants.py +24 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/Core/i18n/locales/en.py +15 -1
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/Core/i18n/locales/ja.py +15 -1
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/Core/i18n/locales/ru.py +15 -1
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/Core/i18n/locales/zh_cn.py +15 -1
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/Core/i18n/locales/zh_tw.py +15 -1
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/Core/module.py +29 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/Core/transcript.py +48 -32
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/loaders/_reload_utils.py +7 -4
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/loaders/adapter.py +35 -5
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/loaders/module.py +81 -32
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/loaders/plugin_folder.py +25 -2
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/runtime/file_watcher.py +36 -10
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/runtime/plugin_reload.py +12 -7
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/runtime/reload_ops.py +76 -6
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/runtime/tasks.py +5 -1
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/sdk.py +34 -12
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/.gitignore +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/LICENSE +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/README.pypi.md +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/CLI/__init__.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/CLI/base.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/CLI/cli.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/CLI/commands/__init__.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/CLI/commands/config.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/CLI/commands/create.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/CLI/commands/init.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/CLI/commands/install.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/CLI/commands/language.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/CLI/commands/list.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/CLI/commands/list_remote.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/CLI/commands/runtime.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/CLI/commands/self_update.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/CLI/commands/types.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/CLI/commands/uninstall.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/CLI/commands/upgrade.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/CLI/commands/version.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/CLI/console.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/CLI/constants.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/CLI/hints.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/CLI/i18n/__init__.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/CLI/i18n/locales/__init__.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/CLI/registry.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/CLI/utils/__init__.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/CLI/utils/config_wizard.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/CLI/utils/display.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/CLI/utils/interactive.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/CLI/utils/runtime_state.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/CLI/utils/scaffold_text.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/Core/Bases/__init__.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/Core/Bases/api_dsl.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/Core/Bases/client.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/Core/Bases/converter.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/Core/Bases/errors.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/Core/Bases/i18n_schema.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/Core/Bases/kv_builder.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/Core/Bases/manager.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/Core/Bases/model.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/Core/Bases/module.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/Core/Bases/router.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/Core/Bases/send_builder.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/Core/Bases/send_rules.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/Core/Bases/sql_base.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/Core/Bases/storage.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/Core/Bases/websocket.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/Core/Event/__init__.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/Core/Event/base.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/Core/Event/command.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/Core/Event/command_args.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/Core/Event/command_flow.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/Core/Event/conversation.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/Core/Event/interaction.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/Core/Event/message.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/Core/Event/message_builder.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/Core/Event/meta.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/Core/Event/notice.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/Core/Event/overrides.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/Core/Event/request.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/Core/Event/session_type.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/Core/Event/throttle.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/Core/Event/trace.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/Core/Event/wrapper.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/Core/__init__.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/Core/assets/__init__.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/Core/assets/error.css +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/Core/assets/error.html +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/Core/assets/root.css +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/Core/assets/root.html +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/Core/client.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/Core/config.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/Core/connections.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/Core/di.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/Core/i18n/__init__.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/Core/i18n/constants.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/Core/i18n/locales/__init__.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/Core/lifecycle.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/Core/logger.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/Core/master.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/Core/ownership.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/Core/router.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/Core/scope.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/Core/shadow.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/Core/storage/__init__.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/Core/storage/mysql.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/Core/storage/postgres.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/Core/storage/sqlite.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/Core/text_match.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/__init__.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/__main__.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/finders/__init__.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/finders/adapter.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/finders/bases/__init__.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/finders/bases/finder.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/finders/module.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/loaders/__init__.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/loaders/bases/__init__.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/loaders/bases/loader.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/loaders/strategy.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/loaders/strict.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/py.typed +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/runtime/__init__.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/runtime/config_schema.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/runtime/context.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/runtime/diagnostics.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/runtime/example_config.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/runtime/exceptions.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/runtime/frame_config.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/runtime/hints.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/runtime/kernel.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/runtime/memory.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/runtime/owner_cleanup.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/runtime/proactive_gc.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/runtime/process_state.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/runtime/sdk_initializer.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/runtime/troubleshoot.py +0 -0
- {erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/runtime/version.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: ErisPulse
|
|
3
|
-
Version: 2.11.1-dev.
|
|
3
|
+
Version: 2.11.1-dev.1
|
|
4
4
|
Summary: Event-driven modular async bot framework — write once, deploy to any platform | 事件驱动的模块化异步机器人框架,一次编写,多平台部署
|
|
5
5
|
Project-URL: Homepage, https://github.com/ErisPulse/ErisPulse
|
|
6
6
|
Project-URL: Documentation, https://www.erisdev.com#docs
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "ErisPulse"
|
|
7
|
-
version = "2.11.1-dev.
|
|
7
|
+
version = "2.11.1-dev.1"
|
|
8
8
|
description = "Event-driven modular async bot framework — write once, deploy to any platform | 事件驱动的模块化异步机器人框架,一次编写,多平台部署"
|
|
9
9
|
readme = "README.pypi.md"
|
|
10
10
|
requires-python = ">=3.10"
|
|
@@ -412,6 +412,18 @@ class DoctorCommand(Command):
|
|
|
412
412
|
removed += 1
|
|
413
413
|
except Exception as e:
|
|
414
414
|
failed_keys.append(f"{key_path} ({e})")
|
|
415
|
+
# 删除性修改前落一份备份:--yes / 误判场景下用户可对照恢复
|
|
416
|
+
if removed:
|
|
417
|
+
import shutil
|
|
418
|
+
|
|
419
|
+
backup_path = config_path.with_suffix(".toml.bak")
|
|
420
|
+
try:
|
|
421
|
+
shutil.copy2(config_path, backup_path)
|
|
422
|
+
console.print(
|
|
423
|
+
f"[info] {i18n.t('cli.doctor.fix_pollution_backup', path=backup_path)}[/]"
|
|
424
|
+
)
|
|
425
|
+
except Exception as e:
|
|
426
|
+
failed_keys.append(f"backup ({e})")
|
|
415
427
|
# 原子写回(与 ConfigManager._atomic_write_text 同款:mkstemp + replace)
|
|
416
428
|
text = doc.dumps()
|
|
417
429
|
fd, tmp_name = tempfile.mkstemp(
|
|
@@ -121,11 +121,14 @@ class ReloadHandler(FileSystemEventHandler):
|
|
|
121
121
|
# 去抖窗口内:合并入队,窗口静默后由定时器统一补发
|
|
122
122
|
self._pending.add(src_path)
|
|
123
123
|
return
|
|
124
|
-
#
|
|
124
|
+
# 窗口外:立即触发(保持「保存即重载」的即时性),并武装补发定时器。
|
|
125
|
+
# 定时器先存字段再在锁外 start:并发 close() 可能把字段置 None,
|
|
126
|
+
# 锁外必须用局部引用,否则 watcher 线程内 AttributeError
|
|
125
127
|
paths = {src_path}
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
128
|
+
timer = threading.Timer(self._debounce, self._flush_pending)
|
|
129
|
+
timer.daemon = True
|
|
130
|
+
self._timer = timer
|
|
131
|
+
timer.start()
|
|
129
132
|
self._dispatch(paths)
|
|
130
133
|
|
|
131
134
|
def _flush_pending(self) -> None:
|
|
@@ -250,11 +253,15 @@ class _DevWatchdog:
|
|
|
250
253
|
self._handler.close()
|
|
251
254
|
self._handler = None
|
|
252
255
|
if self._observer is not None:
|
|
256
|
+
from ...Core.constants import FILE_WATCH_POLL_INTERVAL_SECS
|
|
257
|
+
from ...Core.logger import logger
|
|
258
|
+
|
|
253
259
|
try:
|
|
254
260
|
self._observer.stop()
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
261
|
+
# 有限等待:轮询线程为守护线程,超时后自行退出
|
|
262
|
+
self._observer.join(timeout=FILE_WATCH_POLL_INTERVAL_SECS * 2)
|
|
263
|
+
except Exception as e:
|
|
264
|
+
logger.debug(f"dev watcher stop failed: {e!r}")
|
|
258
265
|
self._observer = None
|
|
259
266
|
|
|
260
267
|
|
|
@@ -617,6 +617,7 @@ TRANSLATIONS = {
|
|
|
617
617
|
"cli.doctor.fix_pollution_confirm": "Remove these residue keys (comments and ordering are preserved)?",
|
|
618
618
|
"cli.doctor.fix_pollution_skipped": "residue cleanup skipped",
|
|
619
619
|
"cli.doctor.fix_pollution_removed": "removed {count} residue key(s) from config.toml",
|
|
620
|
+
"cli.doctor.fix_pollution_backup": "backup written before cleanup: {path}",
|
|
620
621
|
"cli.doctor.fix_pollution_failed": "residue cleanup failed: {error}",
|
|
621
622
|
"cli.doctor.fix_pollution_remove_failed": "failed to remove the following residue key(s) (the rest were written back to config.toml): {keys}",
|
|
622
623
|
"cli.doctor.component_config_ok": "All ready (nothing pending)",
|
|
@@ -617,6 +617,7 @@ TRANSLATIONS = {
|
|
|
617
617
|
"cli.doctor.fix_pollution_confirm": "これらの残留キーを削除しますか(コメントと順序は保持されます)?",
|
|
618
618
|
"cli.doctor.fix_pollution_skipped": "残留クリーンアップをスキップしました",
|
|
619
619
|
"cli.doctor.fix_pollution_removed": "config.toml から {count} 件の残留キーを削除しました",
|
|
620
|
+
"cli.doctor.fix_pollution_backup": "クリーンアップ前にバックアップを作成しました: {path}",
|
|
620
621
|
"cli.doctor.fix_pollution_failed": "残留クリーンアップ失敗: {error}",
|
|
621
622
|
"cli.doctor.fix_pollution_remove_failed": "以下の残留キーの削除に失敗しました(残りは config.toml に書き戻しました): {keys}",
|
|
622
623
|
"cli.doctor.component_config_ok": "すべて準備完了(未完了項目なし)",
|
|
@@ -617,6 +617,7 @@ TRANSLATIONS = {
|
|
|
617
617
|
"cli.doctor.fix_pollution_confirm": "удалить эти ключи (комментарии и порядок сохраняются)?",
|
|
618
618
|
"cli.doctor.fix_pollution_skipped": "очистка остатков пропущена",
|
|
619
619
|
"cli.doctor.fix_pollution_removed": "из config.toml удалено остаточных ключей: {count}",
|
|
620
|
+
"cli.doctor.fix_pollution_backup": "перед очисткой создана резервная копия: {path}",
|
|
620
621
|
"cli.doctor.fix_pollution_failed": "сбой очистки остатков: {error}",
|
|
621
622
|
"cli.doctor.fix_pollution_remove_failed": "не удалось удалить следующие остаточные ключи (остальное записано обратно в config.toml): {keys}",
|
|
622
623
|
"cli.doctor.component_config_ok": "Все готово (незавершённых нет)",
|
|
@@ -617,6 +617,7 @@ TRANSLATIONS = {
|
|
|
617
617
|
"cli.doctor.fix_pollution_confirm": "删除这些残留键(注释与顺序保真)?",
|
|
618
618
|
"cli.doctor.fix_pollution_skipped": "已跳过残留清理",
|
|
619
619
|
"cli.doctor.fix_pollution_removed": "已从 config.toml 清理 {count} 处残留键",
|
|
620
|
+
"cli.doctor.fix_pollution_backup": "清理前已备份原配置: {path}",
|
|
620
621
|
"cli.doctor.fix_pollution_failed": "残留清理失败: {error}",
|
|
621
622
|
"cli.doctor.fix_pollution_remove_failed": "以下残留键清理失败(其余已写回 config.toml): {keys}",
|
|
622
623
|
"cli.doctor.component_config_ok": "全部就绪(无待完善项)",
|
|
@@ -617,6 +617,7 @@ TRANSLATIONS = {
|
|
|
617
617
|
"cli.doctor.fix_pollution_confirm": "刪除這些殘留鍵(註釋與順序保真)?",
|
|
618
618
|
"cli.doctor.fix_pollution_skipped": "已跳過殘留清理",
|
|
619
619
|
"cli.doctor.fix_pollution_removed": "已從 config.toml 清理 {count} 處殘留鍵",
|
|
620
|
+
"cli.doctor.fix_pollution_backup": "清理前已備份原設定: {path}",
|
|
620
621
|
"cli.doctor.fix_pollution_failed": "殘留清理失敗: {error}",
|
|
621
622
|
"cli.doctor.fix_pollution_remove_failed": "以下殘留鍵清理失敗(其餘已寫回 config.toml): {keys}",
|
|
622
623
|
"cli.doctor.component_config_ok": "全部就緒(無待完善項)",
|
|
@@ -1710,11 +1710,26 @@ package_spec = {package_spec!r}
|
|
|
1710
1710
|
T = {messages!r}
|
|
1711
1711
|
|
|
1712
1712
|
def ensure_pip():
|
|
1713
|
-
|
|
1713
|
+
try:
|
|
1714
|
+
r = subprocess.run(
|
|
1715
|
+
[target_python, "-m", "pip", "--version"],
|
|
1716
|
+
capture_output=True,
|
|
1717
|
+
timeout={CLI_PIP_PROBE_TIMEOUT_SECS},
|
|
1718
|
+
)
|
|
1719
|
+
except subprocess.TimeoutExpired:
|
|
1720
|
+
return False
|
|
1714
1721
|
if r.returncode == 0:
|
|
1715
1722
|
return True
|
|
1716
1723
|
print(T["bootstrap_pip"])
|
|
1717
|
-
|
|
1724
|
+
try:
|
|
1725
|
+
r = subprocess.run(
|
|
1726
|
+
[target_python, "-m", "ensurepip", "--upgrade"],
|
|
1727
|
+
capture_output=True,
|
|
1728
|
+
text=True,
|
|
1729
|
+
timeout={CLI_ENSURE_PIP_TIMEOUT_SECS},
|
|
1730
|
+
)
|
|
1731
|
+
except subprocess.TimeoutExpired:
|
|
1732
|
+
return False
|
|
1718
1733
|
return r.returncode == 0
|
|
1719
1734
|
|
|
1720
1735
|
def run(cmd):
|
|
@@ -1882,13 +1897,20 @@ def uv_add(project_dir: Path, packages: "list[str]") -> bool:
|
|
|
1882
1897
|
uv_cmd = pm._get_uv_command()
|
|
1883
1898
|
if not uv_cmd:
|
|
1884
1899
|
return False
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
1891
|
-
|
|
1900
|
+
try:
|
|
1901
|
+
result = subprocess.run(
|
|
1902
|
+
[*uv_cmd, "add", *packages],
|
|
1903
|
+
cwd=str(project_dir),
|
|
1904
|
+
capture_output=True,
|
|
1905
|
+
text=True,
|
|
1906
|
+
check=False,
|
|
1907
|
+
timeout=CLI_UV_PROJECT_TIMEOUT_SECS,
|
|
1908
|
+
)
|
|
1909
|
+
except subprocess.TimeoutExpired:
|
|
1910
|
+
# 网络操作(依赖解析 + 下载)无超时会挂住 init 主流程,与
|
|
1911
|
+
# _run_uv_project_command 的超时标准对齐
|
|
1912
|
+
console.print(f"[error]{i18n.t('cli.package.probe_timeout')}[/]")
|
|
1913
|
+
return False
|
|
1892
1914
|
return result.returncode == 0
|
|
1893
1915
|
|
|
1894
1916
|
|
|
@@ -1850,7 +1850,10 @@ class BaseAdapter(ABC):
|
|
|
1850
1850
|
)
|
|
1851
1851
|
)
|
|
1852
1852
|
|
|
1853
|
-
|
|
1853
|
+
# owner=None 让 spawn_background 回退到当前 owner 上下文兜底:
|
|
1854
|
+
# 空 platform(未经管理器注册的误用场景)不再产生无人回收的空
|
|
1855
|
+
# owner 任务(与 WebhookAdapter.start 的 _platform 兜底口径一致)
|
|
1856
|
+
return spawn_background(_guarded_loop(), owner=self._platform or None)
|
|
1854
1857
|
|
|
1855
1858
|
async def emit_event(self, event: dict[str, Any]) -> None:
|
|
1856
1859
|
"""
|
{erispulse-2.11.1.dev0 → erispulse-2.11.1.dev1}/src/ErisPulse/Core/Bases/adapter_patterns.py
RENAMED
|
@@ -106,7 +106,20 @@ class PollingAdapter(BaseAdapter):
|
|
|
106
106
|
event = self.convert_one(raw)
|
|
107
107
|
if event is None:
|
|
108
108
|
continue
|
|
109
|
-
|
|
109
|
+
# 逐条隔离 emit:单条上报异常不丢弃余批(offset 已在
|
|
110
|
+
# fetch 推进的适配器会真丢事件),记 warning 继续本批
|
|
111
|
+
try:
|
|
112
|
+
await self.emit_event(event)
|
|
113
|
+
except asyncio.CancelledError:
|
|
114
|
+
raise
|
|
115
|
+
except Exception as e:
|
|
116
|
+
logger.warning(
|
|
117
|
+
i18n.t(
|
|
118
|
+
"core.adapter.polling_emit_failed",
|
|
119
|
+
platform=self._platform or self.__class__.__name__,
|
|
120
|
+
error=e,
|
|
121
|
+
)
|
|
122
|
+
)
|
|
110
123
|
backoff = POLLING_ADAPTER_BACKOFF_BASE_SECS
|
|
111
124
|
await asyncio.sleep(self._resolve_poll_interval())
|
|
112
125
|
except asyncio.CancelledError:
|
|
@@ -1056,17 +1056,31 @@ def _schema_fields(config_class: type) -> dict:
|
|
|
1056
1056
|
|
|
1057
1057
|
|
|
1058
1058
|
def _apply_ui_meta(field_schema: dict, ui_meta: dict) -> None:
|
|
1059
|
-
"""{!--< internal-use >!--} 将 UI 元数据合并进字段 schema
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1059
|
+
"""{!--< internal-use >!--} 将 UI 元数据合并进字段 schema
|
|
1060
|
+
|
|
1061
|
+
扩展键(min/max/step/rows/show_if/disabled_if/value_type/item)由 Dashboard
|
|
1062
|
+
满血组件系统消费(见 Dashboard docs/config-widgets.md);旧版面板未识别时
|
|
1063
|
+
自动忽略,不影响渲染。
|
|
1064
|
+
"""
|
|
1065
|
+
_UI_META_PASSTHROUGH_KEYS = (
|
|
1066
|
+
"widget",
|
|
1067
|
+
"group",
|
|
1068
|
+
"order",
|
|
1069
|
+
"options",
|
|
1070
|
+
"placeholder",
|
|
1071
|
+
# 满血组件系统扩展键
|
|
1072
|
+
"min",
|
|
1073
|
+
"max",
|
|
1074
|
+
"step",
|
|
1075
|
+
"rows",
|
|
1076
|
+
"show_if",
|
|
1077
|
+
"disabled_if",
|
|
1078
|
+
"value_type",
|
|
1079
|
+
"item",
|
|
1080
|
+
)
|
|
1081
|
+
for key in _UI_META_PASSTHROUGH_KEYS:
|
|
1082
|
+
if key in ui_meta:
|
|
1083
|
+
field_schema[key] = ui_meta[key]
|
|
1070
1084
|
|
|
1071
1085
|
|
|
1072
1086
|
def get_config_schema(config_class: type) -> dict:
|
|
@@ -287,7 +287,10 @@ class GovernanceGate:
|
|
|
287
287
|
]:
|
|
288
288
|
self._rate_limit_replied.discard(key)
|
|
289
289
|
# 命令已卸载:其名下锁键走两轮复核删除(在途锁本轮只落候选,
|
|
290
|
-
#
|
|
290
|
+
# 下轮清扫复核仍未锁定才删)。作废与暂缓的两种情形:命令重载重建
|
|
291
|
+
# 的锁不在下轮待删范围、候选自动落选;仍在当前周期内的键同样不在
|
|
292
|
+
# 下轮(按周期后缀推导的)待删范围,候选作废后待周期翻转重新收集
|
|
293
|
+
# ——删除有界推迟(≤ 一个周期 + 一轮清扫),不泄漏
|
|
291
294
|
self._sweep_usage_locks(
|
|
292
295
|
[key for key in self._usage_locks if key.startswith(prefix)]
|
|
293
296
|
)
|
|
@@ -41,8 +41,10 @@ from .constants import (
|
|
|
41
41
|
DEFAULT_OFFLINE_BOT_EXPIRY_SECS,
|
|
42
42
|
EVENT_ADAPTER_EVENT_BLOCKED,
|
|
43
43
|
HANDLER_QUEUE_MAX_PENDING,
|
|
44
|
+
HANDLER_QUEUE_OVERFLOW_WARN_INTERVAL_SECS,
|
|
44
45
|
HANDLER_SLOW_THRESHOLD_SECS,
|
|
45
46
|
LOG_MESSAGE_TRUNCATE_CHARS,
|
|
47
|
+
UNLOAD_LOCK_WAIT_TIMEOUT_SECS,
|
|
46
48
|
)
|
|
47
49
|
from .di import _di_cache
|
|
48
50
|
from .i18n import i18n
|
|
@@ -128,9 +130,13 @@ class AdapterManager(ManagerBase):
|
|
|
128
130
|
self._handler_max_concurrency: int = 0 # 0 = 尚未初始化
|
|
129
131
|
|
|
130
132
|
# 事件洪峰入队背压:待处理 handler Task 数上限(None = 尚未从配置读取;
|
|
131
|
-
# 0 = 不限)与溢出丢弃计数(排障观测,经 troubleshoot /
|
|
133
|
+
# 0 = 不限)与溢出丢弃计数(排障观测,经 troubleshoot / 日志定位);
|
|
134
|
+
# 告警按 HANDLER_QUEUE_OVERFLOW_WARN_INTERVAL_SECS 窗口折叠——洪峰
|
|
135
|
+
# 饱和期每秒可丢弃成百上千次,逐次告警恰在过载时加重日志 I/O
|
|
132
136
|
self._handler_queue_max_pending: int | None = None
|
|
133
137
|
self._handler_queue_overflow_count: int = 0
|
|
138
|
+
self._handler_queue_overflow_warn_at: float = 0.0
|
|
139
|
+
self._handler_queue_overflow_suppressed: int = 0
|
|
134
140
|
|
|
135
141
|
# Bot状态存储 - {platform: {bot_id: {"status": str, "last_active": float, "info": dict}}}
|
|
136
142
|
self._bots: dict[str, dict[str, dict]] = {}
|
|
@@ -1261,12 +1267,35 @@ class AdapterManager(ManagerBase):
|
|
|
1261
1267
|
额外从管理器注销该平台(释放适配器实例与类引用),用于动态移除适配器
|
|
1262
1268
|
并回收其内存占用。若同一实例还注册了其它平台,实例会保留(仅注销该平台)。
|
|
1263
1269
|
|
|
1270
|
+
卸载与热重载共用全局互斥:与进行中的 ``reload_adapter`` / restart
|
|
1271
|
+
串行(消除外部卸载与适配器重载交叉导致的双重 shutdown);等待上限
|
|
1272
|
+
``UNLOAD_LOCK_WAIT_TIMEOUT_SECS`` 秒,超时降级直接执行并留痕。
|
|
1273
|
+
|
|
1264
1274
|
:param platform: 平台名称
|
|
1265
1275
|
:return: 是否卸载成功
|
|
1266
1276
|
|
|
1267
1277
|
:example:
|
|
1268
1278
|
>>> await adapter.unload("MyPlatform")
|
|
1269
1279
|
"""
|
|
1280
|
+
# 纳入热重载互斥(重载管线内部同任务调用经重入直通零开销);
|
|
1281
|
+
# 不可跳过的入口——限时等待,超时降级直接执行
|
|
1282
|
+
from ..runtime.reload_ops import run_reload_exclusive_bounded
|
|
1283
|
+
|
|
1284
|
+
return await run_reload_exclusive_bounded(
|
|
1285
|
+
lambda: self._unload_locked(platform),
|
|
1286
|
+
timeout=UNLOAD_LOCK_WAIT_TIMEOUT_SECS,
|
|
1287
|
+
warn_log_key="core.adapter.unload_lock_timeout",
|
|
1288
|
+
log_params={"name": platform, "timeout": UNLOAD_LOCK_WAIT_TIMEOUT_SECS},
|
|
1289
|
+
)
|
|
1290
|
+
|
|
1291
|
+
async def _unload_locked(self, platform: str) -> bool:
|
|
1292
|
+
"""
|
|
1293
|
+
{!--< internal-use >!--}
|
|
1294
|
+
unload 的实现体(调用方已持有热重载互斥锁,或已限时降级)
|
|
1295
|
+
|
|
1296
|
+
:param platform: 平台名称
|
|
1297
|
+
:return: 是否卸载成功
|
|
1298
|
+
"""
|
|
1270
1299
|
if platform not in self._adapters:
|
|
1271
1300
|
logger.warning(i18n.t("core.adapter.not_registered", platform=platform))
|
|
1272
1301
|
return False
|
|
@@ -2207,6 +2236,38 @@ class AdapterManager(ManagerBase):
|
|
|
2207
2236
|
self._handler_queue_max_pending = max(0, limit)
|
|
2208
2237
|
return self._handler_queue_max_pending
|
|
2209
2238
|
|
|
2239
|
+
def _record_handler_queue_drop(
|
|
2240
|
+
self, handler: str, event_type: str, platform: str, size: int
|
|
2241
|
+
) -> None:
|
|
2242
|
+
"""
|
|
2243
|
+
{!--< internal-use >!--}
|
|
2244
|
+
背压丢弃留痕(窗口折叠):窗口内仅首条丢弃记 WARNING,后续折叠
|
|
2245
|
+
只累计计数;下个窗口的首条丢弃附带上一窗口折叠条数。丢弃总数
|
|
2246
|
+
始终累计到 ``_handler_queue_overflow_count``(troubleshoot 可见)。
|
|
2247
|
+
|
|
2248
|
+
:param handler: 被丢弃的处理器名(日志定位用)
|
|
2249
|
+
:param event_type: 事件类型
|
|
2250
|
+
:param platform: 平台名
|
|
2251
|
+
:param size: 触发丢弃时的待处理集合大小
|
|
2252
|
+
"""
|
|
2253
|
+
self._handler_queue_overflow_count += 1
|
|
2254
|
+
now = time.monotonic()
|
|
2255
|
+
if now - self._handler_queue_overflow_warn_at >= HANDLER_QUEUE_OVERFLOW_WARN_INTERVAL_SECS:
|
|
2256
|
+
logger.warning(
|
|
2257
|
+
i18n.t(
|
|
2258
|
+
"core.adapter.handler_queue_overflow",
|
|
2259
|
+
handler=handler,
|
|
2260
|
+
type=event_type,
|
|
2261
|
+
platform=platform,
|
|
2262
|
+
size=size,
|
|
2263
|
+
suppressed=self._handler_queue_overflow_suppressed,
|
|
2264
|
+
)
|
|
2265
|
+
)
|
|
2266
|
+
self._handler_queue_overflow_warn_at = now
|
|
2267
|
+
self._handler_queue_overflow_suppressed = 0
|
|
2268
|
+
else:
|
|
2269
|
+
self._handler_queue_overflow_suppressed += 1
|
|
2270
|
+
|
|
2210
2271
|
def _on_framework_config_changed(self, _data: dict) -> None:
|
|
2211
2272
|
"""
|
|
2212
2273
|
{!--< internal-use >!--}
|
|
@@ -2390,16 +2451,7 @@ class AdapterManager(ManagerBase):
|
|
|
2390
2451
|
# 本次调度并留痕(常驻进程的内存兜底,正常负载永远不会触达)
|
|
2391
2452
|
queue_limit = self._get_handler_queue_limit()
|
|
2392
2453
|
if queue_limit > 0 and len(self._pending_handler_tasks) >= queue_limit:
|
|
2393
|
-
self.
|
|
2394
|
-
logger.warning(
|
|
2395
|
-
i18n.t(
|
|
2396
|
-
"core.adapter.handler_queue_overflow",
|
|
2397
|
-
handler=_func_name,
|
|
2398
|
-
type=event_type,
|
|
2399
|
-
platform=platform,
|
|
2400
|
-
size=len(self._pending_handler_tasks),
|
|
2401
|
-
)
|
|
2402
|
-
)
|
|
2454
|
+
self._record_handler_queue_drop(_func_name, event_type, platform, len(self._pending_handler_tasks))
|
|
2403
2455
|
return None
|
|
2404
2456
|
|
|
2405
2457
|
try:
|
|
@@ -692,6 +692,28 @@ TRANSCRIPT_BUFFER_MAX_ROWS: Final[int] = 4096
|
|
|
692
692
|
# 调大 → 退出兜底更执着但极端场景退出延迟变长。
|
|
693
693
|
TRANSCRIPT_EXIT_FLUSH_TIMEOUT_SECS: Final[float] = 5.0
|
|
694
694
|
|
|
695
|
+
# 出站消息(message.sent)归档 meta 的字段白名单:仅这些 send_ctx 键入库,
|
|
696
|
+
# 未来 send_ctx 新增字段不会无感写入收件箱(保持表结构与归因语义稳定)。
|
|
697
|
+
# 使用位置: Core/transcript.py -> _on_message_sent()
|
|
698
|
+
# 修改影响: 增删键直接决定出站记录的 meta 内容;module 键标识发送归属模块。
|
|
699
|
+
TRANSCRIPT_OUTBOUND_META_KEYS: Final[tuple[str, ...]] = (
|
|
700
|
+
"platform",
|
|
701
|
+
"method",
|
|
702
|
+
"detail_type",
|
|
703
|
+
"target_id",
|
|
704
|
+
"bot_id",
|
|
705
|
+
"trace_id",
|
|
706
|
+
"preview",
|
|
707
|
+
"module",
|
|
708
|
+
)
|
|
709
|
+
|
|
710
|
+
# 公共卸载入口(module/adapter 的 unload())限时等待热重载互斥锁的上限(秒)。
|
|
711
|
+
# 使用位置: Core/module.py -> ModuleManager.unload();Core/adapter.py ->
|
|
712
|
+
# AdapterManager.unload()(经 runtime/reload_ops.run_reload_exclusive_bounded)。
|
|
713
|
+
# 修改影响: 调大 → 外部卸载更倾向与进行中的重载完全串行,但重载长时间卡死时
|
|
714
|
+
# 调用方等待更久;调小 → 极端场景更早降级为直接执行(回到无锁行为)。
|
|
715
|
+
UNLOAD_LOCK_WAIT_TIMEOUT_SECS: Final[float] = 30.0
|
|
716
|
+
|
|
695
717
|
|
|
696
718
|
# 模块间调用(module.call)的默认超时(秒)。
|
|
697
719
|
# 使用位置: Core/module.py -> ModuleManager.call()
|
|
@@ -1523,6 +1545,8 @@ __all__ = [
|
|
|
1523
1545
|
"TRANSCRIPT_FLUSH_INTERVAL_SECS",
|
|
1524
1546
|
"TRANSCRIPT_BUFFER_MAX_ROWS",
|
|
1525
1547
|
"TRANSCRIPT_EXIT_FLUSH_TIMEOUT_SECS",
|
|
1548
|
+
"TRANSCRIPT_OUTBOUND_META_KEYS",
|
|
1549
|
+
"UNLOAD_LOCK_WAIT_TIMEOUT_SECS",
|
|
1526
1550
|
"DEFAULT_MODULE_CALL_TIMEOUT_SECS",
|
|
1527
1551
|
"DEFAULT_EVENT_DEDUPE_CAPACITY",
|
|
1528
1552
|
"DEFAULT_MAX_SESSION_REMINDERS",
|
|
@@ -80,6 +80,7 @@ TRANSLATIONS = {
|
|
|
80
80
|
"core.sdk.reload.starting": "[Reload] Starting SDK reload...",
|
|
81
81
|
"core.sdk.reload.complete": "[Reload] Reload complete",
|
|
82
82
|
"core.sdk.reload.merged": "restart requested while another restart is running; merged into it (one extra pass will run)",
|
|
83
|
+
"core.sdk.reload.precheck_rejected": "module-wide syntax precheck failed — this restart round is rejected: modules keep serving on the old instances and the adapter layer is skipped; fix the syntax errors and restart again",
|
|
83
84
|
"core.sdk.reload.adapter_rediscover_failed": "adapter re-discovery failed during restart: {error}",
|
|
84
85
|
"core.sdk.reload.adapter_started": "newly installed adapter picked up and started by restart: {name}",
|
|
85
86
|
"core.sdk.reload.failed": "[Reload] Restart failed: {error}",
|
|
@@ -175,6 +176,7 @@ TRANSLATIONS = {
|
|
|
175
176
|
"core.adapter.must_implement_convert_one": "Polling adapter must implement the convert_one method",
|
|
176
177
|
"core.adapter.must_implement_convert": "Webhook adapter must implement the convert method",
|
|
177
178
|
"core.adapter.polling_fetch_failed": "Polling adapter {platform} failed to fetch events: {error}, retrying in {backoff}s (exponential backoff)",
|
|
179
|
+
"core.adapter.polling_emit_failed": "adapter {platform} failed to emit one event (skipped that one, batch continues): {error}",
|
|
178
180
|
"core.adapter.webhook_route_registered": "Webhook adapter {platform} receive route registered: POST {path}",
|
|
179
181
|
"core.adapter.webhook_verify_rejected": "Webhook adapter {platform} rejected an unverified callback request with 403",
|
|
180
182
|
"core.adapter.webhook_bad_payload": "Webhook adapter {platform} received an unparsable payload: {error}, rejected with 400",
|
|
@@ -199,7 +201,7 @@ TRANSLATIONS = {
|
|
|
199
201
|
"core.adapter.bot_online": "Bot {platform}/{bot_id} online",
|
|
200
202
|
"core.adapter.handler_error": "Event handler execution error [{handler}] type={type} platform={platform}: {error}",
|
|
201
203
|
"core.adapter.handler_slow": "Event handler execution slow [{handler}] elapsed {elapsed}s > {threshold}s type={type} platform={platform}{tag}",
|
|
202
|
-
"core.adapter.handler_queue_overflow": "handler task queue overflow ({size} >= limit): dropped handler {handler} for type={type} platform={platform} — slow consumers under event burst; consider raising ErisPulse.framework.handler_queue_max_pending",
|
|
204
|
+
"core.adapter.handler_queue_overflow": "handler task queue overflow ({size} >= limit): dropped handler {handler} for type={type} platform={platform} — slow consumers under event burst; consider raising ErisPulse.framework.handler_queue_max_pending ({suppressed} more drops folded in this window)",
|
|
203
205
|
"core.adapter.client_loop_crashed": "adapter {platform} client loop '{name}' crashed: {error} (framework backoff retry applies if start() is resident)",
|
|
204
206
|
"core.adapter.handler_slow_trace": "Event handler [{handler}] took {elapsed}s (wait_reply={wait}s, pure={pure}s) interactive-wait, suppressed slow-warning type={type} platform={platform}{tag}",
|
|
205
207
|
"core.adapter.handler_slow_bridge": "Event dispatch bridge took {elapsed}s > {threshold}s (per-handler slowness is reported separately by EventHandler) type={type} platform={platform}{tag}",
|
|
@@ -207,6 +209,7 @@ TRANSLATIONS = {
|
|
|
207
209
|
"core.adapter.lifecycle_hooks_cleaned": "Adapter {platform} cleaned {count} lifecycle hook(s)",
|
|
208
210
|
"core.adapter.tasks_cancelled": "Adapter {platform} force-cancelled {count} unfinished background task(s) on shutdown",
|
|
209
211
|
"core.adapter.unloaded": "Adapter {platform} unloaded and unregistered",
|
|
212
|
+
"core.adapter.unload_lock_timeout": "unload adapter {name} timed out ({timeout}s) waiting for the hot-reload mutex, degrading to direct execution — may interleave with an in-flight reload",
|
|
210
213
|
"core.adapter.tasks_cancel_failed": "Failed to cancel background tasks of adapter {platform}: {error}",
|
|
211
214
|
"core.adapter.connections_closed": "Adapter {platform} force-closed {count} owned connection(s) on stop",
|
|
212
215
|
"core.adapter.connections_close_failed": "Connection cleanup failed: {platform}: {error}",
|
|
@@ -273,6 +276,7 @@ TRANSLATIONS = {
|
|
|
273
276
|
"core.module.lifecycle_hooks_cleaned": "Module {name} cleaned {count} lifecycle hook(s)",
|
|
274
277
|
"core.module.unload_success": "Module {name} unloaded successfully",
|
|
275
278
|
"core.module.unload_cascade": "Unloading {name} will cascade-unload its dependents: {deps}",
|
|
279
|
+
"core.module.unload_lock_timeout": "unload {name} timed out ({timeout}s) waiting for the hot-reload mutex, degrading to direct execution — may interleave with an in-flight reload (double on_unload risk)",
|
|
276
280
|
"core.module.unload_tasks_cancelled": "Module {name} force-cancelled {count} unfinished background task(s) on unload",
|
|
277
281
|
"core.module.unload_connections_closed": "Module {name} force-closed {count} owned connection(s) on unload",
|
|
278
282
|
"core.module.purged": "Module {name} registration stub removed (purged)",
|
|
@@ -475,6 +479,8 @@ TRANSLATIONS = {
|
|
|
475
479
|
"loader.adapter.reload_ok": "Adapter {name} hot reloaded successfully",
|
|
476
480
|
"loader.adapter.hot_loaded": "new adapter plugin hot-loaded and started: {name}",
|
|
477
481
|
"loader.adapter.reload_rolled_back": "Reload of adapter {name} failed — rolled back to the previous registration; note that disconnects / bot offline and other unload side effects cannot be undone, the previous instance is in a settled state",
|
|
482
|
+
"loader.adapter.reload_plugin_rediscover_failed": "Adapter plugin {name} source file still exists but rediscovery failed (import-time error); treating this reload as failed and rolling back to the previous registration",
|
|
483
|
+
"loader.adapter.reload_restore_failed": "Rollback step '{step}' for adapter {name} failed (system may be inconsistent): {error}",
|
|
478
484
|
"loader.adapter.reload_register_failed": "Failed to re-register adapter {name}: {error}",
|
|
479
485
|
"loader.adapter.reload_load_failed": "Adapter {name} load failed: {error}",
|
|
480
486
|
"loader.adapter.reload_start_failed": "Exception while restarting adapter {name} (code updated; the async retry loop takes over): {error}",
|
|
@@ -503,14 +509,19 @@ TRANSLATIONS = {
|
|
|
503
509
|
"loader.plugin.sdk_version_invalid": "Plugin {name} declares an unparseable min_sdk_version '{value}'; version check ignored",
|
|
504
510
|
"loader.base.sdk_version_meta_failed": "Failed to read get_meta() metadata of {name} ({error}); min_sdk_version check treated as undeclared",
|
|
505
511
|
"loader.plugin.discovery_failed": "Plugin folder discovery failed: {error}",
|
|
512
|
+
"loader.precheck.skipped_max_files": "precheck file limit reached, skipping remaining checks after {count} files for '{label}'",
|
|
513
|
+
"loader.precheck.unavailable": "precheck unavailable for '{label}' (snapshot rollback is the safety net): {error}",
|
|
506
514
|
"loader.plugin.diag_hint": " → Hint: check the plugin file's imports and class definition (must inherit BaseModule)",
|
|
507
515
|
"loader.plugin.file_unloadable": "Cannot load plugin file: {path}",
|
|
508
516
|
"loader.module.reload_unknown": "Hot reload of module {name} failed: module not in loaded results",
|
|
509
517
|
"loader.module.reload_unload_failed": "Failed to unload module {name}: {error}",
|
|
510
518
|
"loader.module.reload_removed": "Module {name} no longer exists, removed from loaded results",
|
|
519
|
+
"loader.module.reload_plugin_rediscover_failed": "Plugin {name} source file still exists but rediscovery failed (import-time error); treating this reload as failed and rolling back to the previous instance",
|
|
511
520
|
"loader.module.reload_ok": "Module {name} hot reloaded successfully",
|
|
512
521
|
"loader.module.hot_loaded": "new plugin hot-loaded: {name}",
|
|
513
522
|
"loader.module.reload_rolled_back": "Reload of module {name} failed — rolled back to the previous instance (service continues); note that on_unload side effects (disconnects / task cancellations) cannot be undone, the previous instance is in a finalized state",
|
|
523
|
+
"loader.module.reload_unexpected_failed": "Unexpected exception while reloading module {name}: {error}",
|
|
524
|
+
"loader.module.reload_restore_failed": "Rollback step '{step}' for module {name} failed (system may be inconsistent): {error}",
|
|
514
525
|
"loader.module.reload_cascade": "Hot reloading {name} will cascade-reload its dependents: {deps}",
|
|
515
526
|
"loader.module.reload_register_failed": "Failed to re-register module {name}: {error}",
|
|
516
527
|
"loader.module.reload_load_failed": "Module {name} load failed: {error}; see module.last_error('{name}') for the failure details",
|
|
@@ -823,6 +834,7 @@ TRANSLATIONS = {
|
|
|
823
834
|
"core.session.unregister_custom_failed": "Failed to unregister custom session type: {error}",
|
|
824
835
|
"core.storage.item_not_exist_attr": "Storage item {key} does not exist",
|
|
825
836
|
"core.transcript.append_failed": "[Transcript] failed to record message: {error}",
|
|
837
|
+
"core.transcript.flush_loop_error": "[Transcript] flush loop error (will retry next round): {error}",
|
|
826
838
|
"core.transcript.retention_disabled": "Transcript retention policy disabled: {kind}=0 — the transcript table will grow unbounded with message volume (disk/downstream memory risk); make sure this is intended",
|
|
827
839
|
"core.transcript.attach_failed": "[Transcript] failed to attach message.sent hook: {error}",
|
|
828
840
|
"core.transcript.clear_failed": "[Transcript] failed to clear inbox: {error}",
|
|
@@ -849,6 +861,8 @@ TRANSLATIONS = {
|
|
|
849
861
|
"runtime.plugin.watcher_no_loop": "no running event loop at watcher start; plugin hot reload activates once the main loop is ready",
|
|
850
862
|
"runtime.plugin.reload_skipped_no_loop": "plugin hot reload skipped: event loop not available",
|
|
851
863
|
"runtime.plugin.reload_failed": "plugin {name} hot reload failed: {error}",
|
|
864
|
+
"runtime.watcher.callback_failed": "file watcher callback {method} failed: {error}",
|
|
865
|
+
"runtime.watcher.stop_failed": "file watcher stop failed: {error}",
|
|
852
866
|
"core.master.provider_not_unregisterable": "provider {provider} cannot carry unregister(); use a module-level function",
|
|
853
867
|
"runtime.tasks.temp_loop_fallback": "Background task running on a temporary event loop (main loop unavailable, owner={owner}); coroutines bound to main-loop resources may raise 'attached to a different loop'",
|
|
854
868
|
"runtime.tasks.spawn_later_failed": "spawn_later deferred task failed to fire (owner unchanged, handle discarded): {error}",
|
|
@@ -80,6 +80,7 @@ TRANSLATIONS = {
|
|
|
80
80
|
"core.sdk.reload.starting": "[Reload] SDK の再読み込みを開始しています...",
|
|
81
81
|
"core.sdk.reload.complete": "[Reload] 再読み込みが完了しました",
|
|
82
82
|
"core.sdk.reload.merged": "リロード実行中に新しい restart 要求を受け付けたため統合しました(完了後にもう一周実行)",
|
|
83
|
+
"core.sdk.reload.precheck_rejected": "モジュール全体の構文事前チェックに失敗したため、今回の restart は全体として拒否されました。モジュールは旧インスタンスでサービスを継続し、アダプター層もスキップ済み。構文エラー修正後に再度 restart してください",
|
|
83
84
|
"core.sdk.reload.adapter_rediscover_failed": "restart 中のアダプター再検出に失敗: {error}",
|
|
84
85
|
"core.sdk.reload.adapter_started": "restart が実行中に新規インストールされたアダプターを起動しました: {name}",
|
|
85
86
|
"core.sdk.reload.failed": "[Reload] 再起動に失敗しました: {error}",
|
|
@@ -175,6 +176,7 @@ TRANSLATIONS = {
|
|
|
175
176
|
"core.adapter.must_implement_convert_one": "ポーリングアダプターは convert_one メソッドを実装する必要があります",
|
|
176
177
|
"core.adapter.must_implement_convert": "Webhook アダプターは convert メソッドを実装する必要があります",
|
|
177
178
|
"core.adapter.polling_fetch_failed": "ポーリングアダプター {platform} のイベント取得失敗:{error}、{backoff} 秒後に再試行(指数バックオフ)",
|
|
179
|
+
"core.adapter.polling_emit_failed": "アダプター {platform} のイベント 1 件の送出に失敗(該当件をスキップしてバッチ継続): {error}",
|
|
178
180
|
"core.adapter.webhook_route_registered": "Webhook アダプター {platform} の受信ルートを登録しました:POST {path}",
|
|
179
181
|
"core.adapter.webhook_verify_rejected": "Webhook アダプター {platform} が検証失敗のコールバックを 403 で拒否しました",
|
|
180
182
|
"core.adapter.webhook_bad_payload": "Webhook アダプター {platform} が解析不能なペイロードを受信:{error}、400 で拒否しました",
|
|
@@ -199,7 +201,7 @@ TRANSLATIONS = {
|
|
|
199
201
|
"core.adapter.bot_online": "Bot {platform}/{bot_id} がオンラインになりました",
|
|
200
202
|
"core.adapter.handler_error": "イベントハンドラーの実行エラー [{handler}] type={type} platform={platform}: {error}",
|
|
201
203
|
"core.adapter.handler_slow": "イベントハンドラーの実行が遅いです [{handler}] 経過時間 {elapsed}s > {threshold}s type={type} platform={platform}{tag}",
|
|
202
|
-
"core.adapter.handler_queue_overflow": "ハンドラータスクキュー溢れ({size} >= 上限):ハンドラー {handler} を破棄しました(type={type} platform={platform})——イベント急増時の遅い消費者への抑止。ErisPulse.framework.handler_queue_max_pending
|
|
204
|
+
"core.adapter.handler_queue_overflow": "ハンドラータスクキュー溢れ({size} >= 上限):ハンドラー {handler} を破棄しました(type={type} platform={platform})——イベント急増時の遅い消費者への抑止。ErisPulse.framework.handler_queue_max_pending の引き上げを検討してください(このウィンドウでさらに {suppressed} 件のドロップを統合)",
|
|
203
205
|
"core.adapter.client_loop_crashed": "アダプター {platform} の接続ループ '{name}' が異常終了: {error}(start() が常駐型の場合はフレームワークのバックオフ再試行に委譲)",
|
|
204
206
|
"core.adapter.handler_slow_trace": "イベントハンドラー [{handler}] 経過時間 {elapsed}s (wait_reply={wait}s, pure={pure}s) 対話待機、低速警告を抑制しました type={type} platform={platform}{tag}",
|
|
205
207
|
"core.adapter.handler_slow_bridge": "イベントディスパッチブリッジの合計所要時間 {elapsed}s > {threshold}s(個々のハンドラーの遅延は EventHandler が個別に警告済み)type={type} platform={platform}{tag}",
|
|
@@ -207,6 +209,7 @@ TRANSLATIONS = {
|
|
|
207
209
|
"core.adapter.lifecycle_hooks_cleaned": "アダプター {platform} が {count} 個のライフサイクルフックをクリーンアップしました",
|
|
208
210
|
"core.adapter.tasks_cancelled": "アダプター {platform} の停止時に未完了のバックグラウンドタスク {count} 個を強制キャンセルしました",
|
|
209
211
|
"core.adapter.unloaded": "アダプター {platform} をアンロードして登録解除しました",
|
|
212
|
+
"core.adapter.unload_lock_timeout": "アダプター {name} のアンロードがホットリロードミューテックスの待機でタイムアウトしました({timeout} 秒)。直接実行に劣化——進行中のリロードと交錯する可能性",
|
|
210
213
|
"core.adapter.tasks_cancel_failed": "アダプター {platform} のバックグラウンドタスクのキャンセルに失敗しました: {error}",
|
|
211
214
|
"core.adapter.connections_closed": "アダプタ {platform} の停止時に所有接続 {count} 件を強制切断しました",
|
|
212
215
|
"core.adapter.connections_close_failed": "接続クリーンアップ失敗: {platform}: {error}",
|
|
@@ -273,6 +276,7 @@ TRANSLATIONS = {
|
|
|
273
276
|
"core.module.lifecycle_hooks_cleaned": "モジュール {name} が {count} 個のライフサイクルフックをクリーンアップしました",
|
|
274
277
|
"core.module.unload_success": "モジュール {name} のアンロードに成功しました",
|
|
275
278
|
"core.module.unload_cascade": "{name} のアンロードに伴い、依存するモジュールを cascade アンロードします: {deps}",
|
|
279
|
+
"core.module.unload_lock_timeout": "{name} のアンロードがホットリロードミューテックスの待機でタイムアウトしました({timeout} 秒)。直接実行に劣化——進行中のリロードと交錯する可能性(二重 on_unload のリスク)",
|
|
276
280
|
"core.module.unload_tasks_cancelled": "モジュール {name} のアンロード時に未完了のバックグラウンドタスク {count} 個を強制キャンセルしました",
|
|
277
281
|
"core.module.unload_connections_closed": "モジュール {name} のアンロード時に所有接続 {count} 件を強制切断しました",
|
|
278
282
|
"core.module.purged": "モジュール {name} の登録スタブを削除しました(完全アンロード)",
|
|
@@ -475,6 +479,8 @@ TRANSLATIONS = {
|
|
|
475
479
|
"loader.adapter.reload_ok": "アダプター {name} のホットリロードに成功しました",
|
|
476
480
|
"loader.adapter.hot_loaded": "新規アダプタープラグインをホットロードして起動しました: {name}",
|
|
477
481
|
"loader.adapter.reload_rolled_back": "アダプター {name} のリロードに失敗——旧登録状態へロールバックしました。切断 / bot オフラインなどアンロードの副作用は取り消せず、旧インスタンスは終了処理済みの状態である点に注意してください",
|
|
482
|
+
"loader.adapter.reload_plugin_rediscover_failed": "アダプタープラグイン {name} のソースファイルは存在しますが再検出に失敗しました(インポート時エラー)。今回のリロードは失敗として旧登録へロールバックします",
|
|
483
|
+
"loader.adapter.reload_restore_failed": "アダプター {name} のロールバックステップ '{step}' が失敗しました(システムが不整合状態の可能性): {error}",
|
|
478
484
|
"loader.adapter.reload_register_failed": "アダプター {name} の再登録に失敗しました: {error}",
|
|
479
485
|
"loader.adapter.reload_load_failed": "アダプター {name} の読み込みに失敗しました: {error}",
|
|
480
486
|
"loader.adapter.reload_start_failed": "アダプター {name} の再起動で例外(コードは更新済み、非同期リトライが引き継ぎます): {error}",
|
|
@@ -503,14 +509,19 @@ TRANSLATIONS = {
|
|
|
503
509
|
"loader.plugin.sdk_version_invalid": "プラグイン {name} が宣言した min_sdk_version '{value}' を解析できないため、バージョンチェックを無視しました",
|
|
504
510
|
"loader.base.sdk_version_meta_failed": "{name} の get_meta() メタ情報の読み取りに失敗しました({error})。min_sdk_version チェックは未宣言として扱いました",
|
|
505
511
|
"loader.plugin.discovery_failed": "プラグインフォルダの検出に失敗しました: {error}",
|
|
512
|
+
"loader.precheck.skipped_max_files": "事前チェックのファイル数上限に達したため、'{label}' は {count} ファイル以降のチェックをスキップしました",
|
|
513
|
+
"loader.precheck.unavailable": "'{label}' の事前チェックが利用不可(スナップショットロールバックで担保): {error}",
|
|
506
514
|
"loader.plugin.diag_hint": " → ヒント: プラグインファイルのインポートとクラス定義を確認してください(BaseModule を継承する必要があります)",
|
|
507
515
|
"loader.plugin.file_unloadable": "プラグインファイルをロードできません: {path}",
|
|
508
516
|
"loader.module.reload_unknown": "モジュール {name} のホットリロードに失敗しました: ロード結果に見つかりません",
|
|
509
517
|
"loader.module.reload_unload_failed": "モジュール {name} のアンロードに失敗しました: {error}",
|
|
510
518
|
"loader.module.reload_removed": "モジュール {name} が存在しないため、ロード結果から除外しました",
|
|
519
|
+
"loader.module.reload_plugin_rediscover_failed": "プラグイン {name} のソースファイルは存在しますが再検出に失敗しました(インポート時エラー)。今回のリロードは失敗として旧インスタンスへロールバックします",
|
|
511
520
|
"loader.module.reload_ok": "モジュール {name} のホットリロードに成功しました",
|
|
512
521
|
"loader.module.hot_loaded": "新規プラグインをホットロードしました: {name}",
|
|
513
522
|
"loader.module.reload_rolled_back": "モジュール {name} のリロードに失敗——旧インスタンスへロールバックしサービスを継続します。on_unload の副作用(切断 / タスクキャンセル)は取り消せず、旧インスタンスは終了処理済みの状態である点に注意してください",
|
|
523
|
+
"loader.module.reload_unexpected_failed": "モジュール {name} のリロード中に予期しない例外が発生しました: {error}",
|
|
524
|
+
"loader.module.reload_restore_failed": "モジュール {name} のロールバックステップ '{step}' が失敗しました(システムが不整合状態の可能性): {error}",
|
|
514
525
|
"loader.module.reload_cascade": "{name} のホットリロードに伴い、依存するモジュールを cascade リロードします: {deps}",
|
|
515
526
|
"loader.module.reload_register_failed": "モジュール {name} の再登録に失敗しました: {error}",
|
|
516
527
|
"loader.module.reload_load_failed": "モジュール {name} の読み込みに失敗しました: {error}(module.last_error('{name}') で失敗の詳細を確認できます)",
|
|
@@ -823,6 +834,7 @@ TRANSLATIONS = {
|
|
|
823
834
|
"core.session.unregister_custom_failed": "カスタムセッションタイプの登録解除に失敗しました: {error}",
|
|
824
835
|
"core.storage.item_not_exist_attr": "ストレージ項目 {key} は存在しません",
|
|
825
836
|
"core.transcript.append_failed": "[Transcript] メッセージの記録に失敗: {error}",
|
|
837
|
+
"core.transcript.flush_loop_error": "[Transcript] フラッシュループでエラー発生(次ラウンドで再試行): {error}",
|
|
826
838
|
"core.transcript.retention_disabled": "トランスクリプト保持ポリシーが無効化されました: {kind}=0 —— transcript テーブルはメッセージ量に応じて無限に増大します(ディスク/下流メモリのリスク)。意図した操作か確認してください",
|
|
827
839
|
"core.transcript.attach_failed": "[Transcript] message.sent フックの接続に失敗: {error}",
|
|
828
840
|
"core.transcript.clear_failed": "[Transcript] 受信箱のクリアに失敗: {error}",
|
|
@@ -849,6 +861,8 @@ TRANSLATIONS = {
|
|
|
849
861
|
"runtime.plugin.watcher_no_loop": "起動時に実行中のイベントループがないため、メインループ準備後にホットリロードが有効になります",
|
|
850
862
|
"runtime.plugin.reload_skipped_no_loop": "プラグインのホットリロードをスキップ:イベントループが利用できません",
|
|
851
863
|
"runtime.plugin.reload_failed": "プラグイン {name} のホットリロード失敗: {error}",
|
|
864
|
+
"runtime.watcher.callback_failed": "ファイル監視コールバック {method} でエラー: {error}",
|
|
865
|
+
"runtime.watcher.stop_failed": "ファイル監視の停止に失敗: {error}",
|
|
852
866
|
"core.master.provider_not_unregisterable": "provider {provider} は unregister() に対応していません。モジュールレベル関数を使用してください",
|
|
853
867
|
"runtime.tasks.temp_loop_fallback": "バックグラウンドタスクが一時イベントループで実行中です(メインループ利用不可、owner={owner})。メインループのリソースに紐づくコルーチンは 'attached to a different loop' になる可能性があります",
|
|
854
868
|
"runtime.tasks.spawn_later_failed": "spawn_later の遅延タスク起動に失敗しました(owner は不変、ハンドルは破棄済み): {error}",
|