Merge dev-2026-03-21 into main #1

Merged
hzhang merged 15 commits from dev-2026-03-21 into main 2026-03-22 14:16:22 +00:00

15 Commits

Author SHA1 Message Date
zhi
b3063733a9 Add release build targets for hf 2026-03-21 20:32:28 +00:00
zhi
49b54beace Add CLI install documentation 2026-03-21 18:44:26 +00:00
zhi
cc649a7fe2 Document CLI output and exit conventions 2026-03-21 17:39:26 +00:00
zhi
9b3edc0ede Add comment and worklog CLI commands 2026-03-21 17:11:20 +00:00
zhi
1e8437d0b1 Improve nested CLI help coverage 2026-03-21 16:37:47 +00:00
zhi
ebad3cd0d3 Refresh CLI status documentation 2026-03-21 16:06:41 +00:00
zhi
eaf4f215b5 Add detailed leaf help output 2026-03-21 15:37:13 +00:00
zhi
34f52cb9e3 feat: implement meeting, support, propose, and monitor command groups
- Added meeting.go: list, get, create, update, attend, delete
- Added support.go: list, get, create, update, take, transition, delete
- Added propose.go: list, get, create, update, accept, reject, reopen
- Added monitor.go: overview, server list/get/create/delete, api-key generate/revoke
- Updated main.go with dispatch handlers for all four new groups
- All commands follow existing patterns (token resolution, --json, table output)

Covers TODO items 1.12, 1.13, 1.14, 1.15 from hf-cross-project-todo.md
2026-03-21 15:24:43 +00:00
zhi
a01e602118 Align role commands with current backend API 2026-03-21 15:06:57 +00:00
zhi
57af1512d1 feat: implement role, permission, project, milestone, and task command groups
- Add role commands: list, get, create, update, delete, set/add/remove-permissions
- Add permission list command
- Add project commands: list, get, create, update, delete, members, add/remove-member
- Add milestone commands: list, get, create, update, delete, progress
- Add task commands: list, get, create, update, transition, take, delete, search
- Wire all new command groups into main.go dispatcher
- All commands support --json output mode and --token manual auth
- Passes go build and go vet cleanly
2026-03-21 14:50:43 +00:00
zhi
69287d5a49 Add permission-aware help surface 2026-03-21 14:37:42 +00:00
zhi
25114aa17c feat: implement user commands (list, get, create, update, activate, deactivate, delete)
- Add internal/commands/user.go with full user CRUD implementation
- Wire user subcommands in main.go dispatch
- Mark user subcommands as Permitted: true
- Support both padded-cell and manual mode for all user commands
- user create uses account-manager token flow per plan
2026-03-21 14:22:19 +00:00
zhi
f18eb366eb Implement group and leaf help stubs 2026-03-21 14:05:56 +00:00
zhi
7d3cff7d95 feat: implement core CLI packages and Phase 3 commands
- config: resolve binary dir, load/save .hf-config.json
- mode: detect padded-cell vs manual mode via pass_mgr
- client: HTTP client wrapper with auth header support
- passmgr: pass_mgr integration (get-secret, set, generate)
- output: human-readable + JSON output formatting with tables
- help: help and help-brief renderer for groups/commands
- commands: version, health, config (--url, --acc-mgr-token, show)
- auth: token resolution helper (padded-cell auto / manual explicit)
- main: command dispatcher with --json global flag support
- README: updated with current package layout and status
2026-03-21 13:50:29 +00:00
zhi
cb0b7669b3 feat: scaffold Go-based hf CLI 2026-03-21 13:34:41 +00:00