CLI: prevent agent-path models.json secret persistence

This commit is contained in:
joshavant
2026-03-07 09:09:36 -06:00
parent 0f6f2482fd
commit a16606d379
5 changed files with 108 additions and 1 deletions

View File

@@ -22,3 +22,7 @@ openclaw agent --agent ops --message "Summarize logs"
openclaw agent --session-id 1234 --message "Summarize inbox" --thinking medium
openclaw agent --agent ops --message "Generate report" --deliver --reply-channel slack --reply-to "#reports"
```
## Notes
- When this command triggers `models.json` regeneration, SecretRef-managed provider credentials are persisted as non-secret markers (for example env var names or `secretref-managed`), not resolved secret plaintext.