Skip to content

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

Closed
RossHartmann wants to merge 1 commit into
mainfrom
fix/m4017-typing-phase-desktop-r2
Closed

RossHartmann wants to merge 1 commit into
mainfrom
fix/m4017-typing-phase-desktop-r2

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 #202 (upstream sync).

🤖 Generated with Claude Code

…-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>
@RossHartmann

Copy link
Copy Markdown
Author

Superseded by #219 (rebased onto #214 with the fork-inventory delta).

@RossHartmann
RossHartmann deleted the fix/m4017-typing-phase-desktop-r2 branch October 18, 2026 04:13
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