Skip to content

fix(ci): add cursor to smoke-test + rebase PR #301 onto main#369

Closed
thepagent wants to merge 8 commits intomainfrom
fix/cursor-pr301-smoke-test-chart
Closed

fix(ci): add cursor to smoke-test + rebase PR #301 onto main#369
thepagent wants to merge 8 commits intomainfrom
fix/cursor-pr301-smoke-test-chart

Conversation

@thepagent
Copy link
Copy Markdown
Collaborator

Rebases PR #301 (feat: add Cursor Agent CLI support) onto current main and adds the two missing items:

  1. .github/workflows/docker-smoke-test.yml — add -cursor variant (was present for opencode in feat: add OpenCode as ACP agent backend #258, missing for cursor in feat: add Cursor Agent CLI support #301)
  2. charts/openab/Chart.yaml — aligned to main (0.7.6-beta.1) via rebase (PR feat: add Cursor Agent CLI support #301 branch was on 0.7.3-beta.56)

Also resolves rebase conflicts in build.yml, values.yaml, config.toml.example keeping both opencode and cursor entries.

Closes #301

brettchien and others added 8 commits April 15, 2026 18:23
Add Cursor Agent CLI as a new agent backend using native ACP support
(`cursor-agent acp`). Includes Dockerfile with pinned version download,
CI matrix entries, Helm chart config, and documentation.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Align with kiro Dockerfile conventions:
- Rename user from 'node' to 'agent' (uid 1000)
- Use cp instead of symlink for cursor-agent binary
- Pre-create ~/.cursor/ directory
- Fix docs/cursor.md token path from ~/.cursor-agent/ to ~/.cursor/

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
cursor-agent creates the directory on first run.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Extract tarball directly to /opt, rename dist-package to cursor-agent
- Remove preview warning from README agent table
- Add Model Selection section to docs/cursor.md
- Fix workingDir in Helm example (/home/node → /home/agent)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
HEALTHCHECK uses `pgrep -x openab`, which requires procps. Debian
slim does not ship with it, so the healthcheck was silently failing
(command not found) and the pod would enter Unhealthy state.

Same fix pattern as pending PR #234 for the other Dockerfiles.
Addresses review comment on PR #301 from @masami-agent.
Add a comment explaining the Cursor tarball URL pattern
(downloads.cursor.com/lab/<version>/linux/<arch>/...) and that it's
scraped from the official downloads page — there's no apt/yum
package. If Cursor changes the URL scheme, the build will fail with
a curl 404 at build time, so future maintainers have a hint of
where to check.

Addresses non-blocking review comment on PR #301 from @masami-agent.
Document how MCP servers are configured in cursor-agent ACP mode:

- The `--workspace` flag determines which `.cursor/mcp.json` is
  loaded and which approvals slug is used — explicit is safer than
  relying on cwd auto-detection.
- `--approve-mcps` does NOT apply in ACP mode (interactive CLI only);
  MCP load gating uses an approval file at
  .cursor/projects/<slug>/mcp-approvals.json.
- Two paths to approve: pre-create the file, or approve once
  interactively so Cursor persists it.
- openab auto-replies session/request_permission with allow_always,
  so once loaded, subsequent tool calls pass without prompting.
- Verify with `cursor-agent mcp list`.

Part of PR #301 polish.
Missing from PR #301 — opencode was added in #258 but cursor was not
included in the smoke test matrix.
@thepagent thepagent added the p1 High — address this sprint label Apr 15, 2026
@github-actions github-actions bot added the closing-soon PR missing Discord Discussion URL — will auto-close in 3 days label Apr 15, 2026
@github-actions
Copy link
Copy Markdown

⚠️ This PR is missing a Discord Discussion URL in the body.

All PRs must reference a prior Discord discussion to ensure community alignment before implementation.

Please edit the PR description to include a link like:

Discord Discussion URL: https://discord.com/channels/...

This PR will be automatically closed in 3 days if the link is not added.

@thepagent
Copy link
Copy Markdown
Collaborator Author

Superseded — changes pushed directly to PR #301 (brettchien/feat/cursor-agent-cli).

@thepagent thepagent closed this Apr 15, 2026
@thepagent thepagent deleted the fix/cursor-pr301-smoke-test-chart branch April 15, 2026 18:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

closing-soon PR missing Discord Discussion URL — will auto-close in 3 days p1 High — address this sprint

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants