()
| 1683 | return environmentId |
| 1684 | }, |
| 1685 | getSSESequenceNum() { |
| 1686 | // lastTransportSequenceNum only updates when a transport is CLOSED |
| 1687 | // (captured at swap/onClose). During normal operation the CURRENT |
| 1688 | // transport's live seq isn't reflected there. Merge both so callers |
| 1689 | // (e.g. daemon persistState()) get the actual high-water mark. |
| 1690 | const live = transport?.getLastSequenceNum() ?? 0 |
| 1691 | return Math.max(lastTransportSequenceNum, live) |
| 1692 | }, |
| 1693 | sessionIngressUrl, |
| 1694 | writeMessages(messages) { |
| 1695 | // Filter to user/assistant messages that haven't already been sent. |
nothing calls this directly
no test coverage detected