# GitHub CLI changelog (/en/docs/gthb/changelog)

Notable changes to `@wirecat/github-cli`. One section per version, newest first.

## 0.1.0 — 01.12.2026 [#010--01122026]

### Added [#added]

- The first release, started from `@wirecat/cli-template` 0.41.0. Three command names: `gthb`, `wcat-gthb` and
  `wcat-github`.
- `session start --owner <name>` takes a fine-grained GitHub token, read-only, and checks it with `GET /user`; it shows
  how to make one first. The account is the host, the user id and the owner (the user or organization whose
  repositories the token reads). `GTHB_TOKEN` takes `GTHB_TOKEN_OWNER` beside it. A never-signed-in profile answers
  `not_found` with reason `profile.unknown`.
- `repos add|list|show|remove` chooses the repositories a profile copies; one profile reads one owner. `repos show`
  answers from this computer: the description, topics, default branch and the README's path, ref and sha. `repos remove` takes a repository out of
  scope: its issues stay in the copy, leave lists and search, and come back when `repos add` chooses it again.
- `sync`, `issues list|show|search`, `milestones list` and the lists of users, states and labels, from cli-core's
  tracker commands: issues, comments, labels, milestones and assignees of the chosen repositories, with four states per
  repository (open, closed as completed, as not planned, as a duplicate). Each repository has its own cursor and
  deletion pass, so a repository GitHub refuses marks nothing deleted and is named in `scopes.refused`. A renamed or
  moved repository is a gap named as moved, with `repos add` and the new name as the fix; the others still sync.
- Each chosen repository's README is a document: `sync` copies it beside the issues, asking GitHub with the last ETag
  so an unchanged README costs no rate limit, and `documents`, `search`, `catalog`, notes, tags, memories and facts
  read it. `status` shows the README sync's state.
- `sync` copies the code of the chosen repositories into the store's code domain after the issues and READMEs: pull
  requests with their files, commits, reviews, line and conversation comments, branches and tags, commits walked from
  each head (file names and line counts, never contents or diffs), and releases. The first sync walks commits of the
  last 30 days and later syncs extend that in 30-day steps to 90 days; pull requests are read in full from the first
  sync. The report is under `documents.code`.
- `issues context` packs one issue from the copy: the card with `issues show`'s field names, the newest comments,
  milestone, labels and assignee, and what this version does not copy. It finds an issue by id, key or `tracker:` ref,
  also a ref another profile printed.
- The `api` group from GitHub's REST description: read operations only, without those that return file contents, archives, gists, logs, webhooks, Actions variables,
  code search, the README and LICENSE, check-run annotations, CODEOWNERS errors, Copilot Space resources or an
  organisation's private registries. Operations whose path parameter is named `version` take it as `--version-name`.
- **`api` commands come in GitHub's own groups**, named by GitHub's operation ids: `gthb <profile> api issues
  list-for-repo`, `api pulls get`, `api repos list-releases`. `api list` prints each as the words to type.
- **GitHub's secondary rate limit is waited out**, up to two minutes: a 403 or 429 answer with `retry-after` is sent
  again after the wait, in `sync` and in the `api` group.
- **Errors name their cause**: a moved or renamed repository answers with reason `repo.moved`, a repository GitHub
  blocks (410, 451) with `repo.unavailable`, a spent rate limit with `provider.rate-limited`, and a repository list
  file that cannot be read with `config.unreadable`.
- **WireCat Desktop starts gthb's MCP server on port 8750.**
- **The sign-in screen names what `sync` keeps of commits**: the names and e-mail addresses of authors and committers,
  and the paths of the files each commit changed.
- `issues comments list` lists an issue's comments from the local copy, newest change first.

### Fixed [#fixed]

- **Times show in your own time zone.** With cli-core 3.9.0, text output prints times in the computer's zone with the
  offset (`2026-06-10 14:33 +02:00`) and days as `2026-06-10`. `--json` keeps the UTC fields and adds a `<field>_local`
  beside each one, plus `meta.timezone`.
- **Shorter help and skill references.** cli-core 3.9.0 gives a shorter first `--help` screen. cli-base 3.2.1 splits
  the large `api` skill references into numbered parts (`api-repos-1.md` and on), so an agent loads a smaller file.
- **The skill's description sends every read and search to `wcat search all`**, even when the question names GitHub;
  `gthb`'s own search and reads are the fallback when wcat is not installed. In a test, an agent picked a skill by
  its description and never tried wcat.
- **A shorter agent skill.** `skill show` prints the core, the typical flow and the common mistakes. It says to
  search with `wcat search all` first and to use `gthb`'s own search when wcat is not installed. It no longer says
  that `issues list` fields take only ids: they take a name too, as `issues list --help` says.
- **`gthb --help` lists what you can do** with gthb, in seven lines.
- **gthb reads and writes the store the other WireCat tools now use.** cli-core 3.12.0 moves the store to version 89
  (notifications), and a CLI on an older cli-core cannot read a store a newer one has migrated. A sync started from
  WireCat Desktop prints progress lines that Desktop shows. Built on @wirecat/cli-core 3.12.0 and @wirecat/cli-base
  3.2.5 (were 3.9.0 and 3.2.1).

### Security [#security]

- gthb takes only a fine-grained personal access token (`github_pat_`): `session start` and every request refuse a
  classic or OAuth one, also one in `GTHB_TOKEN`, before anything is sent. Those can write to every repository the user
  can.
- The `api` group removes diffs, a check run's report text and summary, secrets, download links, a repository's
  `temp_clone_token` (a Git credential) and any `payload` from every answer.
- The description, the skill and the docs say what `sync` keeps of people: authors of issues, comments, pull requests
  and reviews, and the names and e-mail addresses in commits.
