feat(selection): persist retrieval preference

This commit is contained in:
Julian lechner committed 2026-09-17 09:16:05 +02:00
1 parent 151306a6cc
commit bfbe001248
7 files changed
+24 -8

No files matched your search

+2 -1
View File
@@ -12,6 +12,7 @@ read_update_selection() {
client) [ -n "$client" ] || client=$value ;;
update_agents) update_agents=$value ;;
flashbang) flashbang=$value ;;
semantic_retrieval) semantic_retrieval=$value ;;
selected) selected_plugins+=("$value") ;;
deselected) deselected_plugins+=("$value") ;;
esac
@@ -20,6 +21,6 @@ read_update_selection() {
save_update_selection() {
python3 "$root/scripts/lib/selection-state.py" write --home "$home_path" --manifest "$root/adapters/plugins.tsv" \
--shell "$shell" --client "$client" --update-agents "$update_agents" --flashbang "$flashbang" \
--shell "$shell" --client "$client" --update-agents "$update_agents" --flashbang "$flashbang" --semantic-retrieval "${semantic_retrieval:-false}" \
--selected "${selected_plugins[@]}" --deselected "${deselected_plugins[@]}"
}