TypeScript SDK
Works locallyWorks in the local build today.
import { HareBox } from "@harebox/sdk";
const hb = new HareBox();
const box = await hb.create({ size: { preset: "default" } });
console.log((await box.run("echo hello")).stdout);
for await (const e of box.prompt("echo hi", { harness: "shell" })) console.log(e.type);
Every API operation is also a typed method, such as hb.getLimits().

