()
| 623 | } |
| 624 | |
| 625 | function createEmptyGroup(): GroupAccumulator { |
| 626 | const group: GroupAccumulator = { |
| 627 | messages: [], |
| 628 | searchCount: 0, |
| 629 | readFilePaths: new Set(), |
| 630 | readOperationCount: 0, |
| 631 | listCount: 0, |
| 632 | toolUseIds: new Set(), |
| 633 | memorySearchCount: 0, |
| 634 | memoryReadFilePaths: new Set(), |
| 635 | memoryWriteCount: 0, |
| 636 | nonMemSearchArgs: [], |
| 637 | latestDisplayHint: undefined, |
| 638 | hookTotalMs: 0, |
| 639 | hookCount: 0, |
| 640 | hookInfos: [], |
| 641 | } |
| 642 | if (feature('TEAMMEM')) { |
| 643 | group.teamMemorySearchCount = 0 |
| 644 | group.teamMemoryReadFilePaths = new Set() |
| 645 | group.teamMemoryWriteCount = 0 |
| 646 | } |
| 647 | group.mcpCallCount = 0 |
| 648 | group.mcpServerNames = new Set() |
| 649 | if (isFullscreenEnvEnabled()) { |
| 650 | group.bashCount = 0 |
| 651 | group.bashCommands = new Map() |
| 652 | group.commits = [] |
| 653 | group.pushes = [] |
| 654 | group.branches = [] |
| 655 | group.prs = [] |
| 656 | group.gitOpBashCount = 0 |
| 657 | } |
| 658 | return group |
| 659 | } |
| 660 | |
| 661 | function createCollapsedGroup( |
| 662 | group: GroupAccumulator, |
no test coverage detected