Mango.Nop.Plugins/Nop.Plugin.Misc.AIPlugin
Loretta d7d6a60c9d [LOADED_DOCS: NONE]
Refactor skill loading protocol in copilot-instructions

Clarified session setup: only two reactive skills are pre-loaded, with three user-gated skills now lazy-loaded on demand. Updated documentation to add "AUTHORITY, RULE SCOPE, AND SKILL INVOCATION" section, revised skill trigger descriptions, and adjusted `[LOADED_DOCS: ...]` prefix logic. Documented docs-archive as a lazy-loaded skill. Added settings.local.json for local file removal permissions. No code logic changes—documentation and protocol only.
2026-04-26 13:44:27 +02:00
..
.github [LOADED_DOCS: NONE] 2026-04-26 13:44:27 +02:00
Areas/Admin Update DLL HintPaths to use $(Configuration); prod DB switch 2026-03-24 18:30:43 +01:00
Components átlagsúly, pdf-to-image, képfeltöltés újratöltve, AI válasz felület 2025-11-18 11:09:14 +01:00
Controllers Rendelések feldarabolása mérési státusz alapján, és szabad szétválasztás, deign update, adószám bug-fix, szállítás alatt mező automatikus kitöltése AI által termékben, átlagsúly kiszámítása és beírása termékbe bevételezéskor. AI üdvözlő szöveg alapvető elemzéssel. 2026-02-23 17:06:21 +01:00
Domains Enable stock update on closure; adjust logging level 2026-02-06 22:14:43 +01:00
Factories Add AyCode.Core.Helpers and Serializers usings to files 2025-12-19 07:14:58 +01:00
Filters shipment, plugin basic things, invoicing 2025-09-23 12:19:58 +02:00
Helpers improvements, etc 2025-10-11 12:52:55 +02:00
Infrastructure Update AI Agent protocol docs and config/debug logic 2026-04-24 08:20:19 +02:00
Mapping .Net10, VS2026; StockTaking in progress... 2025-12-01 16:17:57 +01:00
Migrations FruitBank plugin 2025-08-31 01:25:22 +02:00
Models extra features, after publish, before upgrade 2025-12-11 18:30:56 +01:00
Services targonca 2026-03-10 18:10:04 +01:00
Views Rendelések feldarabolása mérési státusz alapján, és szabad szétválasztás, deign update, adószám bug-fix, szállítás alatt mező automatikus kitöltése AI által termékben, átlagsúly kiszámítása és beírása termékbe bevételezéskor. AI üdvözlő szöveg alapvető elemzéssel. 2026-02-23 17:06:21 +01:00
css/devextreme devextreme, devexpress, shipping controller, cutsom adminlayout, custom Scripts partial, custom OrderGrid, AI services, AI messages 2025-09-30 17:15:52 +02:00
docs Refactor docs: topic folders, navigation, protocol sync 2026-04-25 07:24:39 +02:00
js/devextreme devextreme, devexpress, shipping controller, cutsom adminlayout, custom Scripts partial, custom OrderGrid, AI services, AI messages 2025-09-30 17:15:52 +02:00
FruitBankConst.cs Add appsettings.json to NopCommerce project! install reference packages; Implement endpoints; Fix CORS; etc... 2025-09-03 07:07:23 +02:00
FruitBankPlugin.cs ReceiptDate, PDF extraction by AI file-search, image text extraction by GPT vision, fixes, extra bugs 2025-10-14 21:06:21 +02:00
FruitBankSettings.cs AI, grid 2025-10-02 09:19:41 +02:00
Nop.Plugin.Misc.FruitBankPlugin.csproj Refactor docs: topic folders, navigation, protocol sync 2026-04-25 07:24:39 +02:00
NuGet.config devextreme, devexpress, shipping controller, cutsom adminlayout, custom Scripts partial, custom OrderGrid, AI services, AI messages 2025-09-30 17:15:52 +02:00
README.md Refactor docs: topic folders, navigation, protocol sync 2026-04-25 07:24:39 +02:00
logo.jpg AIPLugin 2025-08-29 13:35:34 +02:00
plugin.json FruitBank plugin 2025-08-31 01:25:22 +02:00

README.md

Nop.Plugin.Misc.AIPlugin (FruitBank nopCommerce Plugin)

@project { type = "nopcommerce-plugin" own-dep-projects = [ "Mango.Nop.Core, Mango.Nop.Services (in NopCommerce.Common/4.70/Libraries)" ] }

For Mango.Nop library docs see NopCommerce.Common/4.70/Libraries/README.md For FruitBankHybridApp domain rules see the FruitBankHybridApp solution's .github/copilot-instructions.md For core measurement system rules and common domain traps, see: ../../../../FruitBankHybridApp/FruitBank.Common/docs/GLOSSARY.md

Server-side nopCommerce plugin for FruitBank, a fruit and vegetable wholesaler. Manages supplier inbound delivery (receiving), warehouse weighing (net/gross/pallet/tare weights), outbound order measurement, inventory stocktaking, AI services, and Billingo invoicing. Runs inside nopCommerce 4.80.9 (net9.0).

Project file: Nop.Plugin.Misc.FruitBankPlugin.csproj

Documentation

Document Topic
docs/SCHEMA.md Authoritative domain model in TOON format — all entities, DTOs, enums, relationships
docs/DOMAIN_MODEL.md Behavioral docs: weight formula, MeasuringStatus lifecycle, GenericAttribute keys, entity hierarchy overview
docs/MEASUREMENT.md Three measurement workflows (inbound shipping, outbound order, stocktaking), MeasuringStatus lifecycle, pricing, checkout filter
docs/AI_SERVICES.md OpenAI, Cerebras, Replicate providers, FruitBankSettings, file storage, PDF conversion, audio transcription
docs/DATA_LAYER.md FruitBankDbContext, StockTakingDbContext, DbTable repositories, entity mapping, FruitBankEventConsumer
docs/SIGNALR/README.md SignalR endpoints, FruitBankDataController, InnVoice/Billingo integration, FruitBankAttributeService

Folder Structure

Folder Purpose
Areas/Admin/Controllers/ Admin MVC controllers — order, product, shipping, SignalR endpoints, file management
Areas/Admin/Components/ Admin ViewComponents — DevExtreme grids
Areas/Admin/Models/ Admin view models
Areas/Admin/Views/ Admin Razor views
Components/ Public-side ViewComponents
Controllers/ Public-side controllers — FruitBankDataController, CheckoutController
Domains/DataLayer/ DbContexts, DbTable repositories, interfaces
Domains/EventConsumers/ nopCommerce entity event handlers
Factories/ Model factories (order, product, shipping)
Filters/ PendingMeasurementCheckoutFilter
Infrastructure/ PluginNopStartup (DI), RouteProvider, ViewLocationExpander
Mapping/ EF Core entity mapping, PluginBuilder
Migrations/ FluentMigrator database schema
Models/ Shared models — AI chat, MgBase extensions, order/product models
Services/ Business logic — AI, measurement, file storage, invoicing, locking

Dependencies

  • Mango.Nop.Core, Mango.Nop.Services (ProjectReferences via ../../Libraries/)
  • Nop.Services, Nop.Web (nopCommerce ProjectReferences)
  • AyCode.Core solution assemblies (DLL HintPaths in .csproj)
  • DevExpress ASP.NET Core 25.1.3, DevExtreme 25.1.3
  • SignalR, EF Core 9.0, PdfPig, PDFtoImage

Initialization & Quirks

  • AcBinary Source Generator Registration: NopCommerce plugins are loaded dynamically via AssemblyLoadContext, which prevents the .NET runtime from executing [ModuleInitializer] attributes. To ensure the high-performance binary serializers are registered (instead of falling back to slow reflection), PluginNopStartup.ConfigureServices must call Mango.Nop.Core.AcBinaryForcedInit.ForceRegister().