export class AgentActivityState {
    lastInboundAt = null;
    lastActivityAt = null;
    /** A genuine inbound user/agent message arrived. */
    markInbound(now) {
        this.lastInboundAt = now;
        this.lastActivityAt = now;
    }
    /** Non-message activity that should still defer sleep (e.g. a session spawn). */
    markActivity(now) {
        this.lastActivityAt = now;
    }
    snapshot() {
        return { lastInboundAt: this.lastInboundAt, lastActivityAt: this.lastActivityAt };
    }
}
//# sourceMappingURL=AgentActivityState.js.map