feat(bug-report): print bug report URL in terminal instead of opening browser (#510) (#528)

Solves #510 
This PR changes the `/bug` command to print the URL into the terminal
(so it works in headless sessions) instead of trying to open a browser.

---------

Co-authored-by: Thibault Sottiaux <tibo@openai.com>
This commit is contained in:
nvp159
2025-04-25 05:30:14 +05:30
committed by GitHub
parent 36a5a02d5c
commit 5e40d9d221
3 changed files with 9 additions and 16 deletions

View File

@@ -23,7 +23,10 @@ export const SLASH_COMMANDS: Array<SlashCommand> = [
{ command: "/help", description: "Show list of commands" },
{ command: "/model", description: "Open model selection panel" },
{ command: "/approval", description: "Open approval mode selection panel" },
{ command: "/bug", description: "Generate a prefilled GitHub bug report" },
{
command: "/bug",
description: "Generate a prefilled GitHub issue URL with session log",
},
{
command: "/diff",
description: