fix: remove unused type alias and fix test compatibility with Bun 1.3.11

- Remove unused ParsedChunkTarget type alias (lint error)
- Increase setImmediate timing in history storage compat test
- Mock warmPythonEnvironment in python tool tests
- Fix tlaplus LSP test to spy on $which instead of Bun.which
This commit is contained in:
can1357
2026-04-08 12:17:37 +02:00
parent 99fac3419b
commit 003eccce52
7 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -19,9 +19,9 @@ import { YAML } from "bun";
import { type Settings as SettingsCapabilityItem, settingsCapability } from "../capability/settings";
import type { ModelRole } from "../config/model-registry";
import { loadCapability } from "../discovery";
import { type EditMode, normalizeEditMode } from "../edit";
import { isLightTheme, setAutoThemeMapping, setColorBlindMode, setSymbolPreset } from "../modes/theme/theme";
import { AgentStorage } from "../session/agent-storage";
import { type EditMode, normalizeEditMode } from "../utils/edit-mode";
import { withFileLock } from "./file-lock";
import {
type BashInterceptorRule,
@@ -88,10 +88,6 @@ export function invalidateChunkCache(filePath: string): void {
chunkStateCache.delete(filePath);
}
type ParsedChunkTarget = {
selector: string;
};
type ChunkSourceContext = {
resolvedPath: string;
sourceFile: BunFile;