Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions .changeset/catalog-labels.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/catalog-release-workflow.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/comment-delete.md

This file was deleted.

14 changes: 0 additions & 14 deletions .changeset/config-allow.md

This file was deleted.

10 changes: 0 additions & 10 deletions .changeset/host-claim-report.md

This file was deleted.

10 changes: 0 additions & 10 deletions .changeset/host-status.md

This file was deleted.

8 changes: 0 additions & 8 deletions .changeset/issue-comment-edit.md

This file was deleted.

9 changes: 0 additions & 9 deletions .changeset/jq-proxy-secret.md

This file was deleted.

10 changes: 0 additions & 10 deletions .changeset/submodule-fork.md

This file was deleted.

7 changes: 7 additions & 0 deletions packages/client/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# gcb-client

## 0.7.0

### Patch Changes

- Updated dependencies [[`d247ec5`](https://github.com/code-vaults/git-credential-broker/commit/d247ec5cdd624e1c45376f887ae25405bdbeb1c9), [`b83dd51`](https://github.com/code-vaults/git-credential-broker/commit/b83dd51e012f7566202b5d31c8dca7a9580087e5), [`70eff30`](https://github.com/code-vaults/git-credential-broker/commit/70eff304474522fba9b0383d90918bbe9470abdb), [`68eb0ff`](https://github.com/code-vaults/git-credential-broker/commit/68eb0ff8080226f2f6eb1d03ba9517da5278b7c2), [`80e697f`](https://github.com/code-vaults/git-credential-broker/commit/80e697fe2183952f5612a7f29d2a6ba3830e489e), [`eee2074`](https://github.com/code-vaults/git-credential-broker/commit/eee207439cb643d1d0f49895609bb17f6bbda639), [`f596356`](https://github.com/code-vaults/git-credential-broker/commit/f596356b30413001c9dee30621b978cb2bd69e88)]:
- gcb-core@0.7.0

## 0.6.0

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gcb-client",
"version": "0.6.0",
"version": "0.7.0",
"description": "Container-side gcb client: credential helper, setup, and socket-backed commands.",
"license": "MIT",
"author": "JounQin <admin@1stg.me>",
Expand Down Expand Up @@ -28,7 +28,7 @@
}
},
"dependencies": {
"gcb-core": "0.6.0"
"gcb-core": "0.7.0"
},
"publishConfig": {
"access": "public",
Expand Down
40 changes: 40 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,45 @@
# gcb-core

## 0.7.0

### Minor Changes

- [#117](https://github.com/code-vaults/git-credential-broker/pull/117) [`d247ec5`](https://github.com/code-vaults/git-credential-broker/commit/d247ec5cdd624e1c45376f887ae25405bdbeb1c9) Thanks [@JounQin](https://github.com/JounQin)! - Add the label domain to the catalog: `label:list` (issues read) and `label:create`/`label:edit`/
`label:delete` (issues write). Deleting requires `--yes`, so the host broker never waits for an
interactive prompt.

- [#114](https://github.com/code-vaults/git-credential-broker/pull/114) [`b83dd51`](https://github.com/code-vaults/git-credential-broker/commit/b83dd51e012f7566202b5d31c8dca7a9580087e5) Thanks [@i1stG](https://github.com/i1stG)! - Add read-only release and workflow actions to the catalog: `release:list`, `release:view`,
`workflow:list`, and `workflow:view`, with their GitHub permissions, flags and tests.

- [#116](https://github.com/code-vaults/git-credential-broker/pull/116) [`70eff30`](https://github.com/code-vaults/git-credential-broker/commit/70eff304474522fba9b0383d90918bbe9470abdb) Thanks [@JounQin](https://github.com/JounQin)! - Add `issue:comment-delete` (`issues: write`) and `pr:comment-delete`
(`pull_requests: write`), which DELETE one issue/PR conversation comment through the same fixed
gh api endpoint as the edit actions.

- [#119](https://github.com/code-vaults/git-credential-broker/pull/119) [`80e697f`](https://github.com/code-vaults/git-credential-broker/commit/80e697fe2183952f5612a7f29d2a6ba3830e489e) Thanks [@JounQin](https://github.com/JounQin)! - Record the resolved config path, working directory and package version in a fixed host-private
`~/.gcb-host/status.json` (not beside a config and not in the container-writable channel marker), and
add `gcb host status` (JSON, no options, no config argument). The status file is written at daemon startup
with `config: null`, updated after a successful config load, is read/written with
`readJson`/`writeJsonAtomic`, and is never read from the caller's cwd.

- [#115](https://github.com/code-vaults/git-credential-broker/pull/115) [`eee2074`](https://github.com/code-vaults/git-credential-broker/commit/eee207439cb643d1d0f49895609bb17f6bbda639) Thanks [@i1stG](https://github.com/i1stG)! - Add `issue:comment-edit` (`issues: write`) and `pr:comment-edit` (`pull_requests: write`), which
PATCH one issue/PR conversation comment through a fixed gh api endpoint. The body travels in an
`--input` JSON file, never in argv. `pr:comment` also gains the person route, matching
`issue:comment`.

- [#108](https://github.com/code-vaults/git-credential-broker/pull/108) [`f596356`](https://github.com/code-vaults/git-credential-broker/commit/f596356b30413001c9dee30621b978cb2bd69e88) Thanks [@JounQin](https://github.com/JounQin)! - Serve host-broker channels for submodules nested in a checkout, while keeping the one-level scan
bounded. Read `.git` pointers as bounded, non-blocking regular files. Check the App installation
before an app-routed action and refuse an uninstalled target with a `--as-user` hint, and add
`allowFork` so an allowlisted public fork can authorize a catalogued action on its public
parent/source after GitHub verifies the relationship.

### Patch Changes

- [#104](https://github.com/code-vaults/git-credential-broker/pull/104) [`68eb0ff`](https://github.com/code-vaults/git-credential-broker/commit/68eb0ff8080226f2f6eb1d03ba9517da5278b7c2) Thanks [@JounQin](https://github.com/JounQin)! - Report requests left in a working file by a host broker that exited, instead of leaving them to
disappear silently. Recovery never executes the action again: it writes an explicit outcome-unknown
error for the caller to verify before retrying, and keeps an answer that was already written.
A claim whose recorded owner is still alive is never recovered, regardless of age, and the recovery
error is published only if no result exists, so it cannot overwrite a real answer.

## 0.6.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gcb-core",
"version": "0.6.0",
"version": "0.7.0",
"description": "Shared command runtime and protocol for gcb-client and gcb-host.",
"license": "MIT",
"author": "JounQin <admin@1stg.me>",
Expand Down
43 changes: 43 additions & 0 deletions packages/host/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,48 @@
# gcb-host

## 0.7.0

### Minor Changes

- [#103](https://github.com/code-vaults/git-credential-broker/pull/103) [`c040d5e`](https://github.com/code-vaults/git-credential-broker/commit/c040d5e73f7eede891800f1cae8ad9b3903dbab6) Thanks [@JounQin](https://github.com/JounQin)! - Add `gcb config allow add|remove <host> <owner/name>` for one exact entry. Globs, URLs,
wildcards and a `.git` suffix are refused. It edits the entry with `parseDocument`, so comments and
formatting survive, keeps LF or CRLF line endings, rejects mixed endings, validates the result with
the same loader as the daemon, and replaces the file atomically. It also rejects host keys that
differ only by case, which would otherwise leave one block silently unreachable. It serializes
Comment thread
JounQin marked this conversation as resolved.
Resolved
allow updates with a target-keyed lock, refuses to remove the last entry, and reports one line with
`entry=… reload=unconfirmed signal=unavailable`: the daemon watches the config directory, but the
command does not signal it, and restart-only keys still need a restart. `config edit` stays an
in-place editor and needs no directory write. A lock left by a crash fails closed and names the path
Comment thread
JounQin marked this conversation as resolved.
Resolved
for an operator to remove.

- [#119](https://github.com/code-vaults/git-credential-broker/pull/119) [`80e697f`](https://github.com/code-vaults/git-credential-broker/commit/80e697fe2183952f5612a7f29d2a6ba3830e489e) Thanks [@JounQin](https://github.com/JounQin)! - Record the resolved config path, working directory and package version in a fixed host-private
`~/.gcb-host/status.json` (not beside a config and not in the container-writable channel marker), and
add `gcb host status` (JSON, no options, no config argument). The status file is written at daemon startup
with `config: null`, updated after a successful config load, is read/written with
`readJson`/`writeJsonAtomic`, and is never read from the caller's cwd.

- [#108](https://github.com/code-vaults/git-credential-broker/pull/108) [`f596356`](https://github.com/code-vaults/git-credential-broker/commit/f596356b30413001c9dee30621b978cb2bd69e88) Thanks [@JounQin](https://github.com/JounQin)! - Serve host-broker channels for submodules nested in a checkout, while keeping the one-level scan
Comment thread
JounQin marked this conversation as resolved.
Resolved
bounded. Read `.git` pointers as bounded, non-blocking regular files. Check the App installation
before an app-routed action and refuse an uninstalled target with a `--as-user` hint, and add
`allowFork` so an allowlisted public fork can authorize a catalogued action on its public
parent/source after GitHub verifies the relationship.

### Patch Changes

- [#104](https://github.com/code-vaults/git-credential-broker/pull/104) [`68eb0ff`](https://github.com/code-vaults/git-credential-broker/commit/68eb0ff8080226f2f6eb1d03ba9517da5278b7c2) Thanks [@JounQin](https://github.com/JounQin)! - Report requests left in a working file by a host broker that exited, instead of leaving them to
disappear silently. Recovery never executes the action again: it writes an explicit outcome-unknown
error for the caller to verify before retrying, and keeps an answer that was already written.
A claim whose recorded owner is still alive is never recovered, regardless of age, and the recovery
error is published only if no result exists, so it cannot overwrite a real answer.

- [#113](https://github.com/code-vaults/git-credential-broker/pull/113) [`5c35831`](https://github.com/code-vaults/git-credential-broker/commit/5c358312b303da5b590a6b333c313854cbda7169) Thanks [@i1stG](https://github.com/i1stG)! - Close the remaining `--jq` environment leak: gh already receives a whitelisted environment with the
token in its isolated config, but a proxy URL carrying a username or password was still visible as
`HTTPS_PROXY`. Such a proxy now makes `--jq` fail, so the expression
cannot read proxy credentials. The host-broker route rejects `--jq` entirely, because its gh
program inherits the selected host account environment.
- Updated dependencies [[`d247ec5`](https://github.com/code-vaults/git-credential-broker/commit/d247ec5cdd624e1c45376f887ae25405bdbeb1c9), [`b83dd51`](https://github.com/code-vaults/git-credential-broker/commit/b83dd51e012f7566202b5d31c8dca7a9580087e5), [`70eff30`](https://github.com/code-vaults/git-credential-broker/commit/70eff304474522fba9b0383d90918bbe9470abdb), [`68eb0ff`](https://github.com/code-vaults/git-credential-broker/commit/68eb0ff8080226f2f6eb1d03ba9517da5278b7c2), [`80e697f`](https://github.com/code-vaults/git-credential-broker/commit/80e697fe2183952f5612a7f29d2a6ba3830e489e), [`eee2074`](https://github.com/code-vaults/git-credential-broker/commit/eee207439cb643d1d0f49895609bb17f6bbda639), [`f596356`](https://github.com/code-vaults/git-credential-broker/commit/f596356b30413001c9dee30621b978cb2bd69e88)]:
- gcb-core@0.7.0

## 0.6.0

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/host/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gcb-host",
"version": "0.6.0",
"version": "0.7.0",
"description": "Host-side gcb broker, configuration, providers and administration commands.",
"license": "MIT",
"author": "JounQin <admin@1stg.me>",
Expand Down Expand Up @@ -28,7 +28,7 @@
}
},
"dependencies": {
"gcb-core": "0.6.0",
"gcb-core": "0.7.0",
"node-fetch-native": "^1.6.7",
"x-fetch": "^0.3.0",
"yaml": "^2.9.1"
Expand Down
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -477,13 +477,13 @@ __metadata:
version: 0.0.0-use.local
resolution: "gcb-client@workspace:packages/client"
dependencies:
gcb-core: "npm:0.6.0"
gcb-core: "npm:0.7.0"
bin:
gcb: ./bin/gcb.js
languageName: unknown
linkType: soft

"gcb-core@npm:0.6.0, gcb-core@workspace:packages/core":
"gcb-core@npm:0.7.0, gcb-core@workspace:packages/core":
version: 0.0.0-use.local
resolution: "gcb-core@workspace:packages/core"
languageName: unknown
Expand All @@ -493,7 +493,7 @@ __metadata:
version: 0.0.0-use.local
resolution: "gcb-host@workspace:packages/host"
dependencies:
gcb-core: "npm:0.6.0"
gcb-core: "npm:0.7.0"
node-fetch-native: "npm:^1.6.7"
x-fetch: "npm:^0.3.0"
yaml: "npm:^2.9.1"
Expand Down
Loading