Releases: TAskMAster339/memos-engine
Releases · TAskMAster339/memos-engine
Release list
v0.4.0
Import resolution (core)
- Import resolution (
resolve_imports): resolvesimports.resolved_file_idfor TS/JS/Python - Language-specific resolvers extracted to
memos/query/import_resolver.py - Python absolute intra-package imports resolved (e.g.
memos.core.db→ file) - TS/JS absolute imports resolved via
tsconfig.json/jsconfig.json—baseUrlandpathsaliases with*wildcard support - Go in-module imports resolved via
go.modmodule prefix find_dead_importsnow distinguishesbrokenrelative imports vs truly external packages- Integration:
resolve_importscalled frommemos index, MCPopen_project, MCPreindex_file_tool, andmemos watch
Git-aware incremental indexing
memos index --since <ref>— only reindex files changed since a git refmemos index --dirty— reindex uncommitted changes only- Deleted files cleaned up automatically from the index
Impact analysis & diagnostics
- Rename impact: word-boundary regex (
\b) instead of SQLLIKE— no false positives (e.g.Config≠ConfigLoader) memos query diff-range --since <ref>— aggregated PR impact report per file- MCP
diff_range_impact_tool(since, project)— same report via MCP memos doctor— index freshness, schema, embeddings, unresolved edges diagnostics
Performance
- Batch embedding: single model, chunked by 256 with rich Progress bar
--profileflag onmemos indexprints phase timings (parse/embed/resolve)scripts/benchmark_index.py— measures parse/embed/resolve/cold-warm query latency- Migration 0005: composite index
symbols(name, file_id)for faster resolve - Fixed N+1 in
resolve_call_edges(batch SELECT vs per-edge loop) - Query-efficiency regression guard (N+1 guard test)
Language support
- JavaScript (.js/.jsx) support:
require()→ import,module.exportsignored
Tooling & DX
- MCP:
_trackeddecorator counts per-session tool usage viausage_stats_tool - File watching:
memos watchauto-reindexes on file changes (watchdog, 500ms debounce)
Packaging
- CI smoke-test: build wheel → install in isolated venv → end-to-end
- Migration presence test (guarantees ≥5 migrations)
- Python 3.12 + 3.13 CI matrix
- Release workflow: tag verification, automated PyPI publish, GitHub Release with changelog
v0.3.0
- JavaScript (.js/.jsx) support:
require()→ import (not call),module.exportsignored - Packaging hardening: CI smoke-test, migration presence test, Python 3.12+3.13 matrix
- Performance: batch embedding (single model, chunked by 256, rich Progress bar)
- Benchmarks:
--profileflag,scripts/benchmark_index.py, query-efficiency regression test - Migration 0005: composite index
symbols(name, file_id)for faster resolve - Fixed N+1 in
resolve_call_edges(batch SELECT vs per-edge loop) - Adoption tooling:
memos doctor,memos watch,usage_stats_tool - Diagnostics:
memos doctorchecks index freshness, schema, embeddings, unresolved edges - MCP:
_trackeddecorator counts per-session tool usage viausage_stats_tool - File watching:
memos watchauto-reindexes on file changes (watchdog, 500ms debounce)