Skip to content

Contentrain/ai

v@contentrain/[email protected] Feature

This release adds 3 notable features for engineering teams evaluating rollout.

✓ No known CVEs patched
Read the diff → Tool health → What is this tool? →

✓ No known CVEs patched in this version

Topics

ai-agents claude-code content-governance contentrain cursor developer-tools
+8 more
git i18n mcp mcp-server model-context-protocol sdk typescript windsurf

Affected surfaces

breaking_upgrade

Summary

AI summary

Updates Patch Changes, bcca7bd, and mcp across a mixed release.

Full changelog

Patch Changes

  • bcca7bd: feat(mcp): normalize media paths to absolute delivery URLs on cloud writes

    External-agent writes through MCP Cloud go straight through planContentSave
    rather than Studio's content-engine, so relative media/... references used to
    land in git verbatim. They now resolve the same way Studio's own write path
    resolves them.

    • @contentrain/types: RepoProvider gains optional mediaBaseUrl (the
      per-project public delivery base, project segment included) and
      ContentrainConfig gains optional cdn.url.
    • @contentrain/mcp: when the provider supplies mediaBaseUrl (cloud mode),
      contentrain_content_save normalizes relative media/... references — in
      image/video/file fields (incl. nested object/array) and markdown bodies — to
      absolute {base}/{path} delivery URLs before commit. Idempotent: external
      URLs (http(s)://, //, data:) and already-absolute URLs pass through. In
      local mode (no base) paths are kept verbatim — the OSS file model.
    • @contentrain/query: generate accepts cdnBaseUrl (or reads
      config.cdn.url) and bakes a media() resolver into the generated local
      client — media('media/...') → {base}/{path} — the local-mode counterpart of
      CDN mode's MediaAccessor.url().
    • contentrain (CLI): generate --cdnBaseUrl <base> flag.
    • @contentrain/rules, @contentrain/skills: document the two media storage
      models (local-file vs Studio-CDN) and the media() resolver.

Weekly OSS security release digest.

The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.

No spam, unsubscribe anytime.

Share this release

Track Contentrain/ai

Get notified when new releases ship.

Sign up free

About Contentrain/ai

Local-first MCP server for AI content governance — 13 tools for model/content CRUD, validation, normalization, and i18n across any framework.

All releases →

Related context

Earlier breaking changes

Beta — feedback welcome: [email protected]