From f95280788218613387348a1bd8d4c96af07f3e5f Mon Sep 17 00:00:00 2001 From: Blomios Date: Sun, 23 Aug 2026 11:00:04 +0200 Subject: [PATCH] =?UTF-8?q?feat(ui):=20=C3=A9dition=20templates=20?= =?UTF-8?q?=E2=80=94=20nom=20d'agent=20par=20d=C3=A9faut,=20permissions=20?= =?UTF-8?q?syst=C3=A8me=20et=20MCP=20outils=20=E2=80=94=20#242?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit TemplateEditor/TemplatesPanel étendus aux nouveaux champs, projection useTemplates/adapters/ports, panneau Agents aligné, templatePresentation.ts extrait. Tests frontend étendus (templates, agents, routage chat WS). --- .../adapters/http/requestResponseGateways.ts | 24 +- .../adapters/http/wsLiveClient.chat.test.ts | 4 +- frontend/src/adapters/mock/index.ts | 34 +- frontend/src/adapters/template.ts | 17 +- frontend/src/domain/index.ts | 3 + frontend/src/features/agents/AgentsPanel.tsx | 42 +- frontend/src/features/agents/agents.test.tsx | 32 ++ .../src/features/templates/TemplateEditor.tsx | 364 +++++++++++------- .../src/features/templates/TemplatesPanel.tsx | 60 ++- .../templates/templatePresentation.ts | 53 +++ .../src/features/templates/templates.test.tsx | 65 ++++ .../src/features/templates/useTemplates.ts | 10 +- frontend/src/ports/index.ts | 17 +- 13 files changed, 551 insertions(+), 174 deletions(-) create mode 100644 frontend/src/features/templates/templatePresentation.ts diff --git a/frontend/src/adapters/http/requestResponseGateways.ts b/frontend/src/adapters/http/requestResponseGateways.ts index 71f38e76..aead477c 100644 --- a/frontend/src/adapters/http/requestResponseGateways.ts +++ b/frontend/src/adapters/http/requestResponseGateways.ts @@ -60,6 +60,7 @@ import type { CreateMemoryInput, CreateSkillInput, CreateTemplateInput, + UpdateTemplateInput, EmbedderGateway, GitGateway, InputGateway, @@ -286,11 +287,28 @@ export class HttpTemplateGateway implements TemplateGateway { } createTemplate(input: CreateTemplateInput): Promise