Add `BoxdSandbox(secrets=)`, naming the boxd secrets a new machine gets
Stack: #13587 E2B network → #13589 boxd secrets → #13590 Daytona secrets → #13591 OpenSandbox network_policy/credential_proxy → #13592 clai2 /sandbox. Each harness PR stands alone; clai2 uses the first two.
Why we make these changes
Part of #13593. An agent in a cloud sandbox needs credentials (a GitHub token for git push and gh) that its commands can use but not read, so a prompt injection cannot copy them out. boxd secrets bound to domains reach a machine only as a bxds_ stand-in, which boxd's proxy swaps for the value on HTTPS requests to those domains. This PR passes that option through unchanged, under the SDK's own name, so users write what the provider documents.
New public surface
BoxdSandbox(secrets=)andBoxdSandboxBackend(secrets=): secret names, applied asboxd.spec.secrets(*secrets)in a new machine's spec.
User-visible behavior
Before: no way to give the sandbox's commands a credential they cannot read. After: the new docs section "Give commands a credential they cannot read" shows it for a GitHub token. Without the option, sandbox creation is unchanged.
Verification
tests/harness/boxd_sandbox/test_backend.py::test_secrets_go_in_the_machine_spec,tests/harness/boxd_sandbox/test_boxd_sandbox.py::test_capability_forwards_secrets_to_the_machine_spec- Live on boxd with a dummy value against httpbin: the stand-in was swapped, including inside Basic auth, on an isolated machine.
What changes for existing users
Nothing.
Checklist
- No breaking changes in accordance with the version policy.
- Any permitted compatibility impact has a label, warning, migration and release note, and an exact API-check waiver if the gate reports it.
- PR title is fit for the release changelog.