Skip to content

feat(desktop): show an agent's typing status phase in the composer (M-4017) - #219

Merged
RossHartmann merged 2 commits into
mainfrom
fix/m4017-typing-phase-desktop-r3
Oct 18, 2026
Merged

RossHartmann merged 2 commits into
mainfrom
fix/m4017-typing-phase-desktop-r3

Conversation

@RossHartmann

Copy link
Copy Markdown

A typing indicator (kind:20002) may carry an optional ephemeral status in
its content: {"v":1,"phase":"starting"|"warming"|"reconnecting"|"working"|
"typing"|"idle"}. Desktop now reads it and shows the agent's status line in
the typing slot, for DMs, channels and threads alike:

  • "Assistant is starting up…", "is warming up a session…",
    "is reconnecting…", "is working…", or "is typing…";
  • an empty, unknown or malformed payload is plain "is typing…", so senders
    and clients adopt phases independently;
  • "idle" ends that sender's typing in its scope at once instead of at the
    8 s TTL.

A reported phase is what every device shows, so it wins over this
desktop's own transcript headline in the bot activity row.

Tests authored (typingStatus.test.mjs) for CI; not run on this host.

Kiingo M-4017. Rebased onto main after #214; adds its fork-inventory delta. Supersedes #216.

🤖 Generated with Claude Code

Ross Hartmann and others added 2 commits October 17, 2026 21:12
…-4017)

A typing indicator (kind:20002) may carry an optional ephemeral status in
its content: {"v":1,"phase":"starting"|"warming"|"reconnecting"|"working"|
"typing"|"idle"}. Desktop now reads it and shows the agent's status line in
the typing slot, for DMs, channels and threads alike:

- "Assistant is starting up…", "is warming up a session…",
  "is reconnecting…", "is working…", or "is typing…";
- an empty, unknown or malformed payload is plain "is typing…", so senders
  and clients adopt phases independently;
- "idle" ends that sender's typing in its scope at once instead of at the
  8 s TTL.

A reported phase is what every device shows, so it wins over this
desktop's own transcript headline in the bot activity row.

Tests authored (typingStatus.test.mjs) for CI; not run on this host.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Ross Hartmann <rosshartmann@RosssMacStudio.attlocal.net>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Ross Hartmann <rosshartmann@RosssMacStudio.attlocal.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant