@musashishao/agent-kit 1.8.2 → 1.9.1
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/.agent/agents/ai-architect.md +39 -0
- package/.agent/agents/ai-asset-factory.md +700 -0
- package/.agent/agents/ai-audio-factory.md +503 -0
- package/.agent/agents/cloud-engineer.md +39 -0
- package/.agent/agents/game-developer.md +190 -89
- package/.agent/agents/marketing-specialist.md +41 -0
- package/.agent/agents/orchestrator.md +113 -3
- package/.agent/agents/penetration-tester.md +15 -1
- package/.agent/agents/project-planner.md +67 -0
- package/.agent/agents/unity-mobile-master.md +949 -0
- package/.agent/mcp/config/registry.json +65 -51
- package/.agent/mcp/servers/notebooklm/README.md +114 -0
- package/.agent/mcp/servers/notebooklm/package.json +35 -0
- package/.agent/mcp/servers/notebooklm/src/auth/chrome.ts +225 -0
- package/.agent/mcp/servers/notebooklm/src/auth/index.ts +1 -0
- package/.agent/mcp/servers/notebooklm/src/index.ts +516 -0
- package/.agent/mcp/servers/notebooklm/src/services/index.ts +3 -0
- package/.agent/mcp/servers/notebooklm/src/services/library.ts +217 -0
- package/.agent/mcp/servers/notebooklm/src/services/notebooklm.ts +380 -0
- package/.agent/mcp/servers/notebooklm/tsconfig.json +15 -0
- package/.agent/mcp-gateway/README.md +169 -20
- package/.agent/mcp-gateway/package.json +22 -7
- package/.agent/mcp-gateway/src/auth/index.ts +55 -0
- package/.agent/mcp-gateway/src/auth/middleware.ts +242 -0
- package/.agent/mcp-gateway/src/auth/oauth.ts +462 -0
- package/.agent/mcp-gateway/src/auth/scopes.ts +227 -0
- package/.agent/mcp-gateway/src/index.ts +252 -105
- package/.agent/mcp-gateway/src/observability/index.ts +5 -0
- package/.agent/mcp-gateway/src/observability/otel.ts +405 -0
- package/.agent/mcp-gateway/src/transports/index.ts +5 -0
- package/.agent/mcp-gateway/src/transports/streamableHttp.ts +235 -0
- package/.agent/rules/CODEX.md +115 -2
- package/.agent/rules/CODE_RULES.md +73 -0
- package/.agent/rules/GEMINI.md +26 -1
- package/.agent/rules/MEMORY_STATE.md +110 -0
- package/.agent/rules/REFERENCE.md +40 -58
- package/.agent/rules/REF_SKILLS.md +116 -0
- package/.agent/rules/REF_WORKFLOWS.md +81 -0
- package/.agent/scripts/ak_cli.py +106 -5
- package/.agent/scripts/memory_manager.py +48 -9
- package/.agent/skills/3d-web-experience/SKILL.md +386 -0
- package/.agent/skills/DEPENDENCIES.md +54 -0
- package/.agent/skills/ab-test-setup/SKILL.md +77 -0
- package/.agent/skills/active-directory-attacks/SKILL.md +59 -0
- package/.agent/skills/agent-evaluation/SKILL.md +430 -0
- package/.agent/skills/agent-memory-systems/SKILL.md +426 -0
- package/.agent/skills/agent-tool-builder/SKILL.md +139 -0
- package/.agent/skills/ai-agents-architect/SKILL.md +115 -0
- package/.agent/skills/ai-product/SKILL.md +86 -0
- package/.agent/skills/ai-wrapper-product/SKILL.md +90 -0
- package/.agent/skills/analytics-tracking/SKILL.md +88 -0
- package/.agent/skills/anti-hallucination/SKILL.md +295 -0
- package/.agent/skills/anti-hallucination/scripts/check_hallucination.py +299 -0
- package/.agent/skills/api-fuzzing-bug-bounty/SKILL.md +66 -0
- package/.agent/skills/app-store-optimization/SKILL.md +66 -0
- package/.agent/skills/autonomous-agent-patterns/SKILL.md +414 -0
- package/.agent/skills/aws-penetration-testing/SKILL.md +50 -0
- package/.agent/skills/aws-serverless/SKILL.md +327 -0
- package/.agent/skills/azure-functions/SKILL.md +340 -0
- package/.agent/skills/bifurcation-analysis/SKILL.md +56 -0
- package/.agent/skills/brainstorming/SKILL.md +80 -6
- package/.agent/skills/broken-authentication/SKILL.md +53 -0
- package/.agent/skills/browser-automation/SKILL.md +408 -0
- package/.agent/skills/browser-extension-builder/SKILL.md +422 -0
- package/.agent/skills/bullmq-specialist/SKILL.md +424 -0
- package/.agent/skills/bun-development/SKILL.md +386 -0
- package/.agent/skills/burp-suite-testing/SKILL.md +60 -0
- package/.agent/skills/clerk-auth/SKILL.md +432 -0
- package/.agent/skills/cloud-penetration-testing/SKILL.md +51 -0
- package/.agent/skills/copywriting/SKILL.md +66 -0
- package/.agent/skills/crewai/SKILL.md +470 -0
- package/.agent/skills/decision-memory/SKILL.md +317 -0
- package/.agent/skills/discord-bot-architect/SKILL.md +447 -0
- package/.agent/skills/email-sequence/SKILL.md +73 -0
- package/.agent/skills/emergence-detector/SKILL.md +230 -0
- package/.agent/skills/emergence-detector/scripts/check_emergence.py +265 -0
- package/.agent/skills/ethical-hacking-methodology/SKILL.md +67 -0
- package/.agent/skills/explained-qa/SKILL.md +142 -0
- package/.agent/skills/explained-qa/game-terminology.md +214 -0
- package/.agent/skills/firebase/SKILL.md +377 -0
- package/.agent/skills/game-development/ai-dialogue-engine/SKILL.md +442 -0
- package/.agent/skills/game-development/ai-graphics-generator/SKILL.md +463 -0
- package/.agent/skills/game-development/ai-playtest-framework/SKILL.md +570 -0
- package/.agent/skills/game-development/camera-systems/SKILL.md +607 -0
- package/.agent/skills/game-development/card-battle-engine/SKILL.md +618 -0
- package/.agent/skills/game-development/character-controller-3d/SKILL.md +908 -0
- package/.agent/skills/game-development/cloud-save-sync/SKILL.md +527 -0
- package/.agent/skills/game-development/combat-system/SKILL.md +748 -0
- package/.agent/skills/game-development/compliance-rating/SKILL.md +277 -0
- package/.agent/skills/game-development/crossplatform-build/SKILL.md +386 -0
- package/.agent/skills/game-development/cultivation-progression/SKILL.md +520 -0
- package/.agent/skills/game-development/data-driven-balance/SKILL.md +535 -0
- package/.agent/skills/game-development/game-analytics-integrator/SKILL.md +410 -0
- package/.agent/skills/game-development/game-audio-advanced/SKILL.md +646 -0
- package/.agent/skills/game-development/game-economy-designer/SKILL.md +375 -0
- package/.agent/skills/game-development/game-marketing/SKILL.md +85 -0
- package/.agent/skills/game-development/game-state-manager/SKILL.md +883 -0
- package/.agent/skills/game-development/godot-expert/SKILL.md +462 -0
- package/.agent/skills/game-development/hybrid-game-spec/SKILL.md +220 -0
- package/.agent/skills/game-development/inventory-quest/SKILL.md +747 -0
- package/.agent/skills/game-development/liveops/SKILL.md +308 -0
- package/.agent/skills/game-development/localization/SKILL.md +286 -0
- package/.agent/skills/game-development/mobile-input-patterns/SKILL.md +343 -0
- package/.agent/skills/game-development/monetization-strategy/SKILL.md +94 -0
- package/.agent/skills/game-development/multiplayer-master/SKILL.md +727 -0
- package/.agent/skills/game-development/narrative-branching/SKILL.md +593 -0
- package/.agent/skills/game-development/npc-ai-integration/SKILL.md +110 -0
- package/.agent/skills/game-development/procedural-generation/SKILL.md +168 -0
- package/.agent/skills/game-development/procedural-level-ai/SKILL.md +367 -0
- package/.agent/skills/game-development/prototyping-rapid/SKILL.md +205 -0
- package/.agent/skills/game-development/spec-ecosystem/SKILL.md +155 -0
- package/.agent/skills/game-development/spec-ecosystem/decision-log-format.md +129 -0
- package/.agent/skills/game-development/spec-ecosystem/templates/PLAN-template.md +178 -0
- package/.agent/skills/game-development/spec-ecosystem/templates/SPEC-template.md +110 -0
- package/.agent/skills/game-development/spec-ecosystem/templates/TASKS-template.md +156 -0
- package/.agent/skills/game-development/survival-systems/SKILL.md +493 -0
- package/.agent/skills/game-development/testing-qa/SKILL.md +270 -0
- package/.agent/skills/game-development/unity-integration/SKILL.md +358 -0
- package/.agent/skills/game-development/unity-mobile-optimization/SKILL.md +271 -0
- package/.agent/skills/game-development/webgpu-shading/SKILL.md +209 -0
- package/.agent/skills/gcp-cloud-run/SKILL.md +358 -0
- package/.agent/skills/graphql/SKILL.md +492 -0
- package/.agent/skills/idor-testing/SKILL.md +64 -0
- package/.agent/skills/inngest/SKILL.md +128 -0
- package/.agent/skills/intent-capture/SKILL.md +65 -0
- package/.agent/skills/langfuse/SKILL.md +415 -0
- package/.agent/skills/langgraph/SKILL.md +360 -0
- package/.agent/skills/launch-strategy/SKILL.md +68 -0
- package/.agent/skills/linux-privilege-escalation/SKILL.md +62 -0
- package/.agent/skills/llm-app-patterns/SKILL.md +367 -0
- package/.agent/skills/marketing-ideas/SKILL.md +66 -0
- package/.agent/skills/mcp-composition/SKILL.md +362 -0
- package/.agent/skills/mcp-observability/SKILL.md +323 -0
- package/.agent/skills/mcp-security/SKILL.md +314 -0
- package/.agent/skills/metasploit-framework/SKILL.md +60 -0
- package/.agent/skills/micro-saas-launcher/SKILL.md +93 -0
- package/.agent/skills/neon-postgres/SKILL.md +339 -0
- package/.agent/skills/paid-ads/SKILL.md +64 -0
- package/.agent/skills/supabase-integration/SKILL.md +411 -0
- package/.agent/skills/trust-spectrum/SKILL.md +291 -0
- package/.agent/skills/vibe-coding-guard/SKILL.md +328 -0
- package/.agent/templates/AGENTS.game.md +63 -0
- package/.agent/templates/docs/WORKFLOW_GUIDE.en.md +100 -0
- package/.agent/templates/docs/WORKFLOW_GUIDE.vi.md +100 -0
- package/.agent/workflows/ai-agent.md +38 -0
- package/.agent/workflows/autofix.md +1 -0
- package/.agent/workflows/brainstorm.md +1 -0
- package/.agent/workflows/context.md +1 -0
- package/.agent/workflows/create.md +39 -8
- package/.agent/workflows/dashboard.md +1 -0
- package/.agent/workflows/debug.md +14 -0
- package/.agent/workflows/deploy.md +14 -0
- package/.agent/workflows/enhance.md +44 -0
- package/.agent/workflows/gamekit-init.md +177 -0
- package/.agent/workflows/gamekit-launch.md +338 -0
- package/.agent/workflows/gamekit-plan.md +204 -0
- package/.agent/workflows/gamekit-qa.md +153 -0
- package/.agent/workflows/gamekit-spec.md +243 -0
- package/.agent/workflows/gamekit-tasks.md +208 -0
- package/.agent/workflows/marketing.md +39 -0
- package/.agent/workflows/next.md +1 -0
- package/.agent/workflows/orchestrate.md +12 -0
- package/.agent/workflows/pentest.md +39 -0
- package/.agent/workflows/plan.md +42 -0
- package/.agent/workflows/preview.md +1 -0
- package/.agent/workflows/quality.md +1 -0
- package/.agent/workflows/saas.md +38 -0
- package/.agent/workflows/spec.md +42 -0
- package/.agent/workflows/status.md +1 -0
- package/.agent/workflows/test.md +14 -0
- package/.agent/workflows/ui-ux-pro-max.md +1 -0
- package/README.md +4 -4
- package/bin/cli.js +411 -111
- package/package.json +1 -2
- package/docs/AI_DATA_INFRASTRUCTURE.md +0 -288
- package/docs/CHANGELOG_AI_INFRA.md +0 -111
|
@@ -1,288 +0,0 @@
|
|
|
1
|
-
# AI Data Infrastructure - User Guide
|
|
2
|
-
|
|
3
|
-
> Transform your project into an "AI-Ready" smart repository with Agent Kit's integrated data infrastructure.
|
|
4
|
-
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
## 🎯 Overview
|
|
8
|
-
|
|
9
|
-
Agent Kit provides a 4-layer AI Data Infrastructure that makes your project deeply understandable to AI agents:
|
|
10
|
-
|
|
11
|
-
```
|
|
12
|
-
┌─────────────────────────────────────────────────────────────────┐
|
|
13
|
-
│ AI DATA INFRASTRUCTURE │
|
|
14
|
-
├─────────────────────────────────────────────────────────────────┤
|
|
15
|
-
│ Layer 1: AGENTS.md → Project overview & navigation │
|
|
16
|
-
│ Layer 2: graph-mapper → Dependency relationships │
|
|
17
|
-
│ Layer 3: rag-engineering → Semantic code search │
|
|
18
|
-
│ Layer 4: MCP Gateway → Live connection to AI agents │
|
|
19
|
-
└─────────────────────────────────────────────────────────────────┘
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
---
|
|
23
|
-
|
|
24
|
-
## 🚀 Quick Start
|
|
25
|
-
|
|
26
|
-
### For New Projects
|
|
27
|
-
|
|
28
|
-
```bash
|
|
29
|
-
# Create a new project with AI infrastructure
|
|
30
|
-
npx @musashishao/agent-kit init
|
|
31
|
-
npx @musashishao/agent-kit ai init
|
|
32
|
-
```
|
|
33
|
-
|
|
34
|
-
### For Existing Projects
|
|
35
|
-
|
|
36
|
-
```bash
|
|
37
|
-
# Add AI infrastructure to existing project
|
|
38
|
-
cd your-project
|
|
39
|
-
npx @musashishao/agent-kit init
|
|
40
|
-
npx @musashishao/agent-kit ai init
|
|
41
|
-
```
|
|
42
|
-
|
|
43
|
-
After initialization, your project will have:
|
|
44
|
-
- `AGENTS.md` - AI navigation map
|
|
45
|
-
- `.agent/graph.json` - Dependency graph
|
|
46
|
-
- `.agent/mcp-gateway/` - MCP server for AI connectivity
|
|
47
|
-
- `.cursor/mcp.json` - Auto-configured for Cursor
|
|
48
|
-
|
|
49
|
-
---
|
|
50
|
-
|
|
51
|
-
## 📋 Commands Reference
|
|
52
|
-
|
|
53
|
-
### `ai init`
|
|
54
|
-
Initialize AI infrastructure for your project.
|
|
55
|
-
|
|
56
|
-
```bash
|
|
57
|
-
npx @musashishao/agent-kit ai init
|
|
58
|
-
npx @musashishao/agent-kit ai init --force # Regenerate existing files
|
|
59
|
-
```
|
|
60
|
-
|
|
61
|
-
**What it does:**
|
|
62
|
-
1. Creates `.agent/` directory structure
|
|
63
|
-
2. Generates `AGENTS.md` with auto-detected tech stack
|
|
64
|
-
3. Builds dependency graph from your source code
|
|
65
|
-
4. Configures AI hosts (Claude, Cursor, VS Code)
|
|
66
|
-
|
|
67
|
-
### `ai sync`
|
|
68
|
-
Update AI data after code changes.
|
|
69
|
-
|
|
70
|
-
```bash
|
|
71
|
-
npx @musashishao/agent-kit ai sync # Sync everything
|
|
72
|
-
npx @musashishao/agent-kit ai sync --target graph # Sync only graph
|
|
73
|
-
npx @musashishao/agent-kit ai sync --target rag # Sync only RAG
|
|
74
|
-
```
|
|
75
|
-
|
|
76
|
-
**When to use:**
|
|
77
|
-
- After significant code changes
|
|
78
|
-
- After adding/removing files
|
|
79
|
-
- Before major AI-assisted refactoring
|
|
80
|
-
|
|
81
|
-
### `ai status`
|
|
82
|
-
Show current AI infrastructure status.
|
|
83
|
-
|
|
84
|
-
```bash
|
|
85
|
-
npx @musashishao/agent-kit ai status
|
|
86
|
-
```
|
|
87
|
-
|
|
88
|
-
**Output example:**
|
|
89
|
-
```
|
|
90
|
-
📊 Agent Kit Status
|
|
91
|
-
📦 Core Components:
|
|
92
|
-
✅ AGENTS.md
|
|
93
|
-
✅ MCP Gateway
|
|
94
|
-
✅ Dependency Graph
|
|
95
|
-
❌ RAG Chunks: Not found
|
|
96
|
-
|
|
97
|
-
⏰ Sync Status:
|
|
98
|
-
Last sync: 2026-01-24T16:50:00
|
|
99
|
-
```
|
|
100
|
-
|
|
101
|
-
### `ai config`
|
|
102
|
-
Configure AI hosts to use Agent Kit.
|
|
103
|
-
|
|
104
|
-
```bash
|
|
105
|
-
npx @musashishao/agent-kit ai config # Auto-configure all
|
|
106
|
-
npx @musashishao/agent-kit ai config --list # List detected hosts
|
|
107
|
-
npx @musashishao/agent-kit ai config --copy # Copy config to clipboard
|
|
108
|
-
```
|
|
109
|
-
|
|
110
|
-
---
|
|
111
|
-
|
|
112
|
-
## 🔧 How It Works
|
|
113
|
-
|
|
114
|
-
### Auto-Sync (Magic!)
|
|
115
|
-
|
|
116
|
-
When AI agents query your project through the MCP Gateway, the system automatically:
|
|
117
|
-
|
|
118
|
-
1. **Checks timestamps** - Are source files newer than cached data?
|
|
119
|
-
2. **Syncs if needed** - Only updates changed files (incremental)
|
|
120
|
-
3. **Debounces** - Prevents excessive syncing (30s cooldown)
|
|
121
|
-
4. **Returns fresh data** - AI always gets accurate information
|
|
122
|
-
|
|
123
|
-
```
|
|
124
|
-
AI asks "What does login.ts do?"
|
|
125
|
-
│
|
|
126
|
-
▼
|
|
127
|
-
MCP Gateway checks: Is data fresh?
|
|
128
|
-
│
|
|
129
|
-
┌───┴───┐
|
|
130
|
-
│ │
|
|
131
|
-
YES NO
|
|
132
|
-
│ │
|
|
133
|
-
▼ ▼
|
|
134
|
-
Return Auto-sync
|
|
135
|
-
cached changed files
|
|
136
|
-
data │
|
|
137
|
-
▼
|
|
138
|
-
Return fresh data
|
|
139
|
-
```
|
|
140
|
-
|
|
141
|
-
### Impact Analysis
|
|
142
|
-
|
|
143
|
-
Before editing a file, ask AI: "What will be affected if I change auth.ts?"
|
|
144
|
-
|
|
145
|
-
The system uses the dependency graph to show:
|
|
146
|
-
- Which files import `auth.ts`
|
|
147
|
-
- Which files import THOSE files
|
|
148
|
-
- Total impact radius
|
|
149
|
-
|
|
150
|
-
---
|
|
151
|
-
|
|
152
|
-
## 📁 File Structure
|
|
153
|
-
|
|
154
|
-
After initialization, your project will have:
|
|
155
|
-
|
|
156
|
-
```
|
|
157
|
-
your-project/
|
|
158
|
-
├── AGENTS.md # AI navigation map (Layer 1)
|
|
159
|
-
├── .agent/
|
|
160
|
-
│ ├── graph.json # Dependency graph (Layer 2)
|
|
161
|
-
│ ├── graph.md # Human-readable dependencies
|
|
162
|
-
│ ├── mcp-gateway/ # MCP server (Layer 4)
|
|
163
|
-
│ │ ├── src/
|
|
164
|
-
│ │ └── dist/
|
|
165
|
-
│ ├── rag/ # RAG data (Layer 3)
|
|
166
|
-
│ │ └── chunks.json
|
|
167
|
-
│ ├── .cache/ # Sync timestamps
|
|
168
|
-
│ └── scripts/ # CLI scripts
|
|
169
|
-
├── .cursor/
|
|
170
|
-
│ └── mcp.json # Cursor MCP config
|
|
171
|
-
└── .vscode/
|
|
172
|
-
└── settings.json # VS Code MCP config (if applicable)
|
|
173
|
-
```
|
|
174
|
-
|
|
175
|
-
---
|
|
176
|
-
|
|
177
|
-
## 🔌 MCP Tools Available
|
|
178
|
-
|
|
179
|
-
When connected via MCP, AI agents have access to:
|
|
180
|
-
|
|
181
|
-
| Tool | Description |
|
|
182
|
-
|------|-------------|
|
|
183
|
-
| `get_project_context` | Read project overview from AGENTS.md |
|
|
184
|
-
| `analyze_dependencies` | Get imports/exports for a file |
|
|
185
|
-
| `search_code_logic` | Semantic search through codebase |
|
|
186
|
-
| `get_impact_zone` | Find all affected files for a change |
|
|
187
|
-
| `force_sync` | Manually refresh all AI data |
|
|
188
|
-
|
|
189
|
-
---
|
|
190
|
-
|
|
191
|
-
## 🎯 Best Practices
|
|
192
|
-
|
|
193
|
-
### 1. Keep AGENTS.md Updated
|
|
194
|
-
While auto-generated, customize `AGENTS.md` with:
|
|
195
|
-
- Current sprint focus
|
|
196
|
-
- Team conventions not in linter config
|
|
197
|
-
- Known gotchas
|
|
198
|
-
|
|
199
|
-
### 2. Sync Before Big Changes
|
|
200
|
-
```bash
|
|
201
|
-
npx @musashishao/agent-kit ai sync
|
|
202
|
-
```
|
|
203
|
-
Then ask AI to help with refactoring.
|
|
204
|
-
|
|
205
|
-
### 3. Use Impact Analysis
|
|
206
|
-
Before editing shared utilities:
|
|
207
|
-
```
|
|
208
|
-
Me: What happens if I change the Button component?
|
|
209
|
-
AI: [Uses get_impact_zone] Button is imported by 12 components...
|
|
210
|
-
```
|
|
211
|
-
|
|
212
|
-
### 4. Trust the Auto-Sync
|
|
213
|
-
You don't need to manually sync after every save. The MCP Gateway handles this automatically when AI makes queries.
|
|
214
|
-
|
|
215
|
-
---
|
|
216
|
-
|
|
217
|
-
## 🔍 Troubleshooting
|
|
218
|
-
|
|
219
|
-
### "MCP Gateway not found"
|
|
220
|
-
```bash
|
|
221
|
-
cd .agent/mcp-gateway
|
|
222
|
-
npm install
|
|
223
|
-
npm run build
|
|
224
|
-
```
|
|
225
|
-
|
|
226
|
-
### "Dependency graph is empty"
|
|
227
|
-
Make sure you have a `src/` or `app/` directory with code files.
|
|
228
|
-
|
|
229
|
-
### "AI host not configured"
|
|
230
|
-
```bash
|
|
231
|
-
npx @musashishao/agent-kit ai config --copy
|
|
232
|
-
# Paste into your AI host's MCP settings
|
|
233
|
-
```
|
|
234
|
-
|
|
235
|
-
### "Sync takes too long"
|
|
236
|
-
For large projects (100k+ LOC), initial sync may take 30-60 seconds. Subsequent syncs are incremental and faster.
|
|
237
|
-
|
|
238
|
-
---
|
|
239
|
-
|
|
240
|
-
## 🏗️ Architecture
|
|
241
|
-
|
|
242
|
-
```
|
|
243
|
-
┌─────────────────────────────────────────────────────────────────┐
|
|
244
|
-
│ YOUR PROJECT │
|
|
245
|
-
├─────────────────────────────────────────────────────────────────┤
|
|
246
|
-
│ │
|
|
247
|
-
│ Source Code AI Infrastructure │
|
|
248
|
-
│ ┌─────────┐ ┌────────────────────────────────────┐ │
|
|
249
|
-
│ │ src/ │◄────────►│ AGENTS.md (Navigation Map) │ │
|
|
250
|
-
│ │ app/ │ │ graph.json (Dependency Graph) │ │
|
|
251
|
-
│ │ lib/ │ │ rag/chunks.json (Code Chunks) │ │
|
|
252
|
-
│ └─────────┘ └────────────────────────────────────┘ │
|
|
253
|
-
│ ▲ │
|
|
254
|
-
│ │ │
|
|
255
|
-
│ ┌─────────────┴─────────────┐ │
|
|
256
|
-
│ │ MCP GATEWAY SERVER │ │
|
|
257
|
-
│ │ │ │
|
|
258
|
-
│ │ • Auto-sync on query │ │
|
|
259
|
-
│ │ • Debounced updates │ │
|
|
260
|
-
│ │ • Incremental changes │ │
|
|
261
|
-
│ └─────────────┬─────────────┘ │
|
|
262
|
-
│ │ │
|
|
263
|
-
└──────────────────────────────────────┼──────────────────────────┘
|
|
264
|
-
│ MCP Protocol
|
|
265
|
-
▼
|
|
266
|
-
┌─────────────────────────────────────────────────────────────────┐
|
|
267
|
-
│ AI HOSTS │
|
|
268
|
-
│ │
|
|
269
|
-
│ ┌──────────────┐ ┌──────────────┐ ┌──────────────┐ │
|
|
270
|
-
│ │ Claude │ │ Cursor │ │ Antigravity │ │
|
|
271
|
-
│ │ Desktop │ │ / Windsurf │ │ IDE / Codex │ │
|
|
272
|
-
│ └──────────────┘ └──────────────┘ └──────────────┘ │
|
|
273
|
-
│ │
|
|
274
|
-
└─────────────────────────────────────────────────────────────────┘
|
|
275
|
-
```
|
|
276
|
-
|
|
277
|
-
---
|
|
278
|
-
|
|
279
|
-
## 📚 Related Documentation
|
|
280
|
-
|
|
281
|
-
- [AGENTS.md Template](/.agent/skills/documentation-templates/agents-template.md)
|
|
282
|
-
- [Graph Mapper Skill](/.agent/skills/graph-mapper/SKILL.md)
|
|
283
|
-
- [RAG Engineering Skill](/.agent/skills/rag-engineering/SKILL.md)
|
|
284
|
-
- [MCP Builder Skill](/.agent/skills/mcp-builder/SKILL.md)
|
|
285
|
-
|
|
286
|
-
---
|
|
287
|
-
|
|
288
|
-
*Generated by Agent Kit v1.0.0*
|
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
# AI Data Infrastructure - Changelog
|
|
2
|
-
|
|
3
|
-
All notable changes to the AI Data Infrastructure are documented here.
|
|
4
|
-
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
## [1.0.0] - 2026-01-24
|
|
8
|
-
|
|
9
|
-
### Added
|
|
10
|
-
|
|
11
|
-
#### Phase 1: MCP Gateway Server Core
|
|
12
|
-
- Created MCP Gateway Server (`/.agent/mcp-gateway/`)
|
|
13
|
-
- Implemented 5 MCP tools:
|
|
14
|
-
- `get_project_context` - Read AGENTS.md sections
|
|
15
|
-
- `analyze_dependencies` - Query dependency graph
|
|
16
|
-
- `search_code_logic` - Semantic code search
|
|
17
|
-
- `get_impact_zone` - Find affected files for changes
|
|
18
|
-
- `force_sync` - Refresh all AI data
|
|
19
|
-
- TypeScript implementation with strict mode
|
|
20
|
-
- Compatible with Claude Desktop, Cursor, VS Code, Windsurf
|
|
21
|
-
|
|
22
|
-
#### Phase 2: Auto-Sync Engine
|
|
23
|
-
- `TimestampChecker` - Tracks file modification times
|
|
24
|
-
- `IncrementalSyncer` - Updates only changed files
|
|
25
|
-
- `Debouncer` - 30-second cooldown between syncs
|
|
26
|
-
- Integrated auto-sync into MCP tools
|
|
27
|
-
- Just-in-time data refresh on AI queries
|
|
28
|
-
|
|
29
|
-
#### Phase 3: Auto-Config System
|
|
30
|
-
- `setup_host.py` - Auto-configures AI hosts
|
|
31
|
-
- Config templates for Claude Desktop, Cursor, VS Code
|
|
32
|
-
- OS detection (Mac, Windows, Linux)
|
|
33
|
-
- Backup before modifying existing configs
|
|
34
|
-
- Clipboard copy for manual setup
|
|
35
|
-
- `verify_install.py` - Installation health check
|
|
36
|
-
|
|
37
|
-
#### Phase 4: CLI Wrapper
|
|
38
|
-
- `ak_cli.py` - Main CLI entry point
|
|
39
|
-
- Commands:
|
|
40
|
-
- `ai init` - Initialize AI infrastructure
|
|
41
|
-
- `ai sync` - Sync AI data
|
|
42
|
-
- `ai status` - Show infrastructure status
|
|
43
|
-
- `ai config` - Configure AI hosts
|
|
44
|
-
- Integrated into `bin/cli.js` as `ai` subcommand group
|
|
45
|
-
|
|
46
|
-
#### Phase 5: Documentation
|
|
47
|
-
- `docs/AI_DATA_INFRASTRUCTURE.md` - Comprehensive user guide
|
|
48
|
-
- Updated `ARCHITECTURE.md` with AI Infrastructure section
|
|
49
|
-
- Added skill references and documentation links
|
|
50
|
-
|
|
51
|
-
### New Skills Added
|
|
52
|
-
- `graph-mapper` - Lightweight Knowledge Graph generator
|
|
53
|
-
- `rag-engineering` - Smart code chunking and semantic search
|
|
54
|
-
- `documentation-templates/agents-template.md` - AGENTS.md template
|
|
55
|
-
|
|
56
|
-
### Updated Skills
|
|
57
|
-
- `app-builder` - Added AI Infrastructure generation step
|
|
58
|
-
- `documentation-templates` - Added AGENTS.md reference
|
|
59
|
-
|
|
60
|
-
### Updated Workflows
|
|
61
|
-
- `/create` - Now includes AI Infrastructure setup (Step 4)
|
|
62
|
-
|
|
63
|
-
---
|
|
64
|
-
|
|
65
|
-
## File Summary
|
|
66
|
-
|
|
67
|
-
| Category | Files Created |
|
|
68
|
-
|----------|---------------|
|
|
69
|
-
| **MCP Gateway** | 8 files (`/mcp-gateway/src/`) |
|
|
70
|
-
| **Skills** | 9 files (`graph-mapper/`, `rag-engineering/`) |
|
|
71
|
-
| **Scripts** | 4 files (`ak_cli.py`, `setup_host.py`, etc.) |
|
|
72
|
-
| **Templates** | 4 files (`mcp_configs/`, `agents-template.md`) |
|
|
73
|
-
| **Documentation** | 2 files |
|
|
74
|
-
| **Total** | ~27 new files |
|
|
75
|
-
|
|
76
|
-
---
|
|
77
|
-
|
|
78
|
-
## Architecture
|
|
79
|
-
|
|
80
|
-
```
|
|
81
|
-
Agent Kit v5.0+ with AI Data Infrastructure
|
|
82
|
-
============================================
|
|
83
|
-
|
|
84
|
-
┌─────────────────────────────────────────┐
|
|
85
|
-
│ USER PROJECT │
|
|
86
|
-
└───────────────────┬─────────────────────┘
|
|
87
|
-
│
|
|
88
|
-
┌───────────────────▼─────────────────────┐
|
|
89
|
-
│ AI DATA INFRASTRUCTURE │
|
|
90
|
-
│ │
|
|
91
|
-
│ ┌─────────┐ ┌─────────┐ ┌─────────┐ │
|
|
92
|
-
│ │AGENTS.md│ │ Graph │ │ RAG │ │
|
|
93
|
-
│ │ (Map) │ │ (KG) │ │(Chunks) │ │
|
|
94
|
-
│ └────┬────┘ └────┬────┘ └────┬────┘ │
|
|
95
|
-
│ └───────────┼───────────┘ │
|
|
96
|
-
│ │ │
|
|
97
|
-
│ ┌────────▼────────┐ │
|
|
98
|
-
│ │ MCP GATEWAY │ │
|
|
99
|
-
│ │ (Auto-Sync) │ │
|
|
100
|
-
│ └────────┬────────┘ │
|
|
101
|
-
└───────────────────┼─────────────────────┘
|
|
102
|
-
│ MCP Protocol
|
|
103
|
-
┌───────────────────▼─────────────────────┐
|
|
104
|
-
│ AI HOSTS │
|
|
105
|
-
│ Claude │ Cursor │ Windsurf │ Codex │
|
|
106
|
-
└─────────────────────────────────────────┘
|
|
107
|
-
```
|
|
108
|
-
|
|
109
|
-
---
|
|
110
|
-
|
|
111
|
-
*Documented by Agent Kit on 2026-01-24*
|