deepseek-harness/packages/client/web/src
Tianyi Cui bb3dc50a4b feat(web): shiki syntax highlighting for code surfaces
One highlighter for the client: a synchronous fine-grained shiki core
(JS regex engine, no WASM) in ui-primitives with an explicit grammar
allowlist (typescript, shellscript, json — aliases resolve, unknown
languages take a geometry-identical plain arm). The shared CodeBlock
component owns both arms; markdown fences, the run_code expanded
program body (typescript), and the details panel Input (json) all
route through it. Token colors live in a new ui-theme shiki.css sheet
as --shiki-* custom properties (light/dark blocks), wired through the
shell's base.css chain — tokens-only styling holds; shiki's generated
span tree is the sanctioned innerHTML path (static output, no user
HTML). jsdom specs pin token spans, aliases, both fallbacks, and the
fence route; the built-bundle snapshot asserts the highlighted program
under the code row.
2026-07-26 09:52:37 +08:00
..
app-shell.ts Trim redundant source comments 2026-07-25 13:02:37 +08:00
app.tsx refactor(gui): rebuild the client loading kernel as dsh-client-modules with a two-phase boot 2026-07-24 02:09:42 +08:00
AppRoot.module.css feat(gui): step1 skeleton — dsc web serves built web UI over booted harness host 2026-07-22 16:24:44 +08:00
AppRoot.tsx refactor(gui): rebuild the client loading kernel as dsh-client-modules with a two-phase boot 2026-07-24 02:09:42 +08:00
base.css feat(web): shiki syntax highlighting for code surfaces 2026-07-26 09:52:37 +08:00
boot.tsx refactor(web): collapse the shell boot into the AppWebEntry class 2026-07-25 10:23:40 +08:00
css-modules.d.ts feat(gui): step1 skeleton — dsc web serves built web UI over booted harness host 2026-07-22 16:24:44 +08:00
DocumentTitle.tsx feat(web): render durable session titles 2026-07-22 23:43:53 +08:00
index.ts refactor(web): collapse the shell boot into the AppWebEntry class 2026-07-25 10:23:40 +08:00
invariant.ts feat(gui): step1 skeleton — dsc web serves built web UI over booted harness host 2026-07-22 16:24:44 +08:00
loader-status.ts refactor(gui): rebuild the client loading kernel as dsh-client-modules with a two-phase boot 2026-07-24 02:09:42 +08:00
platform.ts Trim redundant source comments 2026-07-25 13:02:37 +08:00
seed.ts refactor(gui): rebuild the client loading kernel as dsh-client-modules with a two-phase boot 2026-07-24 02:09:42 +08:00