Skip to main content

TOOL_FOLD_NAMESPACE

Constant TOOL_FOLD_NAMESPACE 

Source
pub const TOOL_FOLD_NAMESPACE: u64 = 0xA1F0_0001_0000_0000;
Expand description

Namespace for the per-buffer tool-call fold provider id. OR’d with the buffer’s id (low 32 bits) so the source is distinct in the registry — FoldOverlayService::add_source keys removal on the id. Distinct high bits from REASONING_FOLD_NAMESPACE so a buffer’s two AI fold sources register under different ids (they coexist over disjoint line regions). Distinct from diff’s 0xD1FF_* and multibuffer’s 0xBBBB_* namespaces.