@m8t-stack/cli 0.2.148 → 0.2.149

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.
package/dist/cli.js CHANGED
@@ -1464,7 +1464,7 @@ function installFoundryDnsShim() {
1464
1464
  }
1465
1465
 
1466
1466
  // src/lib/package-version.ts
1467
- var CLI_VERSION = "0.2.148";
1467
+ var CLI_VERSION = "0.2.149";
1468
1468
 
1469
1469
  // src/lib/render-error.ts
1470
1470
  init_errors();
@@ -30062,7 +30062,11 @@ async function runPipeline(args) {
30062
30062
  (consumedRowsByPk[pk] ??= []).push(...grpRows);
30063
30063
  const trustedOwner = g.source !== "a2a" && g.user.ref !== "unknown" && !g.user.ref.startsWith("svc:");
30064
30064
  const dreamItems = trustedOwner ? teachingFilteredItems : teachingFilteredItems.map((i) => ({ ...i, text: maskContactStrict(i.text) }));
30065
- const conv = normalize(ng, dreamItems, enrichment);
30065
+ const dreamEnrichment = trustedOwner || !enrichment ? enrichment : {
30066
+ ...enrichment,
30067
+ tools: enrichment.tools.map((t) => ({ ...t, queries: t.queries.map((q) => maskContactStrict(q)) }))
30068
+ };
30069
+ const conv = normalize(ng, dreamItems, dreamEnrichment);
30066
30070
  conv.provenance = { pk, rows: provRows };
30067
30071
  conversations.push(conv);
30068
30072
  if (outcome === "consumed")
@@ -32437,7 +32441,7 @@ var ConversationsSweepCommand = class extends M8tCommand {
32437
32441
  });
32438
32442
  max = Option54.String("--max", "200", { description: "Maximum deletions per run" });
32439
32443
  graceDays = Option54.String("--grace-days", "14", {
32440
- description: "Days past the 30-day key life before a conversation is eligible"
32444
+ description: `Days past the ${String(KEY_LIFETIME_DAYS)}-day key life before a conversation is eligible`
32441
32445
  });
32442
32446
  lookbackDays = Option54.String("--lookback-days", "180", {
32443
32447
  description: "How far back to scan ledger activity for candidates"