From 8669afbbbcdaf08f3f55012de2e72581495af7c8 Mon Sep 17 00:00:00 2001 From: Yichen Jiang Date: Fri, 7 Aug 2026 16:54:40 +0800 Subject: [PATCH] test(apiproxy): assert this layer's roster shape on the wire The roster gained `authorable` here, so the round trip has to expect it. --- packages/host/apiproxy/tests/client-handler.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/host/apiproxy/tests/client-handler.spec.ts b/packages/host/apiproxy/tests/client-handler.spec.ts index d4d819518a..b348208e60 100644 --- a/packages/host/apiproxy/tests/client-handler.spec.ts +++ b/packages/host/apiproxy/tests/client-handler.spec.ts @@ -233,7 +233,7 @@ describe('unary round trip', () => { const c = client(scriptedApi()) const listed = await c.agentPresets.list({}) - expect(listed.result).toEqual({ ok: true, value: { presets: [] } }) + expect(listed.result).toEqual({ ok: true, value: { presets: [], authorable: false } }) // The switch carries the session it is about: the host refuses one whose // conversation has started, and it can only know which by id.