v0.9.2
Fixed
- Lazy session timer:
ContractSessionno longer starts its wall-clock timer at construction. The timer now starts on the firstcheck_limits()call, so idle time before the user's first interaction does not count againsttemporal.max_duration_seconds. This fixes premature "session expired" errors in long-lived agent setups (Chainlit, Webex bots). (#16)
Added
ContractSession.reset_timer(): New method that resets the duration timer so it restarts on the nextcheck_limits()call. Useful for frameworks with their own idle-timeout mechanisms that want to restart the clock on user activity.
Full Changelog: v0.9.1...v0.9.2