archtracker-mcp 0.5.0 → 0.7.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "archtracker-mcp",
3
- "version": "0.5.0",
3
+ "version": "0.7.0",
4
4
  "description": "Architecture & Dependency Tracker — MCP server + CLI + interactive web viewer for AI-driven development",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -23,8 +23,10 @@
23
23
  "skills"
24
24
  ],
25
25
  "scripts": {
26
- "build": "tsup",
27
- "dev": "tsup --watch",
26
+ "build:client": "esbuild src/web/client/viewer.ts --bundle --format=iife --outfile=dist/web/viewer.js --target=es2020",
27
+ "build:server": "tsup",
28
+ "build": "npm run build:server && npm run build:client",
29
+ "dev": "npm run build:client && tsup --watch",
28
30
  "test": "vitest run",
29
31
  "test:watch": "vitest",
30
32
  "typecheck": "tsc --noEmit",
@@ -14,6 +14,8 @@ Perform a comprehensive architecture analysis of the project.
14
14
  1. Run `analyze_existing_architecture` on the target directory
15
15
  - For multi-layer projects: set `projectRoot` to the project root where `.archtracker/layers.json` exists, and leave `targetDir` as default `"src"` to trigger auto-detection
16
16
  - For single-directory projects: set `targetDir` to the source directory
17
+ - Optional `topN` parameter to control number of items per section (default: 10, max: 50)
18
+ - Optional `language` parameter to specify target language (e.g. `python`, `rust`) if auto-detection fails
17
19
  2. Present the full report covering:
18
20
  - Overview (file count, edge count, circular deps)
19
21
  - Critical components (most depended-on files)
@@ -13,6 +13,7 @@ Run an architecture diff check for the current project.
13
13
  1. Run `check_architecture_diff`
14
14
  - For multi-layer projects: set `projectRoot` to the project root where `.archtracker/layers.json` exists
15
15
  - Leave `targetDir` as default `"src"` to trigger multi-layer auto-detection
16
+ - Optional `language` parameter to specify target language (e.g. `python`, `rust`) if auto-detection fails
16
17
  2. Compare current code against the saved snapshot
17
18
  3. Report any files that have changed and their affected dependents
18
19
 
@@ -18,6 +18,10 @@ Available search modes:
18
18
 
19
19
  Choose the most appropriate mode based on the user's question and execute the search.
20
20
 
21
+ Optional parameters:
22
+ - `limit`: Max number of results to return (default: 10, max: 50)
23
+ - `language`: Target language if auto-detection is insufficient (e.g. `python`, `rust`, `java`)
24
+
21
25
  Present results in the user's language with clear formatting:
22
26
  - File paths and dependency counts
23
27
  - Match reason
@@ -13,6 +13,7 @@ Save the current project architecture as the baseline snapshot.
13
13
  1. Run `save_architecture_snapshot`
14
14
  - For multi-layer projects: set `projectRoot` to the project root where `.archtracker/layers.json` exists
15
15
  - Leave `targetDir` as default `"src"` to trigger multi-layer auto-detection
16
+ - Optional `language` parameter to specify target language (e.g. `python`, `rust`) if auto-detection fails
16
17
  2. Save it as `.archtracker/snapshot.json`
17
18
  3. Confirm the save with a summary
18
19