* fix(draw-image): conditional slot bg + optional subtitle in buildSvg * test(draw-image): optional badge/subtitle unit+integration+e2e * feat(docker): self-healing entrypoint shim + .dockerignore * test(draw-image): pytest assert --subtitle omitted when absent * docs(handoff): optional badge/subtitle + docker entrypoint handoff+ADR * docs(handoff): set PR number 144 * docs(project-map): fix PR refs 143 to 144 --------- Co-authored-by: opencode-agent <agent@opencode.local>
7 lines
No EOL
301 B
Bash
Executable file
7 lines
No EOL
301 B
Bash
Executable file
#!/bin/sh
|
|
DRAW_IMAGE_DIR="/root/.config/opencode/draw-image"
|
|
if [ ! -d "$DRAW_IMAGE_DIR/node_modules/sharp" ]; then
|
|
echo "[entrypoint] Installing draw-image dependencies..."
|
|
npm ci --prefix "$DRAW_IMAGE_DIR" || echo "[entrypoint] WARN: npm ci failed, draw-image may not work"
|
|
fi
|
|
exec opencode "$@" |