langbot-plugin 0.7.27__tar.gz → 0.7.28__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.
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/PKG-INFO +1 -1
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/pyproject.toml +1 -1
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/entities/builtin/command/context.py +9 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/entities/builtin/platform/message.py +3 -1
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/assets/templates/components/commands/{cmd_name}.yaml.example +2 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/box/client.py +10 -1
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/box/runtime.py +59 -7
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/box/server.py +41 -19
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/cli/run/handler.py +19 -3
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/entities/io/actions/enums.py +1 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/runtime/io/handlers/control.py +13 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/runtime/io/handlers/plugin.py +5 -2
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/runtime/plugin/container.py +2 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/runtime/plugin/mgr.py +31 -8
- langbot_plugin-0.7.28/src/langbot_plugin/version.py +1 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/api/entities/builtin/test_command_context.py +48 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/box/test_backend_selection.py +1 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/box/test_runtime.py +32 -2
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/runtime/io/handlers/test_plugin_handler.py +1 -1
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/runtime/plugin/test_manager.py +30 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/test_message.py +14 -0
- langbot_plugin-0.7.27/src/langbot_plugin/version.py +0 -1
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/.gitignore +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/.python-version +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/AGENTS.md +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/ARCHITECTURE.md +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/CLAUDE.md +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/CONTRIBUTING.md +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/LICENSE +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/README.md +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/README_CN.md +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/RELEASING.md +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/SOURCE.json +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/data/.env.example +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/docs/Message.md +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/docs/PluginPages.md +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/docs/agent-runner-interactions.md +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/docs/agent-runner-pluginization/PROTOCOL_V1.md +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/docs/agent-runner-pluginization/README.md +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/docs/agent-runner-pluginization/SDK_RUNTIME_PLAN.md +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/docs/box-instance-identity.md +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/docs/certified-plugins.md +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/docs/communication/apis/lb2rt.md +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/docs/communication/runtime_plugin.md +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/docs/dependency-management.md +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/docs/execution_api.md +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/docs/langbot-plugin-social.png +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/docs/runner.md +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/docs/stateless-components.md +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/examples/workspace_runner_plugin/README.md +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/examples/workspace_runner_plugin/components/runner/default.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/examples/workspace_runner_plugin/components/runner/default.yaml +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/examples/workspace_runner_plugin/main.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/examples/workspace_runner_plugin/manifest.yaml +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/local_e2e/acceptance.json +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/local_e2e/registration_fanin.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/local_e2e/run_acceptance.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/mypy.ini +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/scripts/check_action_consistency.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/scripts/runtime_resource_probe.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/__init__.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/__init__.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/agent_tools/__init__.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/agent_tools/asset_gateway.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/agent_tools/daemon.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/agent_tools/decorators.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/agent_tools/external_tools.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/agent_tools/mcp_access.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/agent_tools/mcp_bridge.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/agent_tools/mcp_config.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/agent_tools/mcp_protocol.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/agent_tools/mcp_stdio.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/definition/__init__.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/definition/abstract/__init__.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/definition/abstract/platform/__init__.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/definition/abstract/platform/adapter.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/definition/abstract/platform/event_logger.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/definition/components/__init__.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/definition/components/base.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/definition/components/command/__init__.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/definition/components/command/command.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/definition/components/common/__init__.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/definition/components/common/event_listener.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/definition/components/knowledge_engine/__init__.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/definition/components/knowledge_engine/engine.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/definition/components/manifest.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/definition/components/page/__init__.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/definition/components/parser/__init__.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/definition/components/parser/parser.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/definition/components/runner/__init__.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/definition/components/runner/runner.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/definition/components/tool/__init__.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/definition/components/tool/tool.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/definition/plugin.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/entities/__init__.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/entities/builtin/__init__.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/entities/builtin/command/__init__.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/entities/builtin/command/errors.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/entities/builtin/pipeline/__init__.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/entities/builtin/pipeline/query.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/entities/builtin/platform/__init__.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/entities/builtin/platform/entities.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/entities/builtin/platform/errors.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/entities/builtin/platform/events.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/entities/builtin/platform/logger.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/entities/builtin/provider/__init__.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/entities/builtin/provider/message.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/entities/builtin/provider/prompt.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/entities/builtin/provider/reasoning.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/entities/builtin/provider/session.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/entities/builtin/rag/__init__.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/entities/builtin/rag/context.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/entities/builtin/rag/enums.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/entities/builtin/rag/errors.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/entities/builtin/rag/models.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/entities/builtin/resource/__init__.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/entities/builtin/resource/tool.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/entities/builtin/runner/__init__.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/entities/builtin/runner/box.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/entities/builtin/runner/capabilities.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/entities/builtin/runner/compat.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/entities/builtin/runner/context.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/entities/builtin/runner/context_access.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/entities/builtin/runner/delivery.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/entities/builtin/runner/errors.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/entities/builtin/runner/event.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/entities/builtin/runner/input.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/entities/builtin/runner/interaction.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/entities/builtin/runner/manifest.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/entities/builtin/runner/page_results.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/entities/builtin/runner/permissions.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/entities/builtin/runner/resources.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/entities/builtin/runner/result.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/entities/builtin/runner/run_ledger.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/entities/builtin/runner/runtime.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/entities/builtin/runner/runtime_registry.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/entities/builtin/runner/state.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/entities/builtin/runner/stats.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/entities/builtin/runner/steering.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/entities/builtin/runner/transcript.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/entities/builtin/runner/trigger.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/entities/context.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/entities/events.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/entities/execution.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/entities/permissions.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/proxies/__init__.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/proxies/artifacts.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/proxies/base.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/proxies/event_context.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/proxies/execute_context.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/proxies/execution.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/proxies/invocation.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/proxies/langbot_api.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/proxies/query_based_api.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/proxies/runner/__init__.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/proxies/runner/admin.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/proxies/runner/api.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/proxies/runner/box.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/proxies/runner/common.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/proxies/runner/context.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/proxies/runner/ledger.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/proxies/runner/platform.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/proxies/runner/reply_stream.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/proxies/runner/resources.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/proxies/runner/state.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/proxies/runner/tracing.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/proxies/workspace.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/api/proxies/workspace_domains.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/artifact.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/assets/__init__.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/assets/langbot-page-sdk.js +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/assets/templates/.env.example.example +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/assets/templates/.github/workflows/release.yml.example +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/assets/templates/.gitignore.example +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/assets/templates/.vscode/launch.json.example +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/assets/templates/README.md.example +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/assets/templates/__init__.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/assets/templates/assets/icon.svg.example +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/assets/templates/components/__init__.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/assets/templates/components/commands/__init__.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/assets/templates/components/commands/{cmd_name}.py.example +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/assets/templates/components/event_listener/__init__.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/assets/templates/components/event_listener/default.py.example +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/assets/templates/components/event_listener/default.yaml.example +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/assets/templates/components/knowledge_engine/__init__.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/assets/templates/components/knowledge_engine/{knowledge_engine_name}.py.example +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/assets/templates/components/knowledge_engine/{knowledge_engine_name}.yaml.example +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/assets/templates/components/pages/{page_name}.html.example +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/assets/templates/components/pages/{page_name}.yaml.example +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/assets/templates/components/parser/__init__.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/assets/templates/components/parser/{parser_name}.py.example +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/assets/templates/components/parser/{parser_name}.yaml.example +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/assets/templates/components/runner/__init__.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/assets/templates/components/runner/{runner_name}.py.example +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/assets/templates/components/runner/{runner_name}.yaml.example +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/assets/templates/components/tools/__init__.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/assets/templates/components/tools/{tool_name}.py.example +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/assets/templates/components/tools/{tool_name}.yaml.example +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/assets/templates/main.py.example +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/assets/templates/manifest.yaml.example +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/assets/templates/readme/README_zh_Hans.md.example +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/assets/templates/requirements.txt.example +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/box/__init__.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/box/actions.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/box/artifact_cache.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/box/backend.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/box/e2b_backend.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/box/errors.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/box/file_io.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/box/host_backend.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/box/identity.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/box/models.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/box/nsjail_backend.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/box/security.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/box/tenancy.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/box/windows_export.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/box/windows_file_io.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/box/windows_job.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/certification.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/cli/__init__.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/cli/__main__.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/cli/commands/__init__.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/cli/commands/buildplugin.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/cli/commands/gencomponent.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/cli/commands/initplugin.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/cli/commands/login.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/cli/commands/logout.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/cli/commands/publish.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/cli/commands/runplugin.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/cli/gen/__init__.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/cli/gen/renderer.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/cli/i18n.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/cli/locales/__init__.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/cli/locales/en_US.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/cli/locales/es_ES.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/cli/locales/ja_JP.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/cli/locales/th_TH.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/cli/locales/vi_VN.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/cli/locales/zh_Hans.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/cli/locales/zh_Hant.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/cli/run/__init__.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/cli/run/controller.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/cli/run/hotreload.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/cli/utils/__init__.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/cli/utils/cloudsv.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/cli/utils/form.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/cli/utils/page_components.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/entities/__init__.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/entities/io/__init__.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/entities/io/actions/__init__.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/entities/io/context.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/entities/io/errors.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/entities/io/req.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/entities/io/resp.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/entities/marketplace.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/runtime/LICENSE +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/runtime/README.md +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/runtime/__init__.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/runtime/app.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/runtime/bounded_executor.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/runtime/context.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/runtime/event_loop_monitor.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/runtime/helper/__init__.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/runtime/helper/marketplace.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/runtime/helper/pkgmgr.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/runtime/io/__init__.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/runtime/io/connection.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/runtime/io/connections/__init__.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/runtime/io/connections/stdio.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/runtime/io/connections/ws.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/runtime/io/controller.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/runtime/io/controllers/__init__.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/runtime/io/controllers/stdio/__init__.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/runtime/io/controllers/stdio/client.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/runtime/io/controllers/stdio/server.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/runtime/io/controllers/ws/__init__.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/runtime/io/controllers/ws/client.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/runtime/io/controllers/ws/server.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/runtime/io/handler.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/runtime/io/handlers/__init__.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/runtime/ops_metrics.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/runtime/plugin/__init__.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/runtime/plugin/artifact.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/runtime/plugin/dependency_environment.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/runtime/plugin/logbuffer.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/runtime/plugin/restart_coordinator.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/runtime/plugin/runner_service.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/runtime/plugin/worker_launcher.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/runtime/plugin/worker_observability.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/runtime/plugin/worker_watchdog.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/runtime/security.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/runtime/settings.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/skill_store.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/storage.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/utils/__init__.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/utils/deadline.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/utils/discover/__init__.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/utils/discover/engine.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/utils/git_sync.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/utils/importutil.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/utils/log.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/utils/packaging.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/utils/page_components.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/utils/platform.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/utils/version_compat.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/workspace.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/__init__.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/api/definition/components/test_components.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/api/definition/components/test_imports.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/api/definition/test_manifest.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/api/definition/test_manifest_component_path.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/api/definition/test_version_compat.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/api/entities/builtin/runner/test_context_result.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/api/entities/builtin/runner/test_history_event_entities.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/api/entities/builtin/runner/test_interaction.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/api/entities/builtin/runner/test_run_ledger_entities.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/api/entities/builtin/test_platform_logger.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/api/entities/builtin/test_provider_message.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/api/entities/builtin/test_rag_models.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/api/entities/test_context.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/api/entities/test_events.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/api/proxies/__init__.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/api/proxies/test_agent_run_api_proxy.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/api/proxies/test_artifacts_api.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/api/proxies/test_base.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/api/proxies/test_box_api.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/api/proxies/test_history_event_api_proxy.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/api/proxies/test_input_attachment_api.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/api/proxies/test_langbot_api.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/api/proxies/test_llm_stream_ownership.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/api/proxies/test_query_based_api.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/api/proxies/test_reasoning_parameter.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/api/proxies/test_runner_tool_content_trace.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/api/test_agent_tools_mcp_bridge.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/api/test_execution_api_consistency.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/api/test_runner_handlers.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/api/test_runner_handlers_matrix.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/api/test_runner_public_apis.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/api/test_workspace_domains.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/api/test_workspace_operations.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/box/__init__.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/box/conftest.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/box/test_admission.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/box/test_artifact_cache.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/box/test_artifact_cache_root.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/box/test_backend.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/box/test_client.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/box/test_directory_archive.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/box/test_e2b_backend.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/box/test_file_chunk_negotiation.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/box/test_file_transfer.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/box/test_host_backend.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/box/test_identity.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/box/test_network_workspace.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/box/test_nsjail_backend.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/box/test_nsjail_v1_live.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/box/test_server.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/box/test_skill_store.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/box/test_storage_analysis.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/box/test_windows_host_backend.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/box/test_windows_workspace_operations.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/box/test_workspace_cleanup.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/box/test_workspace_cleanup_backend.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/cli/run/test_controller.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/cli/run/test_hotreload.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/cli/run/test_runtime_handler.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/cli/test_buildplugin.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/cli/test_cli_main.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/cli/test_examples.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/cli/test_gencomponent.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/cli/test_i18n_form.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/cli/test_initplugin.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/cli/test_login.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/cli/test_logout_publish.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/cli/test_page_components.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/cli/test_renderer.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/cli/test_runner_usages.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/cli/test_runplugin.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/data/execution_api_catalog.json +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/e2e/Dockerfile.box-socket +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/e2e/Dockerfile.box-socket.dockerignore +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/e2e/standalone_runtime_eba_probe.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/e2e/test_box_file_transfer_live.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/e2e/test_box_instance_cleanup_docker.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/e2e/test_box_socket_mounts.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/e2e/test_nsjail_large_commands.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/e2e/test_run_mount_isolation.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/entities/io/test_dependency_errors.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/entities/io/test_protocol.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/fixtures/eba_event_probe_plugin/.gitignore +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/fixtures/eba_event_probe_plugin/assets/icon.svg +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/fixtures/eba_event_probe_plugin/components/event_listener/default.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/fixtures/eba_event_probe_plugin/components/event_listener/default.yaml +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/fixtures/eba_event_probe_plugin/main.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/fixtures/eba_event_probe_plugin/manifest.yaml +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/helpers/__init__.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/helpers/protocol.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/packaging/test_installed_cli_blackbox.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/packaging/test_release_metadata.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/runtime/helper/test_marketplace.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/runtime/helper/test_pkgmgr.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/runtime/io/handlers/test_control_handler.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/runtime/io/handlers/test_import_contracts.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/runtime/io/handlers/test_legacy_file_chunk.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/runtime/io/test_action_consistency.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/runtime/io/test_audit_correlation.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/runtime/io/test_connections.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/runtime/io/test_controllers.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/runtime/io/test_handler.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/runtime/io/test_heartbeat_admission.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/runtime/io/test_payload_limits.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/runtime/io/test_stdio_encoding.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/runtime/io/test_stdio_server.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/runtime/io/test_stream_flow_control.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/runtime/plugin/test_artifact_store.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/runtime/plugin/test_container.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/runtime/plugin/test_dependency_environment.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/runtime/plugin/test_event_dispatch_real_worker.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/runtime/plugin/test_exact_dify_real_worker.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/runtime/plugin/test_exact_legacy_sdk_compat.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/runtime/plugin/test_installation_manager.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/runtime/plugin/test_legacy_shadow.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/runtime/plugin/test_mgr_runner.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/runtime/plugin/test_mode_resource_limits.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/runtime/plugin/test_plugin_logs_real_worker.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/runtime/plugin/test_restart_coordinator.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/runtime/plugin/test_shared_worker_subprocess.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/runtime/plugin/test_worker_launcher.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/runtime/plugin/test_worker_plugin_identity.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/runtime/plugin/test_workload_isolation.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/runtime/test_app.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/runtime/test_bounded_executor.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/runtime/test_event_loop_monitor.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/runtime/test_ops_metrics.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/runtime/test_pull_api_handlers.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/runtime/test_security.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/test_artifact_materialization.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/test_certification.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/test_log.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/test_plugin_logbuffer.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/test_skill_publication_resources.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/test_skill_store.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/test_skill_zip_import.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/test_storage.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/test_worker_observability.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/test_worker_watchdog.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/utils/test_cli_run_handler_packaging.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/utils/test_deadline.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/utils/test_discovery.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/utils/test_git_sync.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/utils/test_importutil.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/utils/test_packaging_utils.py +0 -0
- {langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/utils/test_platform.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: langbot-plugin
|
|
3
|
-
Version: 0.7.
|
|
3
|
+
Version: 0.7.28
|
|
4
4
|
Summary: This package contains the SDK, CLI for building plugins for LangBot, plus the runtime for hosting LangBot plugins
|
|
5
5
|
Project-URL: Homepage, https://langbot.app
|
|
6
6
|
Project-URL: Repository, https://github.com/langbot-app/LangBot/tree/master/sdk
|
|
@@ -113,6 +113,15 @@ class ExecuteContext(WorkspaceExecutionScope):
|
|
|
113
113
|
privilege: int
|
|
114
114
|
"""发起人权限"""
|
|
115
115
|
|
|
116
|
+
config: dict[str, Any] = pydantic.Field(default_factory=dict)
|
|
117
|
+
"""Command configuration from the Host.
|
|
118
|
+
|
|
119
|
+
Values follow the ``spec.config`` form schema declared in the Command
|
|
120
|
+
component manifest, filled from the bound command processor instance.
|
|
121
|
+
Empty when the command declares no configuration or the Host predates
|
|
122
|
+
command configuration support.
|
|
123
|
+
"""
|
|
124
|
+
|
|
116
125
|
@pydantic.model_validator(mode="after")
|
|
117
126
|
def align_session_execution_scope(self) -> ExecuteContext:
|
|
118
127
|
self.inherit_execution_scope(self.session)
|
|
@@ -225,7 +225,9 @@ class MessageChain(pydantic.RootModel[list[pydantic.SerializeAsAny[MessageCompon
|
|
|
225
225
|
)
|
|
226
226
|
|
|
227
227
|
# Special processing of the time field of the Source class
|
|
228
|
-
if component_type == "Source" and
|
|
228
|
+
if component_type == "Source" and isinstance(
|
|
229
|
+
item.get("time"), (int, float)
|
|
230
|
+
):
|
|
229
231
|
item["time"] = datetime.fromtimestamp(item["time"])
|
|
230
232
|
components.append(component_class.model_validate(item))
|
|
231
233
|
else:
|
|
@@ -7,6 +7,7 @@ import asyncio
|
|
|
7
7
|
import hashlib
|
|
8
8
|
import uuid
|
|
9
9
|
import logging
|
|
10
|
+
import time
|
|
10
11
|
from typing import Any
|
|
11
12
|
|
|
12
13
|
from langbot_plugin.runtime.io.handler import Handler
|
|
@@ -237,7 +238,8 @@ class ActionRPCBoxClient(BoxRuntimeClient):
|
|
|
237
238
|
if key not in {"artifact_mounts", "local_mounts"} or value
|
|
238
239
|
}
|
|
239
240
|
try:
|
|
240
|
-
|
|
241
|
+
rpc_started = time.perf_counter()
|
|
242
|
+
result = await self.handler.call_action(
|
|
241
243
|
action,
|
|
242
244
|
data,
|
|
243
245
|
timeout=timeout,
|
|
@@ -250,6 +252,13 @@ class ActionRPCBoxClient(BoxRuntimeClient):
|
|
|
250
252
|
LangBotToBoxAction.PREPARE_ARTIFACT,
|
|
251
253
|
},
|
|
252
254
|
)
|
|
255
|
+
if action == LangBotToBoxAction.EXEC:
|
|
256
|
+
self._logger.info(
|
|
257
|
+
"box_rpc_timing action=EXEC "
|
|
258
|
+
f"session_id={data.get('session_id', '')} "
|
|
259
|
+
f"rpc_ms={(time.perf_counter() - rpc_started) * 1000:.3f}"
|
|
260
|
+
)
|
|
261
|
+
return result
|
|
253
262
|
except BoxRuntimeUnavailableError:
|
|
254
263
|
raise
|
|
255
264
|
except Exception as exc:
|
|
@@ -84,6 +84,8 @@ _MANAGED_PROCESS_STDERR_LOG_CHUNKS_PER_WINDOW = 4
|
|
|
84
84
|
_MANAGED_PROCESS_STDERR_LOG_WINDOW_SEC = 1.0
|
|
85
85
|
_MANAGED_PROCESS_STDERR_LOG_EXCERPT_CHARS = 512
|
|
86
86
|
_REAPER_INTERVAL_SEC = 30
|
|
87
|
+
# shortcut: a 5-second freshness window can surface one stale exec failure, lower only with an explicit backend health protocol.
|
|
88
|
+
_SESSION_LIVENESS_RECHECK_SEC = 5.0
|
|
87
89
|
_UNSAFE_SOFT_STORAGE_LIMITS_ENV = "LANGBOT_BOX_ALLOW_UNSAFE_SOFT_STORAGE_LIMITS"
|
|
88
90
|
MAX_RUNTIME_SESSIONS = 5_000
|
|
89
91
|
MAX_RUNTIME_MANAGED_PROCESSES = 1_024
|
|
@@ -154,6 +156,7 @@ class _RuntimeSession:
|
|
|
154
156
|
# Signature of the extra bind mounts the container was created with. Used
|
|
155
157
|
# to detect when a reused session would be missing newly-requested mounts.
|
|
156
158
|
extra_mounts_key: frozenset[tuple[str, str, str, str, str]] = frozenset()
|
|
159
|
+
liveness_checked_at: float | None = None
|
|
157
160
|
closing: bool = False
|
|
158
161
|
idle_ttl_sec: int | None = None
|
|
159
162
|
owned_workspace: tuple[str, int, int] | None = None
|
|
@@ -1700,19 +1703,26 @@ done
|
|
|
1700
1703
|
artifact_digests: list[str],
|
|
1701
1704
|
artifact_owner: str | None,
|
|
1702
1705
|
) -> BoxExecutionResult:
|
|
1706
|
+
execute_started = time.perf_counter()
|
|
1703
1707
|
session = await self._get_or_create_session(
|
|
1704
1708
|
spec,
|
|
1705
1709
|
track_active_exec=True,
|
|
1706
1710
|
action_context=action_context,
|
|
1707
1711
|
)
|
|
1712
|
+
session_acquire_ms = (time.perf_counter() - execute_started) * 1000
|
|
1708
1713
|
if self.network_workspace:
|
|
1709
1714
|
spec = spec.model_copy(update={"host_path": session.info.host_path})
|
|
1710
1715
|
|
|
1711
1716
|
result: BoxExecutionResult | None = None
|
|
1712
1717
|
cleanup_task: asyncio.Task[None] | None = None
|
|
1713
1718
|
execution_cancelled = False
|
|
1719
|
+
runtime_started = time.perf_counter()
|
|
1720
|
+
lock_wait_started = runtime_started
|
|
1721
|
+
lock_wait_ms = 0.0
|
|
1722
|
+
backend_exec_ms = 0.0
|
|
1714
1723
|
try:
|
|
1715
1724
|
async with session.lock:
|
|
1725
|
+
lock_wait_ms = (time.perf_counter() - lock_wait_started) * 1000
|
|
1716
1726
|
if session.closing:
|
|
1717
1727
|
raise BoxSessionNotFoundError(
|
|
1718
1728
|
f"session {spec.session_id} is being deleted"
|
|
@@ -1736,7 +1746,9 @@ done
|
|
|
1736
1746
|
await self._enforce_network_workspace_quota(
|
|
1737
1747
|
session, spec, "before execution"
|
|
1738
1748
|
)
|
|
1749
|
+
backend_started = time.perf_counter()
|
|
1739
1750
|
result = await session.backend.exec(session.info, spec)
|
|
1751
|
+
backend_exec_ms = (time.perf_counter() - backend_started) * 1000
|
|
1740
1752
|
try:
|
|
1741
1753
|
await self._enforce_network_workspace_quota(
|
|
1742
1754
|
session, spec, "after execution"
|
|
@@ -1748,9 +1760,26 @@ done
|
|
|
1748
1760
|
execution_cancelled = True
|
|
1749
1761
|
session.closing = True
|
|
1750
1762
|
raise
|
|
1763
|
+
except Exception:
|
|
1764
|
+
session.liveness_checked_at = None
|
|
1765
|
+
raise
|
|
1766
|
+
if (
|
|
1767
|
+
result.status == BoxExecutionStatus.COMPLETED
|
|
1768
|
+
and result.exit_code == 0
|
|
1769
|
+
):
|
|
1770
|
+
session.liveness_checked_at = time.monotonic()
|
|
1771
|
+
else:
|
|
1772
|
+
session.liveness_checked_at = None
|
|
1751
1773
|
if result.status == BoxExecutionStatus.TIMED_OUT:
|
|
1752
1774
|
# Fence queued callers before releasing the execution lock.
|
|
1753
1775
|
session.closing = True
|
|
1776
|
+
self.logger.info(
|
|
1777
|
+
"box_execute_timing "
|
|
1778
|
+
f"session_id={spec.session_id} lock_wait_ms={lock_wait_ms:.3f} "
|
|
1779
|
+
f"session_acquire_ms={session_acquire_ms:.3f} "
|
|
1780
|
+
f"backend_exec_ms={backend_exec_ms:.3f} "
|
|
1781
|
+
f"runtime_ms={(time.perf_counter() - runtime_started) * 1000:.3f}"
|
|
1782
|
+
)
|
|
1754
1783
|
return result
|
|
1755
1784
|
finally:
|
|
1756
1785
|
async with self._lock:
|
|
@@ -2852,20 +2881,42 @@ done
|
|
|
2852
2881
|
continue
|
|
2853
2882
|
|
|
2854
2883
|
if existing is not None:
|
|
2884
|
+
probe_due = (
|
|
2885
|
+
existing.liveness_checked_at is None
|
|
2886
|
+
or time.monotonic() - existing.liveness_checked_at
|
|
2887
|
+
>= _SESSION_LIVENESS_RECHECK_SEC
|
|
2888
|
+
)
|
|
2889
|
+
probe_started = time.perf_counter()
|
|
2855
2890
|
try:
|
|
2856
|
-
|
|
2857
|
-
|
|
2858
|
-
|
|
2859
|
-
|
|
2860
|
-
|
|
2861
|
-
|
|
2862
|
-
|
|
2891
|
+
if probe_due:
|
|
2892
|
+
try:
|
|
2893
|
+
alive = await backend.is_session_alive(existing.info)
|
|
2894
|
+
except Exception as exc:
|
|
2895
|
+
alive = False
|
|
2896
|
+
self.logger.warning(
|
|
2897
|
+
"LangBot Box session liveness probe failed: "
|
|
2898
|
+
f"session_id={spec.session_id} error={exc}"
|
|
2899
|
+
)
|
|
2900
|
+
existing.liveness_checked_at = (
|
|
2901
|
+
time.monotonic() if alive else None
|
|
2863
2902
|
)
|
|
2903
|
+
else:
|
|
2904
|
+
alive = True
|
|
2864
2905
|
finally:
|
|
2906
|
+
probe_ms = (
|
|
2907
|
+
(time.perf_counter() - probe_started) * 1000
|
|
2908
|
+
if probe_due
|
|
2909
|
+
else 0.0
|
|
2910
|
+
)
|
|
2865
2911
|
async with self._lock:
|
|
2866
2912
|
self._session_leases[spec.session_id] -= 1
|
|
2867
2913
|
if self._session_leases[spec.session_id] <= 0:
|
|
2868
2914
|
self._session_leases.pop(spec.session_id, None)
|
|
2915
|
+
self.logger.info(
|
|
2916
|
+
"box_session_probe_timing "
|
|
2917
|
+
f"session_id={spec.session_id} probe_ms={probe_ms:.3f} "
|
|
2918
|
+
f"alive={alive} cached={not probe_due}"
|
|
2919
|
+
)
|
|
2869
2920
|
|
|
2870
2921
|
async with self._lock:
|
|
2871
2922
|
current = self._sessions.get(spec.session_id)
|
|
@@ -2962,6 +3013,7 @@ done
|
|
|
2962
3013
|
lock=asyncio.Lock(),
|
|
2963
3014
|
workspace_key=workspace_key,
|
|
2964
3015
|
extra_mounts_key=new_extra_mounts_key,
|
|
3016
|
+
liveness_checked_at=time.monotonic(),
|
|
2965
3017
|
idle_ttl_sec=spec.idle_ttl_sec,
|
|
2966
3018
|
owned_workspace=owned_workspace,
|
|
2967
3019
|
)
|
|
@@ -29,6 +29,7 @@ import hashlib
|
|
|
29
29
|
import logging
|
|
30
30
|
import os
|
|
31
31
|
import sys
|
|
32
|
+
import time
|
|
32
33
|
from typing import Any
|
|
33
34
|
|
|
34
35
|
import pydantic
|
|
@@ -602,30 +603,51 @@ class BoxServerHandler(Handler):
|
|
|
602
603
|
|
|
603
604
|
@self.action(LangBotToBoxAction.EXEC)
|
|
604
605
|
async def exec_cmd(data: dict[str, Any]) -> ActionResponse:
|
|
606
|
+
started = time.perf_counter()
|
|
607
|
+
validate_ms = 0.0
|
|
608
|
+
runtime_ms = 0.0
|
|
609
|
+
response_started: float | None = None
|
|
605
610
|
try:
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
)
|
|
611
|
+
try:
|
|
612
|
+
context = self._action_context()
|
|
613
|
+
spec = BoxSpec.model_validate(data)
|
|
614
|
+
if not self._runtime.admission_required:
|
|
615
|
+
spec = spec.model_copy(
|
|
616
|
+
update={"session_id": self._session_id(spec.session_id)}
|
|
617
|
+
)
|
|
618
|
+
validate_ms = (time.perf_counter() - started) * 1000
|
|
619
|
+
runtime_started = time.perf_counter()
|
|
614
620
|
result = await self._runtime.execute(
|
|
615
621
|
spec,
|
|
616
622
|
action_context=context,
|
|
617
623
|
)
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
624
|
+
runtime_ms = (time.perf_counter() - runtime_started) * 1000
|
|
625
|
+
except BoxArtifactNotPreparedError as exc:
|
|
626
|
+
return ActionResponse.error(f"BoxArtifactNotPreparedError: {exc}")
|
|
627
|
+
except (pydantic.ValidationError, ValueError) as exc:
|
|
628
|
+
if data.get("e2b_config") is not None:
|
|
629
|
+
return ActionResponse.error(
|
|
630
|
+
"BoxValidationError: Invalid E2B connection configuration"
|
|
631
|
+
)
|
|
632
|
+
return ActionResponse.error(f"BoxValidationError: {exc}")
|
|
633
|
+
response_started = time.perf_counter()
|
|
634
|
+
return ActionResponse.success(
|
|
635
|
+
self._logical_session_data(_result_to_dict(result))
|
|
636
|
+
)
|
|
637
|
+
finally:
|
|
638
|
+
response_ms = (
|
|
639
|
+
(time.perf_counter() - response_started) * 1000
|
|
640
|
+
if response_started is not None
|
|
641
|
+
else 0.0
|
|
642
|
+
)
|
|
643
|
+
logger.info(
|
|
644
|
+
"box_action_timing action=EXEC validate_ms=%.3f "
|
|
645
|
+
"runtime_ms=%.3f response_ms=%.3f handler_ms=%.3f",
|
|
646
|
+
validate_ms,
|
|
647
|
+
runtime_ms,
|
|
648
|
+
response_ms,
|
|
649
|
+
(time.perf_counter() - started) * 1000,
|
|
650
|
+
)
|
|
629
651
|
|
|
630
652
|
@self.action(LangBotToBoxAction.UPLOAD_FILE)
|
|
631
653
|
async def upload_file(data: dict[str, Any]) -> ActionResponse:
|
|
@@ -241,11 +241,23 @@ class PluginRuntimeHandler(Handler):
|
|
|
241
241
|
self._slot_containers.pop(binding.installation_uuid, None)
|
|
242
242
|
return ActionResponse.success({})
|
|
243
243
|
|
|
244
|
+
def describe_container(container, request):
|
|
245
|
+
payload = container.model_dump()
|
|
246
|
+
if request.get("include_registered_events") is True:
|
|
247
|
+
payload["registered_events"] = sorted(
|
|
248
|
+
{
|
|
249
|
+
event.__name__
|
|
250
|
+
for component in container.components
|
|
251
|
+
if isinstance(component.component_instance, EventListener)
|
|
252
|
+
for event in component.component_instance.registered_handlers
|
|
253
|
+
}
|
|
254
|
+
)
|
|
255
|
+
return payload
|
|
256
|
+
|
|
244
257
|
@self.action(RuntimeToPluginAction.GET_PLUGIN_SLOT_CONTAINER)
|
|
245
258
|
async def get_plugin_slot_container(
|
|
246
259
|
data: dict[str, typing.Any],
|
|
247
260
|
) -> ActionResponse:
|
|
248
|
-
del data
|
|
249
261
|
binding = self.current_action_context
|
|
250
262
|
if not isinstance(binding, InstallationBinding):
|
|
251
263
|
raise ValueError("Shared slot lookup requires InstallationBinding")
|
|
@@ -257,7 +269,9 @@ class PluginRuntimeHandler(Handler):
|
|
|
257
269
|
"enabled": container.enabled,
|
|
258
270
|
"priority": container.priority,
|
|
259
271
|
"plugin_config": thaw_config(container.plugin_config),
|
|
260
|
-
"plugin_container":
|
|
272
|
+
"plugin_container": describe_container(
|
|
273
|
+
container.plugin_container, data
|
|
274
|
+
),
|
|
261
275
|
}
|
|
262
276
|
)
|
|
263
277
|
|
|
@@ -267,7 +281,9 @@ class PluginRuntimeHandler(Handler):
|
|
|
267
281
|
|
|
268
282
|
@self.action(RuntimeToPluginAction.GET_PLUGIN_CONTAINER)
|
|
269
283
|
async def get_plugin_container(data: dict[str, typing.Any]) -> ActionResponse:
|
|
270
|
-
return ActionResponse.success(
|
|
284
|
+
return ActionResponse.success(
|
|
285
|
+
describe_container(self.plugin_container, data)
|
|
286
|
+
)
|
|
271
287
|
|
|
272
288
|
@self.action(RuntimeToPluginAction.GET_PLUGIN_ICON)
|
|
273
289
|
async def get_plugin_icon(data: dict[str, typing.Any]) -> ActionResponse:
|
{langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/runtime/io/handlers/control.py
RENAMED
|
@@ -58,6 +58,7 @@ TENANT_SCOPED_CONTROL_ACTIONS = frozenset(
|
|
|
58
58
|
LangBotToRuntimeAction.LIST_TOOLS.value,
|
|
59
59
|
LangBotToRuntimeAction.CALL_TOOL.value,
|
|
60
60
|
LangBotToRuntimeAction.LIST_COMMANDS.value,
|
|
61
|
+
LangBotToRuntimeAction.LIST_PLUGIN_REGISTRATIONS.value,
|
|
61
62
|
LangBotToRuntimeAction.EXECUTE_COMMAND.value,
|
|
62
63
|
LangBotToRuntimeAction.RETRIEVE_KNOWLEDGE.value,
|
|
63
64
|
LangBotToRuntimeAction.LIST_KNOWLEDGE_ENGINES.value,
|
|
@@ -519,6 +520,18 @@ class ControlConnectionHandler(handler.Handler):
|
|
|
519
520
|
}
|
|
520
521
|
)
|
|
521
522
|
|
|
523
|
+
@self.action(LangBotToRuntimeAction.LIST_PLUGIN_REGISTRATIONS)
|
|
524
|
+
async def list_plugin_registrations(
|
|
525
|
+
data: dict[str, Any],
|
|
526
|
+
) -> handler.ActionResponse:
|
|
527
|
+
return handler.ActionResponse.success(
|
|
528
|
+
{
|
|
529
|
+
"plugins": self.context.plugin_mgr.plugin_registrations(
|
|
530
|
+
data.get("include_plugins")
|
|
531
|
+
)
|
|
532
|
+
}
|
|
533
|
+
)
|
|
534
|
+
|
|
522
535
|
@self.action(LangBotToRuntimeAction.LIST_COMMANDS)
|
|
523
536
|
async def list_commands(data: dict[str, Any]) -> handler.ActionResponse:
|
|
524
537
|
include_plugins = data.get("include_plugins")
|
{langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/runtime/io/handlers/plugin.py
RENAMED
|
@@ -1304,12 +1304,15 @@ class PluginConnectionHandler(handler.Handler):
|
|
|
1304
1304
|
) -> dict[str, Any]:
|
|
1305
1305
|
return await self.call_action(
|
|
1306
1306
|
RuntimeToPluginAction.GET_PLUGIN_SLOT_CONTAINER,
|
|
1307
|
-
{},
|
|
1307
|
+
{"include_registered_events": True},
|
|
1308
1308
|
action_context=binding,
|
|
1309
1309
|
)
|
|
1310
1310
|
|
|
1311
1311
|
async def get_plugin_container(self) -> dict[str, Any]:
|
|
1312
|
-
resp = await self.call_action(
|
|
1312
|
+
resp = await self.call_action(
|
|
1313
|
+
RuntimeToPluginAction.GET_PLUGIN_CONTAINER,
|
|
1314
|
+
{"include_registered_events": True},
|
|
1315
|
+
)
|
|
1313
1316
|
|
|
1314
1317
|
return resp
|
|
1315
1318
|
|
{langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/src/langbot_plugin/runtime/plugin/container.py
RENAMED
|
@@ -57,6 +57,7 @@ class PluginContainer(pydantic.BaseModel):
|
|
|
57
57
|
"""插件容器状态"""
|
|
58
58
|
|
|
59
59
|
components: list[ComponentContainer]
|
|
60
|
+
registered_events: list[str] | None = None
|
|
60
61
|
"""组件容器列表"""
|
|
61
62
|
|
|
62
63
|
_runtime_plugin_handler: typing.Any = pydantic.PrivateAttr(default=None)
|
|
@@ -82,6 +83,7 @@ class PluginContainer(pydantic.BaseModel):
|
|
|
82
83
|
def from_dict(cls, data: dict[str, typing.Any]) -> PluginContainer:
|
|
83
84
|
return cls(
|
|
84
85
|
debug=data["debug"],
|
|
86
|
+
registered_events=data.get("registered_events"),
|
|
85
87
|
install_source=data.get("install_source", ""),
|
|
86
88
|
install_info=data.get("install_info", {}),
|
|
87
89
|
manifest=ComponentManifest.model_validate(data["manifest"]),
|
|
@@ -2935,6 +2935,7 @@ class PluginManager:
|
|
|
2935
2935
|
"Plugin changed its manifest identity after registration"
|
|
2936
2936
|
)
|
|
2937
2937
|
plugin_container.components = refreshed.components
|
|
2938
|
+
plugin_container.registered_events = refreshed.registered_events
|
|
2938
2939
|
plugin_container.manifest = refreshed.manifest
|
|
2939
2940
|
plugin_container.status = refreshed.status
|
|
2940
2941
|
if installation_runtime is not None:
|
|
@@ -3202,6 +3203,32 @@ class PluginManager:
|
|
|
3202
3203
|
f"plugin process is none: {plugin_container.manifest.metadata.author}/{plugin_container.manifest.metadata.name}:{plugin_container.manifest.metadata.version}"
|
|
3203
3204
|
)
|
|
3204
3205
|
|
|
3206
|
+
def _ordered_event_plugins(self, include_plugins):
|
|
3207
|
+
plugins = self._plugins_for_current_scope()
|
|
3208
|
+
if include_plugins is None:
|
|
3209
|
+
return plugins
|
|
3210
|
+
by_id = {
|
|
3211
|
+
f"{plugin.manifest.metadata.author}/{plugin.manifest.metadata.name}": plugin
|
|
3212
|
+
for plugin in plugins
|
|
3213
|
+
}
|
|
3214
|
+
return [by_id[name] for name in dict.fromkeys(include_plugins) if name in by_id]
|
|
3215
|
+
|
|
3216
|
+
def plugin_registrations(self, include_plugins):
|
|
3217
|
+
return {
|
|
3218
|
+
f"{plugin.manifest.metadata.author}/{plugin.manifest.metadata.name}": {
|
|
3219
|
+
"events": plugin.registered_events,
|
|
3220
|
+
"commands": [
|
|
3221
|
+
component.manifest.metadata.name
|
|
3222
|
+
for component in plugin.components
|
|
3223
|
+
if component.manifest.kind == Command.__kind__
|
|
3224
|
+
],
|
|
3225
|
+
}
|
|
3226
|
+
for plugin in self._ordered_event_plugins(include_plugins)
|
|
3227
|
+
if plugin.enabled
|
|
3228
|
+
and plugin.status
|
|
3229
|
+
== runtime_plugin_container.RuntimeContainerStatus.INITIALIZED
|
|
3230
|
+
}
|
|
3231
|
+
|
|
3205
3232
|
async def emit_event(
|
|
3206
3233
|
self, event_context: EventContext, include_plugins: list[str] | None = None
|
|
3207
3234
|
) -> tuple[
|
|
@@ -3212,7 +3239,7 @@ class PluginManager:
|
|
|
3212
3239
|
emitted_plugins: list[runtime_plugin_container.PluginContainer] = []
|
|
3213
3240
|
response_sources: list[dict[str, typing.Any]] = []
|
|
3214
3241
|
|
|
3215
|
-
for plugin in self.
|
|
3242
|
+
for plugin in self._ordered_event_plugins(include_plugins):
|
|
3216
3243
|
if (
|
|
3217
3244
|
plugin.status
|
|
3218
3245
|
!= runtime_plugin_container.RuntimeContainerStatus.INITIALIZED
|
|
@@ -3225,13 +3252,9 @@ class PluginManager:
|
|
|
3225
3252
|
if plugin._runtime_plugin_handler is None:
|
|
3226
3253
|
continue
|
|
3227
3254
|
|
|
3228
|
-
|
|
3229
|
-
if
|
|
3230
|
-
|
|
3231
|
-
f"{plugin.manifest.metadata.author}/{plugin.manifest.metadata.name}"
|
|
3232
|
-
)
|
|
3233
|
-
if plugin_id not in include_plugins:
|
|
3234
|
-
continue
|
|
3255
|
+
registered = getattr(plugin, "registered_events", None)
|
|
3256
|
+
if registered is not None and event_context.event_name not in registered:
|
|
3257
|
+
continue
|
|
3235
3258
|
|
|
3236
3259
|
if not any(
|
|
3237
3260
|
component.manifest.kind == EventListener.__kind__
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.7.28"
|
{langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/api/entities/builtin/test_command_context.py
RENAMED
|
@@ -113,3 +113,51 @@ def test_command_not_found_error_default_message_should_be_constructible():
|
|
|
113
113
|
)
|
|
114
114
|
def test_command_errors_prefix_user_visible_message(error, expected):
|
|
115
115
|
assert str(error) == expected
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
def _context(**kwargs) -> ExecuteContext:
|
|
119
|
+
return ExecuteContext(
|
|
120
|
+
query_id=1,
|
|
121
|
+
session=_session(),
|
|
122
|
+
command_text="draw cat",
|
|
123
|
+
full_command_text="/draw cat",
|
|
124
|
+
command="draw",
|
|
125
|
+
crt_command="draw",
|
|
126
|
+
params=["cat"],
|
|
127
|
+
crt_params=["cat"],
|
|
128
|
+
privilege=1,
|
|
129
|
+
**kwargs,
|
|
130
|
+
)
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
def test_execute_context_config_defaults_to_empty_mapping():
|
|
134
|
+
context = _context()
|
|
135
|
+
|
|
136
|
+
assert context.config == {}
|
|
137
|
+
assert context.model_dump(mode="json")["config"] == {}
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
def test_execute_context_config_round_trips_over_the_wire():
|
|
141
|
+
context = _context(config={"style": "anime", "count": 2})
|
|
142
|
+
|
|
143
|
+
restored = ExecuteContext.model_validate(context.model_dump(mode="json"))
|
|
144
|
+
|
|
145
|
+
assert restored.config == {"style": "anime", "count": 2}
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
def test_execute_context_accepts_payloads_from_hosts_without_config():
|
|
149
|
+
payload = _context().model_dump(mode="json")
|
|
150
|
+
payload.pop("config")
|
|
151
|
+
|
|
152
|
+
assert ExecuteContext.model_validate(payload).config == {}
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
def test_command_plugin_config_remains_independent_of_instance_config():
|
|
156
|
+
from types import SimpleNamespace
|
|
157
|
+
from langbot_plugin.api.definition.components.command.command import Command
|
|
158
|
+
|
|
159
|
+
component = Command()
|
|
160
|
+
component.plugin = SimpleNamespace(get_config=lambda: {"style": "plugin"})
|
|
161
|
+
context = _context(config={"style": "instance"})
|
|
162
|
+
assert component.get_plugin_config() == {"style": "plugin"}
|
|
163
|
+
assert context.config == {"style": "instance"}
|
|
@@ -295,6 +295,7 @@ async def test_create_session_recreates_disappeared_backend_session(logger):
|
|
|
295
295
|
with mock.patch("os.getenv", return_value=None):
|
|
296
296
|
first = await runtime.create_session(spec)
|
|
297
297
|
backend._alive = False
|
|
298
|
+
runtime._sessions[spec.session_id].liveness_checked_at -= 6
|
|
298
299
|
second = await runtime.create_session(spec)
|
|
299
300
|
|
|
300
301
|
assert first["backend_session_id"] == "docker-1"
|
|
@@ -586,7 +586,7 @@ async def test_create_session_creates_new(logger):
|
|
|
586
586
|
|
|
587
587
|
@pytest.mark.anyio
|
|
588
588
|
async def test_create_session_reuses_existing(logger):
|
|
589
|
-
"""Same session_id + compatible spec reuses
|
|
589
|
+
"""Same session_id + compatible spec reuses a fresh session."""
|
|
590
590
|
backend = FakeBackend(logger)
|
|
591
591
|
with mock.patch("os.getenv", return_value=""):
|
|
592
592
|
runtime = BoxRuntime(logger, backends=[backend])
|
|
@@ -595,7 +595,21 @@ async def test_create_session_reuses_existing(logger):
|
|
|
595
595
|
|
|
596
596
|
assert backend.started_sessions == 1 # not started again
|
|
597
597
|
assert first["backend_session_id"] == second["backend_session_id"] == "fake-1"
|
|
598
|
-
backend.is_session_alive.
|
|
598
|
+
backend.is_session_alive.assert_not_awaited()
|
|
599
|
+
assert runtime._session_leases == {}
|
|
600
|
+
|
|
601
|
+
|
|
602
|
+
@pytest.mark.anyio
|
|
603
|
+
async def test_create_session_rechecks_liveness_after_freshness_expires(logger):
|
|
604
|
+
"""A reused session is probed again after the freshness window."""
|
|
605
|
+
backend = FakeBackend(logger)
|
|
606
|
+
with mock.patch("os.getenv", return_value=""):
|
|
607
|
+
runtime = BoxRuntime(logger, backends=[backend])
|
|
608
|
+
await runtime.create_session(_make_spec("beta"))
|
|
609
|
+
runtime._sessions["beta"].liveness_checked_at -= 6
|
|
610
|
+
await runtime.create_session(_make_spec("beta"))
|
|
611
|
+
|
|
612
|
+
backend.is_session_alive.assert_awaited_once()
|
|
599
613
|
|
|
600
614
|
|
|
601
615
|
@pytest.mark.anyio
|
|
@@ -606,6 +620,7 @@ async def test_reuse_recreates_when_backend_session_dead(logger):
|
|
|
606
620
|
runtime = BoxRuntime(logger, backends=[backend])
|
|
607
621
|
first = await runtime.create_session(_make_spec("gamma"))
|
|
608
622
|
backend._alive = False
|
|
623
|
+
runtime._sessions["gamma"].liveness_checked_at -= 6
|
|
609
624
|
second = await runtime.create_session(_make_spec("gamma"))
|
|
610
625
|
|
|
611
626
|
assert first["backend_session_id"] == "fake-1"
|
|
@@ -711,6 +726,21 @@ async def test_execute_timeout_drops_session(logger):
|
|
|
711
726
|
backend.stop_session.assert_awaited_once()
|
|
712
727
|
|
|
713
728
|
|
|
729
|
+
@pytest.mark.anyio
|
|
730
|
+
async def test_execute_error_forces_next_liveness_probe(logger):
|
|
731
|
+
"""A backend error invalidates the freshness shortcut."""
|
|
732
|
+
backend = FakeBackend(logger)
|
|
733
|
+
with mock.patch("os.getenv", return_value=""):
|
|
734
|
+
runtime = BoxRuntime(logger, backends=[backend])
|
|
735
|
+
await runtime.create_session(_make_spec("failed-exec"))
|
|
736
|
+
session = runtime._sessions["failed-exec"]
|
|
737
|
+
backend.exec = mock.AsyncMock(side_effect=BoxError("backend unavailable"))
|
|
738
|
+
with pytest.raises(BoxError, match="backend unavailable"):
|
|
739
|
+
await runtime.execute(_make_spec("failed-exec"))
|
|
740
|
+
|
|
741
|
+
assert session.liveness_checked_at is None
|
|
742
|
+
|
|
743
|
+
|
|
714
744
|
# ── session expiry / reaping ────────────────────────────────────────────
|
|
715
745
|
|
|
716
746
|
|
{langbot_plugin-0.7.27 → langbot_plugin-0.7.28}/tests/runtime/io/handlers/test_plugin_handler.py
RENAMED
|
@@ -1293,7 +1293,7 @@ async def test_plugin_connection_handler_peer_call_helpers(monkeypatch):
|
|
|
1293
1293
|
}
|
|
1294
1294
|
assert await handler.get_plugin_container() == {
|
|
1295
1295
|
"action": RuntimeToPluginAction.GET_PLUGIN_CONTAINER.value,
|
|
1296
|
-
"data": {},
|
|
1296
|
+
"data": {"include_registered_events": True},
|
|
1297
1297
|
}
|
|
1298
1298
|
assert await handler.get_plugin_icon() == {
|
|
1299
1299
|
"action": RuntimeToPluginAction.GET_PLUGIN_ICON.value,
|