mirror of
https://github.com/langgenius/dify.git
synced 2026-10-04 13:47:55 +08:00
Adds RecoveryRef to the contract, recovery_ref_for() to recovery.py, and wires it into get_session_view() beside the existing CheckpointRef pattern. Regenerates contract_schema.json and the FE types.ts from contract.py (additive only: RecoveryRef + SessionView.recovery). Also updates test_wiring.py's exact asdict() round-trip assertion to include the new recovery: None default, since dataclasses.asdict(SessionView) is exhaustive. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>