@lazyagent/lazy-agents 0.0.3 → 0.0.4
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 +1 -1
- package/src/setup.js +3 -3
package/package.json
CHANGED
package/src/setup.js
CHANGED
|
@@ -189,7 +189,7 @@ async function setup({
|
|
|
189
189
|
const cwd = cwdArg || process.cwd();
|
|
190
190
|
const claudeDir = path.join(cwd, '.claude');
|
|
191
191
|
const agentsDir = path.join(claudeDir, 'agents');
|
|
192
|
-
const mcpFile = path.join(
|
|
192
|
+
const mcpFile = path.join(cwd, '.mcp.json');
|
|
193
193
|
|
|
194
194
|
// Resolve which roles to create
|
|
195
195
|
const allRoles = Object.keys(AGENT_TEMPLATES);
|
|
@@ -242,12 +242,12 @@ async function setup({
|
|
|
242
242
|
// ── Create mcp.json ──
|
|
243
243
|
if (!agentsOnly) {
|
|
244
244
|
if (fs.existsSync(mcpFile) && !force) {
|
|
245
|
-
console.log('[lazy] skip .
|
|
245
|
+
console.log('[lazy] skip .mcp.json (--force to overwrite)');
|
|
246
246
|
skipped++;
|
|
247
247
|
} else {
|
|
248
248
|
const config = buildMcpConfig(resolvedToken, cwd, serverUrl);
|
|
249
249
|
fs.writeFileSync(mcpFile, JSON.stringify(config, null, 2) + '\n', 'utf8');
|
|
250
|
-
console.log('[lazy] wrote .
|
|
250
|
+
console.log('[lazy] wrote .mcp.json');
|
|
251
251
|
created++;
|
|
252
252
|
}
|
|
253
253
|
}
|