feat(service): pass a qr code with a login prompt or approval wait

This commit is contained in:
imSp4rky
2026-11-26 13:27:50 -07:00
parent 251d1e779a
commit 291417db4e
28 changed files with 386 additions and 94 deletions
+2 -2
View File
@@ -172,9 +172,9 @@ def test_session_transport_keys_are_the_create_body():
@pytest.mark.parametrize(
"shape,fields",
[
(protocol.ChannelPrompt, {"type", "id", "prompt"}),
(protocol.ChannelPrompt, {"type", "id", "prompt", "qr"}),
(protocol.ChannelCdmCall, {"type", "id", "call"}),
(protocol.ChannelLog, {"type", "seq", "level", "message", "ts"}),
(protocol.ChannelLog, {"type", "seq", "level", "message", "ts", "qr"}),
(protocol.ChannelStatus, {"type", "status", "error"}),
(protocol.ChannelDrain, {"type", "draining"}),
(protocol.ChannelAnswer, {"type", "id", "response", "error"}),