Add local spoken passages with Google retrieval and isolated runtime setup

This commit is contained in:
karl committed 2026-10-13 20:18:44 +02:00
1 parent bc9459785d
commit dab703413e
55 files changed
+3633 -70

No files matched your search

+3
View File
@@ -15,6 +15,7 @@ import tempfile
import zipfile
from embeddinggemma2.runtime_provenance import verify as verify_provenance
from stage_extraction_worker import verify as verify_extraction
from stage_speech_worker import verify as verify_speech
ROOT = Path(__file__).resolve().parents[1]
CRT_LIBRARIES = {"concrt140.dll", "msvcp140.dll", "msvcp140_1.dll", "msvcp140_2.dll", "msvcp140_atomic_wait.dll", "msvcp140_codecvt_ids.dll", "vccorlib140.dll", "vcruntime140.dll", "vcruntime140_1.dll", "vcruntime140_threads.dll"}
@@ -148,6 +149,7 @@ def package(root, executable, output, cli=None):
media = media_provenance(root, resources, architecture)
expected.update(media)
expected.update(verify_extraction(resources, root, "windows", architecture))
expected.update(verify_speech(resources, root, "windows", architecture))
selected = [(executable, "searchi.exe"), (root / "LICENSE", "LICENSE.txt")]
if cli is not None:
if cli.is_symlink() or not cli.is_file() or not 0 < cli.stat().st_size <= MAX_MEMBER:
@@ -200,6 +202,7 @@ def package(root, executable, output, cli=None):
"Extract the entire folder, then open searchi.exe. Keep its helpers alongside it.\n"
"Windows needs WebView2. The Microsoft C++ runtime ships with these helpers; Visual Studio is not required.\n"
"First launch downloads approximately 865 MB of verified Google model files.\n"
"Local spoken-passage recognition adds approximately 149 MB of verified speech models.\n"
"Choose Add folder to index your own files; ordinary search stays local.\n"
"This is an unsigned development build, not a certified production release.\n")
if cli is not None: