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
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Fixed
- Catchup prompt now pushes `since` filter to SQL instead of loading all entries into Python

### Added
- **Branding assets**: 9 SVG logo variants (icon sizes 16–200px, light/dark, wordmark light/dark) and favicon.ico in `docs/branding/`
- **README logo header**: Wordmark hero replaces plain `# mcp-awareness` heading, centered badge row
Expand Down
8 changes: 2 additions & 6 deletions src/mcp_awareness/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -1519,12 +1519,8 @@ async def write_guide() -> str:
async def catchup(hours: int = 24) -> str:
"""Compose a catchup summary of recently updated entries."""
since = now_utc() - timedelta(hours=hours)
# Pull all knowledge and filter by updated timestamp
all_entries = store.get_knowledge(include_history="true")
recent = [e for e in all_entries if e.updated >= since]
# Also check alerts
alerts = store.get_active_alerts()
recent_alerts = [a for a in alerts if a.updated >= since]
recent = store.get_knowledge(include_history="true", since=since)
recent_alerts = store.get_active_alerts(since=since)

parts: list[str] = [f"# Catchup — last {hours} hours"]

Expand Down