Commit Graph

1523 Commits

Author SHA1 Message Date
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
b78e2fca59 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
fc79f70e9c feat(b2b): Add batch processing, industry selection, optimized PDF export, and update docs 2025-12-23 12:50:10 +00:00
46bf8b0b48 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
101933f618 Dateien nach "b2b-marketing-assistant/services" hochladen 2025-12-22 20:02:06 +00:00
4bf6e7d31f b2b-marketing-assistant/services/export.ts hinzugefügt 2025-12-22 20:01:47 +00:00
dc74e75126 Dateien nach "b2b-marketing-assistant/components" hochladen 2025-12-22 20:01:03 +00:00
d110c9a265 b2b-marketing-assistant/components/ExportMenu.tsx hinzugefügt 2025-12-22 20:00:44 +00:00
438032fd15 Dateien nach "b2b-marketing-assistant" hochladen 2025-12-22 20:00:16 +00:00
4927aff348 Dateien nach "b2b-marketing-assistant" hochladen 2025-12-22 19:59:38 +00:00
5622a91173 Dateien nach "b2b-marketing-assistant" hochladen 2025-12-22 19:59:17 +00:00
4bcd73fe05 b2b-marketing-assistant/.env.local hinzugefügt 2025-12-22 19:58:57 +00:00
ba5ed0516b 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
461d9d3bbc 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
6fcd29a11a 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
c682bd8576 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
b1f8f64483 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
188ce50483 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
16a81e8411 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
f89db9abe3 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