(ts: number)
| 1136 | } |
| 1137 | |
| 1138 | private findMessageByTimestamp(ts: number): ClineMessage | undefined { |
| 1139 | for (let i = this.clineMessages.length - 1; i >= 0; i--) { |
| 1140 | if (this.clineMessages[i].ts === ts) { |
| 1141 | return this.clineMessages[i] |
| 1142 | } |
| 1143 | } |
| 1144 | |
| 1145 | return undefined |
| 1146 | } |
| 1147 | |
| 1148 | // Note that `partial` has three valid states true (partial message), |
| 1149 | // false (completion of partial message), undefined (individual complete |