Skip to content

chore(sync): pro@caffb5c - #859

Merged
surajair merged 1 commit into
mainfrom
sync/pro-caffb5c
Nov 26, 2026
Merged

surajair merged 1 commit into
mainfrom
sync/pro-caffb5c

Conversation

@surajair

Copy link
Copy Markdown
Collaborator

Brings core's shared src/ up to chaibuilder/pro at caffb5c (v0.5.3 bd43dea + chaibuilder/pro#486).

Pro changes carried (66 commits since .sync-ref pro@a4127ad, 20 files added, 158 updated, 0 deleted):

  • i18n locale plumbing, es.json bundle, key-coverage & parity guards, pluralization, and UI string wrapping
  • Builder AI & MCP parity: JSON-first read_blocks & update_block_props, custom/library block preference, section layout design tokens, design checks
  • canShowBlock / block visibility filtering across Add Block panels, search, and AI
  • Outline replace-block action, validation errors modal & grouped Errors panel, locked upstream-page duplication guard
  • Global DB singleton fix & site-domain failure cause surfacing (bd43dea)
  • caffb5c (chaibuilder/pro#486): gate optional library/media AI tool expectations in ai-edit-page-action.test.ts on registered actions

Checked locally

  • pnpm lint: clean
  • pnpm typecheck: clean
  • pnpm test: 332 passed, 3 skipped (3252 tests passed, 5 skipped)
  • pnpm build + publint: OK
  • pnpm sync:check --sibling=../pro: ✓ 1412 shared files identical, root files match
  • commitlint: 0 problems

Merge with a merge commit or rebase, not squash, so the Sync-* trailers survive into main. Merge chaibuilder/pro#486 first (if squash-merged in pro, re-sync from pro main if you want .sync-ref pointing at main).

Sync src/ from chaibuilder/pro (sync_with_core) into chaibuilder/core.

Source commits since last sync (.sync-ref was pro@a4127ad):
  caffb5c71 test: gate optional AI tool expectations on registered actions
  bd43dea82 fix(chai): share DB singleton on globalThis and surface site-domain failure cause
  532323538 fix(chai): pick one variant per section for custom and library blocks
  124a0dc9d fix(chai): add AI panel i18n keys to en/es bundles
  0f3131905 Merge remote-tracking branch 'origin/develop' into sync_builder_ai_mcp
  605e42632 feat(chai): add JSON-first read_blocks and update_block_props across Builder AI & M…
  a4df38ec7 fix(i18n): add missing replace block keys to es.json
  36dbbf79d feat(chai): populate es.json bundle and enforce locale parity (#671)
  349780397 fix(i18n): localize non-English revision dates
  fddbfa537 feat(i18n): convert plurals to _one/_other and localize formatting (#670)
  232030916 feat(i18n): wrap untranslated strings in chai plugins (#669)
  ab2cedeb0 feat(i18n): wrap untranslated strings in pages builder (#668)
  31a5ea858 feat(i18n): wrap untranslated strings in core components (#668)
  9fb49b5d8 feat(i18n): wrap untranslated strings in rjsf-widgets (#668)
  5d4c26511 feat(i18n): wrap design-tokens, hooks, and ui sr-only strings (#668)
  228b9c37e feat(i18n): translate block names, settings labels, and variants (#667)
  690c65501 fix(i18n): add Show more key to en.json
  7926226d2 feat(chai): prefer custom and library blocks before hand-authored HTML in AI & MCP
  f0b576aec feat(i18n): backfill chai en.json and add key coverage guard (#666)
  d9955e29e feat(i18n): add chai locale plumbing (#665)
  0a88c8a19 fix(chai): keep server-only AI tool modules out of client editor bundle
  b2081846f feat(chai): require section layout design tokens in AI/MCP rules and design checks
  79349c9c9 fix(chai): show all used-in pages at once with a count on Show more
  4c2943259 fix(chai): use cn for delete dialog list classes
  d9f7393c2 fix(chai): cap used-in-pages list in delete Global Block dialog
  c1b0c3971 refactor(chai): keep theme and design-token edits MCP-only
  052f1e758 fix(chai): address PR #899 review findings across Builder AI & MCP
  da2fdfa40 Merge remote-tracking branch 'origin/develop' into sync_builder_ai_mcp
  42a4b0560 feat(chai): sync Builder AI with MCP single-page capabilities & add CI drift guard
  0ca7b35cf fix(chai): keep search focus when a block menu opens the add-blocks dialog
  (+36 more)
Files: 158 updated, 20 added, 0 deleted
  + src/builder/core/components/chaibuilder-editor-locale.test.tsx
  + src/builder/core/components/settings/json-form.test.ts
  + src/builder/core/locales/es.json
  + src/builder/core/locales/locales.test.ts
  + src/server/chai-actions/ai/ask-ai/ai-edit-block-action.test.ts
  + src/server/chai-actions/ai/design/compose-design-brief.ts
  + src/server/chai-actions/ai/design/feature.ts
  + src/server/chai-actions/ai/design/guides/index.ts
  + src/server/chai-actions/ai/design/guides/refine.ts
  + src/server/chai-actions/ai/design/guides/setup.ts
  + src/server/chai-actions/ai/design/rules-in-force.ts
  + src/server/chai-actions/ai/page-tool-operations.ts
  + src/server/chai-actions/ai/remote-image-constants.ts
  + src/server/chai-actions/ai/remote-image.ts
  + src/server/chai-actions/ai/shared-instructions.ts
  + src/utils/design-checks/evaluate-write-checks.ts
  + src/utils/page-lang.ts
  + src/utils/page-seo.ts
  + src/utils/page-translations.ts
  + src/utils/page-type-helpers.ts
  ~ src/builder/core/components/canvas/dnd/drag-and-drop/hooks/use-block-drop.ts
  ~ src/builder/core/components/canvas/static/bubble-menu.tsx
  ~ src/builder/core/components/canvas/static/error-fallback.tsx
  ~ src/builder/core/components/canvas/static/new-blocks-renderer.tsx
  ~ src/builder/core/components/canvas/topbar/page-validation.tsx
  ~ src/builder/core/components/canvas/topbar/validation-errors-modal.tsx
  ~ src/builder/core/components/chaibuilder-editor.tsx
  ~ src/builder/core/components/layout/add-blocks-dialog.tsx
  ~ src/builder/core/components/layout/root-layout.tsx
  ~ src/builder/core/components/settings/block-settings.tsx
  ~ src/builder/core/components/settings/choices/advance-choices.tsx
  ~ src/builder/core/components/settings/choices/block-style.tsx
  ~ src/builder/core/components/settings/choices/dropdown-choices.tsx
  ~ src/builder/core/components/settings/common-settings.tsx
  ~ src/builder/core/components/settings/get-block-heading.ts
  ~ src/builder/core/components/settings/json-form.tsx
  ~ src/builder/core/components/settings/new-panel/breakpoint-selector.tsx
  ~ src/builder/core/components/sidepanels/panels/add-blocks/core-block.tsx
  ~ src/builder/core/components/sidepanels/panels/add-blocks/default-blocks.tsx
  ~ src/builder/core/components/sidepanels/panels/add-blocks/global-search-results.tsx
  (+138 more, see the diff)

Sync-Direction: pro->core
Sync-Source: chaibuilder/pro@caffb5c
Sync-Previous: chaibuilder/pro@a4127ad
Sync-Manifest: sha256:6b1d0d837b32cedcde28c404d3a67a82b9408c8aab4cc914bdbdf7a77be931b1
@github-actions github-actions Bot added area: builder Editor UI area: server Server runtime, config, and actions area: db Database adapters and drizzle schema area: blocks Built-in blocks and the block registry area: ai AI features and provider plugins area: plugins Feature plugins area: types Public TypeScript types tests Test suite labels Nov 26, 2026
@surajair
surajair merged commit bcea501 into main Nov 26, 2026
9 checks passed
@surajair
surajair deleted the sync/pro-caffb5c branch November 26, 2026 12:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: ai AI features and provider plugins area: blocks Built-in blocks and the block registry area: builder Editor UI area: db Database adapters and drizzle schema area: plugins Feature plugins area: server Server runtime, config, and actions area: types Public TypeScript types tests Test suite

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant