feat(box): add box runtime package and lbp box CLI command#44
Open
huanghuoguoguo wants to merge 10 commits intomainfrom
Open
feat(box): add box runtime package and lbp box CLI command#44huanghuoguoguo wants to merge 10 commits intomainfrom
lbp box CLI command#44huanghuoguoguo wants to merge 10 commits intomainfrom
Conversation
033f09e to
4bdc2c4
Compare
Move sandbox box runtime code from LangBot core into the plugin SDK as `langbot_plugin.box` package. Add `lbp box` CLI command to start the box runtime standalone, similar to `lbp rt` for the plugin runtime. New package includes: actions, backend (Docker/Podman), client, errors, models, runtime, security, server, and `__main__` entry point
- add mount_path to box specs and session metadata - mount host paths at spec.mount_path instead of hard-coded /workspace - default workdir/cwd from mount_path when omitted - update runtime/backend logging and nsjail tests for custom mount paths
Accept Windows-style absolute paths (e.g. C:\Users\...) in host_path validation, and make security path comparison case-insensitive and separator-aware on Windows. Only the Docker backend is supported on Windows (via Docker Desktop); Podman and nsjail remain Linux-only.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
关联查看 langbot-app/LangBot#2072