@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.js CHANGED
@@ -6441,6 +6441,13 @@ function wrapUpStatus(bundle) {
6441
6441
  const intelligence = typeof intelligenceRaw === "object" && intelligenceRaw !== null && !Array.isArray(intelligenceRaw) ? intelligenceRaw : {};
6442
6442
  const wrapUpRaw = intelligence["wrap_up"];
6443
6443
  const wrapUp = typeof wrapUpRaw === "object" && wrapUpRaw !== null && !Array.isArray(wrapUpRaw) ? wrapUpRaw : {};
6444
+ if (wrapUp["state"] === "empty") {
6445
+ const reason = wrapUp["reason"];
6446
+ return {
6447
+ state: "empty",
6448
+ message: typeof reason === "string" && reason.trim().length > 0 ? reason.trim() : "No one spoke in this meeting, so there is no summary."
6449
+ };
6450
+ }
6444
6451
  if (wrapUp["state"] === "failed") {
6445
6452
  const reason = wrapUp["reason"];
6446
6453
  return {
@@ -11969,7 +11976,7 @@ function MeetingRecordBody({
11969
11976
  {
11970
11977
  title: "Decisions",
11971
11978
  notes: bundle.decisions,
11972
- empty: absenceSentence(
11979
+ empty: wrapUp.state === "empty" ? "Nothing was discussed, so there are no decisions." : absenceSentence(
11973
11980
  bundle,
11974
11981
  "notes",
11975
11982
  "Nothing was recorded as a decision in this meeting."
@@ -11981,7 +11988,7 @@ function MeetingRecordBody({
11981
11988
  {
11982
11989
  title: "Action items",
11983
11990
  notes: bundle.actionItems,
11984
- empty: absenceSentence(
11991
+ empty: wrapUp.state === "empty" ? "Nothing was discussed, so there are no action items." : absenceSentence(
11985
11992
  bundle,
11986
11993
  "notes",
11987
11994
  "No action items came out of this meeting."