OptionalcommitThe committed transaction id (for revert/restore), if a change was made.
OptionaldiagnosticsPositioned compile diagnostics, if the script failed to compile.
Present when ok is false due to compile errors. Lets callers render line:col + code rather
than only the flattened RunResults.error message.
OptionalerrorThe error, if ok is false.
True if the script ran without throwing.
OptionalresultThe script entry's return value, if any.
The result of IScript.run.