@paradow/ledge 0.5.3 → 0.6.0
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/{attach-QE22G2GY.js → attach-FDMNVXYR.js} +6 -6
- package/dist/cli/{bridge-7RXMJSOP.js → bridge-AFAK3FU5.js} +5 -2
- package/dist/cli/{chunk-XZMLFV6H.js → chunk-3TNPEAMR.js} +6 -1
- package/dist/cli/chunk-AEV7ODMZ.js +698 -0
- package/dist/cli/chunk-FFVZIXKG.js +6 -0
- package/dist/cli/{chunk-U4RU6V35.js → chunk-HYB7ZZN4.js} +2 -2
- package/dist/cli/{chunk-P2SHPHAN.js → chunk-L6IGH4LF.js} +1 -1
- package/dist/cli/{chunk-HGNMPXXR.js → chunk-Q5CLZPYJ.js} +2 -2
- package/dist/cli/{chunk-ISPFJBJM.js → chunk-QJG7M6BJ.js} +5 -5
- package/dist/cli/{chunk-NKBJ3LD4.js → chunk-VK2IBMW7.js} +2 -2
- package/dist/cli/{chunk-IDGN7JGC.js → chunk-Z4YH2DLP.js} +1 -1
- package/dist/cli/{daemon-V3YOATI4.js → daemon-SKI3UKOJ.js} +760 -149
- package/dist/cli/{hook-ARQEXMYY.js → hook-CT5OKGHQ.js} +5 -5
- package/dist/cli/index.js +9 -9
- package/dist/cli/{launch-GRWEWGSC.js → launch-LVMFX3KF.js} +6 -6
- package/dist/cli/{setup-EXA6OG5W.js → setup-RMPIUCPH.js} +3 -3
- package/dist/cli/{status-6OOVUG3V.js → status-TACDR6DZ.js} +2 -2
- package/dist/cli/{uninstall-34TVL5BP.js → uninstall-GI4WT3UQ.js} +3 -3
- package/dist/cli/{version-Y2F3F6FY.js → version-3CHJ23IV.js} +1 -1
- package/package.json +1 -1
- package/dist/cli/chunk-E6ZQOGY4.js +0 -448
- package/dist/cli/chunk-JG7QTD6F.js +0 -6
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
paths
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-L6IGH4LF.js";
|
|
4
4
|
import {
|
|
5
5
|
pickName
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-AEV7ODMZ.js";
|
|
7
7
|
|
|
8
8
|
// src/daemon/transcript.ts
|
|
9
9
|
import { closeSync, fstatSync, openSync, readSync } from "fs";
|
|
@@ -17,7 +17,7 @@ function ledgeDir() {
|
|
|
17
17
|
}
|
|
18
18
|
function paths() {
|
|
19
19
|
const dir = ledgeDir();
|
|
20
|
-
return { dir, tmuxConf: join(dir, "tmux.conf"), journal: join(dir, "sessions.json"), log: join(dir, "daemon.log"), pid: join(dir, "daemon.pid"), history: join(dir, "history") };
|
|
20
|
+
return { dir, tmuxConf: join(dir, "tmux.conf"), journal: join(dir, "sessions.json"), log: join(dir, "daemon.log"), pid: join(dir, "daemon.pid"), history: join(dir, "history"), machines: join(dir, "machines.json"), projects: join(dir, "projects.json"), island: join(dir, "island.json") };
|
|
21
21
|
}
|
|
22
22
|
async function ensureLedgeDir() {
|
|
23
23
|
const p = paths();
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
run
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-3TNPEAMR.js";
|
|
4
4
|
import {
|
|
5
5
|
ensureLedgeDir,
|
|
6
6
|
paths
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-L6IGH4LF.js";
|
|
8
8
|
|
|
9
9
|
// src/cli/setup.ts
|
|
10
10
|
import { readFile as readFile2, writeFile, mkdir, rename, realpath, rm, stat, lstat, readlink, symlink, unlink } from "fs/promises";
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
exitFile,
|
|
3
3
|
spawnSession
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-HYB7ZZN4.js";
|
|
5
5
|
import {
|
|
6
6
|
realTmux
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-3TNPEAMR.js";
|
|
8
8
|
import {
|
|
9
9
|
ensureLedgeDir,
|
|
10
10
|
log
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-L6IGH4LF.js";
|
|
12
12
|
import {
|
|
13
13
|
connect
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-Z4YH2DLP.js";
|
|
15
15
|
import {
|
|
16
16
|
PROTOCOL_PORT
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-AEV7ODMZ.js";
|
|
18
18
|
|
|
19
19
|
// src/cli/launch.ts
|
|
20
20
|
import { spawn } from "child_process";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanTopic,
|
|
3
3
|
sessionTitle
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-AEV7ODMZ.js";
|
|
5
5
|
|
|
6
6
|
// src/daemon/state.ts
|
|
7
7
|
var HOOK_PRIORITY_MS = 2e3;
|
|
@@ -119,7 +119,7 @@ function withoutReply(s) {
|
|
|
119
119
|
return rest;
|
|
120
120
|
}
|
|
121
121
|
function samePending(a, b) {
|
|
122
|
-
return a.kind === b.kind && a.text === b.text && a.tool === b.tool && a.source === b.source && JSON.stringify(a.options) === JSON.stringify(b.options) && JSON.stringify(a.optionDetails) === JSON.stringify(b.optionDetails);
|
|
122
|
+
return a.kind === b.kind && a.text === b.text && a.body === b.body && a.tool === b.tool && a.source === b.source && JSON.stringify(a.options) === JSON.stringify(b.options) && JSON.stringify(a.optionDetails) === JSON.stringify(b.optionDetails);
|
|
123
123
|
}
|
|
124
124
|
function endCursorHelpers(s, ev) {
|
|
125
125
|
if (s.tool !== "cursor" || ev.source !== "hook" || ev.helperId || !s.helpers.some((h) => h.state === "working")) return s;
|