Skip to content

Latest commit

 

History

History
73 lines (49 loc) · 1.38 KB

File metadata and controls

73 lines (49 loc) · 1.38 KB

Daemon Mode

sqryd keeps graph state warm for repeated CLI, LSP, MCP, and editor workflows.

Start And Load

sqry daemon start
sqry daemon load .
sqry daemon status --json

Stop the daemon when you no longer need shared graph state:

sqry daemon stop

Rebuild

Trigger an in-place rebuild for a loaded workspace:

sqry daemon rebuild . --force

After rebuild, validate persistent state:

sqry index --status --json .
sqry graph stats --path .

Current daemon rebuilds are expected to keep durable graph artifacts coherent with the in-memory graph. If persisted graph state appears stale, run sqry index --force . and reload the workspace.

Logs

sqry daemon logs
sqry daemon logs --follow

Logs are the first place to inspect workspace load failures, rebuild errors, memory pressure, and cache behavior.

MCP And LSP

Standalone MCP:

sqry-mcp --no-daemon

Daemon-backed MCP:

sqry-mcp --daemon

LSP can also use daemon-backed graph state when configured by the editor or launched with daemon support.

Recovery

Use this sequence when daemon and disk state disagree:

sqry daemon status --json
sqry daemon reset .
sqry index --force .
sqry daemon load .
sqry daemon status --json

If the daemon is not needed for the workflow, use the in-process CLI path with sqry index . and direct commands.