From ba855bae2b14f00ab969994f8980a4531f5b7e79 Mon Sep 17 00:00:00 2001 From: Daniel Barreto Date: Tue, 30 Jun 2026 15:32:54 -0300 Subject: [PATCH] feat: repoint template commands to crewAIInc-fde org (#6394) Point `crewai template list`/`template add` at the crewAIInc-fde GitHub org so the FDE template_* repos are listed and installed instead of the crewAIInc ones. Co-authored-by: Cursor Co-authored-by: Lorenze Jay <63378463+lorenzejay@users.noreply.github.com> --- lib/cli/src/crewai_cli/remote_template/main.py | 4 ++-- lib/crewai/tests/cli/remote_template/test_main.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/cli/src/crewai_cli/remote_template/main.py b/lib/cli/src/crewai_cli/remote_template/main.py index a7db81191..c6999da83 100644 --- a/lib/cli/src/crewai_cli/remote_template/main.py +++ b/lib/cli/src/crewai_cli/remote_template/main.py @@ -17,7 +17,7 @@ from crewai_cli.command import BaseCommand logger = logging.getLogger(__name__) console = Console() -GITHUB_ORG = "crewAIInc" +GITHUB_ORG = "crewAIInc-fde" TEMPLATE_PREFIX = "template_" GITHUB_API_BASE = "https://api.github.com" @@ -218,7 +218,7 @@ class TemplateCommand(BaseCommand): def _extract_zip(self, zip_bytes: bytes, dest: str) -> None: """Extract a GitHub zipball into dest, stripping the top-level directory.""" with zipfile.ZipFile(io.BytesIO(zip_bytes)) as zf: - # GitHub zipballs have a single top-level dir like 'crewAIInc-template_xxx-/' + # GitHub zipballs have a single top-level dir like 'crewAIInc-fde-template_xxx-/' members = zf.namelist() if not members: click.secho("Downloaded archive is empty.", fg="red") diff --git a/lib/crewai/tests/cli/remote_template/test_main.py b/lib/crewai/tests/cli/remote_template/test_main.py index 7b9b45d8f..a1d726d39 100644 --- a/lib/crewai/tests/cli/remote_template/test_main.py +++ b/lib/crewai/tests/cli/remote_template/test_main.py @@ -24,7 +24,7 @@ SAMPLE_REPOS = [ ] -def _make_zipball(files: dict[str, str], top_dir: str = "crewAIInc-template_test-abc123") -> bytes: +def _make_zipball(files: dict[str, str], top_dir: str = "crewAIInc-fde-template_test-abc123") -> bytes: """Create an in-memory zipball mimicking GitHub's format.""" buf = io.BytesIO() with zipfile.ZipFile(buf, "w") as zf: