chore: auto-commit (27 archivos)
- .claude/CLAUDE.md - .claude/rules/create_agent.md - agents/_specials/father-bot/prompts/system.md - agents/_template/config.yaml - agents/_template_robot/config.yaml - cmd/agentctl/autoavatar.go - cmd/launcher/sqlite.go - dev-scripts/_common.sh - dev-scripts/agent/create-full.sh - dev-scripts/agent/delete-full.sh - ... Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -78,14 +78,16 @@ fi
|
||||
AGENT_DESC=""
|
||||
AGENT_TYPE="agent"
|
||||
if [[ -f "$CFG_PATH" ]]; then
|
||||
AGENT_DESC=$(grep -m1 'description:' "$CFG_PATH" | cut -d'"' -f2)
|
||||
TYPE_LINE=$(grep -m1 'type:' "$CFG_PATH" | awk '{print $2}')
|
||||
[[ -n "$TYPE_LINE" ]] && AGENT_TYPE="$TYPE_LINE"
|
||||
AGENT_DESC=$(grep -m1 'description:' "$CFG_PATH" | cut -d'"' -f2 || true)
|
||||
TYPE_LINE=$(grep -m1 'type:' "$CFG_PATH" | awk '{print $2}' || true)
|
||||
if [[ -n "${TYPE_LINE:-}" ]]; then
|
||||
AGENT_TYPE="$TYPE_LINE"
|
||||
fi
|
||||
fi
|
||||
|
||||
ok "Agente $ID encontrado en $AGENT_DIR/"
|
||||
dim " Tipo: $AGENT_TYPE"
|
||||
[[ -n "$AGENT_DESC" ]] && dim " Descripcion: $AGENT_DESC"
|
||||
if [[ -n "$AGENT_DESC" ]]; then dim " Descripcion: $AGENT_DESC"; fi
|
||||
echo ""
|
||||
|
||||
# ── Confirmacion interactiva ────────────────────────────────────────────────
|
||||
|
||||
Reference in New Issue
Block a user