Add a per-user lead agent and make the right pane task-focused

This commit is contained in:
Ian Gulliver
2026-10-15 09:40:30 -07:00
parent d212590cdc
commit bdd1ae48f0
68 changed files with 3332 additions and 1364 deletions
+8
View File
@@ -166,6 +166,14 @@ func squashMessage(title string, coAuthors []api.Participant) string {
return title + "\n\n" + strings.Join(trailers, "\n")
}
func (m *Manager) Discard(ctx context.Context, task api.Task, project api.Project, actor string) (api.Task, error) {
err := m.RemoveTask(ctx, task, project, actor)
if err != nil {
return api.Task{}, err
}
return m.store.DiscardTask(ctx, task.Id, actor)
}
func (m *Manager) RemoveTask(ctx context.Context, task api.Task, project api.Project, actor string) error {
err := m.StopTask(ctx, task.Id, actor)
if err != nil {