ai-dev-analytics 1.1.5 → 1.1.6
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.en.md +91 -0
- package/README.md +340 -296
- package/README.zh-CN.md +6 -515
- package/dist/cli/commands/import.d.ts.map +1 -1
- package/dist/cli/commands/import.js +4 -3
- package/dist/cli/commands/import.js.map +1 -1
- package/dist/cli/commands/init.d.ts.map +1 -1
- package/dist/cli/commands/init.js +19 -33
- package/dist/cli/commands/init.js.map +1 -1
- package/dist/cli/commands/log.d.ts.map +1 -1
- package/dist/cli/commands/log.js +2 -1
- package/dist/cli/commands/log.js.map +1 -1
- package/dist/cli/commands/migrate-legacy.d.ts.map +1 -1
- package/dist/cli/commands/migrate-legacy.js +5 -4
- package/dist/cli/commands/migrate-legacy.js.map +1 -1
- package/dist/cli/commands/rules.d.ts +5 -0
- package/dist/cli/commands/rules.d.ts.map +1 -1
- package/dist/cli/commands/rules.js +31 -11
- package/dist/cli/commands/rules.js.map +1 -1
- package/dist/mcp/server.d.ts.map +1 -1
- package/dist/mcp/server.js +247 -12
- package/dist/mcp/server.js.map +1 -1
- package/dist/utils/ai-build.d.ts +1 -0
- package/dist/utils/ai-build.d.ts.map +1 -1
- package/dist/utils/ai-build.js +77 -19
- package/dist/utils/ai-build.js.map +1 -1
- package/dist/utils/bootstrap.d.ts +33 -0
- package/dist/utils/bootstrap.d.ts.map +1 -0
- package/dist/utils/bootstrap.js +143 -0
- package/dist/utils/bootstrap.js.map +1 -0
- package/dist/utils/fs.d.ts +1 -0
- package/dist/utils/fs.d.ts.map +1 -1
- package/dist/utils/fs.js +20 -7
- package/dist/utils/fs.js.map +1 -1
- package/dist/utils/guide.d.ts.map +1 -1
- package/dist/utils/guide.js +48 -59
- package/dist/utils/guide.js.map +1 -1
- package/dist/utils/import.d.ts +2 -0
- package/dist/utils/import.d.ts.map +1 -1
- package/dist/utils/import.js +127 -30
- package/dist/utils/import.js.map +1 -1
- package/dist/utils/memory.d.ts.map +1 -1
- package/dist/utils/memory.js +7 -4
- package/dist/utils/memory.js.map +1 -1
- package/dist/utils/paths.d.ts +2 -0
- package/dist/utils/paths.d.ts.map +1 -1
- package/dist/utils/paths.js +4 -0
- package/dist/utils/paths.js.map +1 -1
- package/dist/utils/prompt.d.ts +1 -0
- package/dist/utils/prompt.d.ts.map +1 -1
- package/dist/utils/prompt.js +20 -2
- package/dist/utils/prompt.js.map +1 -1
- package/dist/utils/rules.d.ts +4 -0
- package/dist/utils/rules.d.ts.map +1 -1
- package/dist/utils/rules.js +60 -3
- package/dist/utils/rules.js.map +1 -1
- package/dist/utils/run-data.d.ts +2 -1
- package/dist/utils/run-data.d.ts.map +1 -1
- package/dist/utils/run-data.js +11 -0
- package/dist/utils/run-data.js.map +1 -1
- package/dist/utils/skills.d.ts +6 -1
- package/dist/utils/skills.d.ts.map +1 -1
- package/dist/utils/skills.js +87 -14
- package/dist/utils/skills.js.map +1 -1
- 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
|
+
[](https://www.npmjs.com/package/ai-dev-analytics)
|
|
18
|
+
[](./LICENSE)
|
|
19
|
+
[](https://nodejs.org)
|
|
20
|
+
[](#testing)
|
|
21
|
+
[](https://lwtlong.github.io/ai-dev-analytics/)
|
|
22
|
+
[](https://glama.ai/mcp/servers/LWTlong/ai-dev-analytics)
|
|
23
|
+
|
|
24
|
+
[](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).
|