openclawconv

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 24, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AgentIDFromSessionKey

func AgentIDFromSessionKey(sessionKey string) string

func CanonicalAgentID

func CanonicalAgentID(agentID string) string

CanonicalAgentID normalizes an agent ID to lowercase, replacing invalid characters with hyphens and trimming to 64 characters. Returns "" for empty input.

func ContentBlocks

func ContentBlocks(message map[string]any) []map[string]any

func ExtractAttachmentBlocks

func ExtractAttachmentBlocks(message map[string]any) []map[string]any

func ExtractMessageText

func ExtractMessageText(message map[string]any) string

func IsAttachmentBlock

func IsAttachmentBlock(block map[string]any) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL