test(gateway): expect display on skill-bundle slash payloads

command.dispatch / slash.exec now project a display invocation for
bundle sends; update the protocol assertions to match.
This commit is contained in:
Brooklyn Nicholson 2026-07-28 04:12:48 -05:00
parent b3ba5570c9
commit dddfe6e4a3

View file

@ -1592,6 +1592,8 @@ def test_slash_exec_routes_custom_skill_bundle_away_from_worker(server):
"type": "send",
"message": fake_msg,
"notice": "⚡ Loading bundle: analysis-pack (2 skills)",
# UIs render this invocation; `message` stays model-facing scaffolding.
"display": "/analysis-pack",
}
assert worker.calls == []
@ -2018,6 +2020,8 @@ def test_command_dispatch_returns_custom_bundle_payload(server):
"type": "send",
"message": fake_msg,
"notice": "⚡ Loading bundle: review-suite (3 skills)",
# UIs render this invocation; `message` stays model-facing scaffolding.
"display": "/review-suite",
}
build_bundle.assert_called_once_with(
"/review-suite",