@oh-my-pi/pi-coding-agent 13.3.12 → 13.3.13

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@oh-my-pi/pi-coding-agent",
4
- "version": "13.3.12",
4
+ "version": "13.3.13",
5
5
  "description": "Coding agent CLI with read, bash, edit, write tools and session management",
6
6
  "homepage": "https://github.com/can1357/oh-my-pi",
7
7
  "author": "Can Boluk",
@@ -41,12 +41,12 @@
41
41
  },
42
42
  "dependencies": {
43
43
  "@mozilla/readability": "^0.6",
44
- "@oh-my-pi/omp-stats": "13.3.12",
45
- "@oh-my-pi/pi-agent-core": "13.3.12",
46
- "@oh-my-pi/pi-ai": "13.3.12",
47
- "@oh-my-pi/pi-natives": "13.3.12",
48
- "@oh-my-pi/pi-tui": "13.3.12",
49
- "@oh-my-pi/pi-utils": "13.3.12",
44
+ "@oh-my-pi/omp-stats": "13.3.13",
45
+ "@oh-my-pi/pi-agent-core": "13.3.13",
46
+ "@oh-my-pi/pi-ai": "13.3.13",
47
+ "@oh-my-pi/pi-natives": "13.3.13",
48
+ "@oh-my-pi/pi-tui": "13.3.13",
49
+ "@oh-my-pi/pi-utils": "13.3.13",
50
50
  "@sinclair/typebox": "^0.34",
51
51
  "@xterm/headless": "^6.0",
52
52
  "ajv": "^8.18",
@@ -110,7 +110,7 @@ async function withGatewayLock<T>(handler: () => Promise<T>): Promise<T> {
110
110
  while (true) {
111
111
  let fd: fs.promises.FileHandle | undefined;
112
112
  try {
113
- fd = await fs.promises.open(lockPath, fs.constants.O_WRONLY | fs.constants.O_CREAT | fs.constants.O_EXCL);
113
+ fd = await fs.promises.open(lockPath, "wx");
114
114
  let heartbeatRunning = true;
115
115
  const heartbeat = (async () => {
116
116
  while (heartbeatRunning) {