Files
Clawd BotandClaude Opus 4.6 ca9b510922 chore: align with upstream openclaw/openclaw and overlay local additions
- Reset master to upstream/main (16,697 commits)
- Overlay 2,271 local-only files (skills, tools, workspace, configs, apps)
- Restore IDENTITY.md and USER.md templates
- Build verified, gateway running, Discord working

Co-Authored-By: Claude Opus 4.6 <[email protected]>
2026-03-03 07:40:46 +01:00

26 lines
628 B
Bash

#!/usr/bin/env bash
set -euo pipefail
# Usage: mark_read.sh <backend> <message-id>
BACKEND=${1:-}
ID=${2:-}
if [[ -z "$BACKEND" || -z "$ID" ]]; then
echo "Usage: $0 <backend> <message-id>" >&2
exit 2
fi
case "$BACKEND" in
outlook)
node ./mark_read_outlook.cjs "$ID" || { echo "Outlook mark-read failed" >&2; exit 1; }
;;
gmail)
node ./mark_read_gmail.cjs "$ID" || { echo "Gmail mark-read failed (reauth?)." >&2; exit 1; }
;;
himalaya)
echo "Himalaya: use himalaya flag add <id> --flag seen (not automated)" >&2
exit 2
;;
*)
echo "Unknown backend: $BACKEND" >&2
exit 2
;;
esac