Added all directories and files expected by supercharge.sh: - hooks/ (5 hook scripts for session management and AI consultation) - commands/ (3 custom slash commands: brainstorm, write-plan, execute-plan) - plugins/ (plugin references for glm-plan, rust-analyzer, marketplaces) - bin/ralphloop (Ralph Orchestrator wrapper for autonomous iteration) - scripts/sync-agents.sh (agent synchronization script) - templates/ (config templates: settings, hooks, config.json) This completes the repository structure so supercharge.sh can install all components without warnings. Co-Authored-By: Claude <noreply@anthropic.com>
23 lines
536 B
Bash
Executable File
23 lines
536 B
Bash
Executable File
#!/bin/bash
|
|
# Qwen AI Consultation Hook
|
|
# Trigger: user-prompt
|
|
# Consults Qwen AI for additional perspectives
|
|
|
|
QWEN_MODE="${QWEN_CONSULT_MODE:-delegate}"
|
|
QWEN_MODEL="${QWEN_MODEL:-qwen-coder-plus}"
|
|
|
|
# Only run in delegate or always mode
|
|
if [ "$QWEN_MODE" != "delegate" ] && [ "$QWEN_MODE" != "always" ]; then
|
|
exit 0
|
|
fi
|
|
|
|
# Check if qwen CLI is available
|
|
if ! command -v qwen &> /dev/null; then
|
|
exit 0
|
|
fi
|
|
|
|
# Run consultation (would be called by the skill, not here directly)
|
|
# This is a placeholder for the hook mechanism
|
|
|
|
exit 0
|