From a11abb5030af43c89460b85338b38402dad6fd2c Mon Sep 17 00:00:00 2001 From: Dan Smolsky Date: Sun, 15 Nov 2026 00:08:54 -0500 Subject: [PATCH] Drop reasoning text from live events Nothing shows reasoning's streamed text: its events project no transcript rows and the settled read skips reasoning parts; only ReasoningStarted feeds the Thinking step. ReasoningDelta and ReasoningEnded now carry just the message and ordinal, so adjacent reasoning deltas no longer concatenate. iOS 72a78460 (reasoning part), tests from 72a78460 and 9ff8ee69. Ports reasoningFramesDecodeWithoutTheirText. Verified: vm.sh check :server :feature:drawer :feature:session. On the emulator, a 20 MB reasoning stream used about 1,190 CPU ticks against about 1,830 on the base branch; the screen shows Working either way. --- docs/parity/server.md | 4 ++-- .../drawer/EventStreamPressureTests.kt | 2 +- .../session/AgentRevealAndOrbModelTests.kt | 2 +- .../feature/session/NewMessagesTests.kt | 2 +- .../ai/opencode/server/OpenCodeServerEvent.kt | 7 +++--- .../ai/opencode/server/live/LiveEvents.kt | 10 ++------- .../server/OpenCodeEventDecodingTests.kt | 22 +++++++++++++++---- 7 files changed, 28 insertions(+), 21 deletions(-) diff --git a/docs/parity/server.md b/docs/parity/server.md index 7305b61cc..c42f539ff 100644 --- a/docs/parity/server.md +++ b/docs/parity/server.md @@ -17,7 +17,7 @@ Status values: `todo`, `partial: `, `done`, `n/a: