bmad-odoo 1.0.8 → 1.0.9
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/README.md +16 -11
- package/package.json +1 -1
- package/scripts/postinstall.js +11 -4
package/README.md
CHANGED
|
@@ -55,7 +55,12 @@
|
|
|
55
55
|
npm install bmad-odoo
|
|
56
56
|
```
|
|
57
57
|
|
|
58
|
-
**Post-install
|
|
58
|
+
**Post-install behavior:**
|
|
59
|
+
|
|
60
|
+
- **Interactive terminal**: Automatically prompts for IDE selection
|
|
61
|
+
- **Non-interactive (CI/CD)**: Auto-setup with Antigravity (default)
|
|
62
|
+
- **Manual setup**: Run `npx bmad-odoo-setup` anytime
|
|
63
|
+
|
|
59
64
|
```
|
|
60
65
|
Choose your IDE:
|
|
61
66
|
1. VS Code - Visual Studio Code with AI extensions
|
|
@@ -210,16 +215,16 @@ MyOdooProject/
|
|
|
210
215
|
│ └── documentation/
|
|
211
216
|
├── .agent/ # ✨ Workflows for Antigravity
|
|
212
217
|
│ └── workflows/
|
|
213
|
-
│ ├── analyst.md
|
|
214
|
-
│ ├── architect.md
|
|
215
|
-
│ ├── dev.md
|
|
216
|
-
│ ├── pm.md
|
|
217
|
-
│ ├── sm.md
|
|
218
|
-
│ ├── tea.md
|
|
219
|
-
│ ├── ux-designer.md
|
|
220
|
-
│ ├── quick-flow-solo-dev.md
|
|
221
|
-
│ ├── tech-writer.md
|
|
222
|
-
│ └── bmad-
|
|
218
|
+
│ ├── bmad-odoo-agents-analyst.md
|
|
219
|
+
│ ├── bmad-odoo-agents-architect.md
|
|
220
|
+
│ ├── bmad-odoo-agents-dev.md
|
|
221
|
+
│ ├── bmad-odoo-agents-pm.md
|
|
222
|
+
│ ├── bmad-odoo-agents-sm.md
|
|
223
|
+
│ ├── bmad-odoo-agents-tea.md
|
|
224
|
+
│ ├── bmad-odoo-agents-ux-designer.md
|
|
225
|
+
│ ├── bmad-odoo-agents-quick-flow-solo-dev.md
|
|
226
|
+
│ ├── bmad-odoo-agents-tech-writer.md
|
|
227
|
+
│ └── bmad-odoo-workflows-party-mode.md
|
|
223
228
|
└── package.json
|
|
224
229
|
```
|
|
225
230
|
|
package/package.json
CHANGED
package/scripts/postinstall.js
CHANGED
|
@@ -436,10 +436,17 @@ async function main() {
|
|
|
436
436
|
process.exit(0);
|
|
437
437
|
}
|
|
438
438
|
|
|
439
|
-
// Check if running interactively
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
439
|
+
// Check if running interactively
|
|
440
|
+
// Force interactive if called via bmad-odoo-setup CLI (BMAD_PROJECT_ROOT is set)
|
|
441
|
+
// or if stdin is a TTY
|
|
442
|
+
const isCalledViaSetupCli = !!process.env.BMAD_PROJECT_ROOT;
|
|
443
|
+
const isInteractive = isCalledViaSetupCli || process.stdin.isTTY;
|
|
444
|
+
|
|
445
|
+
console.log(`🔧 Interactive mode: ${isInteractive ? 'YES' : 'NO (using auto-setup)'}`);
|
|
446
|
+
if (isCalledViaSetupCli) {
|
|
447
|
+
console.log(` (Called via bmad-odoo-setup CLI)`);
|
|
448
|
+
}
|
|
449
|
+
console.log('');
|
|
443
450
|
|
|
444
451
|
try {
|
|
445
452
|
if (isInteractive) {
|