Provide a standalone agent client for l-ai-chat with service-token auth, safe at-least-once subscriptions, ordered cumulative ACK tracking, and self-contained gRPC fake tests. Co-authored-by: Cursor <cursoragent@cursor.com>
13 lines
433 B
Go
13 lines
433 B
Go
package chatclient
|
|
|
|
import "errors"
|
|
|
|
var (
|
|
ErrClosed = errors.New("chat client is closed")
|
|
ErrInvalidConfig = errors.New("invalid chat client configuration")
|
|
ErrStaleDelivery = errors.New("stale delivery")
|
|
ErrUnknownDelivery = errors.New("unknown delivery")
|
|
ErrSubscriptionReplaced = errors.New("subscription replaced")
|
|
ErrProtocolViolation = errors.New("chat service protocol violation")
|
|
)
|