MCPcopy Create free account
hub / github.com/Zoo-Code-Org/Zoo-Code / findMessageByTimestamp

Method findMessageByTimestamp

src/core/task/Task.ts:1138–1146  ·  view source on GitHub ↗
(ts: number)

Source from the content-addressed store, hash-verified

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

Callers 1

askMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected