Releases: chatwoot/cli
v0.5.0
This release adds a new raw API escape hatch for cases where the CLI does not yet have a first-class command.
You can now run authenticated Chatwoot API requests directly from the CLI:
chatwoot api /conversations/123
chatwoot api -X PATCH /conversations/123 --data '{"status":"open"}'
chatwoot api --exact /api/v1/profileAccount-relative paths such as /conversations/123 are expanded automatically under /api/v1/accounts/<account_id>, so you do not need to include the account API prefix yourself. The command uses your existing CLI authentication, supports custom methods, JSON request bodies, file/stdin request bodies, and additional headers. JSON responses are formatted for readability, while non-JSON responses are printed as-is.
The API command help has also been expanded with a short explanation and examples, following the style of tools like gh api while keeping the output concise.
The bundled agent skill has been updated with stronger raw API guidance. Agents are instructed to prefer first-class commands, consult the Chatwoot application Swagger before raw API calls, and treat all writes as privileged actions. Mutating commands, including non-GET raw API calls, must never be run without explicit user confirmation.
The README was also simplified to focus on the core setup and usage flow, with the full command details delegated to the docs site.
There are no breaking changes.
Changelog
- 4e1a0a5: feat: add raw API command (#13) (@scmmishra)
- 24a64e2: feat: update skill (@scmmishra)
v0.4.0
Features
conv contactcommand — fetch the contact attached to a conversation directly from the conversation id, without a separate contacts lookup. (#10)- Version check — the CLI now checks for newer releases so users know when an update is available.
- Smarter install script — detects an existing install and skips the completion prompt on rerun, and uses the
installcommand when available. (#11)
CI & Tooling
- Added
govulncheckand ago mod tidydiff check. - Added a coverage task and a sticky coverage comment on PRs (gated to same-repo PRs so fork/Dependabot runs don't fail on the read-only token).
- Added dependency review for PRs.
- Bumped GitHub Actions versions and updated the Go toolchain. (#9)
Changelog
- 78a3853: chore(deps): bump github.com/alecthomas/kong from 1.14.0 to 1.15.0 (#4) (@dependabot[bot])
- 6369a46: chore(deps): bump github.com/getkin/kin-openapi from 0.133.0 to 0.138.0 (#8) (@dependabot[bot])
- 29f6cc8: chore(deps): bump golang.org/x/term from 0.31.0 to 0.43.0 (#6) (@dependabot[bot])
- 46c7f8e: feat: add conversation contact command (#10) (@scmmishra)
- 8957ba3: feat: add version check (@scmmishra)
- 2d00c8c: feat: remove .claude (@scmmishra)
- 448acaf: feat: update CI tasks (#9) (@scmmishra)
- 8e635fd: feat: update install script (#11) (@scmmishra)
- a936853: style: linting issues (@scmmishra)
v0.3.0
Changelog
- 0485cd8: feat: add skills (@scmmishra)
- 9506642: feat: pin goreleaser (@scmmishra)
- d635e8d: fix: avoid caching user id from env token (@scmmishra)
- e4e0995: fix: docs link (@scmmishra)
- b0ee798: fix: drop project bin/ from mise PATH (@scmmishra)
- 625067d: fix: go version (@scmmishra)
- c884465: fix: null-delimit find loop in mise agents task (@scmmishra)
- 5123d18: fix: pin zsh completion source to install path (@scmmishra)
- 27b6fc3: fix: prevent account override persistence (@scmmishra)
- 1bd31fe: fix: redact tokens in verbose logs (@scmmishra)
- 3ab99e3: fix: sanitize untrusted output fields (@scmmishra)
- 9de4a7b: fix: skill label usage (@scmmishra)
- f154b20: fix: spellcheck errors (@scmmishra)
- 7b01c5a: fix: validate smoke.sh base_url against URL userinfo bypass (@scmmishra)
- 059b0dd: style: fix linting errors (@scmmishra)
- a45194e: style: linting issues (@scmmishra)
v0.2.0
Changelog
- 64b6519: chore(ci): add CI for tests (@scmmishra)
- 86a483f: feat: add version command (@scmmishra)
- 146bc4f: feat: add whoami command and unify with me/auth status (@scmmishra)
- c4e88a0: feat: better completions (@scmmishra)
- 711d646: feat: better install script (@scmmishra)
- 6d67b75: fix: cd doesn't cleanly exit (@scmmishra)
- 48f319c: fix: go version (@scmmishra)
- 16b4ef1: fix: handle output writer errors to satisfy errcheck (@scmmishra)
v0.1.0
First release. A CLI for Chatwoot — list conversations, view details, reply, change status, assign, label, set priority. Reads/writes the same Chatwoot API your dashboard uses.
Install with curl -fsSL https://chwt.app/install-cli | sh, then chatwoot auth login. Pre-built binaries for macOS, Linux (x86_64 + arm64), and Windows. See the README for the full command surface.