Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
365deb0
feat: manage Cursor vendor sessions through host acquisitions
showxu Nov 25, 2026
525e829
test: verify managed Cursor lifecycle through installed package
showxu Nov 25, 2026
576afc1
test: verify registered adapter launch ownership
showxu Nov 25, 2026
5806595
test: verify retained sessions through the registered host router
showxu Nov 25, 2026
4069324
test: correlate native cancellation with each addressed turn
showxu Nov 25, 2026
49bf7e3
test: verify registered project access in Cursor worktrees
showxu Nov 25, 2026
c7e031e
ci: verify Cursor source and registered session workflows
showxu Nov 25, 2026
40265c1
test: verify retained Cursor cancellation results
showxu Nov 25, 2026
46e0de6
test: verify Cursor revocation against its owned worktree processes
showxu Nov 25, 2026
0905e7e
ci: pin the reviewed host for consumer acceptance
showxu Nov 25, 2026
629851f
fix: isolate Cursor source validation evidence
showxu Nov 26, 2026
8432be3
fix: check Cursor validation paths by filesystem identity
showxu Nov 26, 2026
8392aa2
ci: pin Host with reviewed Computer Use declarations
showxu Nov 26, 2026
04a83f2
feat: declare Cursor service access and report ACP sign-in requirements
showxu Nov 27, 2026
5b6c9a9
fix: classify Cursor ACP authentication by RPC code
showxu Nov 27, 2026
f803ed2
test: verify Cursor service access in Host registration
showxu Nov 27, 2026
0f48bb6
ci: run consumer checks against the corrected host fixtures
showxu Nov 28, 2026
2ba842b
fix: limit ACP sign-in hints to authentication required
showxu Nov 28, 2026
e297829
ci: verify the consumer against the mounted-project fix
showxu Nov 28, 2026
3d46520
fix: keep sign-in with the vendor
showxu Nov 28, 2026
2afb37c
ci: validate against the integrated Host candidate
showxu Nov 28, 2026
ba4f8c3
ci: test against the reviewed Host revision
showxu Nov 28, 2026
b2c0c17
ci: verify against the updated host diagnostics contract
showxu Nov 28, 2026
ab36e74
ci: pin Host for integrated candidate checks
showxu Nov 28, 2026
8ebbb42
ci: allow more time for the Cursor source suite
showxu Nov 28, 2026
f6a35b8
ci: verify against the parallel Host candidate
showxu Nov 29, 2026
bbddefa
ci: verify the accepted Host candidate
showxu Nov 29, 2026
54a21c5
docs: prepare 0.1.0 release notes
showxu Nov 30, 2026
cac39d5
ci: pin Computer MCP 0.1.0 for plugin validation
showxu Nov 30, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/computer-mcp-host.sha
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
bee91275a6301e56c64f677125f5d7f38ba7fe0e
62 changes: 61 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,69 @@ jobs:
- run: python3 tests/check_runtime_rejection.py
runtime:
uses: computer-mcp/github-workflows/.github/workflows/plugin-runtime.yml@fd25fcface41732fda099017c6945912366fc7c1
host-consumer:
strategy:
fail-fast: false
matrix:
include:
- suite: source
swift-timeout-seconds: 1800
job-timeout-minutes: 35
- suite: vendor-stop
swift-timeout-seconds: 1200
job-timeout-minutes: 25
runs-on: macos-latest
timeout-minutes: ${{ matrix.job-timeout-minutes }}
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
with:
ref: ${{ github.sha }}
persist-credentials: false
- uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7
with:
python-version: '3.14'
- name: Verify the consumer against pinned Host source
shell: bash
env:
PLUGIN_SHA: ${{ github.sha }}
SUITE: ${{ matrix.suite }}
SWIFT_TIMEOUT_SECONDS: ${{ matrix.swift-timeout-seconds }}
GIT_TERMINAL_PROMPT: '0'
GIT_ASKPASS: /usr/bin/false
GIT_CONFIG_GLOBAL: /dev/null
GIT_CONFIG_NOSYSTEM: '1'
GIT_ALLOW_PROTOCOL: file:https
run: |
host_sha=$(cat .github/computer-mcp-host.sha)
[[ "$host_sha" =~ ^[0-9a-f]{40}$ && "$host_sha" != 0000000000000000000000000000000000000000 ]]
test "$(git rev-parse HEAD)" = "$PLUGIN_SHA"
host_source="$RUNNER_TEMP/computer-mcp-host"
git init "$host_source"
git -C "$host_source" -c credential.helper= fetch --no-tags --depth=1 \
https://github.com/computer-mcp/computer-mcp.git "$host_sha"
git -C "$host_source" checkout --detach "$host_sha"
test "$(git -C "$host_source" rev-parse HEAD)" = "$host_sha"
python3 -B scripts/validate_host_source.py --suite "$SUITE" \
--host-source "$host_source" --host-sha "$host_sha" \
--plugin-source "$PWD" --plugin-sha "$PLUGIN_SHA" \
--output "$RUNNER_TEMP/host-consumer" --timeout "$SWIFT_TIMEOUT_SECONDS"
- name: Retain consumer evidence
if: always()
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7
with:
name: cursor-host-consumer-${{ matrix.suite }}-${{ github.sha }}
path: |
${{ runner.temp }}/host-consumer/receipt.json
${{ runner.temp }}/host-consumer/cases.json
${{ runner.temp }}/host-consumer/host-source-export.log
${{ runner.temp }}/host-consumer/plugin-source-export.log
${{ runner.temp }}/host-consumer/package-build.log
${{ runner.temp }}/host-consumer/swift-test.log
if-no-files-found: ignore
retention-days: 14
validate:
if: always()
needs: [package, unsupported-runtime, runtime]
needs: [package, unsupported-runtime, runtime, host-consumer]
uses: computer-mcp/github-workflows/.github/workflows/result.yml@fd25fcface41732fda099017c6945912366fc7c1
with:
needs-json: ${{ toJSON(needs) }}
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,9 @@
All notable user-visible changes to the Cursor plugin are documented here.

## Unreleased

## 0.1.0 — 2026-11-30

### Added

- Open or resume Cursor sessions through ACP. Start prompts in the background, follow events, answer permission requests, questions and plans, or cancel the active prompt.
11 changes: 11 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,14 @@ Do not commit caches, local credentials or generated runtime state. Publishing a

Contributions are licensed under this repository's [LICENSE](LICENSE),
FSL-1.1-ALv2.

Manifest caller requirements must agree with the actual adapter catalog; run
`python3 -m unittest discover -s tests -p 'test_declarations.py' -v` and
`python3 -m unittest discover -s tests -p 'test_host_source.py' -v` for focused checks.
The exact-source consumer and separate archive identity check are documented in the
[installation guide](docs/Reference/Installation.md). Use only clean reviewed full-SHA
pairs; never direct plugin commands to an implicit App control socket. The deterministic
fixture preserves native permission choices and does not establish authentication or
real-model sandbox suitability. The required CI job runs the registered Cursor suite
at the candidate revision and fetches [the pinned Host SHA](.github/computer-mcp-host.sha)
from the public Host repository.
4 changes: 0 additions & 4 deletions Examples/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@
"acp": {
"enabled": true,
"hostServices": false,
"args": [
"--executable",
"/absolute/path/to/agent"
],
"exposure": "reexport",
"prefix": "",
"allowAnyTool": true
Expand Down
24 changes: 15 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ vendor behavior needs no host release.
The CLI contribution describes verified non-interactive commands; the native baseline and its
exact version assertion live in `cli-tree.json`. It is deliberately partial: interactive setup,
installation and unsupported administrative flows are not callable tools. The adapter owns
streaming and session and run state. The host owns registration, profile grants, the initial
streaming and session and run state. The host owns registration, provider/caller grants, private containers, the initial
working directory and audit.

## Quick look
Expand All @@ -50,8 +50,8 @@ from `Examples/settings.json`.

## Install

1. Install and authenticate Cursor Agent yourself, and provide Python 3.13 or newer on the
Computer MCP launch `PATH`. The plugin installs neither and never copies credentials.
1. Install Cursor Agent separately and sign in on your computer using Cursor.
Provide Python 3.13 or newer on the Computer MCP launch `PATH`.
2. Build the archive:

```sh
Expand All @@ -61,9 +61,13 @@ from `Examples/settings.json`.
3. Install the ZIP through Computer MCP's plugin UI or the owner CLI. Installation is neither
activation nor a permission grant.
4. Review `Examples/settings.json`, replace its placeholder paths, and configure the plugin
through the same UI or `plugins configure`. The CLI dependency binding selects the executable
for the CLI contribution; the MCP launch `args` supply `--executable` for the adapter. Point
both at the same verified installation.
through the same UI or `plugins configure`. The `cursor-agent` dependency selects the
executable for the CLI and Host-managed ACP contributions.

At enablement, review the provider Project-write request, MCP caller requirements
and sandbox network request. The request covers `api2.cursor.sh` and
`api5.cursor.sh`. The owner can narrow it, and Host policy still applies.
Sandbox execution is the default.

See the [installation guide](docs/Reference/Installation.md) for revisions, configuration
publication and validation.
Expand Down Expand Up @@ -92,8 +96,7 @@ semantics.
## Requirements

- Computer MCP on an arm64 computer.
- Cursor Agent (`agent`), installed and authenticated separately; its version must match
`cli-tree.json`.
- Cursor Agent (`agent`) at the version declared in `cli-tree.json`.
- Python 3.13 or newer.

## Documentation
Expand All @@ -106,7 +109,10 @@ python3 -m unittest discover -s tests -p 'test_*.py' -v
python3 scripts/validate_native.py --executable /absolute/path/to/agent
```

Tests use deterministic peers, not a model. Authenticated execution and production activation are
The [source consumer](docs/Reference/Installation.md#deterministic-source-consumer)
takes explicit clean full-SHA host/plugin inputs and exercises all three contributions
with isolated host-owned state. Its native host execution and the final host pin remain
integration acceptance steps. Tests use deterministic peers, not a model. Authenticated execution and production activation are
separate acceptance steps.

## Contributing
Expand Down
Loading
Loading