markdown-message-card-render

command
v0.0.234 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2026 License: MIT Imports: 14 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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