Antigravity Task: FileGeek "Knowledge OS" Final Reengineering
**Objective:** Transform FileGeek into a high-density "Knowledge Operating System" by reengineering the UI into a modular Bento Grid architecture, establishing a dynamic theme/font engine, and stabilizing multi-provider AI routing.
Antigravity Task: FileGeek "Knowledge OS" Final Reengineering
Objective: Transform FileGeek into a high-density "Knowledge Operating System" by reengineering the UI into a modular Bento Grid architecture, establishing a dynamic theme/font engine, and stabilizing multi-provider AI routing.
1. Layout Overhaul: The Bento Grid & Discovery Dashboard
- Main Layout Refactor (
MainLayout.js):- Replace the current
react-resizable-panelswith a CSS Grid Bento Layout. - The Canvas (Center):
- Active State: Display the
FileViewer. - Discovery Dashboard (Empty State): When no file is selected, show a dashboard with Bento-style cards for:
- Mastery Heatmap: Visual progress of known vs. remaining flashcards.
- Session Pulse: Total interactions and active session duration.
- Resource Inventory: Recent documents and generated artifacts.
- Active State: Display the
- Activity Stream (Right): Merge
ChatPanelandArtifactPanelinto a single unified "Reasoning Log".
- Replace the current
- Warp-Inspired Input: Move the chat input to a Floating Command Bar at the bottom-center of the screen with a
//command prefix.
2. Branding & Aesthetic (Brutalist Design)
- Theme & Font Engine:
- Context Update (
ThemeContext.js): Refactor to support CSS Variable Injection for themes and fonts. - Settings Update (
SettingsContent.js): Add an// APPEARANCEsection with dropdown menus for:- Theme:
BRUTALIST_DARK(Default),PAPER_WHITE,SOLARIZED. - Typography:
JETBRAINS_MONO(Default),INTER_SANS,OPEN_DYSPLEXIC.
- Theme:
- TopBar Integration: Add a
PaletteIcontoTopBar.jsfor quick-swapping presets.
- Context Update (
- Brand Realignment: Globally replace all "JM Solutionss" branding with FileGeek and enforce the Geek Green (
#00FF00) accent color.
3. Feature Cleanup & Workflow Stabilization
- Remove Legacy Features: Strip all logic and UI components related to "Research Notes" and
HighlightsContextfromMainLayout.js,TopBar.js, andCommandPalette.js. - AI Routing Stability (
ai_service.py):- Implement Lazy Client Loading for OpenAI and Gemini clients.
- Ensure
answer_with_toolsdynamically selects the provider based on themodel_overridestring without requiring server re-initialization.
- Performance Hardening: Ensure
PdfViewer.jsuses Virtual Scrolling to maintain 60fps performance on documents exceeding 100 pages.
4. Workflow Enhancements
- Agentic Transparency: Implement "Thinking Blocks" in the chat stream to display real-time status updates (e.g.,
[VECTOR_SEARCHING...],[GENERATING_QUIZ...]). - Active Recall Integration: Add a toggle in the
TopBarfor Socratic Mode, forcing the AI to provide page-referenced hints instead of direct answers.
Execution Order:
- Clean: Remove the Research Notes system.
- Structure: Implement the Bento Grid and the Warp-style Discovery Dashboard.
- Personalize: Deploy the Theme/Font selection engine.
- Optimize: Finalize the AI routing and PDF virtualization.
Related Documents
Totem — Development Rules
- **pnpm only** (never npm/yarn). Use `pnpm dlx` (never `npx`). Windows 11 + Git Bash. TypeScript strict mode.
MechCAD-MLLM
我们将这一新模型暂定名为 **"MechCAD-MLLM"**(面向机械领域的CAD多模态大模型)。
GEMINI.md — FIM One Instructional Context
FIM One is an AI-powered **Connector Hub** that serves as a bridge between disjointed enterprise systems (ERP, CRM, OA, Databases) through autonomous AI agents.
Agent Instructions
**Layer 1: Directive (What to do)**