Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.10.4] - 2026-01-20

### Added
- **Test coverage**: Added unit tests for MCP clients, profiler, and BM25 (#10)
- LocalMCPClient unit tests covering constructor, connect, listTools, callTool, close, and caching behavior
- RemoteMCPClient unit tests with transport layer isolation
- Profiler unit tests covering mark/measure, record, getStats, initialization tracking, server metrics, indexing metrics, export, and reset
- BM25Index unit tests for incremental and async operations (addTool, removeTool, has, getStats, indexToolsAsync, addToolsAsync)

### Changed
- **MCP client testability**: Refactored LocalMCPClient and RemoteMCPClient with dependency injection seams for unit testing
- **Interface consistency**: Extracted LocalClientLike interface matching RemoteClientLike pattern
- Simplified client property type from ReturnType<NonNullable<...>> to cleaner type definitions



## [0.10.3] - 2026-01-15

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "opencode-toolbox",
"version": "0.10.3",
"version": "0.10.4",
"description": "Tool Search Tool Plugin for OpenCode - search and execute tools from MCP servers on-demand",
"main": "dist/index.js",
"module": "dist/index.js",
Expand Down