fix: per-caller context on account lookup, stop on non-websocket receive, sanitize CLI output

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Vincent BourdonandClaude Opus 5.5 committed 2026-11-20 15:51:38 +01:00
1 parent 45f88378a6
commit 136e431917
8 files changed
+89 -7

No files matched your search

+3 -1
View File
@@ -64,7 +64,9 @@ Options: `WithNumber` (choose an account when several are linked),
Errors can be checked with `errors.Is`: `ErrNotLinked`,
`ErrMultipleAccounts`, `ErrUnavailable` (unreachable or 5xx),
`ErrRateLimited` (429), `ErrEmptyText`. Other API errors are `*APIError`
`ErrRateLimited` (429), `ErrEmptyText`, `ErrNotJSONRPC` (the service is not in
`MODE=json-rpc`/`json-rpc-native`; `Listen` stops instead of silently
consuming messages). Other API errors are `*APIError`
(`StatusCode`, `Message`). `Send` never retries.
See [`examples/`](examples/) for a complete app and a docker-compose file.