@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/core.d.cts CHANGED
@@ -2544,6 +2544,11 @@ type WrapUpStatus = {
2544
2544
  } | {
2545
2545
  readonly state: "failed";
2546
2546
  readonly message: string;
2547
+ }
2548
+ /** Nobody spoke: a normal outcome, said plainly (not an alert). */
2549
+ | {
2550
+ readonly state: "empty";
2551
+ readonly message: string;
2547
2552
  } | {
2548
2553
  readonly state: "refused";
2549
2554
  readonly message: string;
package/dist/core.d.ts CHANGED
@@ -2544,6 +2544,11 @@ type WrapUpStatus = {
2544
2544
  } | {
2545
2545
  readonly state: "failed";
2546
2546
  readonly message: string;
2547
+ }
2548
+ /** Nobody spoke: a normal outcome, said plainly (not an alert). */
2549
+ | {
2550
+ readonly state: "empty";
2551
+ readonly message: string;
2547
2552
  } | {
2548
2553
  readonly state: "refused";
2549
2554
  readonly message: string;
package/dist/core.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 {