AI-Studio/app/MindWork AI Studio/Tools/Rust
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
..
AppExitResponse.cs Added an option for mandatory terms of use dialogs (#725) 2026-04-10 17:11:05 +02:00
CreateMediaJobRequest.cs Added audio and video transcription for chats and assistants (#856) 2026-07-15 12:53:30 +02:00
CreateMediaJobResponse.cs Added audio and video transcription for chats and assistants (#856) 2026-07-15 12:53:30 +02:00
DeleteSecretResponse.cs Improved Secret Service diagnostics on Linux (#868) 2026-07-19 11:33:56 +02:00
DirectorySelectionResponse.cs Add ERI server assistant (#231) 2025-01-01 15:49:27 +01:00
EnterpriseConfig.cs Added support for up to 100,000 enterprise configuration slots (#782) 2026-05-31 12:11:09 +02:00
FileSaveResponse.cs Added export to word function for the chat (#566) 2025-11-11 15:30:17 +01:00
FileSelectionResponse.cs Configure data sources (#259) 2025-01-13 19:51:26 +01:00
FilesSelectionResponse.cs Allow selection of multiple files (#600) 2025-12-16 19:14:27 +01:00
FileType.cs added functionality to save/move tokenizer file 2026-04-10 18:31:20 +02:00
FileTypeFilter.cs Refactoring of file filter (#681) 2026-04-09 11:53:30 +02:00
FileTypes.cs Merge branch 'main' into chunk-data 2026-09-05 21:20:33 +02:00
GetLogPathsResponse.cs Added paths to log files in the "About" dialog for easier support (#304) 2025-02-27 20:17:51 +01:00
ImagePrepareResponse.cs Added the visual briefing assistant (#893) 2026-08-02 21:41:12 +02:00
InstallationKind.cs Fixed AI Studio installing a second copy of itself next to an existing installation (#922) 2026-08-15 14:04:45 +02:00
LinuxPackageType.cs Clarify update guidance and strongly type Linux package detection (#925) 2026-08-16 12:18:53 +02:00
LogEventRequest.cs Fixed logging (#626) 2026-01-13 18:45:47 +01:00
LogEventResponse.cs Fixed logging (#626) 2026-01-13 18:45:47 +01:00
MediaJobError.cs Added audio and video transcription for chats and assistants (#856) 2026-07-15 12:53:30 +02:00
MediaJobErrorCode.cs Added audio and video transcription for chats and assistants (#856) 2026-07-15 12:53:30 +02:00
MediaJobEvent.cs Added audio and video transcription for chats and assistants (#856) 2026-07-15 12:53:30 +02:00
MediaJobPhase.cs Added audio and video transcription for chats and assistants (#856) 2026-07-15 12:53:30 +02:00
MediaJobResult.cs Added audio and video transcription for chats and assistants (#856) 2026-07-15 12:53:30 +02:00
OpenPathRequest.cs Added an assistant to view the AI Studio logs (#859) 2026-07-15 19:44:43 +02:00
OpenPathResponse.cs Added an assistant to view the AI Studio logs (#859) 2026-07-15 19:44:43 +02:00
PreviousDirectory.cs Add ERI server assistant (#231) 2025-01-01 15:49:27 +01:00
PreviousFile.cs Configure data sources (#259) 2025-01-13 19:51:26 +01:00
QdrantEdgeInfo.cs Replace Qdrant with Qdrant Edge (#783) 2026-06-02 17:22:59 +02:00
QdrantEdgeStatus.cs Replace Qdrant with Qdrant Edge (#783) 2026-06-02 17:22:59 +02:00
RegisterShortcutRequest.cs Fixed global shortcuts on linux (#867) 2026-07-18 17:42:38 +02:00
RequestedSecret.cs Improved Secret Service diagnostics on Linux (#868) 2026-07-19 11:33:56 +02:00
RuntimeInfoResponse.cs Clarify update guidance and strongly type Linux package detection (#925) 2026-08-16 12:18:53 +02:00
SanitizePromptInjectionsBatchRequest.cs Added tool calling support (#731) 2026-09-04 15:48:07 +02:00
SanitizePromptInjectionsBatchResponse.cs Added tool calling support (#731) 2026-09-04 15:48:07 +02:00
SanitizePromptInjectionsRequest.cs Added a prompt injection detection (#857) 2026-08-23 11:09:11 +02:00
SanitizePromptInjectionsResponse.cs Added a prompt injection detection (#857) 2026-08-23 11:09:11 +02:00
SaveFileOptions.cs Added export to word function for the chat (#566) 2025-11-11 15:30:17 +01:00
SecretStoreIssueCode.cs Improved Secret Service diagnostics on Linux (#868) 2026-07-19 11:33:56 +02:00
SelectFileOptions.cs Added file type filtering to file selection dialogs (#442) 2025-05-03 15:43:12 +02:00
SelectSecretRequest.cs Allow the use of an API key for self-hosted ollama instances (#156) 2024-10-07 13:26:25 +02:00
SetClipboardResponse.cs Improve ipc (#102) 2024-09-01 20:10:03 +02:00
Shortcut.cs Improved voice recording shortcut labels (#800) 2026-06-09 20:11:32 +02:00
ShortcutBackend.cs Added focused-window shortcut fallback on Linux (#882) 2026-07-21 14:43:33 +02:00
ShortcutRegistrationResult.cs Fixed global shortcuts on linux (#867) 2026-07-18 17:42:38 +02:00
ShortcutResponse.cs Fixed global shortcuts on linux (#867) 2026-07-18 17:42:38 +02:00
ShortcutValidationResponse.cs Manage global shortcuts (#635) 2026-01-24 20:05:34 +01:00
ShortcutValidationResult.cs Manage global shortcuts (#635) 2026-01-24 20:05:34 +01:00
StoreSecretRequest.cs Improve ipc (#102) 2024-09-01 20:10:03 +02:00
StoreSecretResponse.cs Improved Secret Service diagnostics on Linux (#868) 2026-07-19 11:33:56 +02:00
TauriEvent.cs Fixed global shortcuts on linux (#867) 2026-07-18 17:42:38 +02:00
TauriEventType.cs Fixed global shortcuts on linux (#867) 2026-07-18 17:42:38 +02:00
TokenizerHandlingResponse.cs added functionality to save/move tokenizer file 2026-04-10 18:31:20 +02:00
TokenizerResponse.cs refactored the classes and functions 2026-08-14 14:25:53 +02:00
UpdateResponse.cs Improve ipc (#102) 2024-09-01 20:10:03 +02:00
ValidateShortcutRequest.cs Manage global shortcuts (#635) 2026-01-24 20:05:34 +01:00