marketing-agent-team 1.0.3 → 1.0.5
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/_module-installer/installer.js +1 -1
- package/install.js +2 -2
- package/package.json +1 -1
|
@@ -249,7 +249,7 @@ user_settings:
|
|
|
249
249
|
|
|
250
250
|
// 7. Create README for the module directory
|
|
251
251
|
const readmePath = path.join(modulePath, 'README.md');
|
|
252
|
-
|
|
252
|
+
let readmeContent = `# Marketing Agent Team Module
|
|
253
253
|
|
|
254
254
|
**Tier**: ${config.tier_selection}
|
|
255
255
|
**Installed**: ${new Date().toISOString().split('T')[0]}
|
package/install.js
CHANGED
|
@@ -35,7 +35,7 @@ function log(message, color = 'reset') {
|
|
|
35
35
|
|
|
36
36
|
// Find the actual project root (handles npm install context)
|
|
37
37
|
function getProjectRoot() {
|
|
38
|
-
let currentDir =
|
|
38
|
+
let currentDir = process.cwd();
|
|
39
39
|
|
|
40
40
|
// If we're in node_modules, traverse up to find the project root
|
|
41
41
|
while (currentDir !== path.parse(currentDir).root) {
|
|
@@ -60,7 +60,7 @@ function getProjectRoot() {
|
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
// Fallback to current directory
|
|
63
|
-
return
|
|
63
|
+
return process.cwd();
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
// Get project root once at startup
|
package/package.json
CHANGED