@aventurevc/aventure-cli 0.8.264 → 0.8.266

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 (80) hide show
  1. package/dist/aventure-cli/index.js +1 -1
  2. package/dist/aventure-cli/unified-operations.json +1 -1
  3. package/dist/chunks/{api-key-bearer-credential-DEZKjKL-.js → api-key-bearer-credential-BwcNaXzY.js} +1 -1
  4. package/dist/chunks/{api-key-bearer-credential-D586Q1L7.js → api-key-bearer-credential-DXlqVZ_n.js} +1 -1
  5. package/dist/chunks/{api-key-credential-BTOE6OP7.js → api-key-credential-CvZcKiF5.js} +1 -1
  6. package/dist/chunks/{api-key-credential-verification-CMFFroKl.js → api-key-credential-verification-C8qzuznc.js} +1 -1
  7. package/dist/chunks/{api-key-credential-verification-B_CKwA9S.js → api-key-credential-verification-CmTU34BK.js} +1 -1
  8. package/dist/chunks/{api-key-credential-Dhxu48K0.js → api-key-credential-x7ghdM1u.js} +1 -1
  9. package/dist/chunks/{api-key-login-Bjy84KbX.js → api-key-login-CineGFOB.js} +1 -1
  10. package/dist/chunks/{auth-resolver-DNIqLoKm.js → auth-resolver--7Uwrb8U.js} +1 -1
  11. package/dist/chunks/auth-resolver-BBFiPlmU.js +1 -0
  12. package/dist/chunks/{auth-status-check-CWj0wz7h.js → auth-status-check-CXKq3PqP.js} +1 -1
  13. package/dist/chunks/{auth-status-check-BXv8GgJE.js → auth-status-check-Cqi5dH-D.js} +1 -1
  14. package/dist/chunks/{auth-status-render-CTf_UmqY.js → auth-status-render-Dvca3GaI.js} +1 -1
  15. package/dist/chunks/{aventure-cli-BwHVYO3Z.js → aventure-cli-BSHcvau5.js} +5 -5
  16. package/dist/chunks/{batch-io-B6n6uL5G.js → batch-io-scwlvWLv.js} +1 -1
  17. package/dist/chunks/{builtin-auth-DHju7Vnt.js → builtin-auth-DeGrpMVs.js} +4 -4
  18. package/dist/chunks/{builtin-research-run-wait-CUpLUnIZ.js → builtin-research-run-wait-BDsKnYde.js} +1 -1
  19. package/dist/chunks/{builtin-update-DlxwageB.js → builtin-update-XZKU4_6R.js} +1 -1
  20. package/dist/chunks/{cli-help-policy-DEf3PBDq.js → cli-help-policy-ZvpVr3x4.js} +1 -1
  21. package/dist/chunks/{completion-CwGqJI8D.js → completion-BKk1Jlpl.js} +1 -1
  22. package/dist/chunks/{contract-v51xXOaI.js → contract-BV-04_nW.js} +1 -1
  23. package/dist/chunks/{contract-parameter-CppTkTpe.js → contract-parameter-BxVmcByP.js} +1 -1
  24. package/dist/chunks/{credential-redaction-DkES7qwH.js → credential-redaction-DMAVdzq5.js} +1 -1
  25. package/dist/chunks/{credential-store-Ch55NV_o.js → credential-store-DNDGnDss.js} +1 -1
  26. package/dist/chunks/{env-DSqe8wia.js → env-CrYASQ1v.js} +1 -1
  27. package/dist/chunks/{generated-option-order-CudU6Yw8.js → generated-option-order-CkaC1ECj.js} +1 -1
  28. package/dist/chunks/{help-catalog-DXLgbwPh.js → help-catalog-DKhzV1Hi.js} +1 -1
  29. package/dist/chunks/{help-intent-CuQ4ZgJw.js → help-intent-C4aQ-2jQ.js} +1 -1
  30. package/dist/chunks/human-text-cap-dR2SJQJC.js +16 -0
  31. package/dist/chunks/{logging-81KzSgWu.js → logging-DD34lxAA.js} +1 -1
  32. package/dist/chunks/{logging-D2-azwG6.js → logging-DFc_SC4o.js} +1 -1
  33. package/dist/chunks/logout-DK_eeMsV.js +1 -0
  34. package/dist/chunks/{logout-CtRh12pS.js → logout-Dmw9kfAQ.js} +1 -1
  35. package/dist/chunks/{mcp-generation-contract-CJQeHsyT.js → mcp-generation-contract-D3Xsmbyr.js} +1 -1
  36. package/dist/chunks/{mcp-generation-contract-D8WJzlRo.js → mcp-generation-contract-yMfxWlyv.js} +1 -1
  37. package/dist/chunks/{oauth-bearer-credential-DdUPJDfy.js → oauth-bearer-credential-CrG6G0M2.js} +1 -1
  38. package/dist/chunks/oauth-bearer-credential-zBGgAqVC.js +1 -0
  39. package/dist/chunks/{oauth-credential-JVu2zmhX.js → oauth-credential-CJEL2D-T.js} +1 -1
  40. package/dist/chunks/{oauth-credential-CwYfd2EW.js → oauth-credential-DKgh8FD4.js} +1 -1
  41. package/dist/chunks/{oauth-login-CFev3LvJ.js → oauth-login-B_brWixQ.js} +1 -1
  42. package/dist/chunks/{oauth-login-B0LUjtrz.js → oauth-login-HQkt8Uu2.js} +1 -1
  43. package/dist/chunks/{openapi-call-DNbfH1Sn.js → openapi-call-BUOlm-WA.js} +1 -1
  44. package/dist/chunks/{openapi-call-FGLnoU_o.js → openapi-call-D4XWgE6b.js} +1 -1
  45. package/dist/chunks/{openapi-commands-B7AQlSpl.js → openapi-commands-L7yQzncY.js} +1 -1
  46. package/dist/chunks/openapi-commands-RK0KzEOl.js +1 -0
  47. package/dist/chunks/openapi-snapshot-CWIwkANA.js +1 -0
  48. package/dist/chunks/{operations-CAaAF3-C.js → operations-C9i20AY_.js} +2 -2
  49. package/dist/chunks/{operations-catalog-CnkbO4Fy.js → operations-catalog-C0kbfiD4.js} +1 -1
  50. package/dist/chunks/operations-catalog-Dm8ZmonT.js +1 -0
  51. package/dist/chunks/{operations-metadata-BrF4oX4k.js → operations-metadata-fQUcEttE.js} +1 -1
  52. package/dist/chunks/{output-BQiWRcHN.js → output-Br7f-NIt.js} +1 -1
  53. package/dist/chunks/{output-YAEMAyFi.js → output-Car594UR.js} +3 -3
  54. package/dist/chunks/output-mode-Bttg2gRp.js +1 -0
  55. package/dist/chunks/{output-mode-halBRI36.js → output-mode-CVwJKj1C.js} +1 -1
  56. package/dist/chunks/{output-spill-C6GRDL7q.js → output-spill-CuxMluVh.js} +1 -1
  57. package/dist/chunks/{parse-error-hint-DGgScjwA.js → parse-error-hint-Bab_zAIw.js} +1 -1
  58. package/dist/chunks/{payload-operand-guard-CaQWY0J1.js → payload-operand-guard-BBXAZI-T.js} +1 -1
  59. package/dist/chunks/{request-replay-CWSOo3El.js → request-replay-C3nLCHSL.js} +1 -1
  60. package/dist/chunks/{request-replay-B0Kfy2uT.js → request-replay-DBuUqlOk.js} +1 -1
  61. package/dist/chunks/response-problem-B_pND26m.js +1 -0
  62. package/dist/chunks/{response-problem-BAThXgJO.js → response-problem-BgAZ5GyP.js} +1 -1
  63. package/dist/chunks/result-envelope-DhrdupDO.js +1 -0
  64. package/dist/chunks/{startup-auth-D6CAGVzu.js → startup-auth-BZymN_1p.js} +1 -1
  65. package/dist/chunks/{startup-auth-Bg4zhBLh.js → startup-auth-CO5-R26T.js} +1 -1
  66. package/dist/chunks/text-response-DeB3VJmS.js +17 -0
  67. package/dist/chunks/tool-policy-D_nx-MfA.js +1 -0
  68. package/package.json +3 -3
  69. package/dist/chunks/auth-resolver-C57QMMUe.js +0 -1
  70. package/dist/chunks/human-text-cap-BcNmIPQA.js +0 -16
  71. package/dist/chunks/logout-CkZ9O3r8.js +0 -1
  72. package/dist/chunks/oauth-bearer-credential-dYwBL7SA.js +0 -1
  73. package/dist/chunks/openapi-commands-nwoGmxun.js +0 -1
  74. package/dist/chunks/openapi-snapshot-BugQgVNY.js +0 -1
  75. package/dist/chunks/operations-catalog-DWrtLrjY.js +0 -1
  76. package/dist/chunks/output-mode-DIXw-DJj.js +0 -1
  77. package/dist/chunks/response-problem-DYbgVdhl.js +0 -1
  78. package/dist/chunks/result-envelope-BJO8Am4v.js +0 -1
  79. package/dist/chunks/text-response-BISWgzNp.js +0 -16
  80. package/dist/chunks/tool-policy-BKMbulwX.js +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aventurevc/aventure-cli",
3
- "version": "0.8.264",
3
+ "version": "0.8.266",
4
4
  "private": false,
5
5
  "description": "Command-line access to aVenture research data on companies, people, funding, and news.",
6
6
  "homepage": "https://docs.aventure.vc/cli",
@@ -33,9 +33,9 @@
33
33
  },
34
34
  "aventurePublicApi": {
35
35
  "repository": "aventurevc/aventure-docs",
36
- "commit": "01c901e3e8f9d7b656aac1868b563b93cde32889",
36
+ "commit": "fe3c46d123b849d4fe893137c5f19133177fffe3",
37
37
  "openapiPath": "openapi/openapi.json",
38
- "openapiSha256": "704f8e7e3ece67f83aa1640de3935b2377200090cb65e73ce733f461766e01e4"
38
+ "openapiSha256": "a1d28c07e3c63f991203d2a76c2df88ab00c225e0ecba1ec244d313c81c0657d"
39
39
  },
40
40
  "scripts": {}
41
41
  }
@@ -1 +0,0 @@
1
- export{r as resolveAuthStatus}from"./auth-resolver-DNIqLoKm.js";
@@ -1,16 +0,0 @@
1
- import{i as e}from"./text-field-jFKOGMzr.js";import{Buffer as t}from"node:buffer";var n=16e3,r=(e,r=n)=>e.length<=120&&t.byteLength(`${e.join(`
2
- `)}\n`,`utf8`)<=r,i=(r,{appendNewline:i=!1,preservedTrailerLines:a,transport:o=`cli`}={})=>{let s=e(r),c=i||s.endsWith(`
3
- `),l=s.endsWith(`
4
- `)?s.slice(0,-1):s,u=l.length===0?[]:l.split(`
5
- `),d=t.byteLength(`${u.join(`
6
- `)}\n`,`utf8`);if(u.length<=120&&d<=16e3)return`${u.join(`
7
- `)}${c?`
8
- `:``}`;let f=a===void 0?0:Math.min(Math.max(1,a),118),p=f>0?u.slice(-f):[],m=p.length===0?u:u.slice(0,-p.length),h=[u.length>120?`120 physical lines`:``,d>16e3?`${n} UTF-8 bytes`:``].filter(Boolean).join(` and `),g=t=>e(`... output truncated: ${t} more lines omitted to stay within ${h}; ${o===`mcp`?`inspect structuredContent.data, or call aventure_help with q set to your intent for a narrower read's operationId and query arguments.`:`recover omitted response content with --data --to-file <path>, narrower server-side filters, or the relevant sub-resource operation.`}`),_=(e,t)=>[...e,...p,t].join(`
9
- `),v=120-p.length-1,y=m.slice(0,v),b=g(u.length-y.length-p.length);for(;t.byteLength(`${_(y,b)}\n`,`utf8`)>n;){if(y.length>0)y=y.slice(0,-1);else if(p.length>0)p=p.slice(1);else break;b=g(u.length-y.length-p.length)}return`${_(y,b)}${c?`
10
- `:``}`};function a(e){return e===void 0?[]:[`... response truncated: ${e.omitted.join(`; `)}`,`Recovery: ${e.recovery}`,`Recovery: inspect structuredContent.truncation.omitted (kept/total counts), ids and references; call aventure_help with q set to the operation intent for a narrower read, then pass query.page/query.size or split a batch body into smaller calls. Do not repeat a write to recover its response.`]}var o=(e,t,n)=>i([e.trimEnd(),...t].join(`
11
- `),{appendNewline:t.length>0||e.endsWith(`
12
- `),preservedTrailerLines:t.length>0?t.length:void 0,transport:n}),s=(e,t,n)=>t.length===0?e:o(e,t,n),c=(e,r=`cli`,i=[])=>o(`${p(e.trimEnd().split(`
13
- `),120-i.length,n-t.byteLength(i.map(e=>`${e}\n`).join(``),`utf8`),r).join(`
14
- `)}${e.endsWith(`
15
- `)?`
16
- `:``}`,i,r),l=new Set([`core`,`nameFull`,`nameBrand`,`name`,`title`,`fundingDetail`,`round`,`dateAnnounced`,`amountRaised`,`person`,`fundraiseRound`]),u=5,d=(e,t=``)=>e===`mcp`?`see structuredContent.data.response${t}`:`read it whole with --data --to-file <path>`,f=e=>e===`mcp`?`inspect structuredContent.data, or call aventure_help with q set to your intent for a narrower read and its query arguments.`:`read it whole with --data --to-file <path> or the section's sub-resource operation.`;function p(e,t,i=n,a=`cli`){let o=e=>e.length<=t&&r(e,i);if(o(e))return e;let s=m(e),c=e=>[...E(s,e-1,d(a)),`... output folded to fit 120 lines and ${n} UTF-8 bytes; "(+N lines)" and "N more" mark hidden content in the named section; ${f(a)}`],l=2,u=t,p=c(l);for(;l<=u;){let e=Math.floor((l+u)/2),t=c(e);o(t)?(p=t,l=e+1):u=e-1}return p}function m(e){let t={line:``,child:[]},n=[{node:t,indent:-1}];for(let t of e){let e=_(t);for(;n.length>1&&(n.at(-1)?.indent??-1)>=e;)n.pop();let r={line:t,child:[]};n.at(-1)?.node.child.push(r),n.push({node:r,indent:e})}return t.child}var h=new WeakMap,g=e=>{let t=h.get(e);if(t!==void 0)return t;let n=e.child.reduce((e,t)=>e+g(t),1);return h.set(e,n),n},_=e=>e.length-e.trimStart().length,v=/^(?:- ?|\d+\.(?: |$))/u,y=e=>(e.line.trimStart().replace(v,``).split(/[:= ]/u)[0]??``).split(`.`).at(-1)?.replace(/\[\d+\]$/u,``)??``,b=e=>l.has(y(e)),x=e=>b(e)||!C(e)&&e.child.some(x),S=e=>b(e)?g(e):x(e)?e.child.reduce((e,t)=>e+S(t),1):1,C=e=>v.test(e.line.trimStart()),w=e=>e.line.trimStart().startsWith(`... `),T=e=>[e.line,...e.child.flatMap(T)];function E(e,t,n){if(e.reduce((e,t)=>e+g(t),0)<=t)return e.flatMap(T);if(!e.some(C)||!e.every(e=>C(e)||w(e)))return k(e,t,n);let r=e.filter(w).map(({line:e})=>e);return[...O(e.filter(C),t-r.length,n),...r]}function D(e,t,n){if(t>=g(e))return T(e);if(t<=1){let t=e.child.map(y).filter(Boolean).join(`, `)||`nested content`;return[`${e.line} (+${g(e)-1} lines) omitted: ${t}; ${n}`]}return[e.line,...E(e.child,t-1,n)]}function O(e,t,n){let r=Math.max(1,Math.floor((t-1)/Math.min(e.length,u))),i=[],a=0;for(let o of e){let e=Math.min(r,g(o));if(i.length+e>t-1)break;i.push(...D(o,e,n)),a+=1}let o=` `.repeat(_(e[0]?.line??``));return a===e.length?i:[...i,`${o}... ${e.length-a} more items omitted; ${n}`]}function k(e,t,n){let r=e=>e.reduce((e,t)=>e+S(t),0);if(e.length>t||r(e)>t&&e.some(e=>S(e)===1)){let i=e.toSorted((e,t)=>Number(x(t))-Number(x(e))||g(e)-g(t)).slice(0,Math.max(0,t-1));for(;i.length>1&&S(i.at(-1)??e[0]??{line:``,child:[]})===1&&r(i)>t-1;)i.pop();let a=` `.repeat(_(e[0]?.line??``)),o=k(e.filter(e=>i.includes(e)),t-1,n),s=e.filter(e=>!i.includes(e)).map(y),c=s.slice(0,10).join(`, `),l=s.length>10?`, ...`:``;return[...o,`${a}... ${s.length} more fields: ${c}${l}`]}let i=e.map(e=>({node:e,allotted:1})),a=t-e.length,o=(e,t)=>e.forEach((n,r)=>{let i=Math.min(t(n.node)-n.allotted,Math.floor(a/(e.length-r)));n.allotted+=i,a-=i});return o(i.filter(({node:e})=>S(e)>1).toSorted((e,t)=>S(e.node)-S(t.node)),S),o(i.toSorted((e,t)=>g(e.node)-e.allotted-(g(t.node)-t.allotted)),g),i.flatMap(({node:e,allotted:t})=>D(e,t,n))}export{p as a,a as c,r as i,s as l,i as n,c as o,o as r,d as s,n as t};
@@ -1 +0,0 @@
1
- export{t as logoutCliCredentials}from"./logout-CtRh12pS.js";
@@ -1 +0,0 @@
1
- export{t as materializeCliOAuthBearerCredential,n as materializeSavedCliOAuthBearerCredential}from"./oauth-bearer-credential-DdUPJDfy.js";