From d609399daf4e19344e09bae44a2fba43c60eac90 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Thu, 20 Aug 2026 18:18:39 +0000 Subject: [PATCH] Describe the agent version pin as an optional override Co-authored-by: Jack Pertschuk --- README.md | 2 -- microvm-image/Dockerfile | 2 +- microvm-image/cursor-agent-version | 7 +++---- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 22e2baf..0e2b6f3 100644 --- a/README.md +++ b/README.md @@ -36,8 +36,6 @@ aws lambda-microvms create-microvm-image \ --hooks '{"port":9000,"microvmImageHooks":{"ready":"ENABLED","readyTimeoutInSeconds":60},"microvmHooks":{"run":"ENABLED","runTimeoutInSeconds":60}}' ``` -To test a CLI off `main`, put a lab version (`YYYY.MM.DD-`) in `microvm-image/cursor-agent-version` and rebuild the MicroVM image. Lab builds: [cursor.com/install?channel=lab](https://cursor.com/install?channel=lab), the `agent-cli.yml` GitHub Action on `main`, or `https://downloads.cursor.com/lab//linux/x64/agent-cli-package.tar.gz`. Leave the file empty for the prod installer. - Then start an agent from [cursor.com/agents](https://cursor.com/agents) against the pool. ## How it works diff --git a/microvm-image/Dockerfile b/microvm-image/Dockerfile index f498455..117d630 100644 --- a/microvm-image/Dockerfile +++ b/microvm-image/Dockerfile @@ -6,7 +6,7 @@ RUN dnf install -y --setopt=install_weak_deps=0 \ $(command -v curl >/dev/null 2>&1 || echo curl) && \ dnf clean all -# Optional: pin a lab/main CLI, e.g. 2026.08.20-f582eb6. Empty = prod installer. +# Optional agent version override. Empty = production installer. # create-microvm-image zips this directory and may not pass --build-arg; # set the version in cursor-agent-version instead (ships in the zip). COPY cursor-agent-version /tmp/cursor-agent-version diff --git a/microvm-image/cursor-agent-version b/microvm-image/cursor-agent-version index 8c18d13..37f5c86 100644 --- a/microvm-image/cursor-agent-version +++ b/microvm-image/cursor-agent-version @@ -1,7 +1,6 @@ -# Optional Cursor agent-cli lab version (YYYY.MM.DD-). -# Leave empty / comments only to use the prod installer: +# Optional agent version override. +# Leave empty / comments only to use the production installer: # curl -fsSL https://cursor.com/install | bash -# Example: 2026.08.20-f582eb6 # # This file ships in the create-microvm-image zip (AWS may not pass Docker --build-arg). -# Put the version on its own line, rebuild the MicroVM image, then re-zip/upload. +# Put a version string on its own line, rebuild the MicroVM image, then re-zip/upload.