Skip to content

Releases

v1.23.0

Choose a tag to compare

@kiki830621 kiki830621 released this 08 Nov 11:15

Data-loss fixes

These update_event calls answered updated while occurrences were lost or moved. Undo refuses updates of recurring events, so nothing restored them. Each shape is now refused before anything is written.

  • A series that has started (#451): a start moved to another date, a rule changed from an occurrence that has happened, and all_day, occurrence_count or calendar_name alone from a later occurrence. #443 is closed by refusal.
  • A time zone change on a series that has started (#478): a new timezone, or clear_timezone, from an occurrence that has happened.
  • A rule changed from one occurrence (#434, PR #439): this deleted occurrences of the series.

Also in this release: a start off days_of_week (#454) or days_of_month (#461) is refused, and occurrence_count on a yearly days_of_week rule is refused (#444). See CHANGELOG.md for the full list (#274, #288, #328, #333, #354, #361, #416, #423, #437, #448, #449 and others).

Not verified before this tag

The release gates in .claude/rules/mcp-binary-version-testing.md were run only where --cli reaches.

  • Passed on a v1.23.0 release build, iCloud: #374, #328, #423 steps 1–4, and #416 steps 5–7 (step 6 as a dry run).
  • Not run:
    • The session-MCP checks: #236, #335, #373, #333 steps 1–7, #354 steps 1–6, #423 step 5, and #416 step 6's real delete and undo.
    • The attended checks: #333 steps 8–9, #423 step 6, #354 step 7, #454, #437 step 2 and #361.
    • #288 on x86_64 and with Reminders denied.
    • Google and Exchange: #416 steps 1–4, and the other-source rows.

Upgrade

The plugin wrapper downloads this binary. After it updates, restart Claude Code (or quit Claude Desktop with Cmd+Q and reopen it) so the server runs the new version.

v1.22.0

Choose a tag to compare

@kiki830621 kiki830621 released this 27 Oct 02:59
f29a468

Changed

  • Under Claude Code, CheICalMCP becomes its own responsible process for Calendar and Reminders (#343, v1.22.0): macOS charges an EventKit request to the responsible process the kernel assigned at spawn time, not to the binary, and Claude Code's background daemon launches sessions two ways: a spare-claimed session inherits the app that launched the daemon (on the reporting machine, VS Code), while a worker the daemon starts through ClaudeCode.app (for example after Claude Code is restarted) is its own responsible process at ~/.local/share/claude/versions/<ver>, which has no Calendar or Reminders purpose string, so macOS never shows a prompt and the session cannot read the calendar. When the responsible process macOS reports is Claude Code (its native executable under ~/.local/share/claude/versions/<ver>, or ClaudeCode.app), the binary now re-execs in place with posix_spawn + POSIX_SPAWN_SETEXEC + responsibility_spawnattrs_setdisclaim (the call Claude Desktop's disclaimer makes; looked up with dlsym), keeping its pid, argv and stdio, so macOS checks the CheICalMCP grant and Claude Code updates no longer invalidate it (#170). This covers the MCP server, --cli, --print-tcc-path and --setup; --setup also re-execs under any host, because it is the foreground action that creates CheICalMCP's own grant. Every other host (Terminal, VS Code, Ghostty, ssh, cron, CI) keeps the behavior before this change: the host's grant is checked and nothing is re-exec'd, because a host's grant can be the only one that works while CheICalMCP's own is still empty. --version, --help and --self-update never re-exec; Claude Desktop's .mcpb server is already its own responsible process and is unchanged. Migration: under Claude Code the CheICalMCP grant may be empty, so after upgrading allow the macOS prompt for CheICalMCP once, or run ~/bin/CheICalMCP --setup in the foreground; a background session without a GUI cannot show the prompt. Trade-off: where the re-exec happens, macOS checks CheICalMCP's grant, so once it is allowed, any process Claude Code launches that execs this binary (including --cli) reads Calendar and Reminders under that grant without a separate consent, the same property Claude Desktop's .mcpb has through disclaimer. Set CHE_ICAL_MCP_NO_DISCLAIM=1 to restore host attribution (the behavior before v1.22.0); set CHE_ICAL_MCP_FORCE_DISCLAIM=1 to re-exec under any host, for someone who wants CheICalMCP's own grant everywhere (NO_DISCLAIM wins over it). A missing private API or a failed re-exec prints one stderr line and continues under the host's attribution; an inherited CHE_ICAL_MCP_DISCLAIMED while Claude Code is still the responsible process also prints one. Not verified: CI does not cover reading the calendar through the new path under Claude Code, and the only path where a prompt has been seen is --setup; server mode and --cli under Claude Code are unconfirmed. On the maintainer's machine the host (Ghostty) held a working fullAccess grant while CheICalMCP's own status was notDetermined, which is why other hosts are left alone.

Fixed

  • TCC diagnostics name the process macOS checks (#343): --print-tcc-path prints a TCC attribution block from the kernel (responsibility_get_pid_responsible_for_pid) before the status; the parent chain is relabeled Process tree (parent chain — not what TCC checks), and its note no longer says the status reflects the chain. The startup banner's #175 check looked for a versions/ path on the parent chain and blamed that host even when another process was responsible; it now reports the responsible process (hostAttributedUngranted) with advice for its kind. The access-denied message no longer tells users to "Enable access for the MCP server or Terminal": it names CheICalMCP, Claude Code (cannot be prompted) or the app whose grant is checked. --setup prints the authorization target before asking.

Plugin shell

The troubleshoot-tcc skill, /check-tcc and the plugin docs describe the new attribution; see plugin/CHANGELOG.md.

v1.21.0

Choose a tag to compare

@kiki830621 kiki830621 released this 26 Oct 16:04
ac0940d

Fixed

  • Event listings over a range longer than four years are complete (#325): EventKit does not fail a query whose span is longer than about four years; it cuts the span at its first 1461 days and returns what falls there (on device, a nine-year list_events from 2018 returned only the 2019 event of five, with no error). list_events, list_events_quick, search_events, find_duplicate_events, check_conflicts and delete_events_batch by date range now query a range in consecutive spans of at most 1460 days and merge the results, keeping each occurrence once (by event identifier and start, so an event across a span boundary is not doubled and the occurrences of a series are not merged). A range that would need more than 100 spans (146,000 days, about 400 years) is refused with an error that names the limit. delete_events_batch by date range with only before_date or only after_date used to search from Date.distantPast or to Date.distantFuture, which EventKit cut to four years: a before_date-only call matched nothing, and an after_date-only call left later events in place while reporting success. The open side now reaches 100 years out from the given bound, and both the dry run and the deletion report searched_from and searched_to. Over a range wider than 1461 days (the ranges this change widened; a narrower range behaves exactly as before; every one-sided range is wider, so it is always limited), a by-date-range call that would make more than 2000 deletions is refused, dry run included, with the count and the searched range, and nothing is deleted: one open-ended daily series over the 100-year horizon is about 36,500 occurrences, all in one batch undo entry that would restore each as a one-off event. This changes one-sided calls that used to run: an after_date-only call over an open-ended daily series deleted the first four years and reported success; it is now refused and asks for both bounds at most 1460 days apart. Deletions are counted as the call makes them: span all and span future delete each series once, and events without an identifier are not counted. Span future (at any range width) now skips, without an EventKit lookup, a listed occurrence that an earlier one already removed with its series, and reports those as already_removed: each used to be one EventKit lookup reported as a failed "No occurrence found", about 36,500 for a daily series over the 100-year horizon (over 9 minutes on device; now about a second). Occurrences are sent in slot order (their place in the series, not their start, which differs when one was moved), each is located by its slot exactly (not the first occurrence of that series on its day), and one is skipped only when a removal of exactly the requested occurrence reached its slot, so when the earliest one cannot be removed the next is still tried; removing an occurrence edited on its own (<series>/RID=<slot>) takes its series from that slot on (device, iCloud) and covers it too. The exact lookup applies to span this by date range too (each listed occurrence is deleted itself, not the first of its series that day), and the slot order, the skipping and already_removed apply at every range width. The event_ids mode carries no slots, locates by day and skips nothing, as before. create_event's similar-event check (its ±2-year window) goes through the same chunked query. The count is an upper bound: an occurrence edited on its own that has its own identifier counts once more, even when its series' removal takes it; the dry run reports the count as deletions. Over such a range the dry-run preview lists at most 2000 events and sets preview_truncated. Ranges are now queried with each span after the first starting one second early, so a zero-length event exactly on a span boundary is not missed. find_duplicate_events no longer compares every pair of events in the range (O(n²) on the manager, which used to be bounded only by the four-year cut): events are grouped by title and compared only with those that start within the tolerance, giving the same pairs in the same order; one calendar is never compared with itself, however large tolerance_minutes is. Over a range wider than 1461 days it stops with an error after 2,000,000 comparisons (about the most a four-year range could already make): two calendars holding one daily series, with a tolerance covering 100 years, would otherwise pair about 1.3 billion times. tolerance_minutes no longer overflows when multiplied into seconds.

  • A recurring series whose first occurrence was deleted can be moved, copied and deleted again, and its single occurrences updated (#326, root cause #284): for such a series event(withIdentifier:) returns the series object, but its refresh() returns false (device, iCloud), so move_events_batch, update_event, copy_event and the deletes all answered "Event not found" under the bare series id that list_events returns, while every remaining occurrence was still listed. freshEvent now falls back to the earliest remaining occurrence of the series, the stand-in (same event identifier, not detached, with the series' rules; searched from a day before the series' first start, at most 1460 days, in the series' calendar), when the series object does not refresh. A series with no such occurrence is still not found. Device (iCloud, weekly series with its first occurrence deleted): the released v1.20.0 failed all of them with "Event not found"; with the fix move_events_batch span all moved all 29 remaining occurrences with the event id unchanged, copy_event copied the first remaining occurrence (a copy from the stand-in moves absolute alarm dates to its start, as a split occurrence does; wired and unit-tested, not exercised with an absolute alarm on device; the tool description says so, the response does not list it), and delete_event span all left no occurrence listed.

    What stays refused, on purpose:

    • update_event span all, and span future at the stand-in itself, through the stand-in, with their own error and before any write: saving the whole series from a middle occurrence splits it into a new series with a new event id (device, iCloud: the old id was "Event not found" afterwards; for an invitee that reads as a cancelled series and a new one). Updating a later single occurrence (occurrence_date, span this, or span future after the first remaining one) works. Editing the first remaining occurrence itself with span this is allowed but makes it an edited occurrence. A same-account calendar change with span this moves the whole series, edited occurrences included, and keeps its event id (device, with an edited occurrence before the stand-in). (Updating a whole series from an occurrence edited on its own splits it too, also on a series that lost no occurrence; that is existing behaviour and is listed in #335.)
    • Deleting or updating with span future, or the whole series, when an occurrence edited on its own has a slot before the stand-in: the series is refused (answered "Event not found" in this entry's release; the #335 entries below give it an explanation), because a .futureEvents write from the stand-in leaves that occurrence behind while reporting success (device: the edited occurrence stayed). A single occurrence (span this with occurrence_date) cannot leave one behind, so deleting or updating one occurrence is not refused in that shape (device). A move within one account does not leave it behind either (it changes the calendar of the whole series; device: all 16 events moved), and a copy copies one occurrence, so move and copy are not refused; moving the whole series to another account, and an update_event that changes the calendar to another account's (a new calendar moves the whole series even with span this) or changes the recurrence (recurrence, clear_recurrence; a series-level property like the calendar, refused by the same reasoning, device: both refused and the series untouched), are refused through the stand-in whether or not an edited occurrence is before it, before any field of the event is assigned, because EventKit does a cross-account move as a create plus a delete from a middle occurrence and only the same-account move was checked. Moving one occurrence to another account (span this with an occurrence date) is a copy plus a one-occurrence delete and is not refused. An edited occurrence is recognised by its <series>/ identifier (iCloud), by keeping the bare series id, or by sharing the series' iCalendar UID (other stores); occurrences are listed over the scan window and a year on each side, as #285 lists them, so one moved more than a year out is not seen.

    delete_events_batch with dry_run now previews the first remaining occurrence, not the deleted one. Known limits, tracked in #335: the error text of the edited-before shape is explained by the #335 entry below; a bare id still answers "Event not found" when the series is gone and when the remaining occurrences all start more than the scan window after the deleted first start (the latter is open under #335; a series whose found occurrences were all edited on their own is explained by the newest #335 entry), while the refusals that have their own explanation are: an update of the whole series or of span future at the first remaining occurrence, moving the whole series to another account, and an update_event that changes the calendar to another account's or the recurrence); an occurrence edited on its own is not a way to the whole series either: updating the whole series from it splits it too, and deleting it with span all removes only that occurrence; a move through the bare id records an undo entry whose lookup (verifiedHistoryTarget) cannot use the stand-in, so that undo may report the target missing and keep the entry until it is discarded (not run: undo is stateful; whether the series obje...

Read more

v1.20.0

Choose a tag to compare

@kiki830621 kiki830621 released this 11 Oct 02:49
1490726

Added

  • list_reminders and search_reminders report the start date and time-based alarms (#231). Reminders.app shows both, and a reminder with only a start date or only an alarm used to look undated through these tools (the #227 situation). New fields: start (the start date in the due shape, null when absent; a start that EventKit fills in can carry nanosecond = 0 and then shows .000 milliseconds, 10:00:00.000, where an otherwise equal due shows 10:00:00, #252), start_date / start_date_local (mirroring due_date / due_date_local, present only when set), and alarms, always present ([] when none): {"kind": "relative", "minutes_before": N} (positive = before the due date, negative = after) or {"kind": "absolute", "absolute_date", "absolute_date_local"}. Absolute alarms are listed first by date, then relative alarms earliest first, because EventKit's own alarm order changes between processes; a relative offset that is not a finite number is left out. Location alarms are not listed in alarms; they stay in location_trigger, which, as before, reports only the first location alarm EventKit returns. Additive only: clients that reject unknown fields must update their decoders. Event alarms are not covered (#240).
  • update_reminder realign_to_due repairs a reminder whose alarm disagrees with its due date (#235): due_date moves the start date and absolute-date alarms by the change in the due date (#227), which keeps any offset that already exists. A reminder left diverged by v1.17/v1.18 (due moved, alarm stayed), one that had no due date before, or a date-only due given a time on the same day therefore kept showing the alarm's date in Reminders.app, and nothing in the tool could move it. The new strict-boolean realign_to_due puts them onto the due date instead, whatever it moved by: together with due_date onto the new due date, on its own onto the current one. The anchor is the earliest absolute-date alarm, because that is the date Reminders.app displays (checked on device: with several alarms the app shows the earliest, before or after the due date). With a timed due every absolute-date alarm moves by the difference between the due and that alarm, so it lands on the due and later alarms keep their spacing after it; with several alarms, a stale alarm earlier than an intended early alarm therefore pushes the early one past the due. With a date-only due they move by whole calendar days onto the due's day and keep their time of day. An existing start date is set to the due date unless it already agrees with it by the rule aligned uses (below), in which case it is left as it is, so realigning an aligned reminder changes nothing. A timed due written back by realign_to_due alone gets a zone on a floating reminder, as with due_date (#237). Relative and location alarms are unchanged, and undo restores the previous dates. realign_to_due is refused together with clear_due_date, and refused before anything is written when the reminder has no due date and none is given. Without realign_to_due, the start date and alarms still move by the change in the due date (#227).
  • date_sync.aligned (#235): update_reminder's date_sync reports whether the start date and the earliest absolute-date alarm agree with the due date, judged on the reminder as read back after the save. The start agrees when, for a date-only due, it is on the due's day at any time, and when, for a timed due, it is at the due instant or on the due's day at midnight or without a time (the store hands date-only starts back as 00:00). The earliest alarm agrees at the due instant, or on the due's day for a date-only due. A timed due that could only be saved without its time or without its zone reads false, and so does a reminder that could not be read back after the save. It is omitted when the update leaves no due date, and date_sync is now also returned for a call that passes only realign_to_due. An alarm set apart from the due date on purpose also reads false: the field reports, it does not decide. It sees what EventKit returns: store rows EventKit hides, like the duplicate alarm rows under Changed, stay invisible to it.

Changed

  • A date-only create_reminder reports date_sync; a due that vanishes on read-back reads aligned: false (#301): a bare-date create_reminder, and each created row of create_reminders_batch, now reads the saved reminder back and returns date_sync (start_date, absolute_alarms_shifted, absolute_alarms_removed, aligned), the object update_reminder returns, in the same shape; a timed or undated create and a skipped duplicate carry none, because only a date-only create is read back (a timed create is not, #308). aligned is false when the due came back with a time, came back missing, or the reminder could not be re-read (a create whose save reported an error but committed may not re-read, and then reads false, "not confirmed"). update_reminder changes too: a written due that reads back missing used to leave aligned out of date_sync, as if the update had cleared the due; it now reads false, on the date-only path and, after the #237 fallback has saved and re-read once, on the timed path. Which kind of duplicate is reported no longer depends on fetch order: when several same-titled reminders match, one of the request's own kind is reported (among several of that kind, still the first fetched) (a date-only one for a bare date, a timed one for a time), so a bare date with an exact date-only duplicate is skipped without a note, and the note saying the existing reminder has a time fires only when the reminder that matched has one. Nothing changes in what is written to the store.
  • BREAKING (behavior) — a date-only reminder is overdue only once its day has ended (#297): list_reminders read a date-only due as 00:00 of its day, so is_overdue was true and filter: "overdue" listed the reminder for the whole of the day it was due. Both now go through one rule: a timed due is overdue once its instant has passed, as before; a date-only due only once its day has ended in the host time zone (Gregorian calendar, #299), so a reminder due today is not overdue at any time today and becomes overdue at 00:00 tomorrow. A zone the stored components carry is ignored for a date-only due, as EventKit drops one; a reminder made date-only on a device in another zone is judged by the day of the host running the server. sort: "due_date" keeps a date-only due at the start of its day and now puts it before a timed due at 00:00 of that day every time (that order used to depend on the sort). In the start object of list_reminders and search_reminders, the start of a date-only reminder, which the store hands back as 00:00 without a zone, now reads as a day like the due (time and date_time null); under a timed due a 00:00 start is reported as stored, since a date-only start cannot be told from one set to midnight there. due_date / due_date_local and start_date / start_date_local keep their shape (for a date-only value, 00:00 of the day in the host zone), and the tool descriptions now say so. Its due_date / due_date_local strings (in list_reminders and search_reminders) print that same instant, 00:00 of the day in the host time zone, also when the date-only components carry a zone of their own; a date-only start_date likewise. A day the host zone skipped (Pacific/Apia has no 2011-12-30) has no midnight: it prints, sorts and turns overdue at the next instant that exists, 00:00 the next day.
  • BREAKING (behavior) — a bare-date due_date makes a date-only reminder (#267): create_reminder, create_reminders_batch and update_reminder stored a due_date given as YYYY-MM-DD as 00:00 of that day with a time, so Reminders.app showed it at 12:00 AM and treated it as overdue from midnight, and nothing in the tool could write a reminder with a date and no time, as the app itself makes one. A bare YYYY-MM-DD now writes the day without a time, and the start date as the same day, as Reminders.app does; read back, due.time is null. Any other form (with a time, with or without an offset) is parsed as before, and a bare date that is not a day (2026-02-30) is refused as before. On update_reminder a date-only due also sets the start date to that day and removes every absolute-date alarm, because Reminders.app displays the earliest absolute-date alarm: on device (iCloud, 2026-10-09) a timed reminder turned date-only with its alarm kept was stored all-day but the app went on showing the alarm's old date and time. Relative and location alarms are kept; date_sync reports the start (shifted, set or unchanged) and counts the removed alarms in absolute_alarms_removed; when any were removed, the response's note says how many and that undo restores them while the server is running, if the reminder has not been changed since (the undo history does not survive a restart, a change made after the update makes undo refuse, #236, and undo through the tool was not run on device, nor was the recreation of a date-only reminder by delete-undo, now a pre-release check in #264; redo of an update writes nothing since #247), and realign_to_due adds nothing to a bare date. Giving a timed reminder its own date removes its time. The written day carries no time zone: EventKit dropped one given to date-only components as they were written, and the stored reminder was floating and marked all-day in the Reminders store. Undo of such an update writes the recorded timed due, start and alarm back; the write order it uses brought them back on device, while undo through the tool itself was not run on device. The create_reminder duplicate check keeps its rule: a bare date compares as 00:00 of that day, so a retry after upgrading still finds a reminder an earlier versi...
Read more

v1.19.0

Choose a tag to compare

@kiki830621 kiki830621 released this 04 Oct 07:28

Changed

  • BREAKING (behavior) — move_events_batch moves events in place (#226): it used to copy each event and delete the original, which changed the identifier without saying so and dropped recurrence rules, attendees, coordinates and absolute-date alarms; a recurring event moved its first occurrence and became a one-off. Now the event's calendar is reassigned, which keeps every field. Within an account the identifier stays the same; across accounts (e.g. iCloud → Google) EventKit still moves the event, keeps its recurrence, and returns a new identifier. Only if the in-place change fails is the event copied and the original removed, and that fallback is refused when the event has recurrence or attendees. New parameters: span (this default, all) and index-aligned occurrence_dates. A recurring event with span: this and no occurrence date is now refused instead of silently moving its first occurrence; span: all moves the whole series. An occurrence date with span: all is refused rather than ignored (as is a recurring event with span: this and no date), whether or not the event is already in the target calendar; an event already in the target calendar is otherwise reported unchanged with nothing written. Every event_ids entry must be a string: a non-string entry is now rejected instead of silently dropped, because dropping it would pair occurrence_dates with the wrong event. Each result reports method (in_place / copied / split / unchanged), id_changed, new_event_id (only when it changed) and not_carried_over for a fallback copy or a split (a split occurrence lists recurrence: it becomes a one-off). Date-only occurrence_dates are read in the event's own time zone, as delete_event does. Undo of an in-place move moves the event back to its original calendar; undo of a split or a fallback copy restores the original, and the copy remains.
  • BREAKING (behavior) — copy_event with delete_original: true moves the same way and reports id_changed, method and not_carried_over (#226). It now refuses recurring events (there is no occurrence_date on this tool; use move_events_batch); it used to move the first occurrence. Moving an event to the calendar it is already in writes nothing and reports action: unchanged (it used to copy and delete, changing the identifier). When the move falls back to copy and delete, undo restores the original and the copy remains. A plain copy is unchanged.
  • The shared server skeleton (self-update, --cli runner, error sanitizer core, response formatting, binary path resolution) now comes from the public package PsychQuant/che-mcp-kit-swift 0.2.x instead of files in this repo. EventKitErrorSanitizer remains as a thin wrapper that keeps the eventkit_error_<N> code, and --cli failures keep the {"error":true,"message":"<code>"} line (#223).
  • --self-update orders versions by SemVer precedence: a user on a prerelease (1.0.0-beta) is now offered the final 1.0.0, prerelease identifiers compare numerically where numeric, and build metadata is ignored (#223).
  • --cli keeps values for string-typed tool parameters verbatim (--keyword 007 searches "007", not 7); a single JSON object after the tool name is accepted as the arguments (--cli list_events '{"limit": 2}'); a stray positional argument is now an error instead of being skipped silently (#223).

Fixed

  • update_reminder moves the start date and absolute-date alarms with due_date (#227): Reminders.app displays the date of a reminder's absolute-date alarm, not its due date (confirmed on device: syncing the start date alone left the displayed date unchanged; syncing the alarm moved it). Reminders created in the app carry an alarm at the due time and a start date, and both used to stay behind, so the app kept showing the old date. Both now shift by the difference between the old and new due instants (an alarm one hour before due stays one hour before; a daylight-saving change keeps it on the new due time); when the old due date has no time of day, they move by whole calendar days and keep their time (giving a date-only due a time on the same day moves nothing), and a date-only start date moves by the number of calendar days the due date moved, counted from the stored dates. The shift uses the due date as stored (to the minute), and a shifted alarm keeps its sound and email settings (undo still restores alarms by date only, #228). clear_due_date also clears the start date and removes absolute-date alarms; on a reminder that has no due date it changes nothing. Relative and location alarms are unchanged. The response's new date_sync object reports start_date (shifted / cleared / unchanged / absent), absolute_alarms_shifted and absolute_alarms_removed.
  • Undo of update_reminder / delete_reminder restores start dates and absolute-date alarms (#227): the undo snapshot recorded every alarm as a relative offset, and an absolute alarm's offset is 0, so undo brought it back as an alarm at the due time. Location alarms and recurrence rules in that snapshot are still tracked in #228.

Security

  • --self-update installs exactly the file it verified: che-mcp-kit-swift 0.2.1 stages the download in a private directory (0700, inherited ACLs cleared), writes it O_CREAT|O_EXCL|O_NOFOLLOW, hashes and chmods it through one descriptor, and requires the same file immediately before rename(2) (PsychQuant/che-mcp-kit-swift#1).
  • --self-update now refuses a download unless it is Developer ID signed by team 6W377FS7BS (codesign --verify --strict against a pinned designated requirement) and Gatekeeper reports it as Notarized Developer ID (spctl -a -vvv -t install, bounded by SPCTL_TIMEOUT_SECONDS, default 60 s, max 600; codesign has its own 30 s budget; a timeout refuses). The checks run after the SHA-256 check, and immediately before rename(2) the file must still be a regular file with the expected SHA-256. The installed binary is untouched on any refusal (#223).

v1.18.0

Choose a tag to compare

@kiki830621 kiki830621 released this 08 Sep 18:41

Added

  • undo(discard_id) can explicitly remove a blocked top history record by the stable ID from undo_history; stale IDs and active history execution are rejected (#206, #214).

  • Explicit event_recurrence_rules and reminder_recurrence_rules read fields distinguish the entity-specific rule formats while retaining legacy recurrence_rules aliases. Event frequency formatting handles unknown values without trapping (#198).

Fixed

  • Reminder write results are immutable Sendable snapshots (#215). Event moves record source-occurrence restoration for undo (#208).

  • Repeated reminder completion preserves its original completion date (#211); redo restores the saved completion instant instead of stamping a fresh one (#212).

  • Reminder list/search now filter, sort and limit inside the EventKit actor before building full recurrence/alarm snapshots. Pre-limit counts and response fields are preserved; snapshots tolerate a missing calendar (#197).

  • Trailing reminder tags use a linear token scan, avoiding exponential regex backtracking on malformed note lines (#216).

  • Undo restores the recorded completion_date (#196): every undo that returns a reminder to the completed state — the completion records, and the update / delete records through their snapshot — now carries the pre-write completion instant and writes it back instead of letting EventKit stamp the undo time. Redo re-applies the recorded request: the legacy record no longer infers it as the opposite of the prior state, which reopened an idempotently completed reminder. The record-to-write mapping (UndoOperation.completionWrite), the write (ReminderCompletionWrite.apply) and both snapshot captures are unit-tested against in-memory EventKit objects; the on-device undo round-trip is still pending (Refs #196).

Changed

  • Update and optional-move tools now declare destructive hints; all tool annotations have an explicit tested policy (#209).

  • Reminder next-occurrence status is represented by an enum while preserving its JSON strings; completion and recurring-history methods now live in a dedicated actor extension (#199).

  • BREAKING — every boolean tool argument is now a strict JSON boolean (#207): the remaining boolean coercions, including the optional update field, follow the #205 contract — create_event.all_day, update_event.all_day / clear_recurrence / clear_timezone, update_reminder.clear_tags / clear_due_date / clear_location_trigger, list_reminder_tags.include_completed, cleanup_completed_reminders.dry_run, create_events_batch per-item all_day (reported as that item's error, like every other per-item failure), copy_event.delete_original, delete_events_batch.dry_run. A string or number is rejected with <key> must be a boolean (true or false) before the affected operation writes; omitted or JSON null keeps the default. Previously "dry_run": "false" silently previewed and "delete_original": "true" silently kept the original. Guard: BooleanArgumentContractTests (Refs #207).

  • complete_reminder is now annotated destructiveHint: true (#202): completing a recurring reminder advances the series irreversibly, and the finished occurrence cannot be restored by undo once the identifier has rolled over (#204), so the annotation now matches delete_reminder. The hint is per-tool, so clients that gate on tool annotations will ask before any complete_reminder call, including reopening and non-recurring completions. Regression guard: ToolAnnotationTests (Refs #202).

  • list_reminder_tags reads through the reminder snapshot seam (#203): the third reminder read path no longer hands raw EKReminder objects out of the manager actor; it consumes ReminderReadSnapshot like list_reminders / search_reminders. Output is unchanged. Tests: a recording-fake handler test for the tags tool, a two-rule reminder through list and search, and the serializer's reachable recurrence states next to the (now labelled) defensive rules == nil case (Refs #203).

v1.17.0

Choose a tag to compare

@kiki830621 kiki830621 released this 07 Sep 08:19

#194 — reminder recurrence on read, and explicit completion results.

  • Added — list_reminders / search_reminders expose has_recurrence, the full public recurrence_rules (including frequency_raw_value) and a due object (date / time / timezone / date_time) next to the legacy fields (Refs #194).
  • Fixed — complete_reminder separates the write outcome (operation) from the saved object's state. The successor is observed once, synchronously, from the saved object (no polling) and reported as next_occurrence: confirmed with the observed due in the message (reminder-local wall clock), or unknown with a reason. The saved object is always echoed as observed. Reopening is operation.type: "reopen"; legacy action / is_completed are unchanged (Refs #194).
  • Fixed — Undo/redo of a recurring completion is identity-guarded (pre-write due / rules / list / source snapshot). When the identifier has advanced to a later occurrence the undo fails explicitly and its history entry is discarded instead of re-appended, so earlier operations stay undoable; transient failures (including a reminder that cannot be found right now) keep the entry (#191). Recurring snapshots with no due or no rules fall back to the legacy identifier-keyed record (for that subset the pre-#204 no-op undo / successor-completing redo remain). undo_history lists guarded entries as Completed/Reopened recurring reminder: <title> (Refs #204).

#205 — completed must be a JSON boolean on the reminder tools (BREAKING).

  • BREAKING — completed must be a JSON boolean on complete_reminder, list_reminders and search_reminders. A string or number ("false", "true", 0, 1) is now rejected with Invalid parameter: completed must be a boolean (true or false) before any read or write — on list_reminders even when filter is supplied; omitted and JSON null keep their old meaning (complete / no filter). Previously complete_reminder silently treated any non-boolean as true — a caller sending "completed": "false" to reopen a reminder completed it instead — while list/search silently treated it as "no filter". Migration: send true / false literals; loosely typed clients that stringify booleans must stop doing so for this parameter. The --cli stdin surface now maps JSON null to an omitted argument instead of "" (Refs #205).

Known follow-up (tracked separately)

  • #196 / #197 / #198 / #199 — review follow-ups (undo completionDate, read-path materialization cost, recurrence JSON shape parity with events, structural debt around completeReminder).
  • #202 / #203 / #206 / #207 — destructiveHint on complete_reminder; third read path + multi-rule coverage; deleted-item undo entries at the stack head (#191 design); sibling boolean arguments still coerce.

Signed with Developer ID and notarized by Apple. Assets: universal CheICalMCP binary + .sha256 (for --self-update), che-ical-mcp-1.17.0.mcpb + .sha256 (Claude Desktop one-click bundle).

v1.16.1 — type-safety + on-device-verification fixes

Choose a tag to compare

@kiki830621 kiki830621 released this 31 Aug 08:43

v1.16.1

#184 — non-object recurrence value now rejected with an explicit error(was silently dropped, creating a non-recurring event while the response looked successful)。

#190 — all_day + timezone pairing now rejected(was silently stripping the all-day flag, shifting occurrence days across the dateline, and defeating excluded_occurrence_dates — #186 on-device finding)。Pure all-day and timed+timezone paths unchanged。

#191 — undo of a recurring-series deletion rebuilds recurrence rules from value snapshots(fixes EKCADErrorDomain 1010 from stale rule references); a failed undo/redo no longer consumes the entry(retry now works instead of undoing the wrong, older operation)。

529 tests, 0 failures。Full changelog: CHANGELOG.md

v1.16.0 — recurrence exclusions, undo completeness, archive-event skill

Choose a tag to compare

@kiki830621 kiki830621 released this 31 Aug 05:34

v1.16.0

#182 — excluded_occurrence_dates on create_event / create_events_batch:single-operation recurring-series creation with known occurrences excluded(two-pass create-then-remove、compensating delete、first occurrence not excludable、idempotent retry / conflict detection、per-item batch reporting)。

#185 — batch and series deletions now record undo entries:one .batch undo unit per call(same-master snapshot dedupe);deleteEventSeries records the master snapshot;span:"all" aggregates through new deleteEventSeriesBatch。Undo of a recurring create now removes the whole series(.futureEvents)and a missing event surfaces as an error instead of false success。

#180 — new archive-event plugin skill:source-to-event archiving(correction selection by sender identity + parsable time、update-vs-create keyed on the original notice's Message-ID、mandatory estimate labelling、three-tier calendar choice with .claude/.ical/ project config、same-day deadline surfacing)。

514 tests, 0 failures。Verified via 6-AI cross-model ensemble(round-1 FAIL → auto-fix → round-2 PASS)— details on the referenced issues。

Full changelog: CHANGELOG.md

v1.15.0 — parent-chain diagnostics + versioned-host banner signal

Choose a tag to compare

@kiki830621 kiki830621 released this 10 Jul 14:04

v1.15.0 — parent-chain diagnostics + versioned-host banner signal

#169 — --print-tcc-path prints its execution context. The diagnostic output now ends with the parent process chain (self → … → launchd) plus a context-dependence warning: the EventKit authorization status follows the responsible-process context (#168), not the binary — so knowing which host the query ran under is load-bearing. All interpolated fields pass through the CWE-150/117 sanitizer.

#173 — parent-chain diagnostics polish. Truncation/cycle stops render visible markers (with a launchd cap exemption so exactly-rooted chains are never mislabeled); empty-comm rows keep their pid→ppid linkage; ps -ww prevents width clamping; non-UTF-8 output and non-zero exits surface as visible failure reasons; NOTE wording no longer equates the parent chain with macOS's responsible process, and Claude Desktop users are routed to the sqlite3 TCC query.

#175 — startup banner detects "versioned Claude Code host + ungranted EventKit". New drift signal (#122 family): when the server starts under ~/.local/share/claude/versions/<v> (the path #170 documents as rotating on every Claude Code update, staling the host-side TCC grant) and either Calendar or Reminders is ungranted, the banner explains the rotation and points at the fix. The contradictory --setup hint is suppressed in that scenario. Granted users pay zero added subprocess cost. Upstream root cause filed: anthropics/claude-code#76246.

#172 — version-site alignment. All five version sites move in lockstep again (VersionConsistencyTests green).

490 tests, 0 failures. Each feature verified by a 6-AI cross-model ensemble (4 lens + adversarial DA + Codex gpt-5.5); binary signed (Developer ID 6W377FS7BS) + notarized (Accepted).

⌂ 换网址