Add Away mode and an agent fork tool

This commit is contained in:
Ian Gulliver
2026-10-19 21:40:24 -07:00
parent bb60b685ba
commit f6f2440635
22 changed files with 617 additions and 317 deletions
+3
View File
@@ -752,6 +752,9 @@ func (m *Manager) startLive(ctx context.Context, sess api.AgentSession, task api
}
l.notes = "\n\n" + taskNotesGuidance + "\n\n" + notes
tools = append(tools, m.suggestNoteTool(l), m.readyForMergeTool(l), m.suggestDiscardTool(l), m.respondToFindingTool(l))
if sess.Vendor == api.Claude {
tools = append(tools, m.forkTool(l))
}
}
if sess.Role == api.Implementer && sess.Member != "" {
sessions, err := m.store.ListSessions(ctx, task.Id)