summaryrefslogtreecommitdiff
path: root/internal/config
diff options
context:
space:
mode:
authorPeter Stone <thepeterstone@gmail.com>2026-01-12 13:43:07 -1000
committerPeter Stone <thepeterstone@gmail.com>2026-01-12 13:43:07 -1000
commit1d47891d0097c10920ab5706b54c847024ec8f29 (patch)
treeec5f88639ef8dcb27b4428153f0f10de93bcfdd5 /internal/config
parent80c233287b65927a012ff46a27d4eac9a796fce0 (diff)
Remove AI agent middleware and snapshot endpoint
Simplified the dashboard by removing the AI agent access layer: - Deleted internal/middleware/ai_auth.go and tests - Removed AIAgentAPIKey from config.Config - Removed /api/claude/snapshot endpoint registration - Updated SESSION_STATE.md and CLAUDE.md documentation - All tests passing after cleanup Dashboard is now human-facing only without the AI agent endpoint. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Diffstat (limited to 'internal/config')
-rw-r--r--internal/config/config.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/internal/config/config.go b/internal/config/config.go
index 4a86b06..dc7d1c3 100644
--- a/internal/config/config.go
+++ b/internal/config/config.go
@@ -22,9 +22,6 @@ type Config struct {
Port string
CacheTTLMinutes int
Debug bool
-
- // AI Agent Access
- AIAgentAPIKey string
}
// Load reads configuration from environment variables
@@ -44,9 +41,6 @@ func Load() (*Config, error) {
Port: getEnvWithDefault("PORT", "8080"),
CacheTTLMinutes: getEnvAsInt("CACHE_TTL_MINUTES", 5),
Debug: getEnvAsBool("DEBUG", false),
-
- // AI Agent Access
- AIAgentAPIKey: os.Getenv("AI_AGENT_API_KEY"),
}
// Validate required fields