Documentation
¶
Overview ¶
Package cfg defines MCP server defaults and limits.
These constants are used exclusively by the MCP server (internal/mcp) and are not configurable via .ctxrc. The truncation lengths (TruncateLen, TruncateContentLen) mirror values used in compact CLI output; if those become configurable, they should be unified into a shared location.
Index ¶
Constants ¶
View Source
const ( // ScanMaxSize is the maximum scanner buffer size for MCP messages (1 MB). ScanMaxSize = 1 << 20 // DefaultRecallLimit is the max sessions returned by ctx_recall. DefaultRecallLimit = 5 // MinWordLen is the shortest word considered for overlap matching. MinWordLen = 4 // MinWordOverlap is the minimum word matches to signal task completion. MinWordOverlap = 2 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.