Skip to content

v0.15.0 Release Notes

Release Date: 2026-08-02

Highlights

  • New Codex SessionStart hookassistantkit codex hooks generated-with injects Generated-with commit-trailer guidance with the active model
  • publish/github.Client migrated off go-github onto gogithub's version-isolated clientv1.Client; github.com/google/go-github is now only a transitive dependency

What's New

Codex SessionStart Hook

AssistantKit now ships a Codex hook command that reads Codex SessionStart hook JSON from stdin and emits guidance instructing Codex to include a Generated-with: OpenAI Codex <model> trailer using the active model from the hook input:

assistantkit codex hooks generated-with

Wire it into ~/.codex/config.toml:

commit_attribution = "Co-authored-by: OpenAI Codex <codex@openai.com>"

[[hooks.SessionStart]]
matcher = "startup|resume|clear|compact"

[[hooks.SessionStart.hooks]]
type = "command"
command = "/path/to/assistantkit codex hooks generated-with"
timeout = 10
statusMessage = "Loading Codex commit attribution context"

The underlying hooks/codex package is also usable as a library:

import codexhooks "github.com/plexusone/assistantkit/hooks/codex"

trailer := codexhooks.GeneratedWithTrailer("OpenAI Codex", "gpt-5.1-codex")
// "Generated-with: OpenAI Codex gpt-5.1-codex"

See OpenAI Codex for the full setup guide.

publish/github.Client on gogithub/clientv1.Client

publish/github.Client now wraps gogithub's version-isolated clientv1.Client instead of a raw *github.Client. github.com/google/go-github is now only a transitive dependency, pulled in indirectly by gogithub.

This is a breaking change for direct callers of publish/github:

  • Client.CreatePR() now returns *gogithub.PullRequest instead of *github.PullRequest
  • Field access on the returned PR uses plain struct fields (pr.HTMLURL, pr.Number) instead of go-github's getter methods (pr.GetHTMLURL(), pr.GetNumber())

Full Changelog

Added

  • hooks/codex package with RunGeneratedWith(), GeneratedWithTrailer(), GeneratedWithContext(), NewGeneratedWithOutput()
  • assistantkit codex hooks generated-with CLI command

Changed

  • publish/github.Client now wraps gogithub/clientv1.Client instead of a raw *github.Client; CreatePR() returns *gogithub.PullRequest instead of *github.PullRequest

Documentation

  • Documented the Codex SessionStart hook setup in docs/assistants/codex.md
  • Updated README shields

Dependencies

  • Upgraded github.com/grokify/gogithub from v0.13.0 to v0.17.0 (via an intermediate v0.14.0 dependabot bump)
  • Upgraded github.com/pelletier/go-toml/v2 from v2.4.2 to v2.4.3
  • Updated actions/setup-python from 6 to 7