- Columns: /columns puts 2 to 4 columns side by side, with widths dragged
between them; they stack on phones. HTML export and import keep them
(also Notion column lists and Confluence page layouts).
- Suggesting mode: edits become suggested insertions and deletions that
editors accept or reject one by one or all at once. Text only.
- Verified pages: editors verify a page for a while or without end; the
verifier is notified when it runs out (migration 1764700000).
- Scanned PDFs attached to pages are read by AI for search where a
workspace turns it on.
- The server writes error messages, emails, digests and phone
notifications in English, Polish, German, French and Spanish; the apps
send their language with each request.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Follow-ups to Phase E (ADR-15):
- Transcription (E2): OpenAI-compatible profiles can name a speech-to-text
model; POST /files/{id}/transcribe turns an audio or video attachment
(up to 25 MB) into text and a summary with key points and action items.
The editor gets a Transcribe button on media files that inserts the
summary and the transcript in a toggle.
- Monthly token limits: ai_usage counts requests and tokens per workspace
and month. Workspace admins can cap their workspace; superadmins can cap
what each workspace uses through the server's providers, after which
the workspace's own providers keep working. The admin panel lists usage.
- PDF text for extra retrieval files (ledongthuc/pdf, pure Go).
- Phone app: an AI chat screen for the workspace or a page, with streamed
answers and sources that open the cited block.
- OpenAPI, generated clients, migration, translations and 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>