Versions in this module Expand all Collapse all v0 v0.0.2 Sep 12, 2026 v0.0.1 Sep 11, 2026 Changes in this version + var AuthHint = "check PATCH_TOKEN / --token" + var ErrNothingToCompact = errors.New("nothing to compact") + func DiscoverBaseURL(ctx context.Context, view ReadView, project string) (string, error) + func Run(ctx context.Context, argv []string, getenv func(string) string, io Io) int + type Invocation struct + APIHost string + BaseURL string + ContextID string + Continue bool + ID string + Interactive bool + JSON bool + Kind Kind + Kubeconfig string + Message string + Name string + Project string + TUI bool + Token TokenSource + func (inv Invocation) Execute(ctx context.Context, io Io) int + type Io interface + Err func(text string) + Out func(text string) + func StdIO() Io + type Kind int + const KindCard + const KindChat + const KindCompact + const KindConvList + const KindConvRename + const KindConvShow + const KindGapList + const KindGapReports + const KindResume + const KindTaskCancel + const KindTaskGet + type LineReader interface + ReadLine func() (line string, ok bool) + type ReadView struct + func ReadViewFor(inv Invocation) ReadView + type TokenSource func() (string, error) + func StaticToken(token string) TokenSource