@tiflis-io/tiflis-code-workstation 0.3.23 → 0.3.24

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/main.js +9 -1
  2. package/package.json +1 -1
package/dist/main.js CHANGED
@@ -3057,8 +3057,11 @@ var HeadlessAgentExecutor = class extends EventEmitter {
3057
3057
  },
3058
3058
  stdio: ["ignore", "pipe", "pipe"],
3059
3059
  // stdin ignored, stdout/stderr piped
3060
- detached: true
3060
+ detached: true,
3061
3061
  // Create new process group for clean termination
3062
+ // Ensure child doesn't interfere with parent's signal handling
3063
+ // @ts-ignore - Node.js 16+ option
3064
+ ignoreParentSignals: true
3062
3065
  });
3063
3066
  this.subprocess.stdout?.on("data", (data) => {
3064
3067
  if (this.isKilled) return;
@@ -11370,6 +11373,11 @@ async function bootstrap() {
11370
11373
  };
11371
11374
  registerSignalHandlers(shutdown);
11372
11375
  }
11376
+ if (process.stdin && !process.stdin.destroyed) {
11377
+ if (process.stdin.isPaused?.()) {
11378
+ process.stdin.resume();
11379
+ }
11380
+ }
11373
11381
  bootstrap().catch((error) => {
11374
11382
  console.error("Failed to bootstrap:", error);
11375
11383
  process.exit(1);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tiflis-io/tiflis-code-workstation",
3
- "version": "0.3.23",
3
+ "version": "0.3.24",
4
4
  "description": "Workstation server for tiflis-code - manages agent sessions and terminal access",
5
5
  "author": "Roman Barinov <rbarinov@gmail.com>",
6
6
  "license": "FSL-1.1-NC",