test(apiproxy): assert this layer's roster shape on the wire

The roster gained `authorable` here, so the round trip has to expect it.
This commit is contained in:
Yichen Jiang
2026-08-07 16:54:40 +08:00
parent 84c01cde9f
commit 8669afbbbc

View File

@@ -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.