Commit Graph

1542 Commits

Author SHA1 Message Date
0ec88d5aba fix(gtm): Final syntax fix for dictionaries and f-strings 2025-12-31 14:30:02 +00:00
050b3cafbf fix(gtm): Correct dictionary merge syntax error and add debug logging 2025-12-31 14:27:04 +00:00
e2cfb4f2ae 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
a625e9e811 fix(gtm): Resolve f-string SyntaxError and helpers.py incompatibility in orchestrator 2025-12-31 14:20:30 +00:00
9a8762ef10 fix(gtm): Remove unsupported 'system_message' arg from call_openai_chat calls and fix indentation 2025-12-31 14:11:25 +00:00
3c4dbf2bfc fix(gtm): Pin openai==0.28.1 to resolve helpers.py compatibility and update migration docs 2025-12-31 14:01:21 +00:00
8740c8a432 fix(gtm): Add missing 'wikipedia' dependency for helpers.py 2025-12-31 13:52:50 +00:00
97b8ee07d0 fix(gtm): Use relative API path to support subdirectory deployment 2025-12-31 13:44:56 +00:00
e770e78f1c docs: Add migration guide and fix white screen issue in GTM app 2025-12-31 13:28:05 +00:00
5fdf3e1a12 fix(gtm): Add missing express dependency to package.json 2025-12-31 13:17:07 +00:00
a79763b947 docs(gtm): Create comprehensive documentation and update global readme 2025-12-31 13:16:10 +00:00
a1f9619d01 fix(gtm): Increase server timeout to 600s and add missing volume mounts to prevent 502 errors 2025-12-31 13:08:09 +00:00
f6651bacfc chore(gtm): Optimize Docker container with multi-stage build and flat structure 2025-12-31 12:58:54 +00:00
682b736e01 feat(gtm-architect): Integrate GTM Architect app with Python backend, DB persistence, and Docker stack 2025-12-31 12:38:28 +00:00
aa9ae07c13 gtm-architect/components/Layout.tsx hinzugefügt 2025-12-31 12:08:49 +00:00
4ceb2330b7 Dateien nach "gtm-architect" hochladen 2025-12-31 12:08:18 +00:00
b5b5ea5ced Dateien nach "gtm-architect" hochladen 2025-12-31 12:07:59 +00:00
afda5f17df Dateien nach "gtm-architect" hochladen 2025-12-31 12:07:45 +00:00
dabb61699b gtm-architect/.env.local hinzugefügt 2025-12-31 12:07:24 +00:00
82a2dafdb5 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
17b75f0b6d fix: Finalize B2B routing and DB initialization for Nginx compatibility 2025-12-29 19:56:00 +00:00
94d3984414 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
f9ca339b7d fix: Add missing lucide-react dependency to B2B assistant 2025-12-29 16:38:12 +00:00
92ca43abfc docs: Mark B2B database integration as completed 2025-12-29 16:07:11 +00:00
0a2d6076c4 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
3503e8c459 docs: Update B2B plan to reflect DB availability and porting roadmap 2025-12-29 15:58:12 +00:00
82d62b3725 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
6c1ec1dfe8 feat: Add Delete Project functionality to History Modal 2025-12-29 15:28:04 +00:00
1b1a779ae0 feat: Market Intel UI Polish - Hide History in Modal & Better Project Naming 2025-12-29 15:17:04 +00:00
79efda5060 fix: Optimize Outreach - Generate Top 1 initially, list others for on-demand generation to prevent timeouts 2025-12-29 15:11:00 +00:00
3eaa5e1daa fix: Switch Outreach to stable gemini-1.5-flash to fix 400 Bad Request 2025-12-29 15:08:18 +00:00
7f6fbb8246 fix: Outreach speedup (Switch to Flash) & Robust MD Export 2025-12-29 15:01:28 +00:00
32bc3b7668 fix: Include market_db_manager.py in Docker image 2025-12-29 14:57:16 +00:00
03610dfd13 feat: Market Intel Database & UI Polish
- market_db_manager.py: Created SQLite manager for saving/loading projects.

- server.cjs: Added API routes for project management.

- geminiService.ts: Added client-side DB functions.

- StepInput.tsx: Added 'Past Runs' sidebar to load previous audits.

- App.tsx: Added auto-save functionality and full state hydration logic.

- StepOutreach.tsx: Improved UI layout by merging generated campaigns and suggestions into one list.
2025-12-29 14:44:20 +00:00
47fa37dd98 fix: Increase Nginx timeouts to 600s to support long-running AI tasks 2025-12-29 14:31:04 +00:00
bd6aa34846 fix: Pass specific_role and increase timeout in API bridge (server.cjs) 2025-12-29 14:22:26 +00:00
4b79f1aee2 feat: Enhanced Outreach UI - Top 5 default + specific role generation
- market_intel_orchestrator.py: Updated generate_outreach_campaign to identify all relevant roles, generate top 5, and return remaining as suggestions. Added specific_role mode.

- types.ts: Added OutreachResponse interface.

- geminiService.ts: Updated to handle new response structure and specificRole parameter.

- StepOutreach.tsx: Added sidebar section for Suggested Roles with on-demand generation buttons.
2025-12-29 13:59:20 +00:00
4e05bac827 feat: Increase Outreach role limit from 2 to 5 2025-12-29 13:54:58 +00:00
2754eb543c docs: Add section on Market Intelligence v2.2 robustness and new features 2025-12-29 13:43:32 +00:00
c547c2388f fix: Correct syntax errors in market_intel_orchestrator.py introduced by previous update 2025-12-29 13:36:21 +00:00
032a269c6f fix: Robustify Market Intel - Complete rewrite of orchestrator
- market_intel_orchestrator.py: Overwrote file to enforce all fixes (URL auto-scheme, User-Agent, Graceful Fallback in Strategy and Audit).
2025-12-29 13:33:05 +00:00
6811d42750 fix: Robustify Market Intel Audit - Fallback when scraping fails
- market_intel_orchestrator.py: Updated analyze_company to NOT abort if homepage scraping fails (e.g. 403 Forbidden). Instead, it sets a placeholder and proceeds using external search signals.

- market_intel_orchestrator.py: Updated get_website_text to use a modern, realistic User-Agent to reduce blocking.

- market_intel_orchestrator.py: Adjusted Gemini prompt to handle missing homepage content gracefully.
2025-12-29 13:21:08 +00:00
ce036383e8 fix: Market Intel Logic - Clarify prompts for Lookalike Search vs. Context
- market_intel_orchestrator.py: Rewrote prompt in generate_search_strategy to explicitly distinguish between 'Your Company (Context)' and 'Reference Client (Seed)'. This fixes the issue where the AI was searching for competitors to the user's company instead of the reference client.

- market_intel_orchestrator.py: Clarified prompt in identify_competitors.

- market_intel_orchestrator.py: Added RAW JSON debug logging to stderr to diagnose missing fields.
2025-12-29 13:05:31 +00:00
0bcc403107 fix: Market Intel - Extract new strategy fields in geminiService.ts 2025-12-29 12:56:59 +00:00
19d0f9917b debug: Add visible timestamp to Report for build verification 2025-12-29 12:49:36 +00:00
deed5c6ea4 fix: Market Intel UI - Add missing report fields & Fix back button
- StepReport.tsx: Added Search Strategy ICP, Digital Signals, and Target Pages to both the UI view and the Markdown export.

- StepReport.tsx: Fixed 'Back' button behavior to prevent state reset (uses new onBack prop).

- App.tsx: Passed handleBack to StepReport onBack prop.

- types.ts: Extended SearchStrategy interface with optional fields for the new signals.
2025-12-29 12:40:47 +00:00
199a09f514 feat: Enhance Market Intelligence report with Search Strategy, Digital Signals, and Target Pages
- Added searchStrategyICP, digitalSignals, and targetPages to the JSON output in market_intel_orchestrator.py.

- Updated the prompt and fallback error handling to include the new fields.
2025-12-29 12:13:38 +00:00
f8dce21ce0 Revert "feat: Enhance B2B Marketing Assistant report with Search Strategy, Digital Signals, and Target Pages"
This reverts commit 6bdb3e8a06.
2025-12-29 12:13:16 +00:00
ddc7002092 feat: Enhance B2B Marketing Assistant report with Search Strategy, Digital Signals, and Target Pages
- Added new steps (7, 8, 9) for Search Strategy ICP, Digital Signals, and Target Pages to the b2b_marketing_orchestrator.py.

- Updated STEP_PROMPTS_DE and STEP_PROMPTS_EN with corresponding prompts.

- Extended STEP_TITLES for both German and English languages.

- Modified step_keys lists in format_context_for_prompt and next_step functions.

- Updated b2b_marketing_assistant_plan.md to reflect the new report sections.
2025-12-29 12:00:02 +00:00
7a33cfe841 docs: Update documentation for consolidated Docker architecture
- Consolidated architecture overview in readme.md\n- Updated deployment and development sections in b2b_marketing_assistant_plan.md and market_intel_backend_plan.md
2025-12-29 08:49:28 +00:00