$ tenbrains setup --provider anthropic --api-key sk-ant-… --x-bearer AAAA… --default
Store your Claude key and X Bearer token in one step. Run it with no flags to be prompted interactively. The key never leaves your machine.
{
"ok": true,
"command": "setup",
"data": {
"provider": "anthropic",
"model": "claude-sonnet-4-6",
"default": true,
"keyConfigured": true,
"xConfigured": true
},
"meta": { "persisted": true }
}