appiq-solution 1.7.1 → 1.7.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "appiq-solution",
3
- "version": "1.7.1",
3
+ "version": "1.7.3",
4
4
  "description": "APPIQ SOLUTION: Flutter Mobile Development Extension for BMAD Method",
5
5
  "main": "tools/cli.js",
6
6
  "bin": {
@@ -47,7 +47,7 @@
47
47
  },
48
48
  "keywords": [
49
49
  "ai-agents",
50
- "development-workflow",
50
+ "development-workflow",
51
51
  "project-management",
52
52
  "greenfield",
53
53
  "brownfield",
@@ -83,4 +83,4 @@
83
83
  "prettier --write"
84
84
  ]
85
85
  }
86
- }
86
+ }
@@ -21,7 +21,7 @@ ide-configurations:
21
21
  # 3. The agent will adopt that persona for the conversation
22
22
  claude-code:
23
23
  name: Claude Code
24
- rule-dir: .claude/commands/BMad/
24
+ rule-dir: .claude/agents/
25
25
  format: multi-file
26
26
  command-suffix: .md
27
27
  instructions: |
@@ -176,9 +176,18 @@ class IdeSetup extends BaseIdeSetup {
176
176
  }
177
177
 
178
178
  async setupClaudeCodeForPackage(installDir, packageName, slashPrefix, agentIds, taskIds, rootPath) {
179
- const commandsBaseDir = path.join(installDir, ".claude", "commands", slashPrefix);
180
- const agentsDir = path.join(commandsBaseDir, "agents");
181
- const tasksDir = path.join(commandsBaseDir, "tasks");
179
+ // Load IDE configuration to get the correct rule directory
180
+ const ConfigLoader = require('./config-loader');
181
+ const configLoader = new ConfigLoader();
182
+ const config = await configLoader.load();
183
+ const ideConfigs = config['ide-configurations'] || {};
184
+ const claudeConfig = ideConfigs['claude-code'] || {};
185
+ const ruleDir = claudeConfig['rule-dir'] || '.claude/commands/BMad/';
186
+
187
+ // Use the configured rule directory instead of hardcoded path
188
+ const commandsBaseDir = path.join(installDir, ruleDir);
189
+ const agentsDir = packageName === "core" ? commandsBaseDir : path.join(commandsBaseDir, "agents");
190
+ const tasksDir = packageName === "core" ? commandsBaseDir : path.join(commandsBaseDir, "tasks");
182
191
 
183
192
  // Ensure directories exist
184
193
  await fileManager.ensureDirectory(agentsDir);
@@ -558,7 +558,7 @@ class V3ToV4Upgrader {
558
558
  try {
559
559
  const ideMessages = {
560
560
  cursor: "Rules created in .cursor/rules/",
561
- "claude-code": "Commands created in .claude/commands/BMad/",
561
+ "claude-code": "Agents installed in .claude/agents/",
562
562
  windsurf: "Rules created in .windsurf/rules/",
563
563
  trae: "Rules created in.trae/rules/",
564
564
  roo: "Custom modes created in .roomodes",