feat: tighten main agent execution traceability
This commit is contained in:
@@ -40,9 +40,24 @@ for path in sorted(pathlib.Path("n8n/workflows").glob("*.json")):
|
||||
PY
|
||||
|
||||
echo "[5/6] validate web scripts"
|
||||
for file in web/storyforge-web-v4/assets/app.js web/storyforge-web-v4/assets/storyforge-*.js; do
|
||||
node --check "$file"
|
||||
done
|
||||
validate_node_script() {
|
||||
for file in "$@"; do
|
||||
if [ ! -f "$file" ]; then
|
||||
echo "missing required script file: $file" >&2
|
||||
exit 1
|
||||
fi
|
||||
node --check "$file"
|
||||
done
|
||||
}
|
||||
|
||||
validate_node_script web/storyforge-web-v4/assets/app.js
|
||||
|
||||
set -- web/storyforge-web-v4/assets/storyforge-*.js
|
||||
if [ "$1" = 'web/storyforge-web-v4/assets/storyforge-*.js' ]; then
|
||||
echo "missing required script bundle: web/storyforge-web-v4/assets/storyforge-*.js" >&2
|
||||
exit 1
|
||||
fi
|
||||
validate_node_script "$@"
|
||||
node --check scripts/douyin-browser-capture/control_panel.mjs
|
||||
|
||||
echo "[6/6] validate homepage and workbench tests"
|
||||
|
||||
Reference in New Issue
Block a user