Files
orca/config/build-plugins
Kelvin Amoaba 11cad93421 fix(speech): run on-device dictation in its own process so an engine crash or hang can't take Orca down (#39297)
* fix(speech): run the on-device recognizer in its own process

A native crash in sherpa-onnx took Orca down with it, and a decode stuck
in native code could not be stopped. The recognizer now runs in an
Electron utility process (a forked child under orcad), is killed when a
stop or cancel goes unanswered, and a dead process ends the dictation
with an error instead of a silent stop.

* fix(speech): let a loading model finish when its dictation is canceled

* fix(speech): never leave a speech child behind or crash main on its fatal error

* refactor(speech): drop the teardown message now that terminate kills the process

* fix(speech): fork the orcad speech child through process-host with a typed request
2026-11-07 05:28:41 +00:00
..