@@ -62,7 +62,7 @@ NEVER proactively create documentation files (*.md) or README files. Only create
6262 - Styles → .css (using Tailwind CSS)
6363- Prefer named exports for components
6464- Types/Interfaces in PascalCase (e.g. User, ButtonProps)
65- - OUR PRODUCT NAME IS Nxtscape (the "s" is small letter) -- so use that name correctly when naming things.
65+ - OUR PRODUCT NAME IS BrowserOS -- so use that name correctly when naming things.
6666
6767# Functions & Logic
6868- Keep functions short and single-purpose (<20 lines).
@@ -231,7 +231,7 @@ NEVER proactively create documentation files (*.md) or README files. Only create
231231
232232# UI & Styling (Tailwind CSS)
233233- Use Tailwind CSS utility classes directly in components
234- - Single ` styles.css ` file per UI module (sidepanel/v2 , newtab)
234+ - Single ` styles.css ` file per UI module (sidepanel, newtab)
235235- Define CSS custom properties (variables) for theming:
236236 - Theme variables in ` :root ` , ` .dark ` , and custom theme classes
237237 - Use semantic variable names (--background, --foreground, --primary, etc.)
@@ -384,14 +384,13 @@ This is a Chrome extension that provides AI-powered web automation using LLM age
384384
385385### UI Components
386386- **IMPORTANT: Use ONLY these directories for UI work:**
387- - `src/sidepanel/v2/ ` - Modern side panel UI (primary interface)
387+ - `src/sidepanel/` - Side panel UI (primary interface)
388388 - `src/newtab/` - New tab page UI
389- - **NEVER update files in `src/sidepanel/` (without v2)** - Legacy code being removed
390389- **DO NOT use SCSS modules or `.module.scss` files** - Use Tailwind CSS instead
391390
392- #### Side Panel V2 (`src/sidepanel/v2 /`)
391+ #### Side Panel (`src/sidepanel/`)
393392- Modern Chrome side panel with React + Tailwind CSS
394- - Components: Chat, MessageList, Header, SettingsModal, TabSelector, etc.
393+ - Components: Chat, MessageList, Header, SettingsModal, TabSelector, TeachMode, etc.
395394- Hooks: useMessageHandler, useKeyboardShortcuts, useAutoScroll, etc.
396395- Store: Zustand-based state management (chatStore, settingsStore)
397396- Real-time streaming display for agent execution
@@ -402,7 +401,7 @@ This is a Chrome extension that provides AI-powered web automation using LLM age
402401- Components: AgentCard, CommandPalette, ThemeToggle, etc.
403402- Stores: agentsStore, providerStore (Zustand)
404403- Pages: CreateAgentPage for agent configuration
405- - Consistent styling approach with sidepanel/v2
404+ - Consistent styling approach with sidepanel
406405
407406### UI Component Patterns
408407- **Component Structure**:
@@ -430,7 +429,7 @@ This is a Chrome extension that provides AI-powered web automation using LLM age
430429
431430### LLM Integration
432431- **LangChainProviderFactory** (`src/lib/llm/LangChainProviderFactory.ts`) - Abstraction over multiple LLM providers
433- - **Provider Strategies**: AnthropicStrategy, OpenAIStrategy, OllamaStrategy, NxtscapeStrategy
432+ - **Provider Strategies**: AnthropicStrategy, OpenAIStrategy, OllamaStrategy, BrowserOS Strategy
434433- **LLM Settings**: LLMSettingsReader for configuration management
435434- **Supported Providers**: Claude (Anthropic), OpenAI, Ollama
436435- **LangChain Integration** - Uses @langchain packages for agent execution
@@ -604,7 +603,7 @@ describe('MyTool', () => {
604603### Execution Flow
605604
606605```
607- User Query → NxtScape .run() → BrowserAgent.execute()
606+ User Query → BrowserOS .run() → BrowserAgent.execute()
608607 ↓
609608 ClassificationTool
610609 ↙ ↘
@@ -652,4 +651,4 @@ User Query → NxtScape.run() → BrowserAgent.execute()
652651- `src/lib/runtime/ExecutionContext.ts` - Runtime state and context management
653652- `src/lib/runtime/MessageManager.ts` - Conversation history management
654653- `manifest.json` - Chrome extension configuration
655- - `webpack.config.js` - Build configuration
654+ - `webpack.config.js` - Build configuration
0 commit comments