Add permission-aware help surface

This commit is contained in:
zhi
2026-03-21 14:37:42 +00:00
parent 25114aa17c
commit 69287d5a49
4 changed files with 218 additions and 147 deletions

View File

@@ -65,6 +65,7 @@ Implemented:
- Config file resolution relative to binary directory
- Runtime mode detection (`pass_mgr` present/absent)
- Top-level and group/leaf help rendering system (`--help` / `--help-brief` / `not permitted` stubs)
- Permission-aware command visibility via `/auth/me/permissions` when a token is available
- HTTP client wrapper
- Output formatting (human-readable + `--json`)
- `hf version`, `hf health`, `hf config`
@@ -72,4 +73,4 @@ Implemented:
Planned:
- User, role, project, task, milestone, meeting, support, propose, monitor commands
- Permission-aware help rendering
- Rich per-command help/usage text beyond the current stub renderer