mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-09-20 18:13:49 +00:00
chore(env): add cloud agent development environment config
Co-authored-by: Rip&Tear <theCyberTech@users.noreply.github.com>
This commit is contained in:
4
.cursor/environment.json
Normal file
4
.cursor/environment.json
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"name": "CrewAI",
|
||||
"install": "bash .cursor/install.sh"
|
||||
}
|
||||
19
.cursor/install.sh
Executable file
19
.cursor/install.sh
Executable file
@@ -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
|
||||
Reference in New Issue
Block a user