veloxquant_mlx.cli.worker module

JSON-lines worker used by the JavaScript SDK.

veloxquant_mlx.cli.worker.main()[source]

Read JSON-lines requests from stdin and reply with JSON-lines results.

Dispatches each line’s op (ping, capabilities, metal_probe, bit_pack, bit_pack_file, rope_recode_file, shutdown) to its handler and writes one JSON reply per request; shutdown replies then returns, ending the loop.

Return type:

None