Remove legacy React/Ink TUI and fix TypeScript errors
- Delete old tui/ React/Ink implementation (App.tsx, components/, hooks/, store.ts) - Migrate to tui-solid/ as the sole TUI implementation - Update tui/index.ts to re-export from tui-solid and @/types/tui TypeScript fixes: - Add missing PreCompact to hook event constants - Fix path aliases (@src/ -> @/, @constants/) - Remove unused imports across service files - Add explicit type annotations to callback parameters - Replace Bun.file/write with Node.js fs/promises in mcp/registry - Fix Map.some() -> Array.from().some() in registry - Fix addServer() call signature - Add missing description to brain-mcp schema items - Fix typo in progress-bar import (@interfactes -> @interfaces)
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
|
||||
import chalk from "chalk";
|
||||
import { DEFAULT_BAR_WIDTH } from "@constants/hooks.js";
|
||||
import type { ProgressBarOptions } from "@interfactes/ProgressBar";
|
||||
import type { ProgressBarOptions } from "@interfaces/ProgressBar";
|
||||
|
||||
const defaultOptions: Required<ProgressBarOptions> = {
|
||||
width: DEFAULT_BAR_WIDTH,
|
||||
|
||||
Reference in New Issue
Block a user