mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-24 14:16:34 +09:00
- Reorganize v3/ into implementation/ subfolders: - planning/, architecture/, migration/, integration/ - security/, adrs/, research/, swarm-plans/ - Add 15-agent concurrent swarm implementation plans: - SWARM-OVERVIEW.md: Hierarchical mesh topology, 4 phases - AGENT-SPECIFICATIONS.md: 15 agent configs with capabilities - TDD-LONDON-SCHOOL-PLAN.md: Mock-first TDD methodology - BENCHMARK-OPTIMIZATION.md: Performance targets (2.49x-7.47x) - DEPLOYMENT-PLAN.md: Release strategy, CI/CD, rollback - GITHUB-ISSUE-TRACKING.md: Issue workflow with agent replies - Update .claude/settings.json with proper hooks format - Add bash aliases for claude --dangerously-skip-permissions 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
44 lines
1.1 KiB
Bash
Executable File
44 lines
1.1 KiB
Bash
Executable File
#!/bin/bash
|
|
# Claude Flow Non-Interactive Wrapper
|
|
# Ensures all claude-flow commands run in non-interactive mode
|
|
|
|
# Get the directory where this script is located
|
|
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
CLAUDE_FLOW_PATH="${SCRIPT_DIR}/../../claude-flow"
|
|
|
|
# Check if claude-flow exists
|
|
if [ ! -f "$CLAUDE_FLOW_PATH" ]; then
|
|
echo "❌ Error: claude-flow not found at $CLAUDE_FLOW_PATH"
|
|
exit 1
|
|
fi
|
|
|
|
# Parse command and add non-interactive flags
|
|
COMMAND="$1"
|
|
shift
|
|
|
|
case "$COMMAND" in
|
|
"swarm")
|
|
# Use executor for non-interactive swarm
|
|
exec "$CLAUDE_FLOW_PATH" swarm "$@" --executor
|
|
;;
|
|
|
|
"hive-mind")
|
|
# Use executor for non-interactive hive-mind
|
|
exec "$CLAUDE_FLOW_PATH" hive-mind "$@" --executor
|
|
;;
|
|
|
|
"sparc")
|
|
# SPARC doesn't need special flags for non-interactive
|
|
exec "$CLAUDE_FLOW_PATH" sparc "$@"
|
|
;;
|
|
|
|
"task")
|
|
# Use executor for non-interactive task
|
|
exec "$CLAUDE_FLOW_PATH" task "$@" --executor
|
|
;;
|
|
|
|
*)
|
|
# Pass through other commands as-is
|
|
exec "$CLAUDE_FLOW_PATH" "$COMMAND" "$@"
|
|
;;
|
|
esac |