Versions in this module Expand all Collapse all v1 v1.5.0 Apr 2, 2026 v0 v0.1.0 Apr 6, 2026 Changes in this version + func ExportPlayground(history []PlaygroundEntry) (string, error) + func FormatMultiPlatformReport(report MultiPlatformReport) string + func PassthroughArgs(args []string, skipFlags []string) bool + func SavePlayground(path string, history []PlaygroundEntry) error + type AutoValidationPipeline struct + func NewAutoValidationPipeline() *AutoValidationPipeline + func (avp *AutoValidationPipeline) AddValidator(name, command string) + func (avp *AutoValidationPipeline) Validate() []string + type CodeSummary struct + type CommandBreakdown struct + AvgPct float64 + AvgTime int64 + Command string + Count int + Saved int + type Correction struct + Category string + Confidence float64 + CorrectedCommand string + Count int + Example string + FailedCommand string + type DayBreakdown struct + Commands int + Date string + Original int + Saved int + type DeveloperPlayground struct + func NewDeveloperPlayground() *DeveloperPlayground + func (dp *DeveloperPlayground) GetHistory() []PlaygroundEntry + func (dp *DeveloperPlayground) TestPrompt(prompt, model string) PlaygroundEntry + type FileVariant struct + Filter string + Name string + Pattern string + type FilterVariants struct + FileVariants []FileVariant + OutputVariants []OutputVariant + func NewFilterVariants() *FilterVariants + func (fv *FilterVariants) AddFileVariant(name, pattern, filter string) + func (fv *FilterVariants) AddOutputVariant(name, pattern, filter string) + func (fv *FilterVariants) MatchFile(filePath string) string + func (fv *FilterVariants) MatchOutput(output string) string + type GainSummary struct + AvgSavingsPct float64 + AvgTimeMs int64 + ByCommand []CommandBreakdown + ByDay []DayBreakdown + TotalCommands int + TotalInput int + TotalOutput int + TotalSaved int + TotalTimeMs int64 + type LeaderboardEntry struct + Commands int + CostSaved float64 + Rank int + TokensSaved int64 + User string + type LearnResult struct + Corrections []Correction + Project string + RulesWritten bool + TotalErrors int + type LiveMonitor struct + func NewLiveMonitor() *LiveMonitor + func (lm *LiveMonitor) FormatLiveView() string + func (lm *LiveMonitor) Record(entry MonitorEntry) + type MonitorEntry struct + Cost float64 + InputTokens int + LatencyMs int64 + Model string + OutputTokens int + Timestamp time.Time + type MultiPlatformReport struct + Platforms []PlatformUsage + TotalCost float64 + TotalSessions int + TotalTokens int64 + type OutputVariant struct + Filter string + Name string + Pattern string + type PlatformUsage struct + CostUSD float64 + LastActive string + Model string + Name string + Sessions int + TokensUsed int64 + type PlaygroundEntry struct + Cost float64 + InputTokens int + Model string + OutputTokens int + Prompt string + Timestamp time.Time + func LoadPlayground(path string) ([]PlaygroundEntry, error) + type RemoteGainSync struct + func NewRemoteGainSync(token, endpoint string) *RemoteGainSync + func (rgs *RemoteGainSync) Sync(data map[string]any) error + type Validator struct + Command string + Name string