perf (pi-natives) : ast, fd, pty changes for performance (#252)

* perf (pi-natives -> fuzzy finder): precomputed query chars + fewer allocations in scoring

* restored fs-cache identity (oops)

* perf(pi-natives -> ast): parsed ast files once for multi-pattern search

* perf(pi-natives -> PTY waitloop tinto timed wait): reduced pty polling with timed waits

* fix codex suggestions

* surface websocket option

* ast in compile cancellation

* formatting and pty busy loop fix

---------

Co-authored-by: Brit <lol@no.com>
This commit is contained in:
HvC
2026-03-03 03:23:25 +01:00
committed by GitHub
co-authored by Brit
parent d5d56ab872
commit 0d2c5540db
4 changed files with 236 additions and 143 deletions
@@ -206,6 +206,11 @@ const OPTION_PROVIDERS: Partial<Record<SettingPath, OptionProvider>> = {
{ value: "openai", label: "OpenAI", description: "api.kimi.com" },
{ value: "anthropic", label: "Anthropic", description: "api.moonshot.ai" },
],
"providers.openaiWebsockets": [
{ value: "auto", label: "Auto", description: "Use model/provider default websocket behavior" },
{ value: "off", label: "Off", description: "Disable websockets for OpenAI Codex models" },
{ value: "on", label: "On", description: "Force websockets for OpenAI Codex models" },
],
// Default thinking level
defaultThinkingLevel: [
{ value: "off", label: "off", description: "No reasoning" },