Skip to main content

Module types

Module types 

Source
Expand description

On-disk schema for Cursor’s bubble store. See docs/agents/formats/cursor.md for the full field census.

Structs§

Bubble
BubbleGrouping
BubbleHeader
ComposerData
ComposerHead
ComposerHeaders
CursorSession
CursorSessionMetadata
ModelConfig
ModelInfo
SelectedModel
ThinkingBlock
TokenCount
ToolFormerData
params and result are JSON strings (double-encoded on the wire); parse on use via ToolFormerData::parse_params / ToolFormerData::parse_result.
WorkspaceIdentifier
WorkspaceUri

Constants§

BUBBLE_TYPE_ASSISTANT
BUBBLE_TYPE_USER
CAPABILITY_THINKING
CAPABILITY_TOOL
TOOL_EDIT_FILE_V2
TOOL_GLOB_FILE_SEARCH
TOOL_READ_FILE_V2
TOOL_RIPGREP_RAW_SEARCH
TOOL_RUN_TERMINAL_COMMAND_V2
TOOL_TABLE
Cursor’s numeric tool-dispatch enum, extracted from Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js. The numeric id is what Cursor’s UI dispatches on; a projector that wants its output to load back into Cursor.app must emit the canonical id, not just preserve the name.
TOOL_TASK_V2
TOOL_UNSPECIFIED
TOOL_WEB_SEARCH

Functions§

tool_id_for_name
tool_name_for_id