- Automatisches Triage-Lernen aus Archiv-Ordnern im Nacht-Ingest: retention_days=0 (Archiv) → wichtig, retention_days>0 → unwichtig - Drei neue Discord-Commands: /email triage-history, triage-correct, triage-search - StoreDecision speichert jetzt Datum + Body-Zusammenfassung (max 200 Zeichen) - MIME-Multipart-Parsing mit PDF-Attachment-Extraktion (FetchWithBodyAndAttachments) - Deterministische IDs basierend auf Absender+Betreff (idempotente Upserts) - Rueckwaertskompatibles Parsing fuer alte Triage-Eintraege ohne Datum/Body Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
40 lines
874 B
Go
40 lines
874 B
Go
// actions.go – Typsichere Konstanten für Agent-Actions
|
||
package agents
|
||
|
||
const (
|
||
// Research
|
||
ActionQuery = "query"
|
||
|
||
// Memory
|
||
ActionStore = "store"
|
||
ActionIngest = "ingest"
|
||
|
||
// Task
|
||
ActionAdd = "add"
|
||
ActionList = "list"
|
||
ActionDone = "done"
|
||
ActionDelete = "delete"
|
||
|
||
// Memory
|
||
ActionIngestURL = "url"
|
||
ActionIngestPDF = "pdf"
|
||
ActionProfile = "profile"
|
||
ActionProfileShow = "profile-show"
|
||
|
||
// Knowledge
|
||
ActionKnowledgeList = "list"
|
||
ActionKnowledgeDelete = "delete"
|
||
|
||
// Tool/Email
|
||
ActionEmail = "email"
|
||
ActionEmailSummary = "summary"
|
||
ActionEmailUnread = "unread"
|
||
ActionEmailRemind = "remind"
|
||
ActionEmailIngest = "ingest"
|
||
ActionEmailMove = "move"
|
||
ActionEmailTriage = "triage"
|
||
ActionEmailTriageHistory = "triage-history"
|
||
ActionEmailTriageCorrect = "triage-correct"
|
||
ActionEmailTriageSearch = "triage-search"
|
||
)
|