Documentation
¶
Index ¶
- func AgentIDFromSessionKey(sessionKey string) string
- func CanonicalAgentID(agentID string) string
- func ContentBlocks(message map[string]any) []map[string]any
- func ExtractAttachmentBlocks(message map[string]any) []map[string]any
- func ExtractMessageText(message map[string]any) string
- func IsAttachmentBlock(block map[string]any) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AgentIDFromSessionKey ¶
func CanonicalAgentID ¶
CanonicalAgentID normalizes an agent ID to lowercase, replacing invalid characters with hyphens and trimming to 64 characters. Returns "" for empty input.
func ExtractAttachmentBlocks ¶
func ExtractMessageText ¶
func IsAttachmentBlock ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.