@dmsdc-ai/aigentry-telepty 0.1.27 → 0.1.28

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/cli.js +5 -0
  2. package/package.json +1 -1
package/cli.js CHANGED
@@ -745,6 +745,11 @@ async function main() {
745
745
  wsReady = true;
746
746
  if (reconnectAttempts > 0) {
747
747
  console.error(`\n\x1b[32m⚡ Reconnected to daemon. Inject restored.\x1b[0m`);
748
+ // Force CLI redraw by triggering SIGWINCH (resize +1/-1)
749
+ const origCols = child.cols || process.stdout.columns || 80;
750
+ const origRows = child.rows || process.stdout.rows || 30;
751
+ child.resize(origCols - 1, origRows);
752
+ setTimeout(() => child.resize(origCols, origRows), 150);
748
753
  }
749
754
  reconnectAttempts = 0;
750
755
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dmsdc-ai/aigentry-telepty",
3
- "version": "0.1.27",
3
+ "version": "0.1.28",
4
4
  "main": "daemon.js",
5
5
  "bin": {
6
6
  "aigentry-telepty": "install.js",