dhurandhar 2.2.2 → 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 CHANGED
@@ -5,6 +5,37 @@ 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
+
8
39
  ## [2.2.2] - 2026-04-02
9
40
 
10
41
  ### Fixed - Commands Now Appear in Auggie Chat! 🎉
@@ -352,26 +352,31 @@ Setup completed on: ${new Date().toISOString()}
352
352
  `;
353
353
  writeFileSync(contextFile, contextContent, 'utf-8');
354
354
 
355
- // Create commands.json for Auggie (if Augment Code)
355
+ // Create individual command files for Auggie (if Augment Code)
356
356
  if (config.aiCodingAssistant === 'augment') {
357
- const commandsJson = {
358
- "name": "Dhurandhar Design Framework",
359
- "version": "2.2.2",
360
- "commands": [
361
- { "name": "Status", "command": "dhurandhar status", "description": "Check design project status" },
362
- { "name": "Phase 1: Features", "command": "dhurandhar yudhishthira", "description": "Define features" },
363
- { "name": "Phase 2: Requirements", "command": "dhurandhar bhishma", "description": "Define requirements" },
364
- { "name": "Phase 3: Entities", "command": "dhurandhar sahadeva", "description": "Define entities" },
365
- { "name": "Phase 4: APIs", "command": "dhurandhar nakula", "description": "Design APIs" },
366
- { "name": "Phase 5: HLD", "command": "dhurandhar bheema", "description": "High-level design" },
367
- { "name": "Phase 6: LLD", "command": "dhurandhar arjuna", "description": "Low-level design" },
368
- { "name": "Phase 8: Blessing", "command": "dhurandhar draupadi", "description": "Final review" },
369
- { "name": "Generate Code", "command": "dhurandhar codegen -t all", "description": "Generate full-stack code" },
370
- { "name": "Export Design", "command": "dhurandhar export -f markdown", "description": "Export to Markdown" },
371
- { "name": "Run Audit", "command": "dhurandhar audit", "description": "Audit design quality" }
372
- ]
373
- };
374
- writeFileSync(join(fullPath, 'commands.json'), JSON.stringify(commandsJson, null, 2), 'utf-8');
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
+ });
375
380
  }
376
381
  }
377
382
  }
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.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",