Tags: Kibibit/kibi
Tags
feat(agent): improve mcp tool handling and error recovery - make tool errors recoverable (llm sees errors and can retry) - add mcp guidance to system prompt for better tool usage - truncate long error messages in tool call indicators - add explicit json examples for nested tool parameters
fix(tui): remove extra height subtraction in chat view ChatView was subtracting 1 from height, but App.tsx already reserves 2 lines for scroll indicators. This caused useLineScroll and calculateVisibleLines to use different viewport heights, making it impossible to scroll to the very first line.
feat(tui): persist tool calls and thinking duration in messages - Add PersistedToolCall interface for tool call history in messages - Fix stale closure bug causing thinking duration to disappear - Move 'Thought for Xs' from header to content line with dim styling - Add special web search tool display with query visibility - Tool calls now persist after streaming completes - Update dependency from local marked-terminal to @kibibit/marked-terminal@^7.3.0
fix(agent): prevent hallucinated file writes and fix parallel executi… …on race condition - Enhanced system prompt with explicit tool usage rules to prevent models from claiming file writes without actually calling write_file tool - Added clear instructions for file operations (create vs edit distinction) - Made working directory more prominent in environment context - Fixed race condition in ConfigManager and FileChatStore where parallel processes would conflict on shared temp file names - Now uses unique temp file names with PID + random suffix for atomic writes Fixes issues where: 1. Models would hallucinate file changes without using tools 2. Running multiple kibi instances in parallel would cause hangs
PreviousNext