+
    jHàj©  ã                   óÀ  € R t ^ RIHtHt ^ RIHtHtHt ]]]	3,          t
Rt]! RR7       ! R R4      4       t]! RR7       ! R R	4      4       t]! RR7       ! R
 R4      4       t]! RR7       ! R R4      4       t]! RR7       ! R R4      4       t]! RR7       ! R R4      4       t]! RR7       ! R R]4      4       t]! RR7       ! R R4      4       t ! R R]4      tR# )zTPublic session authority contract; live execution state never crosses this boundary.)Ú	dataclassÚfield)ÚLiteralÚMappingÚProtocolzhermes-gateway-v1T)Úfrozenc                   ó,   a € ] tR t^t o V 3R ltRtV tR# )Ú	Principalc                óZ   <€ V ^8„  d   Qh/ S[ ;R&   S[ ;R&   S[S[ ,          ;R&   S[ ;R&   # )é   ÚsubjectÚ
profile_idÚcapabilitiesÚtransport_id)ÚstrÚ	frozenset)ÚformatÚ__classdict__s   "€Ú=/home/ubuntu/.hermes/hermes-agent/gateway/session_contract.pyÚ__annotate__ÚPrincipal.__annotate__   s9   ø‡ ‚ á�Lñ ñ �Oñ ñ ™C•.Ñ ñ	 ñ
 Ñò ó    © N©Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__annotate_func__Ú__static_attributes__Ú__classdictcell__©r   s   @r   r	   r	      ó   ø‡ ‡ „ r   r	   c                   ó,   a € ] tR t^t o V 3R ltRtV tR# )Ú
SessionRefc                ó2   <€ V ^8„  d   Qh/ S[ ;R&   S[ ;R&   # )r   r   Ú
session_id)r   )r   r   s   "€r   r   ÚSessionRef.__annotate__   s   ø‡ ‚ á�Oñ ñ �Oò r   r   Nr   r!   s   @r   r$   r$      r"   r   r$   c                   ó,   a € ] tR t^t o V 3R ltRtV tR# )ÚSessionHandlec                óp   <€ V ^8„  d   Qh/ S[ ;R&   S[;R&   S[;R&   S[;R&   S[;R&   S[R,          ;R&   # )r   ÚrefÚinstance_idÚauthority_epochÚrevisionÚexecution_generationÚexecution_state)ÚidleÚrunningÚwaitingÚunknownÚterminal)r$   r   Úintr   )r   r   s   "€r   r   ÚSessionHandle.__annotate__   sU   ø‡ ‚ á	�Oñ ñ Ññ ñ Ññ	 ñ
 �Mñ ñ Ññ ñ ÐPÕQÑQò r   r   Nr   r!   s   @r   r)   r)      r"   r   r)   c                   ó,   a € ] tR t^$t o V 3R ltRtV tR# )ÚSessionCreatec                óJ   <€ V ^8„  d   Qh/ S[ ;R&   S[ ;R&   S[ ;R&   S[;R&   # )r   Ú
request_idÚcwdÚsourceÚpolicy)r   Ú
JsonObject)r   r   s   "€r   r   ÚSessionCreate.__annotate__$   s4   ø‡ ‚ á�Oñ ñ 
�Hñ ñ �Kñ	 ñ
 Ñò r   r   Nr   r!   s   @r   r9   r9   $   r"   r   r9   c                   ó,   a € ] tR t^,t o V 3R ltRtV tR# )Ú
Submissionc                óX   <€ V ^8„  d   Qh/ S[ ;R&   S[;R&   S[;R&   S[R,          ;R&   # )r   r;   r+   ÚpayloadÚintent)ÚqueueÚsteerÚredirect)r   r$   r?   r   )r   r   s   "€r   r   ÚSubmission.__annotate__,   s;   ø‡ ‚ á�Oñ ñ 
�Oñ ñ Ññ	 ñ
 Ð0Õ1Ñ1ò r   r   Nr   r!   s   @r   rB   rB   ,   r"   r   rB   c                   ó,   a € ] tR t^4t o V 3R ltRtV tR# )ÚAdmissionReceiptc                ó˜   <€ V ^8„  d   Qh/ S[ ;R&   S[;R&   S[;R&   S[R	,          ;R&   S[ R,          ;R&   S[;R&   S[R,          ;R&   # )
r   Úadmission_idr+   ÚsequenceÚstatusNÚoutcomer-   r/   )ÚqueuedÚstartedr4   r5   )r   r$   r6   r   )r   r   s   "€r   r   ÚAdmissionReceipt.__annotate__4   sj   ø‡ ‚ áÑñ ñ 
�Oñ ñ �Mñ	 ñ
 Ð>Õ?Ñ?ñ ñ �4�ZÑñ ñ Ññ ñ  �*Ñ$ò r   r   Nr   r!   s   @r   rK   rK   4   r"   r   rK   c                   óB   a € ] tR t^?t o ]! ]R7      tRtV 3R ltRt	V t
R# )ÚPendingAdmission)Údefault_factoryFc                óZ   <€ V ^8„  d   Qh/ S[ ;R&   S[ ;R&   S[S[ ,          ;R&   S[;R&   # )r   Úinput_idÚtextÚcontrolsÚsteering)r   ÚlistÚbool)r   r   s   "€r   r   ÚPendingAdmission.__annotate__?   s9   ø‡ ‚ á�Mñ ñ �Iñ ñ
 ‘3�iÑ5ñ ñ Ñò r   r   N)r   r   r   r   r   r\   rZ   r[   r   r   r    r!   s   @r   rU   rU   ?   s   ø‡ € ñ
  °Ô5€Hð €H÷ ƒ r   rU   c                   ó,   a € ] tR t^Jt o V 3R ltRtV tR# )ÚSubscriptionSnapshotc                óª   <€ V ^8„  d   Qh/ S[ ;R&   S[;R&   S[ ;R&   S[;R&   S[S[R3,          ;R&   S[S[R3,          ;R&   S[S[R3,          ;R&   # )	r   Úsubscription_idÚhandleÚreplay_epochÚlast_sequence.ÚhistoryÚpendingÚprompts)r   r)   r6   Útupler?   rU   )r   r   s   "€r   r   Ú!SubscriptionSnapshot.__annotate__J   s{   ø‡ ‚ áÑñ ñ Ññ ñ Ññ	 ñ
 Ññ ñ ‘:˜s�?Õ#Ñ#ñ ñ Ñ# SÐ(Õ)Ñ)ñ ñ ‘:˜s�?Õ#Ñ#ò r   r   Nr   r!   s   @r   r`   r`   J   r"   r   r`   c                   óÜ   a € ] tR t^Ut o V 3R lR ltV 3R lR ltV 3R lR ltRR/V 3R	 lR
 lltV 3R lR ltV 3R lR lt	V 3R lR lt
V 3R lR ltV 3R lR ltV 3R lR ltRtV tR# )ÚSessionAuthorityc                ó,   <€ V ^8„  d   QhRS[ RS[RS[/# ©r   ÚactorÚrequestÚreturn)r	   r9   r)   )r   r   s   "€r   r   ÚSessionAuthority.__annotate__V   s   ø€ ×ZÑZ¡)ÐZ±mÐZÉÑZr   c              ƒ  ó   "  € R # 5i©Nr   ©Úselfro   rp   s   &&&r   ÚcreateÚSessionAuthority.createV   ó   é € ÑWZùó   ‚c                ó,   <€ V ^8„  d   QhRS[ RS[RS[/# ©r   ro   r+   rq   )r	   r$   r)   )r   r   s   "€r   r   rr   W   s   ø€ ×TÑT¡9ÐT±:ÐTÁ-ÑTr   c              ƒ  ó   "  € R # 5irt   r   ©rv   ro   r+   s   &&&r   ÚresolveÚSessionAuthority.resolveW   s   é € ÑQTùrz   c                ó,   <€ V ^8„  d   QhRS[ RS[RS[/# r|   )r	   r$   r`   )r   r   s   "€r   r   rr   X   s   ø€ ×ZÑZ¡)ÐZ±*ÐZÑAUÑZr   c              ƒ  ó   "  € R # 5irt   r   r~   s   &&&r   ÚattachÚSessionAuthority.attachX   ry   rz   Ú
end_reasonNc                ó>   <€ V ^8„  d   QhRS[ RS[RS[R,          RR/# )r   ro   rb   r…   Nrq   )r	   r   )r   r   s   "€r   r   rr   Y   s%   ø€ ×qÑq¡)Ðq¹cÐqÑRUÐX\ÕR\ÐqÐhlÑqr   c             ƒ  ó   "  € R # 5irt   r   )rv   ro   rb   r…   s   &&&$r   ÚdetachÚSessionAuthority.detachY   s   é € Ñnqùrz   c                ó,   <€ V ^8„  d   QhRS[ RS[RS[/# rn   )r	   rB   rK   )r   r   s   "€r   r   rr   Z   s   ø€ ×ZÑZ¡)ÐZ±jÐZÑEUÑZr   c              ƒ  ó   "  € R # 5irt   r   ru   s   &&&r   ÚsubmitÚSessionAuthority.submitZ   ry   rz   c                ó2   <€ V ^8„  d   QhRS[ RS[RS[RS[/# ©r   ro   r+   rM   rq   ©r	   r$   r   rK   )r   r   s   "€r   r   rr   [   s   ø€ ×jÑj¡9Ðj±:ÐjÉSÐjÑUeÑjr   c              ƒ  ó   "  € R # 5irt   r   ©rv   ro   r+   rM   s   &&&&r   ÚreceiptÚSessionAuthority.receipt[   s   é € Ñgjùrz   c                ó2   <€ V ^8„  d   QhRS[ RS[RS[RS[/# r�   r�   )r   r   s   "€r   r   rr   \   s   ø€ ×pÑp©Ðp¹ÐpÑSVÐpÑ[kÑpr   c              ƒ  ó   "  € R # 5irt   r   r’   s   &&&&r   Úcancel_queuedÚSessionAuthority.cancel_queued\   s   é € Ñmpùrz   c                ó2   <€ V ^8„  d   QhRS[ RS[RS[RS[/# )r   ro   r+   Ú
generationrq   )r	   r$   r6   r)   )r   r   s   "€r   r   rr   ]   s   ø€ ×gÑg¡YÐg±ZÐgÉSÐgÑUbÑgr   c              ƒ  ó   "  € R # 5irt   r   )rv   ro   r+   rš   s   &&&&r   Ú	interruptÚSessionAuthority.interrupt]   s   é € Ñdgùrz   c                ó>   <€ V ^8„  d   QhRS[ RS[RS[RS[RS[RS[/# )r   ro   r+   rš   Ú	prompt_idÚresponserq   )r	   r$   r6   r   r?   )r   r   s   "€r   r   rr   ^   sB   ø€ ÷ Oñ O¡9ð O±:ð OÉ3ð OÙ!$ðOÙ0:ðOÙ?IñOr   c              ƒ  ó   "  € R # 5irt   r   )rv   ro   r+   rš   rŸ   r    s   &&&&&&r   ÚrespondÚSessionAuthority.respond^   s   é € ÙKNùrz   c                óD   <€ V ^8„  d   QhRS[ RS[RS[RS[RS[RS[RS[/# )r   ro   r+   r.   r;   ÚactionÚ	argumentsrq   )r	   r$   r6   r   r?   r)   )r   r   s   "€r   r   rr   `   sK   ø€ ÷ `ñ `¡)ð `±*ð `Éð `Ù!$ð`Ù.1ð`Ù>Hð`ÙMZñ`r   c              ƒ  ó   "  € R # 5irt   r   )rv   ro   r+   r.   r;   r¥   r¦   s   &&&&&&&r   ÚmutateÚSessionAuthority.mutate`   s   é € Ù\_ùrz   r   )r   r   r   r   rw   r   rƒ   rˆ   rŒ   r“   r—   rœ   r¢   r¨   r   r    r!   s   @r   rl   rl   U   sS   ø‡ € ßZÐZßTÐTßZÐZØqÐ_c×qÒqßZÐZßjÐjßpÐpßgÐg÷Oð O÷`ö `r   rl   N)Ú__doc__Údataclassesr   r   Útypingr   r   r   r   Úobjectr?   ÚCANONICAL_GATEWAY_PROTOCOLr	   r$   r)   r9   rB   rK   rU   r`   rl   r   r   r   Ú<module>r¯      s+  ðÙ Zç (ß -Ñ -à�S˜&�[Õ!€
ð 1Ð ñ �$Ô÷ð ó ðñ �$Ô÷ð ó ðñ
 �$Ô÷Rð Ró ðRñ �$Ô÷ð ó ðñ �$Ô÷2ð 2ó ð2ñ �$Ô÷%ð %ó ð%ñ �$ÔôÐ'ó ó ðñ �$Ô÷$ð $ó ð$ô`�xö `r   