Commit Graph

45 Commits

Author SHA1 Message Date
63243cd344 feat(gtm): Implement Meta-Framework for strategic analysis
Refactors the GTM orchestrator prompts (phases 2-9) to use a question-based strategic framework derived from the internal marketing blueprint. This new 'Meta-Framework' approach ensures strategic depth and prevents content pollution from irrelevant examples when analyzing new product categories.

- Updates orchestrator prompts in .
- Adds documentation in  explaining how to modify the new strategy logic.
- Includes minor fixes to the Node.js  and dependency updates in .
2026-01-14 15:34:15 +00:00
642e0af1f4 Update: GTM Architect v2.6.2 (Edit Specs, Report Fix) & Company Explorer v0.4 (Export, Timestamps) 2026-01-09 09:15:16 +00:00
fc0f873713 fix(gtm): Fix white screen and implement URL persistence v2.6.1
- Fixed TypeError in SessionBrowser by adding defensive checks for the sessions array.
- Implemented mandatory URL persistence: The research URL is now saved in DB, shown in UI, and included in reports.
- Added 'Start New Analysis' button to the session browser for better UX flow.
- Updated documentation to reflect v2.6.1 changes.
2026-01-08 21:36:42 +00:00
0281387f87 feat(gtm): Implement Rich Session Browser UI
- Replaced the basic session list with a dedicated, card-based Session Browser page.
- Each session card now displays product name, category, description, and a thumbnail placeholder for better usability.
- Updated the backend DB manager to extract this rich information from the existing JSON data store.
- Refactored the frontend (App.tsx, types.ts) to support the new UI and data structure.
- Added new component SessionBrowser.tsx and its corresponding CSS.
- Updated documentation to reflect the v2.6 changes.
2026-01-08 21:23:46 +00:00
02b02856f6 feat(gtm): v2.5 - Hard Fact Extraction & UI
- Backend: Implemented secondary extraction phase for structured specs (JSON schema).

- Backend: Added strict normalization rules (min, cm, kg).

- Frontend: Added 'Phase1Data' interface update for specs.

- Frontend: Implemented new UI component for 'Technical Specifications' in Phase 1.

- Frontend: Updated header and sidebar to display 'v2.5' build marker.

- Docs: Updated architectural documentation.
2026-01-06 19:36:42 +00:00
b353cda9aa feat(gtm): add aspect ratio & corporate design; fix(market): harden backend logging & json parsing 2026-01-05 11:42:15 +00:00
1c247b1b63 feat(gtm): add responsive collapsible sidebar for mobile 2026-01-04 19:53:21 +00:00
72cb1d7564 docs: update migration guide with gemini versioning and model availability insights (v2.4) 2026-01-04 19:24:43 +00:00
642a855113 feat(gtm): add session history, database loading, and markdown file import 2026-01-04 17:29:20 +00:00
704a656c40 feat(gtm): upgrade to google-genai, fix image gen & frontend crash 2026-01-04 16:02:23 +00:00
a5bd0b272b Fix: Corrected image response handling in frontend and integrated mandatory Wackler Ecosystem logic into system prompts 2026-01-03 14:37:52 +00:00
3fa4a9d220 Fix: Resolved Phase 5 UI rendering, updated server version to 1.2.0, and fixed critical volume mount path for server.cjs 2026-01-03 14:05:27 +00:00
9b51f64990 Fix: Resolved E2BIG error by switching to file-based payload passing for large requests (images) 2026-01-03 13:44:18 +00:00
3e5d7ac197 Fix: Resolved [object Object] report bug, enforced German output language across all phases, and documented troubleshooting steps 2026-01-03 13:01:32 +00:00
be92c60841 Fix: Add DB initialization on server startup 2026-01-03 12:34:46 +00:00
f91f9a2e82 Fix: Gemini API modernization, dynamic model selection, and config path corrections 2026-01-03 12:19:51 +00:00
cd1b178e38 fix(debug): Stream python logs to console 2026-01-03 10:04:13 +00:00
fb92142151 refactor(config): Switch to environment variables for API keys
- Modifies docker-compose.yml to use  for injecting the Gemini API key, which is more robust than volume mounting.
- Updates helpers.py to prioritize reading the API key from the  environment variable.
- Removes the now-redundant file-based key loading logic from config.py and the Dockerfile.
- This change completely bypasses the problematic file system interactions within the container, providing a definitive fix for the 'API Key missing' error.
2026-01-03 09:30:34 +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
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
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
21478f4f71 fix(gtm): Ultimate prompt syntax robustness, add versions to logs, update migration docs 2025-12-31 15:26:23 +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