agentic-loop 3.2.1 → 3.2.2

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentic-loop",
3
- "version": "3.2.1",
3
+ "version": "3.2.2",
4
4
  "description": "Autonomous AI coding loop - PRD-driven development with Claude Code",
5
5
  "author": "Allie Jones <allie@allthrive.ai>",
6
6
  "license": "MIT",
package/ralph/setup.sh CHANGED
@@ -40,8 +40,7 @@ ralph_setup() {
40
40
  echo " /idea 'your feature' # Generate a PRD"
41
41
  echo ""
42
42
  echo " --- Terminal 2: Ralph Loop ---"
43
- echo " npx agentic-loop run # Execute PRDs autonomously"
44
- echo " npx agentic-loop run --fast # Skip code review (~2x faster)"
43
+ echo " npx agentic-loop run # Execute PRDs autonomously"
45
44
  echo ""
46
45
  }
47
46
 
@@ -359,7 +358,7 @@ setup_mcp() {
359
358
  tmp=$(mktemp)
360
359
  jq '.mcpServers["playwright"] = {
361
360
  "command": "npx",
362
- "args": ["-y", "@anthropic-ai/mcp-server-playwright"]
361
+ "args": ["-y", "@playwright/mcp@latest"]
363
362
  }' "$claude_json" > "$tmp" && mv "$tmp" "$claude_json"
364
363
  echo " Added playwright MCP server (browser automation & testing)"
365
364
  added_any=true
@@ -407,20 +406,18 @@ setup_test_credentials() {
407
406
  read -r -s -p " Test user password: " test_password
408
407
  echo ""
409
408
 
410
- # Add to .env (append or update)
409
+ # Add to .env (remove old entries first, then append)
411
410
  if grep -q "^RALPH_TEST_USER=" .env 2>/dev/null; then
412
- # Update existing
411
+ # Remove old entries
413
412
  local tmp
414
413
  tmp=$(mktemp)
415
- sed "s/^RALPH_TEST_USER=.*/RALPH_TEST_USER=$test_email/" .env > "$tmp" && mv "$tmp" .env
416
- sed "s/^RALPH_TEST_PASSWORD=.*/RALPH_TEST_PASSWORD=$test_password/" .env > "$tmp" && mv "$tmp" .env
417
- else
418
- # Append new
419
- echo "" >> .env
420
- echo "# Test credentials for browser automation (auto-added by agentic-loop)" >> .env
421
- echo "RALPH_TEST_USER=$test_email" >> .env
422
- echo "RALPH_TEST_PASSWORD=$test_password" >> .env
414
+ grep -v "^RALPH_TEST_USER=\|^RALPH_TEST_PASSWORD=" .env > "$tmp" && mv "$tmp" .env
423
415
  fi
416
+ # Append new (using printf to handle special characters safely)
417
+ echo "" >> .env
418
+ echo "# Test credentials for browser automation (auto-added by agentic-loop)" >> .env
419
+ printf 'RALPH_TEST_USER=%s\n' "$test_email" >> .env
420
+ printf 'RALPH_TEST_PASSWORD=%s\n' "$test_password" >> .env
424
421
 
425
422
  echo " Saved credentials to .env"
426
423
  echo ""
@@ -31,15 +31,14 @@ For each story, you must:
31
31
  **You have browser tools - USE THEM to verify your work:**
32
32
 
33
33
  **Playwright MCP** (testing & automation):
34
- - `browser_navigate` - Go to a URL and get page content
35
- - `browser_screenshot` - Take a screenshot to verify UI
36
- - `browser_click` - Click elements to test interactions
37
- - `browser_type` - Fill in forms to test inputs
38
- - `browser_snapshot` - Get accessibility tree for a11y testing
34
+ - Navigate to URLs and verify page content
35
+ - Take screenshots to verify UI renders correctly
36
+ - Click elements and fill forms to test interactions
37
+ - Get accessibility snapshots for a11y testing
39
38
 
40
39
  **Chrome DevTools MCP** (debugging & inspection):
41
- - Inspect DOM, check console for errors
42
- - Debug network requests
40
+ - Inspect DOM elements and check console for errors
41
+ - Debug network requests and responses
43
42
  - Check element styles and computed properties
44
43
 
45
44
  **Do NOT say you're done until:**