dhurandhar 2.2.3 ā 2.3.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/CHANGELOG.md +54 -0
- package/cli/commands/setup.js +99 -14
- package/core/integrations/auggie-install-help.md +54 -0
- 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.3.1] - 2026-04-02
|
|
9
|
+
|
|
10
|
+
### Fixed - Installation Instructions Added
|
|
11
|
+
- Setup now checks if Dhurandhar is installed globally
|
|
12
|
+
- Warns user if `dhurandhar` command not found
|
|
13
|
+
- Added installation instructions to command files
|
|
14
|
+
- Created README.md in .augment/commands/
|
|
15
|
+
- Added auggie-install-help.md guide
|
|
16
|
+
|
|
17
|
+
### Changed
|
|
18
|
+
- All command .md files now include: `npm install -g dhurandhar@latest`
|
|
19
|
+
- Setup displays warning if not installed globally
|
|
20
|
+
- Better guidance for Auggie users
|
|
21
|
+
|
|
22
|
+
### User Issue Addressed
|
|
23
|
+
Auggie found commands but showed "command not found" because
|
|
24
|
+
Dhurandhar wasn't installed globally. Now setup warns users!
|
|
25
|
+
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
## [2.3.0] - 2026-04-02
|
|
29
|
+
|
|
30
|
+
### Added - COMPLETE Command Set! š
|
|
31
|
+
- **32 total commands** created in `.augment/commands/`
|
|
32
|
+
- All 8 master agents (Yudhishthira, Bhishma, Sahadeva, Nakula, Bheema, Arjuna, Draupadi)
|
|
33
|
+
- All code generation options (all, backend, frontend, tests, infrastructure)
|
|
34
|
+
- All export formats (markdown, json, html)
|
|
35
|
+
- All integrations (GitHub, Jira, Confluence)
|
|
36
|
+
- AI features (suggest, analyze)
|
|
37
|
+
- Utilities (status, next, back, diagrams, review, audit, decisions, undo)
|
|
38
|
+
|
|
39
|
+
### Complete Command List
|
|
40
|
+
**Navigation**: status, next, back
|
|
41
|
+
**Master Agents**: yudhishthira, bhishma, sahadeva, nakula, bheema, arjuna, draupadi
|
|
42
|
+
**Code Generation**: codegen-all, codegen-backend, codegen-frontend, codegen-tests, codegen-infra
|
|
43
|
+
**Export**: export-markdown, export-json, export-html
|
|
44
|
+
**Integrations**: integrate-github, integrate-jira, integrate-confluence
|
|
45
|
+
**AI**: ai-suggest, ai-analyze
|
|
46
|
+
**Utilities**: diagrams, review, audit, decisions, undo
|
|
47
|
+
|
|
48
|
+
### Changed
|
|
49
|
+
- Now 32 commands instead of 11
|
|
50
|
+
- Comprehensive coverage of all Dhurandhar features
|
|
51
|
+
- Every major command has a slash command in Auggie
|
|
52
|
+
|
|
53
|
+
### User Feedback Implemented
|
|
54
|
+
User: "Shouldn't there be other commands corresponding to all the master agents, as well as other commands we may need"
|
|
55
|
+
**SOLUTION**: Created complete command set with 32 commands!
|
|
56
|
+
|
|
57
|
+
This is a MINOR version bump (2.2.x ā 2.3.0) adding significant
|
|
58
|
+
new functionality.
|
|
59
|
+
|
|
60
|
+
---
|
|
61
|
+
|
|
8
62
|
## [2.2.3] - 2026-04-02
|
|
9
63
|
|
|
10
64
|
### Fixed - Commands NOW appear in Auggie! š
|
package/cli/commands/setup.js
CHANGED
|
@@ -49,8 +49,33 @@ export default async function setupCommand(options) {
|
|
|
49
49
|
clack.outro(chalk.green.bold('ā
Setup Complete!'));
|
|
50
50
|
|
|
51
51
|
console.log(chalk.cyan('\nš Next Steps:'));
|
|
52
|
-
|
|
53
|
-
|
|
52
|
+
|
|
53
|
+
// Check if dhurandhar is installed globally
|
|
54
|
+
const { execSync } = await import('child_process');
|
|
55
|
+
let isInstalled = false;
|
|
56
|
+
try {
|
|
57
|
+
execSync('which dhurandhar', { stdio: 'ignore' });
|
|
58
|
+
isInstalled = true;
|
|
59
|
+
} catch (e) {
|
|
60
|
+
isInstalled = false;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
if (!isInstalled) {
|
|
64
|
+
console.log(chalk.yellow('\nā ļø Important: Install Dhurandhar globally to use commands'));
|
|
65
|
+
console.log(chalk.cyan(' npm install -g dhurandhar@latest\n'));
|
|
66
|
+
console.log(chalk.gray(' Then you can run:'));
|
|
67
|
+
} else {
|
|
68
|
+
console.log(chalk.gray(' To start:'));
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
console.log(chalk.gray(' 1. dhurandhar init (to initialize design)'));
|
|
72
|
+
console.log(chalk.gray(' 2. dhurandhar yudhishthira (start Phase 1)\n'));
|
|
73
|
+
|
|
74
|
+
if (config.aiCodingAssistant === 'augment') {
|
|
75
|
+
console.log(chalk.magenta('š” Auggie Integration:'));
|
|
76
|
+
console.log(chalk.gray(' - Type / in Auggie chat to see 32 commands'));
|
|
77
|
+
console.log(chalk.gray(' - Commands work after global install\n'));
|
|
78
|
+
}
|
|
54
79
|
} catch (error) {
|
|
55
80
|
console.error(chalk.red('\nā Setup failed:'), error.message);
|
|
56
81
|
console.log(chalk.yellow('\nš” Tip: Try running setup again with a stable terminal'));
|
|
@@ -359,19 +384,79 @@ Setup completed on: ${new Date().toISOString()}
|
|
|
359
384
|
mkdirSync(commandsDir, { recursive: true });
|
|
360
385
|
}
|
|
361
386
|
|
|
362
|
-
// Create
|
|
387
|
+
// Create README first
|
|
388
|
+
const readmeContent = `# Dhurandhar Commands
|
|
389
|
+
|
|
390
|
+
## Installation Required
|
|
391
|
+
|
|
392
|
+
To use these commands, install Dhurandhar globally:
|
|
393
|
+
|
|
394
|
+
\`\`\`bash
|
|
395
|
+
npm install -g dhurandhar@latest
|
|
396
|
+
\`\`\`
|
|
397
|
+
|
|
398
|
+
Then you can run any command like:
|
|
399
|
+
\`\`\`bash
|
|
400
|
+
dhurandhar yudhishthira
|
|
401
|
+
dhurandhar status
|
|
402
|
+
dhurandhar codegen -t all
|
|
403
|
+
\`\`\`
|
|
404
|
+
|
|
405
|
+
## All Commands
|
|
406
|
+
|
|
407
|
+
See individual .md files in this directory for each command.
|
|
408
|
+
`;
|
|
409
|
+
writeFileSync(join(commandsDir, 'README.md'), readmeContent, 'utf-8');
|
|
410
|
+
|
|
411
|
+
// Create comprehensive .md files for ALL commands
|
|
363
412
|
const commands = [
|
|
364
|
-
|
|
365
|
-
{ file: '
|
|
366
|
-
{ file: '
|
|
367
|
-
{ file: '
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
{ file: '
|
|
371
|
-
{ file: '
|
|
372
|
-
{ file: '
|
|
373
|
-
{ file: '
|
|
374
|
-
{ file: '
|
|
413
|
+
// Status & Navigation
|
|
414
|
+
{ file: 'status.md', content: '---\ndescription: Check design project status\n---\n\n**Installation**: `npm install -g dhurandhar@latest`\n\nRun `dhurandhar status` to see the current state of your design project.' },
|
|
415
|
+
{ file: 'next.md', content: '---\ndescription: Move to next phase\n---\n\n**Installation**: `npm install -g dhurandhar@latest`\n\nRun `dhurandhar next` to automatically move to the next design phase.' },
|
|
416
|
+
{ file: 'back.md', content: '---\ndescription: Go back to previous phase\n---\n\n**Installation**: `npm install -g dhurandhar@latest`\n\nRun `dhurandhar back` to return to the previous design phase.' },
|
|
417
|
+
|
|
418
|
+
// Master Agents (All 8)
|
|
419
|
+
{ file: 'yudhishthira.md', content: '---\ndescription: Phase 1 - Features with Yudhishthira (Dharma)\n---\n\nRun `dhurandhar yudhishthira` to define features with the master of dharma.' },
|
|
420
|
+
{ file: 'bhishma.md', content: '---\ndescription: Phase 2 - Requirements with Bhishma (Grandfather)\n---\n\nRun `dhurandhar bhishma` to define functional and non-functional requirements.' },
|
|
421
|
+
{ file: 'sahadeva.md', content: '---\ndescription: Phase 3 - Entities with Sahadeva (Wisdom)\n---\n\nRun `dhurandhar sahadeva` to design domain model and entities.' },
|
|
422
|
+
{ file: 'nakula.md', content: '---\ndescription: Phase 4 - APIs with Nakula (Handsome)\n---\n\nRun `dhurandhar nakula` to design REST APIs.' },
|
|
423
|
+
{ file: 'bheema.md', content: '---\ndescription: Phase 5 & 7 - HLD & Implementation with Bheema (Strength)\n---\n\nRun `dhurandhar bheema` for high-level design and implementation planning.' },
|
|
424
|
+
{ file: 'arjuna.md', content: '---\ndescription: Phase 6 - LLD with Arjuna (Warrior)\n---\n\nRun `dhurandhar arjuna` for low-level design and class diagrams.' },
|
|
425
|
+
{ file: 'draupadi.md', content: '---\ndescription: Phase 8 - Blessing with Draupadi (Queen)\n---\n\nRun `dhurandhar draupadi` for the final quality review and imperial blessing.' },
|
|
426
|
+
|
|
427
|
+
// Code Generation (All options)
|
|
428
|
+
{ file: 'codegen-all.md', content: '---\ndescription: Generate complete full-stack application\n---\n\nRun `dhurandhar codegen -t all` to generate backend, frontend, tests, and infrastructure.' },
|
|
429
|
+
{ file: 'codegen-backend.md', content: '---\ndescription: Generate NestJS backend only\n---\n\nRun `dhurandhar codegen -t backend` to generate NestJS + TypeORM backend code.' },
|
|
430
|
+
{ file: 'codegen-frontend.md', content: '---\ndescription: Generate React frontend only\n---\n\nRun `dhurandhar codegen -t frontend` to generate React + Vite + Tailwind frontend.' },
|
|
431
|
+
{ file: 'codegen-tests.md', content: '---\ndescription: Generate Jest tests only\n---\n\nRun `dhurandhar codegen -t tests` to generate unit and E2E tests.' },
|
|
432
|
+
{ file: 'codegen-infra.md', content: '---\ndescription: Generate infrastructure code\n---\n\nRun `dhurandhar codegen -t infrastructure` to generate Docker and Kubernetes configs.' },
|
|
433
|
+
|
|
434
|
+
// Export (All formats)
|
|
435
|
+
{ file: 'export-markdown.md', content: '---\ndescription: Export design to Markdown\n---\n\nRun `dhurandhar export -f markdown` to export design as Markdown document.' },
|
|
436
|
+
{ file: 'export-json.md', content: '---\ndescription: Export design to JSON\n---\n\nRun `dhurandhar export -f json` to export design as JSON data.' },
|
|
437
|
+
{ file: 'export-html.md', content: '---\ndescription: Export design to HTML\n---\n\nRun `dhurandhar export -f html` to export design as interactive HTML.' },
|
|
438
|
+
|
|
439
|
+
// Integrations
|
|
440
|
+
{ file: 'integrate-github.md', content: '---\ndescription: Create GitHub issues from design\n---\n\nRun `dhurandhar integrate -p github` to create GitHub issues for all features.' },
|
|
441
|
+
{ file: 'integrate-jira.md', content: '---\ndescription: Create Jira tickets from design\n---\n\nRun `dhurandhar integrate -p jira` to create Jira epics, stories, and tasks.' },
|
|
442
|
+
{ file: 'integrate-confluence.md', content: '---\ndescription: Create Confluence documentation\n---\n\nRun `dhurandhar integrate -p confluence` to create Confluence pages from design.' },
|
|
443
|
+
|
|
444
|
+
// AI Features
|
|
445
|
+
{ file: 'ai-suggest.md', content: '---\ndescription: Get AI design suggestions\n---\n\nRun `dhurandhar ai suggest` to get AI-powered design improvement suggestions.' },
|
|
446
|
+
{ file: 'ai-analyze.md', content: '---\ndescription: AI design analysis\n---\n\nRun `dhurandhar ai analyze` to get comprehensive AI analysis of your design.' },
|
|
447
|
+
|
|
448
|
+
// Diagrams
|
|
449
|
+
{ file: 'diagrams.md', content: '---\ndescription: Generate architecture diagrams\n---\n\nRun `dhurandhar diagrams` to generate visual architecture diagrams.' },
|
|
450
|
+
|
|
451
|
+
// Review & Audit
|
|
452
|
+
{ file: 'review.md', content: '---\ndescription: Run cascading review\n---\n\nRun `dhurandhar review` to run a comprehensive design review across all phases.' },
|
|
453
|
+
{ file: 'audit.md', content: '---\ndescription: Audit design quality\n---\n\nRun `dhurandhar audit` to check for design issues and quality problems.' },
|
|
454
|
+
|
|
455
|
+
// Decisions
|
|
456
|
+
{ file: 'decisions.md', content: '---\ndescription: Manage technical decisions\n---\n\nRun `dhurandhar decisions` to view and manage technical decisions in the registry.' },
|
|
457
|
+
|
|
458
|
+
// Undo
|
|
459
|
+
{ file: 'undo.md', content: '---\ndescription: Undo last change\n---\n\nRun `dhurandhar undo` to undo the last change (up to 20 versions).' }
|
|
375
460
|
];
|
|
376
461
|
|
|
377
462
|
commands.forEach(cmd => {
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# Dhurandhar Installation for Auggie
|
|
2
|
+
|
|
3
|
+
## Issue: Command Not Found
|
|
4
|
+
|
|
5
|
+
If you see `bash: dhurandhar: command not found`, it means Dhurandhar is not installed globally.
|
|
6
|
+
|
|
7
|
+
## Solution
|
|
8
|
+
|
|
9
|
+
Install Dhurandhar globally using npm:
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
npm install -g dhurandhar@latest
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Verify Installation
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
# Check if installed
|
|
19
|
+
which dhurandhar
|
|
20
|
+
|
|
21
|
+
# Check version
|
|
22
|
+
dhurandhar --version
|
|
23
|
+
# Should show: 2.3.0 or higher
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## After Installation
|
|
27
|
+
|
|
28
|
+
Once installed, all the slash commands in Auggie will work:
|
|
29
|
+
- `/yudhishthira` ā `dhurandhar yudhishthira`
|
|
30
|
+
- `/bhishma` ā `dhurandhar bhishma`
|
|
31
|
+
- `/codegen-all` ā `dhurandhar codegen -t all`
|
|
32
|
+
- etc.
|
|
33
|
+
|
|
34
|
+
## Alternative: Use npx (Slower)
|
|
35
|
+
|
|
36
|
+
If you don't want global installation, use npx:
|
|
37
|
+
|
|
38
|
+
```bash
|
|
39
|
+
npx dhurandhar@latest yudhishthira
|
|
40
|
+
npx dhurandhar@latest status
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
But this is slower as it downloads each time.
|
|
44
|
+
|
|
45
|
+
## For Auggie Users
|
|
46
|
+
|
|
47
|
+
1. Open terminal
|
|
48
|
+
2. Run: `npm install -g dhurandhar@latest`
|
|
49
|
+
3. Reload Auggie workspace
|
|
50
|
+
4. Use slash commands!
|
|
51
|
+
|
|
52
|
+
---
|
|
53
|
+
|
|
54
|
+
**Recommended**: Global installation for best performance.
|
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.
|
|
4
|
+
"version": "2.3.1",
|
|
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",
|