Support optional CLI and MCP in Windows source archives

This commit is contained in:
karl committed 2026-10-13 11:55:16 +02:00
1 parent 4e277a107f
commit 2be6b3d2b4
4 files changed
+72 -5

No files matched your search

+13 -1
View File
@@ -210,11 +210,23 @@ python tools/embeddinggemma2/build_runtime.py --backend auto --jobs 2
python tools/embeddinggemma2/stage_runtime.py --backend auto
python tools/media-runtime/provision.py --stage
Set-Location apps/desktop
npm run tauri -- build --no-bundle
npm run tauri -- build --features custom-protocol --no-bundle
Set-Location ../..
python tools/package_windows.py
```
To include the CLI and read-only MCP server in this source archive:
```powershell
cargo build --release -p searchi-cli --locked
python tools/package_windows.py --cli target/release/searchi.exe
```
The additional binary is named `searchi-cli.exe`; `searchi.exe` remains the
desktop launcher. Its model cache and database must be selected explicitly,
as described in [agent integration](AGENT-INTEGRATION.md). This option does not
add the CLI to the already published v0.1.0 installer.
The generated `.searchi/packages/searchi-windows.zip` contains the desktop,
matching-architecture Google worker, FFmpeg/FFprobe and notices. It excludes
model caches, local settings and indexes. `PACKAGE.json` records SHA-256 for