sessionpipe 0.3.0 → 0.4.1

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/dist/worker.js CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- // sessionpipe 0.3.0 · Apache-2.0 · https://sessionpipe.org
2
+ // sessionpipe 0.4.1 · Apache-2.0 · https://sessionpipe.org
3
3
 
4
4
  // src/worker.ts
5
5
  import { readFileSync as readFileSync9, unlinkSync as unlinkSync5 } from "node:fs";
@@ -714,7 +714,7 @@ var OPTS = {
714
714
  timeoutFor: (e) => e === "PermissionRequest" ? 130 : void 0
715
715
  };
716
716
  var DESKTOP_ID = /^local_[A-Za-z0-9-]{1,64}$/;
717
- function claudeDirs(env = process.env, home = HOME) {
717
+ function claudeDirs(env = process.env, home = env.HOME || HOME) {
718
718
  const out = [];
719
719
  const add = (d) => {
720
720
  if (!d) return;