Skip to content

Commit 8fe1459

Browse files
committed
sbx: add cursor cli reference
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
1 parent a49e8f8 commit 8fe1459

4 files changed

Lines changed: 60 additions & 2 deletions

File tree

data/sbx_cli/sbx_create.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ see_also:
5757
- sbx create claude - Create a sandbox for claude
5858
- sbx create codex - Create a sandbox for codex
5959
- sbx create copilot - Create a sandbox for copilot
60+
- sbx create cursor - Create a sandbox for cursor
6061
- sbx create docker-agent - Create a sandbox for docker-agent
6162
- sbx create droid - Create a sandbox for droid
6263
- sbx create gemini - Create a sandbox for gemini
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
name: sbx create cursor
2+
synopsis: Create a sandbox for cursor
3+
description: |-
4+
Create a sandbox with access to a host workspace for cursor.
5+
6+
The workspace path is required and will be mounted inside the sandbox at the
7+
same path as on the host. Additional workspaces can be provided as extra
8+
arguments. Append ":ro" to mount them read-only.
9+
10+
Use "sbx run SANDBOX" to attach to the agent after creation.
11+
usage: sbx create cursor PATH [PATH...] [flags]
12+
options:
13+
- name: help
14+
shorthand: h
15+
default_value: "false"
16+
usage: help for cursor
17+
inherited_options:
18+
- name: branch
19+
usage: Create a Git worktree on the given branch
20+
- name: cpus
21+
default_value: "0"
22+
usage: |
23+
Number of CPUs to allocate to the sandbox (0 = auto: N-1 host CPUs, min 1)
24+
- name: debug
25+
shorthand: D
26+
default_value: "false"
27+
usage: Enable debug logging
28+
- name: kit
29+
default_value: '[]'
30+
usage: |
31+
Kit reference (directory, ZIP, or OCI). Can be specified multiple times
32+
- name: memory
33+
shorthand: m
34+
usage: |
35+
Memory limit in binary units (e.g., 1024m, 8g). Default: 50% of host memory, max 32 GiB
36+
- name: name
37+
usage: |
38+
Name for the sandbox (default: <agent>-<workdir>, letters, numbers, hyphens, periods, plus signs and minus signs only)
39+
- name: quiet
40+
shorthand: q
41+
default_value: "false"
42+
usage: Suppress verbose output
43+
- name: template
44+
shorthand: t
45+
usage: |
46+
Container image to use for the sandbox (default: agent-specific image)
47+
example: |4-
48+
# Create in the current directory
49+
sbx create cursor .
50+
51+
# Create with a specific path
52+
sbx create cursor /path/to/project
53+
54+
# Create with additional read-only workspaces
55+
sbx create cursor . /path/to/docs:ro
56+
see_also:
57+
- sbx create - Create a sandbox for an agent

data/sbx_cli/sbx_run.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ description: |-
88
99
To create a sandbox without attaching, use "sbx create" instead.
1010
11-
Available agents: claude, codex, copilot, docker-agent, droid, gemini, kiro, opencode, shell
11+
Available agents: claude, codex, copilot, cursor, docker-agent, droid, gemini, kiro, opencode, shell
1212
usage: sbx run [flags] SANDBOX | AGENT [PATH...] [-- AGENT_ARGS...]
1313
options:
1414
- name: branch

data/sbx_cli/sbx_secret_set.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ synopsis: Create or update a secret
33
description: |-
44
Create or update a secret for a service.
55
6-
Available services: anthropic, aws, droid, github, google, groq, mistral, nebius, openai, xai
6+
Available services: anthropic, aws, cursor, droid, github, google, groq, mistral, nebius, openai, xai
77
88
When no arguments are provided, an interactive prompt guides you through
99
scope and service selection.

0 commit comments

Comments
 (0)