@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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/setup.js +3 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lazyagent/lazy-agents",
3
- "version": "0.0.3",
3
+ "version": "0.0.4",
4
4
  "description": "Launch multiple Claude Code agents with automatic rate limit handling",
5
5
  "license": "MIT",
6
6
  "keywords": [
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(claudeDir, 'mcp.json');
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 .claude/mcp.json (--force to overwrite)');
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 .claude/mcp.json');
250
+ console.log('[lazy] wrote .mcp.json');
251
251
  created++;
252
252
  }
253
253
  }