From ef829d65142001d660886ce5c2fef17610661d57 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Fri, 14 Aug 2026 11:10:36 +0000 Subject: [PATCH 1/2] chore(env): add cloud agent development environment config Co-authored-by: Rip&Tear --- .cursor/environment.json | 4 ++++ .cursor/install.sh | 19 +++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 .cursor/environment.json create mode 100755 .cursor/install.sh diff --git a/.cursor/environment.json b/.cursor/environment.json new file mode 100644 index 0000000000..03ec01385a --- /dev/null +++ b/.cursor/environment.json @@ -0,0 +1,4 @@ +{ + "name": "CrewAI", + "install": "bash .cursor/install.sh" +} diff --git a/.cursor/install.sh b/.cursor/install.sh new file mode 100755 index 0000000000..d04a9c4020 --- /dev/null +++ b/.cursor/install.sh @@ -0,0 +1,19 @@ +#!/usr/bin/env bash +# Idempotent Cloud Agent bootstrap for the CrewAI uv workspace. +set -euo pipefail + +# Install uv (the project's package manager) if it is not already available. +if ! command -v uv >/dev/null 2>&1; then + curl -LsSf https://astral.sh/uv/install.sh | sh +fi + +# Make uv available on PATH for the rest of this script. +if [ -f "$HOME/.local/bin/env" ]; then + # shellcheck disable=SC1091 + . "$HOME/.local/bin/env" +fi + +# Sync the whole workspace: every package, the dev dependency group, and all +# extras. This matches the documented contributor setup and is a no-op when the +# environment is already up to date. +uv sync --all-groups --all-extras From d06e4a2b24f7159981504e5362e23081dbd86f51 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Fri, 14 Aug 2026 11:19:00 +0000 Subject: [PATCH 2/2] chore(env): inline self-contained install in environment.json Co-authored-by: Rip&Tear --- .cursor/environment.json | 2 +- .cursor/install.sh | 19 ------------------- 2 files changed, 1 insertion(+), 20 deletions(-) delete mode 100755 .cursor/install.sh diff --git a/.cursor/environment.json b/.cursor/environment.json index 03ec01385a..d4dfc051e4 100644 --- a/.cursor/environment.json +++ b/.cursor/environment.json @@ -1,4 +1,4 @@ { "name": "CrewAI", - "install": "bash .cursor/install.sh" + "install": "export PATH=\"$HOME/.local/bin:$PATH\"\ncommand -v uv >/dev/null 2>&1 || curl -LsSf https://astral.sh/uv/install.sh | sh\nexport PATH=\"$HOME/.local/bin:$PATH\"\nuv sync --all-groups --all-extras" } diff --git a/.cursor/install.sh b/.cursor/install.sh deleted file mode 100755 index d04a9c4020..0000000000 --- a/.cursor/install.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/usr/bin/env bash -# Idempotent Cloud Agent bootstrap for the CrewAI uv workspace. -set -euo pipefail - -# Install uv (the project's package manager) if it is not already available. -if ! command -v uv >/dev/null 2>&1; then - curl -LsSf https://astral.sh/uv/install.sh | sh -fi - -# Make uv available on PATH for the rest of this script. -if [ -f "$HOME/.local/bin/env" ]; then - # shellcheck disable=SC1091 - . "$HOME/.local/bin/env" -fi - -# Sync the whole workspace: every package, the dev dependency group, and all -# extras. This matches the documented contributor setup and is a no-op when the -# environment is already up to date. -uv sync --all-groups --all-extras