(m: Message)
| 4 | // is the optional toolUseResult field. Four PRs (#23977, #24016, #24022, |
| 5 | // #24025) independently fixed miscounts from checking type==='user' alone. |
| 6 | export function isHumanTurn(m: Message): m is UserMessage { |
| 7 | return m.type === 'user' && !m.isMeta && m.toolUseResult === undefined |
| 8 | } |
| 9 |
no outgoing calls
no test coverage detected