v2.1.0-preview.3
Pre-release
Pre-release
The first 2.1 preview introduces Agent 365 support across agentic identity, lifecycle events, proactive messaging, and OpenTelemetry-based observability. It also includes the stable 2.0.15 maintenance set; those shared changes are not repeated below.
Prerelease: This build is published under the npm
nexttag for evaluation and may change before the stable 2.1 release.
Highlights
- Adds the integrated Agent 365/ACF feature set, including agentic identity scoping, lifecycle routing, proactive send helpers, token acquisition, and observability (#627) by Aamir Jawaid (@heyitsaamir).
- Adds SDK-level OpenTelemetry spans and metrics for inbound activity processing, handler dispatch, outbound Teams API calls, and authentication (#655, #656) by Aamir Jawaid (@heyitsaamir).
- Aligns final streaming messages with the Teams contract by omitting
streamSequencefrom the final request (#688) by maelga.
Changes
Agentic identity and messaging
- Add
AgenticIdentityrequest scoping and service URL overrides to supported API operations (#631) by Aamir Jawaid (@heyitsaamir). - Add agentic-aware
app.send, reply, scoped client, and proactive-send helpers, with a runnable Agent 365 example (#632) by Aamir Jawaid (@heyitsaamir). - Simplify API client scoping for agentic operations (#642) by Aamir Jawaid (@heyitsaamir).
- Add typed Agentic User lifecycle events and app routing aliases (#643) by Aamir Jawaid (@heyitsaamir).
- Align public SDK names with Agentic terminology while preserving service-owned wire values (#668) by Aamir Jawaid (@heyitsaamir).
- Use
AgenticIdentityas the operation scope for proactive sends, scoped clients, and request baggage (#682) by Aamir Jawaid (@heyitsaamir).
Observability and token support
- Add common HTTP middleware plus outbound Teams API and authentication spans (#655) by Aamir Jawaid (@heyitsaamir).
- Add inbound activity and handler spans, metrics, and duration tracking (#656) by Aamir Jawaid (@heyitsaamir).
- Expose
App.tokenProviderfor named token capabilities required by Agent 365 telemetry exporters (#680) by Aamir Jawaid (@heyitsaamir). - Add an opt-in Agent 365 OpenTelemetry baggage bridge for identity enrichment (#657) by Aamir Jawaid (@heyitsaamir).
- Update the Agent 365 example with Microsoft OpenTelemetry exporter setup, reactive turns, and proactive sends (#679) by Aamir Jawaid (@heyitsaamir).
Install
npm install @microsoft/teams.apps@next