opencode/packages/protocol
Shoubhit Dash fbd9feda6a refactor(session): diff turns by user message
A turn is the assistant steps that follow a user message up to the next user message, so a steer is its own turn. That is fully derivable from session_message, so the session_turn projection, its migration, the turn list route, and the Session.Turn contract go away. session.diff takes messageID (default: newest user message) plus an optional to for contiguous ranges, resolves the range's Location from location-switched messages, and only compares against the working copy while the Session is actively executing. Shared missingMessage and failedSnapshot handler helpers replace the inlined mappings.
2026-09-07 21:40:33 +05:30
..
script fix(codegen): stabilize generated contract names (#44000) 2026-08-22 00:16:27 +00:00
src refactor(session): diff turns by user message 2026-09-07 21:40:33 +05:30
test refactor(core): decouple plugins from config loading (#46639) 2026-09-01 20:37:42 -04:00
openapi.json refactor(session): diff turns by user message 2026-09-07 21:40:33 +05:30
package.json feat(session): add viewed state (#42811) 2026-08-21 19:34:35 -04:00
sst-env.d.ts zen: new inference 2026-06-25 12:15:34 -04:00
tsconfig.build.json feat(protocol): publish package 2026-07-01 13:53:09 -04:00
tsconfig.json feat(protocol): publish package 2026-07-01 13:53:09 -04:00