Merge commit 'd803bfe2b1fe7f5e219e50ac20d6801a0a58ac75' as 'vendor/ruvector'

This commit is contained in:
ruv
2026-02-28 14:39:40 -05:00
7854 changed files with 3522914 additions and 0 deletions

22
vendor/ruvector/.claude/agentic-flow-fast.sh vendored Executable file
View File

@@ -0,0 +1,22 @@
#!/bin/bash
# Fast agentic-flow hooks wrapper - avoids npx overhead
# Usage: .claude/agentic-flow-fast.sh workers <command> [args...]
# Find agentic-flow CLI - check local first, then global
AGENTIC_CLI=""
# Check local npm package (for development)
if [ -f "$PWD/node_modules/agentic-flow/bin/cli.js" ]; then
AGENTIC_CLI="$PWD/node_modules/agentic-flow/bin/cli.js"
# Check global npm installation
elif [ -f "$PWD/node_modules/.bin/agentic-flow" ]; then
exec "$PWD/node_modules/.bin/agentic-flow" "$@"
elif command -v agentic-flow &> /dev/null; then
exec agentic-flow "$@"
# Fallback to npx (slow but works)
else
exec npx agentic-flow@alpha "$@"
fi
# Execute with node directly (fast path)
exec node "$AGENTIC_CLI" "$@"