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/cli.js +304 -21
- package/dist/cli.js.map +4 -4
- package/dist/control/cli.d.ts +1 -1
- package/dist/control/cli.d.ts.map +1 -1
- package/dist/control/daemon.d.ts +18 -0
- package/dist/control/daemon.d.ts.map +1 -1
- package/dist/control/pair.d.ts.map +1 -1
- package/dist/control/reply.d.ts +2 -0
- package/dist/control/reply.d.ts.map +1 -1
- package/dist/control/sdk.d.ts.map +1 -1
- package/dist/control/stream.d.ts +26 -0
- package/dist/control/stream.d.ts.map +1 -0
- package/dist/hook.js +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +2 -2
- package/dist/worker.js +2 -2
- package/dist/worker.js.map +2 -2
- package/package.json +1 -1
package/dist/worker.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
// sessionpipe 0.
|
|
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;
|