Lead compaction

This commit is contained in:
Ian Gulliver
2026-10-15 22:18:55 -07:00
parent fb615a5e61
commit 84de97cec9
4 changed files with 17 additions and 3 deletions
+1 -1
View File
@@ -376,7 +376,7 @@ func (m *Manager) leadTools(l *live) []mcp.Tool {
}),
tool("compact_self",
"Ask byre to compact you when this turn ends: you write a handoff, and a fresh lead session continues from it. Call it only once your context is past half its window, at a logical point, then end the turn with a short final message.",
"Ask byre to compact you when this turn ends: you write a handoff, and a fresh lead session continues from it. Call it only after byre signals that your context is past half its window, at a logical point, then end the turn with a short final message.",
`{"type": "object", "properties": {}}`,
func(ctx context.Context, user api.User, raw json.RawMessage) (string, error) {
m.mu.Lock()