Expand description
Exports a support-friendly diagnostics bundle with sensitive local data redacted for privacy.
Copies recent log files, state snapshots, and environment summaries into a temporary directory. API keys, URLs, and filesystem paths are scrubbed before the bundle is presented to the user for attachment to issue reports.
Structsยง
- Redacted
Config ๐Export - Safe, fully redacted structural copy of Config for user privacy.
- Redacted
Queue ๐Event - Redacted view of a transfer event to avoid exposing private filenames.
- Redacted
Retry ๐Export - Quantitative summaries of files waiting to be retried.
- Redacted
State ๐Export - Redacted snapshot of persistent app context status.
- Redacted
Sync ๐Index Export - Redacted metrics from the local synced database index.
Functionsยง
- build_
config_ ๐export - Populate redacted configuration statistics from live config values.
- build_
retry_ ๐export - Summarize items in the retry log without revealing their names.
- build_
state_ ๐export - Map live state values into redacted serialization format.
- build_
summary ๐ - Format system environment and configuration state as plain text.
- build_
sync_ ๐index_ export - Summarize database index composition to avoid detailing private folder contents.
- cache_
path ๐ - Resolve a named file within the system cache root.
- export_
bundle - Primary entrypoint to create and export a redacted diagnostics zip/bundle folder.
- export_
bundle_ ๐with_ paths - Helper that generates redactions by specifying explicit caches and data roots for testing.
- redact_
path_ ๐hint - Redact the absolute directory path, preserving only the trailing filename segment.
- write_
json_ ๐pretty - Helper to write formatted, indented JSON structures to disk.