fix: keep queued paste payloads atomic (#74797)

Co-authored-by: eloklam <22125285+eloklam@users.noreply.github.com>
Co-authored-by: Orca <help@stably.ai>
This commit is contained in:
Yi Lok Enoch Lam
2026-07-31 18:04:59 +02:00
committed by GitHub
parent 126ff7071b
commit 5835201de1
9 changed files with 198 additions and 55 deletions
+1
View File
@@ -9986,6 +9986,7 @@ class HermesCLI(CLIAgentSetupMixin, CLICommandsMixin, CLIBillingMixin):
# Extract prompt after "/queue " or "/q "
parts = cmd_original.split(None, 1)
payload = parts[1].strip() if len(parts) > 1 else ""
payload = self._expand_paste_references(payload)
if not payload:
_cprint(" Usage: /queue <prompt>")
else: