loki-mode 9.54.2 → 9.55.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -763,6 +763,13 @@ _qs_detect_brownfield() {
763
763
  : "${LOKI_QUICKSTART_CLASSIFY_TIMEOUT:=15}"
764
764
  _qs_classify_invoke() {
765
765
  local prompt="$1"
766
+ # Only the provider the operator chose may see a prompt (V10 P5): with any
767
+ # other provider the offline keyword ranking is used. Policy (and the
768
+ # LOKI_ALLOW_CLAUDE_SIDECALLS=1 opt-in) lives in providers/loader.sh.
769
+ # ponytail: upgrade path is routing this call through provider_invoke_argv.
770
+ type loki_claude_sidecall_allowed >/dev/null 2>&1 \
771
+ || . "$(dirname "${BASH_SOURCE[0]}")/../providers/loader.sh" 2>/dev/null
772
+ loki_claude_sidecall_allowed 2>/dev/null || return 1
766
773
  command -v claude >/dev/null 2>&1 || return 1
767
774
  local rc=0 out=""
768
775
  local to=""