kilo

package
v0.7.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 25, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

Package kilo implements the Kilo usage provider.

Auth: Property Inspector settings field or KILO_API_KEY environment variable, with fallback to the Kilo CLI auth file at ~/.local/share/kilo/auth.json. Endpoint: GET https://app.kilo.ai/api/trpc/{batch procedures}

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider struct{}

Provider fetches Kilo usage data.

func (Provider) BrandBg

func (Provider) BrandBg() string

BrandBg returns the background color used on button faces.

func (Provider) BrandColor

func (Provider) BrandColor() string

BrandColor returns the accent color used on button faces.

func (Provider) Fetch

Fetch returns the latest Kilo quota snapshot.

func (Provider) ID

func (Provider) ID() string

ID returns the provider identifier used by the registry.

func (Provider) MetricIDs

func (Provider) MetricIDs() []string

MetricIDs enumerates the metrics this provider can emit.

func (Provider) Name

func (Provider) Name() string

Name returns the human-readable provider name.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL