()
| 1700 | return environmentId |
| 1701 | }, |
| 1702 | getSSESequenceNum() { |
| 1703 | // lastTransportSequenceNum only updates when a transport is CLOSED |
| 1704 | // (captured at swap/onClose). During normal operation the CURRENT |
| 1705 | // transport's live seq isn't reflected there. Merge both so callers |
| 1706 | // (e.g. daemon persistState()) get the actual high-water mark. |
| 1707 | const live = transport?.getLastSequenceNum() ?? 0 |
| 1708 | return Math.max(lastTransportSequenceNum, live) |
| 1709 | }, |
| 1710 | sessionIngressUrl, |
| 1711 | writeMessages(messages) { |
| 1712 | // Filter to user/assistant messages that haven't already been sent. |
nothing calls this directly
no test coverage detected