nex-app 0.2.4 → 0.2.6

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.
@@ -74,7 +74,8 @@ export async function integrateCursor(projectPath, agents) {
74
74
  // 3. Criar arquivos .mdc para cada agente (NOVO!)
75
75
  const agentPromises = agents.map(async (agentId) => {
76
76
  // Buscar no registry local do create-nex-app (agora incluído no pacote)
77
- const registryPath = path.join(__dirname, '..', 'registry', 'bmad', agentId, 'README.md')
77
+ // O registry está em: create-nex-app/registry/{agentId}/README.md
78
+ const registryPath = path.join(__dirname, '..', 'registry', agentId, 'README.md')
78
79
 
79
80
  let agentContent = `---
80
81
  description: NEX Agent - ${agentId}
@@ -108,6 +109,7 @@ ${readme}`
108
109
  console.log(` 📄 README encontrado para ${agentId}`)
109
110
  } else {
110
111
  console.log(` ⚠️ README não encontrado para ${agentId}, usando conteúdo genérico`)
112
+ console.log(` Path tentado: ${registryPath}`)
111
113
  }
112
114
 
113
115
  // Criar diretório para o agente
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nex-app",
3
- "version": "0.2.4",
3
+ "version": "0.2.6",
4
4
  "description": "Create NEX projects with interactive installer (CLI + Web UI)",
5
5
  "type": "module",
6
6
  "main": "cli/create.js",