@lazehq/cli 0.1.121 → 0.1.122

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 +1 -21
  2. package/package.json +1 -1
package/dist/laze.mjs CHANGED
@@ -36960,7 +36960,7 @@ function shadowedLinkLineOf({ shadow }) {
36960
36960
  }
36961
36961
 
36962
36962
  // src/rules/cli-version.rules.ts
36963
- var STAMPED = "0.1.121";
36963
+ var STAMPED = "0.1.122";
36964
36964
  function cliVersionOf({ stamped = STAMPED } = {}) {
36965
36965
  return stamped.startsWith("__") ? "dev" : stamped;
36966
36966
  }
@@ -75029,24 +75029,6 @@ function waitsForLinesOf({ posted }) {
75029
75029
  }).join("");
75030
75030
  }
75031
75031
 
75032
- // src/rules/promise-reminder.rules.ts
75033
- var PROMISE = /\b(?:i['’]ll|i will|i['’]m going to|i am going to|we['’]ll|let me get back|get back to you|working on it|on it|starting (?:on it |it )?now)\b|\bback (?:in (?:about |around |~)?\d+\s*(?:min|minutes|mins|h|hours?)|shortly|soon|later)\b/i;
75034
- function ownWordsOf(text3) {
75035
- return text3.replace(/```[\s\S]*?```/g, " ").split("\n").filter((line) => !line.trimStart().startsWith(">")).join("\n");
75036
- }
75037
- function promisesLaterWork({ text: text3 }) {
75038
- return PROMISE.test(ownWordsOf(text3));
75039
- }
75040
- function promiseReminderOf({ text: text3 }) {
75041
- if (!promisesLaterWork({ text: text3 })) return "";
75042
- return [
75043
- "You promised work in that message. Nothing runs after your turn ends and nothing wakes you",
75044
- "for it, so do the work now in this turn and post the result when it is done, or set a",
75045
- "`laze schedule` for it, or say plainly that it waits on someone. You cannot see the clock,",
75046
- "so never promise a time: say what you will do, then do it.\n"
75047
- ].join(" ");
75048
- }
75049
-
75050
75032
  // src/rules/search-format.rules.ts
75051
75033
  var SNIPPET_CHARACTERS = 160;
75052
75034
  var TOKEN = /<@(person|agent):([A-Za-z0-9_-]+)>|<!(channel|here)>|<#([A-Za-z0-9_-]{1,64})>/g;
@@ -76385,7 +76367,6 @@ async function post({
76385
76367
  context.out(linkLineOf({ url: posted.url, base: client.baseUrl }));
76386
76368
  context.out(notInChannelLineOf({ posted, channel }));
76387
76369
  context.out(waitsForLinesOf({ posted }));
76388
- context.out(promiseReminderOf({ text: body }));
76389
76370
  return void 0;
76390
76371
  }
76391
76372
  async function reply({
@@ -76428,7 +76409,6 @@ async function reply({
76428
76409
  context.out(linkLineOf({ url: posted.url, base: client.baseUrl }));
76429
76410
  context.out(notInChannelLineOf({ posted, channel: channel ?? "the channel" }));
76430
76411
  context.out(waitsForLinesOf({ posted }));
76431
- context.out(promiseReminderOf({ text: body }));
76432
76412
  return void 0;
76433
76413
  }
76434
76414
  async function receiveMessages({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lazehq/cli",
3
- "version": "0.1.121",
3
+ "version": "0.1.122",
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",