diff --git a/.claude/settings.json b/.claude/settings.json index 91b5856..4c6b667 100644 --- a/.claude/settings.json +++ b/.claude/settings.json @@ -4,7 +4,8 @@ "Bash(npm run *)", "Bash(curl -s http://localhost:3000)", "Bash(curl -s -o /dev/null -w \"%{http_code}\" http://localhost:3000/)", - "Bash(kill 3309513)" + "Bash(kill 3309513)", + "Bash(python3 /home/devparsa/dev/Momento/_bmad/scripts/resolve_customization.py --skill /home/devparsa/dev/Momento/.claude/skills/bmad-create-architecture --key workflow)" ] } } diff --git a/.cursor/hooks/state/continual-learning.json b/.cursor/hooks/state/continual-learning.json new file mode 100644 index 0000000..29ec1db --- /dev/null +++ b/.cursor/hooks/state/continual-learning.json @@ -0,0 +1,8 @@ +{ + "version": 1, + "lastRunAtMs": 0, + "turnsSinceLastRun": 8, + "lastTranscriptMtimeMs": null, + "lastProcessedGenerationId": "d40421fd-8dd1-472a-9807-a1c4f939b552", + "trialStartedAtMs": null +} diff --git a/architectural-grid11/.env.example b/architectural-grid11/.env.example new file mode 100644 index 0000000..7a550fe --- /dev/null +++ b/architectural-grid11/.env.example @@ -0,0 +1,9 @@ +# GEMINI_API_KEY: Required for Gemini AI API calls. +# AI Studio automatically injects this at runtime from user secrets. +# Users configure this via the Secrets panel in the AI Studio UI. +GEMINI_API_KEY="MY_GEMINI_API_KEY" + +# APP_URL: The URL where this applet is hosted. +# AI Studio automatically injects this at runtime with the Cloud Run service URL. +# Used for self-referential links, OAuth callbacks, and API endpoints. +APP_URL="MY_APP_URL" diff --git a/architectural-grid11/.gitignore b/architectural-grid11/.gitignore new file mode 100644 index 0000000..5a86d2a --- /dev/null +++ b/architectural-grid11/.gitignore @@ -0,0 +1,8 @@ +node_modules/ +build/ +dist/ +coverage/ +.DS_Store +*.log +.env* +!.env.example diff --git a/architectural-grid11/BRAINSTORM_PROMPT.md b/architectural-grid11/BRAINSTORM_PROMPT.md new file mode 100644 index 0000000..dfb73b8 --- /dev/null +++ b/architectural-grid11/BRAINSTORM_PROMPT.md @@ -0,0 +1,24 @@ +# IA Agent Coordination Prompt: Brainstorm Wave Integration + +## Context +You are tasked with continuing the development of the "Architectural Grid" application. The core feature "Wave Brainstorming" has been partially implemented with a full-stack architecture (Express + React). + +## Current State +- **Backend (`server.ts`)**: Implements session management, idea generation via Gemini, and expansion logic. Stores data in memory. +- **Frontend (`BrainstormView.tsx`)**: Manages the life cycle of a brainstorm. Integrates with a Radial D3 Canvas. +- **Visuals (`WaveCanvas.tsx`)**: Implements a radial force-directed graph with state-aware styling (dismissed/converted). +- **Navigation**: "Brainstorm Wave" is accessible from the Sidebar. A quick entry point exists from Note Detail view. + +## Your Task: Sidebar & Navigation Cleanup +1. **Source Code Review**: Read `src/components/Sidebar.tsx`, `src/App.tsx`, and `server.ts` to understand how views are toggled. +2. **Sidebar Links**: Ensure "Brainstorm Wave", "Semantic Network", and "Temporal Forecast" are correctly grouped and labeled in the Sidebar under a "Creative & AI" section. +3. **Agent View Sidebar**: The user specifically requested these links to be also accessible from the "Sidebar of the Agent view". Review `src/components/AgentsView.tsx` and ensure it has consistent navigation or deep links to these advanced features. +4. **Semantic Network & Temporal Forecast**: These views are currently placeholders. Ensure the routing and sidebar active state detection work correctly for them. + +## Technical Requirements +- Maintain consistency with the **Tailwind** architectural design (concrete, paper, blueprint tokens). +- Use **Lucide-React** icons (`Wind` for Brainstorm, `Share2` for Semantic Network, `Clock` for Temporal). +- Ensure transitions between views are smooth using `motion/react`. + +--- +*Copy and paste this into the next AI Agent session to ensure full context transfer.* diff --git a/architectural-grid11/README.md b/architectural-grid11/README.md new file mode 100644 index 0000000..0078184 --- /dev/null +++ b/architectural-grid11/README.md @@ -0,0 +1,20 @@ +
+ Inside: {carnets.find(c => c.id === showNewCarnetModal.parentId)?.name} +
+ )} + ++ "{activeNote?.title}" +
++ Ces modules utilisent les embeddings du modèle Gemini pour analyser graphiquement vos pensées. +
+Posez une question à l'Assistant pour commencer.
+Convertir en slides interactives
+Visualisation de structure
+Maj+Entrée = nouvelle ligne
+Automatisez vos tâches de veille et de recherche.
+{agent.type}
++ {agent.desc} +
+ +{model.desc}
+ +Sélectionnez le type d'agent
+{1} note(s) sélectionnée(s)
+Unfold dimensions of potentiality
+Obstruction detected
+ {error} +The canvas is waiting for your spark...
++ {selectedIdea.description} +
+ ++ "{selectedIdea.connectionToSeed}" +
+Spatial Exploration Mode
+Discovering the hidden architecture of your knowledge
+{s.description}
++ {note.content} +
+ Read more +This notebook is waiting for its first vision.
+ ++ {activeNote?.content.split('.')[0]}. +
+ ++ {line} +
+ ))} + {activeNote?.id.startsWith('n-') && ( ++ Architectural grids serve as the invisible scaffolding upon which spatial experiences are constructed. Beyond mere structural repetition, they facilitate a rhythmic dialogue between materiality and void. In this exploration, we examine how light fractures these rigid boundaries, creating a dynamic interplay that evolves with the passage of time. +
+ )} +Section en développement
+Le module {activeSettingsTab} sera disponible prochainement.
++ No notes found +
+ )} +, desc: 'Bloc de texte mis en avant' }, + { id: 'code', label: 'Bloc de Code', icon:
, desc: 'Code ou texte technique' },
+ { id: 'image', label: 'Image', icon: Predicting the recurrence of insight
++ "{prediction.reason}" +
+ +The system needs more usage data to find cyclical patterns in your research.
+Active connections in your semantic network
+The rhythm of your creative output
++ Auto-suppression après 30 jours +
++ Les éléments que vous supprimez apparaîtront ici. Ils seront conservés pendant 30 jours avant suppression définitive. +
+{description}
+Fréquence d'analyse des connexions
+Gestion des snapshots
+Accélère Memory Echo pour les tests. Les connexions apparaissent instantanément.
+{description}
+Sélectionner une langue
+Gérez vos préférences de notifications
+Notifications par email
+Recevoir des notifications importantes par email
+Notifications bureau
+Recevoir des notifications dans votre navigateur
+ },
+ { id: 'about', label: 'À propos', icon: Configuration & Préférences
++ Inside: {carnets.find(c => c.id === showNewCarnetModal.parentId)?.name} +
+ )} + ++ "{activeNote?.title}" +
++ Ces modules utilisent les embeddings du modèle Gemini pour analyser graphiquement vos pensées. +
+Posez une question à l'Assistant pour commencer.
+Convertir en slides interactives
+Visualisation de structure
+Maj+Entrée = nouvelle ligne
+Automatisez vos tâches de veille et de recherche.
+{agent.type}
++ {agent.desc} +
+ +{model.desc}
+ +Sélectionnez le type d'agent
+{1} note(s) sélectionnée(s)
+Unfold dimensions of potentiality
+Obstruction detected
+ {error} +The canvas is waiting for your spark...
+Aucune activité pour le moment
+ ) : ( + activities.map((act) => ( +{act.message}
+ {act.timestamp} ++ {selectedIdea.description} +
+ ++ "{selectedIdea.connectionToSeed}" +
+Spatial Exploration Mode
+Discovering the hidden architecture of your knowledge
+{s.description}
++ {note.content} +
+ Read more +This notebook is waiting for its first vision.
+ ++ {activeNote?.content.split('.')[0]}. +
+ ++ {line} +
+ ))} + {activeNote?.id.startsWith('n-') && ( ++ Architectural grids serve as the invisible scaffolding upon which spatial experiences are constructed. Beyond mere structural repetition, they facilitate a rhythmic dialogue between materiality and void. In this exploration, we examine how light fractures these rigid boundaries, creating a dynamic interplay that evolves with the passage of time. +
+ )} +Section en développement
+Le module {activeSettingsTab} sera disponible prochainement.
++ No notes found +
+ )} +, desc: 'Bloc de texte mis en avant' }, + { id: 'code', label: 'Bloc de Code', icon:
, desc: 'Code ou texte technique' },
+ { id: 'image', label: 'Image', icon: Predicting the recurrence of insight
++ "{prediction.reason}" +
+ +The system needs more usage data to find cyclical patterns in your research.
+Active connections in your semantic network
+The rhythm of your creative output
++ Auto-suppression après 30 jours +
++ Les éléments que vous supprimez apparaîtront ici. Ils seront conservés pendant 30 jours avant suppression définitive. +
+{description}
+Fréquence d'analyse des connexions
+Gestion des snapshots
+Accélère Memory Echo pour les tests. Les connexions apparaissent instantanément.
+{description}
+Sélectionner une langue
+Gérez vos préférences de notifications
+Notifications par email
+Recevoir des notifications importantes par email
+Notifications bureau
+Recevoir des notifications dans votre navigateur
+ },
+ { id: 'about', label: 'À propos', icon: Configuration & Préférences
++ Inside: {carnets.find(c => c.id === showNewCarnetModal.parentId)?.name} +
+ )} + ++ "{activeNote?.title}" +
++ Ces modules utilisent les embeddings du modèle Gemini pour analyser graphiquement vos pensées. +
+Posez une question à l'Assistant pour commencer.
+Convertir en slides interactives
+Visualisation de structure
+Maj+Entrée = nouvelle ligne
+Automatisez vos tâches de veille et de recherche.
+{agent.type}
++ {agent.desc} +
+ +{model.desc}
+ +Sélectionnez le type d'agent
+{1} note(s) sélectionnée(s)
+Cet agent analysera toutes les notes du carnet sélectionné.
+Unfold dimensions of potentiality
+Obstruction detected
+ {error} +The canvas is waiting for your spark...
+Aucune activité pour le moment
+ ) : ( + activities.map((act) => ( +{act.message}
+ {act.timestamp} ++ {selectedIdea.description} +
+ ++ "{selectedIdea.connectionToSeed}" +
+Spatial Exploration Mode
+Discovering the hidden architecture of your knowledge
+{s.description}
++ {note.content} +
+ Read more +This notebook is waiting for its first vision.
+ +{att.name}
+{att.type}
++ {activeNote?.content.split('.')[0]}. +
+ ++ {line} +
+ ))} + {activeNote?.id.startsWith('n-') && ( ++ Architectural grids serve as the invisible scaffolding upon which spatial experiences are constructed. Beyond mere structural repetition, they facilitate a rhythmic dialogue between materiality and void. In this exploration, we examine how light fractures these rigid boundaries, creating a dynamic interplay that evolves with the passage of time. +
+ )} +DOCUMENT SOURCE ANALYSÉ
++ Bonjour ! J'ai analysé ce document. Posez-moi n'importe quelle question sur son contenu, les chiffres clés ou les concepts abordés. +
+Section en développement
+Le module {activeSettingsTab} sera disponible prochainement.
++ No notes found +
+ )} +, desc: 'Bloc de texte mis en avant' }, + { id: 'code', label: 'Bloc de Code', icon:
, desc: 'Code ou texte technique' },
+ { id: 'image', label: 'Image', icon: Predicting the recurrence of insight
++ "{prediction.reason}" +
+ +The system needs more usage data to find cyclical patterns in your research.
+Active connections in your semantic network
+The rhythm of your creative output
++ Auto-suppression après 30 jours +
++ Les éléments que vous supprimez apparaîtront ici. Ils seront conservés pendant 30 jours avant suppression définitive. +
+{description}
+Fréquence d'analyse des connexions
+Gestion des snapshots
+Accélère Memory Echo pour les tests. Les connexions apparaissent instantanément.
+{description}
+Sélectionner une langue
+Gérez vos préférences de notifications
+Notifications par email
+Recevoir des notifications importantes par email
+Notifications bureau
+Recevoir des notifications dans votre navigateur
+ },
+ { id: 'about', label: 'À propos', icon: Configuration & Préférences
+