diff --git a/.agents/plugins/marketplace.json b/.agents/plugins/marketplace.json new file mode 100644 index 0000000..f23305b --- /dev/null +++ b/.agents/plugins/marketplace.json @@ -0,0 +1,20 @@ +{ + "name": "dart-flutter", + "interface": { + "displayName": "Dart and Flutter" + }, + "plugins": [ + { + "name": "dart-flutter", + "source": { + "source": "local", + "path": "./" + }, + "policy": { + "installation": "AVAILABLE", + "authentication": "ON_INSTALL" + }, + "category": "Developer Tools" + } + ] +} \ No newline at end of file diff --git a/.codex-plugin/plugin.json b/.codex-plugin/plugin.json new file mode 100644 index 0000000..758cfe8 --- /dev/null +++ b/.codex-plugin/plugin.json @@ -0,0 +1,38 @@ +{ + "name": "dart-flutter", + "version": "1.0.0", + "description": "Official Codex plugin for Dart and Flutter that installs Flutter/Dart Skills and Dart MCP server for building natively compiled, visually stunning applications for mobile, web, desktop, and embedded devices from a single codebase", + "author": { + "name": "Dart and Flutter", + "url": "https://flutter.dev" + }, + "homepage": "https://github.com/flutter/agent-plugins", + "repository": "https://github.com/flutter/agent-plugins", + "license": "BSD-3-Clause", + "keywords": [ + "flutter", + "dart", + "mobile", + "codex", + "skills", + "mcp" + ], + "skills": "./skills/", + "mcpServers": "./.mcp.json", + "interface": { + "displayName": "Dart and Flutter", + "shortDescription": "Build and manage Dart and Flutter apps from Codex.", + "longDescription": "Use official Dart and Flutter skills and the MCP server to develop apps, run workflows, and manage code from Codex.", + "developerName": "Dart and Flutter", + "category": "Developer Tools", + "capabilities": [ + "Skills", + "MCP" + ], + "websiteURL": "https://flutter.dev", + "defaultPrompt": [ + "Set up Flutter in this app.", + "Create a new Dart skill." + ] + } +} \ No newline at end of file diff --git a/README.md b/README.md index 7aed699..04f674a 100644 --- a/README.md +++ b/README.md @@ -37,6 +37,19 @@ claude plugin install dart-flutter@dart-flutter ```bash claude plugin marketplace list ``` +\n### Codex Plugin + +Add the Dart and Flutter marketplace for Codex plugins: + +```bash +codex plugin marketplace add flutter/agent-plugins +``` + +Install the Dart and Flutter plugin: + +```bash +codex plugin add dart-flutter@dart-flutter +``` ## Updating Plugins