AI-Studio/runtime/src
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
..
prompt_injection Added tool calling support (#731) 2026-09-04 15:48:07 +02:00
api_token.rs Updated security-sensitive Rust dependencies (#706) 2026-03-22 14:11:30 +01:00
app_window.rs Merge branch 'main' into chunk-data 2026-09-05 21:20:33 +02:00
certificate_factory.rs Add Qdrant as vector database (#580) 2026-02-03 14:32:17 +01:00
clipboard.rs Improve Linux clipboard support and file handling (#872) 2026-07-19 19:56:30 +02:00
dotnet.rs Allow external HTTP root certificates to be configured by a policy file (#805) 2026-06-11 11:37:40 +02:00
encryption.rs Upgraded dependencies (#761) 2026-05-14 17:16:28 +02:00
environment.rs Added a prompt injection detection (#857) 2026-08-23 11:09:11 +02:00
file_actions.rs Added export and import of plugin archives (#885) 2026-08-06 10:42:20 +02:00
file_data.rs Merge branch 'main' into chunk-data 2026-09-05 21:20:33 +02:00
global_shortcuts.rs Added focused-window shortcut fallback on Linux (#882) 2026-07-21 14:43:33 +02:00
image.rs Added the visual briefing assistant (#893) 2026-08-02 21:41:12 +02:00
lib.rs Merge branch 'main' into chunk-data 2026-09-05 21:20:33 +02:00
log.rs Fixed initial logging setup for Flatpak (#874) 2026-07-19 22:48:30 +02:00
main.rs Merge branch 'main' into chunk-data 2026-08-04 18:01:25 +02:00
media.rs Added audio and video transcription for chats and assistants (#856) 2026-07-15 12:53:30 +02:00
metadata.rs Replace Qdrant with Qdrant Edge (#783) 2026-06-02 17:22:59 +02:00
network.rs Refactored runtime (#192) 2024-11-05 21:39:21 +01:00
pandoc.rs Fixed the Flatpak issue that prevented Pandoc from being found (#807) 2026-06-11 12:33:19 +02:00
pdfium.rs Upgraded to Rust 1.97.0 & updated dependencies (#846) 2026-07-09 20:58:27 +02:00
qdrant_edge_database.rs refactored confidence levels and ensured checks work 2026-08-14 12:03:16 +02:00
runtime_api_token.rs Migrated to axum (#757) 2026-05-12 20:31:08 +02:00
runtime_api.rs Merge branch 'main' into chunk-data 2026-09-05 21:20:33 +02:00
runtime_certificate.rs Add Qdrant as vector database (#580) 2026-02-03 14:32:17 +01:00
secret.rs Quiet secret store logs and fix untranslated tool messages (#950) 2026-09-05 19:38:54 +02:00
share_sheet.rs Fixed Windows build for native plugin sharing (#897) 2026-08-06 11:15:02 +02:00
sidecar_types.rs Replace Qdrant with Qdrant Edge (#783) 2026-06-02 17:22:59 +02:00
stale_process_cleanup.rs Improved Rust syntax by Clippy suggestions (#765) 2026-05-16 18:53:53 +02:00
tokenizer.rs made tokenizer concurrent and threadsafe 2026-08-10 21:36:01 +02:00