refactor(agent-runner): tighten protocol v1 runtime boundaries

This commit is contained in:
huanghuoguoguo
2026-05-25 10:34:16 +08:00
committed by huanghuoguoguo
parent f9e07df539
commit 2fd2c6aadc
26 changed files with 548 additions and 3291 deletions

View File

@@ -242,6 +242,7 @@ class TestNormalizeNonMessageResults:
result_dict = {
'type': 'state.updated',
'data': {
'scope': 'conversation',
'key': 'external_conversation_id',
'value': 'abc123',
},
@@ -340,4 +341,4 @@ class TestNormalizeInvalidResults:
},
}
result = await normalizer.normalize(result_dict, descriptor)
assert result is None
assert result is None