Package com.tnsai.tools.diagnostics
Class DiagnoseMain
java.lang.Object
com.tnsai.tools.diagnostics.DiagnoseMain
tnsai diagnose — prints a paste-ready environment report for bug
reports (TNS-525). Run it, copy the output into a GitHub issue, and a
maintainer has what they need to reproduce: framework version, JDK, OS, and
which LLM providers are configured.
Flags
--json(default) — pretty-printed JSON--issue-template— JSON wrapped in a GitHub issue markdown block--minimal— framework version + provider status only--no-redact— disable the secret-redaction safety net (on by default)
Output is redacted by default: it is run through the framework's
PatternRedactor so that if a future field ever carries a secret-shaped
value it is scrubbed before the user pastes it anywhere public. The static
report never contains credential values in the first place (providers
are reported as set/missing), so redaction is a belt-and-braces
guard rather than the primary defense.
- Since:
- 0.11.0
- Author:
- TnsAI Team
-
Method Summary
-
Method Details
-
main
-