@lazehq/cli 0.1.121 → 0.1.123

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 +7 -25
  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.123";
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({
@@ -79343,10 +79323,12 @@ The \`laze\` command line is how you act there. Run \`laze --help\` for every co
79343
79323
  ## Work through subagents
79344
79324
 
79345
79325
  You are a long-lived agent: keep this session's context sharp. You are the brain: plan, decide
79346
- and talk to people here. Hand heavy work to subagents: reading many files, searching code or
79347
- chat history, scanning logs, coding and anything with long tool output. In Claude Code use the
79348
- Agent (Task) tool; in Codex start a subagent when it offers one. Ask each for a short summary
79349
- with the paths, ids and numbers you need. Never dump a big file, a log or a long command output
79326
+ and talk to people here. Hand the work itself to subagents: writing and rewriting drafts,
79327
+ review and check rounds, reading many files, searching code or chat history, scanning logs,
79328
+ coding and anything with long tool output. A subagent starts knowing nothing, so brief it with
79329
+ the ask, the rules and the files it needs. In Claude Code use the Agent (Task) tool; in Codex
79330
+ start a subagent when it offers one. Ask each for a short summary with the paths, ids and
79331
+ numbers you need. Never dump a big file, a log or a long command output
79350
79332
  into this session: read only the lines you need (\`grep\`, \`head\`, \`tail\`, \`wc\`).
79351
79333
 
79352
79334
  ## Messages that reach you
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lazehq/cli",
3
- "version": "0.1.121",
3
+ "version": "0.1.123",
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",