This commit replaces the legacy item history and AI insights system with a standardized, fuzzy-matched item intel workflow: - Update AiItemHistoryTrigger component to support both quote and order items via the `collection` prop, replacing the old `insights` prop with `intel` - Add full `ItemIntel` type definitions to `src/lib/types.ts` for the new standardized insight payload - Create new REST API endpoints for fetching and computing item intel for `quote_items` and `order_items` - Rewrite the MCP insight endpoint to use the new shared `item-intel-service` instead of legacy individual insight functions - Reorder quotes page tabs to place Delivery Note quotes alongside New quotes for better daily operator workflow - Add item intel triggers to quote process and order process pages - Remove deprecated document-level `AiInsightsPanel` components from quote and order detail pages - Add bulk backfill endpoint for populating intel across existing active items |
||
|---|---|---|
| .. | ||
| ses_0126cb8e5ffeIDqXpbaiSlz2iI | ||
| ses_019256f62ffeDwHi23C94lev5T | ||
| ses_0184473ccffef2zSiBR6i9d1Y7 | ||
| ses_01738112fffe3dQ66XdT6shP6s | ||