Phase F of the AFFiNE plan (ADR-16):
- Calendars: people subscribe to iCal feeds (webcal, Google's secret
address, Outlook) or CalDAV accounts in account settings; their
events show at the top of journal pages in the reader's time zone.
Repeats, moved and cancelled occurrences, IANA and Windows zones
are handled. Events are read on demand and kept in memory for 15
minutes; passwords are sealed with DOCWELL_SECRET_KEY; sources
follow the webhook address rules. New calendar_accounts collection.
- Importers: zips of Markdown (Obsidian vaults, Bear TextBundles and
.bear2bk, Readwise's Markdown, Docwell's own space export) keep
folders as pages, resolve [[wikilinks]] and embeds by name, and turn
front matter and #tags into properties and tags. OneNote .mht
exports, Readwise CSV, and any other CSV as a database page.
- Exports: PNG of a page drawn in the browser, print styles that print
only the page in the light theme, and workspace snapshots (records,
Yjs states, JSON and files in one zip) that restore as a new
workspace. Old ids are swapped byte for byte inside the Yjs updates,
so links point at the restored pages and comments stay anchored.
- Web-Clipper/: a Manifest V3 extension for Chrome, Edge and Firefox
that saves the article or the selection as Markdown through the
import API with a personal API token.
- OpenAPI, generated clients, translations and user docs.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Phase E of the AFFiNE parity plan (ADR-15):
- internal/ai: OpenAI-compatible, Anthropic (official Go SDK) and Ollama
drivers; BYOK profiles per workspace and for the instance, with keys
encrypted by DOCWELL_SECRET_KEY, failover order, a test call and usage
counters.
- Embeddings: an indexer that follows PocketBase like the search index,
chunks pages along their blocks and keeps vectors in a bbolt file in
the data dir (no cgo); progress, ignored pages and extra files.
- Chat sessions scoped to a page, space or workspace, streamed as
server-sent events, with citations to pages and blocks, fork and
history; retrieval only from pages the asker can read.
- Writing actions (rewrite, fix, shorter, longer, summarise, translate,
continue, custom) in the editor's selection toolbar.
- POST /mcp: MCP over Streamable HTTP with personal API tokens; read
tokens search and read pages, write tokens also create and update them.
- Web app chat panel (Ctrl+J), workspace AI settings, an admin AI page,
OpenAPI, generated clients, migration and translations.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Phase 0 foundation for Docwell, an open-source knowledge base:
- Database: PocketBase v0.40.6 with initial schema migrations; users is
the built-in auth collection, plus a hook for token checks and
env-driven app URL/SMTP settings
- Server: Go API (health, version, auth endpoints forwarded to
PocketBase, admin user list) with an embedded Vue admin panel
- Web-App: Go static server and Vue/Tailwind app with Tiptap editor,
sign-in, sign-up, password reset and email verification (EN/PL)
- Desktop-App: Wails v3 host reusing the web app
- Phone-App: Flutter app with sign-in
- Shared packages (editor, ui, api-client), OpenAPI spec, Docker
compose (separate services and all-in-one), GitHub Actions CI
- Docs: feature inventory and architecture/build plan
Licensed under AGPL-3.0-or-later.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>