langbot-plugin 0.7.25__tar.gz → 0.7.27__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.25 → langbot_plugin-0.7.27}/AGENTS.md +5 -6
  2. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/ARCHITECTURE.md +72 -25
  3. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/PKG-INFO +1 -1
  4. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/RELEASING.md +13 -7
  5. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/docs/execution_api.md +7 -2
  6. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/pyproject.toml +1 -1
  7. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/agent_tools/external_tools.py +108 -10
  8. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/definition/components/manifest.py +34 -1
  9. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/entities/builtin/platform/message.py +7 -2
  10. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/entities/builtin/runner/box.py +5 -0
  11. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/entities/builtin/runner/context.py +15 -0
  12. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/entities/builtin/runner/input.py +1 -1
  13. langbot_plugin-0.7.27/src/langbot_plugin/api/proxies/artifacts.py +142 -0
  14. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/proxies/langbot_api.py +73 -0
  15. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/proxies/runner/admin.py +10 -5
  16. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/proxies/runner/box.py +40 -0
  17. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/proxies/runner/common.py +7 -0
  18. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/proxies/runner/context.py +30 -0
  19. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/proxies/runner/ledger.py +11 -6
  20. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/proxies/runner/tracing.py +27 -1
  21. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/proxies/workspace.py +6 -0
  22. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/proxies/workspace_domains.py +91 -3
  23. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/assets/templates/manifest.yaml.example +5 -1
  24. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/box/actions.py +1 -0
  25. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/box/artifact_cache.py +40 -3
  26. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/box/backend.py +271 -5
  27. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/box/client.py +98 -5
  28. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/box/e2b_backend.py +82 -4
  29. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/box/errors.py +8 -0
  30. langbot_plugin-0.7.27/src/langbot_plugin/box/file_io.py +517 -0
  31. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/box/host_backend.py +173 -20
  32. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/box/models.py +34 -0
  33. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/box/runtime.py +596 -53
  34. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/box/server.py +41 -7
  35. langbot_plugin-0.7.27/src/langbot_plugin/box/windows_export.py +152 -0
  36. langbot_plugin-0.7.27/src/langbot_plugin/box/windows_file_io.py +200 -0
  37. langbot_plugin-0.7.27/src/langbot_plugin/box/windows_job.py +56 -0
  38. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/cli/__init__.py +23 -9
  39. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/cli/commands/runplugin.py +11 -2
  40. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/cli/run/handler.py +3 -1
  41. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/entities/io/actions/enums.py +3 -0
  42. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/entities/io/req.py +1 -0
  43. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/runtime/app.py +13 -3
  44. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/runtime/io/connections/stdio.py +14 -7
  45. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/runtime/io/handler.py +111 -37
  46. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/runtime/io/handlers/control.py +3 -1
  47. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/runtime/io/handlers/plugin.py +40 -1
  48. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/runtime/plugin/logbuffer.py +37 -3
  49. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/runtime/plugin/mgr.py +35 -4
  50. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/runtime/plugin/worker_launcher.py +104 -20
  51. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/skill_store.py +425 -33
  52. langbot_plugin-0.7.27/src/langbot_plugin/utils/log.py +175 -0
  53. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/utils/packaging.py +18 -3
  54. langbot_plugin-0.7.27/src/langbot_plugin/utils/version_compat.py +114 -0
  55. langbot_plugin-0.7.27/src/langbot_plugin/version.py +1 -0
  56. langbot_plugin-0.7.27/tests/api/definition/test_version_compat.py +35 -0
  57. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/api/proxies/test_agent_run_api_proxy.py +10 -0
  58. langbot_plugin-0.7.27/tests/api/proxies/test_artifacts_api.py +95 -0
  59. langbot_plugin-0.7.27/tests/api/proxies/test_box_api.py +175 -0
  60. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/api/proxies/test_history_event_api_proxy.py +104 -31
  61. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/api/proxies/test_input_attachment_api.py +45 -0
  62. langbot_plugin-0.7.27/tests/api/proxies/test_runner_tool_content_trace.py +33 -0
  63. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/api/test_agent_tools_mcp_bridge.py +104 -16
  64. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/api/test_execution_api_consistency.py +26 -2
  65. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/box/test_artifact_cache.py +97 -2
  66. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/box/test_client.py +39 -3
  67. langbot_plugin-0.7.27/tests/box/test_directory_archive.py +191 -0
  68. langbot_plugin-0.7.27/tests/box/test_file_chunk_negotiation.py +620 -0
  69. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/box/test_file_transfer.py +93 -8
  70. langbot_plugin-0.7.27/tests/box/test_network_workspace.py +505 -0
  71. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/box/test_runtime.py +48 -6
  72. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/box/test_server.py +20 -2
  73. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/box/test_skill_store.py +2 -0
  74. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/box/test_storage_analysis.py +18 -0
  75. langbot_plugin-0.7.27/tests/box/test_windows_host_backend.py +216 -0
  76. langbot_plugin-0.7.27/tests/box/test_windows_workspace_operations.py +147 -0
  77. langbot_plugin-0.7.27/tests/box/test_workspace_cleanup.py +149 -0
  78. langbot_plugin-0.7.27/tests/box/test_workspace_cleanup_backend.py +354 -0
  79. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/cli/test_buildplugin.py +61 -2
  80. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/cli/test_cli_main.py +41 -13
  81. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/cli/test_runplugin.py +9 -9
  82. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/data/execution_api_catalog.json +245 -0
  83. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/runtime/io/handlers/test_control_handler.py +1 -1
  84. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/runtime/io/handlers/test_plugin_handler.py +113 -0
  85. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/runtime/io/test_audit_correlation.py +19 -0
  86. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/runtime/io/test_heartbeat_admission.py +9 -11
  87. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/runtime/io/test_stdio_encoding.py +12 -0
  88. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/runtime/plugin/test_manager.py +54 -0
  89. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/runtime/plugin/test_plugin_logs_real_worker.py +18 -2
  90. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/runtime/plugin/test_worker_launcher.py +96 -0
  91. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/runtime/test_ops_metrics.py +3 -5
  92. langbot_plugin-0.7.27/tests/test_log.py +82 -0
  93. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/test_plugin_logbuffer.py +60 -4
  94. langbot_plugin-0.7.27/tests/test_skill_publication_resources.py +377 -0
  95. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/test_skill_store.py +67 -0
  96. langbot_plugin-0.7.27/tests/test_skill_zip_import.py +85 -0
  97. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/test_storage.py +7 -1
  98. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/utils/test_packaging_utils.py +20 -0
  99. langbot_plugin-0.7.25/src/langbot_plugin/box/file_io.py +0 -109
  100. langbot_plugin-0.7.25/src/langbot_plugin/utils/log.py +0 -30
  101. langbot_plugin-0.7.25/src/langbot_plugin/version.py +0 -1
  102. langbot_plugin-0.7.25/tests/api/proxies/test_box_api.py +0 -79
  103. langbot_plugin-0.7.25/tests/test_log.py +0 -32
  104. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/.gitignore +0 -0
  105. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/.python-version +0 -0
  106. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/CLAUDE.md +0 -0
  107. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/CONTRIBUTING.md +0 -0
  108. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/LICENSE +0 -0
  109. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/README.md +0 -0
  110. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/README_CN.md +0 -0
  111. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/SOURCE.json +0 -0
  112. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/data/.env.example +0 -0
  113. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/docs/Message.md +0 -0
  114. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/docs/PluginPages.md +0 -0
  115. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/docs/agent-runner-interactions.md +0 -0
  116. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/docs/agent-runner-pluginization/PROTOCOL_V1.md +0 -0
  117. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/docs/agent-runner-pluginization/README.md +0 -0
  118. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/docs/agent-runner-pluginization/SDK_RUNTIME_PLAN.md +0 -0
  119. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/docs/box-instance-identity.md +0 -0
  120. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/docs/certified-plugins.md +0 -0
  121. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/docs/communication/apis/lb2rt.md +0 -0
  122. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/docs/communication/runtime_plugin.md +0 -0
  123. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/docs/dependency-management.md +0 -0
  124. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/docs/langbot-plugin-social.png +0 -0
  125. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/docs/runner.md +0 -0
  126. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/docs/stateless-components.md +0 -0
  127. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/examples/workspace_runner_plugin/README.md +0 -0
  128. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/examples/workspace_runner_plugin/components/runner/default.py +0 -0
  129. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/examples/workspace_runner_plugin/components/runner/default.yaml +0 -0
  130. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/examples/workspace_runner_plugin/main.py +0 -0
  131. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/examples/workspace_runner_plugin/manifest.yaml +0 -0
  132. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/local_e2e/acceptance.json +0 -0
  133. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/local_e2e/registration_fanin.py +0 -0
  134. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/local_e2e/run_acceptance.py +0 -0
  135. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/mypy.ini +0 -0
  136. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/scripts/check_action_consistency.py +0 -0
  137. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/scripts/runtime_resource_probe.py +0 -0
  138. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/__init__.py +0 -0
  139. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/__init__.py +0 -0
  140. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/agent_tools/__init__.py +0 -0
  141. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/agent_tools/asset_gateway.py +0 -0
  142. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/agent_tools/daemon.py +0 -0
  143. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/agent_tools/decorators.py +0 -0
  144. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/agent_tools/mcp_access.py +0 -0
  145. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/agent_tools/mcp_bridge.py +0 -0
  146. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/agent_tools/mcp_config.py +0 -0
  147. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/agent_tools/mcp_protocol.py +0 -0
  148. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/agent_tools/mcp_stdio.py +0 -0
  149. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/definition/__init__.py +0 -0
  150. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/definition/abstract/__init__.py +0 -0
  151. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/definition/abstract/platform/__init__.py +0 -0
  152. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/definition/abstract/platform/adapter.py +0 -0
  153. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/definition/abstract/platform/event_logger.py +0 -0
  154. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/definition/components/__init__.py +0 -0
  155. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/definition/components/base.py +0 -0
  156. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/definition/components/command/__init__.py +0 -0
  157. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/definition/components/command/command.py +0 -0
  158. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/definition/components/common/__init__.py +0 -0
  159. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/definition/components/common/event_listener.py +0 -0
  160. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/definition/components/knowledge_engine/__init__.py +0 -0
  161. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/definition/components/knowledge_engine/engine.py +0 -0
  162. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/definition/components/page/__init__.py +0 -0
  163. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/definition/components/parser/__init__.py +0 -0
  164. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/definition/components/parser/parser.py +0 -0
  165. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/definition/components/runner/__init__.py +0 -0
  166. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/definition/components/runner/runner.py +0 -0
  167. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/definition/components/tool/__init__.py +0 -0
  168. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/definition/components/tool/tool.py +0 -0
  169. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/definition/plugin.py +0 -0
  170. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/entities/__init__.py +0 -0
  171. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/entities/builtin/__init__.py +0 -0
  172. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/entities/builtin/command/__init__.py +0 -0
  173. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/entities/builtin/command/context.py +0 -0
  174. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/entities/builtin/command/errors.py +0 -0
  175. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/entities/builtin/pipeline/__init__.py +0 -0
  176. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/entities/builtin/pipeline/query.py +0 -0
  177. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/entities/builtin/platform/__init__.py +0 -0
  178. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/entities/builtin/platform/entities.py +0 -0
  179. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/entities/builtin/platform/errors.py +0 -0
  180. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/entities/builtin/platform/events.py +0 -0
  181. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/entities/builtin/platform/logger.py +0 -0
  182. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/entities/builtin/provider/__init__.py +0 -0
  183. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/entities/builtin/provider/message.py +0 -0
  184. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/entities/builtin/provider/prompt.py +0 -0
  185. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/entities/builtin/provider/reasoning.py +0 -0
  186. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/entities/builtin/provider/session.py +0 -0
  187. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/entities/builtin/rag/__init__.py +0 -0
  188. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/entities/builtin/rag/context.py +0 -0
  189. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/entities/builtin/rag/enums.py +0 -0
  190. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/entities/builtin/rag/errors.py +0 -0
  191. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/entities/builtin/rag/models.py +0 -0
  192. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/entities/builtin/resource/__init__.py +0 -0
  193. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/entities/builtin/resource/tool.py +0 -0
  194. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/entities/builtin/runner/__init__.py +0 -0
  195. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/entities/builtin/runner/capabilities.py +0 -0
  196. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/entities/builtin/runner/compat.py +0 -0
  197. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/entities/builtin/runner/context_access.py +0 -0
  198. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/entities/builtin/runner/delivery.py +0 -0
  199. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/entities/builtin/runner/errors.py +0 -0
  200. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/entities/builtin/runner/event.py +0 -0
  201. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/entities/builtin/runner/interaction.py +0 -0
  202. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/entities/builtin/runner/manifest.py +0 -0
  203. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/entities/builtin/runner/page_results.py +0 -0
  204. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/entities/builtin/runner/permissions.py +0 -0
  205. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/entities/builtin/runner/resources.py +0 -0
  206. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/entities/builtin/runner/result.py +0 -0
  207. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/entities/builtin/runner/run_ledger.py +0 -0
  208. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/entities/builtin/runner/runtime.py +0 -0
  209. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/entities/builtin/runner/runtime_registry.py +0 -0
  210. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/entities/builtin/runner/state.py +0 -0
  211. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/entities/builtin/runner/stats.py +0 -0
  212. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/entities/builtin/runner/steering.py +0 -0
  213. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/entities/builtin/runner/transcript.py +0 -0
  214. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/entities/builtin/runner/trigger.py +0 -0
  215. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/entities/context.py +0 -0
  216. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/entities/events.py +0 -0
  217. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/entities/execution.py +0 -0
  218. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/entities/permissions.py +0 -0
  219. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/proxies/__init__.py +0 -0
  220. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/proxies/base.py +0 -0
  221. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/proxies/event_context.py +0 -0
  222. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/proxies/execute_context.py +0 -0
  223. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/proxies/execution.py +0 -0
  224. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/proxies/invocation.py +0 -0
  225. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/proxies/query_based_api.py +0 -0
  226. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/proxies/runner/__init__.py +0 -0
  227. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/proxies/runner/api.py +0 -0
  228. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/proxies/runner/platform.py +0 -0
  229. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/proxies/runner/reply_stream.py +0 -0
  230. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/proxies/runner/resources.py +0 -0
  231. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/api/proxies/runner/state.py +0 -0
  232. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/artifact.py +0 -0
  233. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/assets/__init__.py +0 -0
  234. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/assets/langbot-page-sdk.js +0 -0
  235. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/assets/templates/.env.example.example +0 -0
  236. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/assets/templates/.github/workflows/release.yml.example +0 -0
  237. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/assets/templates/.gitignore.example +0 -0
  238. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/assets/templates/.vscode/launch.json.example +0 -0
  239. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/assets/templates/README.md.example +0 -0
  240. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/assets/templates/__init__.py +0 -0
  241. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/assets/templates/assets/icon.svg.example +0 -0
  242. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/assets/templates/components/__init__.py +0 -0
  243. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/assets/templates/components/commands/__init__.py +0 -0
  244. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/assets/templates/components/commands/{cmd_name}.py.example +0 -0
  245. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/assets/templates/components/commands/{cmd_name}.yaml.example +0 -0
  246. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/assets/templates/components/event_listener/__init__.py +0 -0
  247. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/assets/templates/components/event_listener/default.py.example +0 -0
  248. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/assets/templates/components/event_listener/default.yaml.example +0 -0
  249. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/assets/templates/components/knowledge_engine/__init__.py +0 -0
  250. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/assets/templates/components/knowledge_engine/{knowledge_engine_name}.py.example +0 -0
  251. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/assets/templates/components/knowledge_engine/{knowledge_engine_name}.yaml.example +0 -0
  252. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/assets/templates/components/pages/{page_name}.html.example +0 -0
  253. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/assets/templates/components/pages/{page_name}.yaml.example +0 -0
  254. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/assets/templates/components/parser/__init__.py +0 -0
  255. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/assets/templates/components/parser/{parser_name}.py.example +0 -0
  256. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/assets/templates/components/parser/{parser_name}.yaml.example +0 -0
  257. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/assets/templates/components/runner/__init__.py +0 -0
  258. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/assets/templates/components/runner/{runner_name}.py.example +0 -0
  259. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/assets/templates/components/runner/{runner_name}.yaml.example +0 -0
  260. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/assets/templates/components/tools/__init__.py +0 -0
  261. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/assets/templates/components/tools/{tool_name}.py.example +0 -0
  262. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/assets/templates/components/tools/{tool_name}.yaml.example +0 -0
  263. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/assets/templates/main.py.example +0 -0
  264. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/assets/templates/readme/README_zh_Hans.md.example +0 -0
  265. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/assets/templates/requirements.txt.example +0 -0
  266. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/box/__init__.py +0 -0
  267. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/box/identity.py +0 -0
  268. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/box/nsjail_backend.py +0 -0
  269. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/box/security.py +0 -0
  270. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/box/tenancy.py +0 -0
  271. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/certification.py +0 -0
  272. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/cli/__main__.py +0 -0
  273. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/cli/commands/__init__.py +0 -0
  274. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/cli/commands/buildplugin.py +0 -0
  275. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/cli/commands/gencomponent.py +0 -0
  276. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/cli/commands/initplugin.py +0 -0
  277. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/cli/commands/login.py +0 -0
  278. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/cli/commands/logout.py +0 -0
  279. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/cli/commands/publish.py +0 -0
  280. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/cli/gen/__init__.py +0 -0
  281. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/cli/gen/renderer.py +0 -0
  282. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/cli/i18n.py +0 -0
  283. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/cli/locales/__init__.py +0 -0
  284. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/cli/locales/en_US.py +0 -0
  285. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/cli/locales/es_ES.py +0 -0
  286. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/cli/locales/ja_JP.py +0 -0
  287. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/cli/locales/th_TH.py +0 -0
  288. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/cli/locales/vi_VN.py +0 -0
  289. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/cli/locales/zh_Hans.py +0 -0
  290. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/cli/locales/zh_Hant.py +0 -0
  291. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/cli/run/__init__.py +0 -0
  292. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/cli/run/controller.py +0 -0
  293. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/cli/run/hotreload.py +0 -0
  294. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/cli/utils/__init__.py +0 -0
  295. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/cli/utils/cloudsv.py +0 -0
  296. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/cli/utils/form.py +0 -0
  297. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/cli/utils/page_components.py +0 -0
  298. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/entities/__init__.py +0 -0
  299. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/entities/io/__init__.py +0 -0
  300. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/entities/io/actions/__init__.py +0 -0
  301. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/entities/io/context.py +0 -0
  302. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/entities/io/errors.py +0 -0
  303. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/entities/io/resp.py +0 -0
  304. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/entities/marketplace.py +0 -0
  305. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/runtime/LICENSE +0 -0
  306. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/runtime/README.md +0 -0
  307. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/runtime/__init__.py +0 -0
  308. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/runtime/bounded_executor.py +0 -0
  309. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/runtime/context.py +0 -0
  310. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/runtime/event_loop_monitor.py +0 -0
  311. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/runtime/helper/__init__.py +0 -0
  312. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/runtime/helper/marketplace.py +0 -0
  313. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/runtime/helper/pkgmgr.py +0 -0
  314. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/runtime/io/__init__.py +0 -0
  315. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/runtime/io/connection.py +0 -0
  316. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/runtime/io/connections/__init__.py +0 -0
  317. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/runtime/io/connections/ws.py +0 -0
  318. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/runtime/io/controller.py +0 -0
  319. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/runtime/io/controllers/__init__.py +0 -0
  320. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/runtime/io/controllers/stdio/__init__.py +0 -0
  321. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/runtime/io/controllers/stdio/client.py +0 -0
  322. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/runtime/io/controllers/stdio/server.py +0 -0
  323. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/runtime/io/controllers/ws/__init__.py +0 -0
  324. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/runtime/io/controllers/ws/client.py +0 -0
  325. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/runtime/io/controllers/ws/server.py +0 -0
  326. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/runtime/io/handlers/__init__.py +0 -0
  327. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/runtime/ops_metrics.py +0 -0
  328. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/runtime/plugin/__init__.py +0 -0
  329. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/runtime/plugin/artifact.py +0 -0
  330. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/runtime/plugin/container.py +0 -0
  331. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/runtime/plugin/dependency_environment.py +0 -0
  332. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/runtime/plugin/restart_coordinator.py +0 -0
  333. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/runtime/plugin/runner_service.py +0 -0
  334. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/runtime/plugin/worker_observability.py +0 -0
  335. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/runtime/plugin/worker_watchdog.py +0 -0
  336. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/runtime/security.py +0 -0
  337. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/runtime/settings.py +0 -0
  338. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/storage.py +0 -0
  339. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/utils/__init__.py +0 -0
  340. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/utils/deadline.py +0 -0
  341. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/utils/discover/__init__.py +0 -0
  342. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/utils/discover/engine.py +0 -0
  343. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/utils/git_sync.py +0 -0
  344. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/utils/importutil.py +0 -0
  345. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/utils/page_components.py +0 -0
  346. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/utils/platform.py +0 -0
  347. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/src/langbot_plugin/workspace.py +0 -0
  348. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/__init__.py +0 -0
  349. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/api/definition/components/test_components.py +0 -0
  350. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/api/definition/components/test_imports.py +0 -0
  351. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/api/definition/test_manifest.py +0 -0
  352. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/api/definition/test_manifest_component_path.py +0 -0
  353. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/api/entities/builtin/runner/test_context_result.py +0 -0
  354. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/api/entities/builtin/runner/test_history_event_entities.py +0 -0
  355. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/api/entities/builtin/runner/test_interaction.py +0 -0
  356. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/api/entities/builtin/runner/test_run_ledger_entities.py +0 -0
  357. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/api/entities/builtin/test_command_context.py +0 -0
  358. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/api/entities/builtin/test_platform_logger.py +0 -0
  359. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/api/entities/builtin/test_provider_message.py +0 -0
  360. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/api/entities/builtin/test_rag_models.py +0 -0
  361. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/api/entities/test_context.py +0 -0
  362. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/api/entities/test_events.py +0 -0
  363. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/api/proxies/__init__.py +0 -0
  364. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/api/proxies/test_base.py +0 -0
  365. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/api/proxies/test_langbot_api.py +0 -0
  366. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/api/proxies/test_llm_stream_ownership.py +0 -0
  367. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/api/proxies/test_query_based_api.py +0 -0
  368. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/api/proxies/test_reasoning_parameter.py +0 -0
  369. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/api/test_runner_handlers.py +0 -0
  370. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/api/test_runner_handlers_matrix.py +0 -0
  371. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/api/test_runner_public_apis.py +0 -0
  372. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/api/test_workspace_domains.py +0 -0
  373. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/api/test_workspace_operations.py +0 -0
  374. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/box/__init__.py +0 -0
  375. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/box/conftest.py +0 -0
  376. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/box/test_admission.py +0 -0
  377. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/box/test_artifact_cache_root.py +0 -0
  378. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/box/test_backend.py +0 -0
  379. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/box/test_backend_selection.py +0 -0
  380. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/box/test_e2b_backend.py +0 -0
  381. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/box/test_host_backend.py +0 -0
  382. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/box/test_identity.py +0 -0
  383. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/box/test_nsjail_backend.py +0 -0
  384. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/box/test_nsjail_v1_live.py +0 -0
  385. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/cli/run/test_controller.py +0 -0
  386. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/cli/run/test_hotreload.py +0 -0
  387. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/cli/run/test_runtime_handler.py +0 -0
  388. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/cli/test_examples.py +0 -0
  389. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/cli/test_gencomponent.py +0 -0
  390. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/cli/test_i18n_form.py +0 -0
  391. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/cli/test_initplugin.py +0 -0
  392. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/cli/test_login.py +0 -0
  393. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/cli/test_logout_publish.py +0 -0
  394. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/cli/test_page_components.py +0 -0
  395. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/cli/test_renderer.py +0 -0
  396. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/cli/test_runner_usages.py +0 -0
  397. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/e2e/Dockerfile.box-socket +0 -0
  398. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/e2e/Dockerfile.box-socket.dockerignore +0 -0
  399. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/e2e/standalone_runtime_eba_probe.py +0 -0
  400. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/e2e/test_box_file_transfer_live.py +0 -0
  401. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/e2e/test_box_instance_cleanup_docker.py +0 -0
  402. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/e2e/test_box_socket_mounts.py +0 -0
  403. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/e2e/test_nsjail_large_commands.py +0 -0
  404. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/e2e/test_run_mount_isolation.py +0 -0
  405. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/entities/io/test_dependency_errors.py +0 -0
  406. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/entities/io/test_protocol.py +0 -0
  407. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/fixtures/eba_event_probe_plugin/.gitignore +0 -0
  408. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/fixtures/eba_event_probe_plugin/assets/icon.svg +0 -0
  409. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/fixtures/eba_event_probe_plugin/components/event_listener/default.py +0 -0
  410. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/fixtures/eba_event_probe_plugin/components/event_listener/default.yaml +0 -0
  411. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/fixtures/eba_event_probe_plugin/main.py +0 -0
  412. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/fixtures/eba_event_probe_plugin/manifest.yaml +0 -0
  413. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/helpers/__init__.py +0 -0
  414. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/helpers/protocol.py +0 -0
  415. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/packaging/test_installed_cli_blackbox.py +0 -0
  416. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/packaging/test_release_metadata.py +0 -0
  417. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/runtime/helper/test_marketplace.py +0 -0
  418. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/runtime/helper/test_pkgmgr.py +0 -0
  419. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/runtime/io/handlers/test_import_contracts.py +0 -0
  420. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/runtime/io/handlers/test_legacy_file_chunk.py +0 -0
  421. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/runtime/io/test_action_consistency.py +0 -0
  422. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/runtime/io/test_connections.py +0 -0
  423. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/runtime/io/test_controllers.py +0 -0
  424. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/runtime/io/test_handler.py +0 -0
  425. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/runtime/io/test_payload_limits.py +0 -0
  426. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/runtime/io/test_stdio_server.py +0 -0
  427. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/runtime/io/test_stream_flow_control.py +0 -0
  428. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/runtime/plugin/test_artifact_store.py +0 -0
  429. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/runtime/plugin/test_container.py +0 -0
  430. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/runtime/plugin/test_dependency_environment.py +0 -0
  431. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/runtime/plugin/test_event_dispatch_real_worker.py +0 -0
  432. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/runtime/plugin/test_exact_dify_real_worker.py +0 -0
  433. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/runtime/plugin/test_exact_legacy_sdk_compat.py +0 -0
  434. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/runtime/plugin/test_installation_manager.py +0 -0
  435. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/runtime/plugin/test_legacy_shadow.py +0 -0
  436. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/runtime/plugin/test_mgr_runner.py +0 -0
  437. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/runtime/plugin/test_mode_resource_limits.py +0 -0
  438. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/runtime/plugin/test_restart_coordinator.py +0 -0
  439. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/runtime/plugin/test_shared_worker_subprocess.py +0 -0
  440. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/runtime/plugin/test_worker_plugin_identity.py +0 -0
  441. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/runtime/plugin/test_workload_isolation.py +0 -0
  442. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/runtime/test_app.py +0 -0
  443. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/runtime/test_bounded_executor.py +0 -0
  444. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/runtime/test_event_loop_monitor.py +0 -0
  445. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/runtime/test_pull_api_handlers.py +0 -0
  446. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/runtime/test_security.py +0 -0
  447. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/test_artifact_materialization.py +0 -0
  448. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/test_certification.py +0 -0
  449. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/test_message.py +0 -0
  450. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/test_worker_observability.py +0 -0
  451. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/test_worker_watchdog.py +0 -0
  452. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/utils/test_cli_run_handler_packaging.py +0 -0
  453. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/utils/test_deadline.py +0 -0
  454. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/utils/test_discovery.py +0 -0
  455. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/utils/test_git_sync.py +0 -0
  456. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/utils/test_importutil.py +0 -0
  457. {langbot_plugin-0.7.25 → langbot_plugin-0.7.27}/tests/utils/test_platform.py +0 -0
@@ -11,7 +11,7 @@ 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 Core pins this package exactly (`langbot-plugin==X` in `../pyproject.toml`) and installs it from PyPI; testing Core against `sdk/` needs an explicit overlay install.
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
15
  - Releases: `sdk/vX.Y.Z` tags publish to PyPI; never a GitHub Release. See `RELEASING.md`.
16
16
 
17
17
  ## Essential Commands
@@ -57,13 +57,12 @@ uv run python scripts/check_action_consistency.py
57
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:
58
58
 
59
59
  ```bash
60
- # from the repository root: overlay the in-tree SDK on Core's venv
60
+ # from the repository root: install Core and this checkout's SDK
61
61
  uv sync --dev
62
- uv pip install ./sdk
63
- uv run --no-sync main.py
62
+ uv run main.py
64
63
  ```
65
64
 
66
- CI does the same in the `Core with in-tree SDK` job (`.github/workflows/run-tests.yml`); the SDK's own suite runs in `sdk-tests.yml`.
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.
67
66
 
68
67
  Standalone runtime flows:
69
68
 
@@ -85,7 +84,7 @@ Then configure LangBot as needed:
85
84
  - Treat action enums and Pydantic models as cross-process API contracts; update callers, handlers, and tests together.
86
85
  - Do not duplicate action strings outside the enum definitions.
87
86
  - Keep generated plugin templates, component base classes, CLI renderer behavior, and docs consistent when component contracts change.
88
- - 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.
89
88
  - Keep comments/docstrings in English and user-facing labels/descriptions i18n-ready.
90
89
  - Commit message format: `<type>(<scope>): <subject>`.
91
90
 
@@ -4,7 +4,7 @@ This document maps the plugin SDK in `sdk/` of the LangBot monorepo (formerly th
4
4
 
5
5
  ## What This Package Is
6
6
 
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`) and pinned exactly by LangBot Core.
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
 
@@ -23,7 +23,7 @@ The SDK shares the LangBot repository but is versioned and released separately.
23
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, change and test SDK and Core together in one PR, and release the SDK before the Core release that depends on it.
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
 
@@ -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,7 @@ 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.
449
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.
450
464
  - `box/models.py`: generic `BoxSpec`/read-only mount contracts, execution results, managed-process specs.
451
465
  - `box/client.py`: action-RPC client used by LangBot-side connector/service.
@@ -472,21 +486,44 @@ and only then advances the registry pointer. Updates require the current
472
486
  active or recoverable runs. Former mutable package directories are only a
473
487
  one-time online-upgrade import source.
474
488
 
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.
475
492
  `export_skill_publication` and `restore_skill_publication` preserve an exact
476
493
  publication across disposable stores without changing its tree revision.
477
494
  Core's optional database repository uses these helpers for temporary CRUD and
478
- verified execution caches; its database CAS owns the authoritative catalog.
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.
479
507
 
480
508
  The `PREPARE_ARTIFACT` action accepts a generic manifest/tree digest and a completed
481
509
  namespace-owned archive transfer. Cache hits still require the trusted current
482
510
  Workspace context and admission. `BoxSpec.artifact_mounts` references only digests;
483
511
  Runtime resolves them into its own read-only mounts and protects them until session
484
512
  cleanup finishes. It does not resolve a Core path or expose its cache host path.
485
- The Core Host-only preparation seam is available before the separate migration of
486
- native Skill execution and draft publication. See
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
487
524
  [Runtime artifact cache](../dev-docs/BOX_ARTIFACT_CACHE.md) for limits and ownership.
488
525
 
489
- LangBot Core also composes pinned revisions into generic read-only `BoxMountSpec`
526
+ In legacy mode, LangBot Core composes pinned revisions into generic read-only `BoxMountSpec`
490
527
  values. Ordinary fixed mounts include `content_digest` and `manifest_path` in
491
528
  the session signature; supported digest-addressed packages are excluded from it.
492
529
  Digest-addressed packages use the reserved
@@ -519,9 +556,19 @@ Run-bound tool calls propagate scoped cancellation through Plugin Runtime to Box
519
556
  EXEC. Cancellation cleanup uses the original request scope and remains bounded
520
557
  when cancellation repeats or the invocation is revoked.
521
558
  Cancelling an active execution retires its sandbox, as a command timeout
522
- does; persistent workspace files survive, but container-local files and managed
523
- 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.
524
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.
525
572
 
526
573
  There is no supported `python -m langbot_plugin.box` entrypoint; use `lbp box`.
527
574
 
@@ -545,21 +592,21 @@ LangBot sends Box config during initialization. Backend selection is controlled
545
592
 
546
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.
547
594
 
548
- ## Cross-Repo Development Flow
595
+ ## Coordinated Core and SDK Development
549
596
 
550
597
  When changing shared contracts:
551
598
 
552
- 1. Change this SDK repo first or in the same branch set.
553
- 2. Install the local SDK into LangBot's virtualenv: `uv pip install .` from this repo while LangBot's `.venv` is active.
554
- 3. Run LangBot with `uv run --no-sync ...` so `uv` does not replace the local SDK with the pinned PyPI package.
555
- 4. Exercise the exact path changed: plugin stdio, plugin WebSocket, `lbp run`, `lbp rt`, `lbp box`, Box WebSocket, or Box stdio.
556
-
557
- Workspace action-context support starts in SDK `0.4.15`. The instance-scoped
558
- Runtime handshake and complete `InstallationBinding` extend that protocol on
559
- the multi-tenant branch and require a coordinated LangBot Core change before
560
- release. Until a matching SDK version is published, Core must pin the exact
561
- pushed SDK commit; the already-published `0.4.14` artifact does not contain any
562
- 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`.
563
610
 
564
611
  The SDK `AGENTS.md` keeps the short command checklist; this file keeps the structural map.
565
612
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: langbot-plugin
3
- Version: 0.7.25
3
+ Version: 0.7.27
4
4
  Summary: This package contains the SDK, CLI for building plugins for LangBot, plus the runtime for hosting LangBot plugins
5
5
  Project-URL: Homepage, https://langbot.app
6
6
  Project-URL: Repository, https://github.com/langbot-app/LangBot/tree/master/sdk
@@ -17,9 +17,13 @@ its own CI (`.github/workflows/sdk-*.yml`) and its own PyPI package.
17
17
  accept `v*` tags, but a SDK release in the list would still hide Core updates
18
18
  from deployed instances. Write SDK release notes in the PR that bumps the version.
19
19
  - Never use plain `vX.Y.Z` tags for the SDK; those are Core releases.
20
- - Core installs the SDK from PyPI through the exact pin `langbot-plugin==X` in
21
- the root `pyproject.toml`. Core artifacts (wheel, sdist, Docker context,
22
- release ZIP, fnOS package) exclude `sdk/`.
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.
23
27
 
24
28
  ## Steps
25
29
 
@@ -34,13 +38,15 @@ its own CI (`.github/workflows/sdk-*.yml`) and its own PyPI package.
34
38
 
35
39
  3. Confirm the **SDK / Publish to PyPI** run and the new version on
36
40
  https://pypi.org/project/langbot-plugin/.
37
- 4. When Core needs the release, bump `langbot-plugin==X` in the root
38
- `pyproject.toml`, run `uv lock`, and release Core as usual.
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.
39
44
 
40
45
  ## Core release gate
41
46
 
42
- `scripts/check_sdk_release_pin.py` runs in the Core PyPI and Docker release
43
- workflows. It fails when:
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:
44
50
 
45
51
  - Core's pin differs from `sdk/pyproject.toml`;
46
52
  - that version is not on PyPI;
@@ -1,6 +1,6 @@
1
1
  # ExecutionAPI 操作一览与作用域说明
2
2
 
3
- LangBot Core 通过统一的 `ExecutionAPI` facade 暴露 80 项核心业务能力。插件与 Agent Runner 可以通过统一的授权契约与 SDK 入口调用这些能力。
3
+ LangBot Core 通过统一的 `ExecutionAPI` facade 暴露 83 项核心业务能力。插件与 Agent Runner 可以通过统一的授权契约与 SDK 入口调用这些能力。
4
4
 
5
5
  ## 作用域(Scopes)说明
6
6
 
@@ -72,10 +72,10 @@ async for chunk in api.execution.stream(
72
72
  | `execution.get_query_vars` | `plugin` | 否 | 否 | 获取当前查询的所有变量 |
73
73
  | `execution.create_new_conversation` | `plugin` | 是 | 否 | 为当前查询创建新会话 |
74
74
  | `execution.get_langbot_version` | `plugin_or_run` | 否 | 否 | 获取 LangBot Core 版本与 API 特性 |
75
+ | `execution.get_bots` | `plugin` | 否 | 否 | 获取已配置的机器人列表 |
75
76
  | `execution.list_tools` | `plugin` | 否 | 否 | 列出插件可访问的工具 |
76
77
  | `execution.list_commands` | `plugin` | 否 | 否 | 列出插件可访问的命令 |
77
78
  | `execution.list_plugins_manifest` | `plugin` | 否 | 否 | 列出插件 manifest |
78
- | `execution.get_bots` | `plugin` | 否 | 否 | 获取已配置的机器人列表 |
79
79
  | `execution.get_bot_info` | `plugin` | 否 | 否 | 获取指定机器人的详细信息 |
80
80
  | `execution.send_message` | `plugin_or_run` | 是 | 否 | 向目标实体主动发送消息 |
81
81
  | `execution.call_platform_api` | `plugin_or_run` | 是 | 否 | 调用底层平台通信 API |
@@ -122,7 +122,10 @@ async for chunk in api.execution.stream(
122
122
  | `execution.bind_box` | `run` | 是 | 否 | 将特定 Box 实例与当前运行绑定 |
123
123
  | `execution.import_box_attachments` | `run` | 是 | 否 | 导入附件至绑定的 Box 沙箱 |
124
124
  | `execution.read_input_attachment` | `run` | 否 | 否 | 按 ref 读取当前事件输入附件的字节 |
125
+ | `execution.read_input_attachment_content` | `run` | 否 | 否 | 按当前 Run 的冻结权限读取输入附件,返回有界文本或结构化媒体 |
125
126
  | `execution.export_box_files` | `run` | 是 | 否 | 导出 Box 沙箱生成的文件 |
127
+ | `execution.read_run_file` | `run` | 否 | 否 | 按当前 Run 的文件句柄有界读取已导出 Artifact 的结构化内容 |
128
+ | `execution.commit_run_files` | `run` | 是 | 否 | 按 Host 冻结并重新核验的执行器策略,将已导出文件发布给具名接收人 |
126
129
  | `execution.run_get` | `runner_admin` | 否 | 否 | 管理员查询指定 Agent Run 状态 |
127
130
  | `execution.run_list` | `runner_admin` | 否 | 否 | 管理员分页查询历史 Agent Run 列表 |
128
131
  | `execution.run_events_page` | `runner_admin` | 否 | 否 | 分页读取指定运行的事件 |
@@ -146,6 +149,8 @@ async for chunk in api.execution.stream(
146
149
  | `execution.list_application_operations` | `plugin_or_run` | 否 | 否 | 列出本次运行被授权的 ApplicationAPI 工作区操作及其 schema |
147
150
  | `execution.call_application_operation` | `plugin_or_run` | 是 | 否 | 以处理器身份调用本次运行被授权的 ApplicationAPI 工作区操作 |
148
151
 
152
+ 外部队列重新入队后,`execution.run_cancel_ack` 要求传入处理取消时保存的 `metadata.retry_count`,字段名为 `expected_retry_count`。同一确认重发时复用该值。首次执行和拥有新 ID 的运行可以省略。
153
+
149
154
  ---
150
155
 
151
156
  ## 内部通信/传输动作审计说明
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "langbot-plugin"
3
- version = "0.7.25"
3
+ version = "0.7.27"
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 = [
@@ -6,6 +6,7 @@ import base64
6
6
  import copy
7
7
  import json
8
8
  import typing
9
+ from urllib.parse import quote
9
10
 
10
11
  import pydantic
11
12
 
@@ -37,10 +38,22 @@ class ImportBoxArgs(EmptyArgs):
37
38
  attachment_ids: list[str] | None = None
38
39
 
39
40
 
40
- class ReadInputAttachmentArgs(EmptyArgs):
41
+ class ReadContentArgs(EmptyArgs):
42
+ mode: typing.Literal["auto", "text", "native", "pages"] = "auto"
43
+ offset: int = pydantic.Field(default=0, ge=0)
44
+ max_chars: int = pydantic.Field(default=8192, ge=1, le=16384)
45
+ page_start: int = pydantic.Field(default=1, ge=1)
46
+ page_end: int | None = pydantic.Field(default=None, ge=1)
47
+
48
+
49
+ class ReadInputAttachmentArgs(ReadContentArgs):
41
50
  ref: str = pydantic.Field(min_length=1)
42
51
 
43
52
 
53
+ class ReadRunFileArgs(ReadContentArgs):
54
+ file_id: str = pydantic.Field(min_length=1)
55
+
56
+
44
57
  class ReplyFilesArgs(EmptyArgs):
45
58
  file_ids: list[str] = pydantic.Field(min_length=1, max_length=100)
46
59
 
@@ -180,6 +193,7 @@ class AgentRunExternalTools:
180
193
  "langbot_bind_box",
181
194
  "langbot_import_box_attachments",
182
195
  "langbot_export_box_files",
196
+ "langbot_read_run_file",
183
197
  }
184
198
  )
185
199
  if any(
@@ -252,6 +266,88 @@ class AgentRunExternalTools:
252
266
  }
253
267
 
254
268
  structured = _dump_jsonable(result)
269
+ content_types = {"text", "image_base64", "file_base64", "image_url", "file_url"}
270
+ if (
271
+ isinstance(structured, list)
272
+ and structured
273
+ and all(
274
+ isinstance(item, dict) and item.get("type") in content_types
275
+ for item in structured
276
+ )
277
+ ):
278
+ contents = []
279
+ try:
280
+ for item in structured:
281
+ kind = item["type"]
282
+ if kind == "text":
283
+ if not isinstance(item.get("text"), str):
284
+ raise ValueError("Missing tool text content")
285
+ contents.append({"type": "text", "text": item["text"]})
286
+ elif kind in {"image_url", "file_url"}:
287
+ uri = (
288
+ item["image_url"]["url"]
289
+ if kind == "image_url"
290
+ else item["file_url"]
291
+ )
292
+ if not isinstance(uri, str) or not uri:
293
+ raise ValueError("Missing tool media URL")
294
+ contents.append(
295
+ {
296
+ "type": "resource_link",
297
+ "uri": uri,
298
+ "name": item.get("file_name") or "image",
299
+ }
300
+ )
301
+ else:
302
+ encoded = item[kind]
303
+ if not isinstance(encoded, str) or not encoded:
304
+ raise ValueError("Missing tool media payload")
305
+ mime_type = (
306
+ "image/png"
307
+ if kind == "image_base64"
308
+ else "application/octet-stream"
309
+ )
310
+ if encoded.startswith("data:"):
311
+ header, separator, encoded = encoded.partition(",")
312
+ if not separator or not header.endswith(";base64"):
313
+ raise ValueError("Invalid tool media data URL")
314
+ mime_type = header[5:-7]
315
+ if not mime_type or (
316
+ kind == "image_base64"
317
+ and not mime_type.startswith("image/")
318
+ ):
319
+ raise ValueError("Invalid tool media MIME type")
320
+ base64.b64decode(encoded, validate=True)
321
+ if kind == "image_base64":
322
+ contents.append(
323
+ {
324
+ "type": "image",
325
+ "data": encoded,
326
+ "mimeType": mime_type,
327
+ }
328
+ )
329
+ else:
330
+ contents.append(
331
+ {
332
+ "type": "resource",
333
+ "resource": {
334
+ "uri": "langbot-artifact:///"
335
+ + quote(
336
+ item.get("file_name") or "file", safe=""
337
+ ),
338
+ "mimeType": mime_type,
339
+ "blob": encoded,
340
+ },
341
+ }
342
+ )
343
+ return {"content": contents}
344
+ except (KeyError, TypeError, ValueError) as exc:
345
+ return {
346
+ "isError": True,
347
+ "content": [
348
+ {"type": "text", "text": f"Invalid tool media content: {exc}"}
349
+ ],
350
+ }
255
351
  if not isinstance(structured, dict):
256
352
  structured = {"result": structured}
257
353
  return {
@@ -503,18 +599,20 @@ class AgentRunExternalTools:
503
599
 
504
600
  @agent_tool(
505
601
  name="langbot_read_input_attachment",
506
- description="Read one current input attachment by ref, such as att-1 from [attachment att-1: ...] in the message. Returns name, mime_type, size and base64 content.",
602
+ description="Read a current input attachment by ref. Auto returns bounded text or a structured image; PDF defaults to text. Use native for PDF visual content with a supporting model. Text offsets are Unicode characters; use next_offset to continue. At most ten PDF pages per call. Page rendering is unavailable.",
507
603
  args_model=ReadInputAttachmentArgs,
508
604
  )
509
605
  async def read_input_attachment(self, args: ReadInputAttachmentArgs):
510
- data = await self.api.read_input_attachment(args.ref)
511
- return {
512
- "ref": data.ref,
513
- "name": data.name,
514
- "mime_type": data.mime_type,
515
- "size": data.size,
516
- "content_base64": base64.b64encode(data.data).decode("ascii"),
517
- }
606
+ return await self.api.read_input_attachment_content(**args.model_dump())
607
+
608
+ @agent_tool(
609
+ name="langbot_read_run_file",
610
+ description="Read a file ID returned by this run's sandbox export. Auto returns bounded text or a structured image; PDF defaults to text. Use native for PDF visual content with a supporting model. Text offsets are Unicode characters; use next_offset to continue. At most ten PDF pages per call. Page rendering is unavailable.",
611
+ args_model=ReadRunFileArgs,
612
+ read_only=True,
613
+ )
614
+ async def read_run_file(self, args: ReadRunFileArgs):
615
+ return await self.api.read_run_file(**args.model_dump())
518
616
 
519
617
  @agent_tool(
520
618
  name="langbot_export_box_files",
@@ -66,12 +66,31 @@ class I18nString(pydantic.BaseModel):
66
66
  return dic
67
67
 
68
68
 
69
+ class LangBotVersionRange(pydantic.BaseModel):
70
+ min: str | None = None
71
+ max: str | None = None
72
+
73
+ @pydantic.model_validator(mode="before")
74
+ @classmethod
75
+ def validate_bounds(cls, value):
76
+ from langbot_plugin.utils.version_compat import parse_range
77
+
78
+ parse_range(value)
79
+ return value
80
+
81
+
82
+ class Compatibility(pydantic.BaseModel):
83
+ langbot: LangBotVersionRange | None = None
84
+
85
+
69
86
  class Metadata(pydantic.BaseModel):
70
87
  """元数据"""
71
88
 
72
89
  name: str
73
90
  """名称"""
74
91
 
92
+ compatibility: Compatibility | None = None
93
+
75
94
  label: I18nString
76
95
  """标签"""
77
96
 
@@ -181,7 +200,21 @@ class ComponentManifest(pydantic.BaseModel):
181
200
  manifest=manifest,
182
201
  rel_path=rel_path,
183
202
  )
184
- self._metadata = Metadata(**manifest["metadata"])
203
+ metadata = manifest["metadata"]
204
+ try:
205
+ self._metadata = Metadata(**metadata)
206
+ except pydantic.ValidationError as error:
207
+ if not all(
208
+ item["loc"][:1] == ("compatibility",) for item in error.errors()
209
+ ):
210
+ raise
211
+ self._metadata = Metadata(
212
+ **{
213
+ key: value
214
+ for key, value in metadata.items()
215
+ if key != "compatibility"
216
+ }
217
+ )
185
218
  self._spec = manifest["spec"]
186
219
  if manifest.get("kind") == "Plugin" and "permissions" in self._spec:
187
220
  from langbot_plugin.api.entities.permissions import PluginPermissions
@@ -2,14 +2,15 @@ from __future__ import annotations
2
2
 
3
3
  import asyncio
4
4
  import base64
5
- import httpx
6
5
  import typing
7
- import aiofiles
8
6
  from datetime import datetime
9
7
  from pathlib import Path
10
8
 
11
9
  import pydantic
12
10
 
11
+ if typing.TYPE_CHECKING:
12
+ import httpx
13
+
13
14
 
14
15
  MAX_IMAGE_BYTES = 10 * 1024 * 1024
15
16
 
@@ -357,6 +358,8 @@ class Image(MessageComponent):
357
358
  async def get_bytes(self) -> typing.Tuple[bytes, str]:
358
359
  """Get image bytes and mimetype"""
359
360
  if self.url:
361
+ import httpx
362
+
360
363
  async with httpx.AsyncClient(timeout=30) as client:
361
364
  async with client.stream("GET", self.url) as response:
362
365
  response.raise_for_status()
@@ -384,6 +387,8 @@ class Image(MessageComponent):
384
387
  raise ValueError(f"Image exceeds the {MAX_IMAGE_BYTES}-byte limit")
385
388
  return decoded, mime_type
386
389
  elif self.path:
390
+ import aiofiles
391
+
387
392
  size = await asyncio.to_thread(Path(self.path).stat)
388
393
  if size.st_size > MAX_IMAGE_BYTES:
389
394
  raise ValueError(f"Image exceeds the {MAX_IMAGE_BYTES}-byte limit")
@@ -31,6 +31,11 @@ class BoxFile(pydantic.BaseModel):
31
31
  size: int
32
32
  path: str | None = None
33
33
  warning: str | None = None
34
+ artifact_id: str | None = None
35
+ mime_type: str | None = None
36
+ digest: str | None = None
37
+ lifecycle: str | None = None
38
+ expires_at: str | None = None
34
39
 
35
40
 
36
41
  class BoxAcquireRequest(pydantic.BaseModel):
@@ -190,6 +190,10 @@ class RunnerContext(pydantic.BaseModel):
190
190
  return None
191
191
  return await self.api.read_input_attachment(ref)
192
192
 
193
+ async def read_input_attachment_content(self, ref: str, **options) -> list[dict]:
194
+ """Read bounded text or structured media using this run's input grant."""
195
+ return await self.api.read_input_attachment_content(ref, **options)
196
+
193
197
  async def import_box_attachments(
194
198
  self, attachment_ids: list[str] | None = None
195
199
  ) -> list["BoxFile"]:
@@ -200,6 +204,14 @@ class RunnerContext(pydantic.BaseModel):
200
204
  """Export explicitly selected absolute sandbox paths; does not send them."""
201
205
  return await self.api.export_box_files(paths)
202
206
 
207
+ async def read_run_file(self, file_id: str, **options) -> list[dict]:
208
+ """Read a run-owned exported handle using the frozen Box grant."""
209
+ return await self.api.read_run_file(file_id, **options)
210
+
211
+ async def commit_run_files(self, file_ids: list[str]) -> list["BoxFile"]:
212
+ """Publish selected files to the Host-authorized recipient without sending a message."""
213
+ return await self.api.commit_run_files(file_ids)
214
+
203
215
  async def reply_files(self, file_ids: list[str]) -> typing.Any:
204
216
  """Explicitly reply with exported handles, subject to tool authorization."""
205
217
  return await self.api.reply_files(file_ids)
@@ -366,12 +378,15 @@ class RunnerContext(pydantic.BaseModel):
366
378
  run_id: str | None = None,
367
379
  reason: str | None = None,
368
380
  cleanup_confirmed: bool = True,
381
+ *,
382
+ expected_retry_count: int | None = None,
369
383
  ) -> AgentRun:
370
384
  """Acknowledge completed cancellation cleanup."""
371
385
  return await self.api.run_cancel_ack(
372
386
  run_id=run_id,
373
387
  reason=reason,
374
388
  cleanup_confirmed=cleanup_confirmed,
389
+ expected_retry_count=expected_retry_count,
375
390
  )
376
391
 
377
392
  async def run_retry(
@@ -41,7 +41,7 @@ class InputAttachment(pydantic.BaseModel):
41
41
  such as url, base64 or message_chain."""
42
42
 
43
43
  url: str | None = None
44
- """External URL when the attachment is backed by a URL."""
44
+ """Legacy external URL; current Hosts keep source locators private."""
45
45
 
46
46
  path: str | None = None
47
47
  """Sandbox/workspace path when Host has staged the attachment as a file."""