Skip to main content

Module constants

Module constants 

Source
Expand description

ContextVM protocol constants

Event kinds and tag names matching the ContextVM specification. See: https://contextvm.org

Modules§

tags
Nostr tag constants

Constants§

CTXVM_MESSAGES_KIND
ContextVM messages (ephemeral events, kind 25910)
DEFAULT_BOOTSTRAP_RELAY_URLS
Default relay targets for discoverability publication (CEP-17).
DEFAULT_LRU_SIZE
Default LRU cache size for deduplication
DEFAULT_TIMEOUT_MS
Default timeout for network/relay operations (30 seconds)
EPHEMERAL_GIFT_WRAP_KIND
Ephemeral variant of NIP-59 Gift Wrap (kind 21059, CEP-19)
GIFT_WRAP_KIND
Encrypted messages using NIP-59 Gift Wrap (kind 1059)
INITIALIZE_METHOD
MCP protocol method for the initialization request
MAX_MESSAGE_SIZE
Maximum message size (1MB)
NOTIFICATIONS_INITIALIZED_METHOD
MCP protocol method for the initialized notification
PROMPTS_LIST_KIND
Prompts list (addressable, kind 11320)
RELAY_LIST_METADATA_KIND
Replaceable relay list metadata event following NIP-65 (CEP-17)
RESOURCES_LIST_KIND
Resources list (addressable, kind 11318)
RESOURCETEMPLATES_LIST_KIND
Resource templates list (addressable, kind 11319)
SERVER_ANNOUNCEMENT_KIND
Server announcement (addressable, kind 11316)
TOOLS_LIST_KIND
Tools list (addressable, kind 11317)
UNENCRYPTED_KINDS
Kinds that should never be encrypted (public announcements)

Functions§

mcp_protocol_version