Commit Graph
77 Commits
Author SHA1 Message Date
MichaelandClaude Sonnet 4.6 6ef23de317 feat: restrict AI analysis to admin role only
- FloatingSummaryBar: hide BulkAiAnalyzer button for non-admins
- AiInsightBlock: hide individual Analyser button for non-admins
- Both use useSession() to check role === "admin"

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-03 11:43:48 +02:00
Michael 99954fb001 feat: Add AI Copilot Zustand store for managing and persisting product insights. 2026-03-23 13:34:36 +01:00
Michael aa69637f98 feat: Introduce bulk AI analyzer component to pre-classify products and prepare data for AI analysis, including context profiling. 2026-03-19 13:19:49 +01:00
Michael 2b7e7bc1f4 feat: Introduce AI analysis engine with detailed system prompt and user message generation for product recommendations, and add an OpenRouter client. 2026-03-19 09:50:28 +01:00
Michael d8a9329075 feat: Introduce AI Copilot feature with product analysis engine, state management, and UI components for insights. 2026-03-19 07:53:56 +01:00
Michael 95795ce7e3 feat: Introduce AI analysis engine for product A/Z recommendations based on detailed business rules. 2026-03-18 22:15:14 +01:00
Michael de768128e3 feat: implement AI copilot analysis engine with v5 simplified system prompt and product recommendation rules. 2026-03-18 21:34:31 +01:00
Michael aa02d019bd feat: Implement AI Copilot for product analysis and add comprehensive product grid data fetching. 2026-03-18 21:25:53 +01:00
Michael 1035489db1 feat: Add FF Nancy API client and status endpoint, implement grid product fetching and draft change saving, and introduce AI Copilot core logic. 2026-03-18 14:31:29 +01:00
Michael 22aa6f101a feat: Implement AI-powered product analysis engine with rules for manager directives, dead stock, and relative supplier performance, supported by a new score engine. 2026-03-13 10:52:40 +01:00
Michael 38e8fc1eac feat: implement AI analysis engine for generating retail product recommendation prompts. 2026-03-13 08:55:30 +01:00
Michael 9faea9df07 feat: Implement AI analysis engine with simplified v5 logic for product recommendations based on relative supplier performance. 2026-03-12 13:38:23 +01:00
Michael 1f38f487b1 feat: implement AI copilot analysis engine with detailed product recommendation logic and system prompt generation. 2026-03-12 13:00:51 +01:00
Michael 97ed6dd829 feat: Add AI copilot analysis engine to generate system and contextual user prompts for product recommendations. 2026-03-12 12:42:19 +01:00
Michael 1a01e084a5 feat: Implement AI copilot analysis engine (v4) with comprehensive product recommendation logic and contextual data generation. 2026-03-12 12:26:54 +01:00
Michael b66867429b feat: implement v4 AI analysis engine with comprehensive product recommendation rules and contextual data for prompt generation. 2026-03-12 12:09:41 +01:00
Michael 12c4e0ce95 feat: add server action to fetch, process, and score product sales data, including schema initialization for code_gamme_init. 2026-03-12 11:10:47 +01:00
Michael 1458700cb7 feat: Implement 'dead stock' detection and override inter-product consistency rules in the AI analysis engine. 2026-03-11 17:00:46 +01:00
Michael 49e1dd9d9b feat: Implement v3 context profiler for multi-store product normalization and an AI analysis engine. 2026-03-11 16:41:01 +01:00
Michael cfbf293104 feat: Implement a composite weighted score engine and update the task markdown with a master plan and progress log. 2026-03-11 16:25:22 +01:00
Michael 54a4e7f4d1 feat: add bulk AI analyzer component for product scoring and context profiling. 2026-03-06 16:00:42 +01:00
Michael 3ba16d0895 feat: Implement AI copilot v4 analysis engine with refined rules and product context profiling. 2026-03-05 12:51:40 +01:00
Michael 2edf6202ab feat: implement AI Copilot for product analysis and recommendation, including a new analysis engine, OpenRouter client, and parser verification. 2026-03-05 11:43:58 +01:00
Michael a008b40a59 feat: implement AI copilot scoring engine for product analysis and recommendations, including a verification script for recent product logic. 2026-03-05 10:58:29 +01:00
Michael 32164572aa refactor(ai): simplify guardrail - protection is now a strong signal, not mandatory override 2026-02-27 15:20:15 +01:00
Michael 8b73363550 fix(ai): neutralize protection guardrail for products with CA<10EUR or margin<=0% 2026-02-27 15:04:07 +01:00
Michael b921f5ad40 fix(ai): implement automatic network retry for OpenRouter 502/503/529 overloads in Bulk Analyzer 2026-02-27 14:57:14 +01:00
Michael dd135ee67b feat: Contextual nomenclature filter & AI Quadrant Traffic percentile fix 2026-02-27 14:24:16 +01:00
Michael 8e07e8c115 feat: introduce AI analysis engine with detailed system prompt and rich contextual product data messaging for recommendations. 2026-02-27 11:46:25 +01:00
Michael 5773ed9a26 feat: create ScoringEngine for AI copilot product analysis and scoring. 2026-02-27 11:05:25 +01:00
Michael b0bb8cc09a feat: Implement bulk AI product analysis, including algorithmic scoring and context profiling, with a new OpenRouter client. 2026-02-27 10:44:02 +01:00
Michael 02fdd18a52 feat: implement AI product analysis endpoint using OpenRouter with optimized timeout handling and N+1 query prevention. 2026-02-27 10:36:34 +01:00
Michael a3600d7e05 feat: implement product scoring engine to calculate composite scores and product recommendations based on various metrics and business rules. 2026-02-27 10:11:13 +01:00
Michael c95eb0ecb6 feat: Add new settings page with Apple-style UI, OpenRouter AI integration, and Mary v4 analysis. 2026-02-27 10:02:23 +01:00
Michael f352594b19 feat: create context profiler to generate statistical product profiles for AI analysis based on supplier lot and category distribution. 2026-02-27 09:50:55 +01:00
Michael 324a2621c1 feat: Implement AI Copilot context profiling to generate adaptive product analysis profiles and signals. 2026-02-27 09:37:49 +01:00
Michael c3f511b612 fix(ai): force json-structured reasoning to prevent business rule bleed 2026-02-26 16:34:10 +01:00
Michael 315a223021 fix(ui/ai): uniformize buttons and enforce ai rule checks 2026-02-26 16:27:55 +01:00
Michael ea732bafc4 feat: implement AI analysis engine for product recommendation and justification by generating prompts and processing responses. 2026-02-26 16:15:20 +01:00
Michael 174b7fa36c feat: add supplier AI context modal and bulk product AI analysis component 2026-02-26 15:40:24 +01:00
Michael 9d8ef0e4db feat: Implement dashboard layout, shared sidebar, AI copilot analysis and scoring engines, and a grid floating summary bar. 2026-02-26 15:21:16 +01:00
Michael d24c925e16 feat: Add AI copilot analysis engine for generating prompts and processing AI insights. 2026-02-26 14:40:05 +01:00
Michael 1c03403e9a feat: implement AI Copilot for product analysis, featuring dedicated API, business logic, UI components, and comprehensive documentation. 2026-02-25 10:58:12 +01:00
Michael 7a6b515db7 feat: implement AnalysisEngine for AI prompt generation and AI response processing in product analysis. 2026-02-25 10:39:27 +01:00
Michael 0226585d4e feat: Implement bulk AI product analysis, including prompt generation, insight processing, and a dedicated UI component. 2026-02-25 10:28:18 +01:00
Michael f824476e0b feat(ai): implement ScoringEngine v5 and update Mary AI logic 2026-02-24 16:49:53 +01:00
Michael 5812254c6d feat: add AnalysisEngine class for generating AI prompts and parsing recommendations for product analysis. 2026-02-24 16:37:05 +01:00
Michael 670ce76d4f feat: implement AI analysis engine with prompt generation, user message construction, and recommendation extraction for retail product analysis. 2026-02-24 16:03:10 +01:00
Michael fbad53df36 feat(ai-copilot): add AI analysis engine with prompt generation, recommendation extraction, and insight cleaning capabilities. 2026-02-23 22:52:21 +01:00
Michael b5b31a35af feat: Introduce AI copilot with a refined analysis engine for product recommendations based on strategic weight and relative contribution. 2026-02-23 17:42:34 +01:00