-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
55 lines (43 loc) · 1.28 KB
/
action.yml
File metadata and controls
55 lines (43 loc) · 1.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
name: "Cursor Action"
description: "Install Cursor CLI and run cursor-agent in CI pipelines"
author: "PunGrumpy"
branding:
icon: "terminal"
color: "blue"
inputs:
cursor-version:
description: "Cursor CLI build to install: 'latest' or exact lab id (e.g. from https://downloads.cursor.com/lab/latest-version, like '2026.03.20-44cb435')"
required: false
default: "latest"
api-key:
description: "Cursor API key for authentication"
required: true
prompt:
description: "Prompt to pass to cursor-agent"
required: true
model:
description: "Model to use for the agent"
required: false
default: "auto"
working-directory:
description: "Working directory for the agent to operate in"
required: false
default: "."
permissions:
description: "Agent permissions: 'read-only', 'read-write', or 'full'"
required: false
default: "read-only"
timeout:
description: "Timeout in seconds for the agent run"
required: false
default: "300"
outputs:
summary:
description: "Text summary returned by the cursor-agent"
exit-code:
description: "Exit code from the cursor-agent process"
cache-hit:
description: "Whether the Cursor CLI binary was restored from cache"
runs:
using: "node24"
main: "dist/index.js"