Skip to content

v3.6.0

Choose a tag to compare

@eniz1806 eniz1806 released this 06 Jun 09:46

Medium-tier audit fixes (cross-platform, correctness, stability, security).

Fixed

  • OpenAI o-series (o3/o3-mini/o4-mini) now send max_completion_tokens instead of max_tokens (the o-series 400 on the latter).
  • OLLAMA_BIN was macOS-only β€” resolved via $OLLAMA_BIN β†’ PATH β†’ app bundle, so /pull, /delete, and update checks work on Linux/Windows.
  • multi_edit failed in Ollama text mode β€” JSON-string edits are now parsed; no longer burns an undo slot on a no-op.
  • _stop_ollama killed all Ollama processes β€” now stops only the one Kodiqa started and reaps it; added an atexit handler to clean up spawned MCP/LSP/Ollama children even on crash.
  • memory_search could fail under parallel dispatch β€” SQLite opened with check_same_thread=False.
  • Streaming connection leak β€” all three chat loops resp.close() in finally.

Security

  • Hook command injection β€” hook {param} values are shlex.quoted before substitution.
  • Blocklist hardening β€” run_command normalizes whitespace before matching BLOCKED_COMMANDS (rm -rf / is now caught).

Tests

  • Regressions for o-series body, multi_edit JSON-string, and blocklist normalization (300 total).