Documentation
¶
Overview ¶
Package kiro reads sessions from Kiro CLI's classic, v2, and v3 stores.
Index ¶
- Constants
- func IsV3Path(path string) bool
- func ResolveHome() (string, error)
- type Store
- func (s *Store) FindByID(id string) (*session.Session, error)
- func (s *Store) FindByLocator(id, path string) (*session.Session, error)
- func (s *Store) GrepKeys(query string, regex bool) (map[string]struct{}, error)
- func (s *Store) Messages(sessionID string, limit int) ([]session.Message, time.Time, int, error)
- func (s *Store) MessagesForSession(sess *session.Session, limit int) ([]session.Message, time.Time, int, error)
- func (s *Store) Scan() ([]*session.Session, error)
- func (s *Store) ScanFiltered(allow map[string]struct{}) ([]*session.Session, error)
Constants ¶
View Source
const ( Binary = "kiro-cli" EnvHome = "KIRO_HOME" )
Variables ¶
This section is empty.
Functions ¶
func ResolveHome ¶
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func OpenAt ¶
OpenAt treats home as a self-contained Kiro fixture with data.sqlite3 at its root and sessions below it.
func (*Store) FindByLocator ¶
func (*Store) MessagesForSession ¶
Click to show internal directories.
Click to hide internal directories.