feat(FN-4706): complete Step 2 — disable worktrunk auto-install path

Fusion-Task-Id: FN-4706
Fusion-Task-Lineage: 00e9207c-d2dc-4bc4-ae92-4604339bcbc2
This commit is contained in:
Fusion (runfusion.ai)
2026-05-15 21:04:18 -07:00
committed by gsxdsm
parent de98e31582
commit 3defcbe849
5 changed files with 60 additions and 818 deletions

View File

@@ -35,7 +35,7 @@ const _worktrunkBinaryCache = new Map<string, { binaryPath: string; resolvedAt:
export async function getWorktrunkBinary(
settings: WorktrunkSettings,
): Promise<{ binaryPath: string; source: "override" | "path" | "cached" | "installed-release" | "installed-cargo" }> {
): Promise<{ binaryPath: string; source: "override" | "path" | "cached" }> {
const cacheKey = `${process.env.HOME ?? ""}::${settings.binaryPath ?? ""}`;
const cached = _worktrunkBinaryCache.get(cacheKey);
if (cached) {