Skip to main content Module types Copy item path Source ApplyPatch Apply one or more non-overlapping line patches to an exact ReadFiles
revision. This is preferable to SEARCH/REPLACE when line coordinates are
already known. BashCommand Parameters for the BashCommand tool BashCommandMode CodeMap Parameters for the CodeMap tool: tree-sitter code navigation. One tool with
two operations, in place of separate Outline / FindReferences tools. CodeMapFallback Actionable fallback when a single-file CodeMap outline cannot provide
symbols. Exact source remains canonical; helpers are optional and derived. CodeMapStructuredOutput JSON Schema advertised for CodeMap.structuredContent. CodeMapTemporaryHelperBudget Aggregate guard state for a CodeMap call over non-canonical session helpers. CodeWriterConfig ContextSave Parameters for the ContextSave tool FileEditEntry One file’s worth of edits in a MultiFileEdit batch. Same semantics as the
corresponding FileWriteOrEdit fields. FileEditMode FileWriteOrEdit Parameters for the FileWriteOrEdit tool FindReferences Parameters for the FindReferences tool (tree-sitter symbol occurrences). Initialize Parameters for initializing the shell environment LinePatch One compare-and-swap line patch. Coordinates refer to the original revision,
are one-based, and all patches are applied together. MultiFileEdit Parameters for the MultiFileEdit tool: apply edits across several files
all-or-nothing at the COMPUTE stage. Outline Parameters for the Outline operation (tree-sitter symbol map), used
internally by CodeMap. OutlineFile Symbols for one file in Outline output. OutlineOutput Structured result of an Outline call (mirrors the text block). OutlineSymbol One symbol (definition) in Outline output. ReadFiles Parameters for the ReadFiles tool ReadImage Parameters for the ReadImage tool ReferenceHit One symbol occurrence in FindReferences output. ReferencesOutput Structured result of a FindReferences call (mirrors the text block). TurnRecognizerMarkers Marker strings (literal or regex) that let wait_for_turn drive an arbitrary
interactive TUI without a hand-written recognizer. Loaded from the
WINX_TURN_RECOGNIZER_CONFIG env var (JSON) when the recognizer hint is
configurable. Each marker is matched case-insensitively; an invalid regex
falls back to a literal-substring match. UndoEdit Parameters for the UndoEdit tool: revert a file to its content before the
last FileWriteOrEdit/MultiFileEdit in this session. VerifyEdit Parameters for rerunning a post-edit verification without repeating the edit. WriteIfEmptyMode AllowedCommands AllowedGlobs BashCommandAction Types of actions that can be performed with the BashCommand tool BashMode BashWaitPolicy Parameters for the BashCommand tool CodeMapOperation Operation for the CodeMap tool. InitializeType Type of shell environment initialization ModeName Modes SpecialKey Special key types for shell interaction
Matches wcgw Python’s Specials enum exactly MAX_NORMALIZED_THREAD_ID_BYTES normalize_thread_id