返回 DeepSeek-Reasonix
recovery_compat.go
根目录 / internal / agent / recovery_compat.go
1 package agent
2
3 // RecoveryGate is retained as a source-compatible option type. The execution
4 // runtime never stores or invokes it, so an old caller cannot reinstall Auto
5 // Guard by supplying a legacy gate implementation.
6 type RecoveryGate any
7
8 // RecoveryAction keeps retired UI and RPC payloads decodable. Controller
9 // rejects every value with recovery_retired.
10 type RecoveryAction string
11
12 const (
13 RecoveryActionContinue RecoveryAction = "continue"
14 RecoveryActionContinueTask RecoveryAction = "continue_task"
15 RecoveryActionRevise RecoveryAction = "revise"
16 )
17
17 lines GO