Show startup shell before background avatar admission and update reviewed capabilities

This commit is contained in:
zenord
2026-10-13 14:57:13 +08:00
parent 345e26e245
commit 40abf3a14e
41 changed files with 1113 additions and 124 deletions
+11
View File
@@ -36,6 +36,17 @@ def negotiate(hello, configured):
return sha, dict(pack)
def pending_pin(hello, configured):
"""Authorize only a future SAME reviewed pin on this authenticated connection.
No action available until the client's complete immutable admission and handoff.
"""
if hello.get('action_protocol') != 1 or hello.get('action_kinds') != [] or 'action_pack_sha256' in hello:
return None
sha=hello.get('action_pending_pack_sha256')
offer={'action_protocol':1,'action_kinds':['dance'],'action_pack_sha256':sha}
return sha if negotiate(offer, configured) else None
@dataclass
class ActionTicket:
id: str