()
| 263 | } |
| 264 | |
| 265 | clear(): void { |
| 266 | this.messages = [] |
| 267 | this.todos = "" |
| 268 | this.firstMessageSent = false |
| 269 | this.totalCost = 0 |
| 270 | this.contextTokens = 0 |
| 271 | this.title = "" |
| 272 | this.pendingStartContext = "" |
| 273 | this.sessionStarted = false |
| 274 | this.stopHookActive = false |
| 275 | } |
| 276 | |
| 277 | /** Write the current conversation to the sessions directory. */ |
| 278 | private persist(): void { |
no outgoing calls
no test coverage detected