@myagentroam/node 0.10.5 → 0.10.6

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/terminal.js +13 -2
  2. package/package.json +4 -4
package/dist/terminal.js CHANGED
@@ -317,8 +317,19 @@ export class TerminalManager {
317
317
  this.detachAll(terminal);
318
318
  const summary = this.notifySummary(terminal);
319
319
  try {
320
- if (terminal.pty !== undefined)
321
- await this.terminate(terminal.pty, this.platform);
320
+ if (terminal.pty !== undefined) {
321
+ if (this.platform === 'win32') {
322
+ // Killing only the shell bypasses node-pty's native console cleanup.
323
+ try {
324
+ terminal.pty.kill();
325
+ }
326
+ catch {
327
+ await this.terminate(terminal.pty, this.platform);
328
+ }
329
+ }
330
+ else
331
+ await this.terminate(terminal.pty, this.platform);
332
+ }
322
333
  if (terminal.pipe !== undefined)
323
334
  await this.terminate(terminal.pipe, this.platform);
324
335
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@myagentroam/node",
3
- "version": "0.10.5",
3
+ "version": "0.10.6",
4
4
  "description": "MyAgentRoam Node runtime CLI.",
5
5
  "license": "Apache-2.0 AND GPL-2.0-or-later",
6
6
  "type": "module",
@@ -37,10 +37,10 @@
37
37
  "playwright": "1.62.1",
38
38
  "ws": "^8.21.3",
39
39
  "zod": "4.4.3",
40
- "@myagentroam/agent": "0.10.5",
41
- "@myagentroam/protocol": "0.10.5",
40
+ "@myagentroam/agent": "0.10.6",
42
41
  "@myagentroam/code-navigation": "0.10.1",
43
- "@myagentroam/marctl": "0.10.1"
42
+ "@myagentroam/protocol": "0.10.6",
43
+ "@myagentroam/marctl": "0.10.2"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@types/ws": "^8.18.1"