@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/index.js CHANGED
@@ -6471,6 +6471,13 @@ function wrapUpStatus(bundle) {
6471
6471
  const intelligence = typeof intelligenceRaw === "object" && intelligenceRaw !== null && !Array.isArray(intelligenceRaw) ? intelligenceRaw : {};
6472
6472
  const wrapUpRaw = intelligence["wrap_up"];
6473
6473
  const wrapUp = typeof wrapUpRaw === "object" && wrapUpRaw !== null && !Array.isArray(wrapUpRaw) ? wrapUpRaw : {};
6474
+ if (wrapUp["state"] === "empty") {
6475
+ const reason = wrapUp["reason"];
6476
+ return {
6477
+ state: "empty",
6478
+ message: typeof reason === "string" && reason.trim().length > 0 ? reason.trim() : "No one spoke in this meeting, so there is no summary."
6479
+ };
6480
+ }
6474
6481
  if (wrapUp["state"] === "failed") {
6475
6482
  const reason = wrapUp["reason"];
6476
6483
  return {