Versions in this module Expand all Collapse all v2 v2.16.1 Nov 27, 2026 v2.16.0 Nov 27, 2026 Changes in this version + const StatusChannel + const StatusEventName v2.15.0 Nov 25, 2026 Changes in this version + const EventName + const KindEvent + const KindPage + const LegacyEventName + func Prompt(payload json.RawMessage, question string, limit int) (string, error) + type Config struct + MCP MCP + To string + Token string + URL string + type Context struct + Key string + Kind string + Project string + Text string + Title string + type MCP struct + On bool + ReadOnly bool + Transport string + type Message struct + At time.Time + Context bool + From string + Project string + Role string + Text string + type Module struct + func New(cfg Config) *Module + func (m *Module) Name() string + func (m *Module) OnEventsDeleted(uuids []string) + func (m *Module) OnInit(db *sql.DB) error + func (m *Module) RegisterMigrations(migrator *storage.Migrator) error + func (m *Module) RegisterProtectedRoutes(mux *http.ServeMux, protect func(http.Handler) http.Handler) + func (m *Module) RegisterRoutes(_ *http.ServeMux, store event.Store) + func (m *Module) SetBroadcaster(b module.Broadcaster) + func (m *Module) Start(ctx context.Context) error + func (m *Module) Stop() error + func (m *Module) TCPServers() []tcp.ServerConfig + func (m *Module) Type() string + type Summary struct + ID int64 + Key string + Kind string + LastFrom string + Project string + Title string + To string + UpdatedAt time.Time + type Thread struct + Conversation string + CreatedAt time.Time + ID int64 + Key string + Kind string + Messages []Message + Project string + Title string + To string + UpdatedAt time.Time