Files
openclaw/ui/package.json
zhengzuo0-ai 1fbb4e4e6a ui: highlight WebChat code blocks (#83569)
Summary:
- The PR adds highlight.js-backed WebChat code-block highlighting, scoped token CSS, regression tests, a type shim, and a direct UI dependency.
- Reproducibility: not applicable. as a bug reproduction; this is a feature addition. The feature gap is source-evident because current main renders code blocks as escaped plaintext without hljs token markup.

Automerge notes:
- No ClawSweeper repair was needed after automerge opt-in.

Validation:
- ClawSweeper review passed for head 7bb95c47ed.
- Required merge gates passed before the squash merge.

Prepared head SHA: 7bb95c47ed
Review: https://github.com/openclaw/openclaw/pull/83569#issuecomment-4476990135

Co-authored-by: zhengzuo0-ai <zheng.zuo0@gmail.com>
Co-authored-by: clawsweeper[bot] <274271284+clawsweeper[bot]@users.noreply.github.com>
Approved-by: takhoffman
Co-authored-by: takhoffman <781889+takhoffman@users.noreply.github.com>
2026-05-18 16:53:24 +00:00

31 lines
711 B
JSON

{
"name": "openclaw-control-ui",
"private": true,
"type": "module",
"scripts": {
"build": "vite build",
"dev": "vite",
"preview": "vite preview",
"test": "vitest run --config vitest.config.ts"
},
"dependencies": {
"@create-markdown/preview": "2.0.3",
"@noble/ed25519": "3.1.0",
"dompurify": "3.4.3",
"highlight.js": "10.7.3",
"json5": "2.2.3",
"lit": "3.3.3",
"markdown-it": "14.1.1",
"markdown-it-task-lists": "2.1.1",
"marked": "18.0.3"
},
"devDependencies": {
"@types/markdown-it": "14.1.2",
"@vitest/browser-playwright": "4.1.6",
"jsdom": "29.1.1",
"playwright": "1.60.0",
"vite": "8.0.13",
"vitest": "4.1.6"
}
}