npm analyzed 0.13.3

@waniwani/sdk

v0.13.3
npm

MCP distribution SDK. Build sales funnels, lead generation, booking, and quote apps on top of your MCP server. Event tracking, flows, widgets, knowledge base.

maintainer
maxime-waniwani
license
MIT
first seen
2026-06-03
last seen
2026-06-15
releases · 30d
90
short id

Drift inferred · capture-to-capture

No drift recorded — single capability capture; advisories appear once its surface changes.

capabilities 0 tools
transport counts 0 tools · 0 res · 0 prompts permission surface via code analysis

no tools enumerated yet for this server.

code evidence v0.13.3 · npm-tarball
evidence-backed findings quoted directly from the published source artifact — not inferred

shell / exec 6

  • shell package/dist/blade-BVUO2H7O.js :1 import{a as p}from"./chunk-2RS4JWNJ.js";import{a as o}from"./chunk-IRS2AGXK.js";import{a as r}from"./chunk-LAG2OMSH.js";import{a as i}from"./chunk-2NQMCQ7O.js";import{a}from"./chunk-BKIIYGWO.js";impor
  • shell package/dist/blade-QBDEYXMB.js :2 import{a as p}from"./chunk-7JLJRE2N.js";import{a as i}from"./chunk-M4CKEROZ.js";import{a}from"./chunk-JZBW5KEX.js";import"./chunk-WKR2RWJ6.js";import{a as r}from"./chunk-F3QSOBPN.js";import{a as n}fro
  • shell package/dist/chunk-7PHUBJVC.js :2 import{a as i}from"./chunk-7JLJRE2N.js";import{a}from"./chunk-JZBW5KEX.js";import{a as r}from"./chunk-F3QSOBPN.js";import{a as n}from"./chunk-HMEGK7JX.js";import{a as e}from"./chunk-VME4UB43.js";impor
  • shell package/dist/chunk-V6FKURGI.js :1 import{a as p}from"./chunk-IRS2AGXK.js";import{a as r}from"./chunk-LAG2OMSH.js";import{a as i}from"./chunk-2NQMCQ7O.js";import{a}from"./chunk-BKIIYGWO.js";import{a as n}from"./chunk-YTXGYW4C.js";impor
  • shell package/dist/cobol-6DNJTKH3.js :2 import{a as n}from"./chunk-WKR2RWJ6.js";import{a as e}from"./chunk-HMEGK7JX.js";import"./chunk-VME4UB43.js";import"./chunk-FWHINPYE.js";import"./chunk-V3ZDECK5.js";var t=Object.freeze(JSON.parse(`{"di
  • shell package/dist/cobol-SKJIT3WM.js :1 import{a as n}from"./chunk-BKIIYGWO.js";import"./chunk-YTXGYW4C.js";import{a as t}from"./chunk-PXEOO2Q3.js";import"./chunk-QP24BTOT.js";import{d as e}from"./chunk-LPD7BHH5.js";e();var o=Object.freeze(

network 20

  • net package/dist/blade-BVUO2H7O.js :1 import{a as p}from"./chunk-2RS4JWNJ.js";import{a as o}from"./chunk-IRS2AGXK.js";import{a as r}from"./chunk-LAG2OMSH.js";import{a as i}from"./chunk-2NQMCQ7O.js";import{a}from"./chunk-BKIIYGWO.js";impor
  • net package/dist/blade-QBDEYXMB.js :2 import{a as p}from"./chunk-7JLJRE2N.js";import{a as i}from"./chunk-M4CKEROZ.js";import{a}from"./chunk-JZBW5KEX.js";import"./chunk-WKR2RWJ6.js";import{a as r}from"./chunk-F3QSOBPN.js";import{a as n}fro
  • net package/dist/chat/embed.js :113 `).map(c=>[{content:c,color:"inherit",bgColor:"transparent",htmlStyle:{},offset:0}])}),[e]),[s,u]=(0,an.useState)(i);return(0,an.useEffect)(()=>{if(!l){u(i);return}let c=l.highlight({code:e,language:t
  • net package/dist/chat/express-js/index.js :9 `):e}function G(e){let{apiKey:t,apiUrl:r,source:c,systemPrompt:n,maxSteps:a,beforeRequest:u,mcpServerUrl:i,resolveConfig:o,debug:d,webSearch:s}=e,m=E("chat",d);return async function(C){m("\u2192 POST"
  • net package/dist/chat/index.js :2 import{a as Er,b as _r,c as Nr,d as it,e as lt,f as ta,g as Or,h as Ur,i as Hr,j as qr,k as aa,l as Gr,m as fo,n as Wr,o as zr,p as ut,u as Lt}from"../chunk-5JBHQYU5.js";import"../chunk-V3ZDECK5.js";i
  • net package/dist/chat/next-js/index.js :9 `):t}function G(t){let{apiKey:e,apiUrl:o,source:i,systemPrompt:s,maxSteps:u,beforeRequest:g,mcpServerUrl:a,resolveConfig:c,debug:C,webSearch:r}=t,p=A("chat",C);return async function(h){p("\u2192 POST"
  • net package/dist/chunk-4WLKD7DL.js :106 Please report this to https://github.com/markedjs/marked.`,e){let n="<p>An error occurred:</p><pre>"+Rt(r.message+"",!0)+"</pre>";return t?Promise.resolve(n):n}if(t)return Promise.reject(r);throw r}}}
  • net package/dist/chunk-5JBHQYU5.js :107 Please report this to https://github.com/markedjs/marked.`,e){let n="<p>An error occurred:</p><pre>"+Nt(r.message+"",!0)+"</pre>";return t?Promise.resolve(n):n}if(t)return Promise.reject(r);throw r}}}
  • net package/dist/chunk-7PHUBJVC.js :2 import{a as i}from"./chunk-7JLJRE2N.js";import{a}from"./chunk-JZBW5KEX.js";import{a as r}from"./chunk-F3QSOBPN.js";import{a as n}from"./chunk-HMEGK7JX.js";import{a as e}from"./chunk-VME4UB43.js";impor
  • net package/dist/chunk-V6FKURGI.js :1 import{a as p}from"./chunk-IRS2AGXK.js";import{a as r}from"./chunk-LAG2OMSH.js";import{a as i}from"./chunk-2NQMCQ7O.js";import{a}from"./chunk-BKIIYGWO.js";import{a as n}from"./chunk-YTXGYW4C.js";impor
  • net package/dist/hack-3TGPQNR2.js :2 import{a as t}from"./chunk-7JLJRE2N.js";import{a as e}from"./chunk-HMEGK7JX.js";import"./chunk-VME4UB43.js";import"./chunk-FWHINPYE.js";import"./chunk-V3ZDECK5.js";var n=Object.freeze(JSON.parse(`{"di
  • net package/dist/hack-KV5GHBVV.js :1 import{a as n}from"./chunk-IRS2AGXK.js";import{a as t}from"./chunk-BKIIYGWO.js";import"./chunk-YTXGYW4C.js";import"./chunk-QP24BTOT.js";import{d as e}from"./chunk-LPD7BHH5.js";e();var a=Object.freeze(
  • net package/dist/index.js :1 var y=class extends Error{constructor(t,r){super(t);this.status=r;this.name="WaniWaniError"}};import{existsSync as L,readFileSync as V}from"fs";import{resolve as K}from"path";var N="waniwani.json",m;f
  • net package/dist/internal/index.js :1 import{parseJsonEventStream as w,readUIMessageStream as x,uiMessageChunkSchema as U}from"ai";function h(t){let s=t.parts.filter(e=>e.type==="text").map(e=>e.text).join(""),o=t.parts.filter(e=>e.type.s
  • net package/dist/kb/index.js :1 var r=class extends Error{constructor(n,c){super(n);this.status=c;this.name="WaniWaniError"}};var f="@waniwani/sdk";function h(o){let{apiUrl:a,apiKey:n}=o;function c(){if(!n)throw new Error("WANIWANI_
  • net package/dist/legacy/chat/express-js/index.js :9 `):e}function G(e){let{apiKey:t,apiUrl:r,source:c,systemPrompt:n,maxSteps:a,beforeRequest:u,mcpServerUrl:i,resolveConfig:o,debug:d,webSearch:s}=e,m=E("chat",d);return async function(C){m("\u2192 POST"
  • net package/dist/legacy/chat/next-js/index.js :9 `):t}function G(t){let{apiKey:e,apiUrl:o,source:i,systemPrompt:s,maxSteps:u,beforeRequest:g,mcpServerUrl:a,resolveConfig:c,debug:C,webSearch:r}=t,p=A("chat",C);return async function(h){p("\u2192 POST"
  • net package/dist/legacy/index.js :1 import{a as qr,b as Wr,c as Gr,d as wt,e as xt,f as ga,g as jr,h as zr,i as Vr,j as $r,k as wa,l as Xr,m as go,n as Kr,o as Qr,p as Lt,u as vt}from"../chunk-4WLKD7DL.js";import{a as ho,b as cu,c as fu
  • net package/dist/mcp/index.js :3 ${O.context}`:`ERROR: ${b}`}:O),Y=He(M,g.context,c,d,l);if(Y)return{...Y,nodesVisited:u};break}}let w=o.get(c);if(!w)return{content:{status:"error",error:`No outgoing edge from node "${c}"`},nodesVisi
  • net package/dist/mcp/react.js :67 `})]});import{useContext as Pt,useEffect as Ge,useMemo as Ht,useRef as Pe,useState as je}from"react";function Lt(){return crypto.randomUUID()}function M(e,t,n){return{event_id:Lt(),event_type:t,timest

secrets 7

  • secrets package/dist/chat/express-js/index.js :9 `):e}function G(e){let{apiKey:t,apiUrl:r,source:c,systemPrompt:n,maxSteps:a,beforeRequest:u,mcpServerUrl:i,resolveConfig:o,debug:d,webSearch:s}=e,m=E("chat",d);return async function(C){m("\u2192 POST"
  • secrets package/dist/chat/next-js/index.js :9 `):t}function G(t){let{apiKey:e,apiUrl:o,source:i,systemPrompt:s,maxSteps:u,beforeRequest:g,mcpServerUrl:a,resolveConfig:c,debug:C,webSearch:r}=t,p=A("chat",C);return async function(h){p("\u2192 POST"
  • secrets package/dist/index.js :1 var y=class extends Error{constructor(t,r){super(t);this.status=r;this.name="WaniWaniError"}};import{existsSync as L,readFileSync as V}from"fs";import{resolve as K}from"path";var N="waniwani.json",m;f
  • secrets package/dist/legacy/chat/express-js/index.js :9 `):e}function G(e){let{apiKey:t,apiUrl:r,source:c,systemPrompt:n,maxSteps:a,beforeRequest:u,mcpServerUrl:i,resolveConfig:o,debug:d,webSearch:s}=e,m=E("chat",d);return async function(C){m("\u2192 POST"
  • secrets package/dist/legacy/chat/next-js/index.js :9 `):t}function G(t){let{apiKey:e,apiUrl:o,source:i,systemPrompt:s,maxSteps:u,beforeRequest:g,mcpServerUrl:a,resolveConfig:c,debug:C,webSearch:r}=t,p=A("chat",C);return async function(h){p("\u2192 POST"
  • secrets package/dist/legacy/index.js :68 `):e}function Bs(e){let{apiKey:t,apiUrl:a,source:o,systemPrompt:r,maxSteps:s,beforeRequest:n,mcpServerUrl:i,resolveConfig:l,debug:u,webSearch:c}=e,d=Ue("chat",u);return async function(m){d("\u2192 POS
  • secrets package/dist/mcp/index.js :3 ${O.context}`:`ERROR: ${b}`}:O),Y=He(M,g.context,c,d,l);if(Y)return{...Y,nodesVisited:u};break}}let w=o.get(c);if(!w)return{content:{status:"error",error:`No outgoing edge from node "${c}"`},nodesVisi

install hooks 1

  • postinstall package/package.json :94 lefthook install || true

declared dependencies 30

  • @ai-sdk/mcp@^1.0.0
  • @ai-sdk/react@^3.0.134
  • @biomejs/biome@^2.3.13
  • @modelcontextprotocol/ext-apps@~1.5.0
  • @modelcontextprotocol/sdk@~1.29.0
  • @streamdown/cjk@^1.0.1
  • @streamdown/code@^1.0.1
  • @tailwindcss/cli@^4.1.18
  • @tailwindcss/postcss@^4.1.18
  • @types/bun@^1.3.12
  • @types/node@^22.10.0
  • @types/react@^19.0.0
  • @types/react-dom@^19.2.3
  • ai@^6.0.141
  • clsx@^2.1.1
  • fake-indexeddb@^6.2.5
  • happy-dom@^20.7.0
  • lefthook@^2.0.16
  • lucide-react@^0.563.0
  • postcss@^8.5.6
  • react@^19.0.0
  • react-dom@^19.2.4
  • streamdown@^2.1.0
  • tailwind-merge@^3.4.0
  • tailwindcss@^4
  • tsup@^8.3.5
  • tsx@^4.19.2
  • typescript@^5.7.3
  • use-stick-to-bottom@^1.1.3
  • zod@^4.0.0