[PR #8599] fix: guard empty command templates #12806

Open
opened 2026-02-16 18:17:42 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/8599

State: open
Merged: No


Issue

Summary

  • reject command templates that resolve to empty prompts to avoid blank message cards
  • surface slash command failures with a toast in the TUI

Motivation

  • empty templates currently yield a blank/black card; failing early makes the mistake visible

Validation

  • It has been verified
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/8599 **State:** open **Merged:** No --- ## Issue - Fixes #8445 ## Summary - reject command templates that resolve to empty prompts to avoid blank message cards - surface slash command failures with a toast in the TUI ## Motivation - empty templates currently yield a blank/black card; failing early makes the mistake visible ## Validation - It has been verified
yindo added the pull-request label 2026-02-16 18:17:42 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#12806