forked from Nyrest/astrum-agent-runtime
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathverify-runtime.sh
More file actions
71 lines (63 loc) · 1.84 KB
/
Copy pathverify-runtime.sh
File metadata and controls
71 lines (63 loc) · 1.84 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
#!/usr/bin/env bash
set -euo pipefail
echo "== locale and timezone =="
test "$(cat /etc/timezone)" = "Asia/Shanghai"
date
locale | grep 'LANG=en_US.UTF-8'
echo "== base commands =="
for cmd in printenv envsubst timeout flock stdbuf script git git-lfs gh rg aria2c tmux rsync 7z zip unzip unrar rclone ffmpeg ffprobe yt-dlp convert identify exiftool oxipng duckdb psql mysql redis-cli sqlite3 libreoffice pandoc jq yq fd; do
command -v "$cmd" >/dev/null
printf '%-14s %s\n' "$cmd" "$(command -v "$cmd")"
done
echo "== network and text tools =="
for cmd in dig nslookup ip ping nc nmap tcpdump traceroute whois cloudflared http websocat awk gawk grep envsubst diff patch csvcut mlr shellcheck shfmt hadolint ruff aws neon neonctl gws lark-cli sshpass; do
command -v "$cmd" >/dev/null
printf '%-14s %s\n' "$cmd" "$(command -v "$cmd")"
done
echo "== node and bun =="
node --version | grep '^v24\.'
npm --version
bun --version
for cmd in turbo prettier eslint tsx playwright vercel wrangler gemini tsc pnpm yarn; do
command -v "$cmd" >/dev/null
printf '%-14s %s\n' "$cmd" "$(command -v "$cmd")"
done
echo "== go =="
go version
command -v gofmt >/dev/null
printf '%-14s %s\n' "gofmt" "$(command -v gofmt)"
echo "== python =="
python --version | grep 'Python 3.14'
python3 --version | grep 'Python 3.14'
python3.14 --version | grep 'Python 3.14'
pip --version
python - <<'PY'
modules = [
"requests",
"httpx",
"pydantic",
"dotenv",
"toml",
"duckdb",
"bs4",
"markdown",
"multipart",
"pypdf",
"fitz",
"pdfplumber",
"docx",
"openpyxl",
"pptx",
"pandas",
"pyarrow",
"tabulate",
"numpy",
]
for module in modules:
__import__(module)
print("python imports ok")
PY
echo "== headless office and browser tooling =="
libreoffice --headless --version
playwright --version
echo "runtime verification passed"