ai-dev-analytics 1.1.5 → 1.1.7

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 (65) hide show
  1. package/README.en.md +91 -0
  2. package/README.md +340 -296
  3. package/README.zh-CN.md +6 -515
  4. package/dist/cli/commands/import.d.ts.map +1 -1
  5. package/dist/cli/commands/import.js +4 -3
  6. package/dist/cli/commands/import.js.map +1 -1
  7. package/dist/cli/commands/init.d.ts.map +1 -1
  8. package/dist/cli/commands/init.js +19 -33
  9. package/dist/cli/commands/init.js.map +1 -1
  10. package/dist/cli/commands/log.d.ts.map +1 -1
  11. package/dist/cli/commands/log.js +2 -1
  12. package/dist/cli/commands/log.js.map +1 -1
  13. package/dist/cli/commands/migrate-legacy.d.ts.map +1 -1
  14. package/dist/cli/commands/migrate-legacy.js +5 -4
  15. package/dist/cli/commands/migrate-legacy.js.map +1 -1
  16. package/dist/cli/commands/rules.d.ts +5 -0
  17. package/dist/cli/commands/rules.d.ts.map +1 -1
  18. package/dist/cli/commands/rules.js +31 -11
  19. package/dist/cli/commands/rules.js.map +1 -1
  20. package/dist/mcp/server.d.ts.map +1 -1
  21. package/dist/mcp/server.js +247 -12
  22. package/dist/mcp/server.js.map +1 -1
  23. package/dist/utils/ai-build.d.ts +1 -0
  24. package/dist/utils/ai-build.d.ts.map +1 -1
  25. package/dist/utils/ai-build.js +77 -19
  26. package/dist/utils/ai-build.js.map +1 -1
  27. package/dist/utils/bootstrap.d.ts +33 -0
  28. package/dist/utils/bootstrap.d.ts.map +1 -0
  29. package/dist/utils/bootstrap.js +143 -0
  30. package/dist/utils/bootstrap.js.map +1 -0
  31. package/dist/utils/fs.d.ts +1 -0
  32. package/dist/utils/fs.d.ts.map +1 -1
  33. package/dist/utils/fs.js +20 -7
  34. package/dist/utils/fs.js.map +1 -1
  35. package/dist/utils/guide.d.ts.map +1 -1
  36. package/dist/utils/guide.js +48 -59
  37. package/dist/utils/guide.js.map +1 -1
  38. package/dist/utils/import.d.ts +2 -0
  39. package/dist/utils/import.d.ts.map +1 -1
  40. package/dist/utils/import.js +127 -30
  41. package/dist/utils/import.js.map +1 -1
  42. package/dist/utils/memory.d.ts.map +1 -1
  43. package/dist/utils/memory.js +34 -11
  44. package/dist/utils/memory.js.map +1 -1
  45. package/dist/utils/paths.d.ts +2 -0
  46. package/dist/utils/paths.d.ts.map +1 -1
  47. package/dist/utils/paths.js +4 -0
  48. package/dist/utils/paths.js.map +1 -1
  49. package/dist/utils/prompt.d.ts +1 -0
  50. package/dist/utils/prompt.d.ts.map +1 -1
  51. package/dist/utils/prompt.js +20 -2
  52. package/dist/utils/prompt.js.map +1 -1
  53. package/dist/utils/rules.d.ts +4 -0
  54. package/dist/utils/rules.d.ts.map +1 -1
  55. package/dist/utils/rules.js +60 -3
  56. package/dist/utils/rules.js.map +1 -1
  57. package/dist/utils/run-data.d.ts +2 -1
  58. package/dist/utils/run-data.d.ts.map +1 -1
  59. package/dist/utils/run-data.js +11 -0
  60. package/dist/utils/run-data.js.map +1 -1
  61. package/dist/utils/skills.d.ts +6 -1
  62. package/dist/utils/skills.d.ts.map +1 -1
  63. package/dist/utils/skills.js +87 -14
  64. package/dist/utils/skills.js.map +1 -1
  65. package/package.json +1 -1
package/README.en.md ADDED
@@ -0,0 +1,91 @@
1
+ <div align="center">
2
+
3
+ # AIDA
4
+
5
+ ### Make Vibe Coding Measurable.
6
+
7
+ Every vibe coding session generates massive insights — deviations, patterns, quality signals.<br>
8
+ *But you close the terminal, and all of it vanishes. Next session, you start blind again.*<br>
9
+ **AIDA captures structured data at every development checkpoint, visualizes it in a live dashboard, and distills deviation patterns into rules that make your AI write better code — every single run.**
10
+
11
+ One line to integrate. Zero workflow changes.
12
+
13
+ ```json
14
+ { "mcpServers": { "aida": { "command": "npx", "args": ["-y", "ai-dev-analytics", "mcp"] } } }
15
+ ```
16
+
17
+ [![npm version](https://img.shields.io/badge/npm-v1.1.7-0066ff)](https://www.npmjs.com/package/ai-dev-analytics)
18
+ [![license](https://img.shields.io/github/license/LWTlong/ai-dev-analytics?color=%23333)](./LICENSE)
19
+ [![node](https://img.shields.io/node/v/ai-dev-analytics?color=%23339933)](https://nodejs.org)
20
+ [![tests](https://img.shields.io/badge/tests-passing-brightgreen)](#testing)
21
+ [![Live Demo](https://img.shields.io/badge/🎯_Live_Demo-Interactive_Dashboard-FF4B4B)](https://lwtlong.github.io/ai-dev-analytics/)
22
+ [![ai-dev-analytics MCP server](https://glama.ai/mcp/servers/LWTlong/ai-dev-analytics/badges/score.svg)](https://glama.ai/mcp/servers/LWTlong/ai-dev-analytics)
23
+
24
+ [![ai-dev-analytics MCP server](https://glama.ai/mcp/servers/LWTlong/ai-dev-analytics/badges/card.svg)](https://glama.ai/mcp/servers/LWTlong/ai-dev-analytics)
25
+
26
+ [Quick Start](#-30-second-setup) · [Data Loop](#-the-data-driven-loop) · [Dashboard](#-the-dashboard) · [Command Reference](./COMMANDS.md) · [Docs](./docs/INDEX.md) · [中文](./README.md)
27
+
28
+ </div>
29
+
30
+ ---
31
+
32
+ ## The Insight
33
+
34
+ Vibe coding is powerful. But it's a black box.
35
+
36
+ You tell Claude to build a feature. It writes code. You ship it. But you have **zero visibility** into what actually happened:
37
+
38
+ - How many tasks did AI complete? How long did each take?
39
+ - Where did AI deviate from your project conventions? Why?
40
+ - Which deviations keep recurring? What rules would prevent them?
41
+ - What's the bug rate? Which phases produce the most bugs?
42
+
43
+ Without data, you can't improve. You're just vibing — over and over, with the same blind spots.
44
+
45
+ **AIDA makes the invisible visible.** It collects structured data from every vibe coding session, renders it in a real-time dashboard, and turns deviation patterns into project rules. Your AI doesn't just code — it **learns your project**.
46
+
47
+ ---
48
+
49
+ ## 🔄 The Data-Driven Loop
50
+
51
+ ```
52
+ Vibe Coding Session
53
+
54
+ AIDA silently collects structured data
55
+ (tasks, deviations, bugs, reviews, files, timeline)
56
+
57
+ Dashboard visualizes patterns
58
+
59
+ Deviation patterns identified → AI suggests rules → user confirms → sedimented
60
+ .aida/rules.json
61
+
62
+ AI reads rules next session → same mistakes eliminated
63
+ ```
64
+
65
+ See the Chinese main README for the latest product positioning and examples: [README.md](./README.md).
66
+
67
+ ---
68
+
69
+ ## 📊 The Dashboard
70
+
71
+ Run:
72
+
73
+ ```bash
74
+ npx ai-dev-analytics dashboard
75
+ ```
76
+
77
+ Then open `http://localhost:2375`.
78
+
79
+ Live demo: [https://lwtlong.github.io/ai-dev-analytics/](https://lwtlong.github.io/ai-dev-analytics/)
80
+
81
+ ---
82
+
83
+ ## ⚡ 30-Second Setup
84
+
85
+ Add one MCP entry:
86
+
87
+ ```json
88
+ { "mcpServers": { "aida": { "command": "npx", "args": ["-y", "ai-dev-analytics", "mcp"] } } }
89
+ ```
90
+
91
+ For detailed command behavior, migration notes, dedupe rules, and rerun semantics, see [COMMANDS.md](./COMMANDS.md).