Pi Extension
@hyperprior/dissolution exposes a tool that routes semantic queries to your local dissolve daemon/CLI.
Install
Section titled “Install”pi install npm:@hyperprior/dissolutionConfigure pi (manual fallback)
Section titled “Configure pi (manual fallback)”{ "extensions": ["@hyperprior/dissolution"]}Tool behavior
Section titled “Tool behavior”The extension calls:
dissolve search "<query>" --jsonand returns structured matches (repo, file_path, line_start, score, snippet).
MCP option
Section titled “MCP option”If your agent host prefers MCP, run:
dissolve mcpand generate a ready snippet with:
dissolve onboard --mcpPrompt policy
Section titled “Prompt policy”- Run semantic search first for repo/docs questions.
- Cite
file_path:line_startfrom returned hits. - Fall back to exact grep when semantic confidence is low.