@waniwani/sdk 0.1.20-beta.20 → 0.1.20-beta.22

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.
@@ -99,6 +99,13 @@ interface ChatBaseProps {
99
99
  structuredContent?: Record<string, unknown>;
100
100
  _meta?: Record<string, unknown>;
101
101
  }>;
102
+ /**
103
+ * Enable debug mode. When true, the `_meta` field is shown in tool call
104
+ * inputs and outputs instead of being filtered out.
105
+ * Tip: set to `process.env.NEXT_PUBLIC_WANIWANI_DEBUG === '1'` to mirror
106
+ * the server-side `WANIWANI_DEBUG` env var.
107
+ */
108
+ debug?: boolean;
102
109
  }
103
110
  interface ChatBarProps extends ChatBaseProps {
104
111
  /** Chat bar width in pixels. Defaults to 600. */