gh agent-task now works on ghe.com tenancies
gh agent-task commands previously failed with 401 Unauthorized for users on ghe.com tenancy hosts because the Copilot API URL was hardcoded. The URL is now resolved dynamically per host, so gh agent-task works correctly regardless of your GitHub hosting environment.
Experimental new prompter
A new TUI-based prompter powered by charmbracelet/huh is available behind the GH_EXPERIMENTAL_PROMPTER environment variable. This is an early preview — try it out and share feedback!
export GH_EXPERIMENTAL_PROMPTER=1
gh issue create and gh issue transfer no longer require extra token scopes
gh issue create and gh issue transfer previously fetched repository fields they didn't need, which could require additional token scopes. These commands now fetch only the minimal fields necessary for issue operations.
What's Changed
✨ Features
gh pr create,gh issue create,gh issue edit: search-based assignee selection and login-based mutation on github.com by @BagToad in #13009- Add experimental huh-only prompter gated by
GH_EXPERIMENTAL_PROMPTERby @BagToad in #12859
🐛 Fixes
- fix(agent-task): resolve Copilot API URL dynamically for ghe.com tenancies by @BagToad in #12956
- fix(issue): avoid fetching unnecessary fields in
issue createandissue transferby @babakks in #12884 - fix: resolve data race in codespaces port forwarder by @Lslightly in #13033
📚 Docs & Chores
- Record agentic invocations in User-Agent header by @williammartin in #13023
- docs: clarify that
gh pr edit --add-reviewercan re-request reviews by @joshjohanning in #13021 - Add AGENTS.md by @williammartin in #13024
- Fix typo: remove extra space in README.md link by @realMelTuc in #12725
- Align triage.md with current triage process by @tidy-dev in #13030
- Remove auto-labels from issue templates by @tidy-dev in #12972
- Consolidate actor-mode signals into
ApiActorsSupportedby @BagToad in #13025 - Fix acceptance test failures: git identity, headRepository JSON, obsolete traversal test by @BagToad in #13037
Dependencies
- chore(deps): bump google.golang.org/grpc from 1.79.2 to 1.79.3 by @dependabot[bot] in #12963
- chore(deps): bump github.com/google/go-containerregistry from 0.20.7 to 0.21.3 by @dependabot[bot] in #12962
- chore(deps): bump github.com/zalando/go-keyring from 0.2.6 to 0.2.8 by @dependabot[bot] in #13031
- chore(deps): bump microsoft/setup-msbuild from 2.0.0 to 3.0.0 by @dependabot[bot] in #13005
- chore(deps): bump mislav/bump-homebrew-formula-action from 3.6 to 4.1 by @dependabot[bot] in #13004
- chore(deps): bump azure/login from 2.3.0 to 3.0.0 by @dependabot[bot] in #12951
New Contributors
- @joshjohanning made their first contribution in #13021
- @realMelTuc made their first contribution in #12725
- @Lslightly made their first contribution in #13033
Full Changelog: v2.88.1...v2.89.0