@ai-matrx/meet 0.11.23 → 0.11.25

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/react.cjs CHANGED
@@ -6732,6 +6732,13 @@ function wrapUpStatus(bundle) {
6732
6732
  const intelligence = typeof intelligenceRaw === "object" && intelligenceRaw !== null && !Array.isArray(intelligenceRaw) ? intelligenceRaw : {};
6733
6733
  const wrapUpRaw = intelligence["wrap_up"];
6734
6734
  const wrapUp = typeof wrapUpRaw === "object" && wrapUpRaw !== null && !Array.isArray(wrapUpRaw) ? wrapUpRaw : {};
6735
+ if (wrapUp["state"] === "empty") {
6736
+ const reason = wrapUp["reason"];
6737
+ return {
6738
+ state: "empty",
6739
+ message: typeof reason === "string" && reason.trim().length > 0 ? reason.trim() : "No one spoke in this meeting, so there is no summary."
6740
+ };
6741
+ }
6735
6742
  if (wrapUp["state"] === "failed") {
6736
6743
  const reason = wrapUp["reason"];
6737
6744
  return {
@@ -12260,7 +12267,7 @@ function MeetingRecordBody({
12260
12267
  {
12261
12268
  title: "Decisions",
12262
12269
  notes: bundle.decisions,
12263
- empty: absenceSentence(
12270
+ empty: wrapUp.state === "empty" ? "Nothing was discussed, so there are no decisions." : absenceSentence(
12264
12271
  bundle,
12265
12272
  "notes",
12266
12273
  "Nothing was recorded as a decision in this meeting."
@@ -12272,7 +12279,7 @@ function MeetingRecordBody({
12272
12279
  {
12273
12280
  title: "Action items",
12274
12281
  notes: bundle.actionItems,
12275
- empty: absenceSentence(
12282
+ empty: wrapUp.state === "empty" ? "Nothing was discussed, so there are no action items." : absenceSentence(
12276
12283
  bundle,
12277
12284
  "notes",
12278
12285
  "No action items came out of this meeting."