@pickaxe/harnesslayer
v1.1.7
Published
TypeScript SDK for the Harnesslayer API.
Readme
Harnesslayer TypeScript SDK
TypeScript SDK for the Harnesslayer API.
Install
npm install @pickaxe/harnesslayerQuick Start
import { Harnesslayer } from "@pickaxe/harnesslayer";
const client = new Harnesslayer({ apiKey: "dk-your-api-key" });
const app = await client.app.init("typedef-app", {
type: "claude",
versionPath: ".claude",
});
const channel = await app.channel.init("my-api", {
type: "api",
});
for await (const event of channel.run({
sessionId: "my-custom-session-id",
userId: "[email protected]",
input: "hello world",
})) {
if (event.done) break;
console.log(event);
}Development
npm install
npm run typecheck
npm run build