()
| 652 | } |
| 653 | |
| 654 | function createEmptyGroup(): GroupAccumulator { |
| 655 | const group: GroupAccumulator = { |
| 656 | messages: [], |
| 657 | searchCount: 0, |
| 658 | readFilePaths: new Set(), |
| 659 | readOperationCount: 0, |
| 660 | listCount: 0, |
| 661 | toolUseIds: new Set(), |
| 662 | memorySearchCount: 0, |
| 663 | memoryReadFilePaths: new Set(), |
| 664 | memoryWriteCount: 0, |
| 665 | nonMemSearchArgs: [], |
| 666 | latestDisplayHint: undefined, |
| 667 | hookTotalMs: 0, |
| 668 | hookCount: 0, |
| 669 | hookInfos: [], |
| 670 | } |
| 671 | if (feature('TEAMMEM')) { |
| 672 | group.teamMemorySearchCount = 0 |
| 673 | group.teamMemoryReadFilePaths = new Set() |
| 674 | group.teamMemoryWriteCount = 0 |
| 675 | } |
| 676 | group.mcpCallCount = 0 |
| 677 | group.mcpServerNames = new Set() |
| 678 | if (isFullscreenEnvEnabled()) { |
| 679 | group.bashCount = 0 |
| 680 | group.bashCommands = new Map() |
| 681 | group.commits = [] |
| 682 | group.pushes = [] |
| 683 | group.branches = [] |
| 684 | group.prs = [] |
| 685 | group.gitOpBashCount = 0 |
| 686 | } |
| 687 | return group |
| 688 | } |
| 689 | |
| 690 | function createCollapsedGroup( |
| 691 | group: GroupAccumulator, |
no test coverage detected