co-mono/packages/mom/src/tools
Mario Zechner 02c7f9ea51 Port truncation logic from coding-agent to mom
- Add truncate.ts with 2000 lines / 50KB limits
- Update bash tool with tail truncation and temp file output
- Update read tool with head truncation and offset hints
- Remove redundant context history truncation (tools already provide actionable hints)

fixes #155
2025-12-09 16:05:08 +01:00
..
attach.ts fix(mom): clarify attach tool only works with /workspace/ files 2025-12-05 02:38:11 +01:00
bash.ts Port truncation logic from coding-agent to mom 2025-12-09 16:05:08 +01:00
edit.ts mom: Docker sandbox support with --sandbox=docker:container-name option 2025-11-26 01:06:00 +01:00
index.ts mom: Docker sandbox support with --sandbox=docker:container-name option 2025-11-26 01:06:00 +01:00
read.ts Port truncation logic from coding-agent to mom 2025-12-09 16:05:08 +01:00
truncate.ts Port truncation logic from coding-agent to mom 2025-12-09 16:05:08 +01:00
write.ts mom: Docker sandbox support with --sandbox=docker:container-name option 2025-11-26 01:06:00 +01:00