From 4cba22303a7fb9f9270caafa8ce67a9fa0f75a56 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 5 Nov 2026 06:47:52 +0000 Subject: [PATCH] chore: release packages --- .changeset/catalog-issue-admin.md | 8 -------- .changeset/catalog-lifecycle.md | 9 --------- .changeset/catalog-pr-lock.md | 7 ------- .changeset/catalog-read.md | 8 -------- .changeset/catalog-reopen.md | 11 ----------- .changeset/primary-dispatch.md | 13 ------------- packages/client/CHANGELOG.md | 19 ++++++++++++++++++ packages/client/package.json | 4 ++-- packages/core/CHANGELOG.md | 32 +++++++++++++++++++++++++++++++ packages/core/package.json | 2 +- packages/host/CHANGELOG.md | 7 +++++++ packages/host/package.json | 4 ++-- yarn.lock | 6 +++--- 13 files changed, 66 insertions(+), 64 deletions(-) delete mode 100644 .changeset/catalog-issue-admin.md delete mode 100644 .changeset/catalog-lifecycle.md delete mode 100644 .changeset/catalog-pr-lock.md delete mode 100644 .changeset/catalog-read.md delete mode 100644 .changeset/catalog-reopen.md delete mode 100644 .changeset/primary-dispatch.md diff --git a/.changeset/catalog-issue-admin.md b/.changeset/catalog-issue-admin.md deleted file mode 100644 index e3003a69..00000000 --- a/.changeset/catalog-issue-admin.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -'gcb-core': minor ---- - -Add `issue:lock`, `issue:unlock`, `issue:pin` and `issue:unpin` to the action catalog. Lock takes an -optional `--reason`; all four use `issues: write` and set `appUser`, so bare `--as-user` works through -the app broker. `issue:pin` and `issue:unpin` declare `target: issue` so a pull request number is refused by the -preflight instead of reaching the GraphQL mutation or returning an unpin no-op. diff --git a/.changeset/catalog-lifecycle.md b/.changeset/catalog-lifecycle.md deleted file mode 100644 index b3e1d1f8..00000000 --- a/.changeset/catalog-lifecycle.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -'gcb-core': minor ---- - -Add `pr:ready`, `run:cancel` and `run:rerun` to the action catalog. `pr:ready` toggles draft state -with `--undo`; `run:cancel` supports `--force`; `run:rerun` accepts exactly one of a run id or -`--job`, and rejects `--failed` with `--job` because gh ignores the failed flag in job mode. -`run:cancel` and `run:rerun` set `appUser`, so bare `--as-user` works through the app broker; -`pr:ready` stays host-account only for that form, like `pr:close`/`pr:reopen`. diff --git a/.changeset/catalog-pr-lock.md b/.changeset/catalog-pr-lock.md deleted file mode 100644 index 5f8b0bdb..00000000 --- a/.changeset/catalog-pr-lock.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'gcb-core': minor ---- - -Add `pr:lock` and `pr:unlock` to the action catalog. Lock takes an optional `--reason`; both use -`pull_requests: write`. The permission was verified with a token limited to `pull_requests: write`, -and an `issues: write` token was refused. diff --git a/.changeset/catalog-read.md b/.changeset/catalog-read.md deleted file mode 100644 index 48669d5e..00000000 --- a/.changeset/catalog-read.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -'gcb-core': minor ---- - -Add the read-side actions `pr:checks`, `pr:status`, `issue:view` and `issue:list` to the action -catalog. They use read-only permissions and are available through the ordinary client, host action -and allowlist routes. The unused `hostUser` catalog field is removed; the named-account host route -accepts any catalogued action. diff --git a/.changeset/catalog-reopen.md b/.changeset/catalog-reopen.md deleted file mode 100644 index 36277e6f..00000000 --- a/.changeset/catalog-reopen.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -'gcb-core': minor ---- - -Add `pr:reopen`, `issue:close` and `issue:reopen` to the action catalog. All three use a 60-second -timeout. `pr:reopen` is host-account only, like `pr:close`; `issue:close`/`issue:reopen` also set -`appUser`, so bare `--as-user` works through the app broker. The two issue actions also verify that -the number is an issue, not a pull request, before executing; gh's issue close would otherwise close -a PR. The comment flags for close and reopen were left out: a closing comment is prose like an -action body, and gh has no `--comment-file`, so callers use the existing issue/pull-request comment -actions instead. diff --git a/.changeset/primary-dispatch.md b/.changeset/primary-dispatch.md deleted file mode 100644 index 63978323..00000000 --- a/.changeset/primary-dispatch.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -'gcb-client': minor ---- - -Dispatch catalogued `pr` and `issue` subcommands through one primary adapter. `gh` remains the -default; `GCB_PRIMARY` selects the adapter and an unsupported name fails closed. -`gcb issue` is now the same catalog shell as `gcb gh issue`, so its separate host-submit module is -gone; the host login form is `gcb gh issue ... --as-user `. `--body-file -` reads the -body from standard input, matching `gh`. `gcb gh` accepts both `--as-user` forms: bare for actions the app broker -can run as a person, and a login for the catalogued action through the host broker. The host request carries the action -name and typed values; the broker rebuilds argv from the catalog. - -The host-broker channel is named consistently now: `GCB_HOST_TIMEOUT_MS` replaces `GCB_OPENER_TIMEOUT_MS`, the marker file is `host-broker.json`, the channel directory is `gcb/host-broker`, and the core helpers are `readHostBroker`/`writeHostBroker`/`clearHostBroker`; the `gcb-core` result type is now `HostResult`, not `HostOpenResult`. Client and host must be upgraded together; the host program override is `GCB_HOST_COMMAND`. diff --git a/packages/client/CHANGELOG.md b/packages/client/CHANGELOG.md index 09bb6349..65f3a82e 100644 --- a/packages/client/CHANGELOG.md +++ b/packages/client/CHANGELOG.md @@ -1,5 +1,24 @@ # gcb-client +## 0.5.0 + +### Minor Changes + +- [#81](https://github.com/code-vaults/git-credential-broker/pull/81) [`93889a4`](https://github.com/code-vaults/git-credential-broker/commit/93889a430f5b906fec6d57b2bcbe1251ce8e9791) Thanks [@JounQin](https://github.com/JounQin)! - Dispatch catalogued `pr` and `issue` subcommands through one primary adapter. `gh` remains the + default; `GCB_PRIMARY` selects the adapter and an unsupported name fails closed. + `gcb issue` is now the same catalog shell as `gcb gh issue`, so its separate host-submit module is + gone; the host login form is `gcb gh issue ... --as-user `. `--body-file -` reads the + body from standard input, matching `gh`. `gcb gh` accepts both `--as-user` forms: bare for actions the app broker + can run as a person, and a login for the catalogued action through the host broker. The host request carries the action + name and typed values; the broker rebuilds argv from the catalog. + + The host-broker channel is named consistently now: `GCB_HOST_TIMEOUT_MS` replaces `GCB_OPENER_TIMEOUT_MS`, the marker file is `host-broker.json`, the channel directory is `gcb/host-broker`, and the core helpers are `readHostBroker`/`writeHostBroker`/`clearHostBroker`; the `gcb-core` result type is now `HostResult`, not `HostOpenResult`. Client and host must be upgraded together; the host program override is `GCB_HOST_COMMAND`. + +### Patch Changes + +- Updated dependencies [[`51f0a65`](https://github.com/code-vaults/git-credential-broker/commit/51f0a65babcb9585a9ef56a5eeb754c9adc54bf0), [`5dedb25`](https://github.com/code-vaults/git-credential-broker/commit/5dedb25dbb47fd61f85bed444f1744214addcc22), [`705c139`](https://github.com/code-vaults/git-credential-broker/commit/705c13916643a4951476240b84f732feb236b964), [`e5bd34e`](https://github.com/code-vaults/git-credential-broker/commit/e5bd34ecabda5510763eef6e8689f6c3c14b0316), [`914535b`](https://github.com/code-vaults/git-credential-broker/commit/914535be1fb6223a0f055c2730fcaf304d976991)]: + - gcb-core@0.5.0 + ## 0.4.0 ### Minor Changes diff --git a/packages/client/package.json b/packages/client/package.json index ce98b3e3..2874d771 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -1,6 +1,6 @@ { "name": "gcb-client", - "version": "0.4.0", + "version": "0.5.0", "description": "Container-side gcb client: credential helper, setup, and socket-backed commands.", "license": "MIT", "author": "JounQin ", @@ -28,7 +28,7 @@ } }, "dependencies": { - "gcb-core": "0.4.0" + "gcb-core": "0.5.0" }, "publishConfig": { "access": "public", diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index 0ddbd4ef..b369e0e6 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,37 @@ # gcb-core +## 0.5.0 + +### Minor Changes + +- [#95](https://github.com/code-vaults/git-credential-broker/pull/95) [`51f0a65`](https://github.com/code-vaults/git-credential-broker/commit/51f0a65babcb9585a9ef56a5eeb754c9adc54bf0) Thanks [@JounQin](https://github.com/JounQin)! - Add `issue:lock`, `issue:unlock`, `issue:pin` and `issue:unpin` to the action catalog. Lock takes an + optional `--reason`; all four use `issues: write` and set `appUser`, so bare `--as-user` works through + the app broker. `issue:pin` and `issue:unpin` declare `target: issue` so a pull request number is refused by the + preflight instead of reaching the GraphQL mutation or returning an unpin no-op. + +- [#91](https://github.com/code-vaults/git-credential-broker/pull/91) [`5dedb25`](https://github.com/code-vaults/git-credential-broker/commit/5dedb25dbb47fd61f85bed444f1744214addcc22) Thanks [@JounQin](https://github.com/JounQin)! - Add `pr:ready`, `run:cancel` and `run:rerun` to the action catalog. `pr:ready` toggles draft state + with `--undo`; `run:cancel` supports `--force`; `run:rerun` accepts exactly one of a run id or + `--job`, and rejects `--failed` with `--job` because gh ignores the failed flag in job mode. + `run:cancel` and `run:rerun` set `appUser`, so bare `--as-user` works through the app broker; + `pr:ready` stays host-account only for that form, like `pr:close`/`pr:reopen`. + +- [#97](https://github.com/code-vaults/git-credential-broker/pull/97) [`705c139`](https://github.com/code-vaults/git-credential-broker/commit/705c13916643a4951476240b84f732feb236b964) Thanks [@JounQin](https://github.com/JounQin)! - Add `pr:lock` and `pr:unlock` to the action catalog. Lock takes an optional `--reason`; both use + `pull_requests: write`. The permission was verified with a token limited to `pull_requests: write`, + and an `issues: write` token was refused. + +- [#89](https://github.com/code-vaults/git-credential-broker/pull/89) [`e5bd34e`](https://github.com/code-vaults/git-credential-broker/commit/e5bd34ecabda5510763eef6e8689f6c3c14b0316) Thanks [@JounQin](https://github.com/JounQin)! - Add the read-side actions `pr:checks`, `pr:status`, `issue:view` and `issue:list` to the action + catalog. They use read-only permissions and are available through the ordinary client, host action + and allowlist routes. The unused `hostUser` catalog field is removed; the named-account host route + accepts any catalogued action. + +- [#88](https://github.com/code-vaults/git-credential-broker/pull/88) [`914535b`](https://github.com/code-vaults/git-credential-broker/commit/914535be1fb6223a0f055c2730fcaf304d976991) Thanks [@JounQin](https://github.com/JounQin)! - Add `pr:reopen`, `issue:close` and `issue:reopen` to the action catalog. All three use a 60-second + timeout. `pr:reopen` is host-account only, like `pr:close`; `issue:close`/`issue:reopen` also set + `appUser`, so bare `--as-user` works through the app broker. The two issue actions also verify that + the number is an issue, not a pull request, before executing; gh's issue close would otherwise close + a PR. The comment flags for close and reopen were left out: a closing comment is prose like an + action body, and gh has no `--comment-file`, so callers use the existing issue/pull-request comment + actions instead. + ## 0.4.0 ### Minor Changes diff --git a/packages/core/package.json b/packages/core/package.json index 4ff9ef7f..ca18a251 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "gcb-core", - "version": "0.4.0", + "version": "0.5.0", "description": "Shared command runtime and protocol for gcb-client and gcb-host.", "license": "MIT", "author": "JounQin ", diff --git a/packages/host/CHANGELOG.md b/packages/host/CHANGELOG.md index 28bed4df..35990187 100644 --- a/packages/host/CHANGELOG.md +++ b/packages/host/CHANGELOG.md @@ -1,5 +1,12 @@ # gcb-host +## 0.5.0 + +### Patch Changes + +- Updated dependencies [[`51f0a65`](https://github.com/code-vaults/git-credential-broker/commit/51f0a65babcb9585a9ef56a5eeb754c9adc54bf0), [`5dedb25`](https://github.com/code-vaults/git-credential-broker/commit/5dedb25dbb47fd61f85bed444f1744214addcc22), [`705c139`](https://github.com/code-vaults/git-credential-broker/commit/705c13916643a4951476240b84f732feb236b964), [`e5bd34e`](https://github.com/code-vaults/git-credential-broker/commit/e5bd34ecabda5510763eef6e8689f6c3c14b0316), [`914535b`](https://github.com/code-vaults/git-credential-broker/commit/914535be1fb6223a0f055c2730fcaf304d976991)]: + - gcb-core@0.5.0 + ## 0.4.0 ### Minor Changes diff --git a/packages/host/package.json b/packages/host/package.json index 84598d5c..f19bbe2c 100644 --- a/packages/host/package.json +++ b/packages/host/package.json @@ -1,6 +1,6 @@ { "name": "gcb-host", - "version": "0.4.0", + "version": "0.5.0", "description": "Host-side gcb broker, configuration, providers and administration commands.", "license": "MIT", "author": "JounQin ", @@ -28,7 +28,7 @@ } }, "dependencies": { - "gcb-core": "0.4.0", + "gcb-core": "0.5.0", "node-fetch-native": "^1.6.7", "x-fetch": "^0.3.0", "yaml": "^2.9.1" diff --git a/yarn.lock b/yarn.lock index 506da262..c172cbf2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -477,13 +477,13 @@ __metadata: version: 0.0.0-use.local resolution: "gcb-client@workspace:packages/client" dependencies: - gcb-core: "npm:0.4.0" + gcb-core: "npm:0.5.0" bin: gcb: ./bin/gcb.js languageName: unknown linkType: soft -"gcb-core@npm:0.4.0, gcb-core@workspace:packages/core": +"gcb-core@npm:0.5.0, gcb-core@workspace:packages/core": version: 0.0.0-use.local resolution: "gcb-core@workspace:packages/core" languageName: unknown @@ -493,7 +493,7 @@ __metadata: version: 0.0.0-use.local resolution: "gcb-host@workspace:packages/host" dependencies: - gcb-core: "npm:0.4.0" + gcb-core: "npm:0.5.0" node-fetch-native: "npm:^1.6.7" x-fetch: "npm:^0.3.0" yaml: "npm:^2.9.1"