Sessionboxer

Reference

The sessionboxer command line

sessionboxer serve, service install, new, ls, open, stop, resume and rm: start the server, run it in the background and open sessions from a terminal, locally or against a remote server.

The sessionboxer command talks to the running server and opens the browser on the new session. It comes with the npm package (npx sessionboxer …, or on your PATH after npm i -g sessionboxer); from a checkout, npm link -w @sessionboxer/cli once.

sessionboxer serve                                   # start the server (same as npm start)
sessionboxer service install                         # …or run it in the background, now and at every login (macOS, Linux)
sessionboxer service status | stop | start | restart | log | uninstall
sessionboxer new .                                   # box the current directory
sessionboxer new . -p "run the tests and fix what breaks"
sessionboxer new . --provider devin --docker
sessionboxer new . --e2e                             # verify each turn end to end (--no-e2e to turn it off)
sessionboxer new . --model haiku                     # a model id as the provider names it
sessionboxer new . --model opus --option effort=high --option fast=on
sessionboxer new . --instructions @rules.md          # standing instructions from a file ("" for none)
sessionboxer new --git https://github.com/org/repo.git --ref main
sessionboxer new --git https://github.com/org/frontend@main --git https://github.com/org/backend ../docs   # several repositories, /workspace/<name> each
sessionboxer new --git https://github.com/org/repo.git --name app             # pick the directory name
sessionboxer new --git https://github.com/org/repo.git --git-name "Jane Doe" --git-email jane@work.example
sessionboxer new --empty -t scratch --no-open
sessionboxer ls
sessionboxer open [id] | stop <id> | resume <id> | rm <id>

SESSIONBOXER_URL points it at a server other than http://127.0.0.1:4000; on the machine that runs the Control Plane the CLI reads the access token from ~/.sessionboxer/config.json, elsewhere set SESSIONBOXER_TOKEN. sessionboxer token prints the token, sessionboxer pair a one-time login link for a browser.

This chapter is generated from docs/GUIDE.md in the Sessionboxer repository. Found a mistake? Open an issue.