Versions in this module Expand all Collapse all v0 v0.210.0 Dec 1, 2026 v0.209.0 Dec 1, 2026 Changes in this version + const CodeBadRequest + const CodeBadToken + const CodeRevoked + const CodeUnsupportedMajor + const FeatureLeave + const FeatureMemories + const FeatureProposals + const FeatureRules + const FeatureUsage + const Major + const MaxBuckets + const MaxRuleRepoCount + const MaxRuleText + const MaxRuleTitle + const MaxRules + const Minor + const PathEnrol + const PathHello + const PathLeave + const PathReport + const PathRules + type Bucket struct + Agent string + Branch string + CacheRead int64 + CacheWrite int64 + Commits []string + CostUSD float64 + Dir string + Email string + Hour int64 + Loops []Loop + Model string + Repo string + RereadUSD float64 + RereadUnpriced int64 + SessionID string + SessionLastEvent int64 + SessionStart int64 + TokensIn int64 + TokensOut int64 + Turns int64 + UnpricedTurns int64 + type EnrolRequest struct + MachineID string + Status Status + Token string + type EnrolResponse struct + MachineSecret string + Team string + type Error struct + Code string + Message string + type Hello struct + Features []string + Majors []int + Minor int + Product string + Team string + Version string + type LeaveRequest struct + Reason string + type Loop struct + Calls int64 + CostUSD float64 + Tool string + type ReportResponse struct + Accepted int + type Rule struct + Author string + ID string + Repos []string + Revision int + Text string + Title string + UpdatedAt int64 + type RulesResponse struct + Rules []Rule + Version string + type Status struct + CaprockVersion string + Excluded int + Hidden []string + Major int + Minor int + OS string + type UsageReport struct + Buckets []Bucket + Major int + Minor int + Status Status