Summary
When building agents with the Agents-for-js SDK that target Microsoft's hosted Copilot UI, there is no supported way to stop the built-in loading indicator without sending a visible message (as far I know). I'd like a first-party activity type (e.g., void) or adapter-side API that ends the turn and dismisses the spinner while keeping the conversation transcript unchanged.
Scenario
- For agent runs long-running work, and the final response comes asynchronous.
- Once work finishes, the agent has nothing further to show but wants the client to exit the "sync" / loading state so the experience feels asynchronous.
- Attempting to rely on
deleteActivity from TurnContext after sending an interim message only clears the transcript after the Copilot UI is reloaded; the deletion is not reflected in real time.
Expected behavior
- The SDK (and Copilot UI integration) expose a supported signal/activity to indicate "no further reply, dismiss loading state".
- Alternatively,
deleteActivity events propagate to the hosted Copilot client immediately.