feat!: Fix timeline parameter passing with SearchManager alignment

BREAKING CHANGE: Timeline MCP tools now use standardized parameter names
- anchor_id → anchor
- before → depth_before
- after → depth_after
- obs_type → type (timeline tool only)

Fixes timeline endpoint failures caused by parameter name mismatch between
MCP layer and SearchManager. Adds new SessionStore methods for fetching
prompts and session summaries by ID.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
Alex Newman
2025-12-14 18:36:10 -05:00
parent fad2dc9a15
commit 01e235c058
9 changed files with 1035 additions and 173 deletions
+37 -6
View File
@@ -4,6 +4,37 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## [8.0.0] - 2025-12-14
### BREAKING CHANGES
**Timeline MCP Tools Parameter Rename**
Timeline MCP tools now use parameter names matching SearchManager:
- `anchor_id``anchor`
- `before``depth_before`
- `after``depth_after`
- `obs_type``type` (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`
**Rationale:** Fixes parameter passing bug where timeline tools failed due to name mismatch between MCP layer and SearchManager.
### Fixed
- Timeline tools now work correctly with proper parameter passing
- Resolved "Cannot read properties of undefined (reading 'length')" errors in timeline endpoints
---
## [7.2.1] - 2025-12-14
## Translation Script Enhancements
@@ -2392,12 +2423,12 @@ None (patch version)
## [4.3.0] - 2025-10-25
## What's Changed
* feat: Enhanced context hook with session observations and cross-platform improvements by @thedotmack in https://github.com/thedotmack/claude-mem/pull/25
## New Contributors
* @thedotmack made their first contribution in https://github.com/thedotmack/claude-mem/pull/25
## What's Changed
* feat: Enhanced context hook with session observations and cross-platform improvements by @thedotmack in https://github.com/thedotmack/claude-mem/pull/25
## New Contributors
* @thedotmack made their first contribution in https://github.com/thedotmack/claude-mem/pull/25
**Full Changelog**: https://github.com/thedotmack/claude-mem/compare/v4.2.11...v4.3.0
## [4.2.10] - 2025-10-25