feat(cli): list and resolve pending approvals headlessly (#111060)

* feat(cli): manage pending approvals

* fix(cli): show terminal-safe approval ids raw, reserve id64 tokens for hostile ids

* fix(cli): preserve opaque approval ids verbatim

* fix(cli): tokenize leading-hyphen approval ids for pasteability

* fix(cli): lossless utf16 id64 tokens for opaque approval ids

* fix(cli): resolve approval ids verbatim, no input trim

* fix(cli): scope-only approval auth, reviewer-safe system-agent summaries, skip ill-formed ids

* fix(cli): validate pending approval ids

* fix(cli): align approvals catalog and docs map
This commit is contained in:
Peter Steinberger
2026-07-18 23:23:49 -07:00
committed by GitHub
parent 5e4a324f22
commit a2ccbdfa96
7 changed files with 995 additions and 34 deletions

View File

@@ -46,7 +46,7 @@ const subCliCommandCatalog = defineCommandDescriptorCatalog([
},
{
name: "approvals",
description: "Manage exec approvals (gateway or node host)",
description: "Manage approval policy and pending requests",
hasSubcommands: true,
parentDefaultHelp: true,
},