diff --git a/AGENTS.md b/AGENTS.md index 8a0b386..39a3972 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -1,54 +1,167 @@ -# Repository Guidelines +# AGENTS.md -## Project Structure & Module Organization -This repository is a Nuxt 4 application. -- `pages/`: route pages (for example `pages/index.vue`). -- `components/`: reusable Vue components (for example `DiskSidebarWidget.vue`, `ApiStatusBubble.vue`). -- `layouts/`: shared page shells (`layouts/default.vue`). -- `server/api/`: Nitro server endpoints (for example `disk.get.ts`, `version-status.get.ts`). -- `assets/css/`: global styles and theme tokens (`main.css`, `malio.css`). -- `public/`: static files served as-is. +## Objectif -Keep feature logic close to usage: UI in `components/`, page composition in `pages/`, backend checks in `server/api/`. +Ce fichier définit les règles que tout agent de code doit respecter dans ce dépôt. -## Build, Test, and Development Commands -Use npm scripts from `package.json`: -- `npm run dev`: start local dev server with hot reload. -- `npm run build`: production build (client + server). -- `npm run preview`: run the built app locally. -- `npm run generate`: static generation when needed. +Les objectifs sont : +- maintenir un code clair et cohérent +- éviter la complexité inutile +- empêcher la génération de code mort +- garantir des modifications prévisibles -There is no dedicated test script currently. At minimum, run `npm run build` before opening a PR. +Ce fichier est la source de vérité concernant le comportement de l’agent. -## Coding Style & Naming Conventions -- Language: TypeScript + Vue SFCs (` + diff --git a/components/BackupList.vue b/components/BackupList.vue index b1c4508..71d570f 100644 --- a/components/BackupList.vue +++ b/components/BackupList.vue @@ -1,44 +1,58 @@ + + + diff --git a/components/DiagramStorage.vue b/components/DiagramStorage.vue index 143ad17..66e9b31 100644 --- a/components/DiagramStorage.vue +++ b/components/DiagramStorage.vue @@ -1,35 +1,48 @@ + + diff --git a/components/Speedtest.vue b/components/Speedtest.vue index c5c766b..582e20e 100644 --- a/components/Speedtest.vue +++ b/components/Speedtest.vue @@ -1,103 +1,64 @@