Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 2 additions & 12 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,8 @@ jobs:
- name: Install uv
run: curl -LsSf https://astral.sh/uv/install.sh | sh

- name: Create virtual environment
run: uv venv

- name: Install dependencies
run: |
source .venv/bin/activate
uv pip install -e ".[dev]"
run: uv sync --extra dev

- name: Run unit tests
run: |
Expand All @@ -55,13 +50,8 @@ jobs:
- name: Install uv
run: curl -LsSf https://astral.sh/uv/install.sh | sh

- name: Create virtual environment
run: uv venv

- name: Install dependencies
run: |
source .venv/bin/activate
uv pip install -e ".[dev]"
run: uv sync --extra dev

- name: Run integration tests
timeout-minutes: 15
Expand Down
1 change: 1 addition & 0 deletions .python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.12
23 changes: 15 additions & 8 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,24 @@

### Common Operations
```bash
# Install dependencies from requirements.txt
uv pip install -r requirements.txt
# Install all dependencies (creates venv and uses uv.lock)
uv sync

# Install a single package
uv pip install <package-name>
# Install with dev dependencies
uv sync --extra dev

# Create virtual environment with uv
uv venv
# Add a new dependency
uv add <package-name>

# Sync dependencies (install exact versions from lockfile)
uv pip sync requirements.txt
# Add a dev dependency
uv add --dev <package-name>

# Update lockfile after changing pyproject.toml
uv lock

# Run a command in the virtual environment
uv run python script.py
uv run pytest
```

## Why These Rules?
Expand Down
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ Fireteam estimates task complexity and routes to the appropriate execution strat
## Installation

```bash
pip install fireteam
uv add fireteam
```

Requires Python 3.10+ and a valid `ANTHROPIC_API_KEY` environment variable.
Requires Python 3.12+ and a valid `ANTHROPIC_API_KEY` environment variable.

## Usage

Expand Down Expand Up @@ -213,11 +213,10 @@ fireteam/
# Clone and install dev dependencies
git clone https://github.com/darkresearch/fireteam
cd fireteam
uv venv && source .venv/bin/activate
uv pip install -e ".[dev]"
uv sync --extra dev

# Run tests
pytest tests/ -v
uv run pytest tests/ -v
```

## License
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ name = "fireteam"
version = "0.1.0"
description = "Multi-phase autonomous task execution with complexity estimation, planning, execution, and review"
readme = "README.md"
requires-python = ">=3.10"
requires-python = ">=3.12"
dependencies = [
"claude-agent-sdk>=0.1.4",
"python-dotenv>=1.0.0",
Expand Down
11 changes: 0 additions & 11 deletions requirements.txt

This file was deleted.

31 changes: 20 additions & 11 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,24 +35,33 @@ chmod +x "$SYSTEM_DIR/src/orchestrator.py"
mkdir -p "$SYSTEM_DIR/logs"
mkdir -p "$SYSTEM_DIR/state"

# Check for Python
# Check for Python 3.12+
if ! command -v python3 &> /dev/null; then
echo "Error: Python 3 is required but not found"
echo "Error: Python 3.12+ is required but not found"
exit 1
fi

echo "Python 3: $(python3 --version)"
PYTHON_VERSION=$(python3 -c 'import sys; print(f"{sys.version_info.major}.{sys.version_info.minor}")')
if [[ "$(echo -e "3.12\n$PYTHON_VERSION" | sort -V | head -n1)" != "3.12" ]]; then
echo "Error: Python 3.12+ is required, but found Python $PYTHON_VERSION"
exit 1
fi

# Install Python dependencies
echo "Installing Python dependencies..."
if command -v pip3 &> /dev/null; then
pip3 install -r "$SYSTEM_DIR/requirements.txt" --quiet
echo "✓ Python dependencies installed"
else
echo "Warning: pip3 not found, skipping dependency installation"
echo "Please install dependencies manually: pip3 install -r $SYSTEM_DIR/requirements.txt"
echo "Python: $(python3 --version)"

# Install uv if not present
if ! command -v uv &> /dev/null; then
echo "Installing uv package manager..."
curl -LsSf https://astral.sh/uv/install.sh | sh
export PATH="$HOME/.local/bin:$PATH"
fi

# Install Python dependencies using uv
echo "Installing Python dependencies with uv..."
cd "$SYSTEM_DIR"
uv sync --quiet
echo "✓ Python dependencies installed"

# Claude CLI no longer required - using Agent SDK
echo "✓ Using Claude Agent SDK (CLI not required)"

Expand Down
701 changes: 701 additions & 0 deletions uv.lock

Large diffs are not rendered by default.