xonecas.io
64875
Mc

mini-coder / commit 80fa309

fix: make tsc and biome checks green

Sean2026-07-01 80fa3091e44c6500ac8a94fca2b936ef91e4f252 parent b0db37b

3 files changed

src/agent.ts+1−1
@@ -90,7 +90,7 @@ export async function* streamAgent(
9090
9191 // Main agent loop, continues until llm sends a response other than toolCall or has no tool calls.
9292 while (true) {
93- let estimate = estimateTokens(JSON.stringify(llmCtx));
93+ const estimate = estimateTokens(JSON.stringify(llmCtx));
9494 // 80k is the agreed uppon threshold to the DUMB ZONE
9595 if (estimate > 80000) compactContext(llmCtx.messages);
9696
src/oauth.ts+1−1
@@ -14,7 +14,7 @@ import {
1414 getConfiguredBuiltinProviders,
1515 isBuiltinProvider,
1616 } from "./models.ts";
17-import { AUTH_PATH as AUTH_FILE } from "./shared";
17+import { AUTH_PATH as AUTH_FILE, DATA_DIR } from "./shared";
1818 import type { CliOptions, SavedOAuthCreds } from "./types";
1919
2020 type ReadlineInterface = ReturnType<typeof readline.createInterface>;
src/tui-overlay.ts+1−1
@@ -1,4 +1,4 @@
1-import { HStack, Text, TextInput, VStack } from "@cel-tui/core";
1+import { cel, HStack, Text, TextInput, VStack } from "@cel-tui/core";
22 import type { Message, ThinkingLevel } from "@earendil-works/pi-ai";
33 import { getOAuthProviders } from "@earendil-works/pi-ai/oauth";
44 import { saveSettings } from "./args";