@mcpjam/inspector 3.25.3 → 3.26.1

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/dist/client/assets/app-bootstrap-BTQE7bOL.css +1 -0
  2. package/dist/client/assets/{app-bootstrap-D8p1xxJL.js → app-bootstrap-DJVdECiP.js} +508 -401
  3. package/dist/client/assets/app-navigation-C1fmIwWx.js +1903 -0
  4. package/dist/client/assets/caniuse-instrument-sans-BbzFLZTg.woff2 +0 -0
  5. package/dist/client/assets/{chunk-D32TOXHM-_lcmAHBS.js → chunk-D32TOXHM-BuwUbJde.js} +5 -5
  6. package/dist/client/assets/{dead-clicks-autocapture--Cc80oY_.js → dead-clicks-autocapture-BfVQ5VOW.js} +2 -2
  7. package/dist/client/assets/{error-reporting-B4cQ3ELy.js → error-reporting-63LRZi7K.js} +1 -1
  8. package/dist/client/assets/{error-reporting-D-VMAV0k.js → error-reporting-BhRc6Gma.js} +47 -47
  9. package/dist/client/assets/{exception-autocapture-DginYM1x.js → exception-autocapture-BIWlGpLs.js} +2 -2
  10. package/dist/client/assets/first-run-oauth-return-CQwiwOKd.css +2 -0
  11. package/dist/client/assets/first-run-oauth-return-__GiXMoC.js +11 -0
  12. package/dist/client/assets/{highlighted-body-KQOG7T2V-CXee3ser.js → highlighted-body-KQOG7T2V-DOSL8MJM.js} +2 -2
  13. package/dist/client/assets/index-CeytPr1a.js +4 -0
  14. package/dist/client/assets/{jszip.min-DVVdSEhZ.js → jszip.min-DncqjL0Q.js} +2 -2
  15. package/dist/client/assets/{mermaid-MCJ5UELQ-DrjPVbUm.js → mermaid-MCJ5UELQ-wD11QKLw.js} +1 -1
  16. package/dist/client/assets/{posthog-recorder-DNy5bFB1.js → posthog-recorder-BKC9Osof.js} +2 -2
  17. package/dist/client/assets/{preload-helper-BYOM8wou.js → preload-helper-CEUuZLTj.js} +2 -2
  18. package/dist/client/assets/{project-route-CshTCVmQ.js → project-route-DNrtuUI8.js} +3 -3
  19. package/dist/client/assets/{react-dom-y0CFBu2J.js → react-dom-3ylgkoRI.js} +2 -2
  20. package/dist/client/assets/{rolldown-runtime-Ck0AUAe_.js → rolldown-runtime-CNhBNX9h.js} +1 -1
  21. package/dist/client/assets/{surveys-P23Cz34L.js → surveys-BJQBUJJI.js} +2 -2
  22. package/dist/client/assets/telemetry-files-c167c4e2b38f8ea7.js +1 -0
  23. package/dist/client/assets/{trace-timeline-CWdGYeWw.js → trace-timeline-CYO2Iirq.js} +1 -1
  24. package/dist/client/assets/trace-timeline-Dn4BLNrQ.js +93 -0
  25. package/dist/client/assets/{web-vitals-DgeVvuPL.js → web-vitals-DHv25aJU.js} +2 -2
  26. package/dist/client/caniuse-instrument-sans-OFL.txt +93 -0
  27. package/dist/client/caniuse-jar.webp +0 -0
  28. package/dist/client/caniuse-share-icons.svg +8 -0
  29. package/dist/client/index.html +9 -9
  30. package/dist/lib/launcher/index.js +10 -10
  31. package/dist/lib/vite/index.js +10 -10
  32. package/dist/server/harness-install-cli.js +322 -56
  33. package/dist/server/index.js +2 -2
  34. package/package.json +2 -2
  35. package/dist/client/assets/app-bootstrap-wXhyegHd.css +0 -1
  36. package/dist/client/assets/first-run-oauth-return-DZl0Ds5X.css +0 -2
  37. package/dist/client/assets/first-run-oauth-return-rF56NddK.js +0 -1872
  38. package/dist/client/assets/index-82wefelr.js +0 -4
  39. package/dist/client/assets/telemetry-files-2454aee542431dd3.js +0 -1
  40. package/dist/client/assets/trace-timeline-mjuETy67.js +0 -73
  41. package/dist/client/assets/use-reduced-motion-_Ge9sKbc.js +0 -42
@@ -1,3 +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.25.3"};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})();
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.26.1"};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
2
 
3
- //# sourceMappingURL=web-vitals-DgeVvuPL.js.map
3
+ //# sourceMappingURL=web-vitals-DHv25aJU.js.map
@@ -0,0 +1,93 @@
1
+ Copyright 2022 The Instrument Sans Project Authors (https://github.com/Instrument/instrument-sans)
2
+
3
+ This Font Software is licensed under the SIL Open Font License, Version 1.1.
4
+ This license is copied below, and is also available with a FAQ at:
5
+ https://scripts.sil.org/OFL
6
+
7
+
8
+ -----------------------------------------------------------
9
+ SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
10
+ -----------------------------------------------------------
11
+
12
+ PREAMBLE
13
+ The goals of the Open Font License (OFL) are to stimulate worldwide
14
+ development of collaborative font projects, to support the font creation
15
+ efforts of academic and linguistic communities, and to provide a free and
16
+ open framework in which fonts may be shared and improved in partnership
17
+ with others.
18
+
19
+ The OFL allows the licensed fonts to be used, studied, modified and
20
+ redistributed freely as long as they are not sold by themselves. The
21
+ fonts, including any derivative works, can be bundled, embedded,
22
+ redistributed and/or sold with any software provided that any reserved
23
+ names are not used by derivative works. The fonts and derivatives,
24
+ however, cannot be released under any other type of license. The
25
+ requirement for fonts to remain under this license does not apply
26
+ to any document created using the fonts or their derivatives.
27
+
28
+ DEFINITIONS
29
+ "Font Software" refers to the set of files released by the Copyright
30
+ Holder(s) under this license and clearly marked as such. This may
31
+ include source files, build scripts and documentation.
32
+
33
+ "Reserved Font Name" refers to any names specified as such after the
34
+ copyright statement(s).
35
+
36
+ "Original Version" refers to the collection of Font Software components as
37
+ distributed by the Copyright Holder(s).
38
+
39
+ "Modified Version" refers to any derivative made by adding to, deleting,
40
+ or substituting -- in part or in whole -- any of the components of the
41
+ Original Version, by changing formats or by porting the Font Software to a
42
+ new environment.
43
+
44
+ "Author" refers to any designer, engineer, programmer, technical
45
+ writer or other person who contributed to the Font Software.
46
+
47
+ PERMISSION & CONDITIONS
48
+ Permission is hereby granted, free of charge, to any person obtaining
49
+ a copy of the Font Software, to use, study, copy, merge, embed, modify,
50
+ redistribute, and sell modified and unmodified copies of the Font
51
+ Software, subject to the following conditions:
52
+
53
+ 1) Neither the Font Software nor any of its individual components,
54
+ in Original or Modified Versions, may be sold by itself.
55
+
56
+ 2) Original or Modified Versions of the Font Software may be bundled,
57
+ redistributed and/or sold with any software, provided that each copy
58
+ contains the above copyright notice and this license. These can be
59
+ included either as stand-alone text files, human-readable headers or
60
+ in the appropriate machine-readable metadata fields within text or
61
+ binary files as long as those fields can be easily viewed by the user.
62
+
63
+ 3) No Modified Version of the Font Software may use the Reserved Font
64
+ Name(s) unless explicit written permission is granted by the corresponding
65
+ Copyright Holder. This restriction only applies to the primary font name as
66
+ presented to the users.
67
+
68
+ 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
69
+ Software shall not be used to promote, endorse or advertise any
70
+ Modified Version, except to acknowledge the contribution(s) of the
71
+ Copyright Holder(s) and the Author(s) or with their explicit written
72
+ permission.
73
+
74
+ 5) The Font Software, modified or unmodified, in part or in whole,
75
+ must be distributed entirely under this license, and must not be
76
+ distributed under any other license. The requirement for fonts to
77
+ remain under this license does not apply to any document created
78
+ using the Font Software.
79
+
80
+ TERMINATION
81
+ This license becomes null and void if any of the above conditions are
82
+ not met.
83
+
84
+ DISCLAIMER
85
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
86
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
87
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
88
+ OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
89
+ COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
90
+ INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
91
+ DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
92
+ FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
93
+ OTHER DEALINGS IN THE FONT SOFTWARE.
Binary file
@@ -0,0 +1,8 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg">
2
+ <symbol id="x" viewBox="0 0 24 24">
3
+ <path d="M18.9 2H22l-6.8 7.8L23 22h-6.2l-4.8-7.2L5.7 22H2.5l7.3-8.4L2 2h6.3l4.4 6.6L18.9 2Zm-1.1 18h1.7L7.3 3.9H5.5L17.8 20Z"/>
4
+ </symbol>
5
+ <symbol id="linkedin" viewBox="0 0 24 24">
6
+ <path d="M6.5 8.3H3.2V21h3.3V8.3ZM4.9 2.9a2 2 0 1 0 0 4 2 2 0 0 0 0-4ZM21 13.7c0-3.8-2-5.7-4.7-5.7-2.2 0-3.2 1.2-3.7 2V8.3H9.3V21h3.3v-6.9c0-1.9.9-2.9 2.4-2.9 1.4 0 2.1 1 2.1 2.9V21H21v-7.3Z"/>
7
+ </symbol>
8
+ </svg>
@@ -6,16 +6,16 @@
6
6
  <link rel="icon" type="image/svg+xml" href="/mcp_jam.svg" />
7
7
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
8
8
  <title>MCPJam Inspector</title>
9
- <script type="module" crossorigin src="/assets/index-82wefelr.js"></script>
10
- <link rel="modulepreload" crossorigin href="/assets/rolldown-runtime-Ck0AUAe_.js">
11
- <link rel="modulepreload" crossorigin href="/assets/project-route-CshTCVmQ.js">
12
- <link rel="modulepreload" crossorigin href="/assets/react-dom-y0CFBu2J.js">
13
- <link rel="modulepreload" crossorigin href="/assets/preload-helper-BYOM8wou.js">
14
- <link rel="modulepreload" crossorigin href="/assets/use-reduced-motion-_Ge9sKbc.js">
15
- <link rel="modulepreload" crossorigin href="/assets/first-run-oauth-return-rF56NddK.js">
16
- <link rel="stylesheet" crossorigin href="/assets/first-run-oauth-return-DZl0Ds5X.css">
9
+ <script type="module" crossorigin src="/assets/index-CeytPr1a.js"></script>
10
+ <link rel="modulepreload" crossorigin href="/assets/rolldown-runtime-CNhBNX9h.js">
11
+ <link rel="modulepreload" crossorigin href="/assets/project-route-DNrtuUI8.js">
12
+ <link rel="modulepreload" crossorigin href="/assets/react-dom-3ylgkoRI.js">
13
+ <link rel="modulepreload" crossorigin href="/assets/preload-helper-CEUuZLTj.js">
14
+ <link rel="modulepreload" crossorigin href="/assets/app-navigation-C1fmIwWx.js">
15
+ <link rel="modulepreload" crossorigin href="/assets/first-run-oauth-return-__GiXMoC.js">
16
+ <link rel="stylesheet" crossorigin href="/assets/first-run-oauth-return-CQwiwOKd.css">
17
17
  <link rel="stylesheet" crossorigin href="/assets/index-D0cvXzYt.css">
18
- <script src="/assets/telemetry-files-2454aee542431dd3.js"></script></head>
18
+ <script src="/assets/telemetry-files-c167c4e2b38f8ea7.js"></script></head>
19
19
  <body>
20
20
  <div id="root"></div>
21
21
  </body>
@@ -1,13 +1,13 @@
1
1
  // lib/launcher/index.ts
2
2
  import { createRequire } from "module";
3
- import path from "path";
3
+ import path2 from "path";
4
4
 
5
5
  // ../sdk/dist/internal/inspector.js
6
6
  import { createHash, randomBytes } from "crypto";
7
- import { lstatSync, readFileSync, mkdirSync, chmodSync, writeFileSync, unlinkSync, closeSync, statSync, renameSync, openSync, existsSync, readdirSync } from "fs";
7
+ import { existsSync, lstatSync, readFileSync, mkdirSync, chmodSync, writeFileSync, unlinkSync, closeSync, statSync, renameSync, openSync, readdirSync } from "fs";
8
8
  import { spawn } from "child_process";
9
9
  import os from "os";
10
- import path3 from "path";
10
+ import path from "path";
11
11
  import { stripVTControlCharacters } from "util";
12
12
  import { createServer } from "net";
13
13
  var SdkError = class extends Error {
@@ -109,7 +109,7 @@ async function fetchFreshInspectorSessionToken(normalizedBaseUrl) {
109
109
  throw operationalError("Inspector attachment requires a local address.");
110
110
  let token;
111
111
  try {
112
- const file = path3.join(
112
+ const file = path.join(
113
113
  os.homedir(),
114
114
  ".mcpjam",
115
115
  "inspector",
@@ -238,7 +238,7 @@ async function waitForInspectorReleases(baseUrl, token, attachIds, timeoutMs) {
238
238
  }
239
239
  }
240
240
  function inspectorHoldersDir(port, home = os.homedir()) {
241
- return path3.join(home, ".mcpjam", "inspector", `${port}.holders`);
241
+ return path.join(home, ".mcpjam", "inspector", `${port}.holders`);
242
242
  }
243
243
  var holdsByPort = /* @__PURE__ */ new Map();
244
244
  function isPidAlive(pid) {
@@ -265,7 +265,7 @@ function pruneDeadHolders(dir, isAlive) {
265
265
  continue;
266
266
  }
267
267
  try {
268
- unlinkSync(path3.join(dir, name));
268
+ unlinkSync(path.join(dir, name));
269
269
  } catch {
270
270
  }
271
271
  }
@@ -274,7 +274,7 @@ function pruneDeadHolders(dir, isAlive) {
274
274
  function holdInspector(port, options = {}) {
275
275
  const pid = options.pid ?? process.pid;
276
276
  const dir = inspectorHoldersDir(port, options.home);
277
- const file = path3.join(dir, `${pid}.json`);
277
+ const file = path.join(dir, `${pid}.json`);
278
278
  try {
279
279
  mkdirSync(dir, { recursive: true, mode: 448 });
280
280
  chmodSync(dir, 448);
@@ -487,8 +487,8 @@ async function startAndWait(args) {
487
487
  env.MCPJAM_INSPECTOR_HOLDERS_DIR = inspectorHoldersDir(port);
488
488
  env.MCPJAM_INSPECTOR_DISABLE_ORPHAN_CHECK = "1";
489
489
  env.MCPJAM_INSPECTOR_SUPPRESS_AUTO_OPEN = "1";
490
- logFile = path3.join(os.homedir(), ".mcpjam", "inspector", `${port}.log`);
491
- mkdirSync(path3.dirname(logFile), { recursive: true, mode: 448 });
490
+ logFile = path.join(os.homedir(), ".mcpjam", "inspector", `${port}.log`);
491
+ mkdirSync(path.dirname(logFile), { recursive: true, mode: 448 });
492
492
  logFd = openStartupLog(logFile);
493
493
  }
494
494
  const child = spawn(
@@ -714,7 +714,7 @@ async function launchInspector(options = {}) {
714
714
  );
715
715
  }
716
716
  const packageJsonPath = require2.resolve("@mcpjam/inspector/package.json");
717
- const binPath = path.resolve(path.dirname(packageJsonPath), "bin/start.js");
717
+ const binPath = path2.resolve(path2.dirname(packageJsonPath), "bin/start.js");
718
718
  const shouldOpen = options.open !== false && !process.env.CI && Boolean(process.stdout.isTTY);
719
719
  const inspector = await embedInspector({
720
720
  start: { command: "node", args: [binPath] },
@@ -1,13 +1,13 @@
1
1
  // lib/launcher/index.ts
2
2
  import { createRequire } from "module";
3
- import path from "path";
3
+ import path2 from "path";
4
4
 
5
5
  // ../sdk/dist/internal/inspector.js
6
6
  import { createHash, randomBytes } from "crypto";
7
- import { lstatSync, readFileSync, mkdirSync, chmodSync, writeFileSync, unlinkSync, closeSync, statSync, renameSync, openSync, existsSync, readdirSync } from "fs";
7
+ import { existsSync, lstatSync, readFileSync, mkdirSync, chmodSync, writeFileSync, unlinkSync, closeSync, statSync, renameSync, openSync, readdirSync } from "fs";
8
8
  import { spawn } from "child_process";
9
9
  import os from "os";
10
- import path3 from "path";
10
+ import path from "path";
11
11
  import { stripVTControlCharacters } from "util";
12
12
  import { createServer } from "net";
13
13
  var SdkError = class extends Error {
@@ -109,7 +109,7 @@ async function fetchFreshInspectorSessionToken(normalizedBaseUrl) {
109
109
  throw operationalError("Inspector attachment requires a local address.");
110
110
  let token;
111
111
  try {
112
- const file = path3.join(
112
+ const file = path.join(
113
113
  os.homedir(),
114
114
  ".mcpjam",
115
115
  "inspector",
@@ -238,7 +238,7 @@ async function waitForInspectorReleases(baseUrl, token, attachIds, timeoutMs) {
238
238
  }
239
239
  }
240
240
  function inspectorHoldersDir(port, home = os.homedir()) {
241
- return path3.join(home, ".mcpjam", "inspector", `${port}.holders`);
241
+ return path.join(home, ".mcpjam", "inspector", `${port}.holders`);
242
242
  }
243
243
  var holdsByPort = /* @__PURE__ */ new Map();
244
244
  function isPidAlive(pid) {
@@ -265,7 +265,7 @@ function pruneDeadHolders(dir, isAlive) {
265
265
  continue;
266
266
  }
267
267
  try {
268
- unlinkSync(path3.join(dir, name));
268
+ unlinkSync(path.join(dir, name));
269
269
  } catch {
270
270
  }
271
271
  }
@@ -274,7 +274,7 @@ function pruneDeadHolders(dir, isAlive) {
274
274
  function holdInspector(port, options = {}) {
275
275
  const pid = options.pid ?? process.pid;
276
276
  const dir = inspectorHoldersDir(port, options.home);
277
- const file = path3.join(dir, `${pid}.json`);
277
+ const file = path.join(dir, `${pid}.json`);
278
278
  try {
279
279
  mkdirSync(dir, { recursive: true, mode: 448 });
280
280
  chmodSync(dir, 448);
@@ -487,8 +487,8 @@ async function startAndWait(args) {
487
487
  env.MCPJAM_INSPECTOR_HOLDERS_DIR = inspectorHoldersDir(port);
488
488
  env.MCPJAM_INSPECTOR_DISABLE_ORPHAN_CHECK = "1";
489
489
  env.MCPJAM_INSPECTOR_SUPPRESS_AUTO_OPEN = "1";
490
- logFile = path3.join(os.homedir(), ".mcpjam", "inspector", `${port}.log`);
491
- mkdirSync(path3.dirname(logFile), { recursive: true, mode: 448 });
490
+ logFile = path.join(os.homedir(), ".mcpjam", "inspector", `${port}.log`);
491
+ mkdirSync(path.dirname(logFile), { recursive: true, mode: 448 });
492
492
  logFd = openStartupLog(logFile);
493
493
  }
494
494
  const child = spawn(
@@ -714,7 +714,7 @@ async function launchInspector(options = {}) {
714
714
  );
715
715
  }
716
716
  const packageJsonPath = require2.resolve("@mcpjam/inspector/package.json");
717
- const binPath = path.resolve(path.dirname(packageJsonPath), "bin/start.js");
717
+ const binPath = path2.resolve(path2.dirname(packageJsonPath), "bin/start.js");
718
718
  const shouldOpen = options.open !== false && !process.env.CI && Boolean(process.stdout.isTTY);
719
719
  const inspector = await embedInspector({
720
720
  start: { command: "node", args: [binPath] },