()
| 128 | } |
| 129 | |
| 130 | private async loadStoredData(): Promise<void> { |
| 131 | if (this.state && existsSync(this.state.filePath)) { |
| 132 | const content = await readFile(this.state.filePath, "utf-8"); |
| 133 | this.state.storedData = yaml.parse(content) as NormalizedData; |
| 134 | normalizeToolResultOrder(this.state.storedData.conversations); |
| 135 | normalizeStoredUserMessages(this.state.storedData.conversations); |
| 136 | } |
| 137 | } |
| 138 | |
| 139 | async stop(skipWritingCache?: boolean): Promise<void> { |
| 140 | await super.stop(); |
no test coverage detected