Use direct 'claude' command instead of npx
- Changed from 'npx @anthropic-ai/claude-code' to 'claude' - This assumes Claude Code is installed globally with npm install -g - Updated ralph_loop.sh, ralph_import.sh, and README.md - Much cleaner and faster execution without npx overhead
This commit is contained in:
parent
b987d8226d
commit
9a1124aa4c
3 changed files with 3 additions and 3 deletions
|
|
@ -225,7 +225,7 @@ my-project/
|
||||||
## 🔧 System Requirements
|
## 🔧 System Requirements
|
||||||
|
|
||||||
- **Bash 4.0+** - For script execution
|
- **Bash 4.0+** - For script execution
|
||||||
- **Claude Code CLI** - `npx @anthropic-ai/claude-code`
|
- **Claude Code CLI** - `npm install -g @anthropic-ai/claude-code`
|
||||||
- **tmux** - Terminal multiplexer for integrated monitoring (recommended)
|
- **tmux** - Terminal multiplexer for integrated monitoring (recommended)
|
||||||
- **jq** - JSON processing for status tracking
|
- **jq** - JSON processing for status tracking
|
||||||
- **Git** - Version control (projects are initialized as git repos)
|
- **Git** - Version control (projects are initialized as git repos)
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
# Configuration
|
# Configuration
|
||||||
CLAUDE_CODE_CMD="npx @anthropic-ai/claude-code"
|
CLAUDE_CODE_CMD="claude"
|
||||||
|
|
||||||
# Colors
|
# Colors
|
||||||
RED='\033[0;31m'
|
RED='\033[0;31m'
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ PROMPT_FILE="PROMPT.md"
|
||||||
LOG_DIR="logs"
|
LOG_DIR="logs"
|
||||||
DOCS_DIR="docs/generated"
|
DOCS_DIR="docs/generated"
|
||||||
STATUS_FILE="status.json"
|
STATUS_FILE="status.json"
|
||||||
CLAUDE_CODE_CMD="npx @anthropic-ai/claude-code"
|
CLAUDE_CODE_CMD="claude"
|
||||||
MAX_CALLS_PER_HOUR=100 # Adjust based on your plan
|
MAX_CALLS_PER_HOUR=100 # Adjust based on your plan
|
||||||
SLEEP_DURATION=3600 # 1 hour in seconds
|
SLEEP_DURATION=3600 # 1 hour in seconds
|
||||||
CALL_COUNT_FILE=".call_count"
|
CALL_COUNT_FILE=".call_count"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue