@lazehq/cli 0.1.119 → 0.1.120

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 +234 -146
  2. package/package.json +1 -1
package/dist/laze.mjs CHANGED
@@ -31077,15 +31077,15 @@ ${value}`;
31077
31077
  pos = 0;
31078
31078
  }
31079
31079
  }
31080
- discardLeadingBytes(count12) {
31081
- while (count12 > 0 && this.lineChunkIndex < this.chunks.length) {
31080
+ discardLeadingBytes(count13) {
31081
+ while (count13 > 0 && this.lineChunkIndex < this.chunks.length) {
31082
31082
  const chunk = this.chunks[this.lineChunkIndex];
31083
31083
  const remaining = chunk.length - this.linePos;
31084
- if (count12 < remaining) {
31085
- this.linePos += count12;
31086
- count12 = 0;
31084
+ if (count13 < remaining) {
31085
+ this.linePos += count13;
31086
+ count13 = 0;
31087
31087
  } else {
31088
- count12 -= remaining;
31088
+ count13 -= remaining;
31089
31089
  this.lineChunkIndex++;
31090
31090
  this.linePos = 0;
31091
31091
  }
@@ -31834,8 +31834,8 @@ function shannonEntropyBits(value) {
31834
31834
  const counts = /* @__PURE__ */ new Map();
31835
31835
  for (const char of sample) counts.set(char, (counts.get(char) ?? 0) + 1);
31836
31836
  let entropy = 0;
31837
- for (const count12 of counts.values()) {
31838
- const p = count12 / sample.length;
31837
+ for (const count13 of counts.values()) {
31838
+ const p = count13 / sample.length;
31839
31839
  entropy -= p * Math.log2(p);
31840
31840
  }
31841
31841
  return entropy;
@@ -36960,7 +36960,7 @@ function shadowedLinkLineOf({ shadow }) {
36960
36960
  }
36961
36961
 
36962
36962
  // src/rules/cli-version.rules.ts
36963
- var STAMPED = "0.1.119";
36963
+ var STAMPED = "0.1.120";
36964
36964
  function cliVersionOf({ stamped = STAMPED } = {}) {
36965
36965
  return stamped.startsWith("__") ? "dev" : stamped;
36966
36966
  }
@@ -38725,14 +38725,14 @@ function codePointLength(str) {
38725
38725
  const units = str.length;
38726
38726
  if (!highSurrogate.test(str))
38727
38727
  return units;
38728
- let count12 = units;
38728
+ let count13 = units;
38729
38729
  for (let i = 0; i < units - 1; i++) {
38730
38730
  if ((str.charCodeAt(i) & 64512) === 55296 && (str.charCodeAt(i + 1) & 64512) === 56320) {
38731
- count12--;
38731
+ count13--;
38732
38732
  i++;
38733
38733
  }
38734
38734
  }
38735
- return count12;
38735
+ return count13;
38736
38736
  }
38737
38737
  function getLengthableOrigin(input2) {
38738
38738
  if (Array.isArray(input2))
@@ -43087,8 +43087,8 @@ function az_default() {
43087
43087
  }
43088
43088
 
43089
43089
  // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/be.js
43090
- function getBelarusianPlural(count12, one, few, many) {
43091
- const absCount = Math.abs(count12);
43090
+ function getBelarusianPlural(count13, one, few, many) {
43091
+ const absCount = Math.abs(count13);
43092
43092
  const lastDigit = absCount % 10;
43093
43093
  const lastTwoDigits = absCount % 100;
43094
43094
  if (lastTwoDigits >= 11 && lastTwoDigits <= 19) {
@@ -45735,8 +45735,8 @@ function hu_default() {
45735
45735
  }
45736
45736
 
45737
45737
  // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/hy.js
45738
- function getArmenianPlural(count12, one, many) {
45739
- return Math.abs(count12) === 1 ? one : many;
45738
+ function getArmenianPlural(count13, one, many) {
45739
+ return Math.abs(count13) === 1 ? one : many;
45740
45740
  }
45741
45741
  function withDefiniteArticle(word3) {
45742
45742
  if (!word3)
@@ -48474,8 +48474,8 @@ function ro_default() {
48474
48474
  }
48475
48475
 
48476
48476
  // ../../node_modules/.pnpm/zod@4.6.5/node_modules/zod/v4/locales/ru.js
48477
- function getRussianPlural(count12, one, few, many) {
48478
- const absCount = Math.abs(count12);
48477
+ function getRussianPlural(count13, one, few, many) {
48478
+ const absCount = Math.abs(count13);
48479
48479
  const lastDigit = absCount % 10;
48480
48480
  const lastTwoDigits = absCount % 100;
48481
48481
  if (lastTwoDigits >= 11 && lastTwoDigits <= 19) {
@@ -61817,15 +61817,15 @@ function clustersIn({
61817
61817
  const out = [];
61818
61818
  let current3 = null;
61819
61819
  for (let index = segment.start; index <= segment.end; index += 1) {
61820
- const count12 = flagged[index] ?? 0;
61821
- if (count12 === 0) continue;
61820
+ const count13 = flagged[index] ?? 0;
61821
+ if (count13 === 0) continue;
61822
61822
  if (current3 && index - current3.end - 1 <= REDACTED_BLOCK_MAX_GAP) {
61823
61823
  current3.end = index;
61824
- current3.values += count12;
61824
+ current3.values += count13;
61825
61825
  continue;
61826
61826
  }
61827
61827
  if (current3) out.push(current3);
61828
- current3 = { start: index, end: index, values: count12 };
61828
+ current3 = { start: index, end: index, values: count13 };
61829
61829
  }
61830
61830
  if (current3) out.push(current3);
61831
61831
  return out;
@@ -61865,7 +61865,7 @@ function redactedBlocksAt({
61865
61865
  }
61866
61866
  const blocks = redactedBlocks({ lines: lines2, flagged });
61867
61867
  const inside = (line) => blocks.some((block2) => line >= block2.start && line <= block2.end);
61868
- const values = flagged.reduce((sum, count12, line) => inside(line) ? sum + count12 : sum, 0);
61868
+ const values = flagged.reduce((sum, count13, line) => inside(line) ? sum + count13 : sum, 0);
61869
61869
  return { values, insideAt: (offset) => inside(lineAt(offset)) };
61870
61870
  }
61871
61871
 
@@ -62420,6 +62420,56 @@ var vaultOpsAskSchemaDefinition = external_exports.object({
62420
62420
  var vaultOpsAskSchema = vaultOpsAskSchemaDefinition;
62421
62421
  var vaultOpsAsksSchemaDefinition = external_exports.object({ rows: external_exports.array(vaultOpsAskSchema), total: count3 });
62422
62422
 
62423
+ // ../../modules/vault/contract/src/vault-ops-connections.ts
62424
+ var count4 = external_exports.number().int().nonnegative();
62425
+ var idText3 = external_exports.string().max(128);
62426
+ var codeText2 = external_exports.string().regex(/^[a-z][a-z0-9_.]{0,39}$/);
62427
+ var vaultOpsConnectionSchemaDefinition = external_exports.object({
62428
+ connectionId: idText3,
62429
+ kind: vaultConnectionKindSchema,
62430
+ /** An OAuth or MCP connection's provider (`gmail`); null for none, `other` for free text. */
62431
+ provider: codeText2.nullable(),
62432
+ holderKind: external_exports.enum(["personal", "workspace", "agent", "pool"]),
62433
+ /** The person, agent or pool that owns the keychain; null for the workspace's. */
62434
+ holderId: idText3.nullable(),
62435
+ sensitivity: vaultSensitivitySchema,
62436
+ everyUseAsks: external_exports.boolean(),
62437
+ deviceApproval: external_exports.boolean(),
62438
+ waitingApproval: external_exports.boolean(),
62439
+ serverOpens: external_exports.boolean(),
62440
+ sealing: external_exports.enum(["envelope_v1", "sealed_v2"]),
62441
+ /** The devices a `sealed_v2` bundle is sealed to; 0 on `envelope_v1`. */
62442
+ recipients: count4,
62443
+ status: codeText2,
62444
+ /** When the stored access token runs out; null for none. */
62445
+ grantExpiresAt: external_exports.iso.datetime().nullable(),
62446
+ createdAt: external_exports.iso.datetime(),
62447
+ updatedAt: external_exports.iso.datetime()
62448
+ });
62449
+ var vaultOpsConnectionSchema = vaultOpsConnectionSchemaDefinition;
62450
+ var vaultOpsConnectionEventSchemaDefinition = external_exports.object({
62451
+ seq: count4,
62452
+ connectionId: idText3,
62453
+ action: codeText2,
62454
+ outcome: codeText2,
62455
+ actorKind: external_exports.enum(["user", "agent", "system"]),
62456
+ decider: codeText2.nullable(),
62457
+ agentId: idText3.nullable(),
62458
+ requestId: idText3.nullable(),
62459
+ /** The entry's stored code (`vault_oauth_refresh_failed`); null when it holds none. */
62460
+ code: codeText2.nullable(),
62461
+ /** The provider's error code on a refused refresh (`invalid_grant`); null when not kept. */
62462
+ providerCode: codeText2.nullable(),
62463
+ /** More of the entry is in its sealed text, which this read never opens. */
62464
+ moreInSeal: external_exports.boolean(),
62465
+ at: external_exports.iso.datetime()
62466
+ });
62467
+ var vaultOpsConnectionEventSchema = vaultOpsConnectionEventSchemaDefinition;
62468
+ var vaultOpsConnectionsSchemaDefinition = external_exports.object({
62469
+ connections: external_exports.array(vaultOpsConnectionSchema),
62470
+ events: external_exports.array(vaultOpsConnectionEventSchema)
62471
+ });
62472
+
62423
62473
  // ../../modules/chat/contract/src/chat.close.ts
62424
62474
  var conversationOpenDaysSchemaDefinition = external_exports.union([external_exports.literal(7), external_exports.literal(14), external_exports.literal(30), external_exports.literal(90)]).nullable();
62425
62475
  var conversationOpenDaysSchema = conversationOpenDaysSchemaDefinition;
@@ -66129,10 +66179,10 @@ var observeSenderInputSchemaDefinition = external_exports.object({
66129
66179
  });
66130
66180
 
66131
66181
  // ../../modules/chat/contract/src/chat.read-ops.ts
66132
- var count4 = external_exports.number().int().nonnegative();
66182
+ var count5 = external_exports.number().int().nonnegative();
66133
66183
  var at = external_exports.iso.datetime();
66134
66184
  var unreadMessageDefinition = external_exports.object({
66135
- seq: count4,
66185
+ seq: count5,
66136
66186
  createdAt: at,
66137
66187
  /** self is the reader; the others are the author's kind. */
66138
66188
  author: external_exports.enum(["self", "person", "agent", "external"]),
@@ -66151,12 +66201,12 @@ var readConversationDefinition = external_exports.object({
66151
66201
  direct: external_exports.boolean(),
66152
66202
  /** The other side of a Laze DM paired with a Slack DM, or null. */
66153
66203
  pairedWith: external_exports.string().nullable(),
66154
- lastSeq: count4,
66155
- lastReadSeq: count4,
66156
- unreadHeldToSeq: count4.nullable(),
66157
- hiddenAtSeq: count4.nullable(),
66158
- unread: count4,
66159
- mentions: count4,
66204
+ lastSeq: count5,
66205
+ lastReadSeq: count5,
66206
+ unreadHeldToSeq: count5.nullable(),
66207
+ hiddenAtSeq: count5.nullable(),
66208
+ unread: count5,
66209
+ mentions: count5,
66160
66210
  lastMessageAt: at.nullable(),
66161
66211
  /** When the newest message at or before the marker was written. */
66162
66212
  markerAt: at.nullable(),
@@ -66166,41 +66216,41 @@ var readConversationDefinition = external_exports.object({
66166
66216
  var chatReadFactsDefinition = external_exports.object({
66167
66217
  conversations: external_exports.array(readConversationDefinition).max(40),
66168
66218
  /** Conversations that qualified before the cap. */
66169
- total: count4
66219
+ total: count5
66170
66220
  });
66171
66221
  var chatReadFactsSchema = chatReadFactsDefinition;
66172
66222
 
66173
66223
  // ../../modules/chat/contract/src/chat.link-domain-ops.ts
66174
- var count5 = external_exports.number().int().nonnegative();
66224
+ var count6 = external_exports.number().int().nonnegative();
66175
66225
  var linkDomainDefinition = external_exports.object({
66176
66226
  /** The link's host, lowercased, without `www.`. */
66177
66227
  domain: external_exports.string(),
66178
66228
  /** Previews on messages, one per message and preview. */
66179
- links: count5,
66229
+ links: count6,
66180
66230
  /** Messages with at least one preview of this host. */
66181
- messageCount: count5,
66231
+ messageCount: count6,
66182
66232
  /** Previews of this host a message author took off. */
66183
- removed: count5,
66233
+ removed: count6,
66184
66234
  /** Distinct previews (addresses) of this host. */
66185
- pages: count5,
66235
+ pages: count6,
66186
66236
  /** Pages whose preview carries a picture, and a page name. */
66187
- pictured: count5,
66188
- named: count5,
66237
+ pictured: count6,
66238
+ named: count6,
66189
66239
  /** Pages whose fetch failed or was blocked. */
66190
- failed: count5,
66240
+ failed: count6,
66191
66241
  /** The commonest path shapes, at most 5, each with its page count. */
66192
- shapes: external_exports.array(external_exports.object({ shape: external_exports.string(), pages: count5 })).max(5)
66242
+ shapes: external_exports.array(external_exports.object({ shape: external_exports.string(), pages: count6 })).max(5)
66193
66243
  });
66194
66244
  var linkDomainFactsDefinition = external_exports.object({
66195
66245
  domains: external_exports.array(linkDomainDefinition),
66196
66246
  /** Messages with previews read on this page, and how many previews they carry. */
66197
- scannedMessageCount: count5,
66198
- scannedLinks: count5,
66247
+ scannedMessageCount: count6,
66248
+ scannedLinks: count6,
66199
66249
  /** Messages carrying exactly 1, 2, and 3 or more previews on this page. */
66200
- messageCountByLinks: external_exports.array(count5).length(3),
66250
+ messageCountByLinks: external_exports.array(count6).length(3),
66201
66251
  /** Over the whole workspace: live messages with a link, and those with a preview. */
66202
- linkedMessageCount: count5,
66203
- previewedMessageCount: count5,
66252
+ linkedMessageCount: count6,
66253
+ previewedMessageCount: count6,
66204
66254
  /** The last message id read; pass it back as `cursor` to read on, null at the end. */
66205
66255
  nextCursor: external_exports.string().nullable()
66206
66256
  });
@@ -66746,6 +66796,20 @@ var ACTIVATION_WINDOW_MS = ACTIVATION_DAYS * 24 * 60 * 60 * 1e3;
66746
66796
  // ../../modules/workspace/contract/src/workspace-links.ts
66747
66797
  var lazeUrlSchema = external_exports.string().min(1).describe("The resource's web address in Laze");
66748
66798
 
66799
+ // ../../modules/workspace/contract/src/workspace-audience.ts
66800
+ var audienceKindSchema = external_exports.enum(["qa", "staff", "external"]);
66801
+ var audienceMemberSchemaDefinition = external_exports.object({
66802
+ userId: external_exports.string().min(1),
66803
+ role: workspaceRoleSchema,
66804
+ kind: audienceKindSchema
66805
+ });
66806
+ var workspaceAudienceSchemaDefinition = external_exports.object({
66807
+ workspaceId: external_exports.string().min(1),
66808
+ /** Its creator's kind while they are a member, else its first Owner's. */
66809
+ kind: audienceKindSchema,
66810
+ members: external_exports.array(audienceMemberSchemaDefinition)
66811
+ });
66812
+
66749
66813
  // ../../modules/agent/contract/src/agent-access.ts
66750
66814
  var idSchema6 = external_exports.string().min(1).max(80);
66751
66815
  var agentGranteeSchemaDefinition = external_exports.discriminatedUnion("kind", [
@@ -73695,10 +73759,10 @@ function whereOf(message2) {
73695
73759
  }
73696
73760
  function catchUpLinesOf(message2) {
73697
73761
  if (!message2.catchUp) return [];
73698
- const { count: count12, older } = message2.catchUp;
73762
+ const { count: count13, older } = message2.catchUp;
73699
73763
  const where = whereOf(message2);
73700
73764
  const lines2 = [
73701
- `${count12} ${count12 === 1 ? "message" : "messages"} in ${where} while you were away.`
73765
+ `${count13} ${count13 === 1 ? "message" : "messages"} in ${where} while you were away.`
73702
73766
  ];
73703
73767
  if (older === 0) return lines2;
73704
73768
  const channel = message2.channelKind === "public" || message2.channelKind === "private";
@@ -73726,9 +73790,9 @@ function hookContextOf({
73726
73790
  messages,
73727
73791
  self: self2
73728
73792
  }) {
73729
- const count12 = messages.length === 1 ? "A message" : `${messages.length} messages`;
73793
+ const count13 = messages.length === 1 ? "A message" : `${messages.length} messages`;
73730
73794
  return [
73731
- `${count12} reached you in Laze${selfClauseOf({ self: self2 })}:`,
73795
+ `${count13} reached you in Laze${selfClauseOf({ self: self2 })}:`,
73732
73796
  "",
73733
73797
  ...messages.map((message2) => formatInboxMessage({ message: message2 })),
73734
73798
  "",
@@ -73743,7 +73807,7 @@ function selfClauseOf({ self: self2 }) {
73743
73807
  function record2(value) {
73744
73808
  return typeof value === "object" && value !== null ? value : {};
73745
73809
  }
73746
- function count6(value) {
73810
+ function count7(value) {
73747
73811
  return typeof value === "number" && Number.isFinite(value) && value >= 0 ? value : void 0;
73748
73812
  }
73749
73813
  function parse3(line) {
@@ -73764,17 +73828,17 @@ function compactionOf({
73764
73828
  return {
73765
73829
  key: typeof entry2.uuid === "string" ? entry2.uuid : String(index),
73766
73830
  trigger: meta3.trigger === "manual" ? "manual" : "auto",
73767
- tokensBefore: count6(meta3.preTokens),
73768
- tokensAfter: count6(meta3.postTokens),
73831
+ tokensBefore: count7(meta3.preTokens),
73832
+ tokensAfter: count7(meta3.postTokens),
73769
73833
  at: typeof entry2.timestamp === "string" ? entry2.timestamp : "1970-01-01T00:00:00.000Z"
73770
73834
  };
73771
73835
  }
73772
73836
  function usageOf({ entry: entry2 }) {
73773
73837
  const message2 = record2(entry2.message);
73774
73838
  const usage = record2(message2.usage);
73775
- const input2 = count6(usage.input_tokens);
73839
+ const input2 = count7(usage.input_tokens);
73776
73840
  if (input2 === void 0) return void 0;
73777
- const cached2 = (count6(usage.cache_read_input_tokens) ?? 0) + (count6(usage.cache_creation_input_tokens) ?? 0);
73841
+ const cached2 = (count7(usage.cache_read_input_tokens) ?? 0) + (count7(usage.cache_creation_input_tokens) ?? 0);
73778
73842
  return {
73779
73843
  tokens: input2 + cached2,
73780
73844
  ...typeof message2.model === "string" ? { model: message2.model } : {}
@@ -74662,7 +74726,7 @@ var slackConfig = Config.define((c) => ({
74662
74726
  }));
74663
74727
 
74664
74728
  // ../../modules/slack/contract/src/slack-ops.ts
74665
- var count7 = external_exports.number().int().nonnegative();
74729
+ var count8 = external_exports.number().int().nonnegative();
74666
74730
  var at2 = external_exports.iso.datetime();
74667
74731
  var slackMirrorHealthDefinition = external_exports.object({
74668
74732
  mirrors: external_exports.array(
@@ -74675,19 +74739,19 @@ var slackMirrorHealthDefinition = external_exports.object({
74675
74739
  /** Shared with another organisation, such as a Slack Connect channel. */
74676
74740
  external: external_exports.boolean(),
74677
74741
  botMember: external_exports.boolean(),
74678
- linkedMembers: count7,
74679
- cacheDays: count7,
74742
+ linkedMembers: count8,
74743
+ cacheDays: count8,
74680
74744
  backfilledAt: at2.nullable(),
74681
74745
  reconciledAt: at2.nullable(),
74682
74746
  /** Message links Laze holds for the conversation, both ways. */
74683
- links: count7,
74747
+ links: count8,
74684
74748
  /** Thread roots Laze holds a reply of. */
74685
- threads: count7,
74749
+ threads: count8,
74686
74750
  /** Roots whose Slack reply count, when last read, is above the replies Laze holds. */
74687
- threadsShort: count7,
74688
- repliesShort: count7,
74751
+ threadsShort: count8,
74752
+ repliesShort: count8,
74689
74753
  /** Threads Laze holds whose root is older than the cache window. */
74690
- oldThreads: count7
74754
+ oldThreads: count8
74691
74755
  })
74692
74756
  )
74693
74757
  });
@@ -74698,10 +74762,10 @@ var DURATION = /^(\d+)\s*(m|min|mins|minutes?|h|hours?|d|days?)$/i;
74698
74762
  function minutesOf({ text: text3 }) {
74699
74763
  const match = DURATION.exec(text3.trim());
74700
74764
  if (!match?.[1] || !match[2]) return null;
74701
- const count12 = Number(match[1]);
74765
+ const count13 = Number(match[1]);
74702
74766
  const unit = match[2].toLowerCase()[0];
74703
74767
  const perUnit = { d: 1440, h: 60, m: 1 };
74704
- const minutes = count12 * (perUnit[unit ?? "m"] ?? 1);
74768
+ const minutes = count13 * (perUnit[unit ?? "m"] ?? 1);
74705
74769
  return minutes > 0 ? minutes : null;
74706
74770
  }
74707
74771
  function muteTextOf({ mute }) {
@@ -74862,7 +74926,7 @@ function slackHitLines({
74862
74926
  ...link2 ? [` ${link2}`] : []
74863
74927
  ];
74864
74928
  }
74865
- var count8 = (n) => `${n} message${n === 1 ? "" : "s"}`;
74929
+ var count9 = (n) => `${n} message${n === 1 ? "" : "s"}`;
74866
74930
  function slackSectionLines({
74867
74931
  slack: slack2,
74868
74932
  laze,
@@ -74875,7 +74939,7 @@ function slackSectionLines({
74875
74939
  });
74876
74940
  if (slack2.teams.some((team) => team.state === "searched")) {
74877
74941
  const found = slack2.hits.length;
74878
- lines2.push(found === 0 ? "From Slack: nothing more." : `From Slack: ${count8(found)}`);
74942
+ lines2.push(found === 0 ? "From Slack: nothing more." : `From Slack: ${count9(found)}`);
74879
74943
  }
74880
74944
  for (const hit of slack2.hits) lines2.push(...slackHitLines({ hit, laze, url: url2, workspaceId }), "");
74881
74945
  return lines2;
@@ -74886,7 +74950,7 @@ function formatSearch({
74886
74950
  workspaceId
74887
74951
  }) {
74888
74952
  const { laze, slack: slack2, query } = output2;
74889
- const lines2 = laze.hits.length === 0 ? [`No Laze messages match "${query}".`] : [`Laze: ${count8(laze.hits.length)} for "${query}"`];
74953
+ const lines2 = laze.hits.length === 0 ? [`No Laze messages match "${query}".`] : [`Laze: ${count9(laze.hits.length)} for "${query}"`];
74890
74954
  for (const hit of laze.hits) {
74891
74955
  lines2.push(...lazeHitLines({ hit, laze, url: url2, workspaceId }), "");
74892
74956
  }
@@ -82764,9 +82828,9 @@ function formatAppMoney({
82764
82828
  maximumFractionDigits: tiny ? 4 : 2
82765
82829
  }).format(amount);
82766
82830
  }
82767
- var count9 = new Intl.NumberFormat("en-US");
82831
+ var count10 = new Intl.NumberFormat("en-US");
82768
82832
  function plural2({ value, one, many }) {
82769
- return `${count9.format(value)} ${value === 1 ? one : many}`;
82833
+ return `${count10.format(value)} ${value === 1 ? one : many}`;
82770
82834
  }
82771
82835
  function appCostQuantityText(line) {
82772
82836
  const { quantity } = line;
@@ -86109,7 +86173,7 @@ var appWrite = async ({ context, args }) => {
86109
86173
  });
86110
86174
  };
86111
86175
  function seedLine(seeded) {
86112
- const created = Object.entries(seeded.created).map(([name3, count12]) => `${count12} in ${name3}`);
86176
+ const created = Object.entries(seeded.created).map(([name3, count13]) => `${count13} in ${name3}`);
86113
86177
  const parts = [
86114
86178
  created.length ? `Loaded starter records: ${created.join(", ")}.` : "",
86115
86179
  seeded.skipped.length ? `Left ${seeded.skipped.join(", ")} as it was: it already holds records.` : ""
@@ -86434,8 +86498,8 @@ function cardLine({ choice }) {
86434
86498
  var appCard = async ({ context, args }) => {
86435
86499
  const client = await appClient({ context, args });
86436
86500
  const appId = await appIdOf({ client, args, folder: folderOf({ context, word: void 0 }) });
86437
- const count12 = Number(flagText({ args, name: "rows", fallback: "5" }));
86438
- if (!Number.isInteger(count12) || count12 < 1 || count12 > 10) {
86501
+ const count13 = Number(flagText({ args, name: "rows", fallback: "5" }));
86502
+ if (!Number.isInteger(count13) || count13 < 1 || count13 > 10) {
86439
86503
  throw new CliUsageError("--rows is a whole number from 1 to 10");
86440
86504
  }
86441
86505
  const text3 = (name3) => flagText({ args, name: name3 }) || null;
@@ -86448,7 +86512,7 @@ var appCard = async ({ context, args }) => {
86448
86512
  collection: text3("collection"),
86449
86513
  filter: flagText({ args, name: "where" }) || flagText({ args, name: "filter" }),
86450
86514
  sort: flagText({ args, name: "sort" }),
86451
- rows: count12,
86515
+ rows: count13,
86452
86516
  caption: text3("caption")
86453
86517
  }
86454
86518
  });
@@ -88104,9 +88168,9 @@ function presenceColumns(member) {
88104
88168
  return [member.presence, `${status11.emoji} ${status11.text}`.trim() + until, ...dndColumn(member)];
88105
88169
  }
88106
88170
  function formatMembers({ detail }) {
88107
- const count12 = `${detail.members.length} ${detail.members.length === 1 ? "member" : "members"}`;
88171
+ const count13 = `${detail.members.length} ${detail.members.length === 1 ? "member" : "members"}`;
88108
88172
  const ends = detail.endsAt ? `, ends ${utcTimeOf(detail.endsAt)}` : "";
88109
- const head = `${channelLabelOf(detail)} (${detail.id}), ${count12}${ends}`;
88173
+ const head = `${channelLabelOf(detail)} (${detail.id}), ${count13}${ends}`;
88110
88174
  const rows = detail.members.map(
88111
88175
  (member) => [ROLE[member.role], member.name, member.kind, member.id, ...presenceColumns(member)].join(" ")
88112
88176
  );
@@ -88146,13 +88210,13 @@ function formatBrowsable({
88146
88210
  }) {
88147
88211
  if (channels3.length === 0) return "No channels to browse.\n";
88148
88212
  const rows = channels3.map((channel) => {
88149
- const count12 = `${channel.memberCount} ${channel.memberCount === 1 ? "member" : "members"}`;
88213
+ const count13 = `${channel.memberCount} ${channel.memberCount === 1 ? "member" : "members"}`;
88150
88214
  const marks = [
88151
88215
  channel.joined ? "joined" : "not joined",
88152
88216
  ...channel.private ? ["private"] : [],
88153
88217
  ...channel.archived ? ["archived"] : []
88154
88218
  ].join(", ");
88155
- const text3 = `#${channel.name} ${channel.id} ${count12} ${marks} ${channel.topic}`;
88219
+ const text3 = `#${channel.name} ${channel.id} ${count13} ${marks} ${channel.topic}`;
88156
88220
  return withLink({ text: text3, url: channel.url, base });
88157
88221
  });
88158
88222
  return `${rows.join("\n")}
@@ -92051,7 +92115,7 @@ var sendWakeIntentDefinition = external_exports.object({
92051
92115
  });
92052
92116
 
92053
92117
  // ../../modules/compute/contract/src/whatsapp-ops.ts
92054
- var count10 = external_exports.number().int().nonnegative();
92118
+ var count11 = external_exports.number().int().nonnegative();
92055
92119
  var at4 = external_exports.iso.datetime();
92056
92120
  var whatsappMirrorHealthDefinition = external_exports.object({
92057
92121
  mirrors: external_exports.array(
@@ -92069,18 +92133,18 @@ var whatsappMirrorHealthDefinition = external_exports.object({
92069
92133
  nextVisitAt: at4.nullable(),
92070
92134
  touchedAt: at4.nullable(),
92071
92135
  createdAt: at4,
92072
- skipped: external_exports.object({ count: count10, from: external_exports.number().int().nullable(), at: at4.nullable() }),
92136
+ skipped: external_exports.object({ count: count11, from: external_exports.number().int().nullable(), at: at4.nullable() }),
92073
92137
  /** The last pull that met files; null when none did. */
92074
92138
  files: external_exports.object({
92075
92139
  at: at4,
92076
- attached: count10,
92077
- unavailable: count10,
92078
- retrying: count10,
92079
- dropped: count10,
92140
+ attached: count11,
92141
+ unavailable: count11,
92142
+ retrying: count11,
92143
+ dropped: count11,
92080
92144
  failureCode: external_exports.string().nullable()
92081
92145
  }).nullable(),
92082
92146
  /** Intake holds (ADR-216 §11) by kind and code, with when the oldest was made. */
92083
- holds: external_exports.array(external_exports.object({ kind: external_exports.string(), code: external_exports.string(), count: count10, oldestAt: at4 }))
92147
+ holds: external_exports.array(external_exports.object({ kind: external_exports.string(), code: external_exports.string(), count: count11, oldestAt: at4 }))
92084
92148
  })
92085
92149
  )
92086
92150
  });
@@ -92109,7 +92173,7 @@ var whatsappSendsDefinition = external_exports.object({
92109
92173
  quoted: external_exports.boolean(),
92110
92174
  /** Sends to the same chat share a number, counted from 1 in this answer; never the chat. */
92111
92175
  chatIndex: external_exports.number().int().min(1),
92112
- files: count10,
92176
+ files: count11,
92113
92177
  /**
92114
92178
  * Why a failed send did not go: its stored code, or for older sends the code its outcome
92115
92179
  * line reads as; "other" when none fits, null for a send that did not fail.
@@ -92137,7 +92201,7 @@ var whatsappSendStreamsDefinition = external_exports.object({
92137
92201
  failureCode: external_exports.string().nullable(),
92138
92202
  createdAt: at4,
92139
92203
  /** The stream's events, its last event's kind and time; zero and null for none. */
92140
- events: count10,
92204
+ events: count11,
92141
92205
  lastEvent: external_exports.enum(["requested", "taken", "evidenced", "refused", "unresolved", "recheck_requested"]).nullable(),
92142
92206
  lastEventAt: at4.nullable(),
92143
92207
  /** The process's step and deadline; null when no process holds the send. */
@@ -92148,9 +92212,9 @@ var whatsappSendStreamsDefinition = external_exports.object({
92148
92212
  })
92149
92213
  ),
92150
92214
  /** Counts over the answered sends. */
92151
- total: count10,
92152
- agree: count10,
92153
- disagree: count10
92215
+ total: count11,
92216
+ agree: count11,
92217
+ disagree: count11
92154
92218
  });
92155
92219
  var whatsappSendStreamsSchema = whatsappSendStreamsDefinition;
92156
92220
  var WHATSAPP_WAKE_STEPS = [
@@ -92190,11 +92254,11 @@ var whatsappWakeTimelineDefinition = external_exports.object({
92190
92254
  external_exports.object({
92191
92255
  step: external_exports.enum(WHATSAPP_WAKE_STEPS),
92192
92256
  at: at4,
92193
- sincePreviousMs: count10,
92194
- sinceRequestMs: count10
92257
+ sincePreviousMs: count11,
92258
+ sinceRequestMs: count11
92195
92259
  })
92196
92260
  ),
92197
- totalMs: count10.nullable()
92261
+ totalMs: count11.nullable()
92198
92262
  })
92199
92263
  )
92200
92264
  })
@@ -96876,8 +96940,8 @@ function draftFilesMissingText(names) {
96876
96940
  }
96877
96941
 
96878
96942
  // ../../modules/feed/contract/src/feed.decisions.ts
96879
- function decisionsLineOf(count12) {
96880
- return `${count12} ${count12 === 1 ? "decision" : "decisions"} waiting on you`;
96943
+ function decisionsLineOf(count13) {
96944
+ return `${count13} ${count13 === 1 ? "decision" : "decisions"} waiting on you`;
96881
96945
  }
96882
96946
 
96883
96947
  // src/rules/feed-input.rules.ts
@@ -97415,8 +97479,8 @@ function optionalWords(words) {
97415
97479
  }
97416
97480
  function shareLinesOf({ move: move3, answer: answer6 }) {
97417
97481
  const names = answer6.people.map((person) => person.name).join(", ") || "no one new";
97418
- const count12 = answer6.itemIds.length;
97419
- const items = `${count12} item${count12 === 1 ? "" : "s"}`;
97482
+ const count13 = answer6.itemIds.length;
97483
+ const items = `${count13} item${count13 === 1 ? "" : "s"}`;
97420
97484
  const head = move3 === "share" ? `Shared ${items} with ${names}` : `Took ${names} off ${items}`;
97421
97485
  return [head, ...answer6.itemIds].map((line) => `${line}
97422
97486
  `).join("");
@@ -98054,13 +98118,13 @@ function formatHistory(output2) {
98054
98118
  const lines2 = linesOf3(output2);
98055
98119
  if (lines2.length === 0) return `${where}${from}: no messages.
98056
98120
  `;
98057
- const count12 = lines2.length === 1 ? "1 message" : `${lines2.length} messages`;
98121
+ const count13 = lines2.length === 1 ? "1 message" : `${lines2.length} messages`;
98058
98122
  const blocks = lines2.map(blockOf2).join("\n\n");
98059
98123
  const cursor = olderCursorOf(output2);
98060
98124
  const older = cursor ? `
98061
98125
 
98062
98126
  Older: laze history ${output2.channel} --before ${cursor}` : "";
98063
- return `${where}${from}: ${count12}, oldest first
98127
+ return `${where}${from}: ${count13}, oldest first
98064
98128
 
98065
98129
  ${blocks}${older}
98066
98130
  `;
@@ -99302,10 +99366,10 @@ ${USAGE13}`);
99302
99366
  if ("exitCode" in released) return released;
99303
99367
  Object.assign(env, released.env);
99304
99368
  }
99305
- const count12 = Object.keys(env).length;
99306
- if (count12 > EXEC_ENV_MAX) {
99369
+ const count13 = Object.keys(env).length;
99370
+ if (count13 > EXEC_ENV_MAX) {
99307
99371
  context.err(
99308
- `laze: these connections hold ${count12} variables; at most ${EXEC_ENV_MAX} go with a command. Send fewer connections, or run the command with \`laze vault run\` where you run.
99372
+ `laze: these connections hold ${count13} variables; at most ${EXEC_ENV_MAX} go with a command. Send fewer connections, or run the command with \`laze vault run\` where you run.
99309
99373
  `
99310
99374
  );
99311
99375
  return { exitCode: 1 };
@@ -99460,7 +99524,7 @@ function secretRefusal({
99460
99524
  rules = MCP_SECRET_COMMANDS
99461
99525
  }) {
99462
99526
  const { words, flags: flags2 } = parseArgs({ argv });
99463
- const command = [3, 2, 1].map((count12) => words.slice(0, count12).join(" ")).find((name3) => Object.hasOwn(rules, name3));
99527
+ const command = [3, 2, 1].map((count13) => words.slice(0, count13).join(" ")).find((name3) => Object.hasOwn(rules, name3));
99464
99528
  const rule = command === void 0 ? void 0 : rules[command];
99465
99529
  if (!command || !rule) return void 0;
99466
99530
  const vaultFlag = rule.vaultFlag ?? "from-vault";
@@ -100211,11 +100275,11 @@ async function monitorAdd({ context, args }) {
100211
100275
  });
100212
100276
  if (args.flags.json) return context.out(`${JSON.stringify(added, null, 2)}
100213
100277
  `);
100214
- const count12 = added.watching.length;
100278
+ const count13 = added.watching.length;
100215
100279
  context.out(
100216
100280
  `${added.monitor.id} ${added.monitor.name}
100217
100281
  ${added.watching.join(" ")}
100218
- Watching ${count12} ${count12 === 1 ? "channel" : "channels"}
100282
+ Watching ${count13} ${count13 === 1 ? "channel" : "channels"}
100219
100283
  `
100220
100284
  );
100221
100285
  }
@@ -101592,12 +101656,12 @@ var funnelInputDefinition = external_exports.object({
101592
101656
  to: external_exports.iso.datetime(),
101593
101657
  bucketMinutes: external_exports.union([external_exports.literal(10), external_exports.literal(60), external_exports.literal(1440)]).default(60)
101594
101658
  }).strict();
101595
- var count11 = external_exports.number().int().nonnegative();
101659
+ var count12 = external_exports.number().int().nonnegative();
101596
101660
  var funnelCountsDefinition = external_exports.object({
101597
- signUps: count11,
101598
- workspaces: count11,
101599
- activatedTeams: count11,
101600
- payingTeams: count11
101661
+ signUps: count12,
101662
+ workspaces: count12,
101663
+ activatedTeams: count12,
101664
+ payingTeams: count12
101601
101665
  });
101602
101666
  var funnelOutputDefinition = external_exports.object({
101603
101667
  bucketMinutes: external_exports.number().int(),
@@ -101623,30 +101687,34 @@ var cohortOutputDefinition = external_exports.object({
101623
101687
  promotionId: external_exports.string().nullable(),
101624
101688
  plan: external_exports.string(),
101625
101689
  paying: external_exports.boolean(),
101626
- members: count11,
101690
+ members: count12,
101627
101691
  agents: external_exports.object({
101628
- laze: count11,
101629
- connected: count11,
101692
+ laze: count12,
101693
+ connected: count12,
101630
101694
  firstLazeAgentAt: external_exports.iso.datetime().nullable()
101631
101695
  }),
101632
- turns: count11,
101633
- appsCreated: count11,
101634
- connectionsLinked: count11,
101696
+ turns: count12,
101697
+ appsCreated: count12,
101698
+ connectionsLinked: count12,
101635
101699
  /** Slack channels mirrored, Slack and Discord link and intake events, WhatsApp mirrors on. */
101636
101700
  messaging: external_exports.object({
101637
- slackChannels: count11,
101638
- slackEvents: count11,
101639
- discordEvents: count11,
101640
- whatsappMirrors: count11
101701
+ slackChannels: count12,
101702
+ slackEvents: count12,
101703
+ discordEvents: count12,
101704
+ whatsappMirrors: count12
101641
101705
  }),
101642
101706
  creatorLastMessageAt: external_exports.iso.datetime().nullable(),
101707
+ /** The creator's last heartbeat from a Laze web or desktop window here; null when never. */
101708
+ creatorLastSeenAt: external_exports.iso.datetime().nullable(),
101709
+ /** Members whose last heartbeat here falls in the 7 days before `until`. */
101710
+ peopleSeenLast7Days: count12,
101643
101711
  /** Live messages per UTC day; days with none are left out. */
101644
101712
  days: external_exports.array(
101645
101713
  external_exports.object({
101646
101714
  day: external_exports.string(),
101647
- byPeople: count11,
101648
- byAgents: count11,
101649
- people: count11
101715
+ byPeople: count12,
101716
+ byAgents: count12,
101717
+ people: count12
101650
101718
  })
101651
101719
  ),
101652
101720
  /** The once-only sends nurturing kept (first_agent_made, first_agent_nudge, ...). */
@@ -101670,25 +101738,25 @@ var capacityOutputDefinition = external_exports.object({
101670
101738
  /** The last day of host load, oldest first. */
101671
101739
  history: external_exports.array(hostLoadPointSchema)
101672
101740
  });
101673
- var tally = external_exports.array(external_exports.object({ key: external_exports.string(), count: count11 }));
101741
+ var tally = external_exports.array(external_exports.object({ key: external_exports.string(), count: count12 }));
101674
101742
  var snapshotOutputDefinition = external_exports.object({
101675
101743
  workspaceId: external_exports.string(),
101676
101744
  createdAt: external_exports.iso.datetime(),
101677
101745
  plan: external_exports.string(),
101678
101746
  status: external_exports.string(),
101679
- seats: external_exports.object({ people: count11, limit: external_exports.number().int().nullable() }),
101747
+ seats: external_exports.object({ people: count12, limit: external_exports.number().int().nullable() }),
101680
101748
  membersByRole: tally,
101681
101749
  invitesByStatus: tally,
101682
101750
  agentsByKind: tally,
101683
101751
  agentsByHosting: tally,
101684
- agentsConnected: count11,
101752
+ agentsConnected: count12,
101685
101753
  flagsOn: external_exports.array(external_exports.string()),
101686
- complimentaryComputers: count11
101754
+ complimentaryComputers: count12
101687
101755
  });
101688
101756
  var eventsInputDefinition = external_exports.object({ from: external_exports.iso.datetime(), to: external_exports.iso.datetime() }).strict();
101689
101757
  var eventCountsDefinition = external_exports.object({
101690
- total: count11,
101691
- byType: external_exports.array(external_exports.object({ eventType: external_exports.string(), count: count11 }))
101758
+ total: count12,
101759
+ byType: external_exports.array(external_exports.object({ eventType: external_exports.string(), count: count12 }))
101692
101760
  });
101693
101761
  var tenantEventsInputDefinition = external_exports.object({
101694
101762
  from: external_exports.iso.datetime(),
@@ -101738,9 +101806,9 @@ var databaseHealthDefinition = external_exports.object({
101738
101806
  deadlocks: external_exports.number().nonnegative(),
101739
101807
  tempBytes: external_exports.number().nonnegative(),
101740
101808
  connections: external_exports.object({
101741
- total: count11,
101742
- byState: external_exports.array(external_exports.object({ state: external_exports.string(), count: count11 })),
101743
- waitingOnLocks: count11,
101809
+ total: count12,
101810
+ byState: external_exports.array(external_exports.object({ state: external_exports.string(), count: count12 })),
101811
+ waitingOnLocks: count12,
101744
101812
  longestActiveSeconds: external_exports.number().nonnegative(),
101745
101813
  longestIdleInTransactionSeconds: external_exports.number().nonnegative()
101746
101814
  }),
@@ -101771,7 +101839,7 @@ var tenantAgentsDefinition = external_exports.object({
101771
101839
  createdAt: external_exports.iso.datetime(),
101772
101840
  modelLevel: external_exports.string().nullable(),
101773
101841
  model: external_exports.string().nullable(),
101774
- channels: count11,
101842
+ channels: count12,
101775
101843
  limitedUntil: external_exports.iso.datetime().nullable(),
101776
101844
  limitedBy: external_exports.string().nullable(),
101777
101845
  pausedAt: external_exports.iso.datetime().nullable(),
@@ -101793,7 +101861,9 @@ var tenantPeopleDefinition = external_exports.object({
101793
101861
  name: external_exports.string(),
101794
101862
  email: external_exports.string(),
101795
101863
  role: external_exports.string(),
101796
- joinedAt: external_exports.iso.datetime()
101864
+ joinedAt: external_exports.iso.datetime(),
101865
+ /** The member's last heartbeat from a Laze web or desktop window here; null when never. */
101866
+ lastSeenAt: external_exports.iso.datetime().nullable()
101797
101867
  })
101798
101868
  ),
101799
101869
  /** Invitations not accepted yet, and who sent each. */
@@ -101823,8 +101893,8 @@ var tenantBillingDefinition = external_exports.object({
101823
101893
  currencyChosen: external_exports.boolean(),
101824
101894
  cancelAtPeriodEnd: external_exports.boolean(),
101825
101895
  period: external_exports.object({ start: external_exports.iso.datetime(), end: external_exports.iso.datetime() }).nullable(),
101826
- seats: external_exports.object({ people: count11, limit: count11.nullable(), monthlyPrice: external_exports.number() }),
101827
- complimentarySeats: count11.nullable(),
101896
+ seats: external_exports.object({ people: count12, limit: count12.nullable(), monthlyPrice: external_exports.number() }),
101897
+ complimentarySeats: count12.nullable(),
101828
101898
  credits: external_exports.object({
101829
101899
  included: external_exports.number(),
101830
101900
  includedLeft: external_exports.number(),
@@ -101863,14 +101933,14 @@ var tenantVaultDefinition = external_exports.object({
101863
101933
  external_exports.object({
101864
101934
  subject: external_exports.string(),
101865
101935
  most: external_exports.string(),
101866
- maxLeaseSeconds: count11.nullable(),
101936
+ maxLeaseSeconds: count12.nullable(),
101867
101937
  blocked: external_exports.boolean(),
101868
101938
  approveNew: external_exports.boolean(),
101869
101939
  updatedAt: external_exports.iso.datetime()
101870
101940
  })
101871
101941
  ),
101872
101942
  /** Connections waiting for an admin, counted by kind; never a name, label or field. */
101873
- waitingByKind: external_exports.array(external_exports.object({ key: external_exports.string(), count: count11 }))
101943
+ waitingByKind: external_exports.array(external_exports.object({ key: external_exports.string(), count: count12 }))
101874
101944
  });
101875
101945
  var WHATSAPP_INTAKE_KEY_KINDS = ["msg", "edit", "del", "react", "read"];
101876
101946
  var tenantWhatsappInputDefinition = external_exports.object({
@@ -101883,17 +101953,17 @@ var tenantWhatsappOutputDefinition = external_exports.object({
101883
101953
  intake: external_exports.object({
101884
101954
  since: external_exports.iso.datetime(),
101885
101955
  until: external_exports.iso.datetime(),
101886
- total: count11,
101956
+ total: count12,
101887
101957
  byKind: external_exports.array(
101888
101958
  external_exports.object({
101889
101959
  kind: external_exports.enum([...WHATSAPP_INTAKE_KEY_KINDS, "other"]),
101890
- count: count11,
101960
+ count: count12,
101891
101961
  /** Events dated over a second after Laze got them, and the most ahead: a fast clock. */
101892
- aheadOfLaze: external_exports.object({ count: count11, maxAheadMs: external_exports.number().int() }).optional()
101962
+ aheadOfLaze: external_exports.object({ count: count12, maxAheadMs: external_exports.number().int() }).optional()
101893
101963
  })
101894
101964
  ),
101895
101965
  /** The workspace's chat messages and changes dated over a second after Laze stored them. */
101896
- chatAheadOfLaze: external_exports.object({ count: count11, maxAheadMs: external_exports.number().int() }).optional()
101966
+ chatAheadOfLaze: external_exports.object({ count: count12, maxAheadMs: external_exports.number().int() }).optional()
101897
101967
  })
101898
101968
  });
101899
101969
  var computerBrowserInputDefinition = external_exports.object({
@@ -101987,6 +102057,17 @@ var vaultAsksInputDefinition = external_exports.object({
101987
102057
  cursor: cursorDefinition.optional()
101988
102058
  }).strict();
101989
102059
  var vaultAsksOutputDefinition = external_exports.object({ asks: pageOf(vaultOpsAskSchema) });
102060
+ var vaultConnectionsInputDefinition = external_exports.object({
102061
+ from: external_exports.iso.datetime(),
102062
+ to: external_exports.iso.datetime(),
102063
+ connectionId: external_exports.string().trim().min(1).max(128).optional(),
102064
+ limit: external_exports.number().int().min(1).max(500).default(100),
102065
+ cursor: cursorDefinition.optional()
102066
+ }).strict();
102067
+ var vaultConnectionsOutputDefinition = external_exports.object({
102068
+ connections: external_exports.array(vaultOpsConnectionSchema),
102069
+ events: pageOf(vaultOpsConnectionEventSchema)
102070
+ });
101990
102071
  var browserErrorsInputDefinition = external_exports.object({
101991
102072
  from: external_exports.iso.datetime(),
101992
102073
  to: external_exports.iso.datetime(),
@@ -102092,7 +102173,7 @@ var OPS_FUNCTIONS = {
102092
102173
  output: loginStatesSchema
102093
102174
  }),
102094
102175
  "tenant.people": entry({
102095
- title: "One workspace's people: members' names, emails and join times, and pending invites",
102176
+ title: "One workspace's people: members' names, emails, join and last seen times, and pending invites",
102096
102177
  scope: "tenant",
102097
102178
  view: "table",
102098
102179
  input: noInputDefinition,
@@ -102141,6 +102222,13 @@ var OPS_FUNCTIONS = {
102141
102222
  input: vaultAsksInputDefinition,
102142
102223
  output: vaultAsksOutputDefinition
102143
102224
  }),
102225
+ "tenant.vault_connections": entry({
102226
+ title: "One workspace's vault connections: status, sealing, provider and their audit codes",
102227
+ scope: "tenant",
102228
+ view: "table",
102229
+ input: vaultConnectionsInputDefinition,
102230
+ output: vaultConnectionsOutputDefinition
102231
+ }),
102144
102232
  "tenant.whatsapp_sends": entry({
102145
102233
  title: "One workspace's last WhatsApp sends: state, failure code and times, no content",
102146
102234
  scope: "tenant",
@@ -104454,7 +104542,7 @@ async function vaultSave({ context, args }) {
104454
104542
  // src/services/vault-scrub-commands.service.ts
104455
104543
  function lineOf6(channel) {
104456
104544
  const where = channel.name ? `#${channel.name}` : channel.channelId;
104457
- const found = Object.entries(channel.found).map(([vendor, count12]) => `${vendor} ${count12}`).join(", ");
104545
+ const found = Object.entries(channel.found).map(([vendor, count13]) => `${vendor} ${count13}`).join(", ");
104458
104546
  const kinds = [`held ${channel.held}`, ...found ? [`found: ${found}`] : []].join("; ");
104459
104547
  return `${where} scanned ${channel.scanned} changed ${channel.messages} ${kinds}
104460
104548
  `;
@@ -105531,8 +105619,8 @@ async function roles({ context, args }) {
105531
105619
  const catalogue = await client.get("/api/roles");
105532
105620
  if (args.flags.json) return printJson11(context, catalogue);
105533
105621
  for (const role2 of catalogue) {
105534
- const count12 = `${role2.permissions.length} permissions`;
105535
- context.out(`${role2.label} ${count12} ${role2.description}
105622
+ const count13 = `${role2.permissions.length} permissions`;
105623
+ context.out(`${role2.label} ${count13} ${role2.description}
105536
105624
  `);
105537
105625
  context.out(` ${role2.permissions.join(", ")}
105538
105626
  `);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lazehq/cli",
3
- "version": "0.1.119",
3
+ "version": "0.1.120",
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",