Skip to content

feat(x-card): add production surface runtime and demos - #2012

Open
kimteayon wants to merge 3 commits into
featurefrom
codex/feature-x-card-runtime
Open

feat(x-card): add production surface runtime and demos#2012
kimteayon wants to merge 3 commits into
featurefrom
codex/feature-x-card-runtime

Conversation

@kimteayon

@kimteayon kimteayon commented Aug 4, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • add a production-oriented headless Surface Runtime with strict catalogs, atomic transactions, immutable snapshots, rollback, limits, and A2UI v0.8/v0.9 adapters
  • add production Control Room demos for both protocol versions, including streaming updates, unsafe-component rejection, rollback, reset, and responsive layouts
  • fix narrow-container overflow across the existing A2UI v0.9 demo suite
  • add bilingual Runtime API, security, error, and migration documentation; replace the stale x-card README and package metadata

Verification

  • 27 focused Runtime tests passed
  • TypeScript checks passed for packages/x and packages/x-card
  • Biome and Remark checks passed
  • browser QA passed for v0.8 stream, guard rejection, rollback, reset, documentation routing, and 390px layout with zero overflow

@gemini-code-assist

Copy link
Copy Markdown
Contributor

Caution

The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased.

@dosubot dosubot Bot added documentation Improvements or additions to documentation enhancement New feature or request javascript Pull requests that update Javascript code labels Aug 4, 2026
@coderabbitai

coderabbitai Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: bf99745f-9ac8-4464-863a-827f8ca1fd18

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@codecov

codecov Bot commented Aug 4, 2026

Copy link
Copy Markdown

Bundle Report

Bundle size has no change ✅

@codecov

codecov Bot commented Aug 4, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 97.68519% with 10 lines in your changes missing coverage. Please review.
✅ Project coverage is 97.36%. Comparing base (7080d8d) to head (96b257e).

Files with missing lines Patch % Lines
...ackages/x-card/src/runtime/createSurfaceRuntime.ts 94.82% 5 Missing and 1 partial ⚠️
packages/x-card/src/runtime/reducer.ts 98.07% 2 Missing ⚠️
packages/x-card/src/runtime/adapters/shared.ts 96.55% 1 Missing ⚠️
packages/x-card/src/runtime/jsonPointer.ts 97.29% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           feature    #2012      +/-   ##
===========================================
+ Coverage    97.34%   97.36%   +0.02%     
===========================================
  Files          174      181       +7     
  Lines         6710     7142     +432     
  Branches      2096     2236     +140     
===========================================
+ Hits          6532     6954     +422     
- Misses         176      185       +9     
- Partials         2        3       +1     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Aug 4, 2026

Copy link
Copy Markdown

Deploying ant-design-x with  Cloudflare Pages  Cloudflare Pages

Latest commit: 96b257e
Status: ✅  Deploy successful!
Preview URL: https://de6fa7d6.ant-design-x.pages.dev
Branch Preview URL: https://codex-feature-x-card-runtime.ant-design-x.pages.dev

View logs

@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

size-limit report 📦

Path Size
packages/x/dist/antdx.min.js 510.49 KB
packages/x-sdk/dist/x-sdk.min.js 62.47 KB
packages/x-markdown/dist/x-markdown.min.js 34.42 KB
packages/x-markdown/dist/plugins/latex.min.js 61.91 KB

@kimteayon kimteayon changed the title feat(x-card): add production surface runtime feat(x-card): add production surface runtime and demos Aug 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant