@ai-matrx/meet 0.11.22 → 0.11.24

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/index.cjs CHANGED
@@ -6723,6 +6723,13 @@ function wrapUpStatus(bundle) {
6723
6723
  const intelligence = typeof intelligenceRaw === "object" && intelligenceRaw !== null && !Array.isArray(intelligenceRaw) ? intelligenceRaw : {};
6724
6724
  const wrapUpRaw = intelligence["wrap_up"];
6725
6725
  const wrapUp = typeof wrapUpRaw === "object" && wrapUpRaw !== null && !Array.isArray(wrapUpRaw) ? wrapUpRaw : {};
6726
+ if (wrapUp["state"] === "empty") {
6727
+ const reason = wrapUp["reason"];
6728
+ return {
6729
+ state: "empty",
6730
+ message: typeof reason === "string" && reason.trim().length > 0 ? reason.trim() : "No one spoke in this meeting, so there is no summary."
6731
+ };
6732
+ }
6726
6733
  if (wrapUp["state"] === "failed") {
6727
6734
  const reason = wrapUp["reason"];
6728
6735
  return {