fix: refresh pi dependency compatibility

Update Pi packages to 0.79.9 and align pi-ask with current TUI/RPC behavior.

- guard custom ask/settings flows to TUI mode with a clear non-TUI fallback

- reset config cache on extension reload so edited settings are picked up

- clean up remote ask flow listeners on session shutdown

- forward editor focus/invalidation and keep @ file autocomplete explicit

- document the non-TUI contract and cover the compatibility fixes with tests
This commit is contained in:
Erik Kotsiuba
2026-06-22 16:41:37 +02:00
parent 69e8bab6ef
commit d6db94a39d
20 changed files with 457 additions and 137 deletions
+9
View File
@@ -0,0 +1,9 @@
import assert from "node:assert/strict";
import test from "node:test";
import { createAskAutocompleteProvider } from "../src/ui/autocomplete.ts";
test("ask autocomplete explicitly triggers on file mention marker", () => {
const provider = createAskAutocompleteProvider(process.cwd());
assert.deepEqual(provider.triggerCharacters, ["@"]);
});