Skip to content
Open
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
35 changes: 35 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,41 @@ ANTHROPIC_API_KEY=your-api-key-here
# AWS_REGION=us-east-1
# AWS_BEARER_TOKEN_BEDROCK=your-bearer-token

# =============================================================================
# OPTION 4: GitHub Copilot
# =============================================================================
# Uses @github/copilot-sdk to access AI models via your GitHub Copilot subscription.
# No Anthropic API key required — just a GitHub token from a Copilot-enabled account.
#
# Quick setup:
# ./shannon login # Interactive login (uses gh CLI or manual token entry)
# ./shannon models # List all available models
#
# Or set your token manually (PAT with 'copilot' scope, or GH CLI token):
# GITHUB_TOKEN=ghp_your-github-token-here
#
# Alternatively:
# GH_TOKEN=ghp_your-github-token-here
# COPILOT_GITHUB_TOKEN=ghp_your-github-token-here
#
# Force Copilot mode (auto-detected when GITHUB_TOKEN set and no ANTHROPIC_API_KEY):
# COPILOT_PROVIDER=true
#
# Override Copilot model selection (Claude uses Copilot SDK; GPT/Gemini/Grok use
# the GitHub Models OpenAI-compatible API — both paths work automatically):
# COPILOT_SMALL_MODEL=claude-haiku-4.5
# COPILOT_MEDIUM_MODEL=claude-sonnet-4.6
# COPILOT_LARGE_MODEL=claude-opus-4.6
#
# Available models (run ./shannon models for full list):
# Claude: claude-haiku-4.5, claude-sonnet-4, claude-sonnet-4.5, claude-sonnet-4.6,
# claude-opus-4.1, claude-opus-4.5, claude-opus-4.6
# GPT: gpt-4o, gpt-4.1, gpt-5, gpt-5-mini, gpt-5.1, gpt-5.1-codex,
# gpt-5.1-codex-max, gpt-5.1-codex-mini, gpt-5.2, gpt-5.2-codex
# Gemini: gemini-2.5-pro, gemini-3-flash-preview, gemini-3-pro-preview,
# gemini-3.1-pro-preview
# Other: grok-code-fast-1

# =============================================================================
# OPTION 4: Google Vertex AI
# =============================================================================
Expand Down
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,9 @@ RUN npm prune --production && \

RUN npm install -g @anthropic-ai/claude-code

# Install GitHub Copilot CLI (required by @github/copilot-sdk for Copilot provider mode)
RUN npm install -g @github/copilot 2>/dev/null || true

# Create directories for session data and ensure proper permissions
RUN mkdir -p /app/sessions /app/deliverables /app/repos /app/configs && \
mkdir -p /tmp/.cache /tmp/.config /tmp/.npm && \
Expand Down
9 changes: 9 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,15 @@ services:
- ANTHROPIC_MEDIUM_MODEL=${ANTHROPIC_MEDIUM_MODEL:-}
- ANTHROPIC_LARGE_MODEL=${ANTHROPIC_LARGE_MODEL:-}
- CLAUDE_CODE_MAX_OUTPUT_TOKENS=${CLAUDE_CODE_MAX_OUTPUT_TOKENS:-64000}
# GitHub Copilot provider
- COPILOT_PROVIDER=${COPILOT_PROVIDER:-}
- GITHUB_TOKEN=${GITHUB_TOKEN:-}
- GH_TOKEN=${GH_TOKEN:-}
- COPILOT_GITHUB_TOKEN=${COPILOT_GITHUB_TOKEN:-}
- COPILOT_SMALL_MODEL=${COPILOT_SMALL_MODEL:-}
- COPILOT_MEDIUM_MODEL=${COPILOT_MEDIUM_MODEL:-}
- COPILOT_LARGE_MODEL=${COPILOT_LARGE_MODEL:-}
- COPILOT_LOG_LEVEL=${COPILOT_LOG_LEVEL:-warning}
depends_on:
temporal:
condition: service_healthy
Expand Down
Loading