@invinite-org/invinite-data-cli 0.3.4 → 0.5.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.
Files changed (85) hide show
  1. package/README.md +89 -751
  2. package/claude-plugin/.claude-plugin/plugin.json +1 -1
  3. package/claude-plugin/agents/invinite-data.md +1 -1
  4. package/claude-plugin/commands/analyze-earnings-call.md +5 -4
  5. package/claude-plugin/skills/invinite-data-cli/SKILL.md +446 -180
  6. package/dist/src/cli.d.ts +6 -0
  7. package/dist/src/cli.js +21 -31
  8. package/dist/src/cli.js.map +1 -1
  9. package/dist/src/client/api-client.d.ts +2 -4
  10. package/dist/src/client/api-client.js +3 -9
  11. package/dist/src/client/api-client.js.map +1 -1
  12. package/dist/src/client/pagination.d.ts +10 -0
  13. package/dist/src/client/pagination.js +40 -0
  14. package/dist/src/client/pagination.js.map +1 -1
  15. package/dist/src/commands/earnings.d.ts +4 -3
  16. package/dist/src/commands/earnings.js +163 -466
  17. package/dist/src/commands/earnings.js.map +1 -1
  18. package/dist/src/generated/cli-manifest.json +4983 -0
  19. package/dist/src/hand-written-commands.d.ts +43 -0
  20. package/dist/src/hand-written-commands.js +21 -0
  21. package/dist/src/hand-written-commands.js.map +1 -0
  22. package/dist/src/shared/errors.d.ts +5 -0
  23. package/dist/src/shared/errors.js +12 -0
  24. package/dist/src/shared/errors.js.map +1 -1
  25. package/dist/src/shared/options.d.ts +0 -13
  26. package/dist/src/shared/options.js +0 -13
  27. package/dist/src/shared/options.js.map +1 -1
  28. package/dist/src/spec-commands.d.ts +10 -0
  29. package/dist/src/spec-commands.js +207 -0
  30. package/dist/src/spec-commands.js.map +1 -0
  31. package/dist/src/spec-flags.d.ts +6 -0
  32. package/dist/src/spec-flags.js +9 -0
  33. package/dist/src/spec-flags.js.map +1 -0
  34. package/dist/src/spec-manifest.d.ts +382 -0
  35. package/dist/src/spec-manifest.js +65 -0
  36. package/dist/src/spec-manifest.js.map +1 -0
  37. package/package.json +7 -3
  38. package/dist/src/commands/company.d.ts +0 -2
  39. package/dist/src/commands/company.js +0 -220
  40. package/dist/src/commands/company.js.map +0 -1
  41. package/dist/src/commands/earnings-selector.d.ts +0 -15
  42. package/dist/src/commands/earnings-selector.js +0 -29
  43. package/dist/src/commands/earnings-selector.js.map +0 -1
  44. package/dist/src/commands/filings.d.ts +0 -2
  45. package/dist/src/commands/filings.js +0 -139
  46. package/dist/src/commands/filings.js.map +0 -1
  47. package/dist/src/commands/financials.d.ts +0 -2
  48. package/dist/src/commands/financials.js +0 -162
  49. package/dist/src/commands/financials.js.map +0 -1
  50. package/dist/src/commands/health.d.ts +0 -2
  51. package/dist/src/commands/health.js +0 -18
  52. package/dist/src/commands/health.js.map +0 -1
  53. package/dist/src/commands/insider-trades.d.ts +0 -2
  54. package/dist/src/commands/insider-trades.js +0 -56
  55. package/dist/src/commands/insider-trades.js.map +0 -1
  56. package/dist/src/commands/ipos.d.ts +0 -2
  57. package/dist/src/commands/ipos.js +0 -42
  58. package/dist/src/commands/ipos.js.map +0 -1
  59. package/dist/src/commands/market.d.ts +0 -2
  60. package/dist/src/commands/market.js +0 -34
  61. package/dist/src/commands/market.js.map +0 -1
  62. package/dist/src/commands/metadata.d.ts +0 -2
  63. package/dist/src/commands/metadata.js +0 -39
  64. package/dist/src/commands/metadata.js.map +0 -1
  65. package/dist/src/commands/metrics.d.ts +0 -2
  66. package/dist/src/commands/metrics.js +0 -158
  67. package/dist/src/commands/metrics.js.map +0 -1
  68. package/dist/src/commands/ownership.d.ts +0 -2
  69. package/dist/src/commands/ownership.js +0 -152
  70. package/dist/src/commands/ownership.js.map +0 -1
  71. package/dist/src/commands/segments.d.ts +0 -2
  72. package/dist/src/commands/segments.js +0 -64
  73. package/dist/src/commands/segments.js.map +0 -1
  74. package/dist/src/commands/usage.d.ts +0 -38
  75. package/dist/src/commands/usage.js +0 -82
  76. package/dist/src/commands/usage.js.map +0 -1
  77. package/dist/src/commands/webhooks.d.ts +0 -16
  78. package/dist/src/commands/webhooks.js +0 -186
  79. package/dist/src/commands/webhooks.js.map +0 -1
  80. package/dist/src/formatters/sparkline.d.ts +0 -2
  81. package/dist/src/formatters/sparkline.js +0 -11
  82. package/dist/src/formatters/sparkline.js.map +0 -1
  83. package/dist/src/formatters/tree-formatter.d.ts +0 -11
  84. package/dist/src/formatters/tree-formatter.js +0 -30
  85. package/dist/src/formatters/tree-formatter.js.map +0 -1
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "invinite-financial-data",
3
3
  "description": "Fetch and analyze financial data using the Invinite Data API — company fundamentals, financial statements, SEC filings, earnings calls (transcripts, guidance, Q&A, live calls), institutional ownership, insider trades, and more.",
4
- "version": "0.4.4",
4
+ "version": "0.4.5",
5
5
  "author": {
6
6
  "name": "Invinite"
7
7
  },
@@ -29,7 +29,7 @@ You are a financial data retrieval specialist. Your job is to fetch the requeste
29
29
  - When fetching financial statements, default to `annual` period unless the request specifies otherwise
30
30
  - Use `--limit` appropriately — don't fetch more data than needed, but don't under-fetch either
31
31
  - For large datasets, use `--all` only when specifically needed
32
- - For earnings calls, resolve the call's `event_id` first (`invd earnings events -i <TICKER> -s desc -l 4 --json`) and pass `--event <event_id>` to every per-call command; keep `start_ms` values in the results so the caller can cite `[m:ss]` timestamps
32
+ - For earnings calls, resolve the call's `event_id` first (`invd earnings events -i <TICKER> -s desc -l 4 --json`) and pass `--event-id <event_id>` to every per-call command; keep `start_ms` values in the results so the caller can cite `[m:ss]` timestamps
33
33
  - Never pass `--output` (file downloads) unless the caller asked for a file
34
34
 
35
35
  ## Query planning
@@ -8,19 +8,20 @@ argument-hint: <ticker> [fiscal year + quarter, e.g. 2026 Q3]
8
8
 
9
9
  Analyze the earnings call requested in `$ARGUMENTS` using Invinite Data. Prefer the MCP tools (`earnings_call_*`) when connected; otherwise use the `invd earnings` commands below with `--json`.
10
10
 
11
- 1. **Find the call.** Without a quarter, take the latest call that already happened: `invd earnings events -i <TICKER> --to <today> -s desc -l 1 --json` (MCP `earnings_call_events`). With a quarter, select it directly with `-i <TICKER> --year <YYYY> --quarter <Q>`. Use the call's `event_id` for every later step (`--event <event_id>`). If the call has no transcript yet, say so and stop.
12
- 2. **Fetch in parallel** (all with `--event <event_id> --json`):
11
+ 1. **Find the call.** Without a quarter, take the latest call that already happened: `invd earnings events -i <TICKER> --to <today> -s desc -l 1 --json` (MCP `earnings_call_events`). With a quarter, select it directly with `-i <TICKER> --year <YYYY> --quarter <Q>`. Use the call's `event_id` for every later step (`--event-id <event_id>`). If the call has no transcript yet, say so and stop.
12
+ 2. **Fetch in parallel** (all with `--event-id <event_id> --json`):
13
13
  - press release: `invd earnings press-release` (`earnings_call_press_release`)
14
14
  - guidance: `invd earnings extractions --kind guidance` and KPIs: `invd earnings extractions --kind kpi` (`earnings_call_guidance`)
15
15
  - Q&A: `invd earnings qa` (`earnings_call_qa`) and participants: `invd earnings participants` (`earnings_call_participants`)
16
16
  - diff vs the prior call: `invd earnings diff` (`earnings_call_diff`)
17
17
  - optional, price moves during the call: `invd earnings price-attribution` (`earnings_call_price_moves`) — minute returns next to what was being said; skip it on a `404 price_attribution_unavailable`
18
- - only when a claim needs the exact wording: `invd earnings transcript` (`earnings_call_transcript`) or `invd earnings search -q "<topic>" --event <event_id>` (`earnings_call_search`)
18
+ - only when a claim needs the exact wording: `invd earnings transcript` (`earnings_call_transcript`) or `invd earnings search -q "<topic>" --event-id <event_id>` (`earnings_call_search`)
19
+ - when the call has documents (`has_documents`): `invd earnings documents` (`earnings_call_documents`) — CFO commentary, shareholder letter, data sheets; for context beyond the call (annual report, investor-day deck) `invd earnings document-search -q "<topic>" -i <TICKER>` (`earnings_document_search`)
19
20
  3. **Summarise**:
20
21
  - **Results vs guidance** — reported figures from the press release against the guidance given on the prior call (`invd earnings guidance-history -i <TICKER> --metric <metric>` for a metric's series).
21
22
  - **Guidance changes** — each item raised, lowered, maintained, introduced or withdrawn (`direction`), with the period and basis (GAAP / non-GAAP).
22
23
  - **Analyst focus** — the recurring Q&A themes, who asked (firm), and where management deflected.
23
24
  - **Tone change** — the diff's tone shift, hedging / uncertainty changes and new or dropped topics.
24
25
  - **Price moves during the call** (only when fetched) — the largest minutes (`top_minutes`) and what was being said then. Word it as temporal coincidence, never as the cause of the move; pre-market bars are sparse.
25
- 4. **Cite evidence** — every quote or claim carries its `[m:ss]` timestamp (from `start_ms`) and the speaker; separate what was said from your interpretation.
26
+ 4. **Cite evidence** — every quote or claim carries its `[m:ss]` timestamp (from `start_ms`) and the speaker; a passage from a company document carries its document title, year and page and is described as company-published, not as a verified fact; separate what was said from your interpretation.
26
27
  5. Flag what is missing (no press release, no guidance extracted, prior call not covered) instead of inferring it.