diff --git a/.github/workflows/verify-cli-installs.yml b/.github/workflows/verify-cli-installs.yml index b2711b4..344eb57 100644 --- a/.github/workflows/verify-cli-installs.yml +++ b/.github/workflows/verify-cli-installs.yml @@ -108,6 +108,30 @@ jobs: test -f "$installed_path/skills/actwise-ideation/SKILL.md" jq -e --arg url "$MCP_URL" '.mcpServers["actwise-ideation"].url == $url' "$installed_path/.mcp.json" + cursor: + name: Cursor CLI + runs-on: ubuntu-latest + steps: + - name: Set up Node.js + uses: actions/setup-node@v4 + with: + node-version: 23.6.1 + - name: Install Cursor CLI + run: | + curl https://cursor.com/install -fsS | bash + echo "$HOME/.local/bin" >> "$GITHUB_PATH" + "$HOME/.local/bin/agent" --version + - name: Install from GitHub + run: npx --yes plugins@1.3.4 add "$PLUGIN_REPOSITORY" --target cursor --scope user --yes --debug + - name: Verify the installed skill and MCP server + run: | + installed_path="$(find "$HOME/.claude/plugins/cache" -type f -path '*/actwise-ideation/*/.mcp.json' -printf '%h\n' | head -n 1)" + test -n "$installed_path" + test -f "$installed_path/skills/actwise-ideation/SKILL.md" + jq -e --arg url "$MCP_URL" '.mcpServers["actwise-ideation"].url == $url' "$installed_path/.mcp.json" + jq -e '.plugins["actwise-ideation@actwise"] | length > 0' "$HOME/.claude/plugins/installed_plugins.json" + jq -e '.enabledPlugins["actwise-ideation@actwise"] == true' "$HOME/.claude/settings.json" + portable: name: Agent Plugins CLI runs-on: ubuntu-latest @@ -135,6 +159,7 @@ jobs: - codex - claude - grok + - cursor - portable runs-on: ubuntu-latest steps: @@ -144,4 +169,5 @@ jobs: test "${{ needs.codex.result }}" = "success" test "${{ needs.claude.result }}" = "success" test "${{ needs.grok.result }}" = "success" + test "${{ needs.cursor.result }}" = "success" test "${{ needs.portable.result }}" = "success" diff --git a/README.md b/README.md index fd90e37..d2c0f61 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,12 @@ codex plugin marketplace add actwiseai/actwise-ideation-plugin codex plugin add actwise-ideation@actwise ``` +### Cursor + +```bash +npx --yes plugins@1.3.4 add actwiseai/actwise-ideation-plugin --target cursor --scope user --yes +``` + ### Other clients See the setup guides for [ChatGPT](docs/chatgpt/README.md), [Cursor](docs/cursor/README.md), and [Devin](docs/devin/README.md). diff --git a/docs/cursor/README.md b/docs/cursor/README.md index b7e03ce..4b5030e 100644 --- a/docs/cursor/README.md +++ b/docs/cursor/README.md @@ -1,5 +1,32 @@ # Install in Cursor +## Cursor plugin interface + +1. Open an agent chat in Cursor. +2. Enter `/plugin`. +3. Paste this repository URL into the plugin search: + + ```text + https://github.com/actwiseai/actwise-ideation-plugin + ``` + +4. Select Actwise Ideation and install it at user scope. +5. Start a new agent chat and complete browser authentication when prompted. + +Cursor documents `/plugin` as its interactive plugin installation interface. Cursor CLI also supports `agent plugin marketplace add ` for non-interactive marketplace registration, but does not document a complete `cursor plugin install` command. See the [Cursor CLI changelog](https://cursor.com/docs/cli/changelog). + +## Non-interactive installation + +For scripts and CI, install the portable Agent Plugin from GitHub: + +```bash +npx --yes plugins@1.3.4 add actwiseai/actwise-ideation-plugin --target cursor --scope user --yes +``` + +Restart Cursor after installation. This repository verifies the non-interactive path in its GitHub Actions installation gate. + +## MCP-only alternative + Open Cursor settings, find MCP, and add a remote HTTP server: ```json @@ -14,3 +41,5 @@ Open Cursor settings, find MCP, and add a remote HTTP server: ``` Enable the server and complete browser authentication when prompted. Start a new chat after the tools become available. + +The MCP-only alternative exposes the evaluation tools, but it does not install the repository's Ideation skill instructions.