AI-Studio/app/MindWork AI Studio/Tools/Services
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
..
AIStudioCircuitHandler.cs Hardened background work against disconnected circuits (#937) 2026-08-25 18:53:09 +02:00
ArbitraryFileDataSegment.cs refactored the classes and functions 2026-08-14 14:25:53 +02:00
AssistantBuilderChatLaunchRequest.cs Added tool calling support (#731) 2026-09-04 15:48:07 +02:00
AssistantPluginCheckResult.cs Added export and import of plugin archives (#885) 2026-08-06 10:42:20 +02:00
AssistantPluginDraftGenerationRequest.cs Added direct-chat launchers for assistant plugins and a dialog to reconfigure them (#935) 2026-08-27 16:19:35 +02:00
AssistantPluginDraftGenerationResult.cs Added direct-chat launchers for assistant plugins and a dialog to reconfigure them (#935) 2026-08-27 16:19:35 +02:00
AssistantPluginGenerationDraft.cs Added direct-chat launchers for assistant plugins and a dialog to reconfigure them (#935) 2026-08-27 16:19:35 +02:00
AssistantPluginGenerationService.cs Quiet secret store logs and fix untranslated tool messages (#950) 2026-09-05 19:38:54 +02:00
AssistantPluginInstallResult.cs Added export and import of plugin archives (#885) 2026-08-06 10:42:20 +02:00
AssistantPluginLuaGenerationRequest.cs Added direct-chat launchers for assistant plugins and a dialog to reconfigure them (#935) 2026-08-27 16:19:35 +02:00
AssistantPluginRevisionDraft.cs Added direct-chat launchers for assistant plugins and a dialog to reconfigure them (#935) 2026-08-27 16:19:35 +02:00
AssistantPluginUpdateResult.cs Added export and import of plugin archives (#885) 2026-08-06 10:42:20 +02:00
CircuitStateService.cs Hardened background work against disconnected circuits (#937) 2026-08-25 18:53:09 +02:00
ConfigurationPluginDeleteSummary.cs Improved local plugin handling (share, import, delete) (#900) 2026-08-09 19:01:58 +02:00
ConfigurationPluginDestination.cs Improved local plugin handling (share, import, delete) (#900) 2026-08-09 19:01:58 +02:00
ConfigurationPluginImportSummary.cs Improved local plugin handling (share, import, delete) (#900) 2026-08-09 19:01:58 +02:00
DataSourceEmbeddingFailure.cs refactored the classes and functions 2026-08-14 14:25:53 +02:00
DataSourceEmbeddingManifest.cs refactored the classes and functions 2026-08-14 14:25:53 +02:00
DataSourceEmbeddingNames.cs ensured data sources can be renamed and made it secure 2026-08-11 15:22:07 +02:00
DataSourceEmbeddingOverview.cs refactored the classes and functions 2026-08-14 14:25:53 +02:00
DataSourceEmbeddingProviders.cs added retrieval with vector and bm25 search 2026-08-03 20:56:19 +02:00
DataSourceEmbeddingService.cs refactored the classes and functions 2026-08-14 14:25:53 +02:00
DataSourceEmbeddingService.Files.cs Merge branch 'main' into chunk-data 2026-09-05 21:20:33 +02:00
DataSourceEmbeddingService.State.cs replaced embedding_state with index_store as a sqlite name 2026-08-14 12:37:50 +02:00
DataSourceEmbeddingService.Watchers.cs moved datasource indexing to lower level 2026-08-10 23:12:55 +02:00
DataSourceEmbeddingState.cs refactored the classes and functions 2026-08-14 14:25:53 +02:00
DataSourceEmbeddingStatus.cs refactored the classes and functions 2026-08-14 14:25:53 +02:00
DataSourceLocalRetrievalService.cs Merge branch 'main' into chunk-data 2026-09-05 21:20:33 +02:00
DataSourceService.cs Merge branch 'main' into chunk-data 2026-09-05 21:20:33 +02:00
DirectChatService.cs Merge branch 'main' into chunk-data 2026-09-05 21:20:33 +02:00
DirectChatStartResult.cs Added direct-chat launchers for assistant plugins and a dialog to reconfigure them (#935) 2026-08-27 16:19:35 +02:00
EmbeddedFileRecord.cs refactored the classes and functions 2026-08-14 14:25:53 +02:00
EnterpriseEnvironmentService.cs Added support for up to 100,000 enterprise configuration slots (#782) 2026-05-31 12:11:09 +02:00
FileEnumerationResult.cs refactored the classes and functions 2026-08-14 14:25:53 +02:00
GlobalShortcutRuntimeState.cs Added tool calling support (#731) 2026-09-04 15:48:07 +02:00
GlobalShortcutService.cs Added tool calling support (#731) 2026-09-04 15:48:07 +02:00
MarkdownClipboardService.cs Added the visual briefing assistant (#893) 2026-08-02 21:41:12 +02:00
MediaTranscriptionService.cs Added transcription for Helmholtz and Groq, embeddings for GWDG, and fixed Mistral model capabilities (#942) 2026-08-29 22:25:12 +02:00
NativeShareService.cs Added export and import of plugin archives (#885) 2026-08-06 10:42:20 +02:00
PandocAvailabilityService.cs Rework of the file export (#894) 2026-08-31 08:40:50 +02:00
PluginDeleteResult.cs Improved local plugin handling (share, import, delete) (#900) 2026-08-09 19:01:58 +02:00
PluginImportPreview.cs Improved local plugin handling (share, import, delete) (#900) 2026-08-09 19:01:58 +02:00
PluginInstallService.AssistantBuilder.cs Fixed plugin installation and endless plugin reloading on Linux (#924) 2026-08-15 19:55:42 +02:00
PluginInstallService.cs Fixed plugin installation and endless plugin reloading on Linux (#924) 2026-08-15 19:55:42 +02:00
PluginInstallService.Delete.cs Improved enterprise plugin rollouts and protected deployed plugins against changes (#938) 2026-08-28 14:06:24 +02:00
PluginInstallService.Editing.cs Improved enterprise plugin rollouts and protected deployed plugins against changes (#938) 2026-08-28 14:06:24 +02:00
PluginInstallService.FileSystem.cs Fixed plugin installation and endless plugin reloading on Linux (#924) 2026-08-15 19:55:42 +02:00
PluginInstallService.Import.cs Fixed plugin installation and endless plugin reloading on Linux (#924) 2026-08-15 19:55:42 +02:00
PluginInstallService.Installation.cs Added tool calling support (#731) 2026-09-04 15:48:07 +02:00
PluginShareResult.cs Added export and import of plugin archives (#885) 2026-08-06 10:42:20 +02:00
PluginShareService.cs Fixed plugin installation and endless plugin reloading on Linux (#924) 2026-08-15 19:55:42 +02:00
RustAvailabilityMonitorService.cs Hardened background work against disconnected circuits (#937) 2026-08-25 18:53:09 +02:00
RustEnumConverter.cs Manage global shortcuts (#635) 2026-01-24 20:05:34 +01:00
RustService.APIKeys.cs Improved Secret Service diagnostics on Linux (#868) 2026-07-19 11:33:56 +02:00
RustService.App.cs Fixed initial logging setup for Flatpak (#874) 2026-07-19 22:48:30 +02:00
RustService.Clipboard.cs Added the visual briefing assistant (#893) 2026-08-02 21:41:12 +02:00
RustService.cs made tokenizer concurrent and threadsafe 2026-08-10 21:36:01 +02:00
RustService.Databases.cs added retrieval with vector and bm25 search 2026-08-03 20:56:19 +02:00
RustService.Enterprise.cs Added support for up to 100,000 enterprise configuration slots (#782) 2026-05-31 12:11:09 +02:00
RustService.Events.cs Added Rust failure detection to the .NET server (#637) 2026-01-24 21:43:00 +01:00
RustService.FileSystem.cs Improve Linux clipboard support and file handling (#872) 2026-07-19 19:56:30 +02:00
RustService.Image.cs Added the visual briefing assistant (#893) 2026-08-02 21:41:12 +02:00
RustService.Log.cs Hardened background work against disconnected circuits (#937) 2026-08-25 18:53:09 +02:00
RustService.Media.cs Added audio and video transcription for chats and assistants (#856) 2026-07-15 12:53:30 +02:00
RustService.OS.cs Configure ERI servers in config plugins (#767) 2026-05-18 16:26:51 +02:00
RustService.Retrieval.cs Merge branch 'main' into chunk-data 2026-09-05 21:20:33 +02:00
RustService.Secrets.cs Quiet secret store logs and fix untranslated tool messages (#950) 2026-09-05 19:38:54 +02:00
RustService.Security.cs Added tool calling support (#731) 2026-09-04 15:48:07 +02:00
RustService.Share.cs Added export and import of plugin archives (#885) 2026-08-06 10:42:20 +02:00
RustService.Shortcuts.cs Fixed global shortcuts on linux (#867) 2026-07-18 17:42:38 +02:00
RustService.Tokenizer.cs made tokenizer concurrent and threadsafe 2026-08-10 21:36:01 +02:00
RustService.Updates.cs Fixed changelog encoding & prepared re-release v26.4.1 (#745) 2026-04-17 19:30:13 +02:00
TemporaryChatService.cs Fixed issues with the DI system and singletons (#802) 2026-06-10 21:01:27 +02:00
TokenizerModelId.cs added possibility to add tokenizer via plugin and refactored earlier changes 2026-04-23 16:29:30 +02:00
TranscriptStagingCleanupService.cs Added audio and video transcription for chats and assistants (#856) 2026-07-15 12:53:30 +02:00
UpdatePolicy.cs Clarify update guidance and strongly type Linux package detection (#925) 2026-08-16 12:18:53 +02:00
UpdatePolicyMode.cs Fixed AI Studio installing a second copy of itself next to an existing installation (#922) 2026-08-15 14:04:45 +02:00
UpdateService.cs Added the visual briefing assistant (#893) 2026-08-02 21:41:12 +02:00
VoiceRecordingAvailabilityService.cs Harden voice recording initialization (#698) 2026-03-16 22:36:51 +01:00