Node tools package for Maa log analysis.
- Provide Node input adapters (zip/file/folder)
- Provide high-level helpers:
analyzeZipBufferanalyzeZipFileanalyzeDirectory
- Provide CLI entry (
mla-log-tools)
analyzeLogContent is delegated to @windsland52/maa-log-runtime with a local parser/statistics adapter.
The concrete adapter is provided by @windsland52/maa-log-adapter.
@windsland52/maa-log-toolsanalyzeLogContentanalyzeZipBufferanalyzeZipFileanalyzeDirectoryDEFAULT_CORE_PARSE_OPTIONS
@windsland52/maa-log-tools/node-input- Node file/zip/folder extraction helpers
LogBundleFocus
@windsland52/maa-log-tools/cli- CLI entry module
analyzeZipBuffer, analyzeZipFile, analyzeDirectory, extractZipContentFromNodeBuffer, extractZipContentFromNodeFile, and loadNodeLogDirectory all accept an optional focus selector:
{
keywords?: string[]
started_after?: string
started_before?: string
}When focus is provided, the helpers scan candidate primary and history log files and only merge files whose content matches the keywords and/or timestamp boundaries. If focus is omitted, the previous default loading behavior is preserved.
pnpm kernel:cli <path> [--pretty] [--no-events]<path> can be a log file, a zip file, or a log directory.