mirror of
https://github.com/KeygraphHQ/shannon.git
synced 2026-07-24 05:20:55 +02:00
09c2553245
The pi migration moved several files without updating CLAUDE.md: - ai/pi-executor.ts -> ai/pi/pi-executor.ts - ai/settings-writer.ts:writeCodePathPermissionConfig -> ai/pi/permission-system.ts:syncPermissionSystemConfig - ai/tools.ts -> ai/pi/task-tool.ts and ai/pi/session-tools.ts - src/mcp-server/ -> src/collectors/ Also correct the task tool's description: it was documented as read-only, but CHILD_TOOLS grants read, grep, find, ls, write, and bash. Drop the stale MCP label from the collectors and the SDK reference in .env.example.
47 lines
2.3 KiB
Bash
47 lines
2.3 KiB
Bash
# Shannon Environment Configuration
|
|
# Copy this file to .env and fill in your credentials
|
|
|
|
# Adaptive thinking is enabled automatically on Opus 4.6/4.7/4.8. Set to false to disable.
|
|
# CLAUDE_ADAPTIVE_THINKING=false
|
|
|
|
# Shannon forwards your machine's /etc/hosts entries into the worker container. Set to false to disable.
|
|
# SHANNON_FORWARD_HOSTS=false
|
|
|
|
# =============================================================================
|
|
# OPTION 1: Direct Anthropic
|
|
# =============================================================================
|
|
ANTHROPIC_API_KEY=your-api-key-here
|
|
|
|
# OR use OAuth token instead
|
|
# CLAUDE_CODE_OAUTH_TOKEN=your-oauth-token-here
|
|
|
|
# =============================================================================
|
|
# OPTION 2: Custom Base URL (compatible proxies, gateways, etc.)
|
|
# =============================================================================
|
|
# Point the agent at an alternative Anthropic-compatible endpoint.
|
|
# ANTHROPIC_BASE_URL=https://your-proxy.example.com
|
|
# ANTHROPIC_AUTH_TOKEN=your-auth-token # Auth token for the custom endpoint
|
|
|
|
# =============================================================================
|
|
# Model Tier Overrides (Anthropic API / OAuth / Custom Base URL / Bedrock)
|
|
# =============================================================================
|
|
# Override which model is used for each tier. Defaults are used if not set.
|
|
# Optional for direct Anthropic and custom base URL modes. Required for Bedrock.
|
|
# ANTHROPIC_SMALL_MODEL=... # Small tier (default: claude-haiku-4-5-20251001)
|
|
# ANTHROPIC_MEDIUM_MODEL=... # Medium tier (default: claude-sonnet-4-6)
|
|
# ANTHROPIC_LARGE_MODEL=... # Large tier (default: claude-opus-4-8)
|
|
|
|
# =============================================================================
|
|
# OPTION 3: AWS Bedrock
|
|
# =============================================================================
|
|
# https://aws.amazon.com/blogs/machine-learning/accelerate-ai-development-with-amazon-bedrock-api-keys/
|
|
# Requires the model tier overrides above to be set with Bedrock-specific model IDs.
|
|
# Example Bedrock model IDs for us-east-1:
|
|
# ANTHROPIC_SMALL_MODEL=us.anthropic.claude-haiku-4-5-20251001-v1:0
|
|
# ANTHROPIC_MEDIUM_MODEL=us.anthropic.claude-sonnet-4-6
|
|
# ANTHROPIC_LARGE_MODEL=us.anthropic.claude-opus-4-8
|
|
|
|
# CLAUDE_CODE_USE_BEDROCK=1
|
|
# AWS_REGION=us-east-1
|
|
# AWS_BEARER_TOKEN_BEDROCK=your-bearer-token
|