@task-handoff/node-agent 0.0.33 → 0.0.34

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.
@@ -24,6 +24,10 @@ if [ ! -L "${current}" ]; then
24
24
  bootstrap_wait
25
25
  fi
26
26
 
27
+ # The launcher can be restarted by a process whose cwd belongs to the previous
28
+ # release. Keep this process and every child on a directory that survives release cleanup.
29
+ cd -- "${runtime_root}"
30
+
27
31
  exec node --input-type=module - "${current}" <<'NODE'
28
32
  import fs from "node:fs";
29
33
  import path from "node:path";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@task-handoff/node-agent",
3
- "version": "0.0.33",
3
+ "version": "0.0.34",
4
4
  "description": "Prebuilt TaskHandoff node agent runtime.",
5
5
  "license": "Apache-2.0",
6
6
  "type": "commonjs",
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "packageName": "@task-handoff/controlled-instance",
3
- "version": "0.0.33",
3
+ "version": "0.0.34",
4
4
  "platform": "linux",
5
5
  "arch": "universal",
6
6
  "formatVersion": 1,
7
7
  "launcherAbi": 1,
8
8
  "entrypoint": "dist/controlled-instance-cli.js",
9
- "sha256": "433e6ee69d3e4b7dd14891386fc5915453aef8f043be1000c77be9eafea85d6a"
9
+ "sha256": "acfc475be928565ae8413911cd34b1ff865b69d5b84b248353404a0c84614b48"
10
10
  }
@@ -0,0 +1 @@
1
+ 60b412243dc69c0fb223202b3f4d8ab0dc03c51d2d6d4d5cf52fbcdc1a1ec69d controlled-instance-runtime-0.0.34-linux-universal.tar.gz
@@ -1 +0,0 @@
1
- a10033fa7c4e158f25cf2377682ba302a33839a45f6aaf15a596a09eaeb85d05 controlled-instance-runtime-0.0.33-linux-universal.tar.gz