AI-Studio/app/MindWork AI Studio/Tools
Thorsten Sommer fe35630eff
Merge branch 'main' into chunk-data
Resolved 29 conflicting files. The notable decisions:

Confidence: main's tool-calling gate (RequiredProviderConfidence) and this
branch's local-RAG gate (DataConfidenceLevel) turned out to be the same rule
on the same axis, so they are now one field. Both tool results and data
sources raise it through RequireProviderConfidence(). The gate checks the
level strictly and no longer exempts providers trusted by configuration:
TrustedProviderIds is documented as applying to data-source security checks
only, and organizations set confidence through DataConfidence
.CustomConfidenceScheme instead. The security axis (DataSecurity, ERI,
IsTrustedForDataSourceSecurityChecks) is unchanged.

Provider creation: main's CreateProvider signature won (hfEndpointKind,
capabilityOverrides, no model parameter); tokenizerPath was added to it and
is set for every provider, including the new Hetzner, IONOS and LiteLLM.
Provider and EmbeddingProvider combine the record parameters, Lua parsing and
Lua serialization of both sides.

File types: main's hierarchy (ODT leaf, WORD parent, PowerPoint without the
legacy .ppt, TABULAR instead of DELIMITED_TABLE) plus this branch's
SPREADSHEET parent with ODS and the xlsm/xlsb/xla/xlam extensions, which the
runtime already reads. Both sides had added a conflicting HTML filter; the
reading family keeps the name, and the export path uses a narrow
HTML_DOCUMENT, following the existing LATEX/TEX split.

Runtime: main's file_data.rs is the base, including the prompt-injection
sanitizer and the extraction routes. Token counting and chunk segmentation
moved into take_released, so they act on the text the filter has released
rather than on text it is still holding. A failed count is logged and left
out instead of ending the extraction, because the app counts such a segment
itself.

Data sources: the participating-provider checks of this branch are kept, and
main's GetAllowedDataSources overload now builds on them. DirectChatService
resolves the launched chat's data source options before the check, so filter
and chat see the same options.

.NET and Rust both build clean; I18N regenerated to 4060 keys.
2026-09-05 21:20:33 +02:00
..
AIJobs Hardened background work against disconnected circuits (#937) 2026-08-25 18:53:09 +02:00
AssistantSessions Added support for organization-approved assistant plugins (#821) 2026-07-05 15:20:29 +02:00
Databases refactored the classes and functions 2026-08-14 14:25:53 +02:00
ERIClient Added support for managed custom root certificate bundles (#784) 2026-05-31 18:46:54 +02:00
Media Added the visual briefing assistant (#893) 2026-08-02 21:41:12 +02:00
Metadata Replace Qdrant with Qdrant Edge (#783) 2026-06-02 17:22:59 +02:00
MIME Implemented the transcription API (#623) 2026-01-11 16:02:28 +01:00
PluginSystem Merge branch 'main' into chunk-data 2026-09-05 21:20:33 +02:00
RAG Merge branch 'main' into chunk-data 2026-09-05 21:20:33 +02:00
Rust Merge branch 'main' into chunk-data 2026-09-05 21:20:33 +02:00
Security Added tool calling support (#731) 2026-09-04 15:48:07 +02:00
Services Merge branch 'main' into chunk-data 2026-09-05 21:20:33 +02:00
ToolCallingSystem Added admin dialog for tool configuration exports (#949) 2026-09-05 19:16:54 +02:00
Validation Merge branch 'main' into chunk-data 2026-09-05 21:20:33 +02:00
Web Added tool calling support (#731) 2026-09-04 15:48:07 +02:00
AllowedSelectedDataSources.cs Integrated data sources into any chat (#282) 2025-02-15 15:41:12 +01:00
AssistantCategory.cs Added a no-code assistant builder (#823) 2026-07-05 17:48:00 +02:00
AssistantCategoryExtensions.cs Added a no-code assistant builder (#823) 2026-07-05 17:48:00 +02:00
AssistantVisibilityExtensions.cs Added a component for dynamic assistants (#911) 2026-08-25 14:53:38 +02:00
AuthMethodsV1Extensions.cs Added more text content to the I18N system (#446) 2025-05-04 14:59:30 +02:00
ButtonData.cs Added I18N assistant for localization of AI Studio content (#422) 2025-04-26 18:55:23 +02:00
ButtonTypes.cs Assistant send result (#75) 2024-08-18 12:32:18 +02:00
CanonicalJsonConfigurationAttribute.cs Added the visual briefing assistant (#893) 2026-08-02 21:41:12 +02:00
CanonicalJsonShapeAttribute.cs Added the visual briefing assistant (#893) 2026-08-02 21:41:12 +02:00
ChatTemplateExtensions.cs Finalized chat templates (#475) 2025-05-24 19:11:28 +02:00
CommonLanguageExtensions.cs Refined the translation assistant (#716) 2026-03-30 08:50:11 +02:00
CommonLanguages.cs Added Russian as a language option for assistants (#477) 2025-05-25 10:42:42 +02:00
CommonTools.cs Added support for organization-approved assistant plugins (#821) 2026-07-05 15:20:29 +02:00
Components.cs Added a component for dynamic assistants (#911) 2026-08-25 14:53:38 +02:00
ComponentsData.cs Added options to enforce minimum confidence levels for each assistant (#147) 2024-09-14 19:20:33 +02:00
ComponentsExtensions.cs Added a component for dynamic assistants (#911) 2026-08-25 14:53:38 +02:00
ConfidenceSchemes.cs Added DeepSeek as provider (#303) 2025-02-27 12:43:19 +01:00
ConfidenceSchemesExtensions.cs Added more text content to the I18N system (#446) 2025-05-04 14:59:30 +02:00
ContentStreamDocumentDetails.cs Improved docx and odt import (#890) 2026-08-10 20:39:31 +02:00
ContentStreamDocumentMetadata.cs Improved docx and odt import (#890) 2026-08-10 20:39:31 +02:00
ContentStreamErrorDetails.cs Fixed attached files silently reaching the AI as empty documents (#904) 2026-08-10 16:37:44 +02:00
ContentStreamErrorMetadata.cs Fixed attached files silently reaching the AI as empty documents (#904) 2026-08-10 16:37:44 +02:00
ContentStreamImageMetadata.cs Allow loading any document in some assistants (#508) 2025-06-30 18:56:48 +02:00
ContentStreamMetadataJsonConverter.cs Added a prompt injection detection (#857) 2026-08-23 11:09:11 +02:00
ContentStreamPdfDetails.cs Allow loading any document in some assistants (#508) 2025-06-30 18:56:48 +02:00
ContentStreamPdfMetadata.cs Allow loading any document in some assistants (#508) 2025-06-30 18:56:48 +02:00
ContentStreamPptxImageData.cs Improved docx and odt import (#890) 2026-08-10 20:39:31 +02:00
ContentStreamPresentationDetails.cs Allow loading any document in some assistants (#508) 2025-06-30 18:56:48 +02:00
ContentStreamPresentationMetadata.cs Allow loading any document in some assistants (#508) 2025-06-30 18:56:48 +02:00
ContentStreamProcessedEvent.cs Added a prompt injection detection (#857) 2026-08-23 11:09:11 +02:00
ContentStreamPromptInjectionDetails.cs Added a prompt injection detection (#857) 2026-08-23 11:09:11 +02:00
ContentStreamPromptInjectionMetadata.cs Added a prompt injection detection (#857) 2026-08-23 11:09:11 +02:00
ContentStreamSpreadsheetDetails.cs Allow loading any document in some assistants (#508) 2025-06-30 18:56:48 +02:00
ContentStreamSpreadsheetMetadata.cs Allow loading any document in some assistants (#508) 2025-06-30 18:56:48 +02:00
ContentStreamSseEvent.cs fixed tokenization issue for long files 2026-08-10 18:21:31 +02:00
ContentStreamSseHandler.cs Merge branch 'main' into chunk-data 2026-09-05 21:20:33 +02:00
ContentStreamSseMetadata.cs Allow loading any document in some assistants (#508) 2025-06-30 18:56:48 +02:00
ContentStreamTextDetails.cs Allow loading any document in some assistants (#508) 2025-06-30 18:56:48 +02:00
ContentStreamTextMetadata.cs Allow loading any document in some assistants (#508) 2025-06-30 18:56:48 +02:00
CsvWriter.cs Rework of the file export (#894) 2026-08-31 08:40:50 +02:00
DataErrorMessage.cs UI for Pandoc integration (#393) 2025-05-29 14:01:56 +02:00
DataInfoMessage.cs Added the visual briefing assistant (#893) 2026-08-02 21:41:12 +02:00
DataSuccessMessage.cs UI for Pandoc integration (#393) 2025-05-29 14:01:56 +02:00
DataWarningMessage.cs UI for Pandoc integration (#393) 2025-05-29 14:01:56 +02:00
DirectoryInfoExtensions.cs Added description fields to local data sources (#583) 2025-12-08 20:53:46 +01:00
DocumentManager.cs Fixed estimated document pages (#929) 2026-08-18 18:28:40 +02:00
DropLayers.cs Added file attachment support to chat templates (#614) 2026-01-01 16:47:15 +01:00
ElementReferenceExtensions.cs Improved chat page by scrolling to the bottom after loading (#87) 2024-08-23 10:32:27 +02:00
EncryptedText.cs Improve ipc (#102) 2024-09-01 20:10:03 +02:00
EncryptedTextExtensions.cs Improve ipc (#102) 2024-09-01 20:10:03 +02:00
EncryptedTextJsonConverter.cs Improve ipc (#102) 2024-09-01 20:10:03 +02:00
Encryption.cs Improve ipc (#102) 2024-09-01 20:10:03 +02:00
EnterpriseEncryption.cs Added settings & features for administrators in organizations (#653) 2026-02-07 22:59:41 +01:00
EnterpriseEnvironment.cs Added support for up to 100,000 enterprise configuration slots (#782) 2026-05-31 12:11:09 +02:00
EnvFile.cs Improved dev experience & allow native .NET debugging (#460) 2025-05-17 13:36:28 +02:00
Event.cs Merge branch 'main' into chunk-data 2026-09-05 21:20:33 +02:00
EventHandlers.cs Added a preview of the document analysis assistant (#561) 2025-11-24 12:37:18 +01:00
ExpressionExtensions.cs Refactored configuration objects (#538) 2025-08-26 10:59:56 +02:00
ExternalHttpClientTimeout.cs Added tool calling support (#731) 2026-09-04 15:48:07 +02:00
ExternalHttpCustomRootCertificateState.cs Added support for managed custom root certificate bundles (#784) 2026-05-31 18:46:54 +02:00
ExternalHttpTrustPolicy.cs Added support for managed custom root certificate bundles (#784) 2026-05-31 18:46:54 +02:00
ExternalWebAuthenticationMode.cs Added tool calling support (#731) 2026-09-04 15:48:07 +02:00
FileExportFormat.cs Rework of the file export (#894) 2026-08-31 08:40:50 +02:00
FileExportFormatExtensions.cs Merge branch 'main' into chunk-data 2026-09-05 21:20:33 +02:00
FileExtractionErrorCode.cs Reduced memory usage and fixed several memory leaks (#933) 2026-08-23 21:15:37 +02:00
FileExtractionOutcome.cs Fixed attached files silently reaching the AI as empty documents (#904) 2026-08-10 16:37:44 +02:00
FileExtractionResult.cs Added a prompt injection detection (#857) 2026-08-23 11:09:11 +02:00
FileExtractionResultExtensions.cs Fixed attached files silently reaching the AI as empty documents (#904) 2026-08-10 16:37:44 +02:00
FileInfoExtensions.cs Added an information view to all data sources (#273) 2025-02-09 12:36:37 +01:00
HTMLParser.cs Added tool calling support (#731) 2026-09-04 15:48:07 +02:00
HTMLParserWebPage.cs Added tool calling support (#731) 2026-09-04 15:48:07 +02:00
HttpRateLimitedStreamResult.cs Fixed a streaming bug (#250) 2025-01-04 12:30:05 +01:00
HttpRequestHeadersExtensions.cs Improve ipc (#102) 2024-09-01 20:10:03 +02:00
IButtonData.cs Assistant send result (#75) 2024-08-18 12:32:18 +02:00
IConfidence.cs Added a retrieval context validation agent (#289) 2025-02-22 20:51:06 +01:00
IConfidenceExtensions.cs Added a retrieval context validation agent (#289) 2025-02-22 20:51:06 +01:00
ImageHelpers.cs Render base64 images in threads (#601) 2025-12-16 20:43:02 +01:00
IMessageBusReceiver.cs Created I18N data, part 1 (#404) 2025-04-24 13:50:14 +02:00
IncrementResult.cs Refactored configuration objects (#538) 2025-08-26 10:59:56 +02:00
IncrementType.cs Refactored configuration objects (#538) 2025-08-26 10:59:56 +02:00
ISecretId.cs Added settings & features for administrators in organizations (#653) 2026-02-07 22:59:41 +01:00
ISlideContent.cs Improved PowerPoint implementation for reading slide data (#517) 2025-07-01 18:34:14 +02:00
ISource.cs Added tool calling support (#731) 2026-09-04 15:48:07 +02:00
JsRuntimeExtensions.cs Hardened background work against disconnected circuits (#937) 2026-08-25 18:53:09 +02:00
LoadChat.cs Bias of the day (#173) 2024-10-28 15:41:00 +01:00
LongExtensions.cs Added an information view to all data sources (#273) 2025-02-09 12:36:37 +01:00
Markdown.cs Added audio and video transcription for chats and assistants (#856) 2026-07-15 12:53:30 +02:00
MessageBus.cs Hardened background work against disconnected circuits (#937) 2026-08-25 18:53:09 +02:00
MessageBusExtensions.cs Info page: configuration details now refresh live (#712) 2026-03-23 13:57:26 +01:00
MessageTable.cs Rework of the file export (#894) 2026-08-31 08:40:50 +02:00
MudThemeExtensions.cs Allow assistants to run in the background (#828) 2026-07-03 15:02:20 +02:00
NoComponent.cs Included a settings icon to every assistant that lets you edit the settings (#327) 2025-03-12 11:31:01 +01:00
Pandoc.cs Fixed attached files silently reaching the AI as empty documents (#904) 2026-08-10 16:37:44 +02:00
PandocExecutable.cs Finished the Pandoc integration (#487) 2025-05-30 22:39:16 +02:00
PandocExport.cs Rework of the file export (#894) 2026-08-31 08:40:50 +02:00
PandocInstallation.cs Finished the Pandoc integration (#487) 2025-05-30 22:39:16 +02:00
PandocPreparedProcess.cs Finished the Pandoc integration (#487) 2025-05-30 22:39:16 +02:00
PandocProcessBuilder.cs Clarify update guidance and strongly type Linux package detection (#925) 2026-08-16 12:18:53 +02:00
PlainFileExport.cs Rework of the file export (#894) 2026-08-31 08:40:50 +02:00
Process.cs Improved the I18N & the German translation (#552) 2025-09-03 22:14:31 +02:00
ProcessStepTextRouter.cs Improved the I18N & the German translation (#552) 2025-09-03 22:14:31 +02:00
ProcessStepValue.cs Allow reading web content into assistants (#63) 2024-08-01 21:53:28 +02:00
ProfileExtensions.cs Add profiles (#132) 2024-09-08 21:01:51 +02:00
SecretStoreType.cs Added tool calling support (#731) 2026-09-04 15:48:07 +02:00
SecretStoreTypeExtensions.cs Added tool calling support (#731) 2026-09-04 15:48:07 +02:00
SendToButton.cs Added a prompt optimization assistant (#709) 2026-04-15 19:40:53 +02:00
Slide.cs Improved PowerPoint implementation for reading slide data (#517) 2025-07-01 18:34:14 +02:00
SlideImageContent.cs Improved docx and odt import (#890) 2026-08-10 20:39:31 +02:00
SlideManager.cs Improved docx and odt import (#890) 2026-08-10 20:39:31 +02:00
SlideTextContent.cs Improved docx and odt import (#890) 2026-08-10 20:39:31 +02:00
SoundEffectsInitializationResult.cs Harden voice recording initialization (#698) 2026-03-16 22:36:51 +01:00
Source.cs Showing sources coming from data providers (#559) 2025-09-25 19:47:18 +02:00
SourceExtensions.cs Added tool calling support (#731) 2026-09-04 15:48:07 +02:00
SourceOrigin.cs Added tool calling support (#731) 2026-09-04 15:48:07 +02:00
SvgIcon.cs Added provider icons (#934) 2026-08-25 12:46:10 +02:00
TargetWindow.cs Added a retrieval context validation agent (#289) 2025-02-22 20:51:06 +01:00
TargetWindowStrategy.cs Added a retrieval context validation agent (#289) 2025-02-22 20:51:06 +01:00
TaskExtensions.cs Hardened background work against disconnected circuits (#937) 2026-08-25 18:53:09 +02:00
TerminalLogger.cs Improved logging (#678) 2026-02-25 19:30:46 +01:00
TextColor.cs Integrated data sources into any chat (#282) 2025-02-15 15:41:12 +01:00
TextColorExtensions.cs Integrated data sources into any chat (#282) 2025-02-15 15:41:12 +01:00
ThreadSafeRandom.cs Migrate to .NET 9 & MudBlazor 8 (#333) 2025-03-12 19:12:56 +01:00
UserFile.cs Rework of the file export (#894) 2026-08-31 08:40:50 +02:00
WorkspaceBehaviour.cs Added tool calling support (#731) 2026-09-04 15:48:07 +02:00
WorkspaceSearchResult.cs Added the option to search for chats in all workspaces (#795) 2026-06-04 19:34:52 +02:00
WorkspaceSearchSnapshot.cs Added the option to search for chats in all workspaces (#795) 2026-06-04 19:34:52 +02:00
WorkspaceSearchWorkspace.cs Added the option to search for chats in all workspaces (#795) 2026-06-04 19:34:52 +02:00
WorkspaceTreeCacheSnapshot.cs Improved workspace performance (#680) 2026-03-05 18:37:18 +01:00
WorkspaceTreeChat.cs Improved workspace performance (#680) 2026-03-05 18:37:18 +01:00
WorkspaceTreeWorkspace.cs Improved workspace performance (#680) 2026-03-05 18:37:18 +01:00