dhurandhar 2.3.0 → 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 CHANGED
@@ -5,6 +5,26 @@ 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
+
8
28
  ## [2.3.0] - 2026-04-02
9
29
 
10
30
  ### Added - COMPLETE Command Set! šŸŽ‰
@@ -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
- console.log(chalk.gray(' 1. Run: dhurandhar init (to initialize design)'));
53
- console.log(chalk.gray(' 2. Start designing: dhurandhar yudhishthira\n'));
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,12 +384,36 @@ Setup completed on: ${new Date().toISOString()}
359
384
  mkdirSync(commandsDir, { recursive: true });
360
385
  }
361
386
 
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
+
362
411
  // Create comprehensive .md files for ALL commands
363
412
  const commands = [
364
413
  // Status & Navigation
365
- { file: 'status.md', content: '---\ndescription: Check design project status\n---\n\nRun `dhurandhar status` to see the current state of your design project.' },
366
- { file: 'next.md', content: '---\ndescription: Move to next phase\n---\n\nRun `dhurandhar next` to automatically move to the next design phase.' },
367
- { file: 'back.md', content: '---\ndescription: Go back to previous phase\n---\n\nRun `dhurandhar back` to return to the previous design phase.' },
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.' },
368
417
 
369
418
  // Master Agents (All 8)
370
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.' },
@@ -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.3.0",
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",