Skip to content

feat(box): add box runtime package and lbp box CLI command#44

Open
huanghuoguoguo wants to merge 10 commits intomainfrom
feat/sandbox
Open

feat(box): add box runtime package and lbp box CLI command#44
huanghuoguoguo wants to merge 10 commits intomainfrom
feat/sandbox

Conversation

@huanghuoguoguo
Copy link
Copy Markdown
Collaborator

@huanghuoguoguo huanghuoguoguo force-pushed the feat/sandbox branch 2 times, most recently from 033f09e to 4bdc2c4 Compare March 26, 2026 06:06
  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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant