fix(scripts): forward retrieval summary options in both shells

This commit is contained in:
Julian lechner committed 2026-09-17 15:27:03 +02:00
1 parent 5ca0dcfb53
commit 6ce4fcc848
4 files changed
+5 -3

No files matched your search

+1
View File
@@ -4,6 +4,7 @@ function Sync-SemanticRetrieval {
if (-not $Enabled -and -not (Test-Path -LiteralPath $statePath)) { return }
$arguments = @((Join-Path $PSScriptRoot 'semantic-retrieval.py'), 'sync', '--root', $RepositoryRoot, '--home', $HomePath, '--client', $Client.ToLowerInvariant(), '--enabled', $Enabled.ToString().ToLowerInvariant())
if ($DryRun) { $arguments += '--dry-run' }; if ($Update) { $arguments += '--update' }
if ($Summary) { $arguments += '--summary' }
& python @arguments
if ($LASTEXITCODE -ne 0) { throw 'Semantic retrieval reconciliation failed.' }
}