Files
msd-core/.changeset/proud-eagles-chatter.md
Tom Boucher 5628edddda fix(#2991): route /gsd command output through Pi's display shape (#3097)
* fix(#2991): route /gsd command output through Pi's display shape

The registerCommand('gsd') handler returned a bare string, which Pi's
ExtensionAPI does not display. Changed all return paths to Pi's structured
{ content: [{ type: 'text', text }] } shape, matching the gsd_invoke tool's
proven output contract. Updated 2 reachability tests that asserted the old
bare-string return shape.

* chore(#2991): backfill changeset PR number 3097

---------

Co-authored-by: sim <sim@local>
2026-08-05 20:48:46 -04:00

375 B

type, pr
type pr
Fixed 3097

/gsd commands in Pi now display their output — the command handler returned output as a bare string, which Pi's ExtensionAPI silently dropped. It now returns Pi's structured { content: [{ type: 'text', text }] } display shape (matching the gsd_invoke tool's proven contract), so success output and error messages are visible. (#2991)