Documentation
¶
Overview ¶
Command local-dsh runs a local DSH brain on this computer for BMA: one executor connection (a BYO machine) that hosts bma-dsh-acp over ACP and runs its tools here, in the turn's working directory.
BMA_MACHINE_TOKEN=<machine token> BMA_LOCAL_MODEL_KEY=<your key> go run ./examples/local-dsh \ -base-url https://executor.example -machine-id mch_... -agent /path/to/bma-dsh-acp \ -model-base-url https://api.example/v1 -model my-model -work-root ~/bma-work
Events, approvals, cancel and turn ends go through BMA; the model is the node owner's endpoint (-model-base-url with BMA_LOCAL_MODEL_KEY), or the platform's per-turn model endpoint when turn.start carries one.
Output is one JSON object per line on stderr (a supervisor such as a desktop app reads it): "executor registered" with executor_id, connection log lines, and "interaction requested" / "interaction ended" with the platform interaction id, so a local UI can show the same approval card as every other client of the session and drop it when it is answered anywhere.