local-dsh

command
v1.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 9, 2026 License: Apache-2.0 Imports: 15 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL