@aventurevc/aventure-cli 0.8.418 → 0.8.420

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 (72) hide show
  1. package/dist/aventure-cli/command-catalog.compact.txt +1 -0
  2. package/dist/aventure-cli/index.js +1 -1
  3. package/dist/aventure-cli/unified-operations.json +20 -2
  4. package/dist/chunks/{api-key-bearer-credential-CvosKpYR.js → api-key-bearer-credential-D5Hbqfm3.js} +1 -1
  5. package/dist/chunks/{api-key-bearer-credential-BLyU60pX.js → api-key-bearer-credential-YJPeAheU.js} +1 -1
  6. package/dist/chunks/{api-key-credential-DE3-BIyE.js → api-key-credential-BzzmM-P-.js} +1 -1
  7. package/dist/chunks/{api-key-credential--8Qb-Iop.js → api-key-credential-Cr1aPyGV.js} +1 -1
  8. package/dist/chunks/{api-key-credential-verification-De3fRVwG.js → api-key-credential-verification-DmEkfVgj.js} +1 -1
  9. package/dist/chunks/{api-key-credential-verification-BpKqBkTM.js → api-key-credential-verification-g1VutBly.js} +1 -1
  10. package/dist/chunks/{api-key-login-RxgCv_D4.js → api-key-login-ClWVF67U.js} +1 -1
  11. package/dist/chunks/{auth-resolver-D3QFIxSW.js → auth-resolver-BnK4x1vt.js} +1 -1
  12. package/dist/chunks/auth-resolver-Csx2wedp.js +1 -0
  13. package/dist/chunks/{auth-status-check-DDm_5wC2.js → auth-status-check-B52HY2Bi.js} +1 -1
  14. package/dist/chunks/{auth-status-check-BwNe9s5w.js → auth-status-check-Bm4fTJ8X.js} +1 -1
  15. package/dist/chunks/{auth-status-render-Dsvm7cou.js → auth-status-render-zdQITaJd.js} +1 -1
  16. package/dist/chunks/{aventure-cli-CHDG04NJ.js → aventure-cli-DwNBxlVu.js} +5 -5
  17. package/dist/chunks/{batch-io-Cvo7FfIs.js → batch-io-D5SdqWmo.js} +1 -1
  18. package/dist/chunks/{builtin-auth-Q3OA4QDu.js → builtin-auth-Ddf4w0L4.js} +4 -4
  19. package/dist/chunks/{builtin-run-wait-CZusd_gq.js → builtin-run-wait-C98pw8-w.js} +1 -1
  20. package/dist/chunks/{builtin-update-BcierYdb.js → builtin-update-D8O4mon9.js} +1 -1
  21. package/dist/chunks/{cli-help-policy-DIcX8OWu.js → cli-help-policy-BX-whN-w.js} +1 -1
  22. package/dist/chunks/{completion-5xuOtoKf.js → completion-BUTVpVQF.js} +1 -1
  23. package/dist/chunks/{contract-DLzXMUjF.js → contract-B2oibXOn.js} +1 -1
  24. package/dist/chunks/{contract-parameter-BUraclSS.js → contract-parameter-BsYdHniz.js} +1 -1
  25. package/dist/chunks/{credential-store-Cc301MYX.js → credential-store-C_2xvL4d.js} +1 -1
  26. package/dist/chunks/detail-C_HTsIlu.js +1 -0
  27. package/dist/chunks/{detail-5OX1WUVi.js → detail-D_R76B_v.js} +1 -1
  28. package/dist/chunks/env-CC1-vnc-.js +1 -0
  29. package/dist/chunks/{generated-option-order-B7LYhMhj.js → generated-option-order-BNFSLEDZ.js} +1 -1
  30. package/dist/chunks/help-catalog-BgXKbrdt.js +2 -0
  31. package/dist/chunks/{help-intent-k07ioxjq.js → help-intent-v1ouGBUB.js} +1 -1
  32. package/dist/chunks/{logging-B8Ld27N8.js → logging-D7Z7a3sv.js} +1 -1
  33. package/dist/chunks/{logging-CsxFMnjR.js → logging-DqIIwQLm.js} +1 -1
  34. package/dist/chunks/{logout-Desb3ggn.js → logout-C4Gn0R7N.js} +1 -1
  35. package/dist/chunks/logout-XfKNZv8m.js +1 -0
  36. package/dist/chunks/{mcp-generation-contract-DEkLNl1V.js → mcp-generation-contract-1mH5dyI2.js} +1 -1
  37. package/dist/chunks/mcp-generation-contract-GtAxU6iv.js +1 -0
  38. package/dist/chunks/oauth-bearer-credential-BigzOkh8.js +1 -0
  39. package/dist/chunks/{oauth-bearer-credential-cVmD0MtO.js → oauth-bearer-credential-CKMUlMZw.js} +1 -1
  40. package/dist/chunks/{oauth-credential-cg5twgQv.js → oauth-credential-D3dnMZRE.js} +1 -1
  41. package/dist/chunks/{oauth-credential-CfLdSioQ.js → oauth-credential-DADCv54U.js} +1 -1
  42. package/dist/chunks/{oauth-login-C_MkUv0M.js → oauth-login-BclKLuBn.js} +1 -1
  43. package/dist/chunks/{oauth-login-BTFb9GBz.js → oauth-login-C_U8Om0a.js} +1 -1
  44. package/dist/chunks/{openapi-call-BYFpOz0o.js → openapi-call-Bd2wUhXk.js} +1 -1
  45. package/dist/chunks/{openapi-call-DxJMoulQ.js → openapi-call-BiKamLmB.js} +1 -1
  46. package/dist/chunks/{openapi-commands-D1jAgAjr.js → openapi-commands-CRID5bjI.js} +1 -1
  47. package/dist/chunks/openapi-commands-CwP3Ecx2.js +1 -0
  48. package/dist/chunks/openapi-snapshot.json +1 -1
  49. package/dist/chunks/{operations-CvCUVMg7.js → operations-Bq7a9xUH.js} +2 -2
  50. package/dist/chunks/{operations-catalog-Clf1COPT.js → operations-catalog-D9yv0lBt.js} +1 -1
  51. package/dist/chunks/operations-catalog-DFpR0GPy.js +1 -0
  52. package/dist/chunks/{operations-metadata-B2wBuzO-.js → operations-metadata-DPIxqhF7.js} +1 -1
  53. package/dist/chunks/{output-CW4MMcMX.js → output-4AFoYpPZ.js} +1 -1
  54. package/dist/chunks/{output-Cage0cak.js → output-Bh62ssm_.js} +1 -1
  55. package/dist/chunks/{parse-error-hint-gfByaVez.js → parse-error-hint-CDWCkesH.js} +1 -1
  56. package/dist/chunks/{payload-operand-guard-CsaTfY9Q.js → payload-operand-guard-BAEsdwL6.js} +1 -1
  57. package/dist/chunks/{private-readback-et6dKd1Z.js → private-readback-O02uf2R4.js} +1 -1
  58. package/dist/chunks/{startup-auth-C9mdYUSd.js → startup-auth-CW2RExPC.js} +1 -1
  59. package/dist/chunks/startup-auth-DeoyFQUJ.js +1 -0
  60. package/dist/chunks/{text-response-CCGjoGEl.js → text-response-D2WEhuP_.js} +1 -1
  61. package/dist/chunks/{tool-policy-B-ydHkhx.js → tool-policy-BmDEaARa.js} +1 -1
  62. package/package.json +3 -3
  63. package/dist/chunks/auth-resolver-J4llJftd.js +0 -1
  64. package/dist/chunks/detail-CiJNXx89.js +0 -1
  65. package/dist/chunks/env-DtsCE2J8.js +0 -1
  66. package/dist/chunks/help-catalog-CKhHZ7VD.js +0 -2
  67. package/dist/chunks/logout-CK6Ok_if.js +0 -1
  68. package/dist/chunks/mcp-generation-contract-BpJGXyll.js +0 -1
  69. package/dist/chunks/oauth-bearer-credential-B0BWV1b5.js +0 -1
  70. package/dist/chunks/openapi-commands-Bfl6_8wk.js +0 -1
  71. package/dist/chunks/operations-catalog-DsLdU5it.js +0 -1
  72. package/dist/chunks/startup-auth-T1fCSqHx.js +0 -1
@@ -1 +0,0 @@
1
- export{s as writeShowResult}from"./operations-catalog-Clf1COPT.js";
@@ -1 +0,0 @@
1
- import{n as e,o as t,t as n}from"./commander-DEj7N1b9.js";import{l as r,p as i,t as a}from"./env-DtsCE2J8.js";import{c as o,r as s}from"./result-envelope-Cqvvr4zX.js";import{y as c}from"./tool-policy-B-ydHkhx.js";import{n as l}from"./cli-help-policy-DIcX8OWu.js";function u(e,t){return e.parameters.filter(e=>e.required&&t[e.optionKey]===void 0).map(e=>e.flag)}function d(e,t){return(e.requestBody?.length??0)>1&&typeof t.contentType==`string`?t.contentType:void 0}var f=e=>typeof e==`string`&&e.trim()===``;function p(e,t){let n=new Set([...t.parameters,...(t.requestBody??[]).flatMap(({parameter:e})=>e)].filter(e=>e.required).map(e=>e.optionKey));for(let t of e.options){let r=t.attributeName(),i=e.getOptionValue(r);if(!(Array.isArray(i)?i.some(f):f(i)))continue;let a=Array.isArray(i)?i.filter(e=>!f(e)):[];a.length>0?e.setOptionValue(r,a):(n.has(r)&&e.error(`error: option '${t.flags}' requires a value`),e.setOptionValue(r,void 0))}}function m(e){return e.split(` `)[0]??e}function h(e){if(e.requestBody===void 0||e.requestBody.length===0){let[t,n]=e.parameters.filter(e=>e.required);return n===void 0&&t?.schemaType===`string`?t:void 0}if(e.requestBody.length!==1||e.parameters.some(e=>e.required))return;let t=e.requestBody[0]?.parameter??[],n=t.filter(e=>e.required);if(n.length===1&&n[0]?.schemaType===`string`)return n[0];if(n.length!==0||e.intent!==`search`)return;let r=t.filter(e=>{let t=e.name.split(`.`).at(-1);return e.schemaType===`string`&&(t===`query`||t===`search`)});return r.length===1?r[0]:void 0}function g(e,t,n){let r=t.join(` `).trim();return r.length===0?o(`No positional text`,n):n[e.optionKey]===void 0?o(`Positional text parsed`,{...n,[e.optionKey]:r}):s(`Unexpected argument "${r}": ${m(e.flag)} already sets this value, and this command has no subcommand by that name. Drop "${r}".`)}var _={addresses:{summary:`List Address Links`,section:`administration`},"addresses links":{summary:`Returns every entity and person linked to this physical address, past and present, with each link's id, the linked record's id, and its role when one is recorded`},auth:{summary:`Sign-in, session, API key, and CLI authorization endpoints`,section:`account`},"auth api-key":{summary:`Get Current API Key`},"auth me":{summary:`Current User Permissions`},"auth me permissions":{summary:`Returns the current caller's resolved roles and permissions`},billing:{summary:`Plans, prices, subscription, usage, and upgrades`,section:`account`},"billing additional-usage":{summary:`Update Additional Usage Settings`},"billing ai-credits":{summary:`Read the Current AI Credit Allowance`},"billing checkout-sessions":{summary:`Create or Reuse a Checkout Session`},"billing credit-purchases":{summary:`Read a Prepaid Credit Purchase Confirmation`},"billing plan-change-previews":{summary:`Preview a Subscription Plan Change`},"billing plan-changes":{summary:`Change the Subscription Plan`},"billing plans":{summary:`List Subscription Tiers and Plans`},"billing portal-sessions":{summary:`Create a Hosted Billing Portal Session`},"billing subscription":{summary:`Read the Current Billing Subscription`},"billing subscription next-charge":{summary:`Preview the Next Subscription Charge`},"billing subscription payment-profile":{summary:`Read Your Card on File and Introductory Offer`},content:{summary:`Publications about one company or person, and platform-wide publication search`,section:`researchData`},"content facets":{summary:`Count One Owner's Publications`},directory:{summary:`Views of the public directories: publish, list, and read shared views by slug, and export a view's rows as JSON, CSV, or XLSX`,section:`researchData`},"directory exports":{summary:`Export Directory Records`},"directory shared":{summary:`List Shared Directory Views`},"directory shared slug":{summary:`Read a Shared Directory View by Slug`},enrichments:{summary:`Enrich Companies, People, or a News Article's Mentions`,section:`researchData`},entities:{summary:`Companies and funds: people, funding, and news`,section:`researchData`},"entities acquisitions":{summary:`Acquisitions a company made or was part of`},"entities addresses":{summary:`A company's recorded office and headquarters addresses`},"entities analysis-replay":{summary:`Get an Example Published Analysis Section`},"entities blog-posts":{summary:`External blog and article links for entities and people`},"entities brand":{summary:`Get a Company's Names, Logos, Links, and Tags`},"entities classifications":{summary:`Classification tags on a company, and suggested tags`},"entities classifications catalog":{summary:`Get the Company Classification Taxonomy`},"entities classifications suggestions":{summary:`Suggest Classifications for a Company`},"entities classifications tags":{summary:`List Classification Tags`},"entities contact-details":{summary:`List a Company's Contact Details`},"entities employee-counts":{summary:`List a Company's Headcount Over Time`},"entities enrichments":{summary:`Enrich One Company, Product, or Service`},"entities filters":{summary:`Filter options for company listings: available values, refinement, and option search`},"entities fundraise-investor-joins":{summary:`List the Investors in a Funding Round`},"entities fundraise-rounds":{summary:`List a Company's Funding Rounds`},"entities investments":{summary:`List the Investments a Company Made`},"entities investor-activity":{summary:`Get Investor Portfolio Counts, Sectors and Recipients`},"entities investors":{summary:`List a Company's Investors`},"entities investors people":{summary:`List Person Investors`},"entities logo":{summary:`Get a Company Logo`},"entities lookup-exact":{summary:`Read Full Entity Detail by aVenture Profile URL, Slug, Website, or Domain`},"entities people":{summary:`People linked to companies, and the role each one holds`},"entities relationships":{summary:`Relationships between companies, investors, and other organizations`},"entities relationships types":{summary:`List Entity Relationship Types`},"entities repositories":{summary:`List a Company's GitHub Repositories`},"entities research":{summary:`Get the Research Gathered About a Company`},"entities research-details":{summary:`List Research Details`},"entities research-details types":{summary:`List the Accepted Research Detail Types`},"entities research-snippets":{summary:`List Research Snippets`},"entities research-snippets types":{summary:`List the Accepted Research Snippet Types`},"entities search":{summary:`Search Companies, Products, and Services`},"entities search jobs":{summary:`Get an Async Semantic Entity Search`},"entities sec":{summary:`Get SEC EDGAR Facts for an SEC Registrant`},"entities similar":{summary:`Similar companies, as full records or short summaries, by id`},"entities similar summary":{summary:`Get Similar Company Summaries by ID`},"entities slug":{summary:`Get a Company's Slug`},"entities texts":{summary:`Descriptions and other written text for companies and people`},"entities texts types":{summary:`List the Accepted Company Text Types`},"entities trending-news":{summary:`List Trending News About a Company`},"entities types":{summary:`List the Accepted typeRecord Values`},"entities unique-ids":{summary:`External identifiers and the records they name`},"entities urls":{summary:`Websites, social profiles, and other URLs for companies and people`},"entities valuations":{summary:`List a Company's Valuation Over Time`},help:{summary:`Answer a Natural-Language Platform Help Question`,section:`cli`},lookup:{summary:`Identify a Company, Product, Service, or Person by Name, URL, or ID`,section:`researchData`},"lookup jobs":{summary:`Get a Lookup Job's State and the Records Its Article Names`},metrics:{summary:`Get Platform Totals for Companies, Funding, and People`,section:`cli`,listed:!1},news:{summary:`News linked to the companies and people in it`,section:`researchData`},"news feedback":{summary:`Submit News Feedback`},"news related-entities":{summary:`List the Entities a News Article Is About`},"news subscriptions":{summary:`List Entity News Subscriptions`},"news subscriptions test-events":{summary:`Send a Test News Event`},"news thumbnail":{summary:`Get News Thumbnail`},people:{summary:`Founders and investors, and what they back`,section:`researchData`},"people addresses":{summary:`A person's recorded addresses`},"people blog-posts":{summary:`External blog and article links for entities and people`},"people contact-details":{summary:`List a Person's Contact Details`},"people enrichments":{summary:`Enrich One Person`},"people entities":{summary:`People linked to companies, and the role each one holds`},"people filters":{summary:`Filter options for people listings and option search`},"people graph":{summary:`Get Person Graph`},"people investments":{summary:`List a Person's Investments`},"people investor-activity":{summary:`Get Person Investor Activity`},"people lookup-exact":{summary:`Read One Person's Full Detail by aVenture Profile URL, Slug, or URL`},"people photo":{summary:`Get Person Photo`},"people repositories":{summary:`List a Person's GitHub Repositories`},"people similar":{summary:`List People Similar to One Person`},"people unique-ids":{summary:`External identifiers and the records they name`},"people urls":{summary:`Websites, social profiles, and other URLs for companies and people`},research:{summary:`Research requests you file for a company, Product, Service, or person, and their progress`,section:`researchData`},"research runs":{summary:`List Your Research Runs`},"research runs draft":{summary:`Get a Research Run Draft`},"research runs draft sections":{summary:`Edit a Research Draft Section`},"research runs draft sections writes":{summary:`Get a Research Draft Section Write`},"research runs draft sources":{summary:`Get a Research Draft's Sources`},"research runs events":{summary:`Read a Research Run's Events`},"research runs presets":{summary:`List Research Presets`},"research runs turns":{summary:`Continue a Research Session`},search:{summary:`Search Companies, People, and News Together`,section:`researchData`},"search link":{summary:`Search From a Page URL`},"search link jobs":{summary:`Get a Link Search Job`},"search natural":{summary:`Find companies and people in natural language`},"search shared":{summary:`Search companies, people, and news, or by URL`},"search shared slug":{summary:`Read a Shared Search by Slug`},"unique-ids":{summary:`External identifiers and the records they name`,section:`researchData`},"unique-ids types":{summary:`List the Accepted Unique Identifier Types`},"url-types":{summary:`List URL Types`,section:`researchData`},web:{summary:`Search companies, people, and news, or by URL`,section:`researchData`},"web searches":{summary:`Get an Async Web Search Job`},"web searches jobs":{summary:"Reads the web-search job a `Prefer: respond-async` search accepted"}};function v(e){return x(e,y())}function y(){return!!i().userBearerToken?.trim()}function b(e){return y()||!l(e,_)}function x(e,t){return t?e:e.filter(e=>!l(e.cliPath[0],_)||e.visibility!==`private`).map(S)}function S(e){let t=e.parameters.filter(C),n=e.requestBody?.map(e=>{let t=e.parameter.filter(C);return t.length===e.parameter.length?e:{...e,parameter:t}}),r=n?.every((t,n)=>t===e.requestBody?.[n]);return t.length===e.parameters.length&&r!==!1?e:{...e,parameters:t,requestBody:n}}var C=e=>e.visibility!==`private`;async function w(e){if(e===`none`||process.env[a.authToken]?.trim())return;let{materializeCliOAuthBearerCredential:t,materializeSavedCliOAuthBearerCredential:n}=await import(`./oauth-bearer-credential-B0BWV1b5.js`),{materializeCliApiKeyBearerCredential:r}=await import(`./api-key-bearer-credential-BLyU60pX.js`);await(e===`stored`?n():t()),await r()}function T(t){let r=t.findIndex(e=>e===`--version`||e===`-V`);if(r===-1)return!1;let i=new n().passThroughOptions().addOption(new e(`--environment <environment>`)).addOption(new e(`-h, --help`)).addOption(new e(`-V, --version`));return i.parseOptions(t.slice(0,r+1)),i.opts().version===!0}function E(t,i){let a=t.indexOf(`--`),o=t.slice(0,a===-1?t.length:a),s=new n().exitOverride().configureOutput({writeErr:()=>void 0}).addOption(new e(`--environment <environment>`)).parseOptions([...o]).operands,c=i.filter(e=>O(s,e.cliPath)).toSorted((e,t)=>t.cliPath.length-e.cliPath.length)[0],l=c!==void 0&&[...c.parameters,...c.requestBody?.flatMap(({parameter:e})=>e)??[]].some(e=>e.optionKey===`environment`),u=new n().exitOverride().configureOutput({writeErr:()=>void 0}).passThroughOptions(l).addOption(new e(`--environment <environment>`).choices([...r()])),{operands:d,unknown:f}=u.parseOptions([...o]);return{environment:u.opts().environment,commandArgv:[...d,...f,...a===-1?[]:t.slice(a)],positionalOptions:l}}function D(r,i){let a=r.indexOf(`--`),o=r.slice(0,a===-1?r.length:a);if(T(r))return`none`;let s=E(r,i),u=new n().exitOverride().configureOutput({writeErr:()=>void 0}).addOption(new e(`--content-type <media-type>`)),f=u.parseOptions([...s.commandArgv]).operands;s.environment!==void 0&&(process.env.API_ENV=s.environment);let p=i.find(e=>O(f,e.cliPath)),m=p===void 0?void 0:d(p,u.opts());if(p!==void 0&&m!==void 0){let e=c(p.requestBody??[],m);if(!e.ok)throw new t(e.summary)}let h=f.at(0);return h===void 0?`stored`:h===`update`||h===`auth`&&p===void 0?`none`:o.some(e=>e===`--help`||e===`-h`)?(p??(h===`help`?i.find(e=>O(f.slice(1),e.cliPath)):void 0))!==void 0||l(h,_)?`stored`:`none`:l(h,_)?`required`:h===`help`&&f[1]===`catalog`?`optional`:h===`help`?p===void 0?`stored`:`required`:h===`agents`&&f[1]===`setup`?`required`:[`command-catalog`,`completion`].includes(h)?`optional`:h===`batch`?`required`:p===void 0?`optional`:`required`}function O(e,t){return t.every((t,n)=>e[n]===t)}export{T as a,_ as c,u as d,p as f,E as i,d as l,g as m,D as n,x as o,h as p,w as r,v as s,b as t,m as u};