Update prompt

This commit is contained in:
Daniel Edrisian
2025-08-26 14:16:14 -07:00
parent 4103363052
commit 0e325ff358

View File

@@ -289,7 +289,7 @@ fi
command -v codex >/dev/null 2>&1 || { echo "Error: codex CLI is required for generation. Use --dump-only to skip." >&2; exit 1; }
DUMP_PATH="$(abspath "$DUMP_FILE")"
PROMPT="`cat ${DUMP_PATH}`\n\n---\n\nPlease generate a summarized release note based on the list of PRs above. Then, write a file called $GEN_FILE with your suggested release notes. It should follow this structure (+ the style/tone/brevity in this example):\n\n\"- Highlights:\n - New commands and controls: support /mcp in TUI (#2430) and a slash command /approvals to control approvals (#2474).\n - Reasoning controls: change reasoning effort and model at runtime (#2435) /model; add “minimal” effort for GPT5 models (#2326).\n - Auth improvements: show login options when not signed in with ChatGPT (#2440) and autorefresh ChatGPT auth token (#2484).\n - UI/UX polish: Ghostty Ctrlb/Ctrlf fallback (#2427), Ctrl+H as backspace (#2412), cursor position tweak after tab completion (#2442), color/accessibility updates (#2401, #2421).\n - Distribution/infra: zip archived binaries added to releases (#2438) and DotSlash entry for Windows x86_64 (#2361); upgraded to Rust 1.89 (#2465, #2467).\n- Full list of merged PRs:\n\n - #2352 tui: skip identical consecutive entries in local composer history\n - #2355 fix: introduce codex-protocol crate\n...\"\n\nMake sure you limit the highlights to, at most, 5 bullet points."
PROMPT="`cat ${DUMP_PATH}`\n\n---\n\nPlease generate a summarized release note based on the list of PRs above. Then, write a file called $GEN_FILE with your suggested release notes. It should follow this structure (+ the style/tone/brevity in this example):\n\n\"## Highlights:\n\n### New Features\n- Queued messages (#2637)\n- Copy Paste / Drag & Drop image files (#2567)\n- Fix windows powershell paste (#2544)\n- Add web_search tool (#2371)\n\n### TUI\n- Hide CoT by default; show headers in status indicator (#2316)\n- Add transcript mode with scrolling ability (#2525)\n- Show diff output in pager (+ with hunk headers) (#2568)\n- Simplify command approval UI (#2708)\n- Unify Esc/Ctrl+C interrupt handling (#2661)\n\n### Tools and execution\n- Add support for long-running shell commands `exec_command`/`write_stdin` (#2574)\n- Improve apply_patch reliability (#2646)\n- Cap retry counts (#2701)\n- Sort MCP tools deterministically (#2611)\n\n## Full list of merged PRs:\n\n - #2708 [feat] Simplfy command approval UI\n - #2706 [chore] tweak...\""
header "Calling codex to generate $GEN_FILE"
if (( QUIET )); then