Add Codex marketplace and Server Ops plugin

This commit is contained in:
ВяткинАртём committed 2026-11-27 09:19:26 +03:00
1 parent 33285dcc8c
commit 42a6d05672
38 files changed
+2464 -1

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
#!/bin/sh
set -eu
cd "$(git rev-parse --show-toplevel)"
python=python3
if [ -d .venv/bin ]; then
export PATH="$PWD/.venv/bin:$PATH"
elif [ -f .venv/Scripts/python.exe ]; then
export PATH="$PWD/.venv/Scripts:$PATH"
python=.venv/Scripts/python.exe
fi
"$python" .agents/scripts/check_staged.py
if ! command -v gitleaks >/dev/null 2>&1; then
echo 'Secret check requires Gitleaks 8.19 or later.' >&2
exit 1
fi
if ! gitleaks git --staged --redact=100 --no-banner . >/dev/null 2>&1; then
echo 'Gitleaks blocked the commit. Check the staged changes and scanner installation locally.' >&2
exit 1
fi