Repository navigation
feat(sessions): suggestion queue + typing indicator - #113173
Merged
Merged
Conversation
steipete
marked this pull request as ready for review
July 23, 2026 23:13
steipete
force-pushed
the
collab/w3-suggestions
branch
from
July 24, 2026 00:02
66d91ad to
87642fd
Compare
steipete
force-pushed
the
collab/w3-suggestions
branch
from
July 24, 2026 01:37
87642fd to
1239a54
Compare
Contributor
Author
|
Merged via squash.
|
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Jul 24, 2026
* feat(protocol): add session collaboration contracts * feat(gateway): add session suggestion queue and typing * feat(ui): add session suggestion controls * fix(collaboration): restrict suggestion resolution * fix(collaboration): dedupe suggestion dispatch modes * fix(collaboration): preserve resolver identity * fix(collaboration): reconcile suggestion state * fix(collaboration): filter identityless suggestion events * fix(ui): expose full suggestion text * fix(collaboration): durably claim suggestion dispatch * fix(collaboration): harden suggestion events and typing * fix(collaboration): reconcile suggestion races * fix(ui): reconcile suggestion capabilities * fix(collaboration): close suggestion privacy races * test(ui): satisfy suggestion lifecycle lint * fix(collaboration): fence resolved suggestion events * test(collaboration): type deferred audit result * fix(collaboration): fence delayed typing events * fix(ui): coalesce suggestion refreshes * fix(ui): preserve resolved self suggestions * fix(collaboration): enforce draft suggestion visibility * fix(collaboration): fence post-dispatch finalization * fix(ui): retain suggestions across visibility changes * fix(collaboration): fence suggestion context and archives * fix(collaboration): fence suggestion resolve lifecycle * fix(collaboration): map suggestion replacement races * refactor(gateway): extract session typing state * fix(collaboration): integrate suggestion storage with session nodes * refactor(gateway): extract session sharing snapshot cache * fix(collaboration): satisfy protocol and deadcode gates * fix(ci): register iOS release script entrypoints * fix(collaboration): fence typing by session instance * fix(collaboration): enforce incognito suggestion privacy * docs(ui): clarify solo suggestion dormancy * test(gateway): preserve incognito literal type * test(gateway): split session typing coverage * test(gateway): register collaboration method expectations
This was referenced Nov 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What Problem This Solves
On suggest-visibility sessions, people who are not participants need a safe way to contribute without dispatching directly into the active agent session. Owners and collaborators also need a clear way to review those suggestions, while multi-user sessions need lightweight typing feedback without adding transcript or presence-history noise.
Why This Change Was Made
This adds a suggestion queue for suggest-visibility sessions. A non-participant composer becomes Suggest and queues the text instead of dispatching it. Owners, members, and administrators see pending suggestions inline with four actions: arrow-up sends now using steer even during an active run, checkmark enqueues through the normal chat queue, edit loads the text into the composer, and delete dismisses it. Suggested-by attribution reuses the existing sender fields.
The change also adds a presence-based ephemeral typing indicator. It is throttled, has its own event scope guard, respects draft and session visibility filtering, and is never persisted. The session_suggestions SQLite table is additive, lazily ensured, and does not advance the schema version. Solo sessions remain dormant, and draft-session suggestion access stays owner/admin-only.
User Impact
People can contribute suggestions to shared agent work without interrupting or directly controlling the run. Session owners and collaborators can steer, queue, edit, or dismiss each suggestion inline, with clear attribution. Multi-user sessions show who is typing, while single-identity sessions retain the existing uncluttered experience.
Evidence