Repository navigation
AI-native release. No database migrations; API-key sessions are restricted (see Changed).
Added
- AI-native: MCP server at
POST /api/mcp. 23 tools for AI agents (Claude Code, Codex, Cursor, VS Code, OMP, …) to search, write, schedule, publish, trash/restore, version, audit SEO and manage media and taxonomies, plus the resourcekcms://guide/contentand the promptswrite-post/refresh-seo. Authentication is a user API key inAuthorization: Bearer …; every call runs as that user with normal access rules, honours admin edit locks and requiresexpectedUpdatedAtfor writes to existing documents. Enabled by default;MCP_ENABLED=falseturns it off. See docs/ai-integration.md. kcmsCLI (@kdigi/kcms-cli,packages/kcms-cli): Markdown-file round-trip for posts/pages, local image upload,kcms setup <client>that writes MCP config without embedding the key, andkcms mcpstdio bridge. The repository is now a pnpm workspace.- Agent skill
skills/kcms(Agent Skills format) teaching the editorial workflow; installed withkcms setup … --with-skill.
Changed
- Behaviour change — API-key sessions are restricted on all REST/GraphQL routes: they can no longer create users or change email, password, API key, API-key switch, role or site membership, and can no longer permanently delete anything (content can still be moved to the trash). Browser sessions are unaffected. See roles and permissions.
/api/media/from-url: downloads are pinned to the DNS answer that passed the SSRF check (no DNS-rebinding window) and every redirect hop is re-checked. Called with an API key it runs with the caller's access and accepts JPEG/PNG/WebP/GIF/AVIF only (type sniffed from the bytes).- Author publish attempts now fail with HTTP
403instead of a generic500. - README,
package.jsondescription and the docs index now present KDIGI CMS as an AI-native CMS;docs/architecture.mddocuments the agent surface (src/agent-api,src/mcp,packages/kcms-cli,skills/kcms).
Fixed
- Partial updates (REST/GraphQL
PATCHthat omit the field) no longer overwrite a filledexcerptwith an auto-generated one, nor wipeseo.breadcrumbs.