intelwatch 1.1.0 → 1.1.2

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.
package/CHANGELOG.md CHANGED
@@ -1,6 +1,27 @@
1
1
  # Changelog
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
+ ## [1.1.2] - 2026-03-03
5
+
6
+ ### Added
7
+ - **Financial KPIs / Valuation Metrics** — EBITDA, net debt, fonds propres, BFR, ROE, marge nette, capacité autofinancement from Pappers API
8
+ - **Revenue Trend SVG chart** — inline bar chart in PDF, pure SVG, no external libs
9
+ - **M&A History code-built** — regex extraction from articles, off-brand subs auto-injected, AI writes descriptions only (zero hallucinated dates)
10
+ - **Group Structure organigramme** — shareholders → target → top 7 subsidiaries (branded + off-brand, sorted by CA)
11
+ - **FLI code-built revenue target** — scans all articles for highest announced target, overrides AI
12
+ - **Revenue Growth YoY all years** — code-built from consolidated finances (not just AI's single row)
13
+ - **Stale financials auto-refresh** — Pappers API direct for subsidiaries with data > 2 years old
14
+ - **Stale year warning** — red ⚠️ badge on subsidiaries with outdated financial data
15
+ - **Off-brand subsidiary detection** — branded vs acquired split in AI prompt + organigramme
16
+ - **Article scraping for M&A depth** — top 5 articles (2000 chars each) injected into AI prompt
17
+ - **Key date extraction** — regex code-side extracts dates from articles, authoritative for M&A timeline
18
+
19
+ ### Fixed
20
+ - Revenue chart top labels cropped (added padding)
21
+ - Forward-Looking Indicators empty table (code-built override when AI misses data)
22
+ - Stale financials routine now uses Pappers API instead of Brave (more reliable)
23
+ - Subsidiary filter in organigramme now includes off-brand entities
24
+
4
25
 
5
26
  ## [1.1.0] — 2026-03-02 (in progress)
6
27
 
@@ -0,0 +1,100 @@
1
+ # Intelwatch Deep Profile — Roadmap Premium
2
+
3
+ ## Current (v1.1.x — Shipped)
4
+ - [x] Identity + finances 5 ans + consolidé groupe
5
+ - [x] Filiales via recherche-dirigeants + CA/résultat
6
+ - [x] Représentants / actionnariat
7
+ - [x] BODACC 50 publications + presse filtrée (homonymes exclus)
8
+ - [x] `--ai` : summary, forces/faiblesses, concurrents mid-market, M&A, risk, health score 0-100
9
+ - [x] Badges confiance (`confirmed_registry` / `confirmed_press` / `unconfirmed`)
10
+ - [x] Recherche M&A ciblée (acquisition/rachat/entrée au capital)
11
+ - [x] Cache local Pappers 7 jours (identity + subsidiaries + individual sub data)
12
+ - [x] PDF Recognity-branded clean white (anglais)
13
+ - [x] Growth Analysis (organic vs external, YoY %)
14
+ - [x] Forward-Looking Indicators (announced vs deposited, code-built override AI)
15
+ - [x] "Go Further" page — liens vers sources premium non scrapables
16
+ - [x] **Group Structure organigramme** — shareholders → target → top 7 subsidiaries (branded + off-brand)
17
+ - [x] **M&A History code-built** — regex extraction from articles, off-brand subs auto-injected, AI writes descriptions only → zero hallucinated dates
18
+ - [x] **Financial KPIs / Valuation Metrics** — EBITDA, net debt, fonds propres, BFR, ROE, marge nette, capacité autofinancement (Pappers API)
19
+ - [x] **Revenue Trend SVG chart** — inline bar chart, pure SVG, no external libs
20
+ - [x] **Stale financials auto-refresh** — Pappers API direct (not Brave), cache updated, max 5 subs
21
+ - [x] **Off-brand subsidiary detection** — branded vs acquired split, used in AI prompt + organigramme
22
+ - [x] **Article scraping for M&A depth** — top 5 articles (2000 chars), content injected into AI
23
+ - [x] **Key date extraction from articles** — regex code-side, authoritative dates
24
+ - [x] **FLI code-built revenue target** — scans all articles, picks highest announced target, overrides AI
25
+ - [x] **Stale year warning** — red ⚠️ badge on subsidiaries with data > 2 years old
26
+
27
+ ## v1.2 — Next Release
28
+ - [ ] Fix forces/faiblesses vides en terminal (parsing JSON)
29
+ - [ ] Export JSON/CSV structuré
30
+ - [ ] `--lang fr` option (PDF + AI prompts in French)
31
+ - [ ] Comparable transactions section (competitors' M&A/fundraising with article links)
32
+ - [ ] Geographic implantations scraping from company website
33
+ - [ ] Cross-reference press/journalists across sections
34
+ - [ ] Commit + npm publish as `intelwatch@1.2.0`
35
+
36
+ ## V2 — Pro ($49/mo)
37
+ - [ ] `intelwatch compare SIREN1 SIREN2` — côte à côte
38
+ - [ ] **INPI integration** — brevets & marques du groupe (gratuit, data.inpi.fr)
39
+ - [ ] **OpenCorporates** — filiales internationales (gratuit)
40
+ - [ ] **Annuaire Entreprises / data.gouv** — données complémentaires
41
+ - [ ] Freemium gate (3 profiles/jour) + license key
42
+ - [ ] `--preview` mode limité (identity + dernier exercice)
43
+ - [ ] **BODACC détaillé enrichi** — timeline types d'actes, augmentations capital
44
+
45
+ ## V3 — Deep Profile ($299/mo)
46
+ - [ ] **Graphe de liens** — visualisation SVG/HTML du réseau (Pappers graph-style)
47
+ - [ ] **Scoring propriétaire** — credit score entreprise avec benchmark sectoriel
48
+ - [ ] **Alertes watch** — `intelwatch watch SIREN` → email/webhook si BODACC, presse, changement financier
49
+ - [ ] **Multi-rapports** — batch profile sur liste de SIRENs, comparaison consolidée
50
+ - [ ] **Scoring gouvernance** — mandats croisés, conflits d'intérêts potentiels
51
+
52
+ ## V4 — Enterprise (custom pricing)
53
+ - [ ] **Infogreffe API** — comptes annuels détaillés, annexes, rapports CAC (3.80€/doc BYOK)
54
+ - [ ] **SEMrush / DataForSEO** — BYOK, keywords/backlinks/domain authority
55
+ - [ ] **LinkedIn Sales Navigator** — organigramme réel, recrutements (BYOK)
56
+ - [ ] **CFNEWS / MergerMarket** — deals comparables, multiples sectoriels (BYOK)
57
+ - [ ] Dashboard web (HTML statique shareable)
58
+ - [ ] API REST pour intégration dans outils clients
59
+
60
+ ## Sources — Intégrabilité
61
+
62
+ | Source | Gratuit | Scrapable | Roadmap |
63
+ |--------|---------|-----------|---------|
64
+ | Pappers | ✅ (BYOK) | ✅ API | v1.0 ✅ |
65
+ | Brave Search | ✅ (BYOK) | ✅ API | v1.0 ✅ |
66
+ | INPI (brevets/marques) | ✅ | ✅ data.inpi.fr | V2 |
67
+ | OpenCorporates | ✅ | ✅ | V2 |
68
+ | Annuaire Entreprises | ✅ | ✅ data.gouv | V2 |
69
+ | BODACC détaillé | ✅ | ✅ bodacc.fr | V2 |
70
+ | Infogreffe | ❌ 3.80€/doc | API payante | V4 |
71
+ | FIBEN (Banque de France) | ❌ réservé | ❌ | ❌ (Go Further) |
72
+ | Tribunal de Commerce | ❌ 2-5€/extrait | ❌ | ❌ (Go Further) |
73
+ | LinkedIn Sales Nav | ❌ ~80€/mo | ⚠️ risqué | V4 (BYOK) |
74
+ | CFNEWS | ❌ ~200€/mo | ❌ | ❌ (Go Further) |
75
+ | MergerMarket | ❌ ~1000€/mo | ❌ | ❌ (Go Further) |
76
+
77
+ ## Pricing
78
+ | Tier | Prix | Limites | Features |
79
+ |------|------|---------|----------|
80
+ | Free | 0€ | 3 profiles/jour, `--preview` | Identity + last year only |
81
+ | Pro | 49€/mo | Illimité | Full profile + AI + PDF + export + INPI + compare |
82
+ | Deep Profile | 299€/mo | Illimité | Tout Pro + graphe + alertes + batch + scoring |
83
+ | Enterprise | Custom | Custom | Tout Deep + Infogreffe + SEMrush + API REST |
84
+
85
+ ## Coût par rapport
86
+ - Pappers API : ~5-10 crédits/profile (identity + filiales + stale refresh)
87
+ - OpenAI gpt-4o-mini : ~$0.005/profile
88
+ - Brave Search : ~4-6 requêtes/profile (mentions + M&A + stale search)
89
+ - **Coût total estimé : ~$0.10-0.20/profile**
90
+ - Break-even Pro (49€) : ~250 profiles/mois
91
+ - Break-even Deep (299€) : client fait >15 profiles/mois → rentable vs analyste junior
92
+
93
+ ## Cibles
94
+ - Cabinets M&A (Louis Merville / KTR Partners — beta testeur)
95
+ - Avocats d'affaires
96
+ - Fonds PE / VC (due diligence)
97
+ - Compliance / KYC
98
+ - Journalistes investigation
99
+ - Assureurs (risk assessment)
100
+ - CFO / DAF (veille concurrentielle)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "intelwatch",
3
- "version": "1.1.0",
3
+ "version": "1.1.2",
4
4
  "description": "Competitive intelligence CLI — track competitors, keywords, and brand mentions from the terminal",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -12,6 +12,7 @@
12
12
  "start": "node bin/intelwatch.js"
13
13
  },
14
14
  "dependencies": {
15
+ "@recognity/pdf-report": "file:../shared-pdf",
15
16
  "axios": "^1.7.9",
16
17
  "chalk": "^5.3.0",
17
18
  "cheerio": "^1.0.0",