chore(monorepo): import hmwebviewer history at a717900

git-subtree-dir: apps/viewer-3d
git-subtree-mainline: 5e10bb1be4
git-subtree-split: a71790070d
This commit is contained in:
2026-07-29 09:04:52 +09:00
78 changed files with 15921 additions and 0 deletions
@@ -0,0 +1,12 @@
#!/usr/bin/env bash
# PostToolUse hook (Edit|Write) — nudge to update PROGRESS.md when runtime code changes.
# Reads the tool call JSON from stdin; if the touched file is under src/ or tools/,
# emit a one-line reminder. Non-zero/empty output otherwise.
input="$(cat)"
path="$(printf '%s' "$input" | grep -o '"file_path"[[:space:]]*:[[:space:]]*"[^"]*"' | head -1 | sed 's/.*"file_path"[[:space:]]*:[[:space:]]*"//;s/"$//')"
case "$path" in
*"/src/"*|*"/tools/"*)
echo "Edited runtime code ($path). If a PLAN.md task finished, run /report to update PROGRESS.md and flip its status."
;;
esac
exit 0