Skip to main content

Module cell_file_changes

Module cell_file_changes 

Source
Expand description

The diff of what an rlm cell wrote, in its result’s details.fileChanges (Rust-only; the TypeScript result’s details stay {}): [{path, created, diff}] per file written through the checked write()/edit() (host::cell_writes), diff in the edit tool’s display format (generateDiffString, context 2), or null for a file too large or not text. The interactive mode shows it under the expanded cell.

Constants§

CONTEXT_LINES
MAX_DIFF_LINES
Diff lines kept per file; the rest is counted in omitted.

Functions§

details
details of the result of lane‘s cell that just ended: {}, or {fileChanges: [...]}. mask hides secrets in each diff as in the cell’s output (the files’ texts are not masked on disk).