edoardo 1.0.0 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,73 +1,135 @@
1
- # React + TypeScript + Vite
1
+ # Edoardo
2
2
 
3
- This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
3
+ AI Agent with MCP (Model Context Protocol) plugin support. Chat with multiple AI models and extend capabilities with powerful plugins.
4
4
 
5
- Currently, two official plugins are available:
5
+ ## Installation
6
6
 
7
- - [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react) uses [Babel](https://babeljs.io/) (or [oxc](https://oxc.rs) when used in [rolldown-vite](https://vite.dev/guide/rolldown)) for Fast Refresh
8
- - [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh
7
+ ```bash
8
+ npm install -g edoardo
9
+ ```
10
+
11
+ ## Quick Start
9
12
 
10
- ## React Compiler
13
+ ```bash
14
+ # Start the application (opens browser automatically)
15
+ edoardo
11
16
 
12
- The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see [this documentation](https://react.dev/learn/react-compiler/installation).
17
+ # Start on a specific port
18
+ edoardo --port=8080
13
19
 
14
- ## Expanding the ESLint configuration
20
+ # Start without opening browser
21
+ edoardo --no-open
22
+ ```
15
23
 
16
- If you are developing a production application, we recommend updating the configuration to enable type-aware lint rules:
24
+ ## CLI Options
17
25
 
18
- ```js
19
- export default defineConfig([
20
- globalIgnores(['dist']),
21
- {
22
- files: ['**/*.{ts,tsx}'],
23
- extends: [
24
- // Other configs...
26
+ | Option | Description |
27
+ |--------|-------------|
28
+ | `--port=<number>` | Set the server port (default: 3001) |
29
+ | `--no-open` | Don't open browser automatically |
30
+ | `--help`, `-h` | Show help message |
25
31
 
26
- // Remove tseslint.configs.recommended and replace with this
27
- tseslint.configs.recommendedTypeChecked,
28
- // Alternatively, use this for stricter rules
29
- tseslint.configs.strictTypeChecked,
30
- // Optionally, add this for stylistic rules
31
- tseslint.configs.stylisticTypeChecked,
32
+ ## Supported LLM Providers
32
33
 
33
- // Other configs...
34
- ],
35
- languageOptions: {
36
- parserOptions: {
37
- project: ['./tsconfig.node.json', './tsconfig.app.json'],
38
- tsconfigRootDir: import.meta.dirname,
39
- },
40
- // other options...
41
- },
42
- },
43
- ])
44
- ```
34
+ | Provider | Models | API Key Required |
35
+ |----------|--------|------------------|
36
+ | **OpenAI** | GPT-4o, GPT-4o-mini, GPT-4-turbo, GPT-3.5-turbo | Yes |
37
+ | **Google Gemini** | Gemini 2.0 Flash, Gemini 1.5 Pro, Gemini 1.5 Flash | Yes |
38
+ | **Grok (xAI)** | Grok 3, Grok 3 Mini, Grok 4 Fast, Grok Code, Grok Imagine | Yes |
39
+ | **Ollama** | Any locally installed model | No (local) |
40
+
41
+ ## Available Plugins (MCP)
42
+
43
+ Edoardo supports the Model Context Protocol (MCP) for extending AI capabilities. Enable plugins from the settings panel.
44
+
45
+ | Plugin | Description | Auth Required |
46
+ |--------|-------------|---------------|
47
+ | **File System** | Read and write files on your local file system | Allowed paths configuration |
48
+ | **GitHub** | Access repositories, issues, pull requests, and code | Personal Access Token |
49
+ | **Notion** | Access Notion databases and pages | Integration Token + User ID |
50
+ | **Trello** | Manage boards, lists, and cards | API Key + Token + Workspace ID |
51
+ | **Fetch** | Fetch content from web URLs | None |
52
+ | **Web Scraping** | Advanced web content scraping | None |
53
+ | **Shopify** | Manage products, orders, customers, inventory | OAuth (Client ID + Secret) |
54
+ | **Vercel** | Manage projects, deployments, and domains | Personal Access Token |
55
+ | **Supabase** | Manage projects, databases, and APIs | Access Token |
56
+ | **MongoDB Atlas** | Manage Atlas clusters, users, and network access | Public/Private API Keys |
57
+ | **MongoDB Database** | Query and explore MongoDB databases | Connection String |
58
+ | **n8n** | Create and manage automation workflows | Host URL + API Key |
59
+
60
+ ## Features
61
+
62
+ - **Multi-Provider Support**: Switch between AI providers without changing your workflow
63
+ - **MCP Plugin System**: Extend AI capabilities with powerful integrations
64
+ - **Local & Cloud**: Run locally or deploy to the cloud
65
+ - **Real-time Chat**: Streaming responses for a smooth experience
66
+ - **Tool Calling**: AI can use plugins to perform actions on your behalf
67
+
68
+ ## Collaboration
69
+
70
+ Want to contribute or have questions? Contact me at **crtdaniele@gmail.com**
71
+
72
+ ## Plugin Configuration
73
+
74
+ ### GitHub
75
+ 1. Go to [GitHub Settings > Tokens](https://github.com/settings/tokens)
76
+ 2. Create a Personal Access Token with required scopes
77
+ 3. Enter the token in the GitHub plugin settings
78
+
79
+ ### Notion
80
+ 1. Go to [Notion Integrations](https://www.notion.so/my-integrations)
81
+ 2. Create an internal integration
82
+ 3. Copy the Integration Token and your User ID
83
+ 4. Configure in the Notion plugin settings
45
84
 
46
- You can also install [eslint-plugin-react-x](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-x) and [eslint-plugin-react-dom](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-dom) for React-specific lint rules:
47
-
48
- ```js
49
- // eslint.config.js
50
- import reactX from 'eslint-plugin-react-x'
51
- import reactDom from 'eslint-plugin-react-dom'
52
-
53
- export default defineConfig([
54
- globalIgnores(['dist']),
55
- {
56
- files: ['**/*.{ts,tsx}'],
57
- extends: [
58
- // Other configs...
59
- // Enable lint rules for React
60
- reactX.configs['recommended-typescript'],
61
- // Enable lint rules for React DOM
62
- reactDom.configs.recommended,
63
- ],
64
- languageOptions: {
65
- parserOptions: {
66
- project: ['./tsconfig.node.json', './tsconfig.app.json'],
67
- tsconfigRootDir: import.meta.dirname,
68
- },
69
- // other options...
70
- },
71
- },
72
- ])
85
+ ### Trello
86
+ 1. Go to [Trello App Key](https://trello.com/app-key)
87
+ 2. Get your API Key and generate a Token
88
+ 3. Find your Workspace ID
89
+ 4. Configure in the Trello plugin settings
90
+
91
+ ### Shopify
92
+ 1. Go to your Shopify Admin > Apps > Develop apps
93
+ 2. Create a custom app
94
+ 3. Get Client ID and Client Secret
95
+ 4. Enter your store URL (e.g., `your-store.myshopify.com`)
96
+
97
+ ### n8n
98
+ 1. Self-host n8n or use n8n cloud
99
+ 2. Go to Settings > API > Create API Key
100
+ 3. Enter your n8n host URL and API key
101
+
102
+ ## Security
103
+
104
+ - API keys are stored locally in your browser's localStorage
105
+ - No credentials are sent to external servers (except to the respective API providers)
106
+ - For production deployments, consider using environment variables
107
+
108
+ ## Troubleshooting
109
+
110
+ ### Port already in use
111
+ ```bash
112
+ edoardo --port=8080
73
113
  ```
114
+
115
+ ### Plugins not loading
116
+ - Ensure you have the required dependencies (Node.js 18+)
117
+ - For stdio plugins, make sure `npx` or `uvx` is available
118
+ - Check the browser console for error messages
119
+
120
+ ### MCP connection issues
121
+ - Verify your credentials are correct
122
+ - Check if the external service is accessible
123
+ - Review the plugin-specific documentation
124
+
125
+ ## License
126
+
127
+ MIT
128
+
129
+ ## Author
130
+
131
+ Daniele Carta
132
+
133
+ ---
134
+
135
+ Made with AI Agents in mind.