open-agents-ai 0.185.13 → 0.185.14

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.
Files changed (2) hide show
  1. package/dist/index.js +10 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -51553,10 +51553,17 @@ async function handleUpdate(subcommand, ctx) {
51553
51553
  const script = [
51554
51554
  "#!/bin/sh",
51555
51555
  "# Auto-generated by /update \u2014 runs once then self-deletes",
51556
- "sleep 0.3",
51557
- // wait for parent to fully exit
51556
+ "sleep 1",
51557
+ // wait for parent to FULLY exit (0.3 was too short)
51558
+ // Aggressively reset terminal — disable ALL mouse modes, reset attributes,
51559
+ // clear screen. This runs BEFORE oa starts so mouse sequences from the
51560
+ // dead parent's terminal state are flushed.
51561
+ "printf '\\033[?1000l\\033[?1002l\\033[?1003l\\033[?1006l\\033[?1015l'",
51562
+ "printf '\\033[0m\\033[r\\033[?25h'",
51563
+ // reset attrs, scroll region, show cursor
51564
+ "stty sane 2>/dev/null",
51565
+ // reset terminal line discipline
51558
51566
  "clear",
51559
- // clean terminal
51560
51567
  `__OA_RESUMED="${resumeFlag}" exec "${process.execPath}" "${oaBin}"`
51561
51568
  ].join("\n");
51562
51569
  writeFileSync29(scriptPath2, script, { mode: 493 });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "open-agents-ai",
3
- "version": "0.185.13",
3
+ "version": "0.185.14",
4
4
  "description": "AI coding agent powered by open-source models (Ollama/vLLM) — interactive TUI with agentic tool-calling loop",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",