@lazehq/cli 0.1.23 → 0.1.25

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 +9 -6
  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.25";
35624
35624
  function cliVersionOf({ stamped = STAMPED } = {}) {
35625
35625
  return stamped.startsWith("__") ? "dev" : stamped;
35626
35626
  }
@@ -59877,6 +59877,7 @@ var feedDigestIntentSchemaDefinition = external_exports.object({
59877
59877
  // ../../modules/notification/contract/src/notification.ui.ts
59878
59878
  var notificationUi = uiTokens("notification");
59879
59879
  var NotificationPauseHooksToken = notificationUi.hooks("pause");
59880
+ var NotificationDefaultHooksToken = notificationUi.hooks("channel-default");
59880
59881
  var NotificationPauseDialogSlot = notificationUi.component("pause-dialog");
59881
59882
 
59882
59883
  // ../../modules/chat/contract/src/chat.events.ts
@@ -67680,14 +67681,14 @@ async function waitForMessages({ context, args }) {
67680
67681
  const named = await sessionProfileArgs({ context, args: asked, session });
67681
67682
  const { client, name: name2 } = await signedIn({ context, args: named });
67682
67683
  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
67684
  const rush = rushSessionOf({
67688
67685
  parentArgs: await context.processes.argsOf(await context.processes.parentOf(claudePid) ?? 0)
67689
67686
  });
67690
67687
  if (rush) await startRushGuard({ context, profile: name2, claudePid, rush });
67688
+ const lock = statePathOf({ context, kind: "waiters", profile: name2 });
67689
+ if (!await takeLock({ context, path: lock, sessionId: input2.session_id, claudePid })) return 0;
67690
+ const seen = () => input2.transcript_path ? readFile7(input2.transcript_path, "utf8") : Promise.resolve("");
67691
+ const deadline = context.nowMs() + (WAIT_HOOK_TIMEOUT_SECONDS - 60) * 1e3;
67691
67692
  try {
67692
67693
  while (context.nowMs() < deadline) {
67693
67694
  const code = await settleRound({ context, client, name: name2, lock, claudePid, session, seen });
@@ -69438,7 +69439,9 @@ async function registerWithClaude({ context, folder }) {
69438
69439
  const script = [
69439
69440
  `claude plugin marketplace add ${quote2(folder)} --scope user ${quiet}`,
69440
69441
  `claude plugin marketplace update ${LAZE_PLUGIN} ${quiet}`,
69441
- `{ claude plugin install ${LAZE_PLUGIN}@${LAZE_PLUGIN} --scope user ${quiet} || claude plugin update ${LAZE_PLUGIN}@${LAZE_PLUGIN} ${quiet}; }`
69442
+ // install is a no-op for a plugin Claude Code already has; update refreshes its cached copy.
69443
+ `{ claude plugin install ${LAZE_PLUGIN}@${LAZE_PLUGIN} --scope user ${quiet} || true; }`,
69444
+ `claude plugin update ${LAZE_PLUGIN}@${LAZE_PLUGIN} ${quiet}`
69442
69445
  ].join("; ");
69443
69446
  const stop3 = new AbortController();
69444
69447
  const command = ["sh", "-c", script];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lazehq/cli",
3
- "version": "0.1.23",
3
+ "version": "0.1.25",
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",