mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-22 04:04:05 +00:00
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
This commit is contained in:
parent
de3fd172a9
commit
02c7f9ea51
5 changed files with 380 additions and 92 deletions
|
|
@ -18,6 +18,9 @@
|
|||
|
||||
### Added
|
||||
|
||||
- Port truncation logic from coding-agent: bash and read tools now use consistent 2000 lines OR 50KB limits with actionable notices
|
||||
- Remove redundant context history truncation (tools already provide truncation with actionable hints)
|
||||
|
||||
- Message backfill on startup (#103)
|
||||
- Fetches missed messages from Slack using `conversations.history` API when mom restarts
|
||||
- Backfills up to 3 pages (3000 messages) per channel since last logged timestamp
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue