Dashboard › opencode › PTY typescript exit status
01a07f3f-887d-70fe-b999-891d818f4f96Always store the child process exit status in the typescript data as well as the structured API exit record, and invoke script -e so normal exit status propagates; signals use the shell convention 128 + signal. Helper status alone looks sufficient but systemd-run maps signaled termination generically and collection can remove detailed unit state.