@agifyai/leadify-mcp 8.3.6 → 8.3.8

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 (2) hide show
  1. package/README.md +13 -7
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -132,13 +132,17 @@ Un tool = un appel à `server.tool(name, description, zodSchema, async handler)`
132
132
 
133
133
  ### Publier une nouvelle version
134
134
 
135
- Le publish est automatique via GitHub Actions sur push `main`. Le workflow ne fait rien si la version dans `package.json` n'a pas bougé il faut donc bumper avant de push.
135
+ Chaque push sur `main` déclenche automatiquement une publication npm distincte. Le workflow sérialise les publications, exécute les tests, puis :
136
+
137
+ - publie la version de `package.json` si elle est supérieure à la version npm courante (pour un changement minor ou major intentionnel) ;
138
+ - sinon, incrémente automatiquement le patch de la dernière version npm ;
139
+ - publie avec Trusted Publishing OIDC, puis ajoute un tag Git `vX.Y.Z` sur le SHA exact publié.
140
+
141
+ Il n'est donc pas nécessaire de bumper le patch à la main. Pour annoncer volontairement une nouvelle minor ou major, modifier la version source avant le merge :
136
142
 
137
143
  ```bash
138
- npm version patch # 1.4.21.4.3 (bug fix, ajout de tool)
139
- npm version minor # 1.4.21.5.0 (changement non-breaking notable)
140
- npm version major # 1.4.2 → 2.0.0 (breaking : tool renommé / supprimé / signature changée)
141
- git push && git push --tags
144
+ npm version minor --no-git-tag-version # 8.3.x8.4.0
145
+ npm version major --no-git-tag-version # 8.x9.0.0
142
146
  ```
143
147
 
144
148
  `npm version` crée un commit + un tag git automatiquement.
@@ -157,8 +161,10 @@ Et le run du workflow : https://github.com/AgifyAI/mcp_leadify/actions
157
161
 
158
162
  1. Checkout + install Node 20.
159
163
  2. `npm ci` pour installer les deps.
160
- 3. Check si la version actuelle de `package.json` est déjà publiée sur npm. Si oui, skip silencieusement (on évite les doublons et on permet de push des commits non-version sur `main`).
161
- 4. Sinon, upgrade npm vers 11.5.1 (requis pour Trusted Publishing) puis `npm publish`.
164
+ 3. Calcule une version inédite à partir de la version npm courante et de l'éventuelle intention minor/major dans `package.json`.
165
+ 4. Exécute la suite de tests complète.
166
+ 5. Upgrade npm vers ≥ 11.5.1 (requis pour Trusted Publishing), puis publie via OIDC. La provenance Sigstore explicite reste désactivée tant que npm ne la supporte pas pour les dépôts GitHub privés.
167
+ 6. Pose le tag de version sur le commit `main` publié.
162
168
 
163
169
  L'authentification npm passe par **Trusted Publishing (OIDC)** : pas de token stocké, GitHub Actions s'authentifie directement auprès de npm via la permission `id-token: write` du workflow. La trust relation est configurée sur la [page npm du package](https://www.npmjs.com/package/@agifyai/leadify-mcp/access) (Trusted Publisher : `AgifyAI/mcp_leadify` / `publish.yml`).
164
170
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agifyai/leadify-mcp",
3
- "version": "8.3.6",
3
+ "version": "8.3.8",
4
4
  "description": "MCP server for Leadify lead management API",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",