pikiloom 0.4.18 → 0.4.19

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.
@@ -242,6 +242,13 @@ export async function run(cmd, opts, parseLine, parseStderrLine) {
242
242
  detached: process.platform !== 'win32',
243
243
  });
244
244
  agentLog(`[spawn] pid=${proc.pid}`);
245
+ proc.stdin?.on('error', (e) => {
246
+ // Some CLIs can exit after producing all output before we finish writing
247
+ // stdin. Treat EPIPE as a normal early-close race; the exit code/stdout
248
+ // still determine the stream result.
249
+ if (e?.code !== 'EPIPE')
250
+ agentWarn(`[stdin] write failed: ${e?.message || e}`);
251
+ });
245
252
  const abortStream = () => {
246
253
  if (interrupted || proc.killed)
247
254
  return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pikiloom",
3
- "version": "0.4.18",
3
+ "version": "0.4.19",
4
4
  "description": "Put the world's smartest AI agents in your pocket. Command local Claude & Gemini via IM. | 让最好用的 IM 变成你电脑上的顶级 Agent 控制台",
5
5
  "type": "module",
6
6
  "bin": {