Windows CI / windows ([bun run --cwd packages/app-core test bun run --cwd packages/elizaos test bun run --cwd packages/cloud/shared test], app-and-cli) (push) Waiting to run
Windows CI / windows ([bun run --cwd packages/scenario-runner test bun run --cwd packages/vault test bun run --cwd packages/security test bun run --cwd plugins/plugin-coding-tools test], framework-packages) (push) Waiting to run
Windows CI / windows ([bun run --cwd plugins/plugin-elizacloud test bun run --cwd plugins/plugin-discord test bun run --cwd plugins/plugin-anthropic test bun run --cwd plugins/plugin-openai test bun run --cwd plugins/plugin-app-control test bun run --cwd plugins/pl… (push) Waiting to run
Windows CI / windows ([node packages/scripts/run-turbo.mjs run build --filter=@elizaos/core --filter=@elizaos/shared --filter=@elizaos/agent --concurrency=4 node packages/scripts/run-bash-linux-only.mjs scripts/verify-riscv64-buildpaths.sh node packages/scripts/run… (push) Waiting to run
Windows CI / windows ([node packages/scripts/run-turbo.mjs run typecheck --filter=@elizaos/core --filter=@elizaos/shared --filter=@elizaos/cloud-shared --concurrency=4 bun run --cwd packages/core test bun run --cwd packages/shared test], core-runtime, 75) (push) Waiting to run
Reads and writes Apple Calendar events through EventKit, for elizaOS iOS apps and macOS desktop runtimes.
What it does
This package provides a Capacitor native-bridge plugin (AppleCalendar) that gives elizaOS apps running on iOS (or macOS via the Electrobun desktop shell with the EventKit dylib) full read/write access to the device's calendar store. On web/browser targets every method returns a graceful not_supported error.
All methods return a Promise. Results include an ok: boolean field; failures include error and message string fields.
Limitations
Attendees are not supported. EventKit does not permit third-party apps to set event invitees. Passing attendees to createEvent or updateEvent returns error: "unsupported_feature".
macOS desktop uses the Electrobun EventKit dylib, not this Capacitor plugin.
Browser/web targets receive { ok: false, error: "not_supported" } from every method.
iOS 17+ requires full-access authorization (requestFullAccessToEvents). writeOnly authorization is treated as restricted.
Required platform setup
iOS
Add the plugin to your Capacitor iOS project:
npm install @elizaos/capacitor-calendar
npx cap sync ios
Add the NSCalendarsFullAccessUsageDescription key to Info.plist explaining why calendar access is needed. Without this key the system will deny access.
The native pod (ElizaosCapacitorCalendar) requires iOS 15.0+ and Swift 5.9+.
Usage
import{AppleCalendar}from"@elizaos/capacitor-calendar";// Check and request permission
conststatus=awaitAppleCalendar.checkPermissions();if(status.calendar!=="granted"){awaitAppleCalendar.requestPermissions();}// List events for the next 7 days
constnow=newDate();constnextWeek=newDate(now.getTime()+7*24*60*60*1000);constresult=awaitAppleCalendar.listEvents({timeMin: now.toISOString(),timeMax: nextWeek.toISOString(),});if(result.ok){console.log(result.events);}// Create an event
constcreated=awaitAppleCalendar.createEvent({title:"Team sync",startAt:"2026-06-01T10:00:00.000Z",endAt:"2026-06-01T11:00:00.000Z",});
Config / Env Vars
None. This package reads no environment variables. Authorization is granted at the OS level by the user.