Files
ajarbot/.env.example
Jordan Ramos fe7c146dc6 feat: Add Gitea MCP integration and project cleanup
## New Features
- **Gitea MCP Tools** (zero API cost):
  - gitea_read_file: Read files from homelab repo
  - gitea_list_files: Browse directories
  - gitea_search_code: Search by filename
  - gitea_get_tree: Get directory tree
- **Gitea Client** (gitea_tools/client.py): REST API wrapper with OAuth
- **Proxmox SSH Scripts** (scripts/): Homelab data collection utilities
- **Obsidian MCP Support** (obsidian_mcp.py): Advanced vault operations
- **Voice Integration Plan** (JARVIS_VOICE_INTEGRATION_PLAN.md)

## Improvements
- **Increased timeout**: 5min → 10min for complex tasks (llm_interface.py)
- **Removed Direct API fallback**: Gitea tools are MCP-only (zero cost)
- **Updated .env.example**: Added Obsidian MCP configuration
- **Enhanced .gitignore**: Protect personal memory files (SOUL.md, MEMORY.md)

## Cleanup
- Deleted 24 obsolete files (temp/test/experimental scripts, outdated docs)
- Untracked personal memory files (SOUL.md, MEMORY.md now in .gitignore)
- Removed: AGENT_SDK_IMPLEMENTATION.md, HYBRID_SEARCH_SUMMARY.md,
  IMPLEMENTATION_SUMMARY.md, MIGRATION.md, test_agent_sdk.py, etc.

## Configuration
- Added config/gitea_config.example.yaml (Gitea setup template)
- Added config/obsidian_mcp.example.yaml (Obsidian MCP template)
- Updated scheduled_tasks.yaml with new task examples

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-18 20:31:32 -07:00

79 lines
2.7 KiB
Plaintext

# ========================================
# Ajarbot Environment Configuration
# ========================================
# Copy this file to .env and configure for your setup
# ========================================
# LLM Configuration
# ========================================
# LLM Mode - Choose how to access Claude
# Options:
# - "agent-sdk" (default) - Use Claude Pro subscription via Agent SDK
# - "api" - Use pay-per-token API (requires ANTHROPIC_API_KEY)
#
# Agent SDK mode pros: Unlimited usage within Pro limits, no API key needed
# API mode pros: Works in any environment, predictable costs, better for production
AJARBOT_LLM_MODE=agent-sdk
# Anthropic API Key - ONLY required for "api" mode
# Get your key from: https://console.anthropic.com/settings/keys
# For agent-sdk mode, authenticate with: claude auth login
ANTHROPIC_API_KEY=your-api-key-here
# ========================================
# Messaging Platform Adapters
# ========================================
# Adapter credentials can also be stored in config/adapters.local.yaml
# Slack
# Get tokens from: https://api.slack.com/apps
AJARBOT_SLACK_BOT_TOKEN=xoxb-your-bot-token
AJARBOT_SLACK_APP_TOKEN=xapp-your-app-token
# Telegram
# Get token from: https://t.me/BotFather
AJARBOT_TELEGRAM_BOT_TOKEN=123456:ABC-your-bot-token
# ========================================
# Obsidian MCP Integration (Optional)
# ========================================
# Obsidian MCP server provides advanced vault operations via Obsidian REST API
# See: OBSIDIAN_MCP_INTEGRATION.md for setup instructions
# Enable/disable Obsidian MCP integration
OBSIDIAN_MCP_ENABLED=false
# Obsidian Local REST API Key
# Install "Local REST API" plugin in Obsidian first, then generate key in settings
OBSIDIAN_API_KEY=your-obsidian-api-key-here
# Obsidian REST API endpoint (default: http://127.0.0.1:27123)
OBSIDIAN_BASE_URL=http://127.0.0.1:27123
# Path to your main Obsidian vault (overrides config/obsidian_mcp.yaml)
# OBSIDIAN_VAULT_PATH=C:/Users/YourName/Documents/MyVault
# Tool routing strategy (optional, overrides config/obsidian_mcp.yaml)
# Options: obsidian_preferred, custom_preferred, obsidian_only
# OBSIDIAN_ROUTING_STRATEGY=obsidian_preferred
# ========================================
# Alternative LLM Providers (Optional)
# ========================================
# GLM (z.ai) - Optional alternative to Claude
# GLM_API_KEY=your-glm-key-here
# ========================================
# Legacy/Deprecated Settings
# ========================================
# The following settings are deprecated and no longer needed:
#
# USE_CLAUDE_CODE_SERVER=true
# CLAUDE_CODE_SERVER_URL=http://localhost:8000
# USE_AGENT_SDK=true
# USE_DIRECT_API=true
#
# Use AJARBOT_LLM_MODE instead (see above)