3 Commits

Author SHA1 Message Date
d6e78fc5a9 chore: drop legacy Python CLI, keep Node.js version as cli/cfg.js
The Python CLI (cli/cfg) was outdated. The actively maintained
version is the Node.js CLI published as @shazhou/config on npm.

Signed-off-by: Xiaonuo <xiaonuo@shazhou.work>
2026-04-21 10:40:14 +08:00
f6bb13271d feat: add env/secret flags to config entries
Worker changes:
- KVEntry now has optional env (default true) and secret (default false) fields
- PUT /config/:key accepts env and secret in request body
- New PATCH /config/:key endpoint to update flags without changing value
- GET and sync responses include env/secret flags
- Backward compatible: existing entries default to env=true, secret=false

CLI changes (cli/cfg-node):
- cfg set supports --no-env and --secret flags
- cfg env skips entries with env=false
- cfg list shows no-env/secret flags with color
- New cfg flags command to view/modify flags on existing keys

Signed-off-by: Xiaonuo <xiaonuo@shazhou.work>
2026-04-21 10:34:31 +08:00
4c6271a21a init: config service — layered KV store with CF Worker + CLI
- CF Worker with shared/personal scope layering
- Python CLI client (cfg) with sync/get/set/list/delete
- Agent registration script
- Auth via bearer token, sha256 hash lookup
2026-04-20 13:02:11 +00:00