Harness SDK Host Node

@zack/harness-sdk-host-node

Node SDK starter that runs AgentPM Harness through a hosted model, Hook, and approval controller.

Use case: harness-sdk-hostnode-sdkagentpm-harnessnodeworkspace
Bootstrap
agentpm new @zack/harness-sdk-host-node@0.1.2 my-project
Next steps
cp .env.local.example .env.local
Installs
1
All time
Stars
0
Unstarred
Latest stable
Today
v0.1.2

Harness SDK Host Node

Publishable source for the @zack/harness-sdk-host-node workflow template.

This template generates a TypeScript app that launches agentpm harness --machine through the Node SDK, registers a host model provider, adds a before-model Hook, approves an authored Loop checkpoint, and prints the resulting report summary and trace location.

Generated apps use a local root agent.json. The template does not install a published Agent package; the local Agent depends on the published @zack/react-loop@0.1.0 Loop, while agentpm.harness.json binds runtime services hosted by the Node app.

Before publishing:

agentpm lint
agentpm publish --dry-run

After publishing, smoke the generated app with:

agentpm new @zack/harness-sdk-host-node app-harness-sdk-host-node
cd app-harness-sdk-host-node
cp .env.local.example .env.local
pnpm install
pnpm dev

SDK compatibility update

Version 0.1.2 generates apps with SDK 0.1.17+ and requires AgentPM CLI 0.1.43+ on PATH (or configured through AGENTPM). Publish this version to make the updated scaffold available through agentpm new.

The template advertises both its SDK host and agentpm-harness execution surfaces so discovery matches the generated app's actual entrypoint.