返回 DeepSeek-Reasonix
capabilities.go
根目录 / internal / servecontract / capabilities.go
1 // Package servecontract contains capability tokens shared by the Serve host
2 // and every remote client. Values live here so protocol negotiation cannot
3 // drift through independently maintained string literals.
4 package servecontract
5
6 // HistoryOutlineV1 exposes paged durable turn summaries independently of the live tail.
7 const HistoryOutlineV1 = "history-outline-v1"
8
9 const GoalLifecycleV2 = "goal-lifecycle-v2"
10
11 const TranscriptV2 = "transcript-v2"
12
13 const SubmissionIdentityV1 = "submission-identity-v1"
14
15 // TranscriptOutlineV1 announces the read-only turn-outline endpoint. A client
16 // that does not see this token keeps the loaded-turn rail instead of probing
17 // the route, so an older Serve never has to answer 404 to advertise itself.
18 const TranscriptOutlineV1 = "transcript-outline-v1"
19
20 // SessionForkTargetsV1 advertises a server that can list a session's completed
21 // turns (with the reason an unavailable one is refused) and create an
22 // independent child session from one of them without switching the parent.
23 const SessionForkTargetsV1 = "session-fork-targets-v1"
24
25 // SessionExportV1 provides identity-bound complete display snapshots.
26 const SessionExportV1 = "session-export-v1"
27
28 // InboxMutationsV1 provides session-fenced full-body edits and anchored moves.
29 const InboxMutationsV1 = "inbox-mutations-v1"
30
30 lines GO