@paradow/ledge 0.5.2 → 0.5.4

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.
@@ -0,0 +1,6 @@
1
+ // src/version.ts
2
+ var LEDGE_VERSION = true ? "0.5.4" : "0.0.0-dev";
3
+
4
+ export {
5
+ LEDGE_VERSION
6
+ };
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-U4RU6V35.js";
10
10
  import {
11
11
  LEDGE_VERSION
12
- } from "./chunk-JB4FY43J.js";
12
+ } from "./chunk-BRJSMZ7B.js";
13
13
  import {
14
14
  SERVICE,
15
15
  inDaemonService,
@@ -254,7 +254,7 @@ function handBack(text) {
254
254
  const m = HANDBACK.exec(text.trimStart());
255
255
  if (!m) return void 0;
256
256
  const lines = m[2].split("\n");
257
- while (lines.length && (!lines[0].trim() || /^\s*\[[^\]]*\]/.test(lines[0]))) lines.shift();
257
+ while (lines.length && (!lines[0].trim() || /^\[[^\]]*\]/.test(lines[0]))) lines.shift();
258
258
  const indent = Math.min(...lines.filter((l) => l.trim()).map((l) => l.length - l.trimStart().length));
259
259
  return { helperId: m[1], report: lines.map((l) => l.slice(Number.isFinite(indent) ? indent : 0)).join("\n").trim() };
260
260
  }
package/dist/cli/index.js CHANGED
@@ -26,7 +26,7 @@ async function main(argv) {
26
26
  const [cmd, ...rest] = argv;
27
27
  switch (cmd) {
28
28
  case "daemon": {
29
- const { startDaemon } = await import("./daemon-J4WXI63H.js");
29
+ const { startDaemon } = await import("./daemon-P5XWP2UC.js");
30
30
  await startDaemon();
31
31
  await new Promise(() => {
32
32
  });
@@ -34,7 +34,7 @@ async function main(argv) {
34
34
  }
35
35
  case "--version":
36
36
  case "version": {
37
- const { LEDGE_VERSION } = await import("./version-R7MKSJLO.js");
37
+ const { LEDGE_VERSION } = await import("./version-G5DZ7PFI.js");
38
38
  console.log(LEDGE_VERSION);
39
39
  return 0;
40
40
  }
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  LEDGE_VERSION
3
- } from "./chunk-JB4FY43J.js";
3
+ } from "./chunk-BRJSMZ7B.js";
4
4
  export {
5
5
  LEDGE_VERSION
6
6
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paradow/ledge",
3
- "version": "0.5.2",
3
+ "version": "0.5.4",
4
4
  "description": "Follow and answer your WSL agent sessions (Claude Code, Codex, Cursor Agent) from the Ledge island on Windows.",
5
5
  "type": "module",
6
6
  "bin": { "ledge": "dist/cli/index.js" },
@@ -1,6 +0,0 @@
1
- // src/version.ts
2
- var LEDGE_VERSION = true ? "0.5.2" : "0.0.0-dev";
3
-
4
- export {
5
- LEDGE_VERSION
6
- };