1package soy.iko.opencode.data.model
3import androidx.compose.runtime.Immutable
4import kotlinx.serialization.Serializable
9 val created: Long? = null,
10 val updated: Long? = null,
11 val completed: Long? = null,
14/** Timing carried by message parts and tool states. The opencode server sends `time: { start,
15 * end?, compacted? }` for these (unlike Session/MessageInfo/Permission, which use the
16 * created/updated/completed shape of [TimeInfo]). With `ignoreUnknownKeys`, modelling these
17 * fields with [TimeInfo] would silently discard start/end/compacted — every part/tool time
18 * would decode to all-nulls — so this separate shape exists for them. */
21data class PartTimeInfo(
22 val start: Long? = null,
23 val end: Long? = null,
24 val compacted: Long? = null,
32 val reasoning: Long = 0,
33 val cache: Cache = Cache(),
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list