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:
1 parent
45f88378a6
commit
136e431917
8 files changed
+89
-7
No files matched your search
@@ -22,6 +22,10 @@ var (
|
||||
// ErrRateLimited means Signal rate-limited the account (HTTP 429).
|
||||
ErrRateLimited = errors.New("signalbot: rate limited")
|
||||
|
||||
// ErrNotJSONRPC means the service's receive endpoint is not a websocket:
|
||||
// the service must run with MODE=json-rpc or MODE=json-rpc-native.
|
||||
ErrNotJSONRPC = errors.New("signalbot: receive endpoint is not a websocket, run the service with MODE=json-rpc or json-rpc-native")
|
||||
|
||||
// ErrEmptyText means Send was called with an empty or blank text.
|
||||
ErrEmptyText = errors.New("signalbot: empty text")
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user