Claude / scripts /agentweb-record-hook
Cnass's picture
Agent Web 2.0: token tasarrufu, kalici MCP kurulumu, guvenlik, yan menu araclari, 3B avatar ve ses
765fe0a verified
Raw History Blame Contribute Delete
471 Bytes
#!/bin/sh
# Claude Code PostToolUse hook for the Bash tool (managed-settings.json):
# `uv tool install` / `pipx install` make virtualenvs, which cannot live on the
# Storage Bucket; the install is recorded and redone at every start
# (agentweb-install). Commands without those words never start node.
input=$(cat)
case "$input" in
*"tool install"* | *"pipx install"*) ;;
*) exit 0 ;;
esac
printf '%s' "$input" | exec node /app/scripts/agentweb-install.js record-hook