feat(agent): hierarchical executor with path resolve, runtime probe, quiet UI
Make Zed Agent closer to Cursor: deterministic DevOps path index, live Traefik port probe before blind edits, stop-after-edit, and quieter Russian progress.
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
ssh -o BatchMode=yes eventhub-ift bash -s <<'REMOTE'
|
||||
set -euo pipefail
|
||||
cd /opt/ai-router-stack
|
||||
set -a; source .env; set +a
|
||||
echo "== Spend 20m =="
|
||||
PG=$(docker ps -q -f name=ai-router_postgres | head -1)
|
||||
docker exec -e PGPASSWORD="$POSTGRES_PASSWORD" "$PG" \
|
||||
psql -U "${POSTGRES_USER:-litellm}" -d "${POSTGRES_DB:-litellm}" -c "
|
||||
SELECT to_char(\"startTime\", 'HH24:MI:SS') AS t, status,
|
||||
CASE WHEN model LIKE '%qwen3.8-max%' THEN 'Max'
|
||||
WHEN model LIKE '%qwen3-coder%' THEN 'Coder'
|
||||
WHEN model LIKE '%deepseek%' THEN 'DeepSeek'
|
||||
ELSE left(model,28) END AS role,
|
||||
total_tokens AS tok, completion_tokens AS out,
|
||||
coalesce(\"request_duration_ms\",0) AS ms
|
||||
FROM \"LiteLLM_SpendLogs\"
|
||||
WHERE \"startTime\" >= now() - interval '20 minutes'
|
||||
ORDER BY \"startTime\" ASC;
|
||||
"
|
||||
echo
|
||||
echo "== Router (edit/force/loop) =="
|
||||
docker service logs --since 20m --raw ai-router_router 2>&1 \
|
||||
| grep -iE 'force edit|edit_file|rewrite|path_index|hierarchical_agent phase|executor result|synth|sticky|Стоп|fallback|tool_calls|calentiq-ift' \
|
||||
| grep -vE 'metrics|health|Waiting|Uvicorn|Started|Finished|Shutting' \
|
||||
| tail -80
|
||||
REMOTE
|
||||
Reference in New Issue
Block a user