markdown-message-card-render

command
v0.0.62 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 13, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

markdown-message-card-render: reproduce / verify markdown rendering on thinking progress cards and assistant response message cards.

Modes:

(default) repro  — expect plain-text markdown markers (not rendered).
                   Exit 1 + REPRO: lines when symptom present (loop RED).
--expect=healthy — expect rendered markdown that "looks good"
                   (strong/pre/code present; no raw ** / ``` in assistant).
                   Exit 0 only when green (VERIFY gate after fix).

Optional:

-url=http://127.0.0.1:8821 -session=/sessions/web_xxx
  skip local seed/web start and probe an already-running server.

Usage (from repo root):

go run ./script/debug/markdown-message-card-render
go run ./script/debug/markdown-message-card-render --expect=healthy
go run ./script/debug/markdown-message-card-render -url=http://127.0.0.1:8821 -session=/sessions/web_da6177509c41c080

Requires: go, bun (when not using -url), playwright-debug on PATH.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL