The CLI talks to hypercode-daemon over HTTP on a Unix domain socket.
All RPC calls are POST /rpc with a JSON body.
Each request includes:
{
"id": "request-id",
"method": "search",
"params": {}
}Each response includes:
{
"id": "request-id",
"ok": true,
"result": {}
}Daemon methods:
healthshutdownadd_rootremove_rootlist_rootsindexing_statussearchinspect_symbolget_recordget_parentget_childrenget_duplicatesread_recorddebug_sqlite_fts5debug_sqlite_rawdebug_lmdbdebug_dump_recorddebug_dump_filedebug_stats
read_record returns only the source span for the target record.
Debug methods require DEBUG=true on the daemon process. The CLI also requires --debug plus DEBUG=true.