CEO: add email notifications, subtask parentId, and Paperclip UI assets
- CEO agent now sends email via notify.py when awaiting human response - CEO creates child issues (parentId) instead of flat disconnected issues - Fix notify.py email address to chaim+paperclip@marcus-law.co.il - Move Paperclip UI assets (RTL CSS + Hebrew JS) into repo under scripts/ - Add deploy.sh script to push assets to live Paperclip instance - Fix comment box positioning: newest comment on top, input below it Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
21
scripts/paperclip-assets/deploy.sh
Executable file
21
scripts/paperclip-assets/deploy.sh
Executable file
@@ -0,0 +1,21 @@
|
||||
#!/bin/bash
|
||||
# Deploy Paperclip UI assets (RTL + Hebrew translation) to the live instance.
|
||||
# Usage: bash scripts/paperclip-assets/deploy.sh
|
||||
set -e
|
||||
|
||||
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
|
||||
UI_DIR="/home/chaim/.npm/_npx/43414d9b790239bb/node_modules/@paperclipai/server/ui-dist"
|
||||
|
||||
if [ ! -d "$UI_DIR/assets" ]; then
|
||||
echo "ERROR: Paperclip ui-dist not found at $UI_DIR"
|
||||
echo "Run: find ~/.npm/_npx -name ui-dist -path '*paperclipai*' -type d"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
cp "$SCRIPT_DIR/rtl-override.css" "$UI_DIR/assets/rtl-override.css"
|
||||
cp "$SCRIPT_DIR/translate-he.js" "$UI_DIR/assets/translate-he.js"
|
||||
|
||||
echo "Assets deployed to $UI_DIR/assets/"
|
||||
echo "Restarting Paperclip..."
|
||||
pm2 restart paperclip
|
||||
echo "Done."
|
||||
Reference in New Issue
Block a user