docs: reframe timeline parameter fix as bug fix, not breaking change
The timeline tools were completely broken due to parameter name mismatch. There's nothing to migrate from since the old parameters never worked. Co-authored-by: Alex Newman <thedotmack@users.noreply.github.com>
This commit is contained in:
+11
-20
@@ -6,32 +6,23 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
|||||||
|
|
||||||
## [8.0.0] - 2025-12-14
|
## [8.0.0] - 2025-12-14
|
||||||
|
|
||||||
### BREAKING CHANGES
|
### Fixed
|
||||||
|
|
||||||
**Timeline MCP Tools Parameter Rename**
|
**Timeline MCP Tools Parameter Bug**
|
||||||
|
|
||||||
Timeline MCP tools now use parameter names matching SearchManager:
|
Fixed critical bug where timeline tools were completely non-functional due to parameter name mismatch between MCP layer and SearchManager. The tools now use correct parameter names:
|
||||||
- `anchor_id` → `anchor`
|
- `anchor` (was incorrectly `anchor_id`)
|
||||||
- `before` → `depth_before`
|
- `depth_before` (was incorrectly `before`)
|
||||||
- `after` → `depth_after`
|
- `depth_after` (was incorrectly `after`)
|
||||||
- `obs_type` → `type` (timeline tool only)
|
- `type` (was incorrectly `obs_type` in timeline tool only)
|
||||||
|
|
||||||
**Migration Example:**
|
|
||||||
```typescript
|
|
||||||
// Old:
|
|
||||||
timeline(anchor_id=123, before=10, after=10)
|
|
||||||
|
|
||||||
// New:
|
|
||||||
timeline(anchor=123, depth_before=10, depth_after=10)
|
|
||||||
```
|
|
||||||
|
|
||||||
**Affected Tools:** `timeline`, `get_context_timeline`, `get_timeline_by_query`
|
**Affected Tools:** `timeline`, `get_context_timeline`, `get_timeline_by_query`
|
||||||
|
|
||||||
**Rationale:** Fixes parameter passing bug where timeline tools failed due to name mismatch between MCP layer and SearchManager.
|
**Impact:** These tools were previously broken and would fail with "Cannot read properties of undefined (reading 'length')" errors. They now work correctly with the proper parameter names that match the underlying SearchManager implementation.
|
||||||
|
|
||||||
### Fixed
|
### Added
|
||||||
- Timeline tools now work correctly with proper parameter passing
|
- New `get_batch_observations` MCP tool for efficiently fetching multiple observations in a single request
|
||||||
- Resolved "Cannot read properties of undefined (reading 'length')" errors in timeline endpoints
|
- Enhanced SessionStore methods for fetching prompts and session summaries by ID
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user