Go SDK
Go services, CLIs, and background jobs.
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 `go-sdk/`.
Setup
- 1Review and pin
go-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.
main.go
err := chirp.Track(ctx, chirp.AgentOptions{Name: "sync"}, func(a *chirp.Agent) error {
a.Update(ctx, "processing")
return runSync()
})