Pass 3 - add commands, remove run, formatting, mobile view

This commit is contained in:
Owen
2026-08-18 14:59:10 -04:00
parent c356af3eda
commit a74e1e765a
4 changed files with 27 additions and 51 deletions
@@ -2,19 +2,21 @@
import CopyTextBox from "@app/components/CopyTextBox";
import type { AiConfigBlock } from "@app/lib/aiClientConfig";
import { cn } from "@app/lib/cn";
export function AiConfigCodeBlock({ block }: { block: AiConfigBlock }) {
return (
<div className="space-y-1.5">
<div className="min-w-0 space-y-1.5">
<p className="font-mono text-xs text-muted-foreground">
{block.label}
</p>
<div
className={
className={cn(
"min-w-0",
block.kind === "steps"
? "[&_pre]:text-sm"
: "[&_pre]:text-xs [&_code]:font-mono"
}
)}
>
<CopyTextBox
text={block.displayText}