@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.
- package/README.md +5 -5
- package/dist/chat/embed.js +62 -63
- package/dist/chat/embed.js.map +1 -1
- package/dist/chat/express-js/index.d.ts +4 -4
- package/dist/chat/express-js/index.js.map +1 -1
- package/dist/chat/index.d.ts +9 -9
- package/dist/chat/index.js +7 -8
- package/dist/chat/index.js.map +1 -1
- package/dist/chat/next-js/index.d.ts +5 -5
- package/dist/chat/next-js/index.js.map +1 -1
- package/dist/chat/server/index.d.ts +4 -4
- package/dist/chat/server/index.js.map +1 -1
- package/dist/index.d.ts +9 -9
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/kb/index.js.map +1 -1
- package/dist/legacy/chat/express-js/index.d.ts +4 -4
- package/dist/legacy/chat/express-js/index.js.map +1 -1
- package/dist/legacy/chat/next-js/index.d.ts +5 -5
- package/dist/legacy/chat/next-js/index.js.map +1 -1
- package/dist/legacy/index.d.ts +11 -11
- package/dist/legacy/index.js +13 -14
- package/dist/legacy/index.js.map +1 -1
- package/dist/legacy/mcp/react.d.ts +1 -1
- package/dist/legacy/mcp/react.js +1 -1
- package/dist/legacy/mcp/react.js.map +1 -1
- package/dist/mcp/index.d.ts +15 -15
- package/dist/mcp/index.js +5 -5
- package/dist/mcp/index.js.map +1 -1
- package/dist/mcp/react.d.ts +3 -3
- package/dist/mcp/react.js +1 -1
- package/dist/mcp/react.js.map +1 -1
- package/dist/{mcp-apps-client-OFYMQOI3.js → mcp-apps-client-WEXKWHUI.js} +2 -2
- package/dist/{mcp-apps-client-OFYMQOI3.js.map → mcp-apps-client-WEXKWHUI.js.map} +1 -1
- package/dist/{mcp-apps-client-RY3VD4L7.js → mcp-apps-client-Z5ICFYSR.js} +2 -2
- package/dist/{mcp-apps-client-RY3VD4L7.js.map → mcp-apps-client-Z5ICFYSR.js.map} +1 -1
- package/dist/{openai-client-TZIOCMXP.js → openai-client-PUBKF5TI.js} +2 -2
- package/dist/{openai-client-TZIOCMXP.js.map → openai-client-PUBKF5TI.js.map} +1 -1
- package/dist/{openai-client-XYLENCIC.js → openai-client-VRJPAPFR.js} +2 -2
- package/dist/{openai-client-XYLENCIC.js.map → openai-client-VRJPAPFR.js.map} +1 -1
- 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.
|
|
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 [
|
|
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
|
|
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) ©
|
|
154
|
+
[MIT](./LICENSE) © Waniwani
|
|
155
155
|
|
|
156
|
-
"
|
|
156
|
+
"Waniwani" is a trademark of Waniwani Inc. The license covers the code, not the name.
|