diff --git a/backend/lassistanoque.db-wal b/backend/lassistanoque.db-wal
index a8b7f88..ba3d0a9 100644
Binary files a/backend/lassistanoque.db-wal and b/backend/lassistanoque.db-wal differ
diff --git a/backend/web/src/lib/components/Sidebar.svelte b/backend/web/src/lib/components/Sidebar.svelte
index d209f38..883d7eb 100644
--- a/backend/web/src/lib/components/Sidebar.svelte
+++ b/backend/web/src/lib/components/Sidebar.svelte
@@ -38,11 +38,11 @@
{/if}
-
-
-
-
-
+
diff --git a/backend/web/src/routes/(authenticated)/+page.svelte b/backend/web/src/routes/(authenticated)/+page.svelte
new file mode 100644
index 0000000..6b419d2
--- /dev/null
+++ b/backend/web/src/routes/(authenticated)/+page.svelte
@@ -0,0 +1,9 @@
+
diff --git a/backend/web/src/routes/(authenticated)/+page.ts b/backend/web/src/routes/(authenticated)/+page.ts
new file mode 100644
index 0000000..c14e9c2
--- /dev/null
+++ b/backend/web/src/routes/(authenticated)/+page.ts
@@ -0,0 +1,6 @@
+import type { PageLoad } from './$types';
+
+export const load: PageLoad = async ({ parent }) => {
+ const { me } = await parent();
+ return { me };
+};
diff --git a/backend/web/src/routes/(authenticated)/(chat)/+page.svelte b/backend/web/src/routes/(authenticated)/[space]/(chat)/+page.svelte
similarity index 100%
rename from backend/web/src/routes/(authenticated)/(chat)/+page.svelte
rename to backend/web/src/routes/(authenticated)/[space]/(chat)/+page.svelte
diff --git a/backend/web/src/routes/(authenticated)/(chat)/+page.ts b/backend/web/src/routes/(authenticated)/[space]/(chat)/+page.ts
similarity index 100%
rename from backend/web/src/routes/(authenticated)/(chat)/+page.ts
rename to backend/web/src/routes/(authenticated)/[space]/(chat)/+page.ts
diff --git a/backend/web/src/routes/(authenticated)/history/+page.svelte b/backend/web/src/routes/(authenticated)/[space]/history/+page.svelte
similarity index 100%
rename from backend/web/src/routes/(authenticated)/history/+page.svelte
rename to backend/web/src/routes/(authenticated)/[space]/history/+page.svelte
diff --git a/backend/web/src/routes/(authenticated)/history/+page.ts b/backend/web/src/routes/(authenticated)/[space]/history/+page.ts
similarity index 100%
rename from backend/web/src/routes/(authenticated)/history/+page.ts
rename to backend/web/src/routes/(authenticated)/[space]/history/+page.ts
diff --git a/backend/web/src/routes/(authenticated)/kb/+page.svelte b/backend/web/src/routes/(authenticated)/[space]/kb/+page.svelte
similarity index 100%
rename from backend/web/src/routes/(authenticated)/kb/+page.svelte
rename to backend/web/src/routes/(authenticated)/[space]/kb/+page.svelte
diff --git a/backend/web/src/routes/(authenticated)/kb/+page.ts b/backend/web/src/routes/(authenticated)/[space]/kb/+page.ts
similarity index 100%
rename from backend/web/src/routes/(authenticated)/kb/+page.ts
rename to backend/web/src/routes/(authenticated)/[space]/kb/+page.ts
diff --git a/backend/web/src/routes/(authenticated)/settings/+page.svelte b/backend/web/src/routes/(authenticated)/[space]/settings/+page.svelte
similarity index 77%
rename from backend/web/src/routes/(authenticated)/settings/+page.svelte
rename to backend/web/src/routes/(authenticated)/[space]/settings/+page.svelte
index c3d7eb0..7f81800 100644
--- a/backend/web/src/routes/(authenticated)/settings/+page.svelte
+++ b/backend/web/src/routes/(authenticated)/[space]/settings/+page.svelte
@@ -1,15 +1,24 @@
+
+
+ href="settings/models">
Modèles
- mistral-medium-latest
+
+
+
+ Agents
Outils
12
@@ -17,41 +26,39 @@
- Skills
+ href="settings/skills">
+ Compétences
3
-
- Canaux de communication
- 12
-
+ href="settings/kb">
Bases de connaissance
-
- Agents
-
+
+ href="settings/memory">
Mémoire
standard
+
+ Canaux de communication
+ 12
+
+
+
+ href="settings/users">
Utilisateurs
1
diff --git a/backend/web/src/routes/(authenticated)/settings/+page.ts b/backend/web/src/routes/(authenticated)/[space]/settings/+page.ts
similarity index 100%
rename from backend/web/src/routes/(authenticated)/settings/+page.ts
rename to backend/web/src/routes/(authenticated)/[space]/settings/+page.ts
diff --git a/backend/web/src/routes/(authenticated)/settings/agents/+page.svelte b/backend/web/src/routes/(authenticated)/[space]/settings/agents/+page.svelte
similarity index 100%
rename from backend/web/src/routes/(authenticated)/settings/agents/+page.svelte
rename to backend/web/src/routes/(authenticated)/[space]/settings/agents/+page.svelte
diff --git a/backend/web/src/routes/(authenticated)/settings/agents/+page.ts b/backend/web/src/routes/(authenticated)/[space]/settings/agents/+page.ts
similarity index 100%
rename from backend/web/src/routes/(authenticated)/settings/agents/+page.ts
rename to backend/web/src/routes/(authenticated)/[space]/settings/agents/+page.ts
diff --git a/backend/web/src/routes/(authenticated)/settings/channels/+page.svelte b/backend/web/src/routes/(authenticated)/[space]/settings/channels/+page.svelte
similarity index 100%
rename from backend/web/src/routes/(authenticated)/settings/channels/+page.svelte
rename to backend/web/src/routes/(authenticated)/[space]/settings/channels/+page.svelte
diff --git a/backend/web/src/routes/(authenticated)/settings/channels/+page.ts b/backend/web/src/routes/(authenticated)/[space]/settings/channels/+page.ts
similarity index 100%
rename from backend/web/src/routes/(authenticated)/settings/channels/+page.ts
rename to backend/web/src/routes/(authenticated)/[space]/settings/channels/+page.ts
diff --git a/backend/web/src/routes/(authenticated)/settings/kb/+page.svelte b/backend/web/src/routes/(authenticated)/[space]/settings/kb/+page.svelte
similarity index 100%
rename from backend/web/src/routes/(authenticated)/settings/kb/+page.svelte
rename to backend/web/src/routes/(authenticated)/[space]/settings/kb/+page.svelte
diff --git a/backend/web/src/routes/(authenticated)/settings/kb/+page.ts b/backend/web/src/routes/(authenticated)/[space]/settings/kb/+page.ts
similarity index 100%
rename from backend/web/src/routes/(authenticated)/settings/kb/+page.ts
rename to backend/web/src/routes/(authenticated)/[space]/settings/kb/+page.ts
diff --git a/backend/web/src/routes/(authenticated)/settings/memory/+page.svelte b/backend/web/src/routes/(authenticated)/[space]/settings/memory/+page.svelte
similarity index 100%
rename from backend/web/src/routes/(authenticated)/settings/memory/+page.svelte
rename to backend/web/src/routes/(authenticated)/[space]/settings/memory/+page.svelte
diff --git a/backend/web/src/routes/(authenticated)/settings/memory/+page.ts b/backend/web/src/routes/(authenticated)/[space]/settings/memory/+page.ts
similarity index 100%
rename from backend/web/src/routes/(authenticated)/settings/memory/+page.ts
rename to backend/web/src/routes/(authenticated)/[space]/settings/memory/+page.ts
diff --git a/backend/web/src/routes/(authenticated)/settings/models/+page.svelte b/backend/web/src/routes/(authenticated)/[space]/settings/models/+page.svelte
similarity index 100%
rename from backend/web/src/routes/(authenticated)/settings/models/+page.svelte
rename to backend/web/src/routes/(authenticated)/[space]/settings/models/+page.svelte
diff --git a/backend/web/src/routes/(authenticated)/settings/models/+page.ts b/backend/web/src/routes/(authenticated)/[space]/settings/models/+page.ts
similarity index 100%
rename from backend/web/src/routes/(authenticated)/settings/models/+page.ts
rename to backend/web/src/routes/(authenticated)/[space]/settings/models/+page.ts
diff --git a/backend/web/src/routes/(authenticated)/settings/models/ProviderForm.svelte b/backend/web/src/routes/(authenticated)/[space]/settings/models/ProviderForm.svelte
similarity index 100%
rename from backend/web/src/routes/(authenticated)/settings/models/ProviderForm.svelte
rename to backend/web/src/routes/(authenticated)/[space]/settings/models/ProviderForm.svelte
diff --git a/backend/web/src/routes/(authenticated)/settings/skills/+page.svelte b/backend/web/src/routes/(authenticated)/[space]/settings/skills/+page.svelte
similarity index 100%
rename from backend/web/src/routes/(authenticated)/settings/skills/+page.svelte
rename to backend/web/src/routes/(authenticated)/[space]/settings/skills/+page.svelte
diff --git a/backend/web/src/routes/(authenticated)/settings/skills/+page.ts b/backend/web/src/routes/(authenticated)/[space]/settings/skills/+page.ts
similarity index 100%
rename from backend/web/src/routes/(authenticated)/settings/skills/+page.ts
rename to backend/web/src/routes/(authenticated)/[space]/settings/skills/+page.ts
diff --git a/backend/web/src/routes/(authenticated)/settings/tools/+page.svelte b/backend/web/src/routes/(authenticated)/[space]/settings/tools/+page.svelte
similarity index 100%
rename from backend/web/src/routes/(authenticated)/settings/tools/+page.svelte
rename to backend/web/src/routes/(authenticated)/[space]/settings/tools/+page.svelte
diff --git a/backend/web/src/routes/(authenticated)/settings/tools/+page.ts b/backend/web/src/routes/(authenticated)/[space]/settings/tools/+page.ts
similarity index 100%
rename from backend/web/src/routes/(authenticated)/settings/tools/+page.ts
rename to backend/web/src/routes/(authenticated)/[space]/settings/tools/+page.ts
diff --git a/backend/web/src/routes/(authenticated)/settings/users/+page.svelte b/backend/web/src/routes/(authenticated)/[space]/settings/users/+page.svelte
similarity index 100%
rename from backend/web/src/routes/(authenticated)/settings/users/+page.svelte
rename to backend/web/src/routes/(authenticated)/[space]/settings/users/+page.svelte
diff --git a/backend/web/src/routes/(authenticated)/settings/users/+page.ts b/backend/web/src/routes/(authenticated)/[space]/settings/users/+page.ts
similarity index 100%
rename from backend/web/src/routes/(authenticated)/settings/users/+page.ts
rename to backend/web/src/routes/(authenticated)/[space]/settings/users/+page.ts
diff --git a/backend/web/src/routes/(authenticated)/tasks/+page.svelte b/backend/web/src/routes/(authenticated)/[space]/tasks/+page.svelte
similarity index 100%
rename from backend/web/src/routes/(authenticated)/tasks/+page.svelte
rename to backend/web/src/routes/(authenticated)/[space]/tasks/+page.svelte
diff --git a/backend/web/src/routes/(authenticated)/tasks/+page.ts b/backend/web/src/routes/(authenticated)/[space]/tasks/+page.ts
similarity index 100%
rename from backend/web/src/routes/(authenticated)/tasks/+page.ts
rename to backend/web/src/routes/(authenticated)/[space]/tasks/+page.ts
diff --git a/backend/web/src/routes/(authenticated)/profile/+page.svelte b/backend/web/src/routes/(authenticated)/profile/+page.svelte
index ca0af48..db7b6cb 100644
--- a/backend/web/src/routes/(authenticated)/profile/+page.svelte
+++ b/backend/web/src/routes/(authenticated)/profile/+page.svelte
@@ -118,7 +118,7 @@