Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ycode/ycode
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1.29.1
Choose a base ref
...
head repository: ycode/ycode
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 1.29.2
Choose a head ref
  • 6 commits
  • 7 files changed
  • 2 contributors

Commits on Jul 30, 2026

  1. fix: guard string component variable values

    A component variable `default_value` is untyped in the MCP tool schema, so an
    agent can store a bare string where the renderer expects
    `{ type: 'dynamic_text', data: { content } }`. Probing that primitive with the
    `in` operator threw, `fetchPageByPath` swallowed the error, and every page
    using the component fell back to the starter template — both in the builder
    preview and on the published site.
    
    Coerce strings to `dynamic_text` at render time so existing bad data recovers
    without a migration, and wrap them at the MCP boundary so new writes are
    stored in the correct shape.
    
    Co-authored-by: Cursor <cursoragent@cursor.com>
    ysamcode and cursoragent committed Jul 30, 2026
    Configuration menu
    Copy the full SHA
    b2d9977 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #480 from ycode/fix/guard-string-component-variabl…

    …e-values
    
    fix: guard string component variable values
    ysamcode authored Jul 30, 2026
    Configuration menu
    Copy the full SHA
    a2f7998 View commit details
    Browse the repository at this point in the history
  3. docs: surface undocumented MCP design capabilities in agent instructions

    The design guide sent to agents omitted several properties the schema and
    class mapper already support (mixBlendMode, filter, backdropFilter, raw
    backgroundImage values), so agents assumed blend-mode overlays required
    custom code. Also documents that htmlEmbed renders as a sandboxed iframe
    on published sites and the custom_attributes style escape hatch for CSS
    with no design field (e.g. pointer-events).
    ysamcode committed Jul 30, 2026
    Configuration menu
    Copy the full SHA
    c286602 View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2026

  1. Merge pull request #482 from ycode/docs/mcp-design-capabilities

    docs: surface undocumented MCP design capabilities in agent instructions
    ysamcode authored Jul 31, 2026
    Configuration menu
    Copy the full SHA
    3d45e07 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #483 from ycode/develop

    fix: prevent component variables with plain-text values from breaking pages
    ysamcode authored Jul 31, 2026
    Configuration menu
    Copy the full SHA
    2436e24 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9111045 View commit details
    Browse the repository at this point in the history
Loading