@lazehq/cli 0.1.90 → 0.1.91

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 +19 -8
  2. package/package.json +1 -1
package/dist/laze.mjs CHANGED
@@ -37171,7 +37171,7 @@ function flagText({
37171
37171
  }
37172
37172
 
37173
37173
  // src/rules/cli-version.rules.ts
37174
- var STAMPED = "0.1.90";
37174
+ var STAMPED = "0.1.91";
37175
37175
  function cliVersionOf({ stamped = STAMPED } = {}) {
37176
37176
  return stamped.startsWith("__") ? "dev" : stamped;
37177
37177
  }
@@ -61880,7 +61880,9 @@ var customEmojiSchemaDefinition = external_exports.object({
61880
61880
  addedBy: customEmojiAuthorSchema.optional(),
61881
61881
  addedAt: external_exports.iso.datetime().optional(),
61882
61882
  /** Whether the reader may remove it: their own, or any for an admin. */
61883
- removable: external_exports.boolean().optional()
61883
+ removable: external_exports.boolean().optional(),
61884
+ /** False when pickers leave it out, such as another organisation's emoji; absent means true. */
61885
+ offered: external_exports.boolean().optional()
61884
61886
  });
61885
61887
  var customEmojiSchema = customEmojiSchemaDefinition;
61886
61888
  var customEmojiListSchemaDefinition = external_exports.object({
@@ -61894,13 +61896,17 @@ var customEmojiListSchemaDefinition = external_exports.object({
61894
61896
  var customEmojiListSchema = customEmojiListSchemaDefinition;
61895
61897
  var slackCustomEmojiSchema = external_exports.object({
61896
61898
  name: customEmojiNameSchema,
61897
- url: external_exports.string().max(2e3).regex(/^https:\/\/[^\s()<>]+$/)
61899
+ url: external_exports.string().max(2e3).regex(/^https:\/\/[^\s()<>]+$/),
61900
+ /** False for a picture only drawn, never offered, such as another organisation's emoji. */
61901
+ offered: external_exports.boolean().optional()
61898
61902
  });
61899
61903
  var saveCustomEmojiInputSchemaDefinition = external_exports.object({
61900
61904
  workspaceId: external_exports.string().min(1),
61901
61905
  emoji: external_exports.array(slackCustomEmojiSchema).max(1e4),
61902
61906
  /** Names the source no longer has, dropped from the workspace's set. */
61903
- removed: external_exports.array(customEmojiNameSchema).max(1e4).default([])
61907
+ removed: external_exports.array(customEmojiNameSchema).max(1e4).default([]),
61908
+ /** `emoji` is the source's whole list: its other Slack names stay but are no longer offered. */
61909
+ whole: external_exports.boolean().default(false)
61904
61910
  });
61905
61911
  var addCustomEmojiInputSchemaDefinition = external_exports.object({
61906
61912
  workspaceId: external_exports.string().min(1),
@@ -71396,6 +71402,8 @@ var slackMessageEventSchemaDefinition = external_exports.object({
71396
71402
  latestReply: external_exports.string().nullable().default(null),
71397
71403
  /** When the message was last edited, Slack's `edited.ts`; null when it never was. */
71398
71404
  editedTs: external_exports.string().nullable().default(null),
71405
+ /** The Laze message this Slack message is the copy of, from the metadata Laze posts with it. */
71406
+ lazeMessageId: external_exports.string().min(1).optional(),
71399
71407
  /** The message's Block Kit blocks and legacy attachments as Slack sent them, until handled. */
71400
71408
  blocks: external_exports.array(external_exports.record(external_exports.string(), external_exports.unknown())).optional(),
71401
71409
  /** The message's own `text` beside its blocks; `text` above is what Slack shows, flattened. */
@@ -76093,7 +76101,9 @@ guide first: https://laze.so/docs/agents/apps.md. The short version:
76093
76101
  an attachment means exactly that: do it, do not ask.
76094
76102
  - Slides, a deck or a talk: start from \`laze app create <name> --template slides\`. Each slide
76095
76103
  is a file in slides/, listed in order in slides/deck.json; the deck presents full screen and
76096
- exports PDF and HTML on its own.
76104
+ exports PDF and HTML on its own. Write only \`slides/NN-name.html\` (one \`<section>\` each) and
76105
+ \`slides/deck.json\`; never read or change \`deck.js\` or \`index.html\`. Do it yourself in one
76106
+ turn, with no subagent. README.md lists the classes; \`laze app serve\` shows slide N at \`#N\`.
76097
76107
  An app that already exists goes in with \`laze app pin <app> --channel <channel>\`, never as a
76098
76108
  pinned message with a link. A pin opens it to everyone there, and their agents may build on it.
76099
76109
  - A new app is Restricted. Do not share it with only the person who asked when they asked in a
@@ -76107,8 +76117,8 @@ guide first: https://laze.so/docs/agents/apps.md. The short version:
76107
76117
  - Use the Laze kit's classes and colour tokens; never hex colours or a copied kit. One job per
76108
76118
  screen; tables, cards, stat tiles, charts and numbered steps over paragraphs; real data; an
76109
76119
  empty state; it must read well in dark mode and 390 px wide.
76110
- - Before you push, run \`laze app serve\` and screenshot it light, dark (\`?theme=dark\`) and
76111
- 390 px wide. Fix what looks off, then push and say in one line what the app does.
76120
+ - Before you push an app (not a deck), run \`laze app serve\` and screenshot it light, dark
76121
+ (\`?theme=dark\`) and 390 px wide. Fix what looks off, then push and say in one line what the app does.
76112
76122
 
76113
76123
  ## When Laze refused something
76114
76124
 
@@ -81268,7 +81278,8 @@ var appCreate = async ({ context, args }) => {
81268
81278
  value: { app: app2, folder },
81269
81279
  text: start2 ? `Created ${app2.name} (${app2.id}) from the ${template} template in ${where}; its first version is live at ${app2.publishedUrl}.
81270
81280
  Next: change the files in ${where} (start with README.md when there is one), then laze app push -m "<what changed>"
81271
- ` : `Created ${app2.name} (${app2.id}) in ${where}.
81281
+ ` + (start2.template.guide ? `${start2.template.guide}
81282
+ ` : "") : `Created ${app2.name} (${app2.id}) in ${where}.
81272
81283
  Next: cd ${where} && laze app push -m "First version" --seed
81273
81284
  `
81274
81285
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lazehq/cli",
3
- "version": "0.1.90",
3
+ "version": "0.1.91",
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",