Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
16 commits
Select commit Hold shift + click to select a range
a6d45c2
feat: add CostOptimizerClient for HTTP requests to ai-cost-optimizer
ScientiaCapital Nov 22, 2025
5a2eea5
feat: add retry logic and circuit breaker to CostOptimizerClient
ScientiaCapital Nov 22, 2025
358c7d3
fix: implement HALF_OPEN recovery and fix race conditions in circuit …
ScientiaCapital Nov 22, 2025
d8fca55
feat(orchestrator): integrate CostOptimizerClient into AgentOrchestrator
ScientiaCapital Nov 22, 2025
24d63b4
fix(orchestrator): resolve naming collision and cost tracking bug
ScientiaCapital Nov 22, 2025
cdcc7aa
feat: add chat interface UI for Claude SDK frontend
ScientiaCapital Nov 22, 2025
17c4a32
fix(chat): add accessibility, auto-scroll, unique IDs, and better err…
ScientiaCapital Nov 22, 2025
b1f68cc
feat: add chat API endpoint with Claude SDK service
ScientiaCapital Nov 22, 2025
344dd73
fix(chat): add input validation and clarify env var documentation
ScientiaCapital Nov 22, 2025
5978f20
feat: add requirements extraction to ClaudeSDKService
ScientiaCapital Nov 22, 2025
cef89ad
feat: connect chat interface to build orchestrator
ScientiaCapital Nov 22, 2025
23fb101
docs: add Task 7 implementation report and example flows
ScientiaCapital Nov 22, 2025
8adebf8
fix(chat): add input sanitization and type safety for build status
ScientiaCapital Nov 22, 2025
7826986
docs: add security fixes summary documentation
ScientiaCapital Nov 22, 2025
b762e2a
feat(deployment): add dual-platform deployment (Task 8) + health chec…
ScientiaCapital Nov 25, 2025
53b0970
fix: resolve all build errors for Vercel deployment
ScientiaCapital Nov 25, 2025
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
93 changes: 93 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
# Node dependencies
node_modules
.pnp
.pnp.js

# Build outputs
.next
out
dist
build
*.o
*.a
*.so

# Testing
coverage
.nyc_output
playwright-report
test-results

# Development
*.log
logs
.DS_Store
.env
.env.local
.env.*.local
.env.development.local
.env.test.local
.env.production.local

# Git
.git
.gitignore
.gitattributes

# Documentation
docs
*.md
!README.md

# IDE
.vscode
.idea
*.swp
*.swo
*~
.vim
.emacs
*.sublime-*

# Tests
tests
__tests__
*.test.ts
*.test.tsx
*.test.js
*.test.jsx
*.spec.ts
*.spec.tsx
*.spec.js
*.spec.jsx
jest.config.js
jest.config.ts
jest.setup.js
jest.setup.ts
playwright.config.ts
vitest.config.ts

# Python validator
python-validator

# CI/CD
.github
.gitlab-ci.yml
.circleci

# Docker
Dockerfile*
docker-compose*.yml
.dockerignore

# Misc
.editorconfig
.prettierrc
.eslintrc
tsconfig.tsbuildinfo
tsconfig.json
package-lock.json
Comment on lines +88 to +89
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

logic: excluding tsconfig.json breaks Docker build

Dockerfile.runpod line 51 copies tsconfig.json but .dockerignore excludes it (line 88), causing the copy to fail.

Prompt To Fix With AI
This is a comment left during a code review.
Path: .dockerignore
Line: 88:89

Comment:
**logic:** excluding `tsconfig.json` breaks Docker build

Dockerfile.runpod line 51 copies `tsconfig.json` but .dockerignore excludes it (line 88), causing the copy to fail.

How can I resolve this? If you propose a fix, please make it concise.

yarn.lock
pnpm-lock.yaml
.taskmaster
coverage
14 changes: 13 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,21 @@ SUPABASE_SERVICE_ROLE_KEY="your_service_role_key_here" # Required: Admin oper
# This service routes AI requests to the most cost-effective provider
# providing 90% cost savings (Gemini free tier → Claude Haiku → Premium)
# ----------------------------------------------------------------------------
COST_OPTIMIZER_API_URL="https://your-cost-optimizer-vercel-url.vercel.app" # Required: ai-cost-optimizer service URL

# AI Cost Optimizer Service (FastAPI on port 8000)
# Used by /api/chat endpoint for conversational AI routing
# This is the CHAT-specific endpoint for real-time user conversations
COST_OPTIMIZER_URL="http://localhost:8000" # Required: Chat API uses this
# Production: Your deployed FastAPI URL
# Development: http://localhost:8000 (local FastAPI service)

# Legacy Cost Optimizer API (if using separate deployment)
# Used by AgentOrchestrator for build-time AI routing (agent coordination)
# This is the BUILD-specific endpoint for agent orchestration
COST_OPTIMIZER_API_URL="https://your-cost-optimizer-vercel-url.vercel.app" # Required: Agent system uses this
# Production: Your Vercel deployment URL
# Development: http://localhost:3002 (if running locally)

COST_OPTIMIZER_API_KEY="your_cost_optimizer_api_key_here" # Required: API key for cost optimizer service
# Generate from ai-cost-optimizer dashboard

Expand Down
Loading
Loading