Pin the server contract and tokens to LLeMbas 2.0 (server dev f5b3dbb)
The contract moves from v1.7.0 to the server's dev at f5b3dbb965823ade: event_canvas.json is gone (2.0 has no canvas) and the chat detail no longer carries knowledge_bases. The app modelled neither, so no model changes; ContractTest now says the canvas fixture is absent and that a canvas frame from an older stream is ignored. Tokens from the same commit: only --selection is new among the colours, and it is now in the palette and used for selected text, as on the web UI. CI also runs on pushes to dev, where 2.0 is built. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
8 files changed
+27
-19
No files matched your search
@@ -35,6 +35,14 @@ class ContractTest {
|
||||
assertEquals("""{"app_api":1}""", version)
|
||||
}
|
||||
|
||||
@Test
|
||||
fun theTwoPointOhContractHasNoCanvas() {
|
||||
// LLeMbas 2.0 removed the canvas: no `canvas` frame, so no fixture for one. A stream
|
||||
// that still sends it (a 1.x server) is ignored frame by frame, as any unknown event is.
|
||||
assertNull(javaClass.classLoader!!.getResource("event_canvas.json"))
|
||||
assertEquals(LiveReply("m"), LiveReply("m").apply("canvas", """{"tabs": [], "active": ""}"""))
|
||||
}
|
||||
|
||||
@Test
|
||||
fun aChatAndAnAgentChat() {
|
||||
val chat = read("chat", Chat.serializer())
|
||||
|
||||
Reference in new issue
Block a user