Skip to content

Calends 1.72.0

Choose a tag to compare

@imetn imetn released this 27 Nov 17:31
· 49 commits to main since this release

Calends 1.72 adds MCP Apps (io.modelcontextprotocol/ui) interactive UI components for external MCP clients and brings file previews, PDF attachment support, and rich tool cards to the built-in AI Assistant.

Highlights

  • MCP Apps (io.modelcontextprotocol/ui). /mcp now advertises extensions["io.modelcontextprotocol/ui"] (text/html;profile=mcp-app) and serves four self-contained, zero-external-network ui://calends/*.html views via resources/list and resources/read, linked from tools/list via _meta.ui.resourceUri:
    • ui://calends/file-viewer.html (list_files, get_file): interactive receipt/invoice/contract gallery with search, filters, inline image zoom, embedded PDF preview, tools/call drill-down, and ui/open-link download support for files over 5 MB.
    • ui://calends/spending-dashboard.html (get_overview, spending_stats, get_insights): KPI cards, category/method breakdown bars, insights, and explicit incomplete-FX indicators.
    • ui://calends/subscription-card.html (list_subscriptions, get_subscription): filterable subscription list and detail view with renewal dates, recent charges, and linked files.
    • ui://calends/carpool-card.html (get_carpool): shared-plan seat usage, yearly cost/earnings, pending dues, and per-member settlement status.
  • In-app AI Assistant file preview & rich chat widgets.
    • Read tool calls (list_files, get_overview, spending_stats, get_insights, list_subscriptions, get_subscription, get_carpool) render native interactive cards inside the chat thread alongside the collapsible raw JSON inspector, reusing FileThumb, FileSheet, MetricCards, and SubIcon.
    • update_file confirmation cards now display the actual file thumbnail, type/size metadata, and an inline Preview action to inspect the receipt or PDF in FileSheet before confirming.
    • Clicking any sent or attached chat image opens the zoomable ImageZoom lightbox, and the chat composer now accepts PDF invoices (lazily rasterizing up to 2 pages via pdfjs-dist for vision models).

Upgrading

No new database migrations. Pull the new image or deploy the Worker as usual; rollback directly to v1.71.0 if needed.

  • Docker Hub: xizozhe/calends:1.72.0
  • GHCR: ghcr.io/imetn/calends:1.72.0