@runtypelabs/cli 1.5.2 → 1.5.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -6053,6 +6053,13 @@ function SteeringPrompt({
6053
6053
  const [showHelp, setShowHelp] = useState18(false);
6054
6054
  const timerRef = useRef7(null);
6055
6055
  const separator = theme25.separator ?? " \xB7 ";
6056
+ useEffect16(() => {
6057
+ const title = "Marathon";
6058
+ const body = isTerminal ? "Marathon complete" : `Session ${recap?.sessionNumber ?? "?"} complete`;
6059
+ process.stderr.write(`\x1B]777;notify;${title};${body}\x07`);
6060
+ process.stderr.write(`\x1B]9;${body}\x07`);
6061
+ process.stderr.write("\x07");
6062
+ }, []);
6056
6063
  const handleChange = (newValue) => {
6057
6064
  setValue(newValue);
6058
6065
  if (newValue.length > 0 && !isTyping) {