Expand description
Domain-scoped index management.
Manages separate indices for different domain scopes:
- Project:
<repo>/.subcog/index.db- project-specific memories - User:
~/Library/.../subcog/repos/<hash>/index.db- personal memories per repo - Org: Configured path or database URL - team/enterprise memories
Structs§
- Domain
Index Config - Configuration for domain-scoped indices.
- Domain
Index Manager - Manages indices for different domain scopes.
Enums§
- Domain
Scope - Domain scope for index isolation.
- OrgIndex
Config - Organization index configuration.
Functions§
- find_
repo_ root - Resolves the repository root from a given path.
- get_
user_ 🔒data_ dir - Gets the user data directory for subcog.
- hash_
path 🔒 - Hashes a path for use as a directory name.