@demicodes/host-local
v0.25.0
Published
Node LocalHost and open-box local AgentServer assembly (command bridge on by default).
Readme
@demicodes/host-local
The Node reference implementation of the @demicodes/shell Host contract: real
filesystem, process spawning, and a durable JSON store under the platform data
directory (…/demi/host-local/…). Also owns open-box local agent assembly —
command bridge on by default.
import { LocalHost, createLocalAgentServer } from '@demicodes/host-local'
const host = new LocalHost(process.cwd())
// Prefer createLocalAgentServer for local products: it wires the command-bridge
// UDS listener and PATH shims instead of hand-assembling AgentServer.
const server = createLocalAgentServer({ agent: harness, providers })LocalHost—Hostwith full localfs/process/store.createLocalAgentServer— localAgentServerfactory with command bridge defaults (see docs/command-bridge.md).- Command-bridge state under
~/.demi/$DEMI_HOME:bridges/,bridge-bin/.
LocalHostgrants full local filesystem and process access. For untrusted agents, supply a sandboxingHostinstead — see Implement a Host.
Part of Demi. Apache-2.0.
