@todoforai/edge 0.13.15 → 0.13.16

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/index.js +3 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -52353,9 +52353,9 @@ register("execute_shell_command", async (args, client) => {
52353
52353
  const residual = consumeExitedOutput(Number(resumePid));
52354
52354
  if (residual) {
52355
52355
  return { cmd, result: `${residual.output}
52356
- [session pid=${resumePid} exited with code ${residual.returnCode}]` };
52356
+ [input not sent: session pid=${resumePid} exited (${residual.returnCode}); start new command]` };
52357
52357
  }
52358
- return { cmd, result: `[no live session for pid=${resumePid} — it already exited; start a fresh command]` };
52358
+ return { cmd, result: `[input not sent: no active shell session for pid=${resumePid}; start new command]` };
52359
52359
  }
52360
52360
  if (resumeBlockId) {
52361
52361
  await sendInput(resumeBlockId, cmd);
@@ -52631,7 +52631,7 @@ async function handleBlockExecute(payload, send, edgeId, maxTimeout = 0) {
52631
52631
  }
52632
52632
  }
52633
52633
  async function handleBlockSignal(payload) {
52634
- if (payload.detach)
52634
+ if (payload.detach && !payload.kill)
52635
52635
  detachBlock(payload.blockId);
52636
52636
  else
52637
52637
  interruptBlock(payload.blockId);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@todoforai/edge",
3
- "version": "0.13.15",
3
+ "version": "0.13.16",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "todoforai-edge": "dist/index.js"