Commit Graph

1554 Commits

Author SHA1 Message Date
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
7359a3ff88 feat: Market Intel UI Polish - Hide History in Modal & Better Project Naming 2025-12-29 15:17:04 +00:00
10ab60e4bf fix: Optimize Outreach - Generate Top 1 initially, list others for on-demand generation to prevent timeouts 2025-12-29 15:11:00 +00:00
72327b8fd0 fix: Switch Outreach to stable gemini-1.5-flash to fix 400 Bad Request 2025-12-29 15:08:18 +00:00
3f3330309d fix: Outreach speedup (Switch to Flash) & Robust MD Export 2025-12-29 15:01:28 +00:00
d013e9d45e fix: Include market_db_manager.py in Docker image 2025-12-29 14:57:16 +00:00
178a2abaa9 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
92f0da8fbc fix: Increase Nginx timeouts to 600s to support long-running AI tasks 2025-12-29 14:31:04 +00:00
7e210990a1 fix: Pass specific_role and increase timeout in API bridge (server.cjs) 2025-12-29 14:22:26 +00:00
18f370f79a 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
698f924491 feat: Increase Outreach role limit from 2 to 5 2025-12-29 13:54:58 +00:00
3d07b27699 docs: Add section on Market Intelligence v2.2 robustness and new features 2025-12-29 13:43:32 +00:00
37a4a62f25 fix: Correct syntax errors in market_intel_orchestrator.py introduced by previous update 2025-12-29 13:36:21 +00:00
a334584ae1 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
87374470ea 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
7972390c39 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
2f1a3f5741 fix: Market Intel - Extract new strategy fields in geminiService.ts 2025-12-29 12:56:59 +00:00
94f1a8bb86 debug: Add visible timestamp to Report for build verification 2025-12-29 12:49:36 +00:00
3157238e90 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
c91e2c2899 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