From 4238f38353a20c52afc28de8a3878b029a7473c2 Mon Sep 17 00:00:00 2001 From: 35C4n0r <70096901+35C4n0r@users.noreply.github.com> Date: Tue, 19 Aug 2025 01:13:32 +0530 Subject: [PATCH] fix: reformat cursor cli readme (#336) Closes # ## Description ## Type of Change - [ ] New module - [ ] Bug fix - [ ] Feature/enhancement - [x] Documentation - [ ] Other ## Module Information **Path:** `registry/[namespace]/modules/[module-name]` **New version:** `v1.0.0` **Breaking change:** [ ] Yes [ ] No ## Testing & Validation - [x] Tests pass (`bun test`) - [x] Code formatted (`bun run fmt`) - [x] Changes tested locally ## Related Issues --------- Co-authored-by: Atif Ali Co-authored-by: DevCats --- .../coder-labs/modules/cursor-cli/README.md | 20 +++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/registry/coder-labs/modules/cursor-cli/README.md b/registry/coder-labs/modules/cursor-cli/README.md index e50ca1a3..0d3cd753 100644 --- a/registry/coder-labs/modules/cursor-cli/README.md +++ b/registry/coder-labs/modules/cursor-cli/README.md @@ -1,14 +1,25 @@ --- display_name: Cursor CLI icon: ../../../../.icons/cursor.svg -description: Run Cursor CLI agent in your workspace (no AgentAPI) +description: Run Cursor Agent CLI in your workspace for AI pair programming verified: true -tags: [agent, cursor, ai, cli] +tags: [agent, cursor, ai, tasks] --- # Cursor CLI -Run the Cursor Coding Agent in your workspace using the Cursor CLI directly. +Run the Cursor Agent CLI in your workspace for interactive coding assistance and automated task execution. + +```tf +module "cursor_cli" { + source = "registry.coder.com/coder-labs/cursor-cli/coder" + version = "0.1.1" + agent_id = coder_agent.example.id + folder = "/home/coder/project" +} +``` + +## Basic setup A full example with MCP, rules, and pre/post install scripts: @@ -31,7 +42,7 @@ module "coder-login" { module "cursor_cli" { source = "registry.coder.com/coder-labs/cursor-cli/coder" - version = "0.1.0" + version = "0.1.1" agent_id = coder_agent.example.id folder = "/home/coder/project" @@ -40,6 +51,7 @@ module "cursor_cli" { force = true model = "gpt-5" ai_prompt = data.coder_parameter.ai_prompt.value + api_key = "xxxx-xxxx-xxxx" # Required while using tasks, see note below # Minimal MCP server (writes `folder/.cursor/mcp.json`): mcp = jsonencode({