memsearch-cli
v1.4.1
Published
CLI tool for memsearch-ts - semantic memory search
Maintainers
Readme
memsearch-cli
CLI tool for memsearch-ts - Semantic memory search
Installation
npm install -g memsearch-cliCommands
index
Index markdown files for semantic search.
memsearch index [paths...] [options]
# Options:
# -p, --provider <provider> Embedding provider (default: "openai")
# -m, --model <model> Embedding model
# -f, --force Force re-indexing
# -c, --collection <name> Milvus collection name
# --milvus-uri <uri> Milvus URI
# Examples:
memsearch index ./docs
memsearch index ./memory -p google
memsearch index --forcesearch
Semantic search over indexed chunks.
memsearch search <query> [options]
# Options:
# -k, --top-k <number> Number of results (default: 10)
# -j, --json Output as JSON
# -c, --collection <name> Milvus collection name
# Examples:
memsearch search "Redis caching"
memsearch search "auth flow" -k 20
memsearch search "API design" --jsonwatch
Watch directories for file changes and auto-index.
memsearch watch [paths...] [options]
# Options:
# -d, --debounce <ms> Debounce milliseconds (default: 1500)
# -c, --collection <name> Milvus collection name
# Example:
memsearch watch ./memoryconfig
Configuration management.
memsearch config <action> [key] [value] [options]
# Actions: init, set, get, list
# Examples:
memsearch config init
memsearch config set embedding.provider google
memsearch config get embedding.model
memsearch config liststats
Show index statistics.
memsearch stats [options]
# Example:
memsearch stats
# Output:
# Collection: memsearch_chunks
# Total chunks: 1234
# Indexed files: 56reset
Drop all indexed data (with confirmation).
memsearch reset [options]
# Options:
# -y, --yes Skip confirmation
# -c, --collection Milvus collection name
# Example:
memsearch reset --yesLicense
Repository
https://github.com/jabing/memsearch-ts
