feat(summarizer): add SummarizeForPush and use for Pushover; keep full WebUI/on-demand output; clamp only on push\ndocs: add AGENTS.md; revert CLAUDE.md release section

This commit is contained in:
Thomas Cravey 2025-09-05 06:58:38 -05:00
parent 2f9ab6a414
commit 8dc52976eb
7 changed files with 512 additions and 21 deletions

View file

@ -8,6 +8,9 @@ import (
)
type Summarizer interface {
Summarize(ctx context.Context, channel string, msgs []store.Message, window time.Duration) (string, error)
SummarizeLink(ctx context.Context, rawURL string) (string, error)
Summarize(ctx context.Context, channel string, msgs []store.Message, window time.Duration) (string, error)
// SummarizeForPush creates a digest tuned for push notifications (e.g., Pushover limits).
// Implementations should keep the output succinct and within ~1k characters.
SummarizeForPush(ctx context.Context, channel string, msgs []store.Message, window time.Duration) (string, error)
SummarizeLink(ctx context.Context, rawURL string) (string, error)
}