diff --git a/packages/agent/CHANGELOG.md b/packages/agent/CHANGELOG.md index 0c499570c..0ff31c41a 100644 --- a/packages/agent/CHANGELOG.md +++ b/packages/agent/CHANGELOG.md @@ -2,6 +2,9 @@ ## [Unreleased] +### Added +- Added toolChoice option to AgentPromptOptions for controlling tool selection + ## [8.2.0] - 2026-01-24 ### Changed diff --git a/packages/ai/CHANGELOG.md b/packages/ai/CHANGELOG.md index d7f9c083b..78480ec11 100644 --- a/packages/ai/CHANGELOG.md +++ b/packages/ai/CHANGELOG.md @@ -2,6 +2,28 @@ ## [Unreleased] +### Added +- Added Kimi Code provider with OpenAI and Anthropic API format support +- Added prompt cache retention support with PI_CACHE_RETENTION env var +- Added overflow patterns for Bedrock, MiniMax, Kimi; reclassified 429 as rate limiting +- Added profile endpoint integration to resolve user emails with 24-hour caching +- Added automatic token refresh for expired Kimi OAuth credentials +- Added Kimi Code OAuth handler with device authorization flow +- Added Kimi Code usage provider with quota caching +- Added 4 new Kimi Code models (kimi-for-coding, kimi-k2, kimi-k2-turbo-preview, kimi-k2.5) +- Added Kimi Code provider integration with OAuth and token management +- Added tool-choice utility for mapping unified ToolChoice to provider-specific formats +- Added ToolChoice type for controlling tool selection (auto, none, any, required, function) + +### Changed +- Added delta event batching and throttling (50ms, 20 updates/sec max) to AssistantMessageEventStream +- Updated MiniMax-M2 pricing: input 1.2→0.6, output 1.2→3, cacheRead 0.6→0.1 + +### Fixed +- Fixed rate limit issues with Kimi models by always sending max_tokens +- Added handling for sensitive stop reason from Anthropic API safety filters +- Added optional chaining for safer JSON schema property access in Anthropic provider + ## [8.6.0] - 2026-01-27 ### Changed diff --git a/packages/coding-agent/CHANGELOG.md b/packages/coding-agent/CHANGELOG.md index eb177b9f8..12bd986bf 100644 --- a/packages/coding-agent/CHANGELOG.md +++ b/packages/coding-agent/CHANGELOG.md @@ -2,6 +2,58 @@ ## [Unreleased] +### Added +- Added grep CLI subcommand (`omp grep`) for testing pattern matching +- Added fuzzy matching for model resolution with scoring and ranking fallback +- Added 'Open: artifact folder' menu option to debug selector for quick access to session artifacts +- Added Kimi API format setting for selecting between OpenAI and Anthropic formats +- Added Codex and Gemini web search providers with OAuth and grounding support +- Added /debug command with interactive menu for profiling, heap snapshots, session dumps, and diagnostics +- Added configurable ask timeout and notification settings +- Added gitignore-aware project tree scanning with ripgrep integration +- Added project tree visualization to system prompts with configurable depth and entry limits +- Added reset() method to CountdownTimer with integration into HookSelectorComponent +- Added custom message support to AgentSession via promptCustomMessage() method +- Added skill message component for rendering /skill command messages as compact entries +- Added model preference matching system for intelligent model selection based on usage history +- Added designer agent with UI/UX review and accessibility audit capabilities +- Added model-specific edit variant configuration for patch/replace modes +- Added automatic browser opening when stats dashboard starts +- Added model statistics table and TTFT/throughput metrics to stats dashboard +- Added artifact allocation for truncated fetch responses to preserve full content +- Added 30-second timeout to ask tool with auto-selection of recommended option +- Added recommended parameter (0-indexed) to ask tool for specifying default option +- Added JTD to TypeScript converter for rendering schemas in system prompts +- Added tools list to system prompt for better agent awareness +- Added synthetic message flag for system-injected prompts +- Added session compaction enhancements with auto-continue, tool pruning, and remote endpoint support +- Added detection and rendering of missing complete tool warning in subagent output +- Added outline UI components for bordered list containers +- Added macOS NFD normalization and curly quote variant resolution for file paths +- Enhanced session compaction with dynamic token ratio adjustment and improved summary preservation + +### Changed +- Simplified find tool API by consolidating path and pattern parameters +- Replaced bulk file loading with streaming for read tool to reduce memory overhead +- Migrated grep and find tools to WASM-based implementation +- Replaced ripgrep-based file listing with glob-based file discovery for project scans +- Updated minimum Bun runtime requirement to >=1.3.7 +- Renamed task parameter from output to schema +- Renamed complete tool to submit_result for clarity and consistency +- Improved output preview logic: shows full output for ≤30 lines, truncates to 10 lines for larger output + +### Fixed +- Enhanced error reporting with debug stack trace when DEBUG env is set +- Improved OAuth token refresh error handling to distinguish transient vs definitive failures +- Added windowsHide option to child process spawn calls to prevent console windows on Windows +- External edits to config.yml are now preserved when omp reloads or saves settings +- Exposed LSP server startup errors in session display and logs +- Improved error handling and security in agent storage initialization with restrictive file permissions +- Fixed LSP server display showing unknown when server warmup fails +- Preserved null timeout when user disables ask timeout setting +- Removed incorrect timeout unit conversion logic in cursor, fetch, gemini-image, and ssh tools +- Blocked /fork command while streaming to prevent split session logs + ## [9.0.0] - 2026-01-29 ### Fixed diff --git a/packages/tui/CHANGELOG.md b/packages/tui/CHANGELOG.md index 844b186f8..91139500d 100644 --- a/packages/tui/CHANGELOG.md +++ b/packages/tui/CHANGELOG.md @@ -2,6 +2,25 @@ ## [Unreleased] +### Added +- Added setAutocompleteMaxVisible() configuration (3-20 items) +- Added image detection to terminal capabilities (containsImage method) +- Added stdin monitoring to detect stalled input events and log warnings + +### Changed +- Improved blockquote rendering with text wrapping in Markdown component +- Restructured terminal capabilities from interface-based to class-based model +- Improved table column width calculation with word-aware wrapping +- Refactored text utilities to use native WASM implementations for strings >256 chars with JS fast path + +### Fixed +- Simplified terminal write error handling to mark terminal as dead on any write failure +- Fixed multi-line strings in renderOutputBlock causing width overflow +- Fixed slash command autocomplete applying stale completion when typing quickly + +### Removed +- Removed TUI layout engine exports from public API (BoxNode, ColumnNode, LayoutNode, etc.) + ## [8.12.7] - 2026-01-29 ### Fixed