diff --git a/app/config/sdks.php b/app/config/sdks.php index cb5b14fe62..77db161b5c 100644 --- a/app/config/sdks.php +++ b/app/config/sdks.php @@ -289,6 +289,25 @@ return [ 'repoBranch' => 'main', 'changelog' => \realpath(__DIR__ . '/../../docs/sdks/agent-skills/CHANGELOG.md'), ], + [ + 'key' => 'cursor-plugin', + 'name' => 'CursorPlugin', + 'version' => '0.1.0', + 'url' => 'https://github.com/appwrite/cursor-plugin.git', + 'enabled' => true, + 'beta' => false, + 'dev' => false, + 'hidden' => false, + 'family' => APP_SDK_PLATFORM_CONSOLE, + 'prism' => 'cursor-plugin', + 'source' => \realpath(__DIR__ . '/../sdks/console-cursor-plugin'), + 'gitUrl' => 'git@github.com:appwrite/cursor-plugin.git', + 'gitRepoName' => 'cursor-plugin', + 'gitUserName' => 'appwrite', + 'gitBranch' => 'dev', + 'repoBranch' => 'main', + 'changelog' => \realpath(__DIR__ . '/../../docs/sdks/cursor-plugin/CHANGELOG.md'), + ], ], ], diff --git a/src/Appwrite/Platform/Tasks/SDKs.php b/src/Appwrite/Platform/Tasks/SDKs.php index 8307ef2e2f..a480f4cb4f 100644 --- a/src/Appwrite/Platform/Tasks/SDKs.php +++ b/src/Appwrite/Platform/Tasks/SDKs.php @@ -6,6 +6,7 @@ use Appwrite\SDK\Language\AgentSkills; use Appwrite\SDK\Language\Android; use Appwrite\SDK\Language\Apple; use Appwrite\SDK\Language\CLI; +use Appwrite\SDK\Language\CursorPlugin; use Appwrite\SDK\Language\Dart; use Appwrite\SDK\Language\Deno; use Appwrite\SDK\Language\DotNet; @@ -60,6 +61,7 @@ class SDKs extends Action 'rest', 'markdown', 'agent-skills', + 'cursor-plugin' ]; public static function getName(): string @@ -309,6 +311,9 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND case 'agent-skills': $config = new AgentSkills(); break; + case 'cursor-plugin': + $config = new CursorPlugin(); + break; default: throw new \Exception('Language "' . $language['key'] . '" not supported'); }