## Quick Start

### 1. Create Plugin Directory

```bash
mkdir -p ~/.config/onda/plugins/my-plugin
cd ~/.config/onda/plugins/my-plugin
```

### 2. Create manifest.json

```json
{
  "id": "my-plugin",
  "name": "My First Plugin",
  "version": "1.0.0",
  "description": "A simple Onda plugin",
  "main": "main.js",
  "capabilities": ["commands", "notifications"],
  "activationEvents": ["onStartup"]
}
```

### 3. Create main.js

```javascript
self.__ondaPlugin = {
  onActivate: async (api) => {
    // Register a command that appears in Command Palette (Cmd+K)
    await api.commands.register('my-plugin.hello', {
      title: 'Say Hello',
      category: 'My Plugin',
      handler: () => {
        api.notifications.show({
          type: 'success',
          message: 'Hello from My Plugin!'
        });
      }
    });

    console.log('[MyPlugin] Activated!');
  }
};
```

### 4. Enable the Plugin

Open Onda, go to Settings (`Cmd+,`), navigate to the Plugins tab, and toggle your plugin ON.
