MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / codeBlock

Function codeBlock

dashboard/lcm/src/components.tsx:74–76  ·  view source on GitHub ↗
(text: any)

Source from the content-addressed store, hash-verified

72// --- shared atoms ----------------------------------------------------------
73
74function codeBlock(text: any): React.ReactElement {
75 return <pre className="hermes-lcm-md-pre"><code>{clampText(text, 4000)}</code></pre>;
76}
77
78export function toolBadge(label: any, kind?: string): React.ReactElement {
79 return <span className={"hermes-lcm-tag" + (kind ? " hermes-lcm-tag-" + kind : "")}>{label}</span>;

Callers 3

ToolOutputFunction · 0.85
ToolReadFileFunction · 0.85
ToolGenericFunction · 0.85

Calls 1

clampTextFunction · 0.90

Tested by

no test coverage detected