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:
parent
2f9ab6a414
commit
8dc52976eb
7 changed files with 512 additions and 21 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue