From 798fceb5baeafd0e6d89d37f224c0be4ec8f6258 Mon Sep 17 00:00:00 2001 From: nfebe Date: Thu, 23 Jul 2026 10:30:54 +0100 Subject: [PATCH] feat(ai): Add the Agents view with an editor Agents get their own section in the navigation, aligned with the other main menu items. The view lists each agent with its scope; Run opens the assistant on the resulting session, so the transcript and any pending tool approvals are handled in the existing chat. Agents can now also be written in the panel: a New Agent editor with a starter template, edit and delete on each card, and validation errors surfaced on save so an invalid definition is never stored. Together with the assistant's ability to write agent files on request, an agent can be created by describing it in chat, by editing it in the panel, or by dropping a file in the agents directory. --- src/layouts/DashboardLayout.vue | 10 + src/router/index.ts | 6 + src/services/api.ts | 17 ++ src/views/AgentsView.vue | 406 ++++++++++++++++++++++++++++++++ 4 files changed, 439 insertions(+) create mode 100644 src/views/AgentsView.vue diff --git a/src/layouts/DashboardLayout.vue b/src/layouts/DashboardLayout.vue index 581152d..7f8c5df 100644 --- a/src/layouts/DashboardLayout.vue +++ b/src/layouts/DashboardLayout.vue @@ -45,6 +45,16 @@ Dashboard + + + Agents + +