calendar-invite: add VALARM reminder, fix terminology, remove dead code
- Add 1-day reminder (VALARM) to all sent invites - Fix datetime.utcnow() deprecation → datetime.now(timezone.utc) - Rename "message ID" → "envelope ID" in SKILL.md for consistency - Remove unused _himalaya() and _himalaya_with_account() helpers
This commit is contained in:
@@ -27,7 +27,7 @@ Calendar invites are outbound emails. Follow the workspace email rules:
|
||||
|
||||
## Owner Auto-Attendee
|
||||
|
||||
When sending invites, `mail@luyx.org` (owner's SimpleLogin alias) is **always added as an attendee automatically**. This ensures the owner receives every invite and can Accept/Decline from their own email client. No need to include it in `--to` — it's added by the script.
|
||||
When sending invites, `mail@luyx.org` (owner's SimpleLogin alias) is **always added as an attendee automatically**. All invites include a **1-day reminder** (VALARM) by default. This ensures the owner receives every invite and can Accept/Decline from their own email client. No need to include it in `--to` — it's added by the script.
|
||||
|
||||
When accepting or tentatively accepting a received invite, the original invite is **automatically forwarded to `mail@luyx.org`** so the event lands on the owner's calendar too.
|
||||
|
||||
@@ -113,7 +113,7 @@ $SKILL_DIR/scripts/calendar-invite.sh send \
|
||||
## Replying to Invites
|
||||
|
||||
```bash
|
||||
# Accept by himalaya message ID
|
||||
# Accept by himalaya envelope ID
|
||||
$SKILL_DIR/scripts/calendar-invite.sh reply \
|
||||
--envelope-id 42 \
|
||||
--action accept
|
||||
@@ -135,7 +135,7 @@ $SKILL_DIR/scripts/calendar-invite.sh reply \
|
||||
| Flag | Required | Description |
|
||||
|-----------------|----------|-----------------------------------------------------|
|
||||
| `--action` | Yes | `accept`, `decline`, or `tentative` |
|
||||
| `--envelope-id` | * | Himalaya message ID containing the .ics attachment |
|
||||
| `--envelope-id` | * | Himalaya envelope ID containing the .ics attachment |
|
||||
| `--ics-file` | * | Path to an .ics file (alternative to `--envelope-id`) |
|
||||
| `--from` | No | Your email (default: `youlu@luyanxin.com`) |
|
||||
| `--account` | No | Himalaya account name |
|
||||
|
||||
Reference in New Issue
Block a user