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 |
||
|---|---|---|
| .. | ||
| dev | ||
| migrations | ||
| perf | ||
| smoke | ||
| utils | ||
| 2026-08-03-load-husqvarna-cart.ts | ||
| 2026-08-03-load-yg1-quote-soq078608.ts | ||
| 2026-08-03-merge-yg1-drafts.ts | ||
| audit-pb-fields.py | ||
| backfill-item-intel.ts | ||
| backfill-po-items.mjs | ||
| build_v5_workflow.py | ||
| deploy_v5_to_n8n.py | ||
| import-data.ts | ||
| mrbxnim4-telegram-cloud-photo-size-4-6016860144018328845-y.jpg | ||
| n8n-v2-error.ts | ||
| n8n-v2-main.ts | ||
| quotes.pb.js | ||
| seed-gielie-quotes.py | ||
| setup-pocketbase.ts | ||
| verify_v5.py | ||