langbot-plugin 0.3.6__tar.gz → 0.3.7__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.3.6 → langbot_plugin-0.3.7}/PKG-INFO +1 -1
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/pyproject.toml +1 -1
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/api/proxies/langbot_api.py +60 -2
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/entities/io/actions/enums.py +2 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/runtime/io/handlers/plugin.py +27 -1
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/.github/workflows/publish-pypi.yaml +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/.gitignore +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/.python-version +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/AGENTS.md +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/CLAUDE.md +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/LICENSE +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/README.md +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/data/.env.example +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/docs/Message.md +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/docs/communication/apis/lb2rt.md +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/docs/communication/runtime_plugin.md +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/docs/dependency-management.md +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/docs/langbot-plugin-social.png +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/__init__.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/api/__init__.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/api/definition/__init__.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/api/definition/abstract/__init__.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/api/definition/abstract/platform/__init__.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/api/definition/abstract/platform/adapter.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/api/definition/abstract/platform/event_logger.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/api/definition/components/__init__.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/api/definition/components/base.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/api/definition/components/command/__init__.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/api/definition/components/command/command.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/api/definition/components/common/__init__.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/api/definition/components/common/event_listener.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/api/definition/components/knowledge_engine/__init__.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/api/definition/components/knowledge_engine/engine.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/api/definition/components/manifest.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/api/definition/components/parser/__init__.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/api/definition/components/parser/parser.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/api/definition/components/tool/__init__.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/api/definition/components/tool/tool.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/api/definition/plugin.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/api/entities/__init__.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/api/entities/builtin/__init__.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/api/entities/builtin/command/__init__.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/api/entities/builtin/command/context.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/api/entities/builtin/command/errors.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/api/entities/builtin/pipeline/__init__.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/api/entities/builtin/pipeline/query.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/api/entities/builtin/platform/__init__.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/api/entities/builtin/platform/entities.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/api/entities/builtin/platform/events.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/api/entities/builtin/platform/logger.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/api/entities/builtin/platform/message.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/api/entities/builtin/provider/__init__.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/api/entities/builtin/provider/message.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/api/entities/builtin/provider/prompt.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/api/entities/builtin/provider/session.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/api/entities/builtin/rag/__init__.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/api/entities/builtin/rag/context.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/api/entities/builtin/rag/enums.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/api/entities/builtin/rag/errors.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/api/entities/builtin/rag/models.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/api/entities/builtin/resource/__init__.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/api/entities/builtin/resource/tool.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/api/entities/context.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/api/entities/events.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/api/proxies/__init__.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/api/proxies/base.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/api/proxies/event_context.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/api/proxies/execute_context.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/api/proxies/query_based_api.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/assets/__init__.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/assets/templates/.env.example.example +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/assets/templates/.gitignore.example +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/assets/templates/.vscode/launch.json.example +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/assets/templates/README.md.example +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/assets/templates/__init__.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/assets/templates/assets/icon.svg.example +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/assets/templates/components/__init__.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/assets/templates/components/commands/__init__.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/assets/templates/components/commands/{cmd_name}.py.example +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/assets/templates/components/commands/{cmd_name}.yaml.example +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/assets/templates/components/event_listener/__init__.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/assets/templates/components/event_listener/default.py.example +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/assets/templates/components/event_listener/default.yaml.example +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/assets/templates/components/knowledge_engine/__init__.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/assets/templates/components/knowledge_engine/{knowledge_engine_name}.py.example +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/assets/templates/components/knowledge_engine/{knowledge_engine_name}.yaml.example +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/assets/templates/components/parser/__init__.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/assets/templates/components/parser/{parser_name}.py.example +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/assets/templates/components/parser/{parser_name}.yaml.example +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/assets/templates/components/tools/__init__.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/assets/templates/components/tools/{tool_name}.py.example +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/assets/templates/components/tools/{tool_name}.yaml.example +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/assets/templates/main.py.example +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/assets/templates/manifest.yaml.example +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/assets/templates/requirements.txt.example +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/cli/__init__.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/cli/__main__.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/cli/commands/__init__.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/cli/commands/buildplugin.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/cli/commands/gencomponent.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/cli/commands/initplugin.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/cli/commands/login.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/cli/commands/logout.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/cli/commands/publish.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/cli/commands/runplugin.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/cli/gen/__init__.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/cli/gen/renderer.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/cli/i18n.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/cli/locales/__init__.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/cli/locales/en_US.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/cli/locales/es_ES.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/cli/locales/ja_JP.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/cli/locales/th_TH.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/cli/locales/vi_VN.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/cli/locales/zh_Hans.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/cli/locales/zh_Hant.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/cli/run/__init__.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/cli/run/controller.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/cli/run/handler.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/cli/run/hotreload.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/cli/utils/__init__.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/cli/utils/cloudsv.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/cli/utils/form.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/entities/__init__.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/entities/io/__init__.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/entities/io/actions/__init__.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/entities/io/errors.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/entities/io/req.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/entities/io/resp.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/entities/marketplace.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/runtime/LICENSE +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/runtime/README.md +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/runtime/__init__.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/runtime/app.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/runtime/context.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/runtime/helper/__init__.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/runtime/helper/marketplace.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/runtime/helper/pkgmgr.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/runtime/io/__init__.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/runtime/io/connection.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/runtime/io/connections/__init__.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/runtime/io/connections/stdio.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/runtime/io/connections/ws.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/runtime/io/controller.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/runtime/io/controllers/__init__.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/runtime/io/controllers/stdio/__init__.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/runtime/io/controllers/stdio/client.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/runtime/io/controllers/stdio/server.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/runtime/io/controllers/ws/__init__.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/runtime/io/controllers/ws/client.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/runtime/io/controllers/ws/server.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/runtime/io/handler.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/runtime/io/handlers/__init__.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/runtime/io/handlers/control.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/runtime/plugin/__init__.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/runtime/plugin/container.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/runtime/plugin/mgr.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/runtime/settings.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/utils/__init__.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/utils/discover/__init__.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/utils/discover/engine.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/utils/importutil.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/utils/log.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/utils/platform.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/version.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/tests/api/entities/test_events.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/tests/test_log.py +0 -0
- {langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/tests/test_message.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: langbot-plugin
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.7
|
|
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-plugin-sdk
|
|
@@ -194,14 +194,72 @@ class LangBotAPIProxy:
|
|
|
194
194
|
)
|
|
195
195
|
)["commands"]
|
|
196
196
|
|
|
197
|
-
async def list_tools(self) -> list[str]:
|
|
198
|
-
"""List all tools
|
|
197
|
+
async def list_tools(self) -> list[dict[str, Any]]:
|
|
198
|
+
"""List all available tools.
|
|
199
|
+
|
|
200
|
+
Returns:
|
|
201
|
+
List of tool info dicts, each containing:
|
|
202
|
+
- name: Tool name (plugin_author/plugin_name/tool_name format)
|
|
203
|
+
- label: I18n label dict
|
|
204
|
+
- description: I18n description dict
|
|
205
|
+
- parameters: JSON Schema of tool parameters
|
|
206
|
+
- spec: Full tool spec
|
|
207
|
+
"""
|
|
199
208
|
return (
|
|
200
209
|
await self.plugin_runtime_handler.call_action(
|
|
201
210
|
PluginToRuntimeAction.LIST_TOOLS, {}
|
|
202
211
|
)
|
|
203
212
|
)["tools"]
|
|
204
213
|
|
|
214
|
+
async def get_tool_detail(self, tool_name: str) -> dict[str, Any]:
|
|
215
|
+
"""Get detailed information about a specific tool.
|
|
216
|
+
|
|
217
|
+
Args:
|
|
218
|
+
tool_name: The name of the tool to get details for.
|
|
219
|
+
|
|
220
|
+
Returns:
|
|
221
|
+
Tool detail dict containing name, label, description, parameters, spec.
|
|
222
|
+
|
|
223
|
+
Raises:
|
|
224
|
+
Exception: If the tool is not found.
|
|
225
|
+
"""
|
|
226
|
+
return (
|
|
227
|
+
await self.plugin_runtime_handler.call_action(
|
|
228
|
+
PluginToRuntimeAction.GET_TOOL_DETAIL, {"tool_name": tool_name}
|
|
229
|
+
)
|
|
230
|
+
)["tool"]
|
|
231
|
+
|
|
232
|
+
async def call_tool(
|
|
233
|
+
self,
|
|
234
|
+
tool_name: str,
|
|
235
|
+
parameters: dict[str, Any],
|
|
236
|
+
session: dict[str, Any],
|
|
237
|
+
query_id: int,
|
|
238
|
+
) -> dict[str, Any]:
|
|
239
|
+
"""Call a specific tool.
|
|
240
|
+
|
|
241
|
+
Args:
|
|
242
|
+
tool_name: The name of the tool to call.
|
|
243
|
+
parameters: The parameters to pass to the tool.
|
|
244
|
+
session: The current session dict.
|
|
245
|
+
query_id: The current query ID.
|
|
246
|
+
|
|
247
|
+
Returns:
|
|
248
|
+
Tool response dict.
|
|
249
|
+
"""
|
|
250
|
+
return (
|
|
251
|
+
await self.plugin_runtime_handler.call_action(
|
|
252
|
+
PluginToRuntimeAction.CALL_TOOL,
|
|
253
|
+
{
|
|
254
|
+
"tool_name": tool_name,
|
|
255
|
+
"tool_parameters": parameters,
|
|
256
|
+
"session": session,
|
|
257
|
+
"query_id": query_id,
|
|
258
|
+
},
|
|
259
|
+
timeout=180,
|
|
260
|
+
)
|
|
261
|
+
)["tool_response"]
|
|
262
|
+
|
|
205
263
|
# ================= RAG Capability APIs =================
|
|
206
264
|
|
|
207
265
|
async def invoke_embedding(
|
{langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/entities/io/actions/enums.py
RENAMED
|
@@ -57,6 +57,8 @@ class PluginToRuntimeAction(ActionType):
|
|
|
57
57
|
LIST_PLUGINS_MANIFEST = "list_plugins_manifest"
|
|
58
58
|
LIST_COMMANDS = "list_commands"
|
|
59
59
|
LIST_TOOLS = "list_tools"
|
|
60
|
+
GET_TOOL_DETAIL = "get_tool_detail"
|
|
61
|
+
CALL_TOOL = "call_tool"
|
|
60
62
|
|
|
61
63
|
INVOKE_EMBEDDING = "invoke_embedding"
|
|
62
64
|
VECTOR_UPSERT = "vector_upsert"
|
{langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/runtime/io/handlers/plugin.py
RENAMED
|
@@ -520,7 +520,33 @@ class PluginConnectionHandler(handler.Handler):
|
|
|
520
520
|
async def list_tools(data: dict[str, Any]) -> handler.ActionResponse:
|
|
521
521
|
tools = await self.context.plugin_mgr.list_tools()
|
|
522
522
|
return handler.ActionResponse.success(
|
|
523
|
-
{"tools": [tool.
|
|
523
|
+
{"tools": [tool.to_plain_dict() for tool in tools]}
|
|
524
|
+
)
|
|
525
|
+
|
|
526
|
+
@self.action(PluginToRuntimeAction.GET_TOOL_DETAIL)
|
|
527
|
+
async def get_tool_detail(data: dict[str, Any]) -> handler.ActionResponse:
|
|
528
|
+
tool_name = data["tool_name"]
|
|
529
|
+
tools = await self.context.plugin_mgr.list_tools()
|
|
530
|
+
for tool in tools:
|
|
531
|
+
if tool.metadata.name == tool_name:
|
|
532
|
+
return handler.ActionResponse.success(
|
|
533
|
+
{"tool": tool.to_plain_dict()}
|
|
534
|
+
)
|
|
535
|
+
return handler.ActionResponse.error(
|
|
536
|
+
message=f"Tool not found: {tool_name}"
|
|
537
|
+
)
|
|
538
|
+
|
|
539
|
+
@self.action(PluginToRuntimeAction.CALL_TOOL)
|
|
540
|
+
async def call_tool_from_plugin(data: dict[str, Any]) -> handler.ActionResponse:
|
|
541
|
+
tool_name = data["tool_name"]
|
|
542
|
+
tool_parameters = data["tool_parameters"]
|
|
543
|
+
session = data["session"]
|
|
544
|
+
query_id = data["query_id"]
|
|
545
|
+
resp = await self.context.plugin_mgr.call_tool(
|
|
546
|
+
tool_name, tool_parameters, session, query_id
|
|
547
|
+
)
|
|
548
|
+
return handler.ActionResponse.success(
|
|
549
|
+
{"tool_response": resp}
|
|
524
550
|
)
|
|
525
551
|
|
|
526
552
|
@self.action(PluginToRuntimeAction.LIST_PLUGINS_MANIFEST)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/api/definition/abstract/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/api/definition/components/base.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/api/entities/builtin/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/api/entities/builtin/rag/context.py
RENAMED
|
File without changes
|
{langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/api/entities/builtin/rag/enums.py
RENAMED
|
File without changes
|
{langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/api/entities/builtin/rag/errors.py
RENAMED
|
File without changes
|
{langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/api/entities/builtin/rag/models.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/api/proxies/event_context.py
RENAMED
|
File without changes
|
{langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/api/proxies/execute_context.py
RENAMED
|
File without changes
|
{langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/api/proxies/query_based_api.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/assets/templates/.gitignore.example
RENAMED
|
File without changes
|
|
File without changes
|
{langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/assets/templates/README.md.example
RENAMED
|
File without changes
|
{langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/assets/templates/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/assets/templates/main.py.example
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/cli/commands/buildplugin.py
RENAMED
|
File without changes
|
{langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/cli/commands/gencomponent.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/entities/io/actions/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/runtime/helper/marketplace.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/runtime/io/connections/__init__.py
RENAMED
|
File without changes
|
{langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/runtime/io/connections/stdio.py
RENAMED
|
File without changes
|
{langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/runtime/io/connections/ws.py
RENAMED
|
File without changes
|
|
File without changes
|
{langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/runtime/io/controllers/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/runtime/io/controllers/ws/client.py
RENAMED
|
File without changes
|
{langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/runtime/io/controllers/ws/server.py
RENAMED
|
File without changes
|
|
File without changes
|
{langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/runtime/io/handlers/__init__.py
RENAMED
|
File without changes
|
{langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/runtime/io/handlers/control.py
RENAMED
|
File without changes
|
|
File without changes
|
{langbot_plugin-0.3.6 → langbot_plugin-0.3.7}/src/langbot_plugin/runtime/plugin/container.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|