Versions in this module Expand all Collapse all v6 v6.9.3 Mar 25, 2026 Changes in this version + func CurrentLocale() string + func Run(port int, secretKey string, hook *LogHook, output io.Writer) error + func SetLocale(locale string) + func T(key string) string + func TabNames() []string + func ToggleLocale() + type App struct + func NewApp(port int, secretKey string, hook *LogHook) App + func (a App) Init() tea.Cmd + func (a App) Update(msg tea.Msg) (tea.Model, tea.Cmd) + func (a App) View() string + type Client struct + func NewClient(port int, secretKey string) *Client + func (c *Client) AddAPIKey(key string) error + func (c *Client) DeleteAPIKey(index int) error + func (c *Client) DeleteAuthFile(name string) error + func (c *Client) DeleteField(path string) error + func (c *Client) EditAPIKey(index int, newValue string) error + func (c *Client) GetAPIKeys() ([]string, error) + func (c *Client) GetAuthFiles() ([]map[string]any, error) + func (c *Client) GetAuthStatus(state string) (string, string, error) + func (c *Client) GetClaudeKeys() ([]map[string]any, error) + func (c *Client) GetCodexKeys() ([]map[string]any, error) + func (c *Client) GetConfig() (map[string]any, error) + func (c *Client) GetConfigYAML() (string, error) + func (c *Client) GetDebug() (bool, error) + func (c *Client) GetGeminiKeys() ([]map[string]any, error) + func (c *Client) GetLogs(after int64, limit int) ([]string, int64, error) + func (c *Client) GetOpenAICompat() ([]map[string]any, error) + func (c *Client) GetUsage() (map[string]any, error) + func (c *Client) GetVertexKeys() ([]map[string]any, error) + func (c *Client) PatchAuthFileFields(name string, fields map[string]any) error + func (c *Client) PutBoolField(path string, value bool) error + func (c *Client) PutConfigYAML(yamlContent string) error + func (c *Client) PutIntField(path string, value int) error + func (c *Client) PutStringField(path string, value string) error + func (c *Client) SetSecretKey(secretKey string) + func (c *Client) ToggleAuthFile(name string, disabled bool) error + type LogHook struct + func NewLogHook(bufSize int) *LogHook + func (h *LogHook) Chan() <-chan string + func (h *LogHook) Fire(entry *log.Entry) error + func (h *LogHook) Levels() []log.Level + func (h *LogHook) SetFormatter(f log.Formatter) v6.9.2-rc1 Mar 25, 2026