Improve inline autocomplete reliability, sanitization, and debug logging (#407)

* Enhance autocomplete functionality and logging. Increased debounce time for autocomplete suggestions and added minimum context character requirement. Improved inline suggestion handling with new cleanup logic for tab acceptance. Introduced a new logging option for autocomplete-only logs in CLI. Updated various components to support these changes, including sanitization and error handling in the autocomplete engine.

* Add autocomplete CLI adapter for improved argument handling

This commit introduces a new module, , which encapsulates the argument parsing and logging logic specific to the autocomplete namespace in the CLI. Key features include extraction of leading verbose flags, handling of the  flag, and improved help message printing. The existing CLI command handling has been refactored to utilize this new adapter, enhancing code organization and maintainability.

* Refactor inline completion sanitization and enhance context handling
This commit is contained in:
YellowSnnowmann
2026-04-07 09:11:42 -07:00
committed by GitHub
parent 000b40bf43
commit fb8987bcad
19 changed files with 943 additions and 185 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ FIXTURES="./tests/fixtures/subconscious"
if [ ! -f "$CORE_BIN" ]; then echo "ERROR: Core binary not found"; exit 1; fi
# Check Ollama
if ! curl -s --max-time 3 http://127.0.0.1:11434/ >/dev/null 2>&1; then
if ! curl -s --max-time 3 http://localhost:11434/ >/dev/null 2>&1; then
echo "ERROR: Ollama not running. Start with: ollama serve"
exit 1
fi