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