@aventurevc/mcp-server 0.8.256 → 0.8.257

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 (32) hide show
  1. package/README.md +6 -4
  2. package/dist/chunks/{cli-help-policy-5JpDnVeu.js → cli-help-policy-IY8OyRny.js} +1 -1
  3. package/dist/chunks/{contract-C_N5Jdqu.js → contract-8m1wnMPD.js} +1 -1
  4. package/dist/chunks/{contract-parameter-CmFxMtMV.js → contract-parameter-YwzdPW2X.js} +1 -1
  5. package/dist/chunks/{detail-DPx3_Ch3.js → detail-DFVJrldR.js} +1 -1
  6. package/dist/chunks/{env-DE0aypTc.js → env-CkgD71uv.js} +1 -1
  7. package/dist/chunks/{env-BB4L3Shh.js → env-DSqe8wia.js} +1 -1
  8. package/dist/chunks/{help-catalog-RatwILqY.js → help-catalog-B_QWY5by.js} +1 -1
  9. package/dist/chunks/{help-intent-Q4GaudUc.js → help-intent-BCTC0nPh.js} +1 -1
  10. package/dist/chunks/{logging-BiPXJvsP.js → logging-81KzSgWu.js} +1 -1
  11. package/dist/chunks/{logging-BOqaJL1m.js → logging-D2-azwG6.js} +1 -1
  12. package/dist/chunks/mcp-generation-contract-DSzMu-33.js +1 -0
  13. package/dist/chunks/{oauth-discovery-DixKV5Ef.js → oauth-discovery-Cfslgq0y.js} +1 -1
  14. package/dist/chunks/{openapi-call-DhUG0hA6.js → openapi-call-DHOQt4OJ.js} +2 -2
  15. package/dist/chunks/openapi-snapshot-CdP_759F.js +1 -0
  16. package/dist/chunks/{output-spill-CEsT1Aq_.js → output-spill-6X8d6akm.js} +1 -1
  17. package/dist/chunks/package-DEeHDoOT.js +1 -0
  18. package/dist/chunks/{request-replay-C4_aojsW.js → request-replay-DfZzZsDS.js} +1 -1
  19. package/dist/chunks/{response-problem-CMbGlIMh.js → response-problem-BAThXgJO.js} +1 -1
  20. package/dist/chunks/{result-envelope-CRPWP35j.js → result-envelope-BJO8Am4v.js} +1 -1
  21. package/dist/chunks/runtime-identity-Bbg6Ewkk.js +1 -0
  22. package/dist/chunks/{sentry-reziqceQ.js → sentry-9kUFtXCY.js} +1 -1
  23. package/dist/chunks/{sentry-hNQLjUZL.js → sentry-CDc9A21-.js} +1 -1
  24. package/dist/chunks/{streamable-http-BbHB-E8V.js → streamable-http-BXggxIab.js} +1 -1
  25. package/dist/chunks/{text-response-ChS157Jl.js → text-response-BpAZ5CH5.js} +1 -1
  26. package/dist/chunks/{tool-policy-CuPvw2bH.js → tool-policy-niA3ZXkC.js} +1 -1
  27. package/dist/mcp-server/index.js +2 -2
  28. package/package.json +3 -3
  29. package/dist/chunks/mcp-generation-contract-B1EVdbnS.js +0 -1
  30. package/dist/chunks/openapi-snapshot-BBaDok2u.js +0 -1
  31. package/dist/chunks/package-CZBWjlYb.js +0 -1
  32. package/dist/chunks/runtime-identity-Cme_U1eh.js +0 -1
@@ -1 +0,0 @@
1
- import{i as e,n as t,r as n,t as r}from"./runtime-identity-Cme_U1eh.js";import{resolve as i}from"node:path";import{existsSync as a}from"node:fs";var o=`@aventurevc/aventure-cli`,s=`@aventurevc/mcp-server`,c=`aventure`,l=`https://registry.npmjs.org/`,u=[o,s,``,``];function d(e){let{entryPath:n,manifest:r,manifestPath:i,packageRoot:a}=t(e);return f(r,i,a,n)}function f(t,r,o,s){let c=Reflect.get(t,`name`);if(!p(c))throw n(`${r} has unsupported package name ${String(c)}`);let l=e(t,`version`,r),u=a(i(o,`aventure-cli`,`index.ts`))?o:null,d=_(Reflect.get(t,`bin`),`${r} bin`);return{bin:v(m(t,r,o,s)??d,r),entryPath:s,name:c,packageRoot:o,registry:y(t,r,u!==null),version:l,workingTreeRoot:u}}function p(e){return u.some(t=>t===e)}function m(e,t,i,a){let o=Reflect.get(e,`aventurePublish`);if(o===void 0)return;if(!r(o))throw n(`${t} aventurePublish must be an object`);let s=Reflect.get(o,`variants`);if(!r(s))throw n(`${t} aventurePublish.variants is required`);let c=new Set(a.slice(i.length).split(/[\\/]/u));for(let e of Object.keys(s)){let n=h(s,e,t),r=Reflect.get(n,`directory`);if(typeof r==`string`&&c.has(r))return g(n,e,t)}return g(h(s,`cli`,t),`cli`,t)}function h(e,t,i){let a=Reflect.get(e,t);if(!r(a))throw n(`${i} aventurePublish.variants.${t} is required`);return a}function g(e,t,r){let i=_(Reflect.get(e,`bin`),`${r} aventurePublish.variants.${t}.bin`);if(i===void 0)throw n(`${r} aventurePublish.variants.${t}.bin is required`);return i}function _(e,t){if(e!==void 0){if(!r(e))throw n(`${t} must be an object`);return Object.entries(e).map(([e,r])=>{if(typeof r!=`string`)throw n(`${t}.${e} must be a string`);return[e,r]})}}function v(e,t){let[r,...i]=(e??[]).map(([e])=>e);if(r===void 0)throw n(`${t} defines no bin`);return[r,...i]}function y(e,t,i){let a=Reflect.get(e,`publishConfig`);if(a===void 0){if(i)return``;throw n(`${t} publishConfig.registry is required outside a working tree`)}if(!r(a))throw n(`${t} publishConfig must be an object`);let o=Reflect.get(a,`registry`);if(o!==``&&o!==`https://registry.npmjs.org/`)throw n(`${t} has unsupported publishConfig.registry ${String(o)}`);return o}export{d as a,l as i,o as n,s as r,c as t};
@@ -1 +0,0 @@
1
- import{fileURLToPath as e}from"node:url";import{dirname as t,resolve as n,sep as r}from"node:path";import{existsSync as i,readFileSync as a,realpathSync as o}from"node:fs";var s=[],c=8,l=e(import.meta.url),u=`aventure-`,d=new Set([``,``]),f,p;function m(){return f??=h(_()),f}function h({manifest:e,manifestPath:t}){return`${g(y(e,`name`,t))}/${y(e,`version`,t)} (${process.platform}; ${process.arch}) Node.js/${process.versions.node}`}function g(e){let t=e.slice(e.lastIndexOf(`/`)+1);return t.startsWith(u)||d.has(e)?t:`${u}${t}`}function _(e=l){if(e===l&&p)return p;let a;try{a=o(e)}catch(t){throw x(`cannot resolve ${e}`,t instanceof Error?t:void 0)}let s=t(a);for(let u=0;u<c;u+=1){let c=n(s,`package.json`);if(i(c)){let t={entryPath:a,manifest:v(c),manifestPath:c,packageRoot:s};return e===l?p=t:!p&&l.startsWith(`${s}${r}`)&&(p={...t,entryPath:o(l)}),t}let u=t(s);if(u===s)break;s=u}throw x(`no package.json found above ${e}`)}function v(e){let t;try{t=JSON.parse(a(e,`utf8`))}catch(t){throw x(`cannot parse ${e}`,t instanceof Error?t:void 0)}if(!b(t))throw x(`${e} must contain a JSON object`);return t}function y(e,t,n){let r=Reflect.get(e,t);if(typeof r!=`string`||r===``||r.trim()!==r)throw x(`${n} ${t} must be a non-empty, unpadded string`);return r}function b(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}function x(e,t){return Error(`aventure package metadata: ${e}`,{cause:t})}export{g as a,s as c,y as i,_ as n,m as o,x as r,h as s,b as t};