living-ai-documentation 1.1.0 → 1.3.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.
package/README.fr.md CHANGED
@@ -9,8 +9,8 @@ Du Markdown sur disque, pas de cloud, pas de base de données, pas d'étape de b
9
9
  ![npm](https://img.shields.io/npm/v/living-ai-documentation) ![Node.js](https://img.shields.io/badge/Node.js-18%2B-green) ![TypeScript](https://img.shields.io/badge/TypeScript-5.x-blue) ![License](https://img.shields.io/badge/License-AGPL--3.0-blue) ![MCP](https://img.shields.io/badge/MCP-Streamable_HTTP-purple)
10
10
 
11
11
  ```bash
12
- npx living-ai-documentation # assistant interactif (EN/FR)
13
- npx living-ai-documentation ./docs # servir un dossier existant
12
+ npx living-ai-documentation@latest # assistant interactif (EN/FR)
13
+ npx living-ai-documentation@latest ./docs # servir un dossier existant
14
14
  ```
15
15
 
16
16
  ![Viewer Living Documentation](./images/living_documentation.jpg)
@@ -47,11 +47,11 @@ Les deux modes se mélangent : prendre des notes en solo toute la semaine, puis
47
47
  # Assistant interactif — crée un dossier de doc de démarrage (EN ou FR), scaffold
48
48
  # AGENTS.md / CLAUDE.md / memory/MEMORY.md à la racine du projet et fait des symlinks
49
49
  # dans <docs>/AI/ pour que les agents IA les trouvent.
50
- npx living-ai-documentation
50
+ npx living-ai-documentation@latest
51
51
 
52
52
  # Ou servir un dossier existant
53
- npx living-ai-documentation ./docs
54
- npx living-ai-documentation ./docs --port 4000 --open
53
+ npx living-ai-documentation@latest ./docs
54
+ npx living-ai-documentation@latest ./docs --port 4000 --open
55
55
  ```
56
56
 
57
57
  Puis ouvrez [http://localhost:4321](http://localhost:4321) (viewer) et [http://localhost:4321/admin](http://localhost:4321/admin) (config).
@@ -61,7 +61,7 @@ Puis ouvrez [http://localhost:4321](http://localhost:4321) (viewer) et [http://l
61
61
  ### Installation
62
62
 
63
63
  ```bash
64
- npx living-ai-documentation # sans installation
64
+ npx living-ai-documentation@latest # sans installation
65
65
  npm install -g living-ai-documentation # global
66
66
  ```
67
67
 
@@ -107,7 +107,7 @@ Dans `~/Library/Application Support/Claude/claude_desktop_config.json` (macOS),
107
107
 
108
108
  Même endpoint HTTP : `http://localhost:4321/mcp` (transport Streamable HTTP, sans état).
109
109
 
110
- > Le serveur Living Documentation doit tourner (`npx living-ai-documentation ./docs`) avant que l'agent ne s'y connecte.
110
+ > Le serveur Living Documentation doit tourner (`npx living-ai-documentation@latest ./docs`) avant que l'agent ne s'y connecte.
111
111
 
112
112
  ---
113
113
 
package/README.md CHANGED
@@ -9,8 +9,8 @@ Markdown on disk, no cloud, no database, no build step. Point it at a folder, op
9
9
  ![npm](https://img.shields.io/npm/v/living-ai-documentation) ![Node.js](https://img.shields.io/badge/Node.js-18%2B-green) ![TypeScript](https://img.shields.io/badge/TypeScript-5.x-blue) ![License](https://img.shields.io/badge/License-AGPL--3.0-blue) ![MCP](https://img.shields.io/badge/MCP-Streamable_HTTP-purple)
10
10
 
11
11
  ```bash
12
- npx living-ai-documentation # interactive wizard (EN/FR)
13
- npx living-ai-documentation ./docs # serve an existing folder
12
+ npx living-ai-documentation@latest # interactive wizard (EN/FR)
13
+ npx living-ai-documentation@latest ./docs # serve an existing folder
14
14
  ```
15
15
 
16
16
  ![Living Documentation viewer](./images/living_documentation.jpg)
@@ -47,11 +47,11 @@ The two modes mix freely: jot notes solo all week, then let your agent record th
47
47
  # Interactive wizard — creates a starter doc folder (EN or FR), scaffolds
48
48
  # AGENTS.md / CLAUDE.md / memory/MEMORY.md at the project root and symlinks
49
49
  # them into <docs>/AI/ so AI agents can find them.
50
- npx living-ai-documentation
50
+ npx living-ai-documentation@latest
51
51
 
52
52
  # Or serve an existing folder
53
- npx living-ai-documentation ./docs
54
- npx living-ai-documentation ./docs --port 4000 --open
53
+ npx living-ai-documentation@latest ./docs
54
+ npx living-ai-documentation@latest ./docs --port 4000 --open
55
55
  ```
56
56
 
57
57
  Then open [http://localhost:4321](http://localhost:4321) (viewer) and [http://localhost:4321/admin](http://localhost:4321/admin) (config).
@@ -61,7 +61,7 @@ Then open [http://localhost:4321](http://localhost:4321) (viewer) and [http://lo
61
61
  ### Install
62
62
 
63
63
  ```bash
64
- npx living-ai-documentation # zero-install
64
+ npx living-ai-documentation@latest # zero-install
65
65
  npm install -g living-ai-documentation # global
66
66
  ```
67
67
 
@@ -107,7 +107,7 @@ In `~/Library/Application Support/Claude/claude_desktop_config.json` (macOS), th
107
107
 
108
108
  Use the same HTTP endpoint: `http://localhost:4321/mcp` (Streamable HTTP transport, stateless).
109
109
 
110
- > The Living Documentation server must be running first (`npx living-ai-documentation ./docs`) before the agent connects.
110
+ > The Living Documentation server must be running first (`npx living-ai-documentation@latest ./docs`) before the agent connects.
111
111
 
112
112
  ---
113
113
 
package/package.json CHANGED
@@ -1,11 +1,12 @@
1
1
  {
2
2
  "name": "living-ai-documentation",
3
- "version": "1.1.0",
3
+ "version": "1.3.0",
4
4
  "description": "Local Markdown documentation hub with a built-in MCP server — coding agents create ADRs, draw diagrams and detect drift while you code.",
5
5
  "main": "dist/src/server.js",
6
6
  "bin": {
7
7
  "living-ai-documentation": "dist/bin/cli.js"
8
8
  },
9
+ "preferGlobal": true,
9
10
  "files": [
10
11
  "dist/",
11
12
  "images/",
@@ -56,6 +57,9 @@
56
57
  "express": "5.2.1",
57
58
  "marked": "12.0.2"
58
59
  },
60
+ "overrides": {
61
+ "glob": "^13.0.0"
62
+ },
59
63
  "devDependencies": {
60
64
  "@playwright/test": "^1.59.1",
61
65
  "@types/archiver": "^7.0.0",