agdi 2.10.2 → 2.10.3
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.md +44 -53
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -26,46 +26,26 @@ agdi squad "Build a todo app with authentication" --deploy
|
|
|
26
26
|
## 🔄 How It Works
|
|
27
27
|
|
|
28
28
|
```
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
│ 🕵️ QA Agent │
|
|
50
|
-
└────────┬────────┘
|
|
51
|
-
│
|
|
52
|
-
┌────────┴────────┐
|
|
53
|
-
│ Build Pass? │
|
|
54
|
-
└────────┬────────┘
|
|
55
|
-
│
|
|
56
|
-
┌──────────────┴──────────────┐
|
|
57
|
-
│ No Yes │
|
|
58
|
-
▼ ▼
|
|
59
|
-
┌─────────────────┐ ┌─────────────────┐
|
|
60
|
-
│ 🔧 Auto-Fix │ │ 🚀 DevOps │
|
|
61
|
-
└────────┬────────┘ └────────┬────────┘
|
|
62
|
-
│ │
|
|
63
|
-
└──────────▶ ◀────────────────┘
|
|
64
|
-
│
|
|
65
|
-
▼
|
|
66
|
-
┌─────────────────┐
|
|
67
|
-
│ 🌐 Live URL! │
|
|
68
|
-
└─────────────────┘
|
|
29
|
+
👤 Your Prompt
|
|
30
|
+
│
|
|
31
|
+
▼
|
|
32
|
+
🧠 Manager Agent ────► 📋 Project Spec
|
|
33
|
+
│
|
|
34
|
+
├───► 🎨 Frontend
|
|
35
|
+
│ │
|
|
36
|
+
└───► ⚙️ Backend
|
|
37
|
+
│
|
|
38
|
+
┌─────────▼─────────┐
|
|
39
|
+
│ 🕵️ QA Agent │
|
|
40
|
+
└─────────┬─────────┘
|
|
41
|
+
│
|
|
42
|
+
Build Pass?
|
|
43
|
+
│ │
|
|
44
|
+
No ─▼─ ──▼── Yes
|
|
45
|
+
│ │
|
|
46
|
+
🔧 Fix 🚀 DevOps Agent
|
|
47
|
+
│ │
|
|
48
|
+
└──────► 🌐 Live URL
|
|
69
49
|
```
|
|
70
50
|
|
|
71
51
|
---
|
|
@@ -108,21 +88,29 @@ agdi squad "Build a blog with comments" --deploy
|
|
|
108
88
|
|
|
109
89
|
## 📖 Commands
|
|
110
90
|
|
|
91
|
+
### Core Commands
|
|
92
|
+
|
|
111
93
|
```bash
|
|
112
|
-
# Core
|
|
113
94
|
agdi # Interactive mode
|
|
114
95
|
agdi auth # Configure API keys
|
|
115
|
-
agdi squad "..." # Multi-agent builder
|
|
96
|
+
agdi squad "..." # 🆕 Multi-agent builder
|
|
116
97
|
agdi build "..." # Single-agent build
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
### Squad Options
|
|
117
101
|
|
|
118
|
-
|
|
119
|
-
agdi squad "
|
|
120
|
-
agdi squad "
|
|
102
|
+
```bash
|
|
103
|
+
agdi squad "prompt" --deploy # Auto-deploy to Vercel
|
|
104
|
+
agdi squad "prompt" --output ./ # Specify output directory
|
|
105
|
+
```
|
|
121
106
|
|
|
122
|
-
|
|
107
|
+
### Other Commands
|
|
108
|
+
|
|
109
|
+
```bash
|
|
123
110
|
agdi model # Change AI model
|
|
124
111
|
agdi chat # Q&A mode
|
|
125
112
|
agdi doctor # System health check
|
|
113
|
+
agdi auth --status # Show configured providers
|
|
126
114
|
```
|
|
127
115
|
|
|
128
116
|
---
|
|
@@ -142,9 +130,10 @@ agdi auth
|
|
|
142
130
|
```bash
|
|
143
131
|
agdi squad "Build a landing page" --deploy
|
|
144
132
|
|
|
133
|
+
# Output:
|
|
145
134
|
# 🚀 Agdi Squad Activated!
|
|
146
135
|
# 📋 Phase 1: Planning... ✓
|
|
147
|
-
# ⚡ Phase 2: Execution... ✓
|
|
136
|
+
# ⚡ Phase 2: Execution... ✓
|
|
148
137
|
# ✅ Phase 3: Validation... ✓
|
|
149
138
|
# 🚀 Phase 4: Deployment... ✓
|
|
150
139
|
# 🎉 Live at: https://your-app.vercel.app
|
|
@@ -167,12 +156,14 @@ agdi squad "Build a landing page" --deploy
|
|
|
167
156
|
|
|
168
157
|
## 🛡️ Security
|
|
169
158
|
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
159
|
+
```
|
|
160
|
+
┌─────────────────────────────────────────────────┐
|
|
161
|
+
│ 🔐 API Keys → ~/.agdi/config.json (0600) │
|
|
162
|
+
│ 📁 Workspace → Commands restricted to cwd │
|
|
163
|
+
│ ⚠️ Dangerous → Requires user confirmation │
|
|
164
|
+
│ 📝 Audit Log → All operations logged │
|
|
165
|
+
└─────────────────────────────────────────────────┘
|
|
166
|
+
```
|
|
176
167
|
|
|
177
168
|
---
|
|
178
169
|
|
package/dist/index.js
CHANGED
|
@@ -6327,7 +6327,7 @@ ${chalk18.cyan(`/_/ |_|\\_, /\\__,_//_/ `)}
|
|
|
6327
6327
|
${chalk18.cyan(` /____/ `)}
|
|
6328
6328
|
`;
|
|
6329
6329
|
var program = new Command();
|
|
6330
|
-
program.name("agdi").description(chalk18.cyan("\u{1F680} AI-powered coding assistant")).version("2.10.
|
|
6330
|
+
program.name("agdi").description(chalk18.cyan("\u{1F680} AI-powered coding assistant")).version("2.10.3").option("-y, --yes", "Auto-approve all prompts (headless/CI mode)").option("-m, --minimal", "Generate only the requested file(s), not a full app").option("-d, --dry-run", "Show what would be created without writing files");
|
|
6331
6331
|
program.hook("preAction", (thisCommand) => {
|
|
6332
6332
|
const opts = thisCommand.opts();
|
|
6333
6333
|
if (opts.yes) {
|