@lazehq/cli 0.1.23 → 0.1.24

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.
Files changed (2) hide show
  1. package/dist/laze.mjs +5 -5
  2. package/package.json +1 -1
package/dist/laze.mjs CHANGED
@@ -35620,7 +35620,7 @@ function flagText({
35620
35620
  }
35621
35621
 
35622
35622
  // src/rules/cli-version.rules.ts
35623
- var STAMPED = "0.1.23";
35623
+ var STAMPED = "0.1.24";
35624
35624
  function cliVersionOf({ stamped = STAMPED } = {}) {
35625
35625
  return stamped.startsWith("__") ? "dev" : stamped;
35626
35626
  }
@@ -67680,14 +67680,14 @@ async function waitForMessages({ context, args }) {
67680
67680
  const named = await sessionProfileArgs({ context, args: asked, session });
67681
67681
  const { client, name: name2 } = await signedIn({ context, args: named });
67682
67682
  await rememberSession({ context, claudePid, session });
67683
- const lock = statePathOf({ context, kind: "waiters", profile: name2 });
67684
- if (!await takeLock({ context, path: lock, sessionId: input2.session_id, claudePid })) return 0;
67685
- const seen = () => input2.transcript_path ? readFile7(input2.transcript_path, "utf8") : Promise.resolve("");
67686
- const deadline = context.nowMs() + (WAIT_HOOK_TIMEOUT_SECONDS - 60) * 1e3;
67687
67683
  const rush = rushSessionOf({
67688
67684
  parentArgs: await context.processes.argsOf(await context.processes.parentOf(claudePid) ?? 0)
67689
67685
  });
67690
67686
  if (rush) await startRushGuard({ context, profile: name2, claudePid, rush });
67687
+ const lock = statePathOf({ context, kind: "waiters", profile: name2 });
67688
+ if (!await takeLock({ context, path: lock, sessionId: input2.session_id, claudePid })) return 0;
67689
+ const seen = () => input2.transcript_path ? readFile7(input2.transcript_path, "utf8") : Promise.resolve("");
67690
+ const deadline = context.nowMs() + (WAIT_HOOK_TIMEOUT_SECONDS - 60) * 1e3;
67691
67691
  try {
67692
67692
  while (context.nowMs() < deadline) {
67693
67693
  const code = await settleRound({ context, client, name: name2, lock, claudePid, session, seen });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lazehq/cli",
3
- "version": "0.1.23",
3
+ "version": "0.1.24",
4
4
  "description": "The Laze command line: sign in, read and post in chat, and connect your own Claude Code or Codex session as an agent.",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",