Add ccc-keygen for secrets file generation

--create <names>  generates secrets.json with random 32-byte hex secrets
--filter <names>  extracts a subset of users into filtered-secrets.json
--input/--output  override default file paths

Removes hardcoded user/agent assumptions from secrets.example.json.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-07 20:59:25 +00:00
parent e8bbcb293f
commit 81ad722e84
3 changed files with 89 additions and 3 deletions

View File

@@ -10,7 +10,8 @@
"bin": {
"ccc-server": "bin/ccc-server.mjs",
"ccc-client": "bin/ccc-client.mjs",
"ccc-queue": "bin/ccc-queue.mjs"
"ccc-queue": "bin/ccc-queue.mjs",
"ccc-keygen": "bin/ccc-keygen.mjs"
},
"dependencies": {
"blessed": "^0.1.81",