Commit Graph

1573 Commits

Author SHA1 Message Date
bff91ff4e4 docs(build): Add critical warning about volume mounts
- Adds a prominent warning section to the migration guide.
- Explains that local volume mounts (sideloading) will overwrite container code.
- Explicitly states that Already up to date. on the host is mandatory before rebuilding to ensure changes are applied. This addresses a recurring debugging issue.
2026-01-03 09:12:35 +00:00
ac36aa245a fix(debug): Add version info and API key debugging
- Adds a version and timestamp to the orchestrator's startup logs to verify code deployment.
- Introduces extensive debug logging in config.py and helpers.py to trace the API key loading process, including exact file paths and environment variable checks. This will help diagnose the persistent 'API Key missing' error.
2026-01-03 09:06:00 +00:00
034c7da1a4 fix(config): Correct API key filename and improve logging
- Changes the expected API key filename from 'api_key.txt' to 'gemini_api_key.txt' to match the project standard.
- Enhances logging to output the absolute path when an API key file is not found, simplifying future debugging.
2026-01-03 09:00:52 +00:00
145b94318f fix(deps): Migrate from google.generativeai to google-genai
- Updates requirements.txt to use the new 'google-genai' package.
- Updates import statements and error messages in helpers.py to use the new library.
- Ensures the gemini_api_key.txt is copied into the Docker container to resolve API key errors.
2026-01-03 08:56:20 +00:00
6d5d9926ac feat(gtm-architect): Finalize migration and implement web scraping
- Refactors the gtm-architect Dockerfile for a flat, more efficient build process.
- Implements robust web scraping via BeautifulSoup in helpers.py for URL analysis in phase1.
- Makes shared library imports (gspread, pandas, etc.) in helpers.py optional to prevent ModuleNotFoundErrors in microservices.
- Implements the main execution logic in the orchestrator to handle command-line arguments.
- Updates documentation to reflect the new architecture, scraping feature, and dependency handling.
2026-01-03 08:43:53 +00:00
842435244e Fix API base URL to be relative for correct proxy routing 2026-01-02 19:20:05 +00:00
60b73d9da7 Finalize GTM v2 migration: Fix API key mounting and Docker config 2026-01-02 19:11:51 +00:00
b2a4d3a453 Fix Docker build context and file paths for gtm-app 2026-01-02 19:07:34 +00:00
416cb28446 Refactor GTM Architect to v2: Python-driven architecture, 9-phase process, new DB and Docker setup 2026-01-02 19:00:05 +00:00
157858503e gtm-architect/v2/components/Layout.tsx hinzugefügt 2026-01-02 18:21:50 +00:00
e3ed59c6cc Dateien nach "gtm-architect/v2" hochladen 2026-01-02 18:21:20 +00:00
f8ce604ae7 Dateien nach "gtm-architect/v2" hochladen 2026-01-02 18:20:45 +00:00
efd9628fd4 Dateien nach "gtm-architect/v2" hochladen 2026-01-02 18:20:25 +00:00
3aee685f23 gtm-architect/v2/App.tsx hinzugefügt 2026-01-02 18:20:04 +00:00
b6ea703ef2 Fix Market Intel: Add missing google-generativeai dependency 2026-01-01 23:02:37 +00:00
21ea1e478c Fix GTM Architect: Robust prompt syntax, Gemini API migration, Docker logging 2026-01-01 22:39:43 +00:00
df58878973 fix(gtm-architect): Stabilize Docker environment and fix frontend
- Refactor Docker build process for gtm-app to ensure reliability
- Correct volume mounts and build context in docker-compose.yml to prevent stale code
- Fix frontend 404 error by using relative paths in index.html
- Ensure API key is correctly mounted into the container
- Stabilize Node.js to Python data passing via explicit --data argument
- Update gtm_architect_documentation.md with extensive troubleshooting guide
2026-01-01 08:36:48 +00:00
df78055ecf fix(gtm): Implement ultimate prompt robustness, version logging, and final doc update 2025-12-31 15:34:45 +00:00
21478f4f71 fix(gtm): Ultimate prompt syntax robustness, add versions to logs, update migration docs 2025-12-31 15:26:23 +00:00
71bbfc6ac5 fix(gtm): Final robust prompt construction to eliminate SyntaxError and update migration guide 2025-12-31 15:04:45 +00:00
1f8bdfa821 fix(gtm): Resolve SyntaxError in multi-line prompt by changing "2. " to "2) " numbering 2025-12-31 14:55:06 +00:00
3090bb3d58 docs: Enhance migration guide with detailed Python syntax troubleshooting for f-strings and persistent SyntaxErrors 2025-12-31 14:50:49 +00:00
1da1d5433b fix(gtm): Final syntax fix for dictionaries and f-strings 2025-12-31 14:30:02 +00:00
e349cefe4b fix(gtm): Correct dictionary merge syntax error and add debug logging 2025-12-31 14:27:04 +00:00
34700e7103 fix(gtm): Replace risky ternary operators in f-strings with explicit if/else blocks to fix SyntaxError 2025-12-31 14:23:45 +00:00
5d54200c94 fix(gtm): Resolve f-string SyntaxError and helpers.py incompatibility in orchestrator 2025-12-31 14:20:30 +00:00
c4fd7d4365 fix(gtm): Remove unsupported 'system_message' arg from call_openai_chat calls and fix indentation 2025-12-31 14:11:25 +00:00
9c9f72eb5b fix(gtm): Pin openai==0.28.1 to resolve helpers.py compatibility and update migration docs 2025-12-31 14:01:21 +00:00
6df2a32174 fix(gtm): Add missing 'wikipedia' dependency for helpers.py 2025-12-31 13:52:50 +00:00
a4b105b4d9 fix(gtm): Use relative API path to support subdirectory deployment 2025-12-31 13:44:56 +00:00
886b91a2e5 docs: Add migration guide and fix white screen issue in GTM app 2025-12-31 13:28:05 +00:00
4873daa5f9 fix(gtm): Add missing express dependency to package.json 2025-12-31 13:17:07 +00:00
4c3d15eb35 docs(gtm): Create comprehensive documentation and update global readme 2025-12-31 13:16:10 +00:00
c66d320ef9 fix(gtm): Increase server timeout to 600s and add missing volume mounts to prevent 502 errors 2025-12-31 13:08:09 +00:00
9964bf474f chore(gtm): Optimize Docker container with multi-stage build and flat structure 2025-12-31 12:58:54 +00:00
2b4d8d6f7b feat(gtm-architect): Integrate GTM Architect app with Python backend, DB persistence, and Docker stack 2025-12-31 12:38:28 +00:00
62f1e453bc gtm-architect/components/Layout.tsx hinzugefügt 2025-12-31 12:08:49 +00:00
fa6d7263d2 Dateien nach "gtm-architect" hochladen 2025-12-31 12:08:18 +00:00
f9fc2692a3 Dateien nach "gtm-architect" hochladen 2025-12-31 12:07:59 +00:00
37eac70ad7 Dateien nach "gtm-architect" hochladen 2025-12-31 12:07:45 +00:00
f01aa7e1cb gtm-architect/.env.local hinzugefügt 2025-12-31 12:07:24 +00:00
8dfc972569 docs: Dokumentation der Datenbankintegration aktualisiert
- Detailliertere Beschreibung der  und  Integration.
- Klärung der API-Routen in  und Frontend-Komponenten in .
2025-12-30 06:50:15 +00:00
3dbbb0a9f2 fix: Finalize B2B routing and DB initialization for Nginx compatibility 2025-12-29 19:56:00 +00:00
7a5322cf31 fix: Use absolute path for market_db_manager.py in B2B server.cjs to resolve 'file not found' error 2025-12-29 18:26:21 +00:00
f73e5cec1b fix: Add missing lucide-react dependency to B2B assistant 2025-12-29 16:38:12 +00:00
fea41e353a docs: Mark B2B database integration as completed 2025-12-29 16:07:11 +00:00
7788d02342 feat: Integrated SQLite database and project history into B2B Marketing Assistant
- market_db_manager.py: Made DB_PATH configurable via environment variable.

- Dockerfile.b2b: Included market_db_manager.py in the B2B container image.

- docker-compose.yml: Configured separate DB paths and volumes for Market Intel and B2B Assistant.

- B2B Server: Added API routes for project management (list, load, save, delete).

- B2B UI: Implemented auto-save and a 'Project History' modal for loading past runs.
2025-12-29 16:05:46 +00:00
f6e5182bb2 docs: Update B2B plan to reflect DB availability and porting roadmap 2025-12-29 15:58:12 +00:00
34f5e7ef6c feat: Market Intelligence v2.2 - Full Suite Stabilization
- Persistence: SQLite database integration for saving/loading past runs.

- Robustness: Graceful fallback for scraping failures and increased Nginx/API timeouts (600s).

- Transparency: New report sections for Search Strategy ICP, Digital Signals, and Target Pages.

- UI/UX: Modal-based project history, project deletion, and on-demand outreach generation.

- Refactoring: Improved project naming logic and cleaned up sidebar layouts.

- Documentation: Updated readme.md and b2b_marketing_assistant_plan.md.
2025-12-29 15:50:11 +00:00
259faea53d feat: Add Delete Project functionality to History Modal 2025-12-29 15:28:04 +00:00