Versions in this module Expand all Collapse all v0 v0.1.0 Apr 3, 2026 Changes in this version + const BaseDelayMs + const DefaultMaxRetries + const JitterFraction + const Max529Retries + const MaxDelayMs + func CalcRetryDelay(attempt int, retryAfter string) time.Duration + func IsRetryableStatusCode(code int) bool + func WithRetry(ctx context.Context, cfg RetryConfig, ...) error + type APIError struct + Message string + RetryAfter string + StatusCode int + func (e *APIError) Error() string + type RetryConfig struct + MaxRetries int + OnRetry func(attempt int, err error, delay time.Duration) + func DefaultRetryConfig() RetryConfig + type SubAgentEntry struct + Description string + Done bool + ID string + InputCh chan string + Name string + Result string + type SubAgentRegistry struct + func NewSubAgentRegistry() *SubAgentRegistry + func (r *SubAgentRegistry) Get(nameOrID string) *SubAgentEntry + func (r *SubAgentRegistry) List() []*SubAgentEntry + func (r *SubAgentRegistry) Register(entry *SubAgentEntry) + func (r *SubAgentRegistry) Remove(id string)