16 Commits
Author SHA1 Message Date
saherelm c53553e1cf add all requirements for implementing XAiMcpClient ... 2026-11-06 19:09:07 +03:30
saherelm 9668f26ffe last ... 2026-11-03 18:56:52 +03:30
saherelm 62aa8d51e6 Implement XAiMcpServer Stuffs ... 2026-11-02 23:16:50 +03:30
saherelm ef1421def4 Move Knowledge Constants and Fix Inverted Ownership Filters
- Add XAiKnowledgeScope enum (Conversation=0, Project=1, Global=2, User=3) with StringValue prefixes;
- Add Knowledge constants, scope prefixes, metadata keys and XAiErrorRoute to XAiModelsConstants;
- Fix inverted ownerId condition in QueryProjects / QueryConversations / QueryMessages
  (ownership filter was skipped for real owners -> cross-user data exposure);
- Fix inverted HasChild() validation in HasDefaultProject / HasDefaultConversation;
- LoadConversations: ignore soft-deleted conversations;
- CreateProject / CreateConversation: set isDefaultLanguageHandled = true;
- GetDefaultConversation: use projectId instead of unloaded project.Id.
2026-10-29 19:58:47 +03:30
saherelm 664579623a add Extension Method for Handling Attachment of ApiKey on AI Model Proxyfing ... 2026-10-23 19:50:18 +03:30
saherelm ae4b567bb3 ---
## خلاصه کامل کارهای انجام شده:

### ✅ تمام فایل‌های ایجاد شده برای XAiVector:

__مرحله 1 - Constants:__

- ✅ افزودن کانستنت‌ها به `XAiModelsConstants.cs`

__مرحله 2 - DTO & Configuration:__

- ✅ `Models/Dtos/XAiVectorDto.cs` - تکمیل شد
- ✅ `Configurations/Entities/XAiVectorEntityConfiguration.cs`
- ✅ `Configurations/Entities/XAiVectorMappingAction.cs`
- ✅ آپدیت `Configurations/XAiModelMappersProfile.cs`

__مرحله 3 - Interfaces Entities:__

- ✅ `Interfaces/Entities/IXAiVectorRepository.cs`
- ✅ `Interfaces/Entities/IXAiVectorEntityHub.cs`
- ✅ `Interfaces/Entities/IXAiVectorKeyGenerator.cs`
- ✅ `Interfaces/Entities/IXAiVectorRepositoryEvents.cs`
- ✅ `Interfaces/Entities/IXAiVectorRepositoryProvider.cs`
- ✅ `Interfaces/Entities/IXAiVectorSeeder.cs`
- ✅ `Interfaces/Entities/IXAiVectorGraphQLTypeHelper.cs`

__مرحله 4 - Interfaces Dtos:__

- ✅ `Interfaces/Dtos/IXAiVectorDtoHub.cs`
- ✅ `Interfaces/Dtos/IXAiVectorRepositoryService.cs`
- ✅ `Interfaces/Dtos/IXAiVectorServiceProvider.cs`

__مرحله 5 - Interfaces Enrichers:__

- ✅ `Interfaces/Enrichers/IXAiVectorEnricher.cs`

__مرحله 6 - Providers Entities:__

- ✅ `Providers/Entities/XAiVectorEFRepository.cs`
- ✅ `Providers/Entities/XAiVectorMongoRepository.cs`
- ✅ `Providers/Entities/XAiVectorInMemoryRepository.cs`
- ✅ `Providers/Entities/XAiVectorEntityHub.cs`
- ✅ `Providers/Entities/XAiVectorKeyGenerator.cs`
- ✅ `Providers/Entities/XAiVectorRepositoryEvents.cs`
- ✅ `Providers/Entities/XAiVectorRepositoryProvider.cs`
- ✅ `Providers/Entities/XAiVectorSeederBase.cs`

__مرحله 7 - Providers Dtos:__

- ✅ `Providers/Dtos/XAiVectorDtoHub.cs`
- ✅ `Providers/Dtos/XAiVectorRepositoryService.cs`
- ✅ `Providers/Dtos/XAiVectorServiceProvider.cs`

__مرحله 8 - Providers Enrichers:__

- ✅ `Providers/Enrichers/XAiVectorEnricher.cs`

__مرحله 9 - Providers GraphQL:__

- ✅ `Providers/GraphQL/XAiVectorGraphType.cs`
- ✅ `Providers/GraphQL/XAiVectorGraphQuery.cs`
- ✅ `Providers/GraphQL/XAiVectorGraphSchema.cs`
- ✅ `Providers/GraphQL/XAiVectorGraphQLTypeHelper.cs`

__مرحله 10 - Registry:__

- ✅ `Providers/XAiVectorEntityRegisterar.cs`

__مرحله 11 - Build:__

- ✅ پروژه با موفقیت build شد
2026-10-21 09:57:28 +03:30
saherelm eb27e9ce1f last ... 2026-09-25 19:48:23 +03:30
saherelm 842feac905 last works ... 2026-08-09 17:10:47 +03:30
saherelm 000408ae3f fix usage of Enrichers and Dto Structures ... 2026-08-08 09:42:28 +03:30
saherelm fbbc728366 last ... 2026-08-02 11:18:27 +03:30
saherelm 2696a9850c last ... 2026-08-01 10:52:50 +03:30
saherelm 5824eda6cb refactor and add using constants instead of hard coded strings ... 2026-07-30 14:27:45 +03:30
saherelm 116e240e70 last ... 2026-07-29 00:17:19 +03:30
saherelm 88ad441ba1 last ... 2026-07-26 21:25:26 +03:30
saherelm 2144e9f8a7 last ... 2026-07-26 21:19:40 +03:30
saherelm 4146e420fe Initial Commit ... 2026-04-24 00:30:14 +03:30