• Adeniji Adekunle James's avatar
    fix: show dyad-command buttons within assistant responses instead of hiding tags (#1421) (#1432) · d83f5fec
    Adeniji Adekunle James 提交于
    ### Problem
    Users were confused because `<dyad-command>` tags were being hidden,
    making it unclear what actions were available.
    
    ### Solution
    Render dyad-command tags as visible buttons, so users can see and
    interact with available commands (e.g., "restart").
    
    Closes #1421
        
    <!-- This is an auto-generated description by cubic. -->
    ---
    
    ## Summary by cubic
    Show dyad-command tags as visible buttons in assistant responses so
    users can see and trigger actions (e.g., restart). Closes #1421.
    
    - **Bug Fixes**
      - Render dyad-command tags to buttons in DyadMarkdownParser.
      - Export mapActionToButton from ChatInput for reuse.
      - Support id/action/path attributes; safely no-op if parsing fails.
    
    <!-- End of auto-generated description by cubic. -->
    d83f5fec
ChatInput.tsx 27.9 KB