Something went wrong. Try again.
forked niri
Something went wrong. Try again.
README.md
@nano/harness-client-node #
A persistent Bash plus local read, edit, and image tools behind a tiny HTTP server.
Start the bundled executable:
harness-tool-client
It listens on 0.0.0.0:3002 and uses the client's home directory as its workspace. Optional flags are --host, --port, --workspace, and --capabilities.
import { NodeToolHost, ToolClientHttpServer } from "@nano/harness-client-node"
const host = new NodeToolHost({ workspace: { root: "/srv/workspace" } })
const server = new ToolClientHttpServer({ host })
await server.start()
Use the HTTP listener only on loopback or a trusted private network; any reachable caller can invoke its exposed tools.