@windsland52/maa-log-parser
v3.0.1
Published
Repository-specific parser package for MaaLogAnalyzer.
Readme
@windsland52/maa-log-parser
Repository-specific parser package for MaaLogAnalyzer.
Responsibility
- Export current
LogParserimplementation as a workspace package - Keep parser entry stable for other internal packages
- Provide raw value transformer hooks used by parser runtime
- Project parsed protocol/trace state into UI-facing task trees
Architecture design:
../../docs/LOG_PARSER_ARCHITECTURE.md
Exports
LogParserParseFileOptionsParseProgresssetRawValueTransformerresetRawValueTransformerwrapRaw
Subpath export:
@windsland52/maa-log-parser/raw-valuesetRawValueTransformerresetRawValueTransformerwrapRaw
@windsland52/maa-log-parser/protocol-typesSourceRefProtocolEvent- protocol event kind/type exports
@windsland52/maa-log-parser/protocol-event-factorycreateSourceRefcreateProtocolEvent
@windsland52/maa-log-parser/trace-scope-typesScopeKindScopeNode
@windsland52/maa-log-parser/trace-scope-idbuildScopeIdcreateScopeIdresolveScopeLocalId
@windsland52/maa-log-parser/trace-reducerbuildTraceTreeTraceScopePayload
@windsland52/maa-log-parser/query-typesNodeExecutionRefQueryResult
@windsland52/maa-log-parser/query-locatorScopeLocatorNodeExecutionLocatorUniqueScopeLocatorbuildTaskNodeKey
@windsland52/maa-log-parser/trace-indexTraceIndexcreateEmptyTraceIndexbuildTraceIndex
@windsland52/maa-log-parser/query-helpersfindScopeByIdfindScopesByLocatorfindNodeExecutiongetParentChaingetNodeTimelinegetNextListHistorycreateQueryHelpers
@windsland52/maa-log-parser/raw-line-storecreateRawLineStoregetRawLinegetRawLinesByRefs
@windsland52/maa-log-parser/service-session-storeAnalyzerSessionStorecreateAnalyzerSessionStore
@windsland52/maa-log-parser/service-evidence-buildersbuildEvidencebuildLineEvidence
@windsland52/maa-log-parser/service-tool-handlerscreateAnalyzerToolHandlers
@windsland52/maa-log-parser/types- Type re-exports for parser-related data structures
@windsland52/maa-log-parser/log-event-decodersreadNumberFieldreadStringFielddecodeTaskLifecycleEventDetailsdecodeEventIdentityIds
@windsland52/maa-log-parser/node-flowbuildRecognitionFlowItemsbuildActionFlowItemsbuildNodeFlowItemsbuildNodeFlowGroups
@windsland52/maa-log-parser/timestamptoTimestampMs
@windsland52/maa-log-parser/node-statisticsNodeStatisticsAnalyzerNodeStatisticsRecognitionActionStatistics
Notes
LogParserruntime implementation lives atsrc/core/logParser.ts.getTasksSnapshot()projects the current parser state without clearing buffered events. Use it for realtime/incremental views that need repeated reads.consumeTasks()projects tasks and then clears the buffered parse state. Use it for one-shot file parsing when the parsed result has already been handed off.imageLookupHelpers.tsis an internal low-level timestamp/suffix matcher used by the projector to attach error, vision, andwait_freezesscreenshots. Most callers should preferLogParser#setErrorImages(),setVisionImages(), andsetWaitFreezesImages()instead of calling those helpers directly.
