Documentation
¶
Index ¶
Constants ¶
View Source
const ( DefaultMaxInFlightToolCalls = 4 DefaultToolTimeout = 45 * time.Second MinToolTimeout = 5 * time.Second MaxToolTimeout = 10 * time.Minute DefaultMaxMessageSize = 4 * 1024 * 1024 DefaultMaxToolResultBytes = 50_000 MaxMessageSize = 100 * 1024 * 1024 MaxToolResultBytes = 100 * 1024 * 1024 DefaultToolset = "all" DefaultCircuitBreakerFailureThreshold = 5 DefaultCircuitBreakerOpenDuration = 45 * time.Second DefaultCircuitBreakerHalfOpenProbes = 1 )
View Source
const DefaultBaseURL = "https://api.clockify.me/api/v1"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OneUserConfig ¶
type OneUserConfig struct {
APIKey string
WorkspaceID string
Timezone string
BaseURL string
LogLevel string
MaxInFlightToolCalls int
ToolTimeout time.Duration
MaxMessageSize int64
MaxToolResultBytes int
ToolRateLimitPerMinute int
Toolset string
EnableRawWrites bool
RawWriteDocumentedOnly bool
WebhookAllowedDomains []string
CircuitBreaker clockify.CircuitBreakerConfig
}
OneUserConfig is the complete runtime configuration for the one-user/full-access stdio product path.
func LoadOneUser ¶
func LoadOneUser() (OneUserConfig, error)
LoadOneUser reads the intentionally tiny environment surface used by the one-user stdio runtime. It ignores the broader platform-era configuration matrix by design.
Click to show internal directories.
Click to hide internal directories.