docs: add cursor credential setup guidance to init and README

Merged
KE
5mo ago
+10-0

What type of PR is this?

/kind docs

What this PR does / why we need it:

Cursor is officially a supported agent type, but it was missing from every credential setup touchpoint a new user encounters. This PR closes that documentation gap:

  • Adds a cursor entry to the kelos init config template (next to gemini/opencode) pointing to https://cursor.com/dashboard.
  • Adds a Cursor line to the printNextSteps() output in internal/cli/init.go so the post-init prompt mentions where to obtain a Cursor API key.
  • Adds Cursor — and the previously-missing Gemini — to the README's "How to get your credentials" dropdown.
  • Updates TestInitCommand_ConfigContainsCredentialURLs to assert the new entry is present.

Which issue(s) this PR is related to:

Fixes #1132

Special notes for your reviewer:

The Cursor API key URL points to the Integrations tab on https://cursor.com/dashboard, which is where Cursor exposes API keys for its CLI/agent product. The issue suggested https://cursor.com/settings; the dashboard URL is the actual landing page for API key management.

Does this PR introduce a user-facing change?

NONE

Summary by cubic

Adds Cursor credential setup guidance across onboarding: the kelos init config template, CLI printNextSteps() output, and README, so users choosing type: cursor know where to get an API key (https://cursor.com/dashboard, Integrations tab).
Also adds the missing Gemini API key link to the README and updates the init test to assert the Cursor URL is present.