Node SDK
Node workers, build tasks, and TypeScript agents.
PreviewSDKchirp login
Source implementation only. Registry, marketplace, hosted installer, and publisher provenance remain unverified until the release checklist records a clean-machine receipt. Use the reviewed source under `node-sdk/`.
Setup
- 1Review and pin
node-sdk/; do not assume its package-manager name is published. - 2Pair this interactive host with a verified
chirp loginbuild. Review the matching code, host, provider, capabilities, and expiry in the browser. - 3Use
~/.chirp/config.json(0700 directory, 0600 file).~/.chirprcis a user-level read-only fallback; repository-local credentials are ignored. - 4Verify provider acceptance and the phone's delivery acknowledgement separately. Never call an accepted event delivered.
worker.ts
import { ChirpAgent } from "@chirp/sdk";
await ChirpAgent.run({ name: "worker" }, async (agent) => {
await agent.update("processing");
await runJob();
});