@mcpjam/inspector 3.11.0 → 3.12.0
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/client/assets/OAuthDesktopReturnNotice-BeDakGgb.css +2 -0
- package/dist/client/assets/OAuthDesktopReturnNotice-iYC9JwKS.js +11 -0
- package/dist/client/assets/{mermaid-GHXKKRXX-DooOqFNN.js → app-bootstrap-CFIJ9N6G.js} +1909 -649
- package/dist/client/assets/app-bootstrap-CbO9HC35.css +1 -0
- package/dist/client/assets/button-BPKzBERq.js +3 -0
- package/dist/client/assets/chunk-YOKDWASO-BBgLTb-C.js +145 -0
- package/dist/client/assets/dead-clicks-autocapture-vzk4B4ag.js +3 -0
- package/dist/client/assets/error-reporting-B2Nfbu05.js +102 -0
- package/dist/client/assets/error-reporting-DiPgrWbD.js +1 -0
- package/dist/client/assets/exception-autocapture-CbirCY_N.js +5 -0
- package/dist/client/assets/failed-request-tracker-mpVBJT24.js +3 -0
- package/dist/client/assets/highlighted-body-KPVGNVTW-D71DU577.js +3 -0
- package/dist/client/assets/index-foMfZA46.js +4 -0
- package/dist/client/assets/jszip.min-DP15U89q.js +4 -0
- package/dist/client/assets/mermaid-HWGCJPDP-GcLzqiVf.js +1 -0
- package/dist/client/assets/posthog-recorder-ChO49lxL.js +110 -0
- package/dist/client/assets/preload-helper-CzPH2rtr.js +3 -0
- package/dist/client/assets/rolldown-runtime-C3dIJScy.js +1 -0
- package/dist/client/assets/surveys-Cr5c_q1f.js +3 -0
- package/dist/client/assets/trace-timeline-CLFYdXi8.js +1 -0
- package/dist/client/assets/trace-timeline-D2HsPXC-.js +137 -0
- package/dist/client/assets/web-vitals-CdUasvTy.js +3 -0
- package/dist/client/index.html +7 -2
- package/dist/client/robots.txt +14 -0
- package/dist/server/{chunk-3I6NEQHV.js → chunk-RGDNQUHE.js} +2 -2
- package/dist/server/harness-install-cli.js +1 -1
- package/dist/server/index.js +9216 -6652
- package/package.json +50 -50
- package/dist/client/assets/dead-clicks-autocapture-ApmbuFvM.js +0 -2
- package/dist/client/assets/error-reporting-C8so6E8C.js +0 -92
- package/dist/client/assets/exception-autocapture-BqHgtpgn.js +0 -3
- package/dist/client/assets/highlighted-body-OFNGDK62-Lg-8-zC8.js +0 -2
- package/dist/client/assets/index-BYEarR7W.css +0 -1
- package/dist/client/assets/index-BireMI1y.js +0 -11
- package/dist/client/assets/jszip.min-DkflbHVD.js +0 -3
- package/dist/client/assets/mermaid-GHXKKRXX-zqdNpMJm.css +0 -1
- package/dist/client/assets/posthog-recorder-Cqdsd7mu.js +0 -109
- package/dist/client/assets/surveys-Bn96AwyI.js +0 -2
- package/dist/client/assets/web-vitals-D6VtlfDg.js +0 -2
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
(function(){try{var g=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};g.SENTRY_RELEASE={id:"3.12.0"};var w=new g.Error().stack;w&&(g._sentryDebugIds=g._sentryDebugIds||{},g._sentryDebugIds[w]="3a73e22f-747b-4425-ad4a-15abe56be946",g._sentryDebugIdIdentifier="sentry-dbid-3a73e22f-747b-4425-ad4a-15abe56be946")}catch{}})();(function(){typeof[].at!="function"&&Object.defineProperty(Array.prototype,"at",{value(e){const t=this.length;let n=Math.trunc(e)||0;return 0>n&&(n+=t),0>n||n>=t?void 0:this[n]},writable:!0,enumerable:!1,configurable:!0});const g="u">typeof window?window:void 0,w="u">typeof globalThis?globalThis:g;w!=null&&w.XMLHttpRequest&&new w.XMLHttpRequest;const C=typeof globalThis<"u"?globalThis:g;C&&typeof self>"u"&&(C.self=C),C&&typeof File>"u"&&(C.File=function(){});const T=g??{};function S(e){return S=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},S(e)}function at(e,t,n){return(t=(function(i){var o=(function(r){if(S(r)!="object"||!r)return r;var a=r[Symbol.toPrimitive];if(a!==void 0){var c=a.call(r,"string");if(S(c)!="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(r)})(i);return S(o)=="symbol"?o:o+""})(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function z(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,i)}return n}function F(e){for(var t=1;arguments.length>t;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?z(Object(n),!0).forEach(function(i){at(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):z(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}let X=-1;const L=()=>X,k=e=>{addEventListener("pageshow",t=>{t.persisted&&(X=t.timeStamp,e(t))},!0)},p=(e,t,n,i)=>{let o,r;return a=>{var c;t.value>=0&&(a||i)&&(r=t.value-((c=o)!==null&&c!==void 0?c:0),(r||o===void 0)&&(o=t.value,t.delta=r,t.rating=((u,l)=>u>l[1]?"poor":u>l[0]?"needs-improvement":"good")(t.value,n),e(t)))}},R=e=>{requestAnimationFrame(()=>requestAnimationFrame(()=>e()))},$=()=>{const e=performance.getEntriesByType("navigation")[0];if(e&&e.responseStart>0&&e.responseStart<performance.now())return e},M=()=>{var e,t;return(e=(t=$())===null||t===void 0?void 0:t.activationStart)!==null&&e!==void 0?e:0};let P=-1;const Y=new Set,G=()=>document.visibilityState!=="hidden"||document.prerendering?1/0:0,D=e=>{if(document.visibilityState==="hidden"){if(e.type==="visibilitychange")for(const t of Y)t();isFinite(P)||(P=e.type==="visibilitychange"?e.timeStamp:0,removeEventListener("prerenderingchange",D,!0))}},O=(e=!1)=>{if(e&&(P=1/0),0>P){var t;const n=M(),i=document.prerendering||(t=globalThis.performance.getEntriesByType("visibility-state").find(o=>o.name==="hidden"&&o.startTime>=n))===null||t===void 0?void 0:t.startTime;P=i??G(),addEventListener("visibilitychange",D,!0),addEventListener("prerenderingchange",D,!0),k(()=>{setTimeout(()=>{P=G()})})}return{get firstHiddenTime(){return P},onHidden(n){Y.add(n)}}},b=(e,t=-1,n,i=0,o,r,a)=>{const c=$(),u=c?.navigationId||0;let l="navigate";return n?l=n:0>L()?c&&(document.prerendering||M()>0?l="prerender":document.wasDiscarded?l="restore":c.type&&(l=c.type.replace(/_/g,"-"))):l="back-forward-cache",{name:e,value:t,rating:"good",delta:0,entries:[],id:`v6-${Date.now()}-${Math.floor(8999999999999*Math.random())+1e12}`,navigationType:l,navigationId:i||u,navigationInteractionId:o,navigationURL:r||c?.name,navigationStartTime:a||0}},J=new WeakMap;function j(e,t){let n=J.get(t);return n||(n=new WeakMap,J.set(t,n)),n.get(e)||n.set(e,new t),n.get(e)}var rt=class{constructor(){this.t=void 0,this.i=0,this.o=[]}h(e){var t;if(e.hadRecentInput)return;const n=this.o[0],i=this.o.at(-1);this.i&&n&&i&&1e3>e.startTime-i.startTime&&5e3>e.startTime-n.startTime?(this.i+=e.value,this.o.push(e)):(this.i=e.value,this.o=[e]),(t=this.t)===null||t===void 0||t.call(this,e)}};const _=(e,t,n={})=>{try{const i=e.filter(o=>PerformanceObserver.supportedEntryTypes.includes(o));if(i.length>0){const o=new PerformanceObserver(r=>{queueMicrotask(()=>{const a=r.getEntries();i.length>1&&a.sort((c,u)=>c.startTime+c.duration-(u.startTime+u.duration)),t(a)})});for(const r of i)o.observe(F({type:r,buffered:!0},n));return o}}catch{}},A=e=>{var t,n;return((t=globalThis.PerformanceObserver)===null||t===void 0||(t=t.supportedEntryTypes)===null||t===void 0?void 0:t.includes("soft-navigation"))&&typeof((n=globalThis.PerformanceSoftNavigation)===null||n===void 0||(n=n.prototype)===null||n===void 0?void 0:n.getLargestInteractionContentfulPaint)=="function"&&e&&e.reportSoftNavs},K=(e,t)=>{if(e.set(t.navigationId,t),e.size>2){const n=e.keys().next().value;n!==void 0&&e.delete(n)}},Q=e=>{let t=!1;return()=>{t||(e(),t=!0)}};var st=class{constructor(){this.l=void 0}};const W=e=>{document.prerendering?addEventListener("prerenderingchange",e,!0):e()},q=[1800,3e3],Z=(e,t={})=>{const n=A(t);W(()=>{const i=j(t,st),o=O();let r,a=b("FCP");const c=_(["paint"],u=>{for(const l of u)l.name==="first-contentful-paint"&&(c.disconnect(),o.firstHiddenTime>l.startTime&&(a.value=Math.max(l.startTime-M(),0),a.entries.push(l),a.navigationId=l.navigationId||a.navigationId,r(!0)))});c&&(r=p(e,a,q,t.reportAllChanges),k(u=>{a=b("FCP",-1,"back-forward-cache",a.navigationId,a.navigationInteractionId,a.navigationURL,L()),r=p(e,a,q,t.reportAllChanges),R(()=>{a.value=performance.now()-u.timeStamp,r(!0)})})),n&&_(["soft-navigation"],u=>{u.forEach(l=>{i.l&&l.navigationId&&K(i.l,l);const m=Math.max((l.presentationTime||l.paintTime||0)-l.startTime,0);a=b("FCP",m,"soft-navigation",l.navigationId,l.interactionId,l.name,l.startTime),r=p(e,a,q,t.reportAllChanges),r(!0)})},t)})},tt=[.1,.25];let et=0,N=1/0,x=0;const lt=e=>{for(const t of e)t.interactionId&&(N=Math.min(N,t.interactionId),x=Math.max(x,t.interactionId),et=x?(x-N)/7+1:0)};let B;const nt=()=>{var e;return B?et:(e=performance.interactionCount)!==null&&e!==void 0?e:0};var ct=class{constructor(){this.u=0,this.v=[],this.m=new Map,this.p=void 0,this.T=void 0}_(){return nt()-this.u}M(){this.u=nt(),this.v.length=0,this.m.clear()}L(e){const t=this._(),n=Math.min(this.v.length-1,Math.floor(t/50));return!t||n!==-1||e!=="soft-navigation"&&e!=="back-forward-cache"?this.v[n]:{P:8,id:-1,entries:[]}}h(e){var t;if((t=this.p)===null||t===void 0||t.call(this,e),!e.interactionId)return;const n=this.v.at(-1);let i=this.m.get(e.interactionId);if(i||10>this.v.length||e.duration>n.P){var o;if(i?e.duration>i.P?(i.entries=[e],i.P=e.duration):e.duration===i.P&&e.startTime===i.entries[0].startTime&&i.entries.push(e):(i={id:e.interactionId,entries:[e],P:e.duration},this.m.set(i.id,i),this.v.push(i)),this.v.sort((r,a)=>a.P-r.P),this.v.length>10){const r=this.v.splice(10);for(const a of r)this.m.delete(a.id)}(o=this.T)===null||o===void 0||o.call(this,i)}}};const it=e=>{const t="requestIdleCallback"in globalThis?1e3:0,n=globalThis.requestIdleCallback||setTimeout,i=globalThis.cancelIdleCallback||clearTimeout;if(document.visibilityState==="hidden")e();else{const o=Q(e);let r=-1;const a=()=>{i(r),o()};addEventListener("visibilitychange",a,{once:!0,capture:!0}),r=n(()=>{removeEventListener("visibilitychange",a,{capture:!0}),o()},{timeout:t})}},ot=[200,500];var dt=class{constructor(){this.p=void 0,this.l=void 0}h(e){var t;(t=this.p)===null||t===void 0||t.call(this,e)}};const U=[2500,4e3],H={onLCP(e,t={}){let n=!1;const i=A(t);W(()=>{let o,r=O(),a=b("LCP");const c=j(t,dt),u=(s,v,d,h,y)=>{a=b("LCP",-1,s,v,d,h,y),o=p(e,a,U,t.reportAllChanges),n=!1,s==="soft-navigation"&&(r=O(!0))},l=s=>{var v;c.l&&s.navigationId&&K(c.l,s),n||o(!0),u("soft-navigation",s.navigationId,s.interactionId,s.name,s.startTime);const d=(v=s.getLargestInteractionContentfulPaint)===null||v===void 0?void 0:v.call(s);d&&m([d])},m=s=>{t.reportAllChanges||i||(s=s.slice(-1));for(const d of s){if(!d)continue;if(d.entryType==="soft-navigation"){l(d);continue}let h=0,y=[],V=d.startTime;if(d.entryType==="largest-contentful-paint")h=Math.max(d.startTime-M(),0),c.h(d),y=[d];else if(d.entryType==="interaction-contentful-paint"){var v;const E=d;if(!a.navigationId||"interactionId"in E&&E.interactionId!=a.navigationInteractionId)continue;V=((v=E.largestContentfulPaint)===null||v===void 0?void 0:v.renderTime)||0,h=Math.max(V-d.startTime,0),E.largestContentfulPaint&&(c.h(E.largestContentfulPaint),y=[E.largestContentfulPaint])}r.firstHiddenTime>V&&(a.value=h,a.entries=y,o())}},I=["largest-contentful-paint"];i&&I.push("interaction-contentful-paint","soft-navigation");const f=_(I,m);if(f){o=p(e,a,U,t.reportAllChanges);const s=["keydown","click","visibilitychange"],v=d=>{if(d.isTrusted&&!n){const h=a.id;it(()=>{if(!n){if(!i){f.disconnect();for(const y of s)removeEventListener(y,v,{capture:!0})}h===a.id&&(n=!0,o(!0))}})}};for(const d of s)addEventListener(d,v,{capture:!0});k(d=>{u("back-forward-cache",a.navigationId,a.navigationInteractionId,a.navigationURL,L()),o=p(e,a,U,t.reportAllChanges),R(()=>{a.value=performance.now()-d.timeStamp,n=!0,o(!0)})})}})},onCLS(e,t={}){const n=O();Z(Q(()=>{let i,o=b("CLS",0);const r=j(t,rt),a=(f,s,v,d,h)=>{o=b("CLS",0,f,s,v,d,h),r.i=0,i=p(e,o,tt,t.reportAllChanges)},c=(f=!1)=>{r.i>o.value&&(o.value=r.i,o.entries=r.o),i(f)},u=f=>{c(!0),a("soft-navigation",f.navigationId,f.interactionId,f.name,f.startTime)},l=f=>{for(const s of f)s.entryType!=="soft-navigation"?r.h(s):u(s);c()},m=["layout-shift"];A(t)&&m.push("soft-navigation");const I=_(m,l);I&&(i=p(e,o,tt,t.reportAllChanges),n.onHidden(()=>{l(I.takeRecords()),i(!0)}),k(()=>{a("back-forward-cache",o.navigationId,o.navigationInteractionId,o.navigationURL,L()),R(i)}),setTimeout(i))}))},onFCP:Z,onINP(e,t={}){if(!globalThis.PerformanceEventTiming||!("interactionId"in PerformanceEventTiming.prototype))return;const n=O();W(()=>{var i;"interactionCount"in performance||B||(B=_(["event"],lt,{durationThreshold:0}));let o,r=b("INP");const a=j(t,ct),c=(s,v,d,h,y)=>{a.M(),r=b("INP",-1,s,v,d,h,y),o=p(e,r,ot,t.reportAllChanges)},u=()=>{const s=a.L(r.navigationType);s&&s.P!==r.value&&(r.value=s.P,r.entries=s.entries,o())},l=s=>{u(),o(!0),c("soft-navigation",s.navigationId,s.interactionId,s.name,s.startTime)},m=(s,v=!1)=>{it(()=>{for(const d of s)d.entryType!=="soft-navigation"?a.h(d):l(d);u(),v&&o(!0)})},I=["event","first-input"];A(t)&&I.push("soft-navigation");const f=_(I,m,F(F({},t),{},{durationThreshold:(i=t.durationThreshold)!==null&&i!==void 0?i:40}));o=p(e,r,ot,t.reportAllChanges),f&&(n.onHidden(()=>{m(f.takeRecords(),!0)}),k(()=>{c("back-forward-cache",r.navigationId,r.navigationInteractionId,r.navigationURL,L())}))})}};T.__PosthogExtensions__=T.__PosthogExtensions__||{},T.__PosthogExtensions__.postHogWebVitalsCallbacksByFlavor=T.__PosthogExtensions__.postHogWebVitalsCallbacksByFlavor||{},T.__PosthogExtensions__.postHogWebVitalsCallbacksByFlavor["web-vitals"]=H,T.__PosthogExtensions__.postHogWebVitalsCallbacks=H,T.postHogWebVitalsCallbacks=H,T.__PosthogExtensions__.loadWebVitalsCallbacks=()=>H})();
|
|
2
|
+
|
|
3
|
+
//# sourceMappingURL=web-vitals-CdUasvTy.js.map
|
package/dist/client/index.html
CHANGED
|
@@ -12,8 +12,13 @@
|
|
|
12
12
|
rel="stylesheet"
|
|
13
13
|
/>
|
|
14
14
|
<title>MCPJam Inspector</title>
|
|
15
|
-
<script type="module" crossorigin src="/assets/index-
|
|
16
|
-
<link rel="
|
|
15
|
+
<script type="module" crossorigin src="/assets/index-foMfZA46.js"></script>
|
|
16
|
+
<link rel="modulepreload" crossorigin href="/assets/rolldown-runtime-C3dIJScy.js">
|
|
17
|
+
<link rel="modulepreload" crossorigin href="/assets/failed-request-tracker-mpVBJT24.js">
|
|
18
|
+
<link rel="modulepreload" crossorigin href="/assets/preload-helper-CzPH2rtr.js">
|
|
19
|
+
<link rel="modulepreload" crossorigin href="/assets/OAuthDesktopReturnNotice-iYC9JwKS.js">
|
|
20
|
+
<link rel="modulepreload" crossorigin href="/assets/button-BPKzBERq.js">
|
|
21
|
+
<link rel="stylesheet" crossorigin href="/assets/OAuthDesktopReturnNotice-BeDakGgb.css">
|
|
17
22
|
</head>
|
|
18
23
|
<body>
|
|
19
24
|
<div id="root"></div>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# serveStatic does not look at Host, so this one file answers /robots.txt on
|
|
2
|
+
# every hostname this process serves: the app shell, caniuse.dev,
|
|
3
|
+
# score.mcpjam.com, preview and tunnel domains, and self-hosted installs. It
|
|
4
|
+
# therefore says only what is true of all of them — crawling is allowed.
|
|
5
|
+
#
|
|
6
|
+
# Indexing is decided per response by X-Robots-Tag, in
|
|
7
|
+
# server/middleware/indexing-headers.ts, which does read Host. Crawling has to
|
|
8
|
+
# stay allowed for that to work: a robot only sees the directive if it is
|
|
9
|
+
# allowed to fetch the response. A Disallow would also leave the URL itself
|
|
10
|
+
# indexable from an external link, which is the wrong trade on
|
|
11
|
+
# /results/<token> and /bench/results/<secret>, where the URL is the whole
|
|
12
|
+
# credential and a bare URL in search results is the outcome to avoid.
|
|
13
|
+
User-agent: *
|
|
14
|
+
Allow: /
|
|
@@ -37,7 +37,7 @@ function resolveEnvironment() {
|
|
|
37
37
|
}
|
|
38
38
|
return "dev";
|
|
39
39
|
}
|
|
40
|
-
var BAKED_VERSION = "3.
|
|
40
|
+
var BAKED_VERSION = "3.12.0";
|
|
41
41
|
function blankToNull(value) {
|
|
42
42
|
return value === void 0 || value.trim() === "" ? null : value;
|
|
43
43
|
}
|
|
@@ -2874,4 +2874,4 @@ export {
|
|
|
2874
2874
|
installRuntimePack,
|
|
2875
2875
|
reportLocalHarnessRuntimeStatusInBackground
|
|
2876
2876
|
};
|
|
2877
|
-
//# sourceMappingURL=chunk-
|
|
2877
|
+
//# sourceMappingURL=chunk-RGDNQUHE.js.map
|