pty-manager 1.9.2 → 1.9.3

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.
@@ -979,9 +979,11 @@ var PTYSession = class _PTYSession extends import_events.EventEmitter {
979
979
  this.scheduleTaskComplete();
980
980
  }
981
981
  }
982
- const blockingPrompt = this.detectAndHandleBlockingPrompt();
983
- if (blockingPrompt) {
984
- return;
982
+ if (this._status !== "stopping" && this._status !== "stopped") {
983
+ const blockingPrompt = this.detectAndHandleBlockingPrompt();
984
+ if (blockingPrompt) {
985
+ return;
986
+ }
985
987
  }
986
988
  if (this._status !== "ready" && this._status !== "busy") {
987
989
  const loginDetection = this.adapter.detectLogin(this.outputBuffer);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pty-manager",
3
- "version": "1.9.2",
3
+ "version": "1.9.3",
4
4
  "description": "PTY session manager with lifecycle management, pluggable adapters, and blocking prompt detection",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",