| 1 | name: Bug report |
| 2 | description: Something is broken or behaves wrong. 报告问题。 |
| 3 | labels: ["bug"] |
| 4 | body: |
| 5 | - type: markdown |
| 6 | attributes: |
| 7 | value: | |
| 8 | Thanks for reporting. English or 中文 are both fine. |
| 9 | |
| 10 | - Security problem? Do not post it here. Use a [private advisory](https://github.com/codewhale-hq/CodeWhale/security/advisories/new). |
| 11 | - Already reported? Add a 👍 to that issue instead of opening a new one. |
| 12 | - Remove API keys and tokens from anything you paste. |
| 13 | |
| 14 | - type: checkboxes |
| 15 | id: searched |
| 16 | attributes: |
| 17 | label: Before you start |
| 18 | options: |
| 19 | - label: I searched existing issues and this is not a duplicate. 我已搜索过现有 issue。 |
| 20 | required: true |
| 21 | |
| 22 | - type: textarea |
| 23 | id: what-happened |
| 24 | attributes: |
| 25 | label: What happened? 发生了什么? |
| 26 | description: What you saw, and what you expected instead. Paste error text as text, not only a screenshot. |
| 27 | validations: |
| 28 | required: true |
| 29 | |
| 30 | - type: textarea |
| 31 | id: steps |
| 32 | attributes: |
| 33 | label: Steps to reproduce 复现步骤 |
| 34 | description: Exact commands, key presses, or prompts. Shorter is better. |
| 35 | placeholder: | |
| 36 | 1. Run `codewhale` in a git repository |
| 37 | 2. Type ... |
| 38 | 3. See ... |
| 39 | validations: |
| 40 | required: true |
| 41 | |
| 42 | - type: input |
| 43 | id: version |
| 44 | attributes: |
| 45 | label: Codewhale version 版本 |
| 46 | description: Output of `codewhale --version`. Desktop app — the version in About. |
| 47 | placeholder: codewhale 0.10.1 |
| 48 | validations: |
| 49 | required: true |
| 50 | |
| 51 | - type: dropdown |
| 52 | id: surface |
| 53 | attributes: |
| 54 | label: Where did it happen? 在哪里出现? |
| 55 | multiple: true |
| 56 | options: |
| 57 | - TUI (terminal interface) |
| 58 | - CLI command (codewhale exec, codewhale doctor, ...) |
| 59 | - Desktop app |
| 60 | - Web (codewhale web or app.codewhale.net) |
| 61 | - Plugins / extension host |
| 62 | - MCP |
| 63 | - Other / not sure |
| 64 | validations: |
| 65 | required: true |
| 66 | |
| 67 | - type: dropdown |
| 68 | id: os |
| 69 | attributes: |
| 70 | label: Operating system 操作系统 |
| 71 | options: |
| 72 | - macOS |
| 73 | - Linux |
| 74 | - Windows |
| 75 | - WSL |
| 76 | - Android (Termux) |
| 77 | - HarmonyOS |
| 78 | - Other |
| 79 | validations: |
| 80 | required: true |
| 81 | |
| 82 | - type: dropdown |
| 83 | id: channel |
| 84 | attributes: |
| 85 | label: How did you get Codewhale? 获取方式 |
| 86 | options: |
| 87 | - Official script (codewhale.net/install.sh) |
| 88 | - GitHub Releases download |
| 89 | - Desktop app download |
| 90 | - npm |
| 91 | - Homebrew |
| 92 | - Cargo (crates.io) |
| 93 | - Built from a git checkout |
| 94 | - Scoop / Nix / Docker / other package |
| 95 | - Not sure |
| 96 | validations: |
| 97 | required: true |
| 98 | |
| 99 | - type: input |
| 100 | id: model |
| 101 | attributes: |
| 102 | label: Provider and model 提供商和模型 |
| 103 | description: As shown by `/model`. Leave empty if it does not matter. |
| 104 | placeholder: "provider / model id" |
| 105 | |
| 106 | - type: input |
| 107 | id: terminal |
| 108 | attributes: |
| 109 | label: Terminal and shell 终端 |
| 110 | description: Only for terminal problems. Mention tmux, zellij, or screen if you use one. |
| 111 | placeholder: iTerm2 + zsh, Windows Terminal + PowerShell, VS Code terminal + bash |
| 112 | |
| 113 | - type: textarea |
| 114 | id: doctor |
| 115 | attributes: |
| 116 | label: codewhale doctor (optional) |
| 117 | description: Run `codewhale doctor` and paste the relevant lines. Check it for secrets first. |
| 118 | render: text |
| 119 | |
| 120 | - type: textarea |
| 121 | id: extra |
| 122 | attributes: |
| 123 | label: Logs, screenshots, anything else (optional) |
| 124 | description: Logs, a screenshot or recording, config snippets, or a guess at the cause. |
| 125 |