Skip to content

Commit 68f996c

Browse files
authored
Merge branch 'main' into main
2 parents 74a83e3 + 2dbb83a commit 68f996c

296 files changed

Lines changed: 72238 additions & 32879 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.cursorrules

Lines changed: 0 additions & 1429 deletions
This file was deleted.

.env.test

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ OPENROUTER_API_KEY=fake-openrouter-key
2121
AWS_ACCESS_KEY_ID=fake-aws-access-key
2222
AWS_SECRET_ACCESS_KEY=fake-aws-secret-key
2323
AWS_DEFAULT_REGION=us-east-1
24-
AWS_REGION_NAME=us-east-1
2524

2625
# -----------------------------------------------------------------------------
2726
# Azure OpenAI Configuration

.github/codeql/codeql-config.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,18 @@ paths-ignore:
1414
- "lib/crewai/src/crewai/experimental/a2a/**"
1515

1616
paths:
17+
# Include GitHub Actions workflows/composite actions for CodeQL actions analysis
18+
- ".github/workflows/**"
19+
- ".github/actions/**"
1720
# Include all Python source code from workspace packages
1821
- "lib/crewai/src/**"
1922
- "lib/crewai-tools/src/**"
23+
- "lib/crewai-files/src/**"
2024
- "lib/devtools/src/**"
2125
# Include tests (but exclude cassettes via paths-ignore)
2226
- "lib/crewai/tests/**"
2327
- "lib/crewai-tools/tests/**"
28+
- "lib/crewai-files/tests/**"
2429
- "lib/devtools/tests/**"
2530

2631
# Configure specific queries or packs if needed

.github/dependabot.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,12 @@
55

66
version: 2
77
updates:
8-
- package-ecosystem: uv # See documentation for possible values
9-
directory: "/" # Location of package manifests
8+
- package-ecosystem: uv
9+
directory: "/"
1010
schedule:
1111
interval: "weekly"
12+
groups:
13+
security-updates:
14+
applies-to: security-updates
15+
patterns:
16+
- "*"

.github/workflows/codeql.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969

7070
# Initializes the CodeQL tools for scanning.
7171
- name: Initialize CodeQL
72-
uses: github/codeql-action/init@v3
72+
uses: github/codeql-action/init@v4
7373
with:
7474
languages: ${{ matrix.language }}
7575
build-mode: ${{ matrix.build-mode }}
@@ -98,6 +98,6 @@ jobs:
9898
exit 1
9999
100100
- name: Perform CodeQL Analysis
101-
uses: github/codeql-action/analyze@v3
101+
uses: github/codeql-action/analyze@v4
102102
with:
103103
category: "/language:${{matrix.language}}"
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
name: Generate Tool Specifications
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
paths:
8+
- 'lib/crewai-tools/src/crewai_tools/**'
9+
workflow_dispatch:
10+
11+
permissions:
12+
contents: write
13+
pull-requests: write
14+
15+
jobs:
16+
generate-specs:
17+
runs-on: ubuntu-latest
18+
env:
19+
PYTHONUNBUFFERED: 1
20+
21+
steps:
22+
- name: Generate GitHub App token
23+
id: app-token
24+
uses: tibdex/github-app-token@v2
25+
with:
26+
app_id: ${{ secrets.CREWAI_TOOL_SPECS_APP_ID }}
27+
private_key: ${{ secrets.CREWAI_TOOL_SPECS_PRIVATE_KEY }}
28+
29+
- name: Checkout code
30+
uses: actions/checkout@v4
31+
with:
32+
ref: ${{ github.head_ref }}
33+
token: ${{ steps.app-token.outputs.token }}
34+
35+
- name: Install uv
36+
uses: astral-sh/setup-uv@v6
37+
with:
38+
version: "0.8.4"
39+
python-version: "3.12"
40+
enable-cache: true
41+
42+
- name: Install the project
43+
working-directory: lib/crewai-tools
44+
run: uv sync --dev --all-extras
45+
46+
- name: Generate tool specifications
47+
working-directory: lib/crewai-tools
48+
run: uv run python src/crewai_tools/generate_tool_specs.py
49+
50+
- name: Check for changes and commit
51+
run: |
52+
git config user.name "github-actions[bot]"
53+
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
54+
55+
git add lib/crewai-tools/tool.specs.json
56+
57+
if git diff --quiet --staged; then
58+
echo "No changes detected in tool.specs.json"
59+
else
60+
echo "Changes detected in tool.specs.json, committing..."
61+
git commit -m "chore: update tool specifications"
62+
git push
63+
fi

.github/workflows/notify-downstream.yml

Lines changed: 0 additions & 33 deletions
This file was deleted.

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,6 @@ conceptual_plan.md
2727
build_image
2828
chromadb-*.lock
2929
.claude
30+
.crewai/memory
31+
blogs/*
32+
secrets/*

.python-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.13

conftest.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,11 @@
1111
from dotenv import load_dotenv
1212
import pytest
1313
from vcr.request import Request # type: ignore[import-untyped]
14-
import vcr.stubs.httpx_stubs as httpx_stubs # type: ignore[import-untyped]
14+
15+
try:
16+
import vcr.stubs.httpx_stubs as httpx_stubs # type: ignore[import-untyped]
17+
except ModuleNotFoundError:
18+
import vcr.stubs.httpcore_stubs as httpx_stubs # type: ignore[import-untyped]
1519

1620

1721
env_test_path = Path(__file__).parent / ".env.test"

0 commit comments

Comments
 (0)