co-mono/packages/coding-agent/src
Mario Zechner de77cd1419 Add tool output truncation with line/byte limits
- Add truncate.ts utility with truncateHead/truncateTail functions
- Both respect 2000 line and 30KB limits (whichever hits first)
- read: head truncation, returns truncation info in details
- bash: tail truncation, writes full output to temp file if large
- grep: head truncation + 100 match limit
- find: head truncation + 1000 result limit
- ls: head truncation + 500 entry limit
- tool-execution.ts displays truncation notices in warning color
- All tools return clean output + structured truncation in details
2025-12-07 00:03:16 +01:00
..
oauth feat(coding-agent): configurable app name and config dir for forks (#95) 2025-12-03 16:18:59 +01:00
theme feat(coding-agent): configurable app name and config dir for forks (#95) 2025-12-03 16:18:59 +01:00
tools Add tool output truncation with line/byte limits 2025-12-07 00:03:16 +01:00
tui Add tool output truncation with line/byte limits 2025-12-07 00:03:16 +01:00
changelog.ts feat(coding-agent): configurable app name and config dir for forks (#95) 2025-12-03 16:18:59 +01:00
cli.ts Suppress punycode deprecation warning from dependencies 2025-11-11 20:32:49 +01:00
clipboard.ts add cross-platform clipboard support and /copy command 2025-12-04 09:16:11 +02:00
compaction.ts Add totalTokens field to Usage type 2025-12-06 22:46:02 +01:00
config.ts Fix Windows binary detection for Bun compiled executables 2025-12-06 22:42:47 +01:00
export-html.ts feat(coding-agent): context compaction with /compact, /autocompact, and auto-trigger 2025-12-04 02:39:54 +01:00
fuzzy.test.ts Implement fuzzy search for model/session selector and improve Input multi-key sequence handling (#122) 2025-12-05 20:33:04 +01:00
fuzzy.ts Implement fuzzy search for model/session selector and improve Input multi-key sequence handling (#122) 2025-12-05 20:33:04 +01:00
index.ts Agent package + coding agent WIP, refactored web-ui prompts 2025-10-17 11:47:01 +02:00
main.ts Run version check in parallel with TUI startup 2025-12-05 23:36:06 +01:00
model-config.ts Add authHeader option and fix print mode error handling 2025-12-05 11:31:14 +01:00
session-manager.ts feat(coding-agent): context compaction with /compact, /autocompact, and auto-trigger 2025-12-04 02:39:54 +01:00
settings-manager.ts Release v0.13.1 2025-12-06 23:12:36 +01:00
slash-commands.ts feat(coding-agent): configurable app name and config dir for forks (#95) 2025-12-03 16:18:59 +01:00
tools-manager.ts fix(coding-agent): use APP_NAME in export-html and tools-manager 2025-12-03 16:27:49 +01:00