You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
view: steered inputs render at send time, not when the runtime takes them; consecutive assistant messages merge #82
Codex reads test 2, test 3 (4 s after they were sent)
573–594
agentMessage deltas
reply to test 2 and 3
viewOf gives:
input sleep 100
turn 好,我等 100 秒。
input test 1
input test 2
input test 3
turn 收到“test 1”。…剩余时间。收到“test 2”和“test 3”。…
The order the agent actually saw is: test 1 → reply → test 2, test 3 → reply.
Two separate problems:
A steer is placed where it was sent, not where the runtime took it.upsertInput appends the input (and seals the turn) on the steer request; the later user_message observation only updates the input in place. With Codex, a steer sent mid-step waits until the step ends, so the agent's reply to an earlier steer lands after inputs it has not read yet.
Two assistant messages fold into one text part.text_delta carries no message identity, so the foldEvent text case appends to the previous text part. The two Codex agentMessage items (different itemIds) render as one run-on paragraph. Between them Codex had sleep items, which produce no events. So nothing separates the two texts either.
Suggestion
Place a steered input at its first user_message observation when the runtime gives one: seal the open segment there, not at the request. Until then, expose it as not yet taken (e.g. view.pendingInputs, or state: "accepted" with no observation and no position). That way an app can show it above the composer. Runtimes without read evidence keep today's request-position behaviour, which is the best known fact.
Give text_delta (or a message-start event) the native message id, so the view starts a new text part per assistant message. Also consider mapping Codex sleep items (wait/resume) to an event, so a UI can show "waited 50 s" instead of nothing.
rowrow reached the same product rule independently: a steer stays in a tray until the agent reads it, then enters the conversation. So a shared fold in oar seems right.
Activity
chore: release v0.15.0 (#87)