Skip to content

Commit 709fb72

Browse files
authored
fix: install auggie commands to augment directory (#683)
1 parent d444ca3 commit 709fb72

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

docs/ide-info/auggie.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ BMAD agents can be installed in multiple locations based on your setup.
66

77
### Common Locations
88

9-
- User Home: `~/.auggie/commands/`
10-
- Project: `.auggie/commands/`
9+
- User Home: `~/.augment/commands/`
10+
- Project: `.augment/commands/`
1111
- Custom paths you selected
1212

1313
### How to Use

tools/cli/installers/lib/ide/auggie.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ class AuggieSetup extends BaseIdeSetup {
1212
constructor() {
1313
super('auggie', 'Auggie CLI');
1414
this.defaultLocations = [
15-
{ name: 'Project Directory (.auggie/commands)', value: '.auggie/commands', checked: true },
16-
{ name: 'User Home (~/.auggie/commands)', value: path.join(os.homedir(), '.auggie', 'commands') },
15+
{ name: 'Project Directory (.augment/commands)', value: '.augment/commands', checked: true },
16+
{ name: 'User Home (~/.augment/commands)', value: path.join(os.homedir(), '.augment', 'commands') },
1717
{ name: 'Custom Location', value: 'custom' },
1818
];
19-
this.detectionPaths = ['.auggie'];
19+
this.detectionPaths = ['.augment'];
2020
}
2121

2222
/**
@@ -141,7 +141,7 @@ class AuggieSetup extends BaseIdeSetup {
141141
// Process the pre-collected locations to resolve relative paths
142142
const processedLocations = [];
143143
for (const loc of options.auggieLocations) {
144-
if (loc === '.auggie/commands') {
144+
if (loc === '.augment/commands') {
145145
// Relative to project directory
146146
processedLocations.push(path.join(projectDir, loc));
147147
} else {
@@ -183,7 +183,7 @@ class AuggieSetup extends BaseIdeSetup {
183183
},
184184
]);
185185
locations.push(custom.path);
186-
} else if (loc.startsWith('.auggie')) {
186+
} else if (loc.startsWith('.augment')) {
187187
// Relative to project directory
188188
locations.push(path.join(projectDir, loc));
189189
} else {
@@ -239,7 +239,7 @@ BMAD ${task.module.toUpperCase()} module
239239
const fs = require('fs-extra');
240240

241241
// Check common locations
242-
const locations = [path.join(os.homedir(), '.auggie', 'commands'), path.join(projectDir, '.auggie', 'commands')];
242+
const locations = [path.join(os.homedir(), '.augment', 'commands'), path.join(projectDir, '.augment', 'commands')];
243243

244244
for (const location of locations) {
245245
const agentsDir = path.join(location, 'agents');

0 commit comments

Comments
 (0)