Take ktfmt's formatting on the files just added
Four files went in unformatted: I ran the formatter mid-change and then kept editing. ktfmtCheck is part of finishing, not part of starting. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
d580461bd5
commit
8fe13634cb
4 files changed
+39
-21
No files matched your search
@@ -84,8 +84,8 @@ sealed class TranscriptItem {
|
||||
*
|
||||
* On the call's own row rather than beside it: the ask used to arrive as a second card
|
||||
* repeating the input verbatim, so the reader saw the same command twice and had to work
|
||||
* out that it was one event. The backend says which call a permission is about, so this
|
||||
* is a fact rather than a match on the input.
|
||||
* out that it was one event. The backend says which call a permission is about, so this is
|
||||
* a fact rather than a match on the input.
|
||||
*/
|
||||
val ask: QuestionCard? = null,
|
||||
) : TranscriptItem()
|
||||
@@ -138,7 +138,10 @@ fun foldEvent(items: List<TranscriptItem>, event: SessionEvent): List<Transcript
|
||||
// A question with no tool behind it -- AskUserQuestion, or an ask
|
||||
// whose call fell outside the loaded window -- is a card of its
|
||||
// own, which is what every question was before this.
|
||||
if (event.about != null && items.any { it is TranscriptItem.ToolRun && it.id == event.about }) {
|
||||
if (
|
||||
event.about != null &&
|
||||
items.any { it is TranscriptItem.ToolRun && it.id == event.about }
|
||||
) {
|
||||
updateTool(items, event.about) { it.copy(ask = card) }
|
||||
} else {
|
||||
items + card
|
||||
|
||||
Reference in new issue
Block a user