codeam-cli 1.4.2 → 1.4.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.
Files changed (2) hide show
  1. package/dist/index.js +7 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -114,7 +114,7 @@ var import_picocolors = __toESM(require("picocolors"));
114
114
  // package.json
115
115
  var package_default = {
116
116
  name: "codeam-cli",
117
- version: "1.4.2",
117
+ version: "1.4.3",
118
118
  description: "Remote control Claude Code from your mobile device",
119
119
  main: "dist/index.js",
120
120
  bin: {
@@ -676,7 +676,12 @@ var UnixPtyStrategy = class {
676
676
  this.proc?.stdin?.write(data);
677
677
  }
678
678
  kill() {
679
- this.proc?.kill();
679
+ const proc = this.proc;
680
+ this.proc = null;
681
+ if (proc) {
682
+ proc.removeAllListeners("exit");
683
+ proc.kill();
684
+ }
680
685
  this.removeTempFile();
681
686
  this.dispose();
682
687
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codeam-cli",
3
- "version": "1.4.2",
3
+ "version": "1.4.3",
4
4
  "description": "Remote control Claude Code from your mobile device",
5
5
  "main": "dist/index.js",
6
6
  "bin": {