pkg/

directory
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 17, 2026 License: MIT

Directories

Path Synopsis
Package config loads MemPalace runtime configuration from environment variables, a JSON file at ~/.mempalace/config.json, and compiled-in defaults — in that precedence order.
Package config loads MemPalace runtime configuration from environment variables, a JSON file at ~/.mempalace/config.json, and compiled-in defaults — in that precedence order.
Package dedup detects near-duplicate drawers (cosine similarity >= threshold) within a (wing, hall, source_file) partition and either deletes the losers or merges their metadata into the longest kept drawer.
Package dedup detects near-duplicate drawers (cosine similarity >= threshold) within a (wing, hall, source_file) partition and either deletes the losers or merges their metadata into the longest kept drawer.
Package entity extracts typed entities (people, places, projects, tools, dates, URLs, emails) from content strings and persists them to a pluggable store.
Package entity extracts typed entities (people, places, projects, tools, dates, URLs, emails) from content strings and persists them to a pluggable store.
Package extractor provides a 5-type heuristic classifier ported from the Python `general_extractor.py` (522 LOC) reference.
Package extractor provides a 5-type heuristic classifier ported from the Python `general_extractor.py` (522 LOC) reference.
Package halls defines the hall taxonomy — the semantic bucket a drawer belongs to within a wing/room.
Package halls defines the hall taxonomy — the semantic bucket a drawer belongs to within a wing/room.
Package kg implements a temporal knowledge graph triple store backed by a SEPARATE SQLite database (not the palace sqlite-vec DB).
Package kg implements a temporal knowledge graph triple store backed by a SEPARATE SQLite database (not the palace sqlite-vec DB).
Package normalize performs pre-embed content cleaning.
Package normalize performs pre-embed content cleaning.
Package palace is the ONLY package that imports mattn/go-sqlite3 and sqlite-vec-go-bindings.
Package palace is the ONLY package that imports mattn/go-sqlite3 and sqlite-vec-go-bindings.
Package repair audits palace health.
Package repair audits palace health.
Package sanitizer mitigates system prompt contamination in search queries.
Package sanitizer mitigates system prompt contamination in search queries.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL