@lazyagent/lazy-agents 0.0.2 → 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 +5 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lazyagent/lazy-agents",
3
- "version": "0.0.2",
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
@@ -126,7 +126,7 @@ Think like an attacker. Never assume internal data is safe.`,
126
126
  // MCP server definitions
127
127
  // ──────────────────────────────────────────────
128
128
  function buildMcpConfig(githubToken, cwd, serverUrl) {
129
- const lazyServerUrl = serverUrl || 'http://localhost:3000';
129
+ const lazyServerUrl = serverUrl || 'https://let-me-being-lazy-be-production.up.railway.app';
130
130
  const token = githubToken || '${GITHUB_TOKEN}';
131
131
 
132
132
  return {
@@ -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
  }
@@ -260,7 +260,7 @@ async function setup({
260
260
  }
261
261
 
262
262
  if (!agentsOnly) {
263
- const resolvedServer = serverUrl || 'http://localhost:3000';
263
+ const resolvedServer = serverUrl || 'https://let-me-being-lazy-be-production.up.railway.app';
264
264
  const tokenNote = resolvedToken ? '(token saved)' : '(set GITHUB_TOKEN env var or re-run with --github-token)';
265
265
  console.log(`\nMCP servers:
266
266
  lazy-agents mcp-remote ${resolvedServer}/mcp --header x-github-token ${tokenNote}`);