langbot-plugin 0.7.24__tar.gz → 0.7.26__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.
Files changed (457) hide show
  1. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/AGENTS.md +13 -20
  2. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/ARCHITECTURE.md +91 -29
  3. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/CONTRIBUTING.md +3 -1
  4. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/PKG-INFO +25 -8
  5. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/README.md +22 -5
  6. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/README_CN.md +5 -4
  7. langbot_plugin-0.7.26/RELEASING.md +64 -0
  8. langbot_plugin-0.7.26/SOURCE.json +8 -0
  9. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/docs/execution_api.md +15 -5
  10. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/examples/workspace_runner_plugin/manifest.yaml +1 -1
  11. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/pyproject.toml +3 -3
  12. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/agent_tools/external_tools.py +108 -10
  13. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/definition/components/runner/runner.py +5 -1
  14. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/entities/builtin/runner/__init__.py +2 -0
  15. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/entities/builtin/runner/box.py +5 -0
  16. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/entities/builtin/runner/context.py +67 -4
  17. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/entities/builtin/runner/context_access.py +12 -0
  18. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/entities/builtin/runner/input.py +1 -1
  19. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/entities/builtin/runner/result.py +85 -7
  20. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/entities/builtin/runner/runtime.py +8 -1
  21. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/entities/builtin/runner/steering.py +11 -0
  22. langbot_plugin-0.7.26/src/langbot_plugin/api/proxies/artifacts.py +142 -0
  23. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/proxies/langbot_api.py +73 -0
  24. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/proxies/runner/admin.py +49 -0
  25. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/proxies/runner/box.py +40 -0
  26. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/proxies/runner/common.py +7 -0
  27. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/proxies/runner/context.py +48 -2
  28. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/proxies/runner/ledger.py +79 -6
  29. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/proxies/runner/tracing.py +27 -1
  30. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/proxies/workspace.py +6 -0
  31. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/proxies/workspace_domains.py +79 -1
  32. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/box/actions.py +6 -0
  33. langbot_plugin-0.7.26/src/langbot_plugin/box/artifact_cache.py +767 -0
  34. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/box/backend.py +533 -20
  35. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/box/client.py +308 -3
  36. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/box/e2b_backend.py +449 -39
  37. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/box/errors.py +8 -0
  38. langbot_plugin-0.7.26/src/langbot_plugin/box/file_io.py +517 -0
  39. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/box/host_backend.py +176 -20
  40. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/box/models.py +133 -0
  41. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/box/nsjail_backend.py +103 -2
  42. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/box/runtime.py +1205 -69
  43. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/box/server.py +160 -5
  44. langbot_plugin-0.7.26/src/langbot_plugin/box/windows_export.py +152 -0
  45. langbot_plugin-0.7.26/src/langbot_plugin/box/windows_file_io.py +200 -0
  46. langbot_plugin-0.7.26/src/langbot_plugin/box/windows_job.py +56 -0
  47. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/entities/io/actions/enums.py +7 -0
  48. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/runtime/bounded_executor.py +9 -1
  49. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/runtime/io/handler.py +110 -36
  50. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/runtime/io/handlers/plugin.py +55 -0
  51. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/runtime/plugin/mgr.py +29 -3
  52. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/runtime/plugin/runner_service.py +1 -0
  53. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/skill_store.py +569 -28
  54. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/utils/packaging.py +13 -3
  55. langbot_plugin-0.7.26/src/langbot_plugin/version.py +1 -0
  56. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/api/entities/builtin/runner/test_context_result.py +13 -0
  57. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/api/proxies/test_agent_run_api_proxy.py +91 -0
  58. langbot_plugin-0.7.26/tests/api/proxies/test_artifacts_api.py +95 -0
  59. langbot_plugin-0.7.26/tests/api/proxies/test_box_api.py +175 -0
  60. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/api/proxies/test_history_event_api_proxy.py +104 -31
  61. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/api/proxies/test_input_attachment_api.py +45 -0
  62. langbot_plugin-0.7.26/tests/api/proxies/test_runner_tool_content_trace.py +33 -0
  63. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/api/test_agent_tools_mcp_bridge.py +104 -16
  64. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/api/test_execution_api_consistency.py +26 -2
  65. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/api/test_runner_handlers.py +13 -0
  66. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/api/test_workspace_domains.py +3 -3
  67. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/box/test_admission.py +10 -0
  68. langbot_plugin-0.7.26/tests/box/test_artifact_cache.py +260 -0
  69. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/box/test_backend.py +192 -0
  70. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/box/test_backend_selection.py +81 -0
  71. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/box/test_client.py +78 -3
  72. langbot_plugin-0.7.26/tests/box/test_directory_archive.py +191 -0
  73. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/box/test_e2b_backend.py +555 -4
  74. langbot_plugin-0.7.26/tests/box/test_file_chunk_negotiation.py +620 -0
  75. langbot_plugin-0.7.26/tests/box/test_file_transfer.py +752 -0
  76. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/box/test_identity.py +11 -2
  77. langbot_plugin-0.7.26/tests/box/test_network_workspace.py +505 -0
  78. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/box/test_nsjail_backend.py +82 -0
  79. langbot_plugin-0.7.26/tests/box/test_nsjail_v1_live.py +68 -0
  80. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/box/test_runtime.py +245 -0
  81. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/box/test_server.py +31 -1
  82. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/box/test_skill_store.py +2 -0
  83. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/box/test_storage_analysis.py +18 -0
  84. langbot_plugin-0.7.26/tests/box/test_windows_host_backend.py +216 -0
  85. langbot_plugin-0.7.26/tests/box/test_windows_workspace_operations.py +147 -0
  86. langbot_plugin-0.7.26/tests/box/test_workspace_cleanup.py +149 -0
  87. langbot_plugin-0.7.26/tests/box/test_workspace_cleanup_backend.py +354 -0
  88. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/cli/test_buildplugin.py +12 -2
  89. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/data/execution_api_catalog.json +727 -19
  90. langbot_plugin-0.7.26/tests/e2e/test_box_file_transfer_live.py +390 -0
  91. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/runtime/io/handlers/test_plugin_handler.py +113 -0
  92. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/runtime/plugin/test_manager.py +54 -0
  93. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/runtime/plugin/test_mgr_runner.py +15 -0
  94. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/runtime/test_bounded_executor.py +33 -0
  95. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/runtime/test_ops_metrics.py +3 -5
  96. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/test_plugin_logbuffer.py +28 -4
  97. langbot_plugin-0.7.26/tests/test_skill_publication_resources.py +377 -0
  98. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/test_skill_store.py +171 -0
  99. langbot_plugin-0.7.26/tests/test_skill_zip_import.py +85 -0
  100. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/test_storage.py +7 -1
  101. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/utils/test_packaging_utils.py +20 -0
  102. langbot_plugin-0.7.24/.github/workflows/box-docker.yml +0 -34
  103. langbot_plugin-0.7.24/.github/workflows/cla.yml +0 -41
  104. langbot_plugin-0.7.24/.github/workflows/publish-pypi.yaml +0 -27
  105. langbot_plugin-0.7.24/.github/workflows/publish.yml +0 -23
  106. langbot_plugin-0.7.24/.github/workflows/test.yml +0 -89
  107. langbot_plugin-0.7.24/src/langbot_plugin/version.py +0 -1
  108. langbot_plugin-0.7.24/tests/api/proxies/test_box_api.py +0 -79
  109. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/.gitignore +0 -0
  110. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/.python-version +0 -0
  111. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/CLAUDE.md +0 -0
  112. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/LICENSE +0 -0
  113. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/data/.env.example +0 -0
  114. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/docs/Message.md +0 -0
  115. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/docs/PluginPages.md +0 -0
  116. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/docs/agent-runner-interactions.md +0 -0
  117. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/docs/agent-runner-pluginization/PROTOCOL_V1.md +0 -0
  118. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/docs/agent-runner-pluginization/README.md +0 -0
  119. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/docs/agent-runner-pluginization/SDK_RUNTIME_PLAN.md +0 -0
  120. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/docs/box-instance-identity.md +0 -0
  121. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/docs/certified-plugins.md +0 -0
  122. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/docs/communication/apis/lb2rt.md +0 -0
  123. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/docs/communication/runtime_plugin.md +0 -0
  124. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/docs/dependency-management.md +0 -0
  125. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/docs/langbot-plugin-social.png +0 -0
  126. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/docs/runner.md +0 -0
  127. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/docs/stateless-components.md +0 -0
  128. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/examples/workspace_runner_plugin/README.md +0 -0
  129. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/examples/workspace_runner_plugin/components/runner/default.py +0 -0
  130. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/examples/workspace_runner_plugin/components/runner/default.yaml +0 -0
  131. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/examples/workspace_runner_plugin/main.py +0 -0
  132. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/local_e2e/acceptance.json +0 -0
  133. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/local_e2e/registration_fanin.py +0 -0
  134. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/local_e2e/run_acceptance.py +0 -0
  135. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/mypy.ini +0 -0
  136. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/scripts/check_action_consistency.py +0 -0
  137. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/scripts/runtime_resource_probe.py +0 -0
  138. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/__init__.py +0 -0
  139. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/__init__.py +0 -0
  140. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/agent_tools/__init__.py +0 -0
  141. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/agent_tools/asset_gateway.py +0 -0
  142. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/agent_tools/daemon.py +0 -0
  143. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/agent_tools/decorators.py +0 -0
  144. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/agent_tools/mcp_access.py +0 -0
  145. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/agent_tools/mcp_bridge.py +0 -0
  146. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/agent_tools/mcp_config.py +0 -0
  147. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/agent_tools/mcp_protocol.py +0 -0
  148. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/agent_tools/mcp_stdio.py +0 -0
  149. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/definition/__init__.py +0 -0
  150. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/definition/abstract/__init__.py +0 -0
  151. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/definition/abstract/platform/__init__.py +0 -0
  152. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/definition/abstract/platform/adapter.py +0 -0
  153. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/definition/abstract/platform/event_logger.py +0 -0
  154. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/definition/components/__init__.py +0 -0
  155. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/definition/components/base.py +0 -0
  156. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/definition/components/command/__init__.py +0 -0
  157. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/definition/components/command/command.py +0 -0
  158. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/definition/components/common/__init__.py +0 -0
  159. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/definition/components/common/event_listener.py +0 -0
  160. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/definition/components/knowledge_engine/__init__.py +0 -0
  161. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/definition/components/knowledge_engine/engine.py +0 -0
  162. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/definition/components/manifest.py +0 -0
  163. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/definition/components/page/__init__.py +0 -0
  164. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/definition/components/parser/__init__.py +0 -0
  165. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/definition/components/parser/parser.py +0 -0
  166. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/definition/components/runner/__init__.py +0 -0
  167. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/definition/components/tool/__init__.py +0 -0
  168. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/definition/components/tool/tool.py +0 -0
  169. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/definition/plugin.py +0 -0
  170. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/entities/__init__.py +0 -0
  171. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/entities/builtin/__init__.py +0 -0
  172. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/entities/builtin/command/__init__.py +0 -0
  173. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/entities/builtin/command/context.py +0 -0
  174. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/entities/builtin/command/errors.py +0 -0
  175. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/entities/builtin/pipeline/__init__.py +0 -0
  176. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/entities/builtin/pipeline/query.py +0 -0
  177. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/entities/builtin/platform/__init__.py +0 -0
  178. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/entities/builtin/platform/entities.py +0 -0
  179. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/entities/builtin/platform/errors.py +0 -0
  180. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/entities/builtin/platform/events.py +0 -0
  181. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/entities/builtin/platform/logger.py +0 -0
  182. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/entities/builtin/platform/message.py +0 -0
  183. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/entities/builtin/provider/__init__.py +0 -0
  184. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/entities/builtin/provider/message.py +0 -0
  185. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/entities/builtin/provider/prompt.py +0 -0
  186. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/entities/builtin/provider/reasoning.py +0 -0
  187. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/entities/builtin/provider/session.py +0 -0
  188. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/entities/builtin/rag/__init__.py +0 -0
  189. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/entities/builtin/rag/context.py +0 -0
  190. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/entities/builtin/rag/enums.py +0 -0
  191. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/entities/builtin/rag/errors.py +0 -0
  192. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/entities/builtin/rag/models.py +0 -0
  193. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/entities/builtin/resource/__init__.py +0 -0
  194. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/entities/builtin/resource/tool.py +0 -0
  195. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/entities/builtin/runner/capabilities.py +0 -0
  196. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/entities/builtin/runner/compat.py +0 -0
  197. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/entities/builtin/runner/delivery.py +0 -0
  198. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/entities/builtin/runner/errors.py +0 -0
  199. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/entities/builtin/runner/event.py +0 -0
  200. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/entities/builtin/runner/interaction.py +0 -0
  201. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/entities/builtin/runner/manifest.py +0 -0
  202. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/entities/builtin/runner/page_results.py +0 -0
  203. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/entities/builtin/runner/permissions.py +0 -0
  204. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/entities/builtin/runner/resources.py +0 -0
  205. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/entities/builtin/runner/run_ledger.py +0 -0
  206. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/entities/builtin/runner/runtime_registry.py +0 -0
  207. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/entities/builtin/runner/state.py +0 -0
  208. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/entities/builtin/runner/stats.py +0 -0
  209. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/entities/builtin/runner/transcript.py +0 -0
  210. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/entities/builtin/runner/trigger.py +0 -0
  211. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/entities/context.py +0 -0
  212. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/entities/events.py +0 -0
  213. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/entities/execution.py +0 -0
  214. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/entities/permissions.py +0 -0
  215. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/proxies/__init__.py +0 -0
  216. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/proxies/base.py +0 -0
  217. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/proxies/event_context.py +0 -0
  218. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/proxies/execute_context.py +0 -0
  219. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/proxies/execution.py +0 -0
  220. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/proxies/invocation.py +0 -0
  221. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/proxies/query_based_api.py +0 -0
  222. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/proxies/runner/__init__.py +0 -0
  223. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/proxies/runner/api.py +0 -0
  224. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/proxies/runner/platform.py +0 -0
  225. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/proxies/runner/reply_stream.py +0 -0
  226. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/proxies/runner/resources.py +0 -0
  227. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/api/proxies/runner/state.py +0 -0
  228. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/artifact.py +0 -0
  229. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/assets/__init__.py +0 -0
  230. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/assets/langbot-page-sdk.js +0 -0
  231. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/assets/templates/.env.example.example +0 -0
  232. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/assets/templates/.github/workflows/release.yml.example +0 -0
  233. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/assets/templates/.gitignore.example +0 -0
  234. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/assets/templates/.vscode/launch.json.example +0 -0
  235. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/assets/templates/README.md.example +0 -0
  236. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/assets/templates/__init__.py +0 -0
  237. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/assets/templates/assets/icon.svg.example +0 -0
  238. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/assets/templates/components/__init__.py +0 -0
  239. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/assets/templates/components/commands/__init__.py +0 -0
  240. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/assets/templates/components/commands/{cmd_name}.py.example +0 -0
  241. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/assets/templates/components/commands/{cmd_name}.yaml.example +0 -0
  242. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/assets/templates/components/event_listener/__init__.py +0 -0
  243. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/assets/templates/components/event_listener/default.py.example +0 -0
  244. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/assets/templates/components/event_listener/default.yaml.example +0 -0
  245. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/assets/templates/components/knowledge_engine/__init__.py +0 -0
  246. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/assets/templates/components/knowledge_engine/{knowledge_engine_name}.py.example +0 -0
  247. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/assets/templates/components/knowledge_engine/{knowledge_engine_name}.yaml.example +0 -0
  248. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/assets/templates/components/pages/{page_name}.html.example +0 -0
  249. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/assets/templates/components/pages/{page_name}.yaml.example +0 -0
  250. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/assets/templates/components/parser/__init__.py +0 -0
  251. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/assets/templates/components/parser/{parser_name}.py.example +0 -0
  252. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/assets/templates/components/parser/{parser_name}.yaml.example +0 -0
  253. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/assets/templates/components/runner/__init__.py +0 -0
  254. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/assets/templates/components/runner/{runner_name}.py.example +0 -0
  255. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/assets/templates/components/runner/{runner_name}.yaml.example +0 -0
  256. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/assets/templates/components/tools/__init__.py +0 -0
  257. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/assets/templates/components/tools/{tool_name}.py.example +0 -0
  258. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/assets/templates/components/tools/{tool_name}.yaml.example +0 -0
  259. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/assets/templates/main.py.example +0 -0
  260. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/assets/templates/manifest.yaml.example +0 -0
  261. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/assets/templates/readme/README_zh_Hans.md.example +0 -0
  262. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/assets/templates/requirements.txt.example +0 -0
  263. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/box/__init__.py +0 -0
  264. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/box/identity.py +0 -0
  265. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/box/security.py +0 -0
  266. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/box/tenancy.py +0 -0
  267. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/certification.py +0 -0
  268. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/cli/__init__.py +0 -0
  269. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/cli/__main__.py +0 -0
  270. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/cli/commands/__init__.py +0 -0
  271. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/cli/commands/buildplugin.py +0 -0
  272. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/cli/commands/gencomponent.py +0 -0
  273. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/cli/commands/initplugin.py +0 -0
  274. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/cli/commands/login.py +0 -0
  275. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/cli/commands/logout.py +0 -0
  276. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/cli/commands/publish.py +0 -0
  277. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/cli/commands/runplugin.py +0 -0
  278. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/cli/gen/__init__.py +0 -0
  279. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/cli/gen/renderer.py +0 -0
  280. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/cli/i18n.py +0 -0
  281. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/cli/locales/__init__.py +0 -0
  282. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/cli/locales/en_US.py +0 -0
  283. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/cli/locales/es_ES.py +0 -0
  284. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/cli/locales/ja_JP.py +0 -0
  285. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/cli/locales/th_TH.py +0 -0
  286. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/cli/locales/vi_VN.py +0 -0
  287. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/cli/locales/zh_Hans.py +0 -0
  288. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/cli/locales/zh_Hant.py +0 -0
  289. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/cli/run/__init__.py +0 -0
  290. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/cli/run/controller.py +0 -0
  291. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/cli/run/handler.py +0 -0
  292. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/cli/run/hotreload.py +0 -0
  293. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/cli/utils/__init__.py +0 -0
  294. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/cli/utils/cloudsv.py +0 -0
  295. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/cli/utils/form.py +0 -0
  296. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/cli/utils/page_components.py +0 -0
  297. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/entities/__init__.py +0 -0
  298. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/entities/io/__init__.py +0 -0
  299. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/entities/io/actions/__init__.py +0 -0
  300. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/entities/io/context.py +0 -0
  301. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/entities/io/errors.py +0 -0
  302. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/entities/io/req.py +0 -0
  303. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/entities/io/resp.py +0 -0
  304. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/entities/marketplace.py +0 -0
  305. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/runtime/LICENSE +0 -0
  306. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/runtime/README.md +0 -0
  307. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/runtime/__init__.py +0 -0
  308. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/runtime/app.py +0 -0
  309. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/runtime/context.py +0 -0
  310. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/runtime/event_loop_monitor.py +0 -0
  311. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/runtime/helper/__init__.py +0 -0
  312. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/runtime/helper/marketplace.py +0 -0
  313. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/runtime/helper/pkgmgr.py +0 -0
  314. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/runtime/io/__init__.py +0 -0
  315. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/runtime/io/connection.py +0 -0
  316. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/runtime/io/connections/__init__.py +0 -0
  317. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/runtime/io/connections/stdio.py +0 -0
  318. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/runtime/io/connections/ws.py +0 -0
  319. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/runtime/io/controller.py +0 -0
  320. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/runtime/io/controllers/__init__.py +0 -0
  321. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/runtime/io/controllers/stdio/__init__.py +0 -0
  322. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/runtime/io/controllers/stdio/client.py +0 -0
  323. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/runtime/io/controllers/stdio/server.py +0 -0
  324. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/runtime/io/controllers/ws/__init__.py +0 -0
  325. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/runtime/io/controllers/ws/client.py +0 -0
  326. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/runtime/io/controllers/ws/server.py +0 -0
  327. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/runtime/io/handlers/__init__.py +0 -0
  328. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/runtime/io/handlers/control.py +0 -0
  329. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/runtime/ops_metrics.py +0 -0
  330. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/runtime/plugin/__init__.py +0 -0
  331. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/runtime/plugin/artifact.py +0 -0
  332. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/runtime/plugin/container.py +0 -0
  333. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/runtime/plugin/dependency_environment.py +0 -0
  334. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/runtime/plugin/logbuffer.py +0 -0
  335. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/runtime/plugin/restart_coordinator.py +0 -0
  336. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/runtime/plugin/worker_launcher.py +0 -0
  337. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/runtime/plugin/worker_observability.py +0 -0
  338. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/runtime/plugin/worker_watchdog.py +0 -0
  339. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/runtime/security.py +0 -0
  340. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/runtime/settings.py +0 -0
  341. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/storage.py +0 -0
  342. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/utils/__init__.py +0 -0
  343. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/utils/deadline.py +0 -0
  344. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/utils/discover/__init__.py +0 -0
  345. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/utils/discover/engine.py +0 -0
  346. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/utils/git_sync.py +0 -0
  347. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/utils/importutil.py +0 -0
  348. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/utils/log.py +0 -0
  349. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/utils/page_components.py +0 -0
  350. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/utils/platform.py +0 -0
  351. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/src/langbot_plugin/workspace.py +0 -0
  352. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/__init__.py +0 -0
  353. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/api/definition/components/test_components.py +0 -0
  354. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/api/definition/components/test_imports.py +0 -0
  355. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/api/definition/test_manifest.py +0 -0
  356. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/api/definition/test_manifest_component_path.py +0 -0
  357. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/api/entities/builtin/runner/test_history_event_entities.py +0 -0
  358. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/api/entities/builtin/runner/test_interaction.py +0 -0
  359. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/api/entities/builtin/runner/test_run_ledger_entities.py +0 -0
  360. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/api/entities/builtin/test_command_context.py +0 -0
  361. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/api/entities/builtin/test_platform_logger.py +0 -0
  362. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/api/entities/builtin/test_provider_message.py +0 -0
  363. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/api/entities/builtin/test_rag_models.py +0 -0
  364. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/api/entities/test_context.py +0 -0
  365. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/api/entities/test_events.py +0 -0
  366. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/api/proxies/__init__.py +0 -0
  367. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/api/proxies/test_base.py +0 -0
  368. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/api/proxies/test_langbot_api.py +0 -0
  369. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/api/proxies/test_llm_stream_ownership.py +0 -0
  370. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/api/proxies/test_query_based_api.py +0 -0
  371. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/api/proxies/test_reasoning_parameter.py +0 -0
  372. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/api/test_runner_handlers_matrix.py +0 -0
  373. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/api/test_runner_public_apis.py +0 -0
  374. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/api/test_workspace_operations.py +0 -0
  375. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/box/__init__.py +0 -0
  376. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/box/conftest.py +0 -0
  377. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/box/test_artifact_cache_root.py +0 -0
  378. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/box/test_host_backend.py +0 -0
  379. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/cli/run/test_controller.py +0 -0
  380. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/cli/run/test_hotreload.py +0 -0
  381. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/cli/run/test_runtime_handler.py +0 -0
  382. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/cli/test_cli_main.py +0 -0
  383. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/cli/test_examples.py +0 -0
  384. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/cli/test_gencomponent.py +0 -0
  385. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/cli/test_i18n_form.py +0 -0
  386. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/cli/test_initplugin.py +0 -0
  387. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/cli/test_login.py +0 -0
  388. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/cli/test_logout_publish.py +0 -0
  389. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/cli/test_page_components.py +0 -0
  390. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/cli/test_renderer.py +0 -0
  391. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/cli/test_runner_usages.py +0 -0
  392. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/cli/test_runplugin.py +0 -0
  393. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/e2e/Dockerfile.box-socket +0 -0
  394. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/e2e/Dockerfile.box-socket.dockerignore +0 -0
  395. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/e2e/standalone_runtime_eba_probe.py +0 -0
  396. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/e2e/test_box_instance_cleanup_docker.py +0 -0
  397. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/e2e/test_box_socket_mounts.py +0 -0
  398. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/e2e/test_nsjail_large_commands.py +0 -0
  399. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/e2e/test_run_mount_isolation.py +0 -0
  400. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/entities/io/test_dependency_errors.py +0 -0
  401. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/entities/io/test_protocol.py +0 -0
  402. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/fixtures/eba_event_probe_plugin/.gitignore +0 -0
  403. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/fixtures/eba_event_probe_plugin/assets/icon.svg +0 -0
  404. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/fixtures/eba_event_probe_plugin/components/event_listener/default.py +0 -0
  405. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/fixtures/eba_event_probe_plugin/components/event_listener/default.yaml +0 -0
  406. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/fixtures/eba_event_probe_plugin/main.py +0 -0
  407. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/fixtures/eba_event_probe_plugin/manifest.yaml +0 -0
  408. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/helpers/__init__.py +0 -0
  409. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/helpers/protocol.py +0 -0
  410. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/packaging/test_installed_cli_blackbox.py +0 -0
  411. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/packaging/test_release_metadata.py +0 -0
  412. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/runtime/helper/test_marketplace.py +0 -0
  413. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/runtime/helper/test_pkgmgr.py +0 -0
  414. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/runtime/io/handlers/test_control_handler.py +0 -0
  415. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/runtime/io/handlers/test_import_contracts.py +0 -0
  416. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/runtime/io/handlers/test_legacy_file_chunk.py +0 -0
  417. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/runtime/io/test_action_consistency.py +0 -0
  418. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/runtime/io/test_audit_correlation.py +0 -0
  419. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/runtime/io/test_connections.py +0 -0
  420. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/runtime/io/test_controllers.py +0 -0
  421. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/runtime/io/test_handler.py +0 -0
  422. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/runtime/io/test_heartbeat_admission.py +0 -0
  423. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/runtime/io/test_payload_limits.py +0 -0
  424. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/runtime/io/test_stdio_encoding.py +0 -0
  425. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/runtime/io/test_stdio_server.py +0 -0
  426. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/runtime/io/test_stream_flow_control.py +0 -0
  427. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/runtime/plugin/test_artifact_store.py +0 -0
  428. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/runtime/plugin/test_container.py +0 -0
  429. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/runtime/plugin/test_dependency_environment.py +0 -0
  430. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/runtime/plugin/test_event_dispatch_real_worker.py +0 -0
  431. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/runtime/plugin/test_exact_dify_real_worker.py +0 -0
  432. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/runtime/plugin/test_exact_legacy_sdk_compat.py +0 -0
  433. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/runtime/plugin/test_installation_manager.py +0 -0
  434. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/runtime/plugin/test_legacy_shadow.py +0 -0
  435. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/runtime/plugin/test_mode_resource_limits.py +0 -0
  436. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/runtime/plugin/test_plugin_logs_real_worker.py +0 -0
  437. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/runtime/plugin/test_restart_coordinator.py +0 -0
  438. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/runtime/plugin/test_shared_worker_subprocess.py +0 -0
  439. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/runtime/plugin/test_worker_launcher.py +0 -0
  440. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/runtime/plugin/test_worker_plugin_identity.py +0 -0
  441. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/runtime/plugin/test_workload_isolation.py +0 -0
  442. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/runtime/test_app.py +0 -0
  443. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/runtime/test_event_loop_monitor.py +0 -0
  444. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/runtime/test_pull_api_handlers.py +0 -0
  445. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/runtime/test_security.py +0 -0
  446. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/test_artifact_materialization.py +0 -0
  447. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/test_certification.py +0 -0
  448. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/test_log.py +0 -0
  449. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/test_message.py +0 -0
  450. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/test_worker_observability.py +0 -0
  451. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/test_worker_watchdog.py +0 -0
  452. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/utils/test_cli_run_handler_packaging.py +0 -0
  453. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/utils/test_deadline.py +0 -0
  454. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/utils/test_discovery.py +0 -0
  455. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/utils/test_git_sync.py +0 -0
  456. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/utils/test_importutil.py +0 -0
  457. {langbot_plugin-0.7.24 → langbot_plugin-0.7.26}/tests/utils/test_platform.py +0 -0
@@ -1,8 +1,8 @@
1
1
  # AGENTS.md
2
2
 
3
- This file guides code agents working in the `langbot-plugin-sdk` repository. `CLAUDE.md` is a symlink to this file.
3
+ This file guides code agents working on the plugin SDK in `sdk/` of the LangBot monorepo (formerly the separate `langbot-plugin-sdk` repository, now archived). `CLAUDE.md` is a symlink to this file. The repository-wide rules in `../AGENTS.md` also apply.
4
4
 
5
- Read `ARCHITECTURE.md` before non-trivial SDK, CLI, Plugin Runtime, Box Runtime, protocol, or cross-repo LangBot changes. This file is the working checklist; `ARCHITECTURE.md` is the system map.
5
+ Read `ARCHITECTURE.md` before non-trivial SDK, CLI, Plugin Runtime, Box Runtime, protocol, or SDK + Core changes. This file is the working checklist; `ARCHITECTURE.md` is the system map.
6
6
 
7
7
  ## Quick Facts
8
8
 
@@ -11,7 +11,8 @@ Read `ARCHITECTURE.md` before non-trivial SDK, CLI, Plugin Runtime, Box Runtime,
11
11
  - CLI entrypoint: `lbp = langbot_plugin.cli:main`.
12
12
  - Main consumers: LangBot main repo and third-party plugins.
13
13
  - Runtime license: `src/langbot_plugin/runtime/` is AGPL; the rest is Apache 2.0.
14
- - LangBot pins this package in its `pyproject.toml`; local cross-repo testing needs a local install into LangBot's venv.
14
+ - LangBot Core declares this package exactly (`langbot-plugin==X` in `../pyproject.toml`); root `uv sync` resolves it to editable `sdk/`. Standalone Core PyPI installs retain the published dependency.
15
+ - Releases: `sdk/vX.Y.Z` tags publish to PyPI; never a GitHub Release. See `RELEASING.md`.
15
16
 
16
17
  ## Essential Commands
17
18
 
@@ -49,28 +50,20 @@ uv run python scripts/check_action_consistency.py
49
50
  - Action protocol: `src/langbot_plugin/entities/io/` and `src/langbot_plugin/runtime/io/handler.py`.
50
51
  - Plugin tutorial: https://langbot.app/docs/zh/plugin/dev/tutor.
51
52
  - Runtime/CLI/SDK debugging: https://langbot.app/docs/zh/develop/plugin-runtime.
52
- - LangBot main repo: `../LangBot/`.
53
+ - LangBot Core: the repository root (`../`), Core code in `../src/langbot/`.
53
54
 
54
- ## Cross-Repo LangBot Testing
55
+ ## Testing With LangBot Core
55
56
 
56
- Use sibling repos:
57
-
58
- ```text
59
- langbot-projects/
60
- ├── LangBot/
61
- └── langbot-plugin-sdk/
62
- ```
63
-
64
- When changing shared entities, component contracts, action payloads, Plugin Runtime, or Box Runtime:
57
+ All commands in this file run from `sdk/` unless noted. When changing shared entities, component contracts, action payloads, Plugin Runtime, or Box Runtime, change the Core bridge in the same PR and test both:
65
58
 
66
59
  ```bash
67
- # from langbot-plugin-sdk, with LangBot's .venv active
68
- uv pip install .
69
-
70
- # from LangBot; keep local SDK installed
71
- uv run --no-sync main.py
60
+ # from the repository root: install Core and this checkout's SDK
61
+ uv sync --dev
62
+ uv run main.py
72
63
  ```
73
64
 
65
+ All Core CI jobs use that local source. The `Core with in-tree SDK` job (`.github/workflows/run-tests.yml`) also runs cross-component contracts; the SDK's own suite runs in `sdk-tests.yml`. Independent plugin checks keep their released-SDK compatibility paths.
66
+
74
67
  Standalone runtime flows:
75
68
 
76
69
  ```bash
@@ -91,7 +84,7 @@ Then configure LangBot as needed:
91
84
  - Treat action enums and Pydantic models as cross-process API contracts; update callers, handlers, and tests together.
92
85
  - Do not duplicate action strings outside the enum definitions.
93
86
  - Keep generated plugin templates, component base classes, CLI renderer behavior, and docs consistent when component contracts change.
94
- - Preserve `uv run --no-sync` guidance for local SDK testing; otherwise LangBot may reinstall the pinned PyPI package.
87
+ - Root `uv sync` and `uv run` use this checkout's SDK. Keep published-SDK compatibility checks in isolated environments.
95
88
  - Keep comments/docstrings in English and user-facing labels/descriptions i18n-ready.
96
89
  - Commit message format: `<type>(<scope>): <subject>`.
97
90
 
@@ -1,10 +1,10 @@
1
1
  # Architecture
2
2
 
3
- This document maps the `langbot-plugin-sdk` repository. It explains the durable structure and cross-process contracts. For working rules, commands, and pitfalls, see `AGENTS.md`.
3
+ This document maps the plugin SDK in `sdk/` of the LangBot monorepo (formerly the `langbot-plugin-sdk` repository). It explains the durable structure and cross-process contracts. For working rules, commands, and pitfalls, see `AGENTS.md`.
4
4
 
5
- ## What This Repository Is
5
+ ## What This Package Is
6
6
 
7
- `langbot-plugin-sdk` is the infrastructure package behind LangBot's plugin and sandbox systems. It is published to PyPI as `langbot-plugin` and pinned by the LangBot main repo.
7
+ The plugin SDK is the infrastructure package behind LangBot's plugin and sandbox systems. It is published to PyPI as `langbot-plugin` (tags `sdk/vX.Y.Z`). Core source installs resolve their exact package requirement to this checkout's editable `sdk/`; the standalone Core PyPI package retains the published dependency.
8
8
 
9
9
  The package has four roles:
10
10
 
@@ -13,22 +13,22 @@ The package has four roles:
13
13
  - **Plugin Runtime**: `lbp rt`, the host process that manages plugin packages and plugin processes.
14
14
  - **Box Runtime**: `lbp box`, the sandbox runtime used by LangBot's Box subsystem.
15
15
 
16
- The runtime code under `src/langbot_plugin/runtime/` is AGPL; the rest of the repo is Apache 2.0.
16
+ The runtime code under `src/langbot_plugin/runtime/` is AGPL; the rest of the package is Apache 2.0.
17
17
 
18
18
  ## Repository Boundary
19
19
 
20
- This repo is coupled to LangBot but owns different things.
20
+ The SDK shares the LangBot repository but is versioned and released separately.
21
21
 
22
- - The LangBot main repo owns product behavior, HTTP API, web UI, platform adapters, pipeline execution, model/tool orchestration, persistence, skills integration, and the LangBot-side runtime connectors.
23
- - This SDK repo owns plugin author APIs, shared message/event/context entities, the action RPC protocol, the execution-independent filesystem Skill store, `lbp`, Plugin Runtime implementation, and Box Runtime implementation.
22
+ - LangBot Core (`../src/langbot/`) owns product behavior, HTTP API, web UI, platform adapters, pipeline execution, model/tool orchestration, persistence, skills integration, and the LangBot-side runtime connectors.
23
+ - The SDK (`sdk/`) owns plugin author APIs, shared message/event/context entities, the action RPC protocol, the execution-independent filesystem Skill store, `lbp`, Plugin Runtime implementation, and Box Runtime implementation.
24
24
  - Plugins import this package directly; LangBot also imports it for shared entities and runtime protocols.
25
25
 
26
- If a change alters shared entities, component contracts, action names/payloads, runtime behavior, or Box models, update/test both repos in lockstep.
26
+ If a change alters shared entities, component contracts, action names/payloads, runtime behavior, or Box models, change and test SDK and Core together in one PR. Source-based Core deployments use that checkout directly; publishing the standalone Core PyPI package requires a matching SDK release first.
27
27
 
28
28
  ## Top-Level Layout
29
29
 
30
30
  ```text
31
- langbot-plugin-sdk/
31
+ sdk/
32
32
  ├── src/langbot_plugin/
33
33
  │ ├── api/ # Public plugin-author SDK
34
34
  │ │ ├── definition/ # BasePlugin, components, manifests
@@ -293,8 +293,17 @@ Core mechanics:
293
293
  - `Handler.call_action()` waits for one response.
294
294
  - `Handler.call_action_generator()` consumes streamed responses.
295
295
  - Streaming emits `chunk_status: "continue"` chunks and ends with `"end"`.
296
- - File transfer uses `CommonAction.FILE_CHUNK` with 16KB base64 chunks stored
297
- under `data/temp/lbp/`. New transfer keys are high-entropy opaque capabilities;
296
+ - File transfer uses `CommonAction.FILE_CHUNK` with 16 KiB chunks encoded as
297
+ base64 and stored under `data/temp/lbp/`. Authenticated Box INIT peers may
298
+ offer and acknowledge `file_chunk_256k: true` to use fixed 256 KiB chunks;
299
+ plugin channels and unacknowledged senders retain 16 KiB. The client prepares
300
+ its larger receive limit before offering it, and each send fixes its chunk
301
+ length for that transfer. Each connection direction admits one large file
302
+ chunk through encoding and ACK at a time, so concurrent transfers cannot queue
303
+ many large messages ahead of control actions. Other actions do not acquire this
304
+ file-send lock. Waiting for this slot consumes the existing ACK timeout budget.
305
+ Existing action admission and receive limits still apply.
306
+ New transfer keys are high-entropy opaque capabilities;
298
307
  the receiver durably binds each capability to its exact authority namespace so
299
308
  a later read can recover that namespace after the action or handler ends. An
300
309
  explicit current context must still match, and the receiver never scans other
@@ -426,8 +435,13 @@ clients are incompatible with this selected-path contract.
426
435
  `message.completed.file_ids` attaches explicitly exported files to Pipeline output;
427
436
  Agents send them explicitly with `ctx.reply_files()`, subject to event reply permission.
428
437
  The Pipeline wrapper never scans a Box. Binding ends with the run; the reusable Box
429
- remains subject to Runtime idle expiry. Persistent workspace files survive expiry,
430
- but processes and container-local state do not.
438
+ remains subject to Runtime idle expiry. Legacy shared workspace files survive expiry;
439
+ Runtime-owned network workspaces are removed after successful backend stop.
440
+ Processes and container-local state do not survive.
441
+
442
+ Runtime assigns a fresh session generation at creation. An expected generation
443
+ on a command or file request must match the live session. A bound command never
444
+ creates a missing session. Cleanup for a retired generation is a no-op.
431
445
 
432
446
  `lbp box` enters `box/server.py::main()` and serves `BoxRuntime` through action RPC.
433
447
 
@@ -445,7 +459,8 @@ LangBot BoxService
445
459
  Important modules:
446
460
 
447
461
  - `box/server.py`: CLI entrypoint, aiohttp WebSocket routes, `BoxServerHandler` action registration.
448
- - `box/runtime.py`: session lifecycle, per-session locks, TTL cleanup, command execution, managed processes.
462
+ - `box/runtime.py`: session lifecycle, per-session locks, TTL cleanup, command execution, managed processes. Explicit network mode allocates Runtime-owned workspaces, accepts artifact references instead of host mounts, and masks local paths in session responses. INIT acknowledges this capability; Core and Runtime must be upgraded together.
463
+ - `box/artifact_cache.py`: Workspace-scoped verified packages, atomic read-only publication, session pins and capacity/idle GC under the Runtime identity data root.
449
464
  - `box/models.py`: generic `BoxSpec`/read-only mount contracts, execution results, managed-process specs.
450
465
  - `box/client.py`: action-RPC client used by LangBot-side connector/service.
451
466
  - `box/actions.py`: `LangBotToBoxAction` enum.
@@ -471,7 +486,44 @@ and only then advances the registry pointer. Updates require the current
471
486
  active or recoverable runs. Former mutable package directories are only a
472
487
  one-time online-upgrade import source.
473
488
 
474
- LangBot Core composes pinned revisions into generic read-only `BoxMountSpec`
489
+ `publication_inventory` strictly enumerates current registrations and all retained
490
+ versions for offline Core import, including deleted registrations. All old writers
491
+ must be stopped; corrupt or unsafe sources abort rather than disappearing.
492
+ `export_skill_publication` and `restore_skill_publication` preserve an exact
493
+ publication across disposable stores without changing its tree revision.
494
+ Core's optional database repository uses these helpers for temporary CRUD and
495
+ verified legacy execution caches. In database/network mode, Agent resource listings
496
+ validate the authoritative immutable manifest without blob IO; content reads still
497
+ verify complete archive bytes in memory without restoring a tree. Core privately
498
+ retains successful reads' immutable ZIP bytes in a process-local 32 MiB/256-entry
499
+ LRU; this is a retained-cache budget, not an in-flight memory limit, and adds no
500
+ user configuration. Every read rechecks database scope, generation, version and
501
+ content-ref metadata, then archive SHA, full ZIP/CRC and per-file SHA. Listing,
502
+ activation and cached reads are not source-storage health checks: verified cached
503
+ bytes can survive source unavailability or corruption. Cold reads after restart or
504
+ eviction fetch and validate the source again; database failure, revoked access and
505
+ missing version/content-ref records still reject reads. Runtime validation and GC
506
+ are unchanged. Its database CAS owns the authoritative catalog.
507
+
508
+ The `PREPARE_ARTIFACT` action accepts a generic manifest/tree digest and a completed
509
+ namespace-owned archive transfer. Cache hits still require the trusted current
510
+ Workspace context and admission. `BoxSpec.artifact_mounts` references only digests;
511
+ Runtime resolves them into its own read-only mounts and protects them until session
512
+ cleanup finishes. It does not resolve a Core path or expose its cache host path.
513
+ In explicit network mode, Core sends authorized pinned references directly for
514
+ native execution. Runtime cache acquisition verifies them before any user command
515
+ starts. A typed missing/invalid-cache preflight error permits one preparation and
516
+ retry; backend, timeout, cancellation and session failures never permit replay.
517
+ Network INIT explicitly acknowledges this contract. Core still uses the Host-only
518
+ preparation seam for cache recovery. Draft publication requests `directory_archive=true` through the
519
+ existing download/file-chunk protocol. Runtime creates the bounded ZIP in memory,
520
+ with no sandbox snapshot, under the session lease and execution lock. Complete
521
+ replacement drafts check the current database revision and final CAS without
522
+ reading or restoring the old package; history and `created_at` are retained. The network
523
+ INIT response acknowledges directory archive support. See
524
+ [Runtime artifact cache](../dev-docs/BOX_ARTIFACT_CACHE.md) for limits and ownership.
525
+
526
+ In legacy mode, LangBot Core composes pinned revisions into generic read-only `BoxMountSpec`
475
527
  values. Ordinary fixed mounts include `content_digest` and `manifest_path` in
476
528
  the session signature; supported digest-addressed packages are excluded from it.
477
529
  Digest-addressed packages use the reserved
@@ -504,9 +556,19 @@ Run-bound tool calls propagate scoped cancellation through Plugin Runtime to Box
504
556
  EXEC. Cancellation cleanup uses the original request scope and remains bounded
505
557
  when cancellation repeats or the invocation is revoked.
506
558
  Cancelling an active execution retires its sandbox, as a command timeout
507
- does; persistent workspace files survive, but container-local files and managed
508
- processes do not. Cancelling a queued execution leaves the active sandbox alone.
559
+ does; legacy shared workspace files survive, while Runtime-owned network workspaces
560
+ are removed only after successful backend stop. Container-local files and managed
561
+ processes do not survive. Cancelling a queued execution leaves the active sandbox alone.
509
562
  Failed cleanup keeps the session fenced until a later acquire/delete retries it.
563
+ Docker foreign-UID workspace cleanup uses the stopped container's immutable image
564
+ in a restricted helper, retaining daemon user namespaces. Pending helpers must be
565
+ confirmed retired on every retry before the workspace root can be removed. This
566
+ path requires Docker 25+, image Python 3 and no declared image volumes; denied or
567
+ unmapped ownership retains the fence rather than weakening isolation.
568
+ An uncertain backend startup retains its workspace and consumes capacity until
569
+ operator cleanup; restarting Runtime does not establish that old consumers exited.
570
+ Run IO cleanup accepts only one scope component and removes its inbox, outbox and
571
+ temporary snapshots inside an existing session, without creating a replacement.
510
572
 
511
573
  There is no supported `python -m langbot_plugin.box` entrypoint; use `lbp box`.
512
574
 
@@ -530,21 +592,21 @@ LangBot sends Box config during initialization. Backend selection is controlled
530
592
 
531
593
  A false “no backend” often means Docker exists but the user cannot access the Docker socket. nsjail inside containers requires host cgroup namespace for cgroup v2 limits if hard memory/pid/cpu enforcement is expected.
532
594
 
533
- ## Cross-Repo Development Flow
595
+ ## Coordinated Core and SDK Development
534
596
 
535
597
  When changing shared contracts:
536
598
 
537
- 1. Change this SDK repo first or in the same branch set.
538
- 2. Install the local SDK into LangBot's virtualenv: `uv pip install .` from this repo while LangBot's `.venv` is active.
539
- 3. Run LangBot with `uv run --no-sync ...` so `uv` does not replace the local SDK with the pinned PyPI package.
540
- 4. Exercise the exact path changed: plugin stdio, plugin WebSocket, `lbp run`, `lbp rt`, `lbp box`, Box WebSocket, or Box stdio.
541
-
542
- Workspace action-context support starts in SDK `0.4.15`. The instance-scoped
543
- Runtime handshake and complete `InstallationBinding` extend that protocol on
544
- the multi-tenant branch and require a coordinated LangBot Core change before
545
- release. Until a matching SDK version is published, Core must pin the exact
546
- pushed SDK commit; the already-published `0.4.14` artifact does not contain any
547
- of these contracts and must not be used as a compatibility alias.
599
+ 1. Change `sdk/` and the Core bridge in the same branch.
600
+ 2. Run `uv sync --dev` from the repository root to install Core and its editable local SDK.
601
+ 3. Run Core and its Runtimes with `uv run main.py`, `uv run lbp rt` or `uv run lbp box`.
602
+ 4. Exercise the exact path changed: plugin stdio, plugin WebSocket, `lbp run`, Plugin Runtime, or Box Runtime.
603
+
604
+ The instance-scoped Runtime handshake and complete `InstallationBinding`
605
+ require coordinated Core and Runtime capabilities. A separately deployed
606
+ Runtime must install the matching checkout or a compatible published SDK;
607
+ Core's local source does not upgrade another process's environment. Independent
608
+ plugin environments retain their declared SDK support. The standalone Core
609
+ PyPI package remains subject to the release gate in `RELEASING.md`.
548
610
 
549
611
  The SDK `AGENTS.md` keeps the short command checklist; this file keeps the structural map.
550
612
 
@@ -1,4 +1,6 @@
1
- # Contributing to langbot-plugin-sdk
1
+ # Contributing to the LangBot plugin SDK
2
+
3
+ The SDK lives in [`sdk/`](https://github.com/langbot-app/LangBot/tree/master/sdk) of the LangBot repository; open issues and pull requests there. The former `langbot-app/langbot-plugin-sdk` repository is archived.
2
4
 
3
5
  Thank you for your interest in contributing! For general contribution guidelines, please refer to the [LangBot contribution guide](https://github.com/langbot-app/LangBot/blob/master/CONTRIBUTING.md).
4
6
 
@@ -1,10 +1,10 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: langbot-plugin
3
- Version: 0.7.24
3
+ Version: 0.7.26
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
- Project-URL: Repository, https://github.com/langbot-app/langbot-plugin-sdk
7
- Project-URL: Issues, https://github.com/langbot-app/langbot-plugin-sdk/issues
6
+ Project-URL: Repository, https://github.com/langbot-app/LangBot/tree/master/sdk
7
+ Project-URL: Issues, https://github.com/langbot-app/LangBot/issues
8
8
  Author-email: Junyan Qin <rockchinq@gmail.com>
9
9
  License-File: LICENSE
10
10
  Requires-Python: >=3.10
@@ -47,8 +47,10 @@ English / [简体中文](README_CN.md)
47
47
 
48
48
  ## Overview
49
49
 
50
- This repository is the shared infrastructure powering LangBot's plugin and
51
- sandbox subsystems. It is published to PyPI as the single
50
+ This package is the shared infrastructure powering LangBot's plugin and
51
+ sandbox subsystems. Its source lives in
52
+ [`sdk/`](https://github.com/langbot-app/LangBot/tree/master/sdk) of the LangBot
53
+ repository. It is published to PyPI as the single
52
54
  [`langbot-plugin`](https://pypi.org/project/langbot-plugin/) package and ships
53
55
  three things:
54
56
 
@@ -62,10 +64,10 @@ three things:
62
64
  development only.
63
65
 
64
66
  LangBot depends on this package as the pinned `langbot-plugin==<x.y.z>` in its
65
- `pyproject.toml`; the canonical version lives in this repo's `pyproject.toml`.
67
+ `pyproject.toml`; the canonical version lives in `sdk/pyproject.toml`.
66
68
 
67
69
  > The **Runtime** component (`src/langbot_plugin/runtime/`) is licensed
68
- > separately under **AGPL**; everything else in this repository is **Apache 2.0**.
70
+ > separately under **AGPL**; everything else in this package is **Apache 2.0**.
69
71
  > See [`src/langbot_plugin/runtime/README.md`](src/langbot_plugin/runtime/README.md).
70
72
 
71
73
  ## Install
@@ -117,9 +119,24 @@ harness execution policy, process launch details, authentication, workspace
117
119
  selection, and provider-specific behavior belong to the runner/plugin package or
118
120
  a deployment-owned remote daemon or managed agent platform.
119
121
 
122
+ Runner delivery remains backward compatible: `steering_pull()` consumes inputs
123
+ by default; `claim=True` opts into leased delivery and requires `steering_ack()`.
124
+ Acknowledgement and recovery control calls can finish after the source execution
125
+ deadline, subject to Host authorization. `run.cancelled` is a terminal result.
126
+
127
+ Runners that implement checkpoint recovery declare `spec.resume: true`. Runtime
128
+ advertises it through descriptor metadata, which older Hosts can ignore without
129
+ rejecting the existing capability schema. A Host retry/resume returns a new run
130
+ ID with a fresh deadline and current resource grants; an externally queued run
131
+ retains requeue semantics. Resume receives bounded source events in
132
+ `ctx.runtime.metadata["recovery"]`; it must restore committed work or fail rather
133
+ than silently restart. The cursor fences the latest committed source result and
134
+ does not rewind external effects. This is at-least-once delivery, not a promise
135
+ of exactly-once tool execution.
136
+
120
137
  ## ExecutionAPI 操作一览与作用域说明
121
138
 
122
- LangBot Core 通过统一的 `ExecutionAPI` facade 暴露 72 项核心业务能力。插件与 Agent Runner 统一经由该 facade 与 SDK 入口访问。
139
+ LangBot Core 通过统一的 `ExecutionAPI` facade 暴露 80 项核心业务能力。插件与 Agent Runner 统一经由该 facade 与 SDK 入口访问。
123
140
 
124
141
  - **通用执行入口**: `api.execution.invoke(operation_id, **arguments)` 与 `api.execution.stream(...)`。
125
142
  - **Box 沙箱代理扩展**: `LangBotAPIProxy` 现已提供 `@run_scoped` 的 `bind_box`, `import_box_attachments`, `export_box_files`。
@@ -18,8 +18,10 @@ English / [简体中文](README_CN.md)
18
18
 
19
19
  ## Overview
20
20
 
21
- This repository is the shared infrastructure powering LangBot's plugin and
22
- sandbox subsystems. It is published to PyPI as the single
21
+ This package is the shared infrastructure powering LangBot's plugin and
22
+ sandbox subsystems. Its source lives in
23
+ [`sdk/`](https://github.com/langbot-app/LangBot/tree/master/sdk) of the LangBot
24
+ repository. It is published to PyPI as the single
23
25
  [`langbot-plugin`](https://pypi.org/project/langbot-plugin/) package and ships
24
26
  three things:
25
27
 
@@ -33,10 +35,10 @@ three things:
33
35
  development only.
34
36
 
35
37
  LangBot depends on this package as the pinned `langbot-plugin==<x.y.z>` in its
36
- `pyproject.toml`; the canonical version lives in this repo's `pyproject.toml`.
38
+ `pyproject.toml`; the canonical version lives in `sdk/pyproject.toml`.
37
39
 
38
40
  > The **Runtime** component (`src/langbot_plugin/runtime/`) is licensed
39
- > separately under **AGPL**; everything else in this repository is **Apache 2.0**.
41
+ > separately under **AGPL**; everything else in this package is **Apache 2.0**.
40
42
  > See [`src/langbot_plugin/runtime/README.md`](src/langbot_plugin/runtime/README.md).
41
43
 
42
44
  ## Install
@@ -88,9 +90,24 @@ harness execution policy, process launch details, authentication, workspace
88
90
  selection, and provider-specific behavior belong to the runner/plugin package or
89
91
  a deployment-owned remote daemon or managed agent platform.
90
92
 
93
+ Runner delivery remains backward compatible: `steering_pull()` consumes inputs
94
+ by default; `claim=True` opts into leased delivery and requires `steering_ack()`.
95
+ Acknowledgement and recovery control calls can finish after the source execution
96
+ deadline, subject to Host authorization. `run.cancelled` is a terminal result.
97
+
98
+ Runners that implement checkpoint recovery declare `spec.resume: true`. Runtime
99
+ advertises it through descriptor metadata, which older Hosts can ignore without
100
+ rejecting the existing capability schema. A Host retry/resume returns a new run
101
+ ID with a fresh deadline and current resource grants; an externally queued run
102
+ retains requeue semantics. Resume receives bounded source events in
103
+ `ctx.runtime.metadata["recovery"]`; it must restore committed work or fail rather
104
+ than silently restart. The cursor fences the latest committed source result and
105
+ does not rewind external effects. This is at-least-once delivery, not a promise
106
+ of exactly-once tool execution.
107
+
91
108
  ## ExecutionAPI 操作一览与作用域说明
92
109
 
93
- LangBot Core 通过统一的 `ExecutionAPI` facade 暴露 72 项核心业务能力。插件与 Agent Runner 统一经由该 facade 与 SDK 入口访问。
110
+ LangBot Core 通过统一的 `ExecutionAPI` facade 暴露 80 项核心业务能力。插件与 Agent Runner 统一经由该 facade 与 SDK 入口访问。
94
111
 
95
112
  - **通用执行入口**: `api.execution.invoke(operation_id, **arguments)` 与 `api.execution.stream(...)`。
96
113
  - **Box 沙箱代理扩展**: `LangBotAPIProxy` 现已提供 `@run_scoped` 的 `bind_box`, `import_box_attachments`, `export_box_files`。
@@ -18,7 +18,8 @@
18
18
 
19
19
  ## 简介
20
20
 
21
- 此仓库是支撑 LangBot **插件系统**与**代码沙箱**的共享基础设施,以单一的
21
+ 此包是支撑 LangBot **插件系统**与**代码沙箱**的共享基础设施,源码位于 LangBot 仓库的
22
+ [`sdk/`](https://github.com/langbot-app/LangBot/tree/master/sdk) 目录,以单一的
22
23
  [`langbot-plugin`](https://pypi.org/project/langbot-plugin/) 包发布到 PyPI,包含三部分:
23
24
 
24
25
  - **插件 SDK 与 CLI**(`lbp`)—— 插件开发的 Python API、基类,以及用于脚手架、
@@ -30,10 +31,10 @@
30
31
  不具备沙箱隔离能力的 `host` 后端。
31
32
 
32
33
  LangBot 通过 `pyproject.toml` 中固定的 `langbot-plugin==<x.y.z>` 依赖此包;
33
- 版本号以本仓库的 `pyproject.toml` 为准。
34
+ 版本号以 `sdk/pyproject.toml` 为准。
34
35
 
35
36
  > **运行时**组件(`src/langbot_plugin/runtime/`)单独采用 **AGPL** 许可证,
36
- > 本仓库其余部分采用 **Apache 2.0**,详见
37
+ > 其余部分采用 **Apache 2.0**,详见
37
38
  > [`src/langbot_plugin/runtime/README.md`](src/langbot_plugin/runtime/README.md)。
38
39
 
39
40
  ## 安装
@@ -88,6 +89,6 @@ LangBot Core 通过统一的 `ExecutionAPI` facade 暴露 69 项核心业务能
88
89
 
89
90
  ## 许可证
90
91
 
91
- 本仓库采用 Apache 2.0,但插件运行时(`src/langbot_plugin/runtime/`)单独采用
92
+ 本包采用 Apache 2.0,但插件运行时(`src/langbot_plugin/runtime/`)单独采用
92
93
  AGPL。详见 [LICENSE](LICENSE) 与
93
94
  [运行时 README](src/langbot_plugin/runtime/README.md)。
@@ -0,0 +1,64 @@
1
+ # Releasing the plugin SDK (`langbot-plugin`)
2
+
3
+ The SDK shares the LangBot repository with Core and the official plugins, but it
4
+ has its own version (`sdk/pyproject.toml` and `src/langbot_plugin/version.py`),
5
+ its own CI (`.github/workflows/sdk-*.yml`) and its own PyPI package.
6
+
7
+ ## Rules
8
+
9
+ - Release by pushing a tag named `sdk/vX.Y.Z` (pre-releases: `sdk/vX.Y.ZrcN`).
10
+ `.github/workflows/sdk-publish.yml` checks that the tag matches
11
+ `sdk/pyproject.toml`, builds `sdk/` and publishes `langbot-plugin` to PyPI. If the
12
+ version is already on PyPI it uploads nothing.
13
+ - **Never create a GitHub Release for the SDK.** Every `release: published`
14
+ event in this repository belongs to Core: Docker `latest`, Core PyPI, release
15
+ assets, fnOS, Discord and changelog sync listen to it, and LangBot Space's
16
+ update check reads this repository's release list. Core release workflows only
17
+ accept `v*` tags, but a SDK release in the list would still hide Core updates
18
+ from deployed instances. Write SDK release notes in the PR that bumps the version.
19
+ - Never use plain `vX.Y.Z` tags for the SDK; those are Core releases.
20
+ - Root `uv sync` resolves Core's exact `langbot-plugin==X` requirement to the
21
+ editable local `sdk/` source. Checkouts, Docker, release ZIPs and fnOS carry
22
+ that source and can use coordinated SDK changes before an SDK release.
23
+ - The standalone Core PyPI package retains the exact published dependency;
24
+ its wheel excludes SDK code. Publishing that package requires the matching
25
+ SDK release first. Independently installed Runtimes and plugins also need
26
+ their own compatible SDK installation.
27
+
28
+ ## Steps
29
+
30
+ 1. Bump `version` in `sdk/pyproject.toml` and `src/langbot_plugin/version.py`
31
+ (`tests/packaging/test_release_metadata.py` checks they match) and merge.
32
+ 2. Tag the merged commit and push the tag:
33
+
34
+ ```sh
35
+ git tag sdk/v0.7.25 <commit>
36
+ git push origin sdk/v0.7.25
37
+ ```
38
+
39
+ 3. Confirm the **SDK / Publish to PyPI** run and the new version on
40
+ https://pypi.org/project/langbot-plugin/.
41
+ 4. For the standalone Core PyPI package, bump `langbot-plugin==X` in the root
42
+ `pyproject.toml`, run `uv lock`, and pass the gate below before publishing.
43
+ Source-based Core deployments do not need to wait for this publication.
44
+
45
+ ## Core release gate
46
+
47
+ `scripts/check_sdk_release_pin.py` runs in the standalone Core PyPI release
48
+ workflow. Docker and source distributions use the checked-out SDK directly.
49
+ The PyPI gate fails when:
50
+
51
+ - Core's pin differs from `sdk/pyproject.toml`;
52
+ - that version is not on PyPI;
53
+ - the tag `sdk/v<pin>` is missing, or `sdk/src` / `sdk/pyproject.toml` changed
54
+ after it (unreleased SDK code in the Core release commit).
55
+
56
+ When it fails, release the SDK first and bump the pin, or revert the unreleased
57
+ SDK change on the release branch.
58
+
59
+ ## History
60
+
61
+ The SDK was imported as a snapshot of `langbot-app/langbot-plugin-sdk` v0.7.24
62
+ (`sdk/SOURCE.json`). Older history, issues, pull requests and the `v0.x` tags
63
+ remain in that archived repository. The baseline tag `sdk/v0.7.24` marks the
64
+ import in this repository.
@@ -0,0 +1,8 @@
1
+ {
2
+ "repository": "langbot-app/langbot-plugin-sdk",
3
+ "revision": "76443bb83b4bd969588a0e6a85884fd1e1b3b6ee",
4
+ "tag": "v0.7.24",
5
+ "version": "0.7.24",
6
+ "tracked_files": 430,
7
+ "note": "Snapshot import without history. Earlier history, issues and pull requests stay in the archived langbot-app/langbot-plugin-sdk repository. Its .github/ workflows were replaced by sdk-*.yml workflows at the LangBot repository root."
8
+ }
@@ -1,6 +1,6 @@
1
1
  # ExecutionAPI 操作一览与作用域说明
2
2
 
3
- LangBot Core 通过统一的 `ExecutionAPI` facade 暴露 72 项核心业务能力。插件与 Agent Runner 可以通过统一的授权契约与 SDK 入口调用这些能力。
3
+ LangBot Core 通过统一的 `ExecutionAPI` facade 暴露 83 项核心业务能力。插件与 Agent Runner 可以通过统一的授权契约与 SDK 入口调用这些能力。
4
4
 
5
5
  ## 作用域(Scopes)说明
6
6
 
@@ -9,7 +9,7 @@ ExecutionAPI 定义了严格的作用域划分,防止权限提升与越权访
9
9
  | 作用域 | 标识 | 说明 |
10
10
  | :--- | :--- | :--- |
11
11
  | **Plugin** | `plugin` | 插件安装级别能力。仅在非 Run 上下文或具有插件完整 InstallationBinding 时可用。Run 上下文无法降级使用此类操作。 |
12
- | **Run** | `run` | 单次 Agent Run 作用域。必须携带有效的 `run_id`,且在会话生命周期内严格受限,调用时自动校验该 Run 的授权范围(如 Tool、Box 等资源)。 |
12
+ | **Run** | `run` | 单次 Agent Run 作用域。必须携带有效的 `run_id`,且按该 Run 的授权范围严格受限,调用时自动校验该 Run 的授权范围(如 Tool、Box 等资源)。 |
13
13
  | **Runner Admin** | `runner_admin` | 运行器管理级别能力(如 Run 查询、状态恢复等)。需要特定的运行器管理权限,支持根据 AgentRun 授权快照恢复过期的 Run 上下文。 |
14
14
  | **Plugin or Run** | `plugin_or_run` | 双模作用域能力(如 LLM 调用、存储操作等)。在 Run 上下文中调用时携带 Run 授权与审计标识;在普通插件事件上下文调用时使用插件安装级别凭证。 |
15
15
 
@@ -59,7 +59,7 @@ async for chunk in api.execution.stream(
59
59
 
60
60
  ---
61
61
 
62
- ## 72 项操作完整清单
62
+ ## 80 项操作完整清单
63
63
 
64
64
  本表与 `tests/data/execution_api_catalog.json`(由 LangBot Core 的 `scripts/export_execution_catalog.py` 导出)一致,由 `tests/api/test_execution_api_consistency.py` 校验。
65
65
 
@@ -73,6 +73,9 @@ async for chunk in api.execution.stream(
73
73
  | `execution.create_new_conversation` | `plugin` | 是 | 否 | 为当前查询创建新会话 |
74
74
  | `execution.get_langbot_version` | `plugin_or_run` | 否 | 否 | 获取 LangBot Core 版本与 API 特性 |
75
75
  | `execution.get_bots` | `plugin` | 否 | 否 | 获取已配置的机器人列表 |
76
+ | `execution.list_tools` | `plugin` | 否 | 否 | 列出插件可访问的工具 |
77
+ | `execution.list_commands` | `plugin` | 否 | 否 | 列出插件可访问的命令 |
78
+ | `execution.list_plugins_manifest` | `plugin` | 否 | 否 | 列出插件 manifest |
76
79
  | `execution.get_bot_info` | `plugin` | 否 | 否 | 获取指定机器人的详细信息 |
77
80
  | `execution.send_message` | `plugin_or_run` | 是 | 否 | 向目标实体主动发送消息 |
78
81
  | `execution.call_platform_api` | `plugin_or_run` | 是 | 否 | 调用底层平台通信 API |
@@ -108,6 +111,7 @@ async for chunk in api.execution.stream(
108
111
  | `execution.event_get` | `run` | 否 | 否 | 获取特定历史事件的详情 |
109
112
  | `execution.event_page` | `run` | 否 | 否 | 分页读取当前会话的事件记录 |
110
113
  | `execution.steering_pull` | `run` | 是 | 否 | 拉取用户在运行中追加的引导消息 |
114
+ | `execution.steering_ack` | `run` | 是 | 否 | 确认已领取的引导消息;校验当前或持久化 Run 授权 |
111
115
  | `execution.state_get` | `run` | 否 | 否 | 获取 Agent 作用域状态值 |
112
116
  | `execution.state_set` | `run` | 是 | 否 | 设置 Agent 作用域状态值 |
113
117
  | `execution.state_delete` | `run` | 是 | 否 | 删除 Agent 状态值 |
@@ -118,11 +122,17 @@ async for chunk in api.execution.stream(
118
122
  | `execution.bind_box` | `run` | 是 | 否 | 将特定 Box 实例与当前运行绑定 |
119
123
  | `execution.import_box_attachments` | `run` | 是 | 否 | 导入附件至绑定的 Box 沙箱 |
120
124
  | `execution.read_input_attachment` | `run` | 否 | 否 | 按 ref 读取当前事件输入附件的字节 |
125
+ | `execution.read_input_attachment_content` | `run` | 否 | 否 | 按当前 Run 的冻结权限读取输入附件,返回有界文本或结构化媒体 |
121
126
  | `execution.export_box_files` | `run` | 是 | 否 | 导出 Box 沙箱生成的文件 |
127
+ | `execution.read_run_file` | `run` | 否 | 否 | 按当前 Run 的文件句柄有界读取已导出 Artifact 的结构化内容 |
128
+ | `execution.commit_run_files` | `run` | 是 | 否 | 按 Host 冻结并重新核验的执行器策略,将已导出文件发布给具名接收人 |
122
129
  | `execution.run_get` | `runner_admin` | 否 | 否 | 管理员查询指定 Agent Run 状态 |
123
130
  | `execution.run_list` | `runner_admin` | 否 | 否 | 管理员分页查询历史 Agent Run 列表 |
124
131
  | `execution.run_events_page` | `runner_admin` | 否 | 否 | 分页读取指定运行的事件 |
125
132
  | `execution.run_cancel` | `runner_admin` | 是 | 否 | 取消指定运行(Runner 管理) |
133
+ | `execution.run_retry` | `runner_admin` | 是 | 否 | 按当前授权创建重试 Run,或重新入队外部任务 |
134
+ | `execution.run_resume` | `runner_admin` | 是 | 否 | 从已提交检查点创建恢复 Run |
135
+ | `execution.run_cancel_ack` | `runner_admin` | 是 | 否 | 确认运行取消后的资源清理 |
126
136
  | `execution.run_append_result` | `runner_admin` | 是 | 否 | 向指定运行追加结果(Runner 管理) |
127
137
  | `execution.run_finalize` | `runner_admin` | 是 | 否 | 结束指定运行并写入最终状态 |
128
138
  | `execution.runner_list` | `runner_admin` | 否 | 否 | 列出已注册的 Runner |
@@ -136,8 +146,8 @@ async for chunk in api.execution.stream(
136
146
  | `execution.run_claim` | `runner_admin` | 是 | 否 | 为外部 Runtime 认领待执行的运行 |
137
147
  | `execution.run_renew_claim` | `runner_admin` | 是 | 否 | 续期对运行的认领 |
138
148
  | `execution.run_release_claim` | `runner_admin` | 是 | 否 | 释放对运行的认领 |
139
- | `execution.list_application_operations` | `run` | 否 | 否 | 列出本次运行被授权的 ApplicationAPI 工作区操作及其 schema |
140
- | `execution.call_application_operation` | `run` | 是 | 否 | 以处理器身份调用本次运行被授权的 ApplicationAPI 工作区操作 |
149
+ | `execution.list_application_operations` | `plugin_or_run` | 否 | 否 | 列出本次运行被授权的 ApplicationAPI 工作区操作及其 schema |
150
+ | `execution.call_application_operation` | `plugin_or_run` | 是 | 否 | 以处理器身份调用本次运行被授权的 ApplicationAPI 工作区操作 |
141
151
 
142
152
  ---
143
153
 
@@ -3,7 +3,7 @@ kind: Plugin
3
3
  metadata:
4
4
  author: LangBot
5
5
  name: WorkspaceRunnerExample
6
- repository: https://github.com/langbot-app/langbot-plugin-sdk
6
+ repository: https://github.com/langbot-app/LangBot/tree/master/sdk/examples/workspace_runner_plugin
7
7
  version: 0.1.0
8
8
  description:
9
9
  en_US: Minimal runner plugin that calls workspace operations.
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "langbot-plugin"
3
- version = "0.7.24"
3
+ version = "0.7.26"
4
4
  description = "This package contains the SDK, CLI for building plugins for LangBot, plus the runtime for hosting LangBot plugins"
5
5
  readme = "README.md"
6
6
  authors = [
@@ -44,8 +44,8 @@ build-backend = "hatchling.build"
44
44
 
45
45
  [project.urls]
46
46
  Homepage = "https://langbot.app"
47
- Repository = "https://github.com/langbot-app/langbot-plugin-sdk"
48
- Issues = "https://github.com/langbot-app/langbot-plugin-sdk/issues"
47
+ Repository = "https://github.com/langbot-app/LangBot/tree/master/sdk"
48
+ Issues = "https://github.com/langbot-app/LangBot/issues"
49
49
 
50
50
  [tool.setuptools]
51
51
  package-data = { "langbot_plugin" = ["assets/templates/*", "assets/*.js"] }