Files
oh-my-pi/packages/coding-agent/src/tools
can1357 98fb1f9f3c feat: split grep context into separate before/after parameters with configurable defaults
- Split grep context parameter into separate contextBefore and contextAfter options for more granular control over context lines displayed before and after matches.
- Added configurable grep context defaults via grep.contextBefore and grep.contextAfter settings with reduced default values (1 line before, 3 lines after).
- Updated grep tool schema to use context_pre and context_post parameters instead of unified context parameter.
- Maintained backward compatibility by keeping legacy context field in SearchOptions and GrepOptions structs.
- Added resolve_context() function to handle logic for choosing between separate before/after context values or legacy unified context value.
2026-02-04 23:10:10 +01:00
..
2026-02-04 12:06:50 +01:00
2026-02-04 12:06:50 +01:00