You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
└── config.ts # Global configuration (DEV_MODE, etc.)
80
+
│ ├── types/ # TypeScript type definitions
81
+
│ └── utils/ # Utility functions
82
+
├── types/ # Global TypeScript declarations
83
+
└── config.ts # Main configuration file
53
84
```
54
85
55
86
### Configuration
56
87
57
-
Key settings in `src/config.ts`:
58
-
59
-
```typescript
60
-
exportconst config = {
61
-
DEV_MODE: true, // Shows logs in options page
62
-
VERSION: '0.1.0',
63
-
LOG_LEVEL: 'info'
64
-
}
65
-
```
88
+
The main config file at `src/config.ts` controls global settings. You can also configure LLM providers and other settings through the extension's side panel.
66
89
67
90
## Usage
68
91
69
-
1.**Install Extension**: Load `dist/` directory in Chrome extensions
70
-
2.**Open Control Panel**: Click extension icon to open options page
71
-
3.**View Logs**: Development logs appear in real-time (when DEV_MODE: true)
92
+
1.**Install Extension**: Load the `dist/` directory as an unpacked extension in Chrome
93
+
2.**Open Side Panel**: Click the extension icon to open the side panel
94
+
3.**Configure LLM**: Set up your preferred LLM provider (OpenAI, Anthropic, etc.)
95
+
4.**Start Using**: The agent will help you browse and interact with web pages
72
96
73
97
## Architecture
74
98
75
-
-**Port Messaging**: Uses `OPTIONS_TO_BACKGROUND` for UI ↔ Background communication
76
-
-**Centralized Logging**: `LogUtility` routes logs to options page when DEV_MODE enabled
99
+
-**LangChain Integration**: Uses LangChain and LangGraph for agent orchestration
100
+
-**Port Messaging**: Communication between background script, content scripts, and side panel
101
+
-**Event Bus**: Streaming events and updates between components
102
+
-**Modular Tools**: Each browser action is a separate tool that agents can use
0 commit comments