Files
dsh-context/tests
Bowen Liang d1e0fbd507 browser: parse tool schema into a parameter table above a collapsed raw JSON
Each tool row in the Context browser now reads as three stacked titled
sections:

  * Description  - the prose, in its own card
  * Parameters   - one row per JSON-Schema property (name, type, required
                   chip, description); type labels cover the common
                   vocabulary (array<inner>, object{N}, enum, anyOf/oneOf
                   unions)
  * Raw JSON     - collapsed behind a slim toggle; the <pre> only mounts
                   when opened, so the default body stays compact and the
                   JSON.stringify pass runs on demand instead of every
                   render

The two top sections share one card chrome (bordered block with a small
title), so a reader can scan them as siblings rather than mixed prose and
UI.
2026-08-20 01:22:33 +08:00
..