Skip to content

Releases: Contentrain/ai

contentrain@0.3.4

10 Apr 22:17
82a7ef9

Choose a tag to compare

Patch Changes

  • Updated dependencies [1d25752]
    • @contentrain/types@0.4.1
    • @contentrain/mcp@1.1.2
    • @contentrain/query@5.1.3

contentrain@0.3.3

10 Apr 21:48
261fdf8

Choose a tag to compare

Patch Changes

  • Updated dependencies [131c752]
  • Updated dependencies [131c752]
    • @contentrain/mcp@1.1.1
    • @contentrain/types@0.4.0
    • @contentrain/query@5.1.2

@contentrain/types@0.4.1

10 Apr 22:17
82a7ef9

Choose a tag to compare

Patch Changes

  • 1d25752: Fix declaration file path in package.json — point to index.d.mts instead of non-existent index.d.ts

@contentrain/types@0.4.0

10 Apr 21:48
261fdf8

Choose a tag to compare

Minor Changes

  • 131c752: Add pure, dependency-free validate and serialize functions for shared use across MCP (Node.js) and Studio (web).

    Validate: validateSlug, validateEntryId, validateLocale, detectSecrets, validateFieldValue (type, required, min/max, pattern, select options).

    Serialize: sortKeys, canonicalStringify, generateEntryId, parseMarkdownFrontmatter, serializeMarkdownFrontmatter.

    All functions are browser-compatible with zero runtime dependencies.

@contentrain/query@5.1.3

10 Apr 22:17
82a7ef9

Choose a tag to compare

Patch Changes

  • Updated dependencies [1d25752]
    • @contentrain/types@0.4.1

@contentrain/query@5.1.2

10 Apr 21:48
261fdf8

Choose a tag to compare

Patch Changes

  • Updated dependencies [131c752]
    • @contentrain/types@0.4.0

@contentrain/mcp@1.1.2

10 Apr 22:17
82a7ef9

Choose a tag to compare

Patch Changes

  • Updated dependencies [1d25752]
    • @contentrain/types@0.4.1

@contentrain/mcp@1.1.1

10 Apr 21:47
261fdf8

Choose a tag to compare

Patch Changes

  • 131c752: Refactor validation and serialization to use shared functions from @contentrain/types instead of local duplicates. Removes ~530 lines of duplicated code (pattern constants, field type matching, secret detection, frontmatter parsing, canonical JSON). No public API changes — all existing exports remain backward-compatible via re-exports.
  • Updated dependencies [131c752]
    • @contentrain/types@0.4.0

contentrain@0.3.2

29 Mar 17:38
8e3d0bb

Choose a tag to compare

Patch Changes

  • fe97f7b: Rewrite git transaction system with dedicated contentrain branch and full worktree isolation.

    @contentrain/mcp:

    • Eliminate stash/checkout/merge on developer's working tree during auto-merge
    • All git operations happen in temporary worktrees — developer's tree never mutated
    • Dedicated contentrain branch as content state single source of truth
    • Feature branches use cr/ prefix (avoids git ref namespace collision)
    • Auto-merge flow: feature → contentrain → update-ref baseBranch (fast-forward)
    • Selective sync: only changed files copied to working tree, dirty files skipped with warning
    • context.json committed with content (not separately)
    • Structured errors with code, message, agent_hint, developer_action
    • Automatic migration of old contentrain/* branches on first operation

    @contentrain/types:

    • Add SyncResult interface for selective file sync results
    • Add ContentrainError interface for structured error reporting
    • Add CONTENTRAIN_BRANCH constant

    contentrain (CLI):

    • Worktree merge pattern in diff, serve approve, normalize approve
    • Contentrain branch status display in contentrain status
    • Protected contentrain branch in branch listings

    @contentrain/rules & @contentrain/skills:

    • Updated workflow documentation for new git architecture
  • Updated dependencies [fe97f7b]

    • @contentrain/mcp@1.1.0
    • @contentrain/types@0.3.0
    • @contentrain/rules@0.3.1
    • @contentrain/query@5.1.1

@contentrain/types@0.3.0

29 Mar 17:38
8e3d0bb

Choose a tag to compare

Minor Changes

  • fe97f7b: Rewrite git transaction system with dedicated contentrain branch and full worktree isolation.

    @contentrain/mcp:

    • Eliminate stash/checkout/merge on developer's working tree during auto-merge
    • All git operations happen in temporary worktrees — developer's tree never mutated
    • Dedicated contentrain branch as content state single source of truth
    • Feature branches use cr/ prefix (avoids git ref namespace collision)
    • Auto-merge flow: feature → contentrain → update-ref baseBranch (fast-forward)
    • Selective sync: only changed files copied to working tree, dirty files skipped with warning
    • context.json committed with content (not separately)
    • Structured errors with code, message, agent_hint, developer_action
    • Automatic migration of old contentrain/* branches on first operation

    @contentrain/types:

    • Add SyncResult interface for selective file sync results
    • Add ContentrainError interface for structured error reporting
    • Add CONTENTRAIN_BRANCH constant

    contentrain (CLI):

    • Worktree merge pattern in diff, serve approve, normalize approve
    • Contentrain branch status display in contentrain status
    • Protected contentrain branch in branch listings

    @contentrain/rules & @contentrain/skills:

    • Updated workflow documentation for new git architecture