@dyyz1993/pi-coding-agent 0.74.34 → 0.74.36

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## [Unreleased]
4
+
5
+ ## [0.74.35] - 2026-05-16
6
+
3
7
  ## [0.74.32] - 2026-05-16
4
8
 
5
9
  ### Added
@@ -362,6 +362,12 @@ export default function (pi: ExtensionAPI) {
362
362
 
363
363
  const { child, cleanup: spawnCleanup, isTimedOut } = spawnResult;
364
364
 
365
+ // Immediately send EOF on stdin so CLI tools that read stdin (e.g. xbrowser readStdin())
366
+ // don't hang forever waiting for input. Interactive stdin is handled via write_stdin channel.
367
+ if (child.stdin && !child.stdin.destroyed) {
368
+ child.stdin.end();
369
+ }
370
+
365
371
  const proc: BashProcess = {
366
372
  bashId,
367
373
  toolCallId,
@@ -8,7 +8,7 @@ function log(msg: string) {
8
8
  appendFileSync("/tmp/supervisor-debug.log", `[${ts}] [config] ${msg}\n`);
9
9
  }
10
10
 
11
- const DEFAULT_CONFIG: SupervisorConfig = {
11
+ export const DEFAULT_CONFIG: SupervisorConfig = {
12
12
  enable: false,
13
13
  checkOnAgentEnd: true,
14
14
  smallModel: "fast",
@@ -12,7 +12,7 @@ import type {
12
12
  GuardConfig,
13
13
  GuardCheckResult,
14
14
  } from "./types.js";
15
- import { loadConfig } from "./config.js";
15
+ import { loadConfig, DEFAULT_CONFIG } from "./config.js";
16
16
  import { checkWithSmallModel } from "./checker.js";
17
17
  import { Scheduler } from "./scheduler.js";
18
18
  import {
@@ -41,7 +41,7 @@ const DEFAULT_GUARDS: GuardConfig[] = [
41
41
  ];
42
42
 
43
43
  export default function sessionSupervisorExtension(pi: ExtensionAPI) {
44
- let config: SupervisorConfig;
44
+ let config: SupervisorConfig = DEFAULT_CONFIG;
45
45
  let enabled = false;
46
46
  let currentState: SupervisorStatus["state"] = "idle";
47
47
  let lastCheckResult: CheckResult | undefined;
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "pi-extension-custom-provider",
3
- "version": "0.74.21",
3
+ "version": "0.74.22",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "pi-extension-custom-provider",
9
- "version": "0.74.21",
9
+ "version": "0.74.22",
10
10
  "dependencies": {
11
11
  "@anthropic-ai/sdk": "^0.52.0"
12
12
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pi-extension-custom-provider-anthropic",
3
3
  "private": true,
4
- "version": "0.74.21",
4
+ "version": "0.74.22",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "clean": "echo 'nothing to clean'",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pi-extension-custom-provider-gitlab-duo",
3
3
  "private": true,
4
- "version": "0.74.21",
4
+ "version": "0.74.22",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "clean": "echo 'nothing to clean'",
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "pi-extension-sandbox",
3
- "version": "1.4.21",
3
+ "version": "1.4.22",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "pi-extension-sandbox",
9
- "version": "1.4.21",
9
+ "version": "1.4.22",
10
10
  "dependencies": {
11
11
  "@anthropic-ai/sandbox-runtime": "^0.0.26"
12
12
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pi-extension-sandbox",
3
3
  "private": true,
4
- "version": "1.4.21",
4
+ "version": "1.4.22",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "clean": "echo 'nothing to clean'",
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "pi-extension-with-deps",
3
- "version": "0.74.21",
3
+ "version": "0.74.22",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "pi-extension-with-deps",
9
- "version": "0.74.21",
9
+ "version": "0.74.22",
10
10
  "dependencies": {
11
11
  "ms": "^2.1.3"
12
12
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pi-extension-with-deps",
3
3
  "private": true,
4
- "version": "0.74.21",
4
+ "version": "0.74.22",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "clean": "echo 'nothing to clean'",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dyyz1993/pi-coding-agent",
3
- "version": "0.74.34",
3
+ "version": "0.74.36",
4
4
  "description": "Coding agent CLI with read, bash, edit, write tools and session management",
5
5
  "type": "module",
6
6
  "piConfig": {
@@ -39,9 +39,9 @@
39
39
  "prepublishOnly": "npm run clean && npm run build"
40
40
  },
41
41
  "dependencies": {
42
- "@dyyz1993/pi-agent-core": "^0.74.34",
43
- "@dyyz1993/pi-ai": "^0.74.34",
44
- "@dyyz1993/pi-tui": "^0.74.34",
42
+ "@dyyz1993/pi-agent-core": "^0.74.35",
43
+ "@dyyz1993/pi-ai": "^0.74.35",
44
+ "@dyyz1993/pi-tui": "^0.74.35",
45
45
  "@modelcontextprotocol/sdk": "^1.29.0",
46
46
  "@silvia-odwyer/photon-node": "^0.3.4",
47
47
  "chalk": "^5.5.0",