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 |
||
|---|---|---|
| .. | ||
| _env.ts | ||
| ai-settings-round-trip.ts | ||
| cleanup-junk-data.py | ||
| cleanup-minimax-smoke.ts | ||
| counter-concurrent.ts | ||
| counter.ts | ||
| create-from-email.ts | ||
| item-intel.mjs | ||
| management-flow.ts | ||
| match-endpoint.ts | ||
| mcp-management.ts | ||
| one-shot-minimax.ts | ||
| populate-quote-item-insights.ts | ||
| quotes-ai-pipeline.ts | ||
| re-price.ts | ||
| rest-management.ts | ||
| screenshot-pages.mjs | ||
| sku-matcher.ts | ||
| upload-attachment.ts | ||