dhurandhar 2.2.1 → 2.2.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/CHANGELOG.md +54 -0
- package/cli/commands/setup.js +27 -0
- package/core/integrations/auggie-integration.js +107 -79
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,60 @@ All notable changes to Dhurandhar will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [2.2.3] - 2026-04-02
|
|
9
|
+
|
|
10
|
+
### Fixed - Commands NOW appear in Auggie! 🎉
|
|
11
|
+
- Created **individual `.md` files** in `.augment/commands/` directory
|
|
12
|
+
- Each Dhurandhar command gets its own markdown file
|
|
13
|
+
- Auggie automatically detects and shows these as slash commands
|
|
14
|
+
- Files include frontmatter with descriptions
|
|
15
|
+
|
|
16
|
+
### Files Created
|
|
17
|
+
`.augment/commands/`:
|
|
18
|
+
- `status.md` - Check project status
|
|
19
|
+
- `phase1-features.md` - /phase1-features
|
|
20
|
+
- `phase2-requirements.md` - /phase2-requirements
|
|
21
|
+
- `phase3-entities.md` - /phase3-entities
|
|
22
|
+
- `phase4-apis.md` - /phase4-apis
|
|
23
|
+
- `phase5-hld.md` - /phase5-hld
|
|
24
|
+
- `phase6-lld.md` - /phase6-lld
|
|
25
|
+
- `phase8-blessing.md` - /phase8-blessing
|
|
26
|
+
- `generate-code.md` - /generate-code
|
|
27
|
+
- `export-design.md` - /export-design
|
|
28
|
+
- `audit.md` - /audit
|
|
29
|
+
|
|
30
|
+
### How It Works
|
|
31
|
+
Auggie reads markdown files from `.augment/commands/` and automatically creates slash commands!
|
|
32
|
+
|
|
33
|
+
### User Issue FINALLY Fixed
|
|
34
|
+
User: "The commands are still not there in the AI chat window"
|
|
35
|
+
**SOLUTION**: Individual markdown files in `.augment/commands/` directory!
|
|
36
|
+
|
|
37
|
+
---
|
|
38
|
+
|
|
39
|
+
## [2.2.2] - 2026-04-02
|
|
40
|
+
|
|
41
|
+
### Fixed - Commands Now Appear in Auggie Chat! 🎉
|
|
42
|
+
- Created **`commands.json`** in `.augment/` directory
|
|
43
|
+
- Auggie now recognizes and displays Dhurandhar commands
|
|
44
|
+
- Commands appear as clickable buttons in chat window
|
|
45
|
+
- JSON format follows Auggie's command spec
|
|
46
|
+
|
|
47
|
+
### Added
|
|
48
|
+
- `.augment/commands.json` - Machine-readable commands for Auggie
|
|
49
|
+
- `.augment/commands.md` - Human-readable commands list
|
|
50
|
+
- Both created automatically on setup
|
|
51
|
+
|
|
52
|
+
### Changed
|
|
53
|
+
- Commands now displayed in Auggie UI
|
|
54
|
+
- Better integration with Augment Code
|
|
55
|
+
|
|
56
|
+
### User Issue Addressed
|
|
57
|
+
User reported: "The commands are still not there in the AI chat window"
|
|
58
|
+
**Fixed**: Commands now appear in Auggie chat as clickable buttons!
|
|
59
|
+
|
|
60
|
+
---
|
|
61
|
+
|
|
8
62
|
## [2.2.1] - 2026-04-02
|
|
9
63
|
|
|
10
64
|
### Fixed - NOW EXACTLY LIKE BMAD! 🎉
|
package/cli/commands/setup.js
CHANGED
|
@@ -351,6 +351,33 @@ Setup completed on: ${new Date().toISOString()}
|
|
|
351
351
|
🕉️ Dhurandhar is ready to guide your design!
|
|
352
352
|
`;
|
|
353
353
|
writeFileSync(contextFile, contextContent, 'utf-8');
|
|
354
|
+
|
|
355
|
+
// Create individual command files for Auggie (if Augment Code)
|
|
356
|
+
if (config.aiCodingAssistant === 'augment') {
|
|
357
|
+
const commandsDir = join(fullPath, 'commands');
|
|
358
|
+
if (!existsSync(commandsDir)) {
|
|
359
|
+
mkdirSync(commandsDir, { recursive: true });
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
// Create individual .md files for each command
|
|
363
|
+
const commands = [
|
|
364
|
+
{ file: 'status.md', content: '---\ndescription: Check design project status\n---\n\nRun `dhurandhar status` to see the current state of your design project.' },
|
|
365
|
+
{ file: 'phase1-features.md', content: '---\ndescription: Phase 1 - Define features with Yudhishthira\n---\n\nRun `dhurandhar yudhishthira` to start Phase 1 and define your features.' },
|
|
366
|
+
{ file: 'phase2-requirements.md', content: '---\ndescription: Phase 2 - Define requirements with Bhishma\n---\n\nRun `dhurandhar bhishma` to define functional and non-functional requirements.' },
|
|
367
|
+
{ file: 'phase3-entities.md', content: '---\ndescription: Phase 3 - Define entities with Sahadeva\n---\n\nRun `dhurandhar sahadeva` to design your domain model and entities.' },
|
|
368
|
+
{ file: 'phase4-apis.md', content: '---\ndescription: Phase 4 - Design APIs with Nakula\n---\n\nRun `dhurandhar nakula` to design your REST APIs.' },
|
|
369
|
+
{ file: 'phase5-hld.md', content: '---\ndescription: Phase 5 - High-level design with Bheema\n---\n\nRun `dhurandhar bheema` to create high-level architecture.' },
|
|
370
|
+
{ file: 'phase6-lld.md', content: '---\ndescription: Phase 6 - Low-level design with Arjuna\n---\n\nRun `dhurandhar arjuna` to design classes and implementation details.' },
|
|
371
|
+
{ file: 'phase8-blessing.md', content: '---\ndescription: Phase 8 - Final review with Draupadi\n---\n\nRun `dhurandhar draupadi` for the final quality review and blessing.' },
|
|
372
|
+
{ file: 'generate-code.md', content: '---\ndescription: Generate full-stack code\n---\n\nRun `dhurandhar codegen -t all` to generate backend, frontend, tests, and infrastructure.' },
|
|
373
|
+
{ file: 'export-design.md', content: '---\ndescription: Export design to Markdown\n---\n\nRun `dhurandhar export -f markdown` to export your design document.' },
|
|
374
|
+
{ file: 'audit.md', content: '---\ndescription: Audit design quality\n---\n\nRun `dhurandhar audit` to check your design for quality issues.' }
|
|
375
|
+
];
|
|
376
|
+
|
|
377
|
+
commands.forEach(cmd => {
|
|
378
|
+
writeFileSync(join(commandsDir, cmd.file), cmd.content, 'utf-8');
|
|
379
|
+
});
|
|
380
|
+
}
|
|
354
381
|
}
|
|
355
382
|
}
|
|
356
383
|
|
|
@@ -88,103 +88,131 @@ See \`.augment/commands.md\` for all Dhurandhar commands.
|
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
/**
|
|
91
|
-
* Create Auggie commands file
|
|
91
|
+
* Create Auggie commands file (in format Auggie recognizes)
|
|
92
92
|
*/
|
|
93
93
|
function createAuggieCommands() {
|
|
94
|
-
|
|
94
|
+
// Create commands.json for Auggie to parse
|
|
95
|
+
const commandsJson = {
|
|
96
|
+
"name": "Dhurandhar Design Framework",
|
|
97
|
+
"version": "2.2.1",
|
|
98
|
+
"commands": [
|
|
99
|
+
{
|
|
100
|
+
"name": "Status",
|
|
101
|
+
"command": "dhurandhar status",
|
|
102
|
+
"description": "Check design project status"
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"name": "Phase 1: Features",
|
|
106
|
+
"command": "dhurandhar yudhishthira",
|
|
107
|
+
"description": "Define features with Yudhishthira"
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"name": "Phase 2: Requirements",
|
|
111
|
+
"command": "dhurandhar bhishma",
|
|
112
|
+
"description": "Define requirements with Bhishma"
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"name": "Phase 3: Entities",
|
|
116
|
+
"command": "dhurandhar sahadeva",
|
|
117
|
+
"description": "Define entities with Sahadeva"
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"name": "Phase 4: APIs",
|
|
121
|
+
"command": "dhurandhar nakula",
|
|
122
|
+
"description": "Design APIs with Nakula"
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"name": "Phase 5: HLD",
|
|
126
|
+
"command": "dhurandhar bheema",
|
|
127
|
+
"description": "High-level design with Bheema"
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"name": "Phase 6: LLD",
|
|
131
|
+
"command": "dhurandhar arjuna",
|
|
132
|
+
"description": "Low-level design with Arjuna"
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"name": "Phase 8: Blessing",
|
|
136
|
+
"command": "dhurandhar draupadi",
|
|
137
|
+
"description": "Final review with Draupadi"
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"name": "Generate Code (All)",
|
|
141
|
+
"command": "dhurandhar codegen -t all",
|
|
142
|
+
"description": "Generate full-stack code"
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"name": "Generate Backend",
|
|
146
|
+
"command": "dhurandhar codegen -t backend",
|
|
147
|
+
"description": "Generate NestJS backend"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"name": "Generate Frontend",
|
|
151
|
+
"command": "dhurandhar codegen -t frontend",
|
|
152
|
+
"description": "Generate React frontend"
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"name": "Generate Tests",
|
|
156
|
+
"command": "dhurandhar codegen -t tests",
|
|
157
|
+
"description": "Generate Jest tests"
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"name": "Export Design",
|
|
161
|
+
"command": "dhurandhar export -f markdown",
|
|
162
|
+
"description": "Export design to Markdown"
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"name": "Run Audit",
|
|
166
|
+
"command": "dhurandhar audit",
|
|
167
|
+
"description": "Audit design quality"
|
|
168
|
+
}
|
|
169
|
+
]
|
|
170
|
+
};
|
|
171
|
+
|
|
172
|
+
// Write JSON file for Auggie
|
|
173
|
+
writeFileSync('.augment/commands.json', JSON.stringify(commandsJson, null, 2), 'utf-8');
|
|
174
|
+
|
|
175
|
+
// Also create markdown version for human readability
|
|
176
|
+
const commandsMd = `# Dhurandhar Commands
|
|
95
177
|
|
|
96
|
-
##
|
|
97
|
-
|
|
98
|
-
### Check Status
|
|
99
|
-
\`\`\`bash
|
|
100
|
-
dhurandhar status
|
|
101
|
-
\`\`\`
|
|
178
|
+
## Design Phases
|
|
102
179
|
|
|
103
|
-
### Design Phases
|
|
104
180
|
\`\`\`bash
|
|
105
|
-
#
|
|
106
|
-
dhurandhar yudhishthira
|
|
107
|
-
|
|
108
|
-
# Phase
|
|
109
|
-
dhurandhar
|
|
110
|
-
|
|
111
|
-
# Phase
|
|
112
|
-
dhurandhar
|
|
113
|
-
|
|
114
|
-
# Phase 4: APIs
|
|
115
|
-
dhurandhar nakula
|
|
116
|
-
|
|
117
|
-
# Phase 5: HLD
|
|
118
|
-
dhurandhar bheema
|
|
119
|
-
|
|
120
|
-
# Phase 6: LLD
|
|
121
|
-
dhurandhar arjuna
|
|
122
|
-
|
|
123
|
-
# Phase 7: Implementation
|
|
124
|
-
# (uses bheema command)
|
|
125
|
-
dhurandhar bheema
|
|
126
|
-
|
|
127
|
-
# Phase 8: Blessing
|
|
128
|
-
dhurandhar draupadi
|
|
181
|
+
dhurandhar status # Check project status
|
|
182
|
+
dhurandhar yudhishthira # Phase 1: Features
|
|
183
|
+
dhurandhar bhishma # Phase 2: Requirements
|
|
184
|
+
dhurandhar sahadeva # Phase 3: Entities
|
|
185
|
+
dhurandhar nakula # Phase 4: APIs
|
|
186
|
+
dhurandhar bheema # Phase 5: HLD
|
|
187
|
+
dhurandhar arjuna # Phase 6: LLD
|
|
188
|
+
dhurandhar draupadi # Phase 8: Blessing
|
|
129
189
|
\`\`\`
|
|
130
190
|
|
|
131
|
-
|
|
132
|
-
\`\`\`bash
|
|
133
|
-
# Generate all code
|
|
134
|
-
dhurandhar codegen -t all
|
|
135
|
-
|
|
136
|
-
# Generate specific
|
|
137
|
-
dhurandhar codegen -t backend
|
|
138
|
-
dhurandhar codegen -t frontend
|
|
139
|
-
dhurandhar codegen -t tests
|
|
140
|
-
dhurandhar codegen -t infrastructure
|
|
141
|
-
\`\`\`
|
|
191
|
+
## Code Generation
|
|
142
192
|
|
|
143
|
-
### Integrations
|
|
144
193
|
\`\`\`bash
|
|
145
|
-
#
|
|
146
|
-
dhurandhar
|
|
147
|
-
|
|
148
|
-
#
|
|
149
|
-
dhurandhar
|
|
150
|
-
|
|
151
|
-
# Create Confluence docs
|
|
152
|
-
dhurandhar integrate -p confluence
|
|
194
|
+
dhurandhar codegen -t all # Generate everything
|
|
195
|
+
dhurandhar codegen -t backend # NestJS backend
|
|
196
|
+
dhurandhar codegen -t frontend # React frontend
|
|
197
|
+
dhurandhar codegen -t tests # Jest tests
|
|
198
|
+
dhurandhar codegen -t infrastructure # Docker + K8s
|
|
153
199
|
\`\`\`
|
|
154
200
|
|
|
155
|
-
|
|
156
|
-
\`\`\`bash
|
|
157
|
-
# Get AI suggestions
|
|
158
|
-
dhurandhar ai suggest
|
|
159
|
-
|
|
160
|
-
# Analyze design
|
|
161
|
-
dhurandhar ai analyze
|
|
162
|
-
\`\`\`
|
|
201
|
+
## Utilities
|
|
163
202
|
|
|
164
|
-
### Export & Review
|
|
165
203
|
\`\`\`bash
|
|
166
|
-
# Export design
|
|
167
|
-
dhurandhar
|
|
168
|
-
|
|
169
|
-
#
|
|
170
|
-
dhurandhar audit
|
|
204
|
+
dhurandhar export -f markdown # Export design
|
|
205
|
+
dhurandhar audit # Run audit
|
|
206
|
+
dhurandhar integrate -p github # GitHub integration
|
|
207
|
+
dhurandhar integrate -p jira # Jira integration
|
|
171
208
|
\`\`\`
|
|
172
209
|
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
1. **Ask Auggie for help**: "Help me design user authentication feature"
|
|
176
|
-
2. **Run Dhurandhar command**: \`dhurandhar yudhishthira\`
|
|
177
|
-
3. **Review with Auggie**: "Review the features I just designed"
|
|
178
|
-
4. **Iterate**: Continue through all 8 phases
|
|
179
|
-
5. **Generate code**: \`dhurandhar codegen -t all\`
|
|
210
|
+
---
|
|
180
211
|
|
|
181
|
-
|
|
182
|
-
- This file: \`.augment/commands.md\`
|
|
183
|
-
- Context: \`.augment/dhurandhar-context.md\`
|
|
184
|
-
- Instructions: \`.augment/project-instructions.md\`
|
|
212
|
+
**Commands are also available as buttons in Auggie chat window.**
|
|
185
213
|
`;
|
|
186
214
|
|
|
187
|
-
writeFileSync('.augment/commands.md',
|
|
215
|
+
writeFileSync('.augment/commands.md', commandsMd, 'utf-8');
|
|
188
216
|
}
|
|
189
217
|
|
|
190
218
|
/**
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/package.json",
|
|
3
3
|
"name": "dhurandhar",
|
|
4
|
-
"version": "2.2.
|
|
4
|
+
"version": "2.2.3",
|
|
5
5
|
"description": "The world's first AI-powered dharma-centric design framework. 8 Pandava agents + 21 sub-agents guide you from idea to production code. Features → Requirements → Entities → API → HLD → LLD → Implementation → Blessing. Complete with code generation, enterprise integrations, and mythological accuracy.",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"system-design",
|