@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.
- package/dist/chat/index.d.ts +7 -0
- package/dist/chat/index.js +5 -5
- package/dist/chat/index.js.map +1 -1
- package/dist/chat/next-js/index.js +1 -1
- package/dist/chat/next-js/index.js.map +1 -1
- package/dist/mcp/index.d.ts +97 -11
- package/dist/mcp/index.js +3 -3
- package/dist/mcp/index.js.map +1 -1
- package/package.json +1 -1
package/dist/chat/index.d.ts
CHANGED
|
@@ -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. */
|