Skip to content

Releases: chpock/gen-commit-msg

v0.0.2

16 May 13:55
0cd2d69

Choose a tag to compare

Release v0.0.2

Changelog

Range: v0.0.1 -> v0.0.2

CI

  • ci(workflows): deploy release packages to AUR (0cd2d69)
  • ci(workflows): pin golangci-lint to local version (c86e4d0)

Chore

  • chore(dist): add AUR package templates for gen-commit-msg (8dc07fd)

Checksums (SHA256)

71a2ce8ad7565e63bbc78036f86132e4c5e0a2897f9c66e4b58c1494e059a594  gen-commit-msg_linux_amd64
5152fdfa6f3d18de8c86c67608d8fdd2ec937b04d987287756a8d3fa7e32bdd3  gen-commit-msg_linux_arm64

v0.0.1

16 May 10:53
06a7b82

Choose a tag to compare

Release v0.0.1

Changelog

Range: initial release

Features

  • feat(agent): harden commit message generator prompt (9efd4fa)
  • feat(git): collect staged-change context for prompt generation (1ac6dfa)
  • feat(server): pass OPENCODE_CONFIG_CONTENT env to opencode serve process (8f4ba2a)
  • feat(opencode): log response parts at INFO level with summary (3abb922)
  • feat(tui): show graceful shutdown progress instead of freezing on Ctrl+C (c2bf226)
  • feat(main): wire --output flag into TUI and non-interactive paths (1762679)
  • feat(main): add resolveOutputWriter helper for --output flag (93035c1)
  • feat(config): add ValidateOutputPath for early file-write check (dea9435)
  • feat(config): add --output flag and GCM_OUTPUT env var (44749ee)
  • feat(tui): colorize selected commit row with safe fallback (d5e32cb)
  • feat(tui): log selection color mode decisions (c3987be)
  • feat(tui): add conventional prefix token renderer (6e73075)
  • feat(config): auto-adjust subject-max when only subject-min is set (cfe8412)
  • feat(logging): add DEBUG subject/body logging and has_body to INFO (1e223a7)
  • feat(logging): add trace level with full OpenCode API request/response logging (1e52aa1)
  • feat(config): replace --subject-count with --subject-min/--subject-max range (afb500a)
  • feat(opencode): include HTTP status and raw response in errors, add colorized output (2c86771)
  • feat(logging): add "none" log level and make it the default (was error) (14d2258)
  • feat(opencode): use structured output with JSON schema, pass repo dir consistently (7d7368d)
  • feat(main): integrate progress view into interactive flow (cc628b6)
  • feat(tui): add progress view state with step rendering (0434534)
  • feat(tui): add step tracking types and step labels (b563e31)
  • feat(logging): add structured logging with level filtering and file output (73fd629)

Fixes

  • fix(config): preserve log level on version/help fast path (06cd608)
  • fix: treat empty opencode response as error with proper pause behavior (dce7191)
  • fix(tui): prevent screen clear before result list by reordering AllStepsDone (881bca9)
  • fix(main): check fmt.Fprintln return value in non-interactive path (c174a50)
  • fix(tui): apply ANSI 14 to all selected subjects and preserve wrap through punctuation tokens (e00b76c)
  • fix(tui): align marker style and fallback coverage (4af4651)
  • fix(tui): derive selected-row styling log field (c5d19b8)
  • fix(tui): align mode decision logs with spec contract (ce4e9b8)
  • fix(tui): limit token coloring to conventional prefix (07fedab)
  • fix(tui): align mode normalization with spec (94da660)
  • fix(tui): suppress stdout on canceled subject selection (10a519f)
  • fix(tui): preserve final progress line on Ctrl+C (d138473)
  • fix(tui): align progress step markers and colors (a10aa22)
  • fix(tui): prevent "No items." display when auto-selecting single subject (b4f8c7f)
  • fix(signal): handle Ctrl+C with graceful shutdown and correct log levels (0702859)
  • fix(tui): prevent deadlock when --log-file is used (c10af9a)
  • fix(logging): return closer from SetupFromConfig to close log file (2b03704)
  • fix(tui): render error output outside Bubble Tea to prevent line truncation (6e0e35a)
  • fix(tui): show real step status on failure instead of unconditionally skipping (ac0f578)
  • fix(main): remove duplicate error display after TUI exit (1df8f02)
  • fix(tui): show steps in error view, mark subsequent steps as skipped (6179ebe)
  • fix(tui): prevent terminal corruption on error exit (efccd92)
  • fix(config): implement --pause on-error mode and pause on all error exits (7f0bdf7)
  • fix(opencode): pass current directory when creating session (fc593e6)
  • fix(tui): set error at failure arrival, add SGR styles, 300ms delay, sub-40 error, cleanup message (01db6dc)
  • fix(main): set error on model when step fails, exit 1 on error (618e150)
  • fix(main): add deferred cleanup and restore agent.Ensure for non-TTY paths (3348421)
  • fix(tui): add spinner tick handler and AllStepsDone constructor (2578f5e)
  • fix: initialize pflag Usage function to prevent nil dereference on --help (62a27df)
  • fix: map errors to UX spec voice, fix double-cleanup and double-pause (d3636a9)

Refactoring

  • refactor(agent): replace gen-commit-msg prompt with full subagent config (821e170)
  • refactor(tui): adjust selection list colors (26dace0)
  • refactor(tui): use style-based selected marker rendering (9caa12f)
  • refactor(agent): rename prompt.md to gen-commit-msg.md (7356d91)
  • refactor(tui): simplify selection list to inline single-line subjects (e3778f8)
  • refactor(tui): remove log-path 'Details:' indicator from progress view (4d42f04)
  • refactor(opencode): replace string-based errors with structured AppError/OCError types (4966422)
  • refactor(server): split server and startup contexts (91084f5)
  • refactor(config): extract initFlags to centralize flag definitions (1f37e7f)
  • refactor(main): remove unreachable quiet single-subject code block (0dd2fea)
  • refactor(tui): export StepStatus, StepUpdateMsg for cross-package use (988f653)
  • refactor(agent): extract prompt to separate .md file via embed (568debb)

Documentation

  • docs(readme): document usage and agent customization (e8896ac)
  • docs(plans): add output-flag baseline and review log (679e09d)
  • docs: add GCM_OUTPUT to AGENTS.md env vars and CLI flags table in original spec (ee3b3d6)
  • docs(plan): add --output flag implementation plan (74217ce)
  • docs(specs): mark deep-discovery complete, skip design-interrogation (39fb1a0)
  • docs(specs): apply deep-discovery round 1 findings to --output spec (20210b5)
  • docs(design): add --output flag UX spec (2a71b02)
  • docs(specs): add --output flag product spec (713f74e)
  • docs(plan): record branch-level review reports (72506ed)
  • docs(plan): record task 6 verification gate (6bb0a9d)
  • docs(plan): finalize task 5 review trail (50102ed)
  • docs(plan): record task 4 review trail (e4af150)
  • docs(plan): record task 3 review trail (88c9d90)
  • docs(plan): record task 2 review trail (13f0fe2)
  • docs(plan): record task 1 review trail (f436edc)
  • docs(plan): add selection list colors implementation plan (7468580)
  • docs(leyline): normalize stage marker lines (807f7f3)
  • docs(leyline): record round 6 interrogation outcome (8b8723c)
  • docs(specs): update error dismissal to Enter/Ctrl+C (a5fae33)
  • docs: record deferred finding acknowledgements and review completion markers (f7ec1c3)
  • docs(plan): add progress view implementation plan (d5a7c17)
  • docs(design): archive design-interrogation round 1 artifacts (53941bd)
  • docs(design): record design-interrogation pass complete (35d3394)
  • docs(design): add progress view UX spec (6535129)
  • docs(spec): add progress view product spec (65fc8bc)
  • docs: add AGENTS.md with dev commands, architecture, and conventions (48528dd)
  • docs: add implementation plan (499818b)
  • docs: mark deep-discovery complete, skip design-interrogation (c07c6ae)
  • docs: apply deep-discovery round 4 final revisions (de70d47)
  • docs: apply deep-discovery round 3 revisions (9c62e45)
  • docs: apply deep-discovery round 2 revisions (5166f75)
  • docs: add gen-commit-msg UX spec (d52e184)
  • docs: add gen-commit-msg product spec (a3320f7)

Tests

  • test(tui): add render benchmark for performance budget (b582b1a)
  • test(tui): verify arrow-key selection movement (b13ea28)
  • test(tui): stabilize selected-row ANSI assertions (bae7462)
  • test(tui): codify selection color mode resolution (1d6ad7d)
  • test(opencode): add integration tests with mock SDK and fixture-based responses (882d587)

CI

  • ci(workflows): add ci and tagged release automation (06a7b82)

Chore

  • chore(plan): check off completed task steps (2f6a2f7)
  • chore(docs): check off plan tasks and record review completion (5b4c258)
  • chore(docs): fill commit SHA in review log (82cd199)
  • chore(make): add default help target and VERBOSE=1 for tests (8281d4e)
  • chore(build): add lint to make all target, document post-change check workflow (45d3ee6)
  • chore: add Makefile with build/test/vet/lint targets (0c476a2)
  • chore: add .worktrees/ to gitignore (d0c54ed)

Other

  • review: address code and design review findings (c90bc91)
  • ux(cli): verify --output flag UX alignment (b4463d7)
  • style(lint): fix all errcheck and staticcheck violations (db892ef)
  • docs(spec,design): apply design-interrogation round 1 revisions (54ba468)
  • docs(spec,design): apply deep-discovery round 1 revisions (f02c775)
  • Task 9: UX verification - all surfaces (b442e1c)
  • Task 8: fix exit codes and implement --quiet mode (3ae7ab3)
  • Task 8: fix resource leaks on error paths and pause keypress wait (7cbfd4b)
  • Task 8: tidy go.mod (acfaa66)
  • Task 8: main - entry point and wiring (45a3921)
  • Task 7: fix delegate construction and height clamp (b32ddfb)
  • Task 7: fix TUI API for Task 8, UX compliance, and tests (78c9b20)
  • Task 7: tidy go.mod after adding bubbletea deps (6deab63)
  • Task 7: tui - bubbletea model with spinner and list (ba64038)
  • Task 6: tidy go.mod after adding opencode SDK dep (9bace7e)
  • Task 6: opencode - SDK client for session and prompt (c1fd823)
  • Task 5: fix agentsDir path, wrap WriteFile error, improve tests (1a949d2)
  • Task 5: agent - create/verify agent .md file (a0c7533)
  • Task 4: fix checkListen, capture server output, health check status, add parseListenURL tests (846ae43)
  • Task 4: server - start/stop opencode serve (8cb7f68)
  • Task 3: add tests for HasStagedFiles and IsRepoOutside (455e4d3)
  • Task 3: git - repo and staged file check (6535f2e)
  • Task 2: fix silent env parse errors and add early-return test (2dc3ae9)
  • Task 2: tidy go.mod after adding pflag dep (8ba88db)
  • Task 2: config - CLI flags and env var parsing (d74be72)
  • Task 1: init Go module (920b6ca)
  • Initial commit (be87890)

Checksums (SHA256)

597afd9ce855fd35a6483a239bd36ca6bc577c7561975e8b7708c21701c29bad  gen-commit-msg_linux_amd64
9a9a50324b497c5a58a96013ba86b2973d72f298306b2d18fb165abc79289996  gen-commit-msg_linux_arm64