Documentation
¶
Overview ¶
Package parser defines buffer sizes and directory constants for session parsing.
Index ¶
Constants ¶
View Source
const ( // BufInitSize is the initial scanner buffer size for session parsing (64 KB). BufInitSize = 64 * 1024 // BufMaxSize is the maximum scanner buffer size for session parsing (1 MB). BufMaxSize = 1024 * 1024 )
View Source
const ( // LinesToPeek is the number of lines to scan when detecting file format. LinesToPeek = 50 // DirSubagents is the directory name for sidechain sessions that share // the parent sessionId and would cause duplicates if scanned. DirSubagents = "subagents" )
Parser configuration.
Variables ¶
View Source
var DefaultSessionPrefixes = []string{
"Session:",
}
DefaultSessionPrefixes are the built-in session header prefixes recognized by the Markdown parser. Users can extend this list via the session_prefixes key in .ctxrc.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.