What it gives you
- Package-root importable SDK
- Inline config support (no YAML files needed)
- Direct search, query, ask, and get APIs
- Programmatic update, embed, and index flows
- Canonical preview/apply APIs for reference-safe rename and move
- Explicit lifecycle via close()
- Works in any Bun or TypeScript app