Commit Graph

1611 Commits

Author SHA1 Message Date
88c9d487be feat(company-explorer): add impressum scraping, robust json parsing, and enhanced ui polling
- Implemented Impressum scraping with Root-URL fallback and enhanced keyword detection.
- Added 'clean_json_response' helper to strip Markdown from LLM outputs, preventing JSONDecodeErrors.
- Improved numeric extraction for German formatting (thousands separators vs decimals).
- Updated Inspector UI with Polling logic for auto-refresh and display of AI Dossier and Legal Data.
- Added Manual Override for Website URL.
2026-01-08 16:14:01 +01:00
e4b59b1571 feat(company-explorer): add wikipedia integration, robotics settings, and manual overrides
- Ported robust Wikipedia extraction logic (categories, first paragraph) from legacy system.
- Implemented database-driven Robotics Category configuration with frontend settings UI.
- Updated Robotics Potential analysis to use Chain-of-Thought infrastructure reasoning.
- Added Manual Override features for Wikipedia URL (with locking) and Website URL (with re-scrape trigger).
- Enhanced Inspector UI with Wikipedia profile, category tags, and action buttons.
2026-01-08 16:14:01 +01:00
3590e34490 Notion_Dashboard.md hinzugefügt 2026-01-08 15:12:11 +00:00
c6a37a3c17 feat(company-explorer): Initial Web UI & Backend with Enrichment Flow
This commit introduces the foundational elements for the new "Company Explorer" web application, marking a significant step away from the legacy Google Sheets / CLI system.

Key changes include:
- Project Structure: A new  directory with separate  (FastAPI) and  (React/Vite) components.
- Data Persistence: Migration from Google Sheets to a local SQLite database () using SQLAlchemy.
- Core Utilities: Extraction and cleanup of essential helper functions (LLM wrappers, text utilities) into .
- Backend Services: , ,  for AI-powered analysis, and  logic.
- Frontend UI: Basic React application with company table, import wizard, and dynamic inspector sidebar.
- Docker Integration: Updated  and  for multi-stage builds and sideloading.
- Deployment & Access: Integrated into central Nginx proxy and dashboard, accessible via .

Lessons Learned & Fixed during development:
- Frontend Asset Loading: Addressed issues with Vite's  path and FastAPI's .
- TypeScript Configuration: Added  and .
- Database Schema Evolution: Solved  errors by forcing a new database file and correcting  override.
- Logging: Implemented robust file-based logging ().

This new foundation provides a powerful and maintainable platform for future B2B robotics lead generation.
2026-01-07 17:55:08 +00:00
e27cc995f6 docs(duckdns): Update status and sync to Notion
- Added analysis of latest DNS monitor logs (06.01.2026).

- Refactored sync_docs_to_notion.py to be generic and support multiple files.
2026-01-06 20:40:04 +00:00
4b46dd3935 feat(notion): Add documentation sync script
- Created sync_docs_to_notion.py to parse and upload markdown docs to Notion.
2026-01-06 20:35:03 +00:00
a1e1c777be feat(notion): Initial PoC for Notion Integration
- Added documentation for Notion setup and resources (notion_integration.md).

- Added scripts for authentication test, database creation, and product insertion.

- Successfully tested connection and data mapping for 'RoboPlanet Product Master'.
2026-01-06 20:33:18 +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
0995d7c43a Docs: Update infrastructure guide with physical DSL line findings.
- Added section on 'Hardware / DSL-Leitung' explaining the detected 17m branch line (Stichleitung) causing signal reflections and timeouts.
- Clarified that 'IP Flapping' was caused by stale caching of the previous day's IP, exacerbated by incorrect DNS settings (8.8.8.8).
- Finalized troubleshooting steps for Synology and FritzBox configuration.
2026-01-06 15:27:58 +00:00
3decb8e908 Docs: Update troubleshooting guide with Synology Network Interface DNS fix.
- Documented the critical finding of hardcoded DNS (8.8.8.8) in Synology Network Interface settings overriding global DSM settings.
- Added comprehensive checklist for Synology, FritzBox, and Client configuration to ensure DNS stability and NAT loopback functionality.
- Updated log analysis section with 'NETWORK_WAIT' and 'ALERT' scenarios.
2026-01-06 15:12:41 +00:00
373304c57f Docs: Add FritzBox Rebind Protection & Client Troubleshooting guides.
- Updated 'duckdns_setup.md' with critical instructions for configuring FritzBox DNS Rebind Protection to enable internal access (NAT Loopback).
- Added steps for clearing client-side DNS cache (Windows).
- Included Cloudflare DNS switch in documentation reflecting recent monitor script changes.
2026-01-06 13:19:32 +00:00
7f8205ffb9 Chore: Remove previously tracked databases and venv from index.
These files are now covered by .gitignore and should not be tracked by Git.
2026-01-06 11:45:17 +00:00
92949c75cb Chore: Update .gitignore to exclude logs, databases, and venv.
- Added 'Log_from_docker/' to ignore runtime logs.
- Added 'diag_venv/' to ignore temporary diagnostic environments.
- Added '*.db' to exclude local SQLite databases from version control.
2026-01-06 11:45:15 +00:00
3c2d7b4744 Fix(DuckDNS): Resolve zombie updater conflict via token rotation.
- Updated 'docker-compose.yml' with new DuckDNS token to lock out rogue updaters (FritzBox/HA).
- Enhanced 'dns-monitor/monitor.sh' to detect 'IP Flapping' (Zombie Updaters) by comparing Public vs. Global vs. Local IPs.
- Updated documentation 'duckdns_setup.md' with troubleshooting steps for IP flapping and zombie updaters.
2026-01-06 11:43:31 +00:00
a05aaae64c Infra: Added robust DuckDNS updater and DNS monitoring sidecar container 2026-01-05 21:44:27 +00:00
c8491ba5ba fix(infra): increase nginx client_max_body_size to 50M; docs: update status 2026-01-05 16:05:10 +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
68b2853d0d feat(gtm): improve phase 5 report rendering & update documentation to v2.3 2026-01-04 18:29:30 +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
b90344a216 Fix: Redirect Python logs to stderr to prevent JSON corruption in stdout 2026-01-03 13:56:01 +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
2ef6b22719 Fix: Implemented SVG fallback for image generation, enforced phase consolidation in report, and updated troubleshooting guide 2026-01-03 13:22:42 +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
fc84c5a606 Enhancement: Refined Phase 1 prompt for less granular features & updated migration guide with troubleshooting tips 2026-01-03 12:49:57 +00:00
be92c60841 Fix: Add DB initialization on server startup 2026-01-03 12:34:46 +00:00
fd5d94a5f9 Final Fix: Corrected IndentationError in config.py and updated status to Operational 2026-01-03 12:28:25 +00:00
408fdd2571 Cleanup: Removed unnecessary genderize mount and fixed filename case in config 2026-01-03 12:23:23 +00:00
f91f9a2e82 Fix: Gemini API modernization, dynamic model selection, and config path corrections 2026-01-03 12:19:51 +00:00
932adb6a99 fix(ai): Update Gemini model ID to gemini-1.5-flash-001
- Changes the model ID from the generic 'gemini-1.5-flash' to the specific 'gemini-1.5-flash-001'.
- This resolves the '404 NOT_FOUND' error where the API could not locate the generic model alias in the v1beta API version.
2026-01-03 10:24:51 +00:00
b0a609f373 refactor(ai): Migrate to google-genai Client API
- Rewrites  and  in helpers.py to use the new  and  syntax.
- Removes the deprecated  calls which were causing AttributeError.
- Updates parameter handling to use .
- This change ensures full compatibility with the  library version 1.0+.
2026-01-03 10:15:05 +00:00
cd1b178e38 fix(debug): Stream python logs to console 2026-01-03 10:04:13 +00:00
348c758392 fix(config): Ensure API keys are loaded by orchestrator
- Reverts docker-compose.yml to use volume mount for gemini_api_key.txt, due to format constraints.
- Restores and refines Config.load_api_keys() in config.py.
- **Crucially, calls Config.load_api_keys() at the start of gtm_architect_orchestrator.py to ensure keys are loaded.**
- Adjusts _get_gemini_api_key in helpers.py to prioritize keys from Config.API_KEYS.
- This definitively addresses the 'API Key missing' error by guaranteeing key initialization.
2026-01-03 09:33:33 +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
bff91ff4e4 docs(build): Add critical warning about volume mounts
- Adds a prominent warning section to the migration guide.
- Explains that local volume mounts (sideloading) will overwrite container code.
- Explicitly states that Already up to date. on the host is mandatory before rebuilding to ensure changes are applied. This addresses a recurring debugging issue.
2026-01-03 09:12:35 +00:00
ac36aa245a fix(debug): Add version info and API key debugging
- Adds a version and timestamp to the orchestrator's startup logs to verify code deployment.
- Introduces extensive debug logging in config.py and helpers.py to trace the API key loading process, including exact file paths and environment variable checks. This will help diagnose the persistent 'API Key missing' error.
2026-01-03 09:06:00 +00:00
034c7da1a4 fix(config): Correct API key filename and improve logging
- Changes the expected API key filename from 'api_key.txt' to 'gemini_api_key.txt' to match the project standard.
- Enhances logging to output the absolute path when an API key file is not found, simplifying future debugging.
2026-01-03 09:00:52 +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
60b73d9da7 Finalize GTM v2 migration: Fix API key mounting and Docker config 2026-01-02 19:11:51 +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