@waniwani/sdk 0.14.2 → 0.14.3

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.
Files changed (41) hide show
  1. package/README.md +5 -5
  2. package/dist/chat/embed.js +62 -63
  3. package/dist/chat/embed.js.map +1 -1
  4. package/dist/chat/express-js/index.d.ts +4 -4
  5. package/dist/chat/express-js/index.js.map +1 -1
  6. package/dist/chat/index.d.ts +9 -9
  7. package/dist/chat/index.js +7 -8
  8. package/dist/chat/index.js.map +1 -1
  9. package/dist/chat/next-js/index.d.ts +5 -5
  10. package/dist/chat/next-js/index.js.map +1 -1
  11. package/dist/chat/server/index.d.ts +4 -4
  12. package/dist/chat/server/index.js.map +1 -1
  13. package/dist/index.d.ts +9 -9
  14. package/dist/index.js +1 -1
  15. package/dist/index.js.map +1 -1
  16. package/dist/kb/index.js.map +1 -1
  17. package/dist/legacy/chat/express-js/index.d.ts +4 -4
  18. package/dist/legacy/chat/express-js/index.js.map +1 -1
  19. package/dist/legacy/chat/next-js/index.d.ts +5 -5
  20. package/dist/legacy/chat/next-js/index.js.map +1 -1
  21. package/dist/legacy/index.d.ts +11 -11
  22. package/dist/legacy/index.js +13 -14
  23. package/dist/legacy/index.js.map +1 -1
  24. package/dist/legacy/mcp/react.d.ts +1 -1
  25. package/dist/legacy/mcp/react.js +1 -1
  26. package/dist/legacy/mcp/react.js.map +1 -1
  27. package/dist/mcp/index.d.ts +15 -15
  28. package/dist/mcp/index.js +5 -5
  29. package/dist/mcp/index.js.map +1 -1
  30. package/dist/mcp/react.d.ts +3 -3
  31. package/dist/mcp/react.js +1 -1
  32. package/dist/mcp/react.js.map +1 -1
  33. package/dist/{mcp-apps-client-OFYMQOI3.js → mcp-apps-client-WEXKWHUI.js} +2 -2
  34. package/dist/{mcp-apps-client-OFYMQOI3.js.map → mcp-apps-client-WEXKWHUI.js.map} +1 -1
  35. package/dist/{mcp-apps-client-RY3VD4L7.js → mcp-apps-client-Z5ICFYSR.js} +2 -2
  36. package/dist/{mcp-apps-client-RY3VD4L7.js.map → mcp-apps-client-Z5ICFYSR.js.map} +1 -1
  37. package/dist/{openai-client-TZIOCMXP.js → openai-client-PUBKF5TI.js} +2 -2
  38. package/dist/{openai-client-TZIOCMXP.js.map → openai-client-PUBKF5TI.js.map} +1 -1
  39. package/dist/{openai-client-XYLENCIC.js → openai-client-VRJPAPFR.js} +2 -2
  40. package/dist/{openai-client-XYLENCIC.js.map → openai-client-VRJPAPFR.js.map} +1 -1
  41. package/package.json +2 -2
package/README.md CHANGED
@@ -88,14 +88,14 @@ See [Why MCP funnels](https://docs.waniwani.ai/why-mcp-funnels) for the full arg
88
88
  ## How it compares
89
89
 
90
90
  - **vs the raw MCP SDK.** You would serialize state through the model on every turn. `createFlow` persists state server-side under the session id; the model carries nothing between calls.
91
- - **vs LangChain or LangGraph.** General-purpose agent graphs. WaniWani is funnel-shaped: interrupts, re-ask on validation, auto-skip pre-filled fields, widget delegation, typed state via Zod. See [vs LangGraph](https://docs.waniwani.ai/compare/vs-langgraph).
91
+ - **vs LangChain or LangGraph.** General-purpose agent graphs. Waniwani is funnel-shaped: interrupts, re-ask on validation, auto-skip pre-filled fields, widget delegation, typed state via Zod. See [vs LangGraph](https://docs.waniwani.ai/compare/vs-langgraph).
92
92
  - **vs closed-source platform SDKs.** MIT. The flow engine has zero runtime dependency on `app.waniwani.ai`. The hosted Platform is opt-in via a single env var.
93
93
 
94
94
  ## Engine + optional Platform
95
95
 
96
96
  The flow engine is MIT and runs without an API key against any `get` / `set` / `delete` store (Redis, Upstash, Cloudflare KV, DynamoDB, Postgres, in-memory).
97
97
 
98
- Set `WANIWANI_API_KEY` to connect the [WaniWani Platform](https://docs.waniwani.ai/platform/overview):
98
+ Set `WANIWANI_API_KEY` to connect the [Waniwani Platform](https://docs.waniwani.ai/platform/overview):
99
99
 
100
100
  - Hosted, encrypted-at-rest flow state. No infra to run.
101
101
  - Event tracking and funnel analytics.
@@ -119,7 +119,7 @@ git clone https://github.com/WaniWani-AI/mcp-distribution-template.git my-mcp-se
119
119
 
120
120
  ## CLI
121
121
 
122
- The companion [`@waniwani/cli`](https://www.npmjs.com/package/@waniwani/cli) wires a local repo to a WaniWani agent and runs your MCP server against the hosted playground in one command. Optional — the SDK works without it.
122
+ The companion [`@waniwani/cli`](https://www.npmjs.com/package/@waniwani/cli) wires a local repo to a Waniwani agent and runs your MCP server against the hosted playground in one command. Optional — the SDK works without it.
123
123
 
124
124
  ```bash
125
125
  bun add -g @waniwani/cli
@@ -151,6 +151,6 @@ Found a vulnerability? Please report it privately — see [SECURITY.md](./SECURI
151
151
 
152
152
  ## License
153
153
 
154
- [MIT](./LICENSE) © WaniWani
154
+ [MIT](./LICENSE) © Waniwani
155
155
 
156
- "WaniWani" is a trademark of WaniWani Inc. The license covers the code, not the name.
156
+ "Waniwani" is a trademark of Waniwani Inc. The license covers the code, not the name.