Commit Graph

1529 Commits

Author SHA1 Message Date
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
5fc585a093 Revert "feat: Enhance B2B Marketing Assistant report with Search Strategy, Digital Signals, and Target Pages"
This reverts commit 40044b058b.
2025-12-29 12:13:16 +00:00
40044b058b 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
6952fa0b7a 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
db8ec843d9 Consolidate tools into a secure Docker architecture with landing page
- Implement a central reverse proxy (Nginx) with Basic Auth on port 8090.
- Create a unified landing page (dashboard) to access B2B Assistant and Market Intelligence.
- Update frontends with relative API paths and base paths for subdirectory routing (/b2b/, /market/).
- Optimize Docker builds with .dockerignore and a Python-based image for market-backend.
- Enable code sideloading for Python logic via Docker volumes.
- Fix TypeScript errors in general-market-intelligence regarding ImportMeta.
2025-12-29 05:19:53 +00:00
75c89762d6 feat(b2b): Add batch processing, industry selection, optimized PDF export, and update docs 2025-12-23 12:50:10 +00:00
7c5b6fd30b feat(b2b-marketing): Finalize grounding architecture and frontend improvements
- Upgrade backend to use gemini-2.5-flash with sanitized HTML parsing (no token limit).
- Implement robust retry logic and increased timeouts (600s) for deep analysis.
- Add file-based logging for prompts and responses.
- Fix API endpoint (v1) and regex parsing issues.
- Frontend: Optimize PDF export (landscape, no scrollbars), fix copy-paste button, add 'Repeat Step 6' feature.
- Update documentation to 'Completed' status.
2025-12-23 10:40:48 +00:00
5b56d66f28 Dateien nach "b2b-marketing-assistant/services" hochladen 2025-12-22 20:02:06 +00:00
e62d3a2dae b2b-marketing-assistant/services/export.ts hinzugefügt 2025-12-22 20:01:47 +00:00
b47ce4a301 Dateien nach "b2b-marketing-assistant/components" hochladen 2025-12-22 20:01:03 +00:00
4cf9d4dec6 b2b-marketing-assistant/components/ExportMenu.tsx hinzugefügt 2025-12-22 20:00:44 +00:00
28ebc9b3f2 Dateien nach "b2b-marketing-assistant" hochladen 2025-12-22 20:00:16 +00:00
2e0c5557e5 Dateien nach "b2b-marketing-assistant" hochladen 2025-12-22 19:59:38 +00:00
d37fc41d29 Dateien nach "b2b-marketing-assistant" hochladen 2025-12-22 19:59:17 +00:00
4a7ae304fb b2b-marketing-assistant/.env.local hinzugefügt 2025-12-22 19:58:57 +00:00
b5480717b2 chore(deployment): add docker-compose and nginx setup for production
- Added Dockerfile and nginx.conf for frontend production build.
- Added docker-compose.yml to orchestrate backend and frontend.
- Updated geminiService.ts to support relative API paths via Nginx proxy.
- Updated documentation with deployment instructions for Synology/Docker.
2025-12-22 16:14:08 +00:00
cadc1c2fe5 feat(market-intel): implement role-based campaign engine and gritty reporting
- Implementierung der rollenbasierten Campaign-Engine mit operativem Fokus (Grit).
- Integration von Social Proof (Referenzkunden) in die E-Mail-Generierung.
- Erweiterung des Deep Tech Audits um gezielte Wettbewerber-Recherche (Technographic Search).
- Fix des Lösch-Bugs in der Target-Liste und Optimierung des Frontend-States.
- Erweiterung des Markdown-Exports um transparente Proof-Links und Evidenz.
- Aktualisierung der Dokumentation in readme.md und market_intel_backend_plan.md.
2025-12-22 15:54:06 +00:00
0a00146fd6 feat(market-intel): complete end-to-end audit with enhanced UX and grounding
- Integrated ICP-based lookalike sourcing.
- Implemented Deep Tech Audit with automated evidence collection.
- Enhanced processing terminal with real-time logs.
- Refined daily logging and resolved all dependency issues.
- Documented final status and next steps.
2025-12-21 22:39:30 +00:00
4a765cbf71 docs: document deep tech audit and smart grounding
- Updated readme.md with new step 3 audit details.
- Updated market_intel_backend_plan.md with current status and achievements.
- Fixed SerpAPI key file path in orchestrator.
- Documented the transition to direct REST API calls and enhanced terminal UX.
2025-12-21 22:19:11 +00:00
19aa808462 feat(market-intel): implement deep tech audit and industry extraction
- Added  to parse industries from Markdown.
- Added  to find local/national/international lookalikes.
- Added  for deep tech audit (website search, scraping, AI analysis).
- Updated prompt engineering for better results grounding.
2025-12-21 20:59:15 +00:00
24700090f7 feat(market-intel): Implement fully functional, optimized backend
- Refactored market_intel_orchestrator.py for direct Gemini API (v1) calls.\n- Updated model to gemini-2.5-pro for enhanced capabilities.\n- Implemented minimal stdout logging for improved traceability within Docker.\n- Optimized Dockerfile and introduced market-intel.requirements.txt for leaner, faster builds.\n- Ensured end-to-end communication from React frontend through Node.js bridge to Python backend is fully functional.
2025-12-21 13:44:54 +00:00
47cdb88a20 docs: Letzten Stand für heute dokumentieren
Erfasst den erfolgreichen Umstieg auf Docker, der das 'cygrpc'-Problem gelöst hat. Dokumentiert den aktuellen '404 model not found'-Fehler und definiert den nächsten Schritt: das Testen des Modellnamens 'gemini-1.0-pro'.
2025-12-21 02:36:06 +00:00
e7df878ed2 docs: Aktuellen Status und Debugging-Verlauf dokumentieren
Erfasst den aktuellen Stand des Projekts, einschließlich des Wechsels zu Docker zur Lösung des 'cygrpc'-Problems und des zuletzt aufgetretenen 'TypeError'. Detailliert die nächsten Schritte für die nächste Sitzung.
2025-12-21 02:29:12 +00:00
ab961161c8 fix(python): Entfernt inkompatibles response_mime_type Argument
Behebt den TypeError beim Aufruf von GenerationConfig in der älteren Version der google-generativeai Bibliothek, indem das nicht unterstützte Argument entfernt wird.
2025-12-21 02:27:26 +00:00
71a90de484 fix: Dockerfile pip install for externally-managed-environment
Korrigiert den Docker-Buildfehler durch explizite Verwendung des pip-Executables aus der virtuellen Umgebung, um Probleme mit der systemweiten Paketverwaltung zu umgehen.
2025-12-21 02:13:32 +00:00
f63b3afc8b feat: Dockerfile für das Market Intelligence Backend hinzufügen
Erstellt ein mehrstufiges Dockerfile, um die Python- und Node.js-Umgebung für den Backend-Service zu kapseln. Dies soll die 'cygrpc'-Kompatibilitätsprobleme durch eine saubere, kontrollierte Build-Umgebung lösen.
2025-12-21 01:53:20 +00:00