@@ -35,29 +35,61 @@ if (!Script.preview) { |
35 | 35 | body: { |
36 | 36 | model: { |
37 | 37 | providerID: "opencode", |
38 | | - modelID: "claude-haiku-4-5", |
| 38 | + modelID: "gemini-3-flash", |
39 | 39 | }, |
40 | 40 | parts: [ |
41 | 41 | { |
42 | 42 | type: "text", |
43 | 43 | text: ` |
44 | | - Analyze these commits and generate a changelog of all notable user facing changes. |
45 | | -
|
46 | | - Commits between ${previous} and HEAD: |
47 | | - ${commits} |
48 | | -
|
49 | | - - Do NOT make general statements about "improvements", be very specific about what was changed. |
50 | | - - Do NOT include any information about code changes if they do not affect the user facing changes. |
51 | | - - For commits that are already well-written and descriptive, avoid rewording them. Simply capitalize the first letter, fix any misspellings, and ensure proper English grammar. |
52 | | - - DO NOT read any other commits than the ones listed above (THIS IS IMPORTANT TO AVOID DUPLICATING THINGS IN OUR CHANGELOG) |
53 | | - - If a commit was made and then reverted do not include it in the changelog. If the commits only include a revert but not the original commit, then include the revert in the changelog. |
54 | | -
|
55 | | - IMPORTANT: ONLY return a bulleted list of changes, do not include any other information. Do not include a preamble like "Based on my analysis..." |
56 | | -
|
57 | | - <example> |
58 | | - - Added ability to @ mention agents |
59 | | - - Fixed a bug where the TUI would render improperly on some terminals |
60 | | - </example> |
| 44 | + Analyze these commits and generate a changelog of all notable user facing changes, grouped by area. |
| 45 | +
|
| 46 | + Each commit below includes: |
| 47 | + - [author: username] showing the GitHub username of the commit author |
| 48 | + - [areas: ...] showing which areas of the codebase were modified |
| 49 | +
|
| 50 | + Commits between ${previous} and HEAD: |
| 51 | + ${commits} |
| 52 | +
|
| 53 | + Group the changes into these categories based on the [areas: ...] tags (omit any category with no changes): |
| 54 | + - **TUI**: Changes to "opencode" area (the terminal/CLI interface) |
| 55 | + - **Desktop**: Changes to "desktop" or "tauri" areas (the desktop application) |
| 56 | + - **SDK**: Changes to "sdk" or "plugin" areas (the SDK and plugin system) |
| 57 | + - **Extensions**: Changes to "extensions/zed", "extensions/vscode", or "github" areas (editor extensions and GitHub Action) |
| 58 | + - **Other**: Any user-facing changes that don't fit the above categories |
| 59 | +
|
| 60 | + Excluded areas (omit these entirely unless they contain user-facing changes like refactors that may affect behavior): |
| 61 | + - "nix", "infra", "script" - CI/build infrastructure |
| 62 | + - "ui", "docs", "web", "console", "enterprise", "function", "util", "identity", "slack" - internal packages |
| 63 | +
|
| 64 | + Rules: |
| 65 | + - Use the [areas: ...] tags to determine the correct category. If a commit touches multiple areas, put it in the most relevant user-facing category. |
| 66 | + - ONLY include commits that have user-facing impact. Omit purely internal changes (CI, build scripts, internal tooling). |
| 67 | + - However, DO include refactors that touch user-facing code - refactors can introduce bugs or change behavior. |
| 68 | + - Do NOT make general statements about "improvements", be very specific about what was changed. |
| 69 | + - For commits that are already well-written and descriptive, avoid rewording them. Simply capitalize the first letter, fix any misspellings, and ensure proper English grammar. |
| 70 | + - DO NOT read any other commits than the ones listed above (THIS IS IMPORTANT TO AVOID DUPLICATING THINGS IN OUR CHANGELOG). |
| 71 | + - If a commit was made and then reverted do not include it in the changelog. If the commits only include a revert but not the original commit, then include the revert in the changelog. |
| 72 | + - Omit categories that have no changes. |
| 73 | + - For community contributors: if the [author: username] is NOT in the team list, add (@username) at the end of the changelog entry. This is REQUIRED for all non-team contributors. |
| 74 | + - The team members are: ${team.join(", ")}. Do NOT add @ mentions for team members. |
| 75 | +
|
| 76 | + IMPORTANT: ONLY return the grouped changelog, do not include any other information. Do not include a preamble like "Based on my analysis..." or "Here is the changelog..." |
| 77 | +
|
| 78 | + <example> |
| 79 | + ## TUI |
| 80 | + - Added experimental support for the Ty language server (@OpeOginni) |
| 81 | + - Added /fork slash command for keyboard-friendly session forking (@ariane-emory) |
| 82 | + - Increased retry attempts for failed requests |
| 83 | + - Fixed model validation before executing slash commands (@devxoul) |
| 84 | +
|
| 85 | + ## Desktop |
| 86 | + - Added shell mode support |
| 87 | + - Fixed prompt history navigation and optimistic prompt duplication |
| 88 | + - Disabled pinch-to-zoom on Linux (@Brendonovich) |
| 89 | +
|
| 90 | + ## Extensions |
| 91 | + - Added OIDC_BASE_URL support for custom GitHub App installations (@elithrar) |
| 92 | + </example> |
61 | 93 | `, |
62 | 94 | }, |
63 | 95 | ], |
|